/* ============================================
   mathsprime.fr - index.css
============================================ */

/* --- Bloc 1 --- */
:root {
            --spacing-xs: 8px;
            --spacing-sm: 12px;
            --spacing-md: 20px;
            --spacing-lg: 30px;
            --spacing-xl: 40px;

            /* Palette dessin animé — fond crème, couleurs franches et douces */
            --bg:          #fef9ec;
            --bg2:         #fff5e0;
            --card:        #ffffff;
            --card-hover:  #fff8ee;

            --blue:        #3a9fd6;
            --blue-dk:     #1e7ab8;
            --green:       #3db85a;
            --green-dk:    #2a9444;
            --orange:      #f59120;
            --orange-dk:   #d4720a;
            --purple:      #8a55cc;
            --red:         #e54530;

            --text:        #2e2518;
            --text-muted:  #7a6e62;
            --text-head:   #1a2d6b;

            --border:      #ddd0b8;
            --shadow:      rgba(80,60,30,0.13);

            /* compat anciennes variables */
            --color-accent-gold: var(--orange);
            --color-modal-bg: rgba(50,40,20,0.55);
            --color-modal-content-bg: var(--bg2);
            --color-modal-item-bg: var(--card);
            --color-modal-item-text: var(--text);
            --color-modal-item-border: var(--border);
            --color-modal-item-hover-bg: var(--card-hover);
            --color-modal-item-hover-text: var(--text-head);
            --color-hover-blue: var(--blue);
        }
        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Nunito', Arial, sans-serif;
            margin: 0;
            text-align: center;
            min-height: 100vh;
            line-height: 1.6;
        }
        html { scroll-behavior: smooth; }
        h1 {
            margin: var(--spacing-md) 0 var(--spacing-md) 0;
            color: var(--text-head);
            font-size: clamp(1.6rem, 4vw, 2.4rem);
            font-weight: 900;
        }
        h2 {
            margin: 50px 0 var(--spacing-md) 0;
            color: var(--blue);
            font-weight: 800;
        }
        .rewards-subtitle {
            color: var(--text-muted);
            margin: 50px 0 var(--spacing-lg) 0;
            font-weight: 700;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .section {
            margin-bottom: var(--spacing-xl);
            overflow: visible;
        }
        .menu {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: var(--spacing-md);
            position: relative;
            z-index: 1;
        }
        .card {
            background-color: var(--card);
            color: var(--text);
            padding: var(--spacing-md);
            border-radius: 16px;
            width: 250px;
            cursor: pointer;
            transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
            font-size: 22px;
            font-weight: bold;
            border: 2.5px solid var(--border);
            box-shadow: 0 4px 0 var(--border);
            text-decoration: none;
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            gap: var(--spacing-sm);
            align-items: center;
        }
        .card:hover {
            background-color: var(--blue);
            color: white;
            transform: translateY(-4px);
            box-shadow: 0 8px 0 var(--blue-dk);
            border-color: var(--blue);
        }
        .card:hover .lesson-btn {
            background: var(--green-dk);
        }
        .card-title {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }
        .lesson-btn {
            background: var(--green);
            color: white;
            border: none;
            border-radius: 12px;
            padding: 8px 12px;
            cursor: pointer;
            font-size: clamp(11px, 1.5vw, 15px);
            font-weight: 800;
            transition: background 0.2s ease, transform 0.2s ease;
            min-width: 70px;
            max-width: 90px;
            text-align: center;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            white-space: nowrap;
            box-shadow: 0 3px 0 var(--green-dk);
        }
        .lesson-btn:hover {
            background: var(--green-dk);
            transform: translateY(-2px);
        }
.niveau {
    font-size: 26px;
    color: var(--text-head);
    font-weight: 900;
    margin: var(--spacing-md) 0 var(--spacing-md) 0;
    letter-spacing: 1px;
}
        .tarifs {
            display: flex;
            justify-content: center;
            gap: var(--spacing-lg);
            margin: var(--spacing-md) auto var(--spacing-xl);
            flex-wrap: wrap;
        }
        .tarif-card {
            background: var(--card);
            border: 2.5px solid var(--border);
            border-radius: 16px;
            padding: var(--spacing-md) var(--spacing-lg);
            text-align: center;
            color: var(--text);
            box-shadow: 0 4px 0 var(--border);
            min-width: 200px;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            text-decoration: none;
        }
        .tarif-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 9px 0 var(--border);
        }
        .tarif-card h3 {
            font-size: 22px;
            margin-bottom: 10px;
            color: var(--blue-dk);
            font-weight: 900;
            line-height: 1.3em;
        }
        .tarif-card h3 .subtitle {
            display: block;
            font-size: 18px;
            font-weight: 600;
            color: var(--text-muted);
        }
        .prix {
            font-size: 32px;
            font-weight: 900;
            margin: 10px 0;
            color: var(--orange-dk);
        }
        .details {
            font-size: 14px;
            color: var(--text-muted);
        }
        .tarif-card.premium {
            border: 2.5px solid var(--green);
            background: #f0faf3;
            position: relative;
            box-shadow: 0 4px 0 var(--green-dk);
        }
        .tarif-card.classic {
            border: 2.5px solid var(--blue);
            background: #f0f7fd;
            box-shadow: 0 4px 0 var(--blue-dk);
        }
        .niveaux-buttons {
            display: flex;
            flex-wrap: nowrap;
            justify-content: space-between;
            align-items: center;
            gap: var(--spacing-xs);
            margin: var(--spacing-sm) auto var(--spacing-lg);
            padding: var(--spacing-sm);
            max-width: 900px;
            width: 100%;
            box-sizing: border-box;
            overflow: hidden;
        }
        .niveau-btn {
            background: var(--blue);
            color: white;
            font-size: 24px;
            font-weight: 900;
            padding: 18px 40px;
            border-radius: 16px;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            min-width: 120px;
            box-shadow: 0 5px 0 var(--blue-dk);
            white-space: nowrap;
            flex: 0 0 auto;
            text-align: center;
        }
        .niveau-btn:hover {
            background: var(--blue-dk);
            transform: translateY(-4px);
            box-shadow: 0 9px 0 #2a6a90;
        }
        /* ✅ Tablettes portrait (jusqu'à 900px) */
        @media (max-width: 900px) {
            .niveaux-buttons {
                padding: var(--spacing-sm) 8px;
                gap: 6px;
            }
            .niveau-btn {
                font-size: 20px;
                padding: 14px 20px;
                min-width: 90px;
                flex: 1 1 0;
            }
        }
        @media (max-width: 480px) {
            .niveaux-buttons {
                padding: var(--spacing-sm) 10px;
                gap: 6px;
            }
            .niveau-btn {
                font-size: 17px;
                padding: var(--spacing-sm) 10px;
                min-width: 64px;
                flex: 1 1 0;
                max-width: 90px;
            }
        }
        @media (max-width: 400px) {
            .niveaux-buttons {
                gap: 4px;
                padding: var(--spacing-sm) 4px;
            }
            .niveau-btn {
                font-size: 15px;
                padding: 10px 6px;
                min-width: 52px;
                max-width: 80px;
            }
        }
        @media (max-width: 340px) {
            .niveau-btn {
                font-size: 13px;
                padding: 9px 4px;
                min-width: 46px;
            }
        }
        .modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: var(--color-modal-bg);
            align-items: center;
            justify-content: center;
        }
        .modal-content {
            background: var(--bg2);
            padding: var(--spacing-lg);
            border-radius: 20px;
            max-width: 600px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 8px 0 #d4c8b0, 0 16px 40px rgba(80,60,30,0.18);
            border: 2.5px solid var(--border);
        }
        .close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 30px;
            cursor: pointer;
            color: var(--text-muted);
            font-weight: 900;
            transition: color 0.2s, transform 0.2s;
        }
        .close:hover {
            color: var(--red);
            transform: rotate(90deg);
        }
        .modal h3 {
            margin-top: 0;
            color: var(--text-head);
            font-size: 26px;
            font-weight: 900;
            margin-bottom: var(--spacing-md);
        }
        .modal ul {
            list-style: none;
            padding: 0;
        }
        .modal-item {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: var(--spacing-sm);
            background: var(--card);
            color: var(--text);
            margin: var(--spacing-sm) 0;
            padding: 12px 14px;
            border-radius: 14px;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
            border: 2px solid var(--border);
            box-shadow: 0 3px 0 var(--border);
            cursor: pointer;
            position: relative;
            text-align: center;
            overflow: hidden;
        }
        .modal-item:hover {
            background: var(--card-hover);
            color: var(--text-head);
            transform: translateY(-3px);
            box-shadow: 0 6px 0 #d4c8b0;
            border-color: var(--blue);
        }
        .modal-item-link {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
            text-decoration: none;
        }
        
        .lesson-btn {
            position: relative;
            z-index: 3;
            pointer-events: auto;
        }
        .chapter-btn {
            background: var(--blue);
            color: white;
            border-radius: 12px;
            padding: 8px 12px;
            font-size: clamp(11px, 1.5vw, 15px);
            font-weight: 800;
            min-width: 0;
            flex: 1 1 auto;
            text-align: center;
            white-space: normal;
            word-break: break-word;
            hyphens: auto;
            box-shadow: 0 3px 0 var(--blue-dk);
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: auto;
            position: relative;
            z-index: 3;
            transition: background 0.2s ease, transform 0.2s ease;
            text-decoration: none;
            line-height: 1.3;
        }
        .chapter-btn:hover {
            background: var(--blue-dk);
            transform: translateY(-2px);
        }
        .modal-separator {
            display: inline-block;
            color: var(--orange-dk);
            background: #fff3d8;
            border: 2px solid var(--orange);
            border-radius: 20px;
            font-weight: 800;
            margin: var(--spacing-lg) auto var(--spacing-sm) auto;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            padding: 5px 18px;
        }
        .reward-links {
            display: inline-flex;
            gap: var(--spacing-sm);
            margin-left: 10px;
        }
        .reward-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            text-decoration: none;
            font-weight: bold;
            font-size: 18px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        }
        .reward-link:hover {
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
        }
        .reward-link.transport {
            background: linear-gradient(135deg, #27ae60, #229954);
            color: white;
        }
        .reward-link.immo {
            background: linear-gradient(135deg, #e67e22, #d35400);
            color: white;
        }
        .reward-link.loisir {
            background: linear-gradient(135deg, #8e44ad, #7d3c98);
            color: white;
        }
        .reward-link.montre {
            background: linear-gradient(135deg, #34495e, #2c3e50);
            color: white;
        }
        @keyframes pulse-hover {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.15); }
        }
        @media (max-width: 480px) {
            .reward-link {
                width: 35px;
                height: 35px;
                font-size: 16px;
            }
            .reward-links {
                margin-top: 10px;
                gap: 15px;
            }
        }

/* --- Bloc 2 : HEADER --- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: rgba(254, 249, 236, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .header-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 16px;
    box-sizing: border-box;
  }

  /* --- Logo soft à gauche --- */
  .brand-soft {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: transform 0.2s ease;
  }
  .brand-soft:hover { transform: translateY(-1px); }
  .brand-soft-logo {
    height: 38px;
    width: 38px;
    border-radius: 11px;
    object-fit: cover;
    display: block;
  }
  .brand-soft-name {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: clamp(1.25rem, 3.2vw, 1.6rem);
    letter-spacing: -0.02em;
    color: var(--text-head);
    line-height: 1;
  }
  .brand-soft-accent { color: var(--blue); }

  /* --- Raccourcis à droite --- */
  .header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .header-nav-link {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-head);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
  }
  .header-nav-link:hover {
    background: rgba(0,0,0,0.04);
    color: var(--blue);
  }
  .header-nav-cta {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    background: linear-gradient(160deg, #0d1b5e 0%, #0a6fa8 60%, #0891B2 100%);
    box-shadow: 0 4px 0 #0a4a78;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
    margin-left: 6px;
  }
  .header-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #0a4a78;
    color: #fff;
  }

  /* --- Menu déroulant "Cours" --- */
  .header-dropdown {
    position: relative;
  }
  .header-dropdown-toggle {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-head);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .header-dropdown:hover .header-dropdown-toggle {
    background: rgba(0,0,0,0.04);
    color: var(--blue);
  }
  .dd-caret {
    font-size: 11px;
    transition: transform 0.2s ease;
  }
  .header-dropdown:hover .dd-caret { transform: rotate(180deg); }

  /* Menu niveau 1 (Leçons / Exercices) */
  .header-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    min-width: 200px;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(20,30,60,0.12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 200;
  }
  /* Pont invisible pour éviter la coupure au survol */
  .header-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
  }
  .header-dropdown:hover .header-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dd-branch { position: relative; }
  .dd-branch-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 14.5px;
    color: var(--text-head);
    padding: 11px 14px;
    border-radius: 11px;
    cursor: default;
    transition: background 0.18s ease, color 0.18s ease;
  }
  .dd-branch:hover .dd-branch-label {
    background: var(--bg2);
    color: var(--blue);
  }
  .dd-arrow {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 900;
  }

  /* Sous-menu niveau 2 (6e, 5e, …) affiché en face */
  .dd-submenu {
    position: absolute;
    top: -8px;
    left: 100%;
    margin-left: 8px;
    min-width: 90px;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(20,30,60,0.12);
    padding: 7px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-6px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  }
  .dd-branch:hover .dd-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  .dd-submenu a {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: var(--text-head);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 9px;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
  }
  .dd-submenu a:hover {
    background: var(--blue);
    color: #fff;
  }
  .dd-submenu a sup { font-size: 0.7em; }

  .coin-icon {
    width: 1.2em;
    height: 1.2em;
    margin: 0 3px;
    vertical-align: middle;
    display: inline-block;
    object-fit: contain;
  }
  .nav-profile-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    object-fit: cover;
    border: 2px solid #f0c040;
  }
  /* Sur mobile : on ne garde que le raccourci Connexion */
  @media (max-width: 768px) {
    .site-header { padding: 10px 14px; }
    .nav-desktop { display: none !important; }
    .header-nav { gap: 4px; }
    .header-nav-link { padding: 8px 12px; font-size: 14px; }
    /* Connexion mis en valeur comme un bouton (seul raccourci visible) */
    .header-connexion-link {
      color: #fff !important;
      background: linear-gradient(160deg, #0d1b5e 0%, #0a6fa8 60%, #0891B2 100%);
      box-shadow: 0 4px 0 #0a4a78;
      font-weight: 800;
      padding: 10px 20px !important;
      border-radius: 12px;
    }
    .header-connexion-link:hover {
      background: linear-gradient(160deg, #0d1b5e 0%, #0a6fa8 60%, #0891B2 100%);
      color: #fff !important;
    }
  }
  /* Masqué sur PC, visible sur mobile (inverse de nav-desktop) */
  .hide-desktop { display: none !important; }
  @media (max-width: 768px) {
    .hide-desktop { display: flex !important; }
  }
  @media (max-width: 480px) {
    .site-header { padding: 8px 12px; }
    .brand-soft-logo { height: 32px; width: 32px; }
  }

/* --- Bloc 3 : NAV CARDS pédagogiques --- */
.nav-cards {
        display: flex;
        justify-content: center;
        gap: 28px;
        flex-wrap: wrap;
        margin: 0 auto 32px auto;
        padding: 0 20px;
        max-width: 760px;
    }
    .nav-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        background: var(--card);
        border: 2.5px solid var(--border);
        border-radius: 24px;
        box-shadow: 0 6px 0 var(--border);
        padding: 32px 36px;
        text-decoration: none;
        color: var(--text);
        flex: 1 1 220px;
        max-width: 320px;
        transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    }
    .nav-card:hover {
        transform: translateY(-6px);
    }
    .nav-card.cours-card:hover {
        background: #f0f7fd;
        border-color: var(--blue);
        box-shadow: 0 10px 0 var(--blue-dk);
    }
    .nav-card.exos-card:hover {
        background: #f0faf3;
        border-color: var(--green);
        box-shadow: 0 10px 0 var(--green-dk);
    }
    .nav-card-icon {
        font-size: 54px;
        line-height: 1;
    }
    .nav-card-label {
        font-size: 22px;
        font-weight: 900;
        color: var(--text-head);
        letter-spacing: -0.01em;
    }
    .nav-card-sub {
        font-size: 13px;
        font-weight: 700;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.06em;
        text-align: center;
    }
    /* Liste de features dans les nav cards */
    .nav-card-features {
        list-style: none;
        padding: 0;
        margin: 4px 0 0 0;
        text-align: left;
        width: 100%;
    }
    .nav-card-features li {
        font-size: 13.5px;
        font-weight: 700;
        color: var(--text-muted);
        padding: 3px 0;
    }
    .nav-card.cours-card .nav-card-features li { color: #1e7ab8; }
    .nav-card.exos-card .nav-card-features li { color: #2a9444; }
    .nav-card-btn {
        margin-top: 8px;
        padding: 10px 20px;
        border-radius: 14px;
        font-size: 14px;
        font-weight: 800;
        color: white;
        border: none;
        width: auto;
        display: inline-block;
        text-align: center;
        white-space: nowrap;
    }
    .cours-card .nav-card-btn  { background: linear-gradient(160deg, #0d1b5e 0%, #0a6fa8 60%, #0891B2 100%); box-shadow: 0 4px 0 #0a4a78; }
    .exos-card .nav-card-btn   { background: linear-gradient(135deg, var(--green), var(--green-dk)); box-shadow: 0 4px 0 var(--green-dk); }
    @media (max-width: 480px) {
        .nav-cards { gap: 16px; }
        .nav-card  { padding: 28px 24px; }
        .nav-card-icon { font-size: 42px; }
        .nav-card-label { font-size: 19px; }
    }


/* --- Bloc 4 : HERO V2 split-screen --- */

.hero-v2 {
    background: var(--bg);          /* fond crème #fef9ec */
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding-bottom: 8px;
}

/* Wrapper split */
.hero-v2-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    padding: 44px 40px 28px 40px;
    box-sizing: border-box;
    position: relative;
}

/* ── GAUCHE ── */
.hero-v2-left {
    flex: 0 0 auto;
    width: 52%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

/* Pill tagline */
.hero-v2-tagline {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-head);
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    display: inline-block;
    padding: 5px 16px;
    margin-bottom: 18px;
}

/* Titre principal */
.hero-v2-title {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.03em;
    color: var(--text-head);
    margin: 0 0 18px 0;
}
.hv2-maths {
    color: var(--blue);
}
.hv2-blue   { color: var(--blue); }
.hv2-orange { color: var(--orange); }
/* "simples" dans le titre : bleu plus foncé pour se distinguer de "maths" */
.hero-v2-title .hv2-blue { color: var(--blue-dk); }

/* Sous-titre descriptif du hero */
.hero-v2-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 480px;
    margin: 0 0 26px 0;
}

/* Soulignement doré sur le mot clé */
.hv2-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}
.hv2-underline::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 6px;
    background: linear-gradient(90deg, var(--orange), #f0c040);
    border-radius: 3px;
}

/* Sous-titre 6e à la Terminale */
.hero-v2-sub {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-muted);
    margin: 0 0 22px 0;
    line-height: 1.4;
}
.hero-v2-sub strong {
    color: var(--text-head);
    font-weight: 900;
}

/* Boutons CTA */
.hero-v2-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 16px;
}
.hero-v2-cta-primary-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

/* Bouton principal — orange chaleureux */
.hero-v2-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    background: linear-gradient(160deg, #0d1b5e 0%, #0a6fa8 60%, #0891B2 100%);
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 5px 0 #0a4a78;
    transition: transform .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}
.hero-v2-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #0a4a78;
    color: #fff;
}
.hv2-btn-badge {
    background: rgba(26,45,107,.15);
    border: 1px solid rgba(26,45,107,.2);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    letter-spacing: .04em;
}

/* Bouton secondaire — style header bleu foncé */
.hero-v2-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(160deg, #0d1b5e 0%, #0a6fa8 60%, #0891B2 100%);
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 5px 0 #08446a, 0 8px 24px rgba(8,145,178,.25);
    transition: transform .15s ease, box-shadow .15s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(255,255,255,.15);
}
.hero-v2-btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, transparent 60%);
    pointer-events: none;
}
.hero-v2-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #08446a, 0 14px 32px rgba(8,145,178,.35);
    color: #fff;
}

/* Sous-texte garanti */
.hero-v2-guarantee {
    font-size: 12px;
    color: #2a9444;
    font-weight: 700;
    margin: 6px 0 16px;
    text-align: center;
}

/* Pill avis condensé */
.hero-v2-avis-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 3px 0 var(--border);
    padding: 10px 18px;
    margin-top: 2px;
}
.hv2-stars  { color: var(--orange); font-size: 15px; letter-spacing: 2px; }

/* Bulles avatar (avatar stack) — style MathsPrime : dégradés + ombre dure */
.hv2-avatars {
    display: inline-flex;
    margin-right: 4px;
    padding-bottom: 2px; /* laisse la place à l'ombre dure */
}
.hv2-avatar {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: #fff;
    border: 2px solid var(--card);
    margin-left: -9px;
    box-sizing: content-box;
    transition: transform .15s ease;
}
.hv2-avatar:first-child { margin-left: 0; }
.hv2-avatar:hover { transform: translateY(-2px); }
.hv2-avatar.a1 {
    background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dk) 100%);
    box-shadow: 0 2px 0 var(--blue-dk);
}
.hv2-avatar.a2 {
    background: linear-gradient(160deg, var(--green) 0%, var(--green-dk) 100%);
    box-shadow: 0 2px 0 var(--green-dk);
}
.hv2-avatar.a3 {
    background: linear-gradient(160deg, var(--orange) 0%, var(--orange-dk) 100%);
    box-shadow: 0 2px 0 var(--orange-dk);
}
.hv2-avatar.a4 {
    background: linear-gradient(160deg, var(--text-head) 0%, #0d1b5e 100%);
    box-shadow: 0 2px 0 #0d1b5e;
}
.hv2-score  { font-weight: 900; font-size: 15px; color: var(--text-head); }
.hv2-count  { font-size: 12px; color: var(--text-muted); font-weight: 700; }
.hv2-dot    { color: var(--border); font-size: 14px; }
.hv2-avis-link {
    font-size: 12px;
    font-weight: 800;
    color: var(--blue);
    text-decoration: none;
    padding: 3px 10px;
    background: #eef7fd;
    border-radius: 8px;
    transition: background .2s;
}
.hv2-avis-link:hover { background: #d5ecf8; }

/* ── DROITE : téléphone ── */
.hero-v2-right {
    flex: 0 0 auto;
    width: 44%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-v2-phone-wrap {
    position: relative;
    display: inline-block;
}
.hero-v2-phone-img {
    display: block;
    width: 100%;
    max-width: 260px;
    border-radius: 0;
    box-shadow: none;
    transform: rotate(3deg);
    transition: transform .3s ease;
    cursor: pointer;
}
.hero-v2-phone-img:hover {
    transform: rotate(1deg) scale(1.02);
}

/* Éléments maths flottants */
.hv2-float {
    position: absolute;
    font-family: 'Nunito', Arial, sans-serif;
    font-weight: 900;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(26,45,107,.15);
    pointer-events: none;
}
.hv2-pi {
    top: -18px; left: -38px;
    width: 52px; height: 52px;
    background: var(--card);
    border: 2px solid var(--border);
    font-size: 26px; color: var(--blue);
    animation: hv2-bob1 3.6s ease-in-out infinite;
}
.hv2-x2 {
    top: 28px; right: -32px;
    width: 50px; height: 50px;
    background: var(--blue);
    color: #fff;
    font-size: 16px;
    animation: hv2-bob2 3.2s ease-in-out infinite;
}
.hv2-fpx {
    bottom: 24px; right: -26px;
    width: 58px; height: 50px;
    background: var(--green);
    color: #fff;
    font-size: 13px;
    animation: hv2-bob3 4s ease-in-out infinite;
}
.hv2-sig {
    bottom: -10px; left: -26px;
    width: 48px; height: 48px;
    background: var(--orange);
    color: #fff;
    font-size: 22px;
    animation: hv2-bob4 3.8s ease-in-out infinite;
}
@keyframes hv2-bob1 {
    0%,100%{ transform: translateY(0)   rotate(4deg);  }
    50%    { transform: translateY(-8px) rotate(4deg);  }
}
@keyframes hv2-bob2 {
    0%,100%{ transform: translateY(0)   rotate(-5deg); }
    50%    { transform: translateY(-7px) rotate(-5deg); }
}
@keyframes hv2-bob3 {
    0%,100%{ transform: translateY(0)   rotate(6deg);  }
    50%    { transform: translateY(-9px) rotate(6deg);  }
}
@keyframes hv2-bob4 {
    0%,100%{ transform: translateY(0)   rotate(-4deg); }
    50%    { transform: translateY(-7px) rotate(-4deg); }
}

/* ── Scroll d'avis sous le split ── */
.hero-v2-avis-strip {
    position: relative;
    max-width: 880px;
    margin: 8px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
}
.hv2-avis-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--card);
    color: var(--text-head);
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    transition: background .15s ease;
}
.hv2-avis-arrow:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.hv2-avis-arrow[hidden] {
    display: none;
}
.hv2-avis-arrow-left { left: 4px; }
.hv2-avis-arrow-right { right: 4px; }
@media (max-width: 600px) {
    .hv2-avis-arrow { display: none; }
}
@media (hover: none) and (pointer: coarse) {
    .hv2-avis-arrow { display: none; }
}
.hero-v2-avis-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.hero-v2-avis-scroll::-webkit-scrollbar { display: none; }
.hero-v2-avis-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 16px 18px;
    text-align: left;
    box-shadow: 0 3px 0 var(--border);
}
.hero-v2-avis-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.hero-v2-avis-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--green));
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hero-v2-avis-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-head);
    line-height: 1.2;
}
.hero-v2-avis-statut {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 11px;
}
.hero-v2-avis-note {
    color: var(--orange);
    font-size: 13px;
    letter-spacing: 1px;
    margin-top: 2px;
}
.hero-v2-avis-text {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* ── Lien conseil prof ── */
.hero-v2-bottom-link {
    display: flex;
    justify-content: center;
    padding: 16px 16px 28px;
}
.hero-v2-conseil-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--card);
    color: var(--text-head);
    font-size: clamp(.88rem, 2vw, 1rem);
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid var(--border);
    box-shadow: 0 4px 0 var(--border);
    transition: transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.hero-v2-conseil-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 var(--border);
    color: var(--text-head);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hero-v2-wrap {
        padding: 32px 28px 20px;
        gap: 16px;
    }
    .hero-v2-left  { width: 54%; }
    .hero-v2-right { width: 42%; }
    .hero-v2-phone-img { max-width: 200px; }
}
@media (max-width: 600px) {
    .hero-v2-wrap {
        flex-direction: column;
        padding: 28px 20px 16px;
        align-items: center;
        text-align: center;
    }
    .hero-v2-left {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-v2-title { font-size: clamp(2.7rem, 10.5vw, 3.4rem); }
    .hero-v2-right {
        width: 75%;
        max-width: 220px;
    }
    .hero-v2-phone-img { max-width: 100%; transform: none; }
    .hero-v2-phone-img:hover { transform: scale(1.02); }
    .hv2-float { display: none; }
    .hero-v2-avis-pill { justify-content: center; }
    .hero-v2-tagline { text-align: center; }
    .hero-v2-sub { text-align: center; }
    .hero-v2-guarantee { text-align: center; }
    .hero-v2-cta-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    .hero-v2-cta-primary-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .hero-v2-btn-primary,
    .hero-v2-btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        box-sizing: border-box;
    }
    .hero-v2-avis-card { flex: 0 0 230px; }
}
@media (max-width: 400px) {
    .hero-v2-title { font-size: 2.6rem; }
}


/* Bandeau réassurance — premium marquee */
.reassurance-strip {
    background: linear-gradient(90deg, #0d1b5e 0%, #1a3a8a 40%, #0a6fa8 70%, #0891B2 100%);
    border-top: 1px solid rgba(255,215,0,0.25);
    border-bottom: 1px solid rgba(255,215,0,0.25);
    overflow: hidden;
    position: relative;
    padding: 0;
}
.reassurance-strip::before,
.reassurance-strip::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}
.reassurance-strip::before {
    left: 0;
    background: linear-gradient(to right, #0d1b5e, transparent);
}
.reassurance-strip::after {
    right: 0;
    background: linear-gradient(to left, #0891B2, transparent);
}
.reassurance-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 22s linear infinite;
}
.reassurance-track:hover {
    animation-play-state: paused;
}
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.reassurance-list {
    display: flex;
    align-items: center;
    padding: 11px 0;
    white-space: nowrap;
}
.reassurance-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 800;
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0 28px;
}
.reassurance-icon {
    color: #FFD700;
    font-size: 10px;
    line-height: 1;
}
.reassurance-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,215,0,0.45);
    flex-shrink: 0;
}

/* --- Section pédagogique wrapper --- */
.pedago-section {
    padding: 50px 20px 10px;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}
.pedago-intro {
    text-align: center;
    margin-bottom: 32px;
}
.pedago-eyebrow {
    display: inline-block;
    background: #eaf4fd;
    color: var(--blue-dk);
    border: 1.5px solid var(--blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 16px;
    margin-bottom: 14px;
}
.pedago-title {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 900;
    color: var(--text-head);
    line-height: 1.25;
    margin: 0 0 10px;
}
.pedago-title span { color: var(--blue); }
.pedago-sub {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}
.pedago-reassurance {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.pedago-pill {
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-head);
    box-shadow: 0 3px 0 var(--border);
}

/* --- Bloc OFFRES intégrées dans index --- */
.offres-section {
    max-width: 760px;
    margin: 50px auto 20px;
    padding: 0 20px;
    box-sizing: border-box;
}
.offres-eyebrow {
    display: inline-block;
    background: #f0faf3;
    color: var(--green-dk);
    border: 1.5px solid var(--green);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 16px;
    margin-bottom: 10px;
}
.offres-title {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 900;
    color: var(--text-head);
    margin: 0 0 6px;
}
.offres-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 28px;
}
.pricing-cards-wrap {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.pricing-card-idx {
    background: var(--card);
    border-radius: 20px;
    padding: 24px 22px;
    flex: 1 1 220px;
    max-width: 300px;
    text-align: center;
    position: relative;
    box-shadow: 0 6px 0 var(--border);
    border: 2.5px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card-idx:hover {
    transform: translateY(-5px);
    box-shadow: 0 11px 0 var(--border);
}
.pricing-card-idx.popular {
    border-color: var(--green);
    box-shadow: 0 6px 0 var(--green-dk);
    background: #f0faf3;
}
.pricing-card-idx.popular:hover { box-shadow: 0 11px 0 var(--green-dk); }
.popular-badge-idx {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 18px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.pricing-card-idx h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 4px;
    margin-top: 0;
}
.pricing-price-idx {
    font-size: 38px;
    font-weight: 900;
    color: var(--blue-dk);
    line-height: 1;
    margin: 8px 0 4px;
}
.pricing-card-idx.popular .pricing-price-idx { color: var(--green-dk); }
.pricing-period-idx {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
}
.pricing-equiv-idx {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0 6px;
}
.pricing-equiv-idx strong { color: var(--green-dk); }
.pricing-equiv-idx em { font-style: normal; color: var(--text-muted); }
.pricing-no-renew-idx {
    display: inline-block;
    background: #eafaf0;
    color: var(--green-dk);
    border: 1.5px solid var(--green);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    margin: 8px 0 14px;
}
.pricing-features-idx {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    text-align: left;
}
.pricing-features-idx li {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 4px 0;
}
.pricing-card-idx.popular .pricing-features-idx li { color: #2a7a48; }
.pricing-cta-idx {
    display: block;
    padding: 11px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    color: white;
    background: linear-gradient(160deg, #0d1b5e 0%, #0a6fa8 60%, #0891B2 100%);
    box-shadow: 0 4px 0 #0a4a78;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-cta-idx.popular {
    background: linear-gradient(135deg, var(--green), var(--green-dk));
    box-shadow: 0 5px 0 var(--green-dk);
}
.pricing-cta-idx:hover { transform: translateY(-3px); box-shadow: 0 8px 0 #0a4a78; }
.pricing-card-idx.popular .pricing-cta-idx:hover { box-shadow: 0 8px 0 var(--green-dk); }

/* Banner essai gratuit sous les offres */
.offres-trial-banner {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 18px;
    padding: 22px 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 15px;
    font-weight: 700;
    color: #1a2d6b;
    box-shadow: 0 6px 0 #c47a00;
    margin-bottom: 10px;
}
.offres-trial-btn {
    display: inline-block;
    background: #1a2d6b;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 4px 0 #0d1a3a;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.offres-trial-btn:hover { transform: translateY(-3px); box-shadow: 0 7px 0 #0d1a3a; }
@media (max-width: 600px) {
    .pricing-cards-wrap { gap: 40px; }
    .offres-trial-banner { flex-direction: column; text-align: center; }
}

/* --- Bloc 5 : AVIS carousel --- */
.mc-avis-widget { 
  max-width: 800px; 
  margin: 0 auto 50px auto;
  padding: 12px;
}
.mc-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.mc-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}
.mc-slide {
  min-width: 100%;
  box-sizing: border-box;
  background: white;
  padding: 28px;
  border-radius: 16px;
}
.mc-slide header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.mc-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg,#2980b9,#1abc9c);
  color: white;
  font-size: 20px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mc-header-info { flex: 1; text-align: left; }
.mc-name { margin: 0; font-size: 16px; font-weight: 700; color: #1a2d6b; }
.mc-date { font-size: 13px; color: #7a6e62; }
.mc-stars { display: flex; gap: 3px; }
.star { font-size: 20px; color: #ddd; }
.star.filled { color: #f59120; }
.mc-divider { border: none; border-top: 1.5px solid #f0e8d5; margin: 0 0 14px 0; }
.mc-review { font-size: 15px; color: #333; text-align: left; margin: 0; line-height: 1.6; }
.mc-prev, .mc-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: 2px solid #ddd0b8;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  z-index: 5;
}
.mc-prev { left: 8px; }
.mc-next { right: 8px; }
.mc-prev:hover, .mc-next:hover { background: #2980b9; color: white; border-color: #2980b9; }
.mc-dots {
  display: flex; justify-content: center; gap: 8px;
  padding: 12px 0 4px;
}
.mc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ddd0b8;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.mc-dot.active { background: #2980b9; transform: scale(1.3); }
.mc-all-link { text-align: center; margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; }
.mc-all-btn, .mc-demo-btn {
  background: linear-gradient(135deg,#2980b9,#1abc9c);
  color: white; padding: 10px 24px;
  border-radius: 10px; font-weight: 700;
  text-decoration: none; font-size: 15px;
  transition: transform 0.2s;
}
.mc-all-btn:hover, .mc-demo-btn:hover { transform: translateY(-2px); }
.mc-rolet-btn {
  background: linear-gradient(135deg,#FFD700,#FFA500);
  color: #333; padding: 10px 20px;
  border-radius: 10px; font-weight: 700;
  text-decoration: none; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s;
}
.mc-rolet-btn:hover { transform: translateY(-2px); }
.mc-rolet-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid #f0c040; }

/* --- Bloc 6 : CONSEIL --- */
.conseil-section {
  max-width: 760px;
  margin: 0 auto 50px auto;
  padding: 0 16px;
}
.conseil-card {
  background: linear-gradient(135deg, #1a2d6b 0%, #0891B2 100%);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 8px 30px rgba(8,145,178,0.25);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.conseil-card::before {
  content: "💡";
  position: absolute;
  font-size: 120px;
  top: -20px; right: -10px;
  opacity: 0.08;
  pointer-events: none;
}
.conseil-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: #f0c040;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.conseil-title {
  color: white;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}
.conseil-title span { color: #f0c040; }
.conseil-body {
  color: rgba(255,255,255,0.88);
  font-size: 15.5px;
  line-height: 1.8;
  font-family: 'Nunito', Arial, sans-serif;
}
.conseil-body strong { color: white; font-weight: 800; }
.conseil-signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.conseil-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0c040;
  flex-shrink: 0;
}
.conseil-sig-name {
  color: #f0c040;
  font-weight: 900; font-size: 16px;
}
.conseil-sig-role {
  color: rgba(255,255,255,0.7);
  font-size: 13px; margin-top: 2px;
}
@media (max-width: 600px) {
  .conseil-card { padding: 28px 22px; }
}

/* --- Bloc 7 : RÉSEAUX SOCIAUX --- */
.social-section { max-width: 500px; margin: 0 auto 50px auto; padding: 0 16px; }
.social-card {
  background: linear-gradient(135deg,#1a2d6b 0%,#0891B2 100%);
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 8px 30px rgba(8,145,178,0.3);
}
.social-title { color: white; font-size: 20px; font-weight: 800; margin: 0 0 20px 0; text-align: center; }
.social-links { display: flex; flex-direction: column; gap: 14px; }
.social-link {
  background: rgba(255,255,255,0.95);
  padding: 16px 22px;
  border-radius: 12px;
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.social-link:hover { transform: scale(1.04); background: white; box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.social-icon { width: 30px; height: 30px; object-fit: contain; }
.instagram-badge { background: linear-gradient(135deg,#833AB4,#FD1D1D 50%,#F77737); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; }
.youtube-badge { color: #FF0000; font-weight: 700; }
.social-handle { color: #7f8c8d; font-weight: 500; }

/* --- Bloc 8 : FOOTER --- */
.site-footer {
  background: linear-gradient(135deg,#1a2d6b 0%,#0891B2 100%);
  color: white;
  text-align: center;
  padding: 24px 20px;
  margin-top: 20px;
  font-family: 'Nunito', Arial, sans-serif;
}
.footer-inner { max-width: 800px; margin: 0 auto; }
.footer-logo { font-size: 22px; font-weight: 900; color: #f0c040; margin-bottom: 6px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.2); margin: 12px 0; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.75); margin: 0; }
.footer-cgv { margin-bottom: 8px; }
.footer-cgv a { color: rgba(255,255,255,0.75); font-size: 13px; text-decoration: none; transition: color 0.2s; }
.footer-cgv a:hover { color: #f0c040; }

/* --- Widget démo exercice --- */
.demo-widget {
    background: var(--card);
    border: 2.5px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 6px 0 var(--border);
    overflow: visible;
    position: relative;
    max-width: 560px;
    margin: 50px auto 50px auto;
}
.demo-widget-header {
    background: linear-gradient(135deg, #0d1b5e 0%, #0a6fa8 100%);
    padding: 18px 24px 16px;
    text-align: center;
    border-radius: 22px 22px 0 0;
}
.demo-widget-badge {
    position: absolute;
    top: -14px;
    right: 18px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #f59120, #f0c040);
    color: #1a2d6b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 7px 15px;
    border-radius: 999px;
    box-shadow: 0 4px 0 #d4720a;
    transform: rotate(2deg);
}
.demo-widget-eyebrow {
    display: inline-block;
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.4);
    color: #FFD700;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.demo-widget-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -0.01em;
}
.demo-widget-title span { color: rgba(255,255,255,0.6); font-weight: 700; }
.demo-widget-body {
    padding: 22px 24px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.dw-question {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-head);
    min-height: 32px;
    text-align: center;
    line-height: 1.5;
}
.dw-axe {
    text-align: center;
}
.dw-latex {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-head);
    min-height: 24px;
}
.dw-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.dw-input-row input {
    flex: 1;
    min-width: 0;
    padding: 11px 16px;
    border: 2px solid var(--border);
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Nunito', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color 0.2s;
}
.dw-input-row input:focus { border-color: var(--blue); }
.dw-btn-verify {
    padding: 11px 22px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dk));
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 0 var(--blue-dk);
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
    font-family: 'Nunito', Arial, sans-serif;
}
.dw-btn-verify:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--blue-dk); }
.dw-btn-help {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #FFD700, #f0a500);
    border: none;
    border-radius: 14px;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 4px 0 #c98a00;
    transition: transform 0.15s, box-shadow 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dw-btn-help:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #c98a00; }
.dw-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 27, 94, 0.55);
    z-index: 1000;
}
.dw-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92%;
    max-width: 460px;
    max-height: 82vh;
    overflow-y: auto;
    background: var(--card);
    border: 2.5px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 8px 0 var(--border);
    padding: 26px 22px 20px;
    z-index: 1001;
}
.dw-close-button {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-head);
    cursor: pointer;
    line-height: 1;
}
.dw-close-button:hover { color: var(--red); }
.dw-help-section + .dw-help-section { margin-top: 14px; }
.dw-help-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--text-head);
    margin: 0 0 6px;
}
.dw-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--bg2);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.dw-example-block {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.5;
}
.dw-example-block small { color: #7a6e62; }
.dw-tip-box {
    margin-top: 16px;
    background: rgba(255, 215, 0, 0.12);
    border: 2px solid #f0c040;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text);
}
.dw-tip-box code {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1px 6px;
    font-weight: 800;
}
.dw-symbols {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.dw-symbols button {
    padding: 7px 16px;
    background: var(--bg2);
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-head);
    cursor: pointer;
    font-family: 'Nunito', Arial, sans-serif;
    transition: background 0.15s, border-color 0.15s;
}
.dw-symbols button:hover { background: var(--blue); color: white; border-color: var(--blue); }
.dw-feedback {
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    padding: 10px 16px;
    border-radius: 12px;
}
.dw-correct { background: #eafaf0; color: var(--green-dk); }
.dw-wrong   { background: #fef0f0; color: var(--red); }
.dw-correction {
    font-size: 0.88rem;
    border-radius: 12px;
    overflow: hidden;
}
.dw-correction table {
    font-size: 0.78rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}
.dw-progress-wrap {
    width: 80%;
    max-width: 300px;
    height: 14px;
    background: var(--border);
    border-radius: 10px;
    margin: 4px auto 0;
    overflow: hidden;
}
.dw-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 10px;
    background: var(--green);
    transition: width 0.5s ease;
}
.dw-bar-red, .dw-bar-orange, .dw-bar-green { background: var(--green); }
.dw-progress-label { display: none; }
.dw-footer {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 4px;
}
.dw-btn-next {
    padding: 9px 20px;
    background: var(--bg2);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-head);
    cursor: pointer;
    font-family: 'Nunito', Arial, sans-serif;
    transition: background 0.15s;
}
.dw-btn-next:hover { background: var(--border); }
.dw-btn-full {
    padding: 9px 20px;
    background: linear-gradient(135deg, var(--green), var(--green-dk));
    color: white;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 3px 0 var(--green-dk);
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.dw-btn-full:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--green-dk); }
@media (max-width: 480px) {
    .demo-widget-body { padding: 18px 16px 14px; gap: 12px; }
    .dw-input-row { gap: 7px; }
    .dw-input-row input {
        flex: 1 1 0;
        max-width: 56%;
        padding: 10px 12px;
        font-size: 0.95rem;
        border-radius: 12px;
    }
    .dw-btn-verify { padding: 10px 12px; font-size: 0.8rem; border-radius: 12px; }
    .dw-btn-help {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 12px;
        box-shadow: 0 3px 0 #c98a00;
    }
    .dw-btn-help:hover { box-shadow: 0 5px 0 #c98a00; }
}

/* ============================================================
   BLOC 7 — REFONTE V3 « conversion » (juin 2026)
   Signature : fond cahier à petits carreaux + marge rouge,
   trait de stylo animé, parcours hero → essai → méthode →
   preuve → prix → FAQ → CTA final, barre sticky mobile.
============================================================ */

/* ---------- 7.0 · Fond « cahier de maths » (signature) ---------- */
.hero-v2 {
    position: relative;
    background:
        repeating-linear-gradient(to bottom, transparent 0 27px, rgba(58,159,214,.09) 27px 28px),
        repeating-linear-gradient(to right,  transparent 0 27px, rgba(58,159,214,.09) 27px 28px),
        var(--bg);
}
/* marge rouge du cahier */
.hero-v2::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: clamp(18px, 5vw, 64px);
    width: 2px;
    background: rgba(229,69,48,.30);
    pointer-events: none;
}
/* Tablette : le wrap (max 960px, padding 40px) n'est plus centré loin du bord,
   on plafonne la ligne pour qu'elle reste dans la marge sans chevaucher le contenu */
@media (max-width: 1023px) {
    .hero-v2::before { left: 20px; }
}
@media (max-width: 600px) {
    .hero-v2::before { left: 12px; }
}

/* ---------- 7.1 · Hero : copy & trait de stylo ---------- */
/* le soulignement se « dessine » comme un trait de stylo */
.hv2-underline::after {
    transform: scaleX(0);
    transform-origin: left center;
    animation: hv2-draw .7s cubic-bezier(.6,.05,.3,1) .45s forwards;
}
@keyframes hv2-draw { to { transform: scaleX(1); } }

/* halo doux + micro-pulsation du CTA principal */
.hero-v2-btn-primary {
    box-shadow: 0 5px 0 #0a4a78;
}
.hero-v2-guarantee { font-size: 12.5px; color: #2a9444; }

/* ---------- 7.3 · Animations d'apparition au scroll ---------- */
.rv {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1);
    will-change: opacity, transform;
}
.rv.in { opacity: 1; transform: none; }
/* léger décalage en cascade pour les cartes d'étapes */
.steps-wrap .step-card:nth-child(3) { transition-delay: .12s; }
.steps-wrap .step-card:nth-child(5) { transition-delay: .24s; }

/* ---------- 7.4 · Comment ça marche ---------- */
.steps-section {
    max-width: 1000px;
    margin: 64px auto 24px;
    padding: 0 20px;
}
.steps-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--blue-dk);
    background: #eef7fd;
    border: 1.5px solid #c7e4f5;
    border-radius: 999px;
    padding: 5px 16px;
    margin-bottom: 14px;
}
.steps-title {
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    font-weight: 900;
    color: var(--text-head);
    margin: 0 0 34px;
    letter-spacing: -.02em;
}
.steps-title span { color: var(--orange); }
.steps-wrap {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.step-card {
    position: relative;
    flex: 1 1 240px;
    max-width: 300px;
    background: var(--card);
    border: 2.5px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 5px 0 var(--border);
    padding: 30px 24px 26px;
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease,
                opacity .6s ease;
}
.step-card:hover {
    transform: translateY(-6px);
    border-color: var(--blue);
    box-shadow: 0 10px 0 var(--blue-dk);
}
.step-num {
    position: absolute;
    top: -16px; left: 50%;
    transform: translateX(-50%);
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    border-radius: 50%;
    box-shadow: 0 3px 0 var(--orange-dk);
}
.step-icon  { font-size: 42px; line-height: 1; margin-bottom: 10px; }
.step-label { font-size: 19px; font-weight: 900; color: var(--text-head); margin: 0 0 8px; }
.step-text  { font-size: 14px; font-weight: 600; color: var(--text-muted); line-height: 1.55; margin: 0; }
.step-arrow {
    align-self: center;
    font-size: 26px;
    font-weight: 900;
    color: var(--orange);
}
@media (max-width: 720px) {
    .step-arrow { display: none; }
    .step-card  { flex-basis: 100%; max-width: 420px; }
}

/* ---------- 7.5 · Chiffres clés ---------- */
.stats-band {
    max-width: 920px;
    margin: 30px auto 10px;
    padding: 0 20px;
}
.stats-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px 26px;
    flex-wrap: wrap;
    background: linear-gradient(160deg, #0d1b5e 0%, #0a6fa8 60%, #0891B2 100%);
    border-radius: 26px;
    padding: 30px 28px;
    box-shadow: 0 6px 0 #08446a, 0 16px 36px rgba(13,27,94,.25);
}
.stat-item  { text-align: center; min-width: 130px; }
.stat-num   {
    font-size: clamp(2rem, 4.6vw, 2.7rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -.02em;
}
.stat-num .stat-unit { font-size: .55em; font-weight: 800; opacity: .85; }
.stat-infinity { color: #7fe3a3; }
.stat-gold     { color: #f8d96a; }
.stat-label {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.78);
    line-height: 1.4;
}
.stat-sep {
    font-size: 26px;
    font-weight: 900;
    color: rgba(255,255,255,.35);
}
@media (max-width: 640px) {
    .stat-sep { display: none; }
    .stats-wrap { gap: 22px 30px; padding: 26px 18px; }
}

/* ---------- 7.6 · Ancrage prix ---------- */
.offres-anchor {
    max-width: 560px;
    margin: -6px auto 26px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
    background: #fff3d8;
    border: 2px solid var(--orange);
    border-radius: 16px;
    padding: 10px 18px;
    box-shadow: 0 3px 0 var(--orange-dk);
}
.offres-anchor strong { color: var(--orange-dk); }

/* ---------- 7.7 · FAQ ---------- */
.faq-section {
    max-width: 720px;
    margin: 70px auto 10px;
    padding: 0 20px;
}
.faq-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--purple);
    background: #f3ecfb;
    border: 1.5px solid #ddccf2;
    border-radius: 999px;
    padding: 5px 16px;
    margin-bottom: 14px;
}
.faq-title {
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    font-weight: 900;
    color: var(--text-head);
    margin: 0 0 28px;
    letter-spacing: -.02em;
}
.faq-list { text-align: left; }
.faq-item {
    background: var(--card);
    border: 2.5px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 4px 0 var(--border);
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] {
    border-color: var(--blue);
    box-shadow: 0 4px 0 var(--blue-dk);
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 48px 16px 20px;
    font-size: 15.5px;
    font-weight: 800;
    color: var(--text-head);
    position: relative;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 50%;
    font-size: 17px;
    font-weight: 900;
    color: var(--orange-dk);
    transition: transform .25s ease, background .2s ease;
}
.faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
    background: #fff3d8;
}
.faq-item p {
    margin: 0;
    padding: 0 20px 18px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.6;
}
.faq-item p strong { color: var(--text); }

/* ---------- 7.8 · CTA final ---------- */
.final-cta {
    max-width: 860px;
    margin: 60px auto 20px;
    padding: 0 20px;
}
.final-cta-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 50px 30px 44px;
    background:
        repeating-linear-gradient(to bottom, transparent 0 27px, rgba(255,255,255,.06) 27px 28px),
        repeating-linear-gradient(to right,  transparent 0 27px, rgba(255,255,255,.06) 27px 28px),
        linear-gradient(160deg, #0d1b5e 0%, #0a6fa8 60%, #0891B2 100%);
    box-shadow: 0 7px 0 #08446a, 0 20px 44px rgba(13,27,94,.3);
}
.final-cta-symbols {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.final-cta-symbols span {
    position: absolute;
    font-weight: 900;
    color: rgba(255,255,255,.10);
    font-size: 64px;
}
.final-cta-symbols span:nth-child(1) { top: 8%;  left: 6%;  transform: rotate(-12deg); }
.final-cta-symbols span:nth-child(2) { bottom: 10%; left: 14%; font-size: 50px; transform: rotate(8deg); }
.final-cta-symbols span:nth-child(3) { top: 14%; right: 9%;  font-size: 46px; transform: rotate(10deg); }
.final-cta-symbols span:nth-child(4) { bottom: 12%; right: 6%; font-size: 40px; transform: rotate(-8deg); }
.final-cta-title {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3.8vw, 2.3rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -.02em;
}
.final-cta-sub {
    max-width: 520px;
    margin: 0 auto 26px;
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,.85);
    line-height: 1.55;
}
.final-cta-btn {
    display: inline-block;
    padding: 17px 34px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f59120 0%, #f0c040 100%);
    color: #1a2d6b;
    font-weight: 900;
    font-size: 17px;
    text-decoration: none;
    box-shadow: 0 6px 0 #d4720a, 0 14px 34px rgba(0,0,0,.25);
    transition: transform .15s ease, box-shadow .15s ease;
}
.final-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #d4720a, 0 18px 40px rgba(0,0,0,.3);
}
.final-cta-note {
    margin: 14px 0 0;
    font-size: 12.5px;
    font-weight: 700;
    color: rgba(255,255,255,.75);
}

/* ---------- 7.9 · Barre CTA sticky (mobile) ---------- */
.sticky-cta {
    position: fixed;
    left: 10px; right: 10px; bottom: 10px;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(26,45,107,.97);
    border: 1.5px solid rgba(255,255,255,.18);
    border-radius: 18px;
    padding: 10px 12px 10px 16px;
    box-shadow: 0 10px 30px rgba(13,27,94,.4);
    transform: translateY(130%);
    transition: transform .35s cubic-bezier(.2,.7,.3,1);
    backdrop-filter: blur(4px);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.25;
}
.sticky-cta-text strong { color: #fff; font-size: 14px; font-weight: 900; }
.sticky-cta-text span   { color: rgba(255,255,255,.7); font-size: 11px; font-weight: 700; }
.sticky-cta-btn {
    flex-shrink: 0;
    padding: 11px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f59120 0%, #f0c040 100%);
    color: #1a2d6b;
    font-weight: 900;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 3px 0 #d4720a;
    white-space: nowrap;
}
@media (min-width: 821px) {
    .sticky-cta { display: none; } /* desktop : CTA hero + CTA final suffisent */
}

/* ---------- 7.10 · Qualité : focus clavier & motion réduite ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
    border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1; transform: none; transition: none; }
    .hero-v2-btn-primary { animation: none; }
    .hv2-underline::after { animation: none; transform: scaleX(1); }
    .hv2-float { animation: none !important; }
    .reassurance-list { animation: none !important; }
    .sticky-cta { transition: none; }
    * { scroll-behavior: auto !important; }
}

/* =====================================================================
   ===== NOUVELLES SECTIONS (indextest) — style "dessin animé" ========
   ===================================================================== */

/* ---------- Helpers communs aux nouvelles sections ---------- */
.section-eyebrow-base {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 5px 16px;
    margin-bottom: 14px;
}

/* =====================================================================
   1 · MISSION DU JOUR
   ===================================================================== */
.mission-section {
    max-width: 720px;
    margin: 56px auto 0;
    padding: 0 16px;
}
.mission-card {
    position: relative;
    background: var(--card);
    border: 2.5px solid var(--border);
    border-radius: 26px;
    box-shadow: 0 6px 0 var(--border);
    padding: 30px 30px 26px;
    text-align: left;
    overflow: visible;
}
.mission-streak {
    position: absolute;
    top: -16px; right: 22px;
    background: var(--text-head);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: 0 4px 0 #0d1b46;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.mission-streak-flame { filter: saturate(1.3); }
.mission-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 8px;
}
.mission-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue-dk);
    background: #eef7fd;
    border: 1.5px solid #c7e4f5;
    border-radius: 999px;
    padding: 5px 14px;
}
.mission-xp {
    font-size: 13px;
    font-weight: 900;
    color: var(--orange-dk);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mission-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    color: var(--text-head);
    margin: 8px 0 4px;
    letter-spacing: -.02em;
    line-height: 1.15;
}
.mission-target { color: var(--blue); }
.mission-sub {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 20px;
}
.mission-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mission-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg2);
    border: 2px solid var(--border);
    border-radius: 18px;
    padding: 14px 16px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.mission-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 0 var(--border);
}
.mission-item-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: #eef7fd;
    border: 2px solid #c7e4f5;
    border-radius: 13px;
    font-size: 20px;
}
.mission-item-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.mission-item-label {
    font-weight: 900;
    font-size: 15.5px;
    color: var(--text-head);
}
.mission-item-desc {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}
.mission-item.done .mission-item-label {
    text-decoration: line-through;
    text-decoration-color: var(--text-muted);
    text-decoration-thickness: 2px;
    opacity: .85;
}
.mission-check {
    flex-shrink: 0;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--green);
    color: #fff;
    font-weight: 900;
    font-size: 19px;
    border-radius: 50%;
    box-shadow: 0 3px 0 var(--green-dk);
}
.mission-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.mission-progress-pct { color: var(--green-dk); }
.mission-progress-bar {
    height: 10px;
    background: var(--bg2);
    border: 2px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 18px;
}
.mission-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue), var(--green));
    border-radius: 999px;
    transition: width 1.1s cubic-bezier(.22,.61,.36,1);
}
.mission-accomplie {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #fff3cf, #ffe9a8);
    border: 2px solid #f0d27a;
    border-radius: 16px;
    padding: 14px 18px;
    color: var(--text-head);
    font-size: 15px;
    margin-bottom: 18px;
}
.mission-accomplie strong { font-weight: 900; }
.mission-tomorrow { color: var(--orange-dk); font-weight: 800; font-size: 14px; }
.mission-cta {
    display: block;
    text-align: center;
    background: linear-gradient(160deg, #0d1b5e 0%, #0a6fa8 60%, #0891B2 100%);
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    padding: 15px 22px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 5px 0 #0a4a78;
    transition: transform .15s ease, box-shadow .15s ease;
}
.mission-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #0a4a78;
    color: #fff;
}
@media (max-width: 560px) {
    .mission-card { padding: 26px 18px 22px; }
    .mission-streak { right: 14px; }
    .mission-item-desc { display: none; }
}

/* =====================================================================
   2 · TON PARCOURS (6e → Terminale)
   ===================================================================== */
.parcours-section {
    max-width: 1000px;
    margin: 64px auto 0;
    padding: 0 16px;
    text-align: center;
}
.parcours-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--orange-dk);
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: 5px 16px;
    margin-bottom: 14px;
}
.parcours-title {
    font-size: clamp(1.7rem, 4.4vw, 2.7rem);
    font-weight: 900;
    color: var(--text-head);
    margin: 0 0 8px;
    letter-spacing: -.02em;
}
.parcours-title-italic {
    color: var(--blue);
    font-style: italic;
}
.parcours-sub {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15.5px;
    margin: 0 0 36px;
}

/* Timeline */
.parcours-timeline { position: relative; margin-bottom: 30px; }
.parcours-zones {
    display: flex;
    justify-content: space-between;
    max-width: 880px;
    margin: 0 auto 8px;
    padding: 0 10px;
}
.parcours-zone-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.parcours-zone-college { color: var(--blue-dk); }
.parcours-zone-lycee   { color: var(--orange-dk); margin-right: 9%; }

.parcours-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 10px;
}
.parcours-line {
    position: absolute;
    top: 28px; left: 6%; right: 6%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 55%, var(--orange) 55%, var(--orange) 100%);
    border-radius: 3px;
    z-index: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.1s cubic-bezier(.22,.61,.36,1);
}
.parcours-section.in .parcours-line {
    transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
    .parcours-line { transform: scaleX(1); transition: none; }
}
.parcours-node {
    position: relative;
    z-index: 1;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    padding: 0;
}
.parcours-node-dot {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: var(--card);
    border: 3px solid var(--border);
    border-radius: 50%;
    font-weight: 900;
    font-size: 16px;
    color: var(--text-head);
    box-shadow: 0 4px 0 var(--border);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease,
                border-color .2s ease, color .2s ease;
}
.parcours-node-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-muted);
    transition: color .2s ease;
}
.parcours-node:hover .parcours-node-dot {
    transform: translateY(-3px);
    border-color: var(--blue);
    box-shadow: 0 7px 0 var(--blue-dk);
}
.parcours-node.active .parcours-node-dot {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 4px 0 var(--blue-dk);
}
.parcours-node.active .parcours-node-name {
    color: var(--text-head);
    font-weight: 900;
}

/* Panneau d'info niveau */
.parcours-panel {
    background: var(--card);
    border: 2.5px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 6px 0 var(--border);
    padding: 26px 30px;
    text-align: left;
    max-width: 880px;
    margin: 0 auto;
}
.parcours-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.parcours-panel-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue-dk);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.parcours-panel-stats { display: flex; gap: 12px; }
.parcours-stat {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--bg2);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 8px 14px;
}
.parcours-stat-icon { font-size: 17px; }
.parcours-stat-num { font-weight: 900; color: var(--text-head); font-size: 18px; }
.parcours-stat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
}
.parcours-panel-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 900;
    color: var(--text-head);
    margin: 4px 0 0;
    letter-spacing: -.02em;
}
.parcours-panel-prefix {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.parcours-panel-divider {
    border: none;
    border-top: 2px dashed var(--border);
    margin: 18px 0;
}
.parcours-panel-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.parcours-panel-official {
    font-size: 14px;
    font-weight: 700;
    color: var(--green-dk);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.parcours-panel-cta {
    background: linear-gradient(135deg, var(--blue), var(--blue-dk));
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    padding: 13px 24px;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 5px 0 var(--blue-dk);
    transition: transform .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}
.parcours-panel-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #145a8c;
    color: #fff;
}
@media (max-width: 720px) {
    .parcours-node-dot { width: 46px; height: 46px; font-size: 13px; }
    .parcours-line { top: 23px; }
    .parcours-node-name { font-size: 10.5px; }
    .parcours-zone-lycee { margin-right: 6%; }
    .parcours-panel { padding: 22px 20px; }
    .parcours-panel-foot { flex-direction: column; align-items: stretch; }
    .parcours-panel-cta { text-align: center; }
}
@media (max-width: 480px) {
    .parcours-node-name { display: none; }
    .parcours-node-dot { width: 40px; height: 40px; font-size: 12px; }
    .parcours-zones { display: none; }
}

/* =====================================================================
   3 · AVANTAGES (Pourquoi MathsPrime)
   ===================================================================== */
.avantages-section {
    max-width: 1000px;
    margin: 64px auto 0;
    padding: 0 16px;
    text-align: center;
}
.avantages-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--orange-dk);
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: 5px 16px;
    margin-bottom: 14px;
}
.avantages-title {
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    font-weight: 900;
    color: var(--text-head);
    margin: 0 0 34px;
    letter-spacing: -.02em;
}
.avantages-title span { color: var(--orange); }
.avantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    text-align: left;
}
.avantage-card {
    border-radius: 22px;
    padding: 26px 26px 22px;
    border: 2.5px solid var(--border);
    box-shadow: 0 5px 0 var(--border);
    transition: transform .22s ease, box-shadow .22s ease;
    display: flex;
    flex-direction: column;
}
.avantage-card:hover { transform: translateY(-5px); box-shadow: 0 10px 0 var(--border); }
.av-blue   { background: #eef6fd; border-color: #c7e4f5; box-shadow: 0 5px 0 #c7e4f5; }
.av-blue:hover   { box-shadow: 0 10px 0 #c7e4f5; }
.av-green  { background: #eafbf0; border-color: #bce8cd; box-shadow: 0 5px 0 #bce8cd; }
.av-green:hover  { box-shadow: 0 10px 0 #bce8cd; }
.av-orange { background: #fff5e0; border-color: #f0d8a6; box-shadow: 0 5px 0 #f0d8a6; }
.av-orange:hover { box-shadow: 0 10px 0 #f0d8a6; }
.avantage-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.avantage-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    font-size: 22px;
    background: var(--card);
    box-shadow: 0 3px 0 rgba(80,60,30,.12);
}
.av-blue   .avantage-icon { background: var(--blue);   box-shadow: 0 3px 0 var(--blue-dk); }
.av-green  .avantage-icon { background: var(--green);  box-shadow: 0 3px 0 var(--green-dk); }
.av-orange .avantage-icon { background: var(--orange); box-shadow: 0 3px 0 var(--orange-dk); }
.avantage-num {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--text-muted);
}
.avantage-label {
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 900;
    color: var(--text-head);
    margin: 0 0 8px;
    letter-spacing: -.015em;
    line-height: 1.2;
}
.avantage-text {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.avantage-divider {
    border: none;
    border-top: 2px dashed var(--border);
    margin: 18px 0 14px;
}
.avantage-foot {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-head);
}
.av-blue   .avantage-foot { color: var(--blue-dk); }
.av-green  .avantage-foot { color: var(--green-dk); }
.av-orange .avantage-foot { color: var(--orange-dk); }
@media (max-width: 680px) {
    .avantages-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   4 · CONSEIL DU PROF (court) + POUR LES PARENTS
   ===================================================================== */
.parents-section {
    max-width: 1060px;
    margin: 64px auto 50px;
    padding: 0 16px;
}
.parents-wrap {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 28px;
    align-items: stretch;
    text-align: left;
}

/* Carte citation prof */
.conseil-quote-card {
    position: relative;
    background:
        linear-gradient(var(--card), var(--card)) padding-box,
        repeating-linear-gradient(0deg, transparent, transparent 23px, #eef0f4 23px, #eef0f4 24px) padding-box;
    border: 2.5px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 6px 0 var(--border);
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
}
.conseil-quote-eyebrow {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--orange-dk);
    background: linear-gradient(135deg, #fff3cf, #ffe9a8);
    border: 1.5px solid #f0d27a;
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 20px;
}
.conseil-quote-text {
    font-size: clamp(1.15rem, 2.6vw, 1.5rem);
    font-weight: 700;
    font-style: italic;
    color: var(--text-head);
    line-height: 1.45;
    margin: 0 0 auto;
}
.conseil-quote-sig {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 2px dashed var(--border);
}
.conseil-quote-avatar {
    width: 46px; height: 46px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    border-radius: 14px;
    box-shadow: 0 3px 0 var(--blue-dk);
}
.conseil-quote-name { font-weight: 900; color: var(--text-head); font-size: 16px; }
.conseil-quote-role { font-size: 13px; font-weight: 600; color: var(--text-muted); }

/* Colonne pour les parents */
.parents-content { display: flex; flex-direction: column; }
.parents-eyebrow {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue-dk);
    background: #eef7fd;
    border: 1.5px solid #c7e4f5;
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: 14px;
}
.parents-title {
    font-size: clamp(1.5rem, 3.4vw, 2.05rem);
    font-weight: 900;
    color: var(--text-head);
    line-height: 1.2;
    letter-spacing: -.02em;
    margin: 0 0 14px;
}
.parents-blue  { color: var(--blue); }
.parents-green { color: var(--green-dk); }
.parents-sub {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 20px;
}
.parents-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.parents-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 4px 0 var(--border);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.parents-item:hover {
    transform: translateY(-3px);
    border-color: #bce8cd;
    box-shadow: 0 7px 0 #bce8cd;
}
.parents-item-icon {
    flex-shrink: 0;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: #eafbf0;
    border: 2px solid #bce8cd;
    border-radius: 12px;
    font-size: 18px;
}
.parents-item-label { font-weight: 900; color: var(--text-head); font-size: 15.5px; }
.parents-item-desc  { font-size: 13.5px; font-weight: 600; color: var(--text-muted); }
@media (max-width: 820px) {
    .parents-wrap { grid-template-columns: 1fr; gap: 22px; }
}

/* ===== Photo M.Rolet dans la citation conseil ===== */
.conseil-quote-avatar-img {
    width: 46px; height: 46px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f0c040;
    box-shadow: 0 3px 0 var(--orange-dk);
}

/* =====================================================================
   5 · LE PROFESSEUR (présentation)
   ===================================================================== */
.prof-section {
    max-width: 1060px;
    margin: 64px auto 0;
    padding: 0 16px;
}
.prof-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--card);
    border: 2.5px solid var(--border);
    border-radius: 26px;
    box-shadow: 0 6px 0 var(--border);
    padding: 30px 34px;
    text-align: left;
}
.prof-photo {
    width: 130px; height: 130px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--blue);
    box-shadow: 0 4px 0 var(--blue-dk);
}
.prof-content { flex: 1; }
.prof-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue-dk);
    background: #eef7fd;
    border: 1.5px solid #c7e4f5;
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: 12px;
}
.prof-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--text-head);
    margin: 0 0 12px;
    letter-spacing: -.02em;
    line-height: 1.15;
}
.prof-title-italic { color: var(--blue); font-style: italic; }
.prof-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}
.prof-cta {
    flex-shrink: 0;
    align-self: center;
    background: linear-gradient(135deg, var(--blue), var(--blue-dk));
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    padding: 14px 26px;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 5px 0 var(--blue-dk);
    transition: transform .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}
.prof-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #145a8c;
    color: #fff;
}
@media (max-width: 820px) {
    .prof-card { flex-direction: column; text-align: center; gap: 20px; padding: 28px 22px; }
    .prof-eyebrow { align-self: center; }
    .prof-cta { align-self: stretch; text-align: center; }
}
