/* e-process.css - Styles spécifiques à la page E-Process */
/* REBRANDING : Thème Blanc Polaire */

/* ========== STYLES DE BASE ========== */

h1 {
    text-align: center;
    margin-bottom: 40px;
}

.content-block {
    margin-bottom: 60px;
    animation: fadeIn 0.6s ease-out;
    scroll-margin-top: 150px;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Titre de section — bleu accent sur fond clair */
.section-title {
    color: #1e90d6;
    font-size: clamp(1.5em, 3vw, 1.8em);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 150, 214, 0.35);
    font-weight: 700;
}

/* ========== BANNER BPM — Reste sombre (élément décoratif) ========== */

.bpm-banner {
    position: relative;
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(0, 55, 110, 0.95) 0%, rgba(0, 85, 160, 0.90) 50%, rgba(0, 119, 182, 0.88) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 60, 120, 0.25);
    border: 1px solid rgba(0, 200, 240, 0.3);
}

.bpm-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 180, 216, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 180, 216, 0.22) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 119, 182, 0.12) 0%, transparent 70%);
    opacity: 0.7;
}

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.35;
}

.circuit-line {
    position: absolute;
    background: rgba(0, 180, 216, 0.5);
    box-shadow: 0 0 8px rgba(0, 180, 216, 0.7);
}

.circuit-line.h1 {
    width: 35%;
    height: 2px;
    top: 15%;
    left: 10%;
    animation: pulseCircuit 4s ease-in-out infinite;
}

.circuit-line.h2 {
    width: 25%;
    height: 2px;
    top: 45%;
    right: 15%;
    animation: pulseCircuit 5s ease-in-out infinite 1s;
}

.circuit-line.h3 {
    width: 30%;
    height: 2px;
    bottom: 20%;
    left: 20%;
    animation: pulseCircuit 4.5s ease-in-out infinite 2s;
}

.circuit-line.v1 {
    width: 2px;
    height: 25%;
    top: 20%;
    left: 25%;
    animation: pulseCircuit 4s ease-in-out infinite 0.5s;
}

.circuit-line.v2 {
    width: 2px;
    height: 30%;
    top: 30%;
    right: 20%;
    animation: pulseCircuit 5s ease-in-out infinite 1.5s;
}

.circuit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00b4d8;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 180, 216, 0.9);
    animation: nodeGlow 3s ease-in-out infinite;
}

.circuit-node.n1 { top: 15%; left: 10%; animation-delay: 0s; }
.circuit-node.n2 { top: 15%; left: 45%; animation-delay: 0.5s; }
.circuit-node.n3 { top: 45%; right: 15%; animation-delay: 1s; }
.circuit-node.n4 { top: 45%; right: 40%; animation-delay: 1.5s; }
.circuit-node.n5 { bottom: 20%; left: 20%; animation-delay: 2s; }
.circuit-node.n6 { bottom: 20%; left: 50%; animation-delay: 2.5s; }
.circuit-node.n7 { top: 20%; left: 25%; animation-delay: 0.7s; }
.circuit-node.n8 { top: 30%; right: 20%; animation-delay: 1.2s; }

@keyframes pulseCircuit {
    0%, 100% { 
        opacity: 0.3;
        box-shadow: 0 0 8px rgba(0, 180, 216, 0.6);
    }
    50% { 
        opacity: 0.8;
        box-shadow: 0 0 16px rgba(0, 180, 216, 1);
    }
}

@keyframes nodeGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 12px rgba(0, 180, 216, 0.8);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 22px rgba(0, 180, 216, 1), 0 0 32px rgba(0, 180, 216, 0.6);
    }
}

.banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px;
}

.banner-title {
    font-size: clamp(2.5em, 6vw, 4.5em);
    font-weight: 700;
    color: white;
    text-shadow: 
        0 0 20px rgba(0, 180, 216, 0.7),
        0 4px 15px rgba(0, 0, 0, 0.7);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 1px;
}

.banner-subtitle {
    font-size: clamp(1.2em, 3vw, 2em);
    font-weight: 300;
    color: #cce8f8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-top: 15px;
    opacity: 0.9;
}

.banner-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 50%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: shine 8s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

/* ========== INTRODUCTION — surfaces claires ========== */

.intro-text {
    font-size: clamp(0.95em, 1.5vw, 1.05em);
    line-height: 1.7;
    color: #1a3a5c;
    padding: 18px 22px;
    background: #ffffff;
    border: 2px solid rgba(0, 119, 182, 0.2);
    border-left: 4px solid #0077b6;
    margin-bottom: 20px;
    font-style: normal;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 30, 80, 0.07);
}

.definition-box {
    padding: 20px 25px;
    margin: 20px 0;
    background: #ffffff;
    border: 2px solid rgba(0, 119, 182, 0.2);
    border-left: 4px solid #0077b6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 30, 80, 0.07);
}

.definition-box h4 {
    color: #001a33;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.2em;
}

.definition-box ul {
    margin-top: 10px;
}

.questions {
    padding: 25px;
    margin: 20px 0;
    background: #ffffff;
    border: 2px solid rgba(0, 119, 182, 0.2);
    border-left: 4px solid #0077b6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 30, 80, 0.07);
}

.questions h3 {
    color: #1e90d6;
    margin-top: 0;
    margin-bottom: 15px;
}

.questions ul li {
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
    font-size: 1em;
    color: #1a3a5c;
}

.questions ul li:before {
    content: "❓";
    position: absolute;
    left: 5px;
    color: #c07d1a;
    font-size: 1.2em;
}

/* ========== SOLUTION ========== */

.paradigm-box {
    padding: 18px 25px;
    margin: 20px 0;
    background: #f4f8fd;
    border: 2px solid rgba(0, 119, 182, 0.3);
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 30, 80, 0.07);
}

.paradigm-box p {
    font-size: clamp(1.05em, 1.75vw, 1.15em);
    color: #001a33;
    font-weight: 600;
    line-height: 1.6;
}

.vision-section {
    padding: 18px 22px;
    margin-bottom: 18px;
    background: #ffffff;
    border: 2px solid rgba(0, 119, 182, 0.2);
    border-left: 4px solid #0077b6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 30, 80, 0.07);
}

.vision-section ul li {
    font-size: 1.05em;
    line-height: 1.6;
    color: #1a3a5c;
}

.vision-section ul li:before {
    content: "→";
    color: #1e90d6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin: 20px 0;
}

.benefit-card {
    background: #ffffff;
    padding: 16px;
    border: 2px solid rgba(0, 119, 182, 0.2);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 30, 80, 0.07);
}

.benefit-card h4 {
    color: #001a33;
    margin-bottom: 8px;
    font-weight: 600;
}

/* ========== SHOWCASE ========== */

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin: 0 auto 30px auto;
    max-width: 1200px;
}

/* showcase-item — acier LOLA (même fond que le diagramme architecture) */
.showcase-item {
    background: linear-gradient(135deg,
        rgba(85, 120, 162, 0.52) 0%,
        rgba(100, 138, 178, 0.48) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(140, 185, 225, 0.4);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(60, 100, 150, 0.18);
}

.showcase-item:hover {
    transform: translateY(-5px);
    border-color: rgba(140, 200, 240, 0.65);
    box-shadow: 0 20px 60px rgba(60, 100, 150, 0.28);
}

.showcase-item-full {
    grid-column: 1 / -1;
}

.item-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 40, 100, 0.3);
}

.item-number {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #003057, #0077b6);
    border-radius: 10px;
    text-align: center;
    line-height: 35px;
    margin-right: 12px;
    font-weight: bold;
    color: white;
}

/* ========== BPMN CONTAINER ========== */

.bpmn-container {
    position: relative;
    height: 450px;
    padding: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 40, 90, 0.55), rgba(0, 70, 130, 0.45));
    border-radius: 10px;
    border: 1px solid rgba(140, 185, 225, 0.3);
}

/* ========== IFRAME CONTAINER ========== */

.form-invitation {
    text-align: center;
    font-size: 1.1em;
    color: #1e90d6;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0, 119, 182, 0.07);
    border-radius: 8px;
    border: 1px solid rgba(0, 119, 182, 0.2);
}

.iframe-container {
    width: 100%;
    min-height: 1200px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.iframe-container iframe {
    display: block;
    width: 100%;
    min-height: 1200px;
}

/* ========== INTEGRATION CONTAINER ========== */

.integration-container {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 40, 90, 0.55), rgba(0, 70, 130, 0.45));
    border-radius: 10px;
    border: 1px solid rgba(140, 185, 225, 0.3);
}

/* Reste sombre — élément tech animé dans showcase (fond navy) */
.server-central {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #003057, #0077b6);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(0, 119, 182, 0.7);
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: flash-glow 2s ease-in-out infinite;
}

@keyframes flash-glow {
    0%, 100% { 
        box-shadow: 0 0 40px rgba(0, 119, 182, 0.7);
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        box-shadow: 0 0 60px rgba(0, 180, 216, 1), 0 0 80px rgba(0, 119, 182, 0.7);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.server-label {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 5px;
    text-align: center;
    color: white;
}

.server-icon {
    font-size: 1.8rem;
}

.integration-node {
    position: absolute;
    width: 90px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.2), rgba(0, 119, 182, 0.2));
    border: 2px solid #00b4d8;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: float-node 3s ease-in-out infinite;
    padding: 8px;
}

.node-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.node-label {
    font-size: 0.7rem;
    text-align: center;
    font-weight: 500;
    color: white !important;
}

@keyframes float-node {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.node-1 { top: 10%; left: 15%; animation-delay: 0s; }
.node-2 { top: 10%; right: 15%; animation-delay: 0.5s; }
.node-3 { bottom: 10%; left: 15%; animation-delay: 1s; }
.node-4 { bottom: 10%; right: 15%; animation-delay: 1.5s; }

/* ========== DASHBOARD ========== */

.analytics-dashboard {
    width: 100%;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Les chart-card restent sombres (dans showcase-item sombre) */
.chart-card {
    background: #ffffff;
    border: 1px solid rgba(0, 150, 214, 0.25);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 80, 150, 0.08);
}

.chart-title {
    font-size: 1rem;
    color: #0d5fa0;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
}

.pie-chart {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.bar-chart,
.line-chart {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.chart-legend {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #1a3a5c;
}

.legend-color {
    width: 18px;
    height: 10px;
    border-radius: 2px;
    display: inline-block;
}

@media (max-width: 768px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== HIGHLIGHT BOX — Reste sombre (effet visuel fort) ========== */

.highlight-box {
    background: linear-gradient(135deg, rgba(0, 30, 60, 0.9), rgba(0, 48, 87, 0.9));
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 8px;
    margin: 30px 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 180, 216, 0.4);
    box-shadow: 0 4px 15px rgba(0, 30, 80, 0.15);
}

.highlight-box-text {
    font-size: clamp(1em, 1.8vw, 1.2em);
    font-weight: 600;
    text-align: center;
    white-space: normal;
    max-width: 90%;
    padding: 0 10px;
    position: relative;
    display: inline-block;
    color: #ffffff;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .highlight-box-text {
        background: linear-gradient(110deg, #cce8f8 0%, #ffffff 50%, #cce8f8 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

.highlight-box-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 212, 255, 0.08) 20%,
        rgba(0, 255, 255, 0.18) 40%,
        rgba(0, 212, 255, 0.25) 50%,
        rgba(0, 255, 255, 0.18) 60%,
        rgba(0, 212, 255, 0.08) 80%,
        transparent 100%
    );
    animation: electricBanner 4s ease-in-out infinite;
    transform: skewX(-15deg);
    filter: blur(2px);
    box-shadow: 
        0 0 15px rgba(0, 212, 255, 0.3),
        0 0 30px rgba(0, 255, 255, 0.2);
}

@keyframes electricBanner {
    0% { left: -100%; }
    100% { left: 120%; }
}

.highlight-box-text {
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.2);
}

/* ========== NAVIGATION BUTTONS ========== */

.navigation-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid rgba(0, 119, 182, 0.25);
}

.btn-secondary {
    background: linear-gradient(135deg, #0077b6, #005f92);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #0096d6, #0077b6);
}

/* ========== MODAL DE CONTACT ========== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 21, 41, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    padding: 35px;
    border-radius: 8px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 30, 80, 0.2);
    animation: modalSlideIn 0.3s ease-out;
    border: 2px solid rgba(0, 119, 182, 0.2);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal h2 {
    color: #001a33;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(0, 150, 214, 0.35);
    padding-bottom: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #003057;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95em;
}

.form-group label.required:after {
    content: " *";
    color: #c0392b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(0, 119, 182, 0.3);
    border-radius: 4px;
    font-size: 0.95em;
    font-family: 'Inter', Arial, sans-serif;
    color: #1a3a5c;
    background: #f4f8fd;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e90d6;
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #c0392b;
}

.error-message {
    color: #c0392b;
    font-size: 0.85em;
    margin-top: 5px;
    min-height: 18px;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.modal-buttons button {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Inter', Arial, sans-serif;
}

.send-btn {
    background: #0077b6;
    color: white;
}

.send-btn:hover {
    background: #0096d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

.cancel-btn {
    background: #f4f8fd;
    color: #003057;
    border: 2px solid rgba(0, 119, 182, 0.35);
}

.cancel-btn:hover {
    background: #e6f0fa;
}

/* ========== FORM INVITATION (bas de page) ========== */

.form-invitation {
    text-align: center;
    margin: 30px auto;
    padding: 25px 40px;
    background: linear-gradient(135deg, 
        rgba(0, 119, 182, 0.08) 0%, 
        rgba(0, 180, 216, 0.12) 50%, 
        rgba(0, 119, 182, 0.08) 100%);
    border-radius: 12px;
    border: 2px solid rgba(0, 119, 182, 0.25);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.12);
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

.form-invitation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 180, 216, 0.08) 50%,
        transparent 70%
    );
    animation: shimmerMove 3s infinite;
    pointer-events: none;
}

.form-invitation .shimmer-text {
    font-size: 1.2em;
    font-weight: 700;
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 40, 100, 0.35);
    -webkit-text-fill-color: #ffffff;
}

@keyframes shimmerMove {
    0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    100% { transform: translateX(50%) translateY(50%) rotate(360deg); }
}

/* ========== BOUTON CLOUD-IT PORTAL ========== */

.nav-portal-link {
    background: linear-gradient(135deg, rgba(192, 125, 26, 0.45), rgba(158, 102, 16, 0.45)) !important;
    border: 2px solid rgba(192, 125, 26, 0.65) !important;
    animation: slowBlink 3s ease-in-out infinite !important;
    font-weight: 700 !important;
    box-shadow: 0 0 15px rgba(192, 125, 26, 0.55) !important;
}

.nav-portal-link:hover {
    background: linear-gradient(135deg, rgba(192, 125, 26, 0.65), rgba(158, 102, 16, 0.65)) !important;
    border-color: rgba(192, 125, 26, 0.9) !important;
    animation: none !important;
    box-shadow: 0 0 20px rgba(192, 125, 26, 0.8) !important;
}

@media (max-width: 768px) {
    .nav-portal-link {
        background: linear-gradient(135deg, rgba(192, 125, 26, 0.55), rgba(158, 102, 16, 0.55)) !important;
        border: 2px solid rgba(192, 125, 26, 0.8) !important;
        animation: none !important;
        box-shadow: 0 0 20px rgba(192, 125, 26, 0.7), 
                    inset 0 0 10px rgba(255, 255, 255, 0.25) !important;
    }
    
    .nav-portal-link:active {
        transform: scale(0.95);
        box-shadow: 0 0 10px rgba(192, 125, 26, 0.5) !important;
    }
}

@keyframes slowBlink {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 10px rgba(192, 125, 26, 0.5); 
    }
    50% { 
        opacity: 0.85; 
        box-shadow: 0 0 20px rgba(192, 125, 26, 0.8); 
    }
}

/* Nav portal menu link */
.nav-menu a.nav-portal-link {
    background: linear-gradient(135deg, #c07d1a, #9e6610) !important;
    color: white !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    animation: slowBlink 3s ease-in-out infinite !important;
    box-shadow: 0 0 10px rgba(192, 125, 26, 0.5) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
    border-bottom: none !important;
}

.nav-menu a.nav-portal-link:hover {
    background: linear-gradient(135deg, #d49030, #c07d1a) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(192, 125, 26, 0.4) !important;
    animation: none !important;
}

.btn-text-mobile { display: none; }
.btn-text-full { display: inline; }

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .intro-text {
        padding: 15px 18px;
        font-size: 0.95em;
    }
    
    .definition-box,
    .questions {
        padding: 18px;
    }
    
    .highlight-box {
        padding: 20px;
        font-size: 1em;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .navigation-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .bpm-banner {
        height: 300px;
    }

    .banner-content {
        padding: 20px;
    }

    .circuit-line.h1,
    .circuit-line.h2,
    .circuit-line.h3 {
        width: 40%;
    }

    .circuit-line.v1,
    .circuit-line.v2 {
        height: 35%;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .form-invitation {
        padding: 20px 25px;
        margin: 20px auto;
    }
    
    .form-invitation .shimmer-text {
        font-size: 1em;
    }

    .nav-menu a {
        font-size: 0.65em;
        padding: 4px 7px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .nav-menu a.nav-portal-link {
        background: linear-gradient(135deg, #c07d1a, #9e6610) !important;
        color: white !important;
        padding: 4px 8px !important;
        font-size: 0.65em !important;
        border: none !important;
        border-radius: 4px !important;
        border-bottom: none !important;
        animation: slowBlink 3s ease-in-out infinite !important;
        box-shadow: 0 0 10px rgba(192, 125, 26, 0.5) !important;
    }
    
    .btn-text-full {
        display: none !important;
    }
    
    .btn-text-mobile {
        display: inline !important;
        font-size: 1.3em;
    }

    .language-selector {
        width: 60px;
    }
    
    .btn-contact {
        font-size: 0.8em;
        padding: 5px 8px;
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .bpm-banner {
        height: 250px;
    }

    .banner-subtitle {
        margin-top: 10px;
    }

    .nav-menu a {
        font-size: 0.55em;
        padding: 2px 4px;
    }
    
    .nav-menu a.nav-portal-link {
        background: linear-gradient(135deg, #c07d1a, #9e6610) !important;
        color: white !important;
        padding: 3px 6px !important;
        font-size: 0.6em !important;
        border: none !important;
        border-radius: 4px !important;
        border-bottom: none !important;
        animation: slowBlink 3s ease-in-out infinite !important;
        box-shadow: 0 0 10px rgba(192, 125, 26, 0.5) !important;
    }
    
    .language-selector {
        width: 55px;
    }
    
    .btn-contact {
        font-size: 0.75em;
        padding: 4px 6px;
    }
}


/* ============================================================
   ARCHITECTURE SECTION — externalisation inline styles showcase.html
   ============================================================ */

.arch-section {
    margin: 40px 0;
}

.arch-desc {
    text-align: center;
    color: #1a3a5c;
    margin-bottom: 30px;
}

.use-cases-section {
    margin: 40px 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.use-case-card {
    background: rgba(85, 120, 162, 0.45);
    border: 1px solid rgba(140, 185, 225, 0.4);
    border-radius: 8px;
    padding: 20px;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.use-case-card:hover {
    transform: translateY(-3px);
    border-color: rgba(140, 200, 240, 0.65);
}

.use-case-icon {
    font-size: 2em;
    margin-bottom: 10px;
    color: white;
    font-weight: 600;
}

.use-case-desc {
    color: #e0f0ff;
    font-size: 0.9em;
}

/* ============================================================
   LOLA CHAT — Style WhatsApp — Couleurs corrigées fond clair
   Classes exactes extraites de showcase.html
   ============================================================ */

/* Conteneur principal */
.lola-chat-section {
    margin: 40px 0;
    background: linear-gradient(135deg,
        rgba(85, 120, 162, 0.52) 0%,
        rgba(100, 138, 178, 0.48) 100%);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(140, 185, 225, 0.4);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(60, 100, 150, 0.18);
}

/* Header du chat — glacier bleu */
.lola-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(90deg,
        rgba(0, 72, 140, 0.88) 0%,
        rgba(0, 95, 170, 0.85) 100%);
    border-bottom: 1px solid rgba(0, 200, 240, 0.35);
}

.lola-chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lola-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00c896 0%, #0575e6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    box-shadow: 0 2px 10px rgba(0, 200, 150, 0.3);
}

.lola-header-text h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 600;
}

.lola-header-text p {
    margin: 2px 0 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85em;
}

.lola-clear-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 8px;
    padding: 8px;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lola-clear-btn:hover {
    background: rgba(255, 80, 80, 0.2);
    color: #ff6b6b;
}

/* Zone des messages — fond blanc polaire */
.lola-chat-container {
    background: #eef4fb;
    padding: 0;
    max-height: 400px;
    overflow: hidden;
}

.lola-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Scrollbar */
.lola-chat-messages::-webkit-scrollbar { width: 6px; }
.lola-chat-messages::-webkit-scrollbar-track {
    background: rgba(0, 80, 150, 0.08);
    border-radius: 3px;
}
.lola-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 119, 182, 0.35);
    border-radius: 3px;
}
.lola-chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 119, 182, 0.55);
}

/* Wrapper message */
.chat-message {
    display: flex;
    animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.chat-message-user      { justify-content: flex-end; }
.chat-message-assistant { justify-content: flex-start; }

/* Bulles */
.chat-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 40, 100, 0.1);
}

/* Bulle USER — glacier bleu, texte blanc */
.chat-bubble-user {
    background: linear-gradient(135deg,
        rgba(0, 72, 140, 0.88) 0%,
        rgba(0, 119, 182, 0.85) 100%);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.chat-bubble-user .chat-content,
.chat-bubble-user .chat-time {
    color: #ffffff;
}

/* Bulle ASSISTANT — blanc, texte sombre */
.chat-bubble-assistant {
    background: linear-gradient(135deg, #1a3a5c 0%, #0d4f8a 100%);
    color: #ffffff;
    border: 1px solid rgba(100, 170, 220, 0.3);
    border-bottom-left-radius: 4px;
}

.chat-bubble-assistant .chat-content,
.chat-bubble-assistant .chat-time {
    color: #ffffff;
}

.chat-content {
    font-size: 0.95em;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-content .bullet {
    color: #0077b6;
    font-weight: bold;
}

.chat-time {
    font-size: 0.7em;
    opacity: 0.6;
    text-align: right;
    margin-top: 4px;
}

/* Typing dots */
.chat-typing {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #0077b6;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0);   opacity: 0.4; }
    30%           { transform: translateY(-8px); opacity: 1;   }
}

/* Zone de saisie — fond clair */
.lola-chat-input-area {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    background: #ffffff;
    border-top: 1px solid rgba(0, 119, 182, 0.18);
}

.lola-chat-input {
    flex: 1;
    padding: 14px 18px;
    border: 1.5px solid rgba(0, 150, 214, 0.4);
    border-radius: 24px;
    background: #eef4fb;
    color: #1a3a5c;
    font-size: 1em;
    font-family: 'Inter', Arial, sans-serif;
    transition: all 0.3s ease;
}

.lola-chat-input::placeholder {
    color: #6a8aaa;
}

.lola-chat-input:focus {
    outline: none;
    border-color: #1e90d6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 144, 214, 0.15);
}

/* Bouton envoi */
.lola-send-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #0077b6, #005f92);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.lola-send-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #0096d6, #0077b6);
    box-shadow: 0 6px 25px rgba(0, 119, 182, 0.45);
}

.lola-send-btn:active {
    transform: scale(0.95);
}

/* Note de bas */
.lola-chat-note {
    padding: 12px 20px;
    margin: 0;
    color: #4a6a8a;
    font-size: 0.85em;
    font-style: normal;
    background: #f4f8fd;
    border-top: 1px solid rgba(0, 119, 182, 0.12);
}

/* Responsive */
@media (max-width: 600px) {
    .lola-chat-header  { padding: 12px 16px; }
    .lola-avatar       { width: 38px; height: 38px; font-size: 1.2em; }
    .chat-bubble       { max-width: 90%; }
    .lola-chat-input-area { padding: 12px 16px; }
    .lola-send-btn     { width: 44px; height: 44px; }
}

/* ============================================================
   GRAPHIQUES SVG — Axes et échelles visibles (fond blanc)
   ============================================================ */

.chart-card text,
.chart-card tspan,
.chart-card svg text,
.chart-card svg tspan {
    fill: #1a3a5c !important;
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 0.78rem !important;
}

.chart-card svg path.domain {
    stroke: rgba(26, 58, 92, 0.35) !important;
    fill: none !important;
}

.chart-card .tick line,
.chart-card svg .tick line {
    stroke: rgba(26, 58, 92, 0.15) !important;
}

.chart-card .tick text,
.chart-card svg .tick text {
    fill: #1a3a5c !important;
    font-size: 0.75rem !important;
}

.chart-card .bar-label,
.chart-card svg .bar-value {
    fill: #0d5fa0 !important;
    font-weight: 700 !important;
}
