/* Styles communs pages profil — Mon Lycée */
@font-face{font-family:'Onest';src:url('../fonts/onest.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap;}

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --rouge:      #DD2628;
      --noir:       #0A0A0A;
      --blanc:      #ffffff;
      --gris:       #E5E5E5;
      --gris-mid:   #F7F7F7;
      --texte-sec:  #6E6E73;
      --texte:      #0A0A0A;
      --jaune:      #FFEC00;
      --header-h:   74px;
    }
    @media (min-width: 768px) { :root { --header-h: 68px; } }

    /* ─── BASE ─── */
    html, body {
      font-family: 'Onest', system-ui, sans-serif;
      color: var(--noir); background: var(--gris);
      -webkit-text-size-adjust: 100%;
    }

    /* ─── APP SHELL (JS uniquement) ─── */
    html.js body {
      height: 100%; overflow: hidden;
    }

    /* ─── HEADER (toujours visible) ─── */
    .site-header {
      position: fixed; top: 0; left: 0; right: 0;
      z-index: 600; height: var(--header-h);
      background: var(--blanc); border-bottom: 1px solid #E5E5E5;
    }
    .header-inner {
      height: 100%; display: flex; align-items: center;
      justify-content: space-between; gap: 16px;
      max-width: 1080px; margin: 0 auto; padding: 0 20px;
    }
    .header-logo { display: flex; align-items: center; }
    .header-logo img { height: 44px; width: auto; display: block; }
    @media (min-width: 768px) { .header-logo img { height: 52px; } }
    .header-actions { display: flex; align-items: center; gap: 8px; }
    .btn-menu {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 12px 18px; background: #E5E5E5; color: var(--noir);
      border: none; border-radius: 14px;
      font-size: .875rem; font-weight: 700; text-decoration: none;
    }
    .btn-menu svg { width: 15px; height: 15px; stroke: var(--noir); fill: none; stroke-width: 2; stroke-linecap: round; }

    /* ─── VIEWS (sous le header) ─── */
    html.js .view {
      position: fixed;
      top: calc(var(--header-h) + 48px); left: 0; right: 0; bottom: 0;
      transition: top .32s cubic-bezier(.4,0,.2,1);
    }
    html.js .view.nav-up { top: var(--header-h); }

    /* ─── NO-JS : tout en scroll linéaire ─── */
    html.no-js .site-header { position: static; }
    html.no-js .panel { display: block !important; }
    html.no-js #section-view { transform: none !important; position: static !important; }
    html.no-js .section-nav { position: static; transform: none !important; }
    html.no-js #home-view { overflow: visible; }
    html.no-js .sticky-bar, html.no-js .desktop-bar { display: none; }

    /* ════════════════════════════
       VUE ACCUEIL
    ════════════════════════════ */
    #home-view {
      background: #ffffff;
      display: flex; flex-direction: column;
    }
    html.js #home-view {
      overflow-y: auto; -webkit-overflow-scrolling: touch;
      transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .35s;
    }
    html.js #home-view.exit {
      transform: translateX(-22%) scale(.97);
      opacity: .55;
      pointer-events: none;
    }

    .home-body {
      flex: 1; display: flex; flex-direction: column; justify-content: center;
      padding: 40px 28px 0;
      width: 100%; max-width: 760px; margin: 0 auto;
    }
    .home-eyebrow {
      font-size: .6rem; font-weight: 800; letter-spacing: .14em;
      text-transform: uppercase; color: var(--rouge); margin-bottom: 16px;
    }
    .home-body h1 {
      font-size: clamp(2rem, 7vw, 2.8rem);
      font-weight: 900; line-height: 1.15; letter-spacing: -.03em;
      color: var(--noir); margin-bottom: 16px;
    }
    .home-body h1 span { color: var(--rouge); }
    .home-sub {
      max-width: 1080px;
      font-size: .95rem; line-height: 1.75; color: #555;
       margin-bottom: 20px;
    }
    .home-badge {
      display: inline-flex; align-items: center;
      font-size: .62rem; font-weight: 800; letter-spacing: .09em;
      text-transform: uppercase; background: #0A0A0A;
      color: #ffffff; border-radius: 99px; padding: 6px 14px; width: fit-content;
      margin-top: 8px; margin-bottom: 8px;
    }

    .home-chips {
      display: flex; flex-direction: column;
      gap: 10px;
      max-width: 760px; margin: 0 auto;
      padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
      width: 100%; 
    }
    .home-chip {
      display: flex; align-items: center; gap: 14px;
      border-radius: 16px; padding: 16px 16px;
      cursor: pointer; text-decoration: none;
      border: none; background: none;
      transition: transform .12s, opacity .15s;
      -webkit-tap-highlight-color: transparent;
      font-family: 'Onest', system-ui, sans-serif;
    }
    .home-chip:active { transform: scale(.96); opacity: .85; }
    .chip-icon {
      flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px;
      display: flex; align-items: center; justify-content: center;
    }
    .chip-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .chip-text { flex: 1; text-align: left; min-width: 0; }
    .chip-text strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--noir); line-height: 1.2; margin-bottom: 3px; }
    .chip-text span { font-size: .875rem; color: var(--texte-sec); font-weight: 500; line-height: 1.3; }
    /* Couleurs par chip — fond blanc, icône rouge */
    .chip--blue,
    .chip--green,
    .chip--amber,
    .chip--purple { background: var(--blanc); }
    .chip--blue   .chip-icon,
    .chip--green  .chip-icon,
    .chip--amber  .chip-icon,
    .chip--purple .chip-icon { background: var(--rouge); }

    /* ════════════════════════════
       VUE SECTION
    ════════════════════════════ */
    #section-view {
      display: flex; flex-direction: column;
      background: #F7F7F7;
      z-index: 500;
    }
    html.js #section-view {
      transform: translateX(100%);
      transition: transform .4s cubic-bezier(.4,0,.2,1);
    }
    html.js #section-view.active { transform: translateX(0); }

    .section-nav {
      position: fixed; top: var(--header-h); left: 0; right: 0;
      z-index: 599;
      display: flex; align-items: stretch; justify-content: center;
      height: 48px; background: var(--blanc);
      border-bottom: 1px solid var(--gris-mid);
      transition: transform .32s cubic-bezier(.4,0,.2,1);
    }
    .section-nav.nav-hidden { transform: translateX(-100%); }
    .section-nav .tabs-scroll { max-width: 1080px; width: 100%; }
    .back-btn {
      flex-shrink: 0; padding: 0 12px;
      display: flex; align-items: center; justify-content: center;
      background: none; border: none; border-bottom: 2px solid var(--rouge);
      cursor: pointer; color: var(--rouge);
      font-family: 'Onest', system-ui, sans-serif;
      font-size: .775rem; font-weight: 900;
      white-space: nowrap;
      -webkit-tap-highlight-color: transparent;
      transition: color .15s, border-color .15s;
    }
    .back-btn.inactive { color: var(--texte-sec); border-bottom-color: transparent; font-weight: 700; }
    .tabs-scroll {
      flex: 1; display: flex;
      overflow-x: auto; -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .tabs-scroll::-webkit-scrollbar { display: none; }
    .sec-tab {
      flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-family: 'Onest', system-ui, sans-serif;
      font-size: .82rem; font-weight: 700;
      white-space: nowrap; padding: 0 16px;
      border: none; border-bottom: 2px solid transparent;
      background: none; cursor: pointer; color: var(--texte-sec);
      transition: color .15s, border-color .15s;
      -webkit-tap-highlight-color: transparent;
    }
    .sec-tab.active { color: var(--rouge); border-bottom: 3px solid var(--rouge); font-weight: 900; }

    .panels-container {
      flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
      background: transparent;
      padding-bottom: 80px;
    }
    @media (min-width: 640px) { .panels-container { padding-bottom: 88px; } }

    html.js .panel { display: none; }
    html.js .panel.active { display: block; animation: panelIn .22s ease both; }
    @keyframes panelIn {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ════════════════════════════
       CONTENU DES PANNEAUX
    ════════════════════════════ */
    .panel-inner {

      max-width: 760px; margin: 0 auto;
      padding: 28px 24px calc(40px + env(safe-area-inset-bottom));
    }
    @media (max-width: 639px) {
      .panel-inner { padding: 28px 24px calc(40px + env(safe-area-inset-bottom)); }
      .btn-menu { padding: 8px 14px; }
      .btn-menu svg { display: none; }
    }
    @media (min-width: 640px) {
      .panel-inner { padding-top: 48px; }
    }

    .section-eyebrow {
      display: block; font-size: .58rem; font-weight: 800; letter-spacing: .12em;
      text-transform: uppercase; color: var(--rouge); margin-bottom: 8px;
    }
    .section-h2 {
      font-size: clamp(1.5rem, 5vw, 2rem);
      font-weight: 900; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 8px;
    }
    .section-lead {
      font-size: .95rem; line-height: 1.75; color: #555; margin-bottom: 32px;
    }

    /* ─── ACCORDÉON CARDS FLOTTANTES ─── */
    .accordion { display: flex; flex-direction: column; gap: 10px; }
    .acc-item {
      background: #FAFAFA;
      border-radius: 16px; overflow: hidden;
      transition: transform .2s;
    }
    .acc-item.open { background: #FAFAFA; transform: scale(1.01); }
    .acc-trigger {
      width: 100%; display: flex; align-items: center; justify-content: space-between;
      gap: 12px; padding: 16px 18px;
      background: transparent; border: none; cursor: pointer;
      font-family: 'Onest', system-ui, sans-serif;
      text-align: left; -webkit-tap-highlight-color: transparent;
    }
    /* Titre ouvert : rectangle rouge arrondi */
    .acc-item.open .acc-trigger {
      background: var(--rouge);
      border-radius: 12px;
      margin: 6px 6px 0;
      width: calc(100% - 12px);
      padding: 12px 14px;
    }
    .acc-ic {
      flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
      background: var(--rouge);
      display: flex; align-items: center; justify-content: center;
      transition: background .25s;
    }
    .acc-ic svg { display: block; width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .acc-item.open .acc-ic { background: rgba(255,255,255,.25); }
    .acc-label { flex: 1; font-size: 1.0rem; font-weight: 700; color: var(--noir); transition: color .25s; }
    .acc-item.open .acc-label { color: #fff; }
    .acc-chevron { flex-shrink: 0; transition: transform .25s cubic-bezier(.4,0,.2,1); }
    .acc-chevron svg { display: block; width: 16px; height: 16px; stroke: var(--texte-sec); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
    .acc-item.open .acc-chevron svg { stroke: rgba(255,255,255,.8); }
    .acc-item.open .acc-chevron { transform: rotate(180deg); }
    .acc-body { overflow: hidden; max-height: 0; transition: max-height .35s cubic-bezier(.4,0,.2,1); }
    .acc-body-inner {
      padding: 14px 18px 18px 18px;
      font-size: .875rem; line-height: 1.75; color: var(--noir);
    }

    /* ─── MODULES THÉMATIQUES : fond rouge par défaut ─── */
    #accordion-modules .acc-item { background: #fff; }
    #accordion-modules .acc-item.open { background: #fff; transform: scale(1.01); }
    #accordion-modules .acc-item.open .acc-label { color: #fff; }
    #accordion-modules .acc-label { color: var(--noir); }
    #accordion-modules .acc-ic { background: var(--rouge); }
    #accordion-modules .acc-chevron svg { stroke: var(--texte-sec); }
    #accordion-modules .acc-item.open .acc-chevron svg { stroke: rgba(255,255,255,.8); }
    #accordion-modules .acc-item.open .acc-ic { background: rgba(255,255,255,.25); }

    /* ─── PROGRAMME ─── */
    .prog-bg { background: transparent; min-height: 100%; }
    .prog-bg .matieres-grid { margin-bottom: 24px; }
    .prog-bg .home-badge + * { margin-top: 12px; }
    .prog-bg .home-badge:not(:first-of-type) { margin-top: 28px; }
    .matieres-label {
      display: block; font-size: .6rem; font-weight: 800; letter-spacing: .09em;
      text-transform: uppercase; color: var(--texte-sec); margin-bottom: 10px; margin-top: 24px;
    }
    .matieres-label:first-of-type { margin-top: 0; }
    .matieres-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 4px; }
    .matieres-grid--full { grid-template-columns: 1fr; }
    .mat-card {
      display: flex; align-items: center; gap: 10px;
      padding: 12px 13px; border-radius: 16px;
      background: var(--blanc);
    }
    .mat-ic {
      flex-shrink: 0; width: 36px; height: 36px; border-radius: 11px;
      display: flex; align-items: center; justify-content: center;
    }
    .mat-ic svg { width: 17px; height: 17px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .mat-name { font-size: .8rem; font-weight: 800; line-height: 1.2; }
    /* Couleurs par matière */
    .mat-blue   { background: #E8F0FF; } .mat-blue   svg { stroke: #3A6FD8; }
    .mat-green  { background: #E4F5EC; } .mat-green  svg { stroke: #2D9A5F; }
    .mat-purple { background: #EFE8FF; } .mat-purple svg { stroke: #7B4FD8; }
    .mat-orange { background: #FFF0E4; } .mat-orange svg { stroke: #D87030; }
    .mat-yellow { background: #FFF8DC; } .mat-yellow svg { stroke: #C09000; }
    .mat-teal   { background: #E4F4F5; } .mat-teal   svg { stroke: #1A8A8A; }
    .mat-rouge  { background: var(--rouge); } .mat-rouge svg { stroke: #fff; }
    /* Carte modules thématiques : fond rouge, texte et icône blancs */
    .mat-card--rouge { background: var(--rouge); }
    .mat-card--rouge .mat-name { color: #fff; }
    .mat-card--rouge .mat-ic { background: rgba(255,255,255,.2); }
    .mat-card--rouge .mat-ic svg { stroke: #fff; }
    .modules-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
    .module-card {
      background: var(--blanc); border-radius: 14px; padding: 14px 16px;
      border: 1px solid var(--gris-mid);
      display: flex; align-items: flex-start; gap: 14px;
    }
    .mod-icon {
      flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px;
      background: rgba(221,38,40,.08); display: flex; align-items: center; justify-content: center;
    }
    .mod-icon svg { width: 17px; height: 17px; stroke: var(--rouge); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .mod-text { flex: 1; }
    .module-card h4 { font-size: .875rem; font-weight: 800; margin-bottom: 4px; }
    .module-card p  { font-size: .775rem; line-height: 1.6; color: var(--texte-sec); }

    /* ─── PLANNING ─────────────────────────────────────────────
       Échelle : 1h = 60px, base 8h30 = 0px
       Formule top    : (heure - 8.5) × 60  + décalage 2px
       Formule height : durée_en_heures × 60
       Exemples :
         8h30 → top: 2px
         12h30 (4h après 8h30) → top: 4×60+2 = 242px → on pose 200px (échelle compressée volontairement)
         14h00 (5.5h) → top: 275px
         15h30 (7h)   → top: 350px
         Tronc 4h     → height: 196px
         Bloc 1h30    → height: 73px
         Clubs 3h     → height: 148px (3 × 49px)
       ─────────────────────────────────────────────────────── */
    .cal-days-nav {
      display: grid; grid-template-columns: repeat(5, 1fr);
      gap: 4px; margin-bottom: 20px;
      background: var(--gris-mid); border-radius: 14px; padding: 4px;
    }
    .cal-day-btn {
      display: flex; align-items: center; justify-content: center;
      padding: 9px 4px; border-radius: 10px; border: none;
      background: transparent; cursor: pointer;
      font-family: 'Onest', system-ui, sans-serif;
      font-size: .82rem; font-weight: 700; color: var(--texte-sec);
      transition: background .15s, color .15s;
      -webkit-tap-highlight-color: transparent;
    }
    .cal-day-btn.active { background: var(--rouge); color: #fff; }
    .cal-day-panel { display: none; }
    .cal-day-panel.active { display: block; }

    /* Calendrier jour mobile */
    .cal-body { display: flex; gap: 0; }
    .cal-times { display: none; }
    .cal-time {
      position: absolute; right: 8px;
      font-size: .6rem; font-weight: 600; color: var(--texte-sec);
      transform: translateY(-50%); white-space: nowrap;
    }
    .cal-grid {
      flex: 1; position: relative; height: 425px;
    }
    .cal-line { display: none; }
    .cal-evt {
      position: absolute; left: 6px; right: 5px;
      border-radius: 10px; padding: 8px 10px; overflow: hidden;
      border-left-width: 3px; border-left-style: solid;
      cursor: pointer; -webkit-tap-highlight-color: transparent;
      transition: filter .15s;
    }
    .cal-evt:active { filter: brightness(.93); }
    .cal-evt::after {
      content: '▸';
      position: absolute; top: 7px; right: 8px;
      width: 20px; height: 20px; border-radius: 6px;
      font-family: system-ui, sans-serif; font-size: .75rem; font-style: normal; font-weight: 900;
      display: flex; align-items: center; justify-content: center;
      line-height: 20px; text-align: center;
    }
    .cal-evt--cours::after   { background: rgba(59,111,232,.15);  color: #3B6FE8; }
    .cal-evt--pause::after   { background: rgba(110,110,115,.12); color: var(--texte-sec); }
    .cal-evt--modules::after { background: rgba(217,115,22,.15);  color: #D97316; }
    .cal-evt--clubs::after   { background: rgba(22,163,74,.15);   color: #16A34A; }
    .cal-evt--etude::after   { background: rgba(147,51,234,.15);  color: #9333EA; }
    .cal-evt-name { font-size: .875rem; font-weight: 800; line-height: 1.2; }
    .cal-evt-time { font-size: .75rem; color: var(--texte-sec); margin-top: 3px; font-weight: 600; }
    .cal-evt-hint { font-size: .62rem; font-weight: 600; margin-top: 5px; opacity: .55; }
    .cal-evt--cours   .cal-evt-hint { color: #3B6FE8; }
    .cal-evt--pause   .cal-evt-hint { color: var(--texte-sec); }
    .cal-evt--modules .cal-evt-hint { color: #D97316; }
    .cal-evt--clubs   .cal-evt-hint { color: #16A34A; }
    .cal-evt--etude   .cal-evt-hint { color: #9333EA; }
    .cal-evt--cours   { background: rgba(59,130,246,.10); border-left-color: #3B6FE8; }
    .cal-evt--cours   .cal-evt-name { color: #3B6FE8; }
    .cal-evt--pause   { background: var(--blanc); border-left-color: var(--gris-mid); }
    .cal-evt--pause   .cal-evt-name { color: var(--texte-sec); }
    .cal-evt--modules { background: rgba(249,115,22,.11); border-left-color: #D97316; }
    .cal-evt--modules .cal-evt-name { color: #D97316; }
    .cal-evt--clubs   { background: rgba(22,163,74,.11); border-left-color: #16A34A; }
    .cal-evt--clubs   .cal-evt-name { color: #16A34A; }
    .cal-evt--etude   { background: rgba(147,51,234,.11); border-left-color: #9333EA; }
    .cal-evt--etude   .cal-evt-name { color: #9333EA; }

    /* ─── VIDEO LITE ─── */
    .video-lite {
      position: relative; border-radius: 20px; overflow: hidden;
      background: var(--noir); cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      margin-top: 20px;
    }
    .video-lite img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: .85; }
    .video-lite iframe { display: block; width: 100%; aspect-ratio: 16/9; border: none; }
    .video-lite__play {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      border: none; background: none; cursor: pointer;
    }
    .video-lite__play-btn {
      width: 56px; height: 56px; border-radius: 50%;
      background: rgba(255,255,255,.95);
      display: flex; align-items: center; justify-content: center;
      transition: transform .15s, background .15s;
    }
    .video-lite:hover .video-lite__play-btn { transform: scale(1.08); }
    .video-lite__play-btn svg { width: 22px; height: 22px; fill: var(--rouge); margin-left: 3px; }
    .video-lite__label {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 14px 16px;
      background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
    }
    .video-lite__label strong { display: block; font-size: .85rem; font-weight: 800; color: #fff; }
    .video-lite__label span { font-size: .72rem; color: rgba(255,255,255,.7); font-weight: 500; }

    /* ─── POPUP CALENDRIER ─── */
    .cal-overlay {
      display: none; position: fixed; inset: 0; z-index: 900;
      background: rgba(0,0,0,.40);
      -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
      align-items: flex-end;
    }
    .cal-overlay.open { display: flex; }
    .cal-sheet {
      width: 100%; background: var(--blanc);
      border-radius: 22px 22px 0 0;
      padding: 8px 24px calc(32px + env(safe-area-inset-bottom));
      animation: sheetUp .28s cubic-bezier(.4,0,.2,1);
    }
    @keyframes sheetUp {
      from { transform: translateY(100%); }
      to   { transform: translateY(0); }
    }
    .cal-sheet-handle {
      width: 36px; height: 4px; border-radius: 2px;
      background: var(--gris-mid); margin: 12px auto 20px;
    }
    .cal-sheet-header { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
    .cal-sheet-dot { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
    .cal-sheet-title { font-size: 1.15rem; font-weight: 900; color: var(--noir); }
    .cal-sheet-time { font-size: .78rem; color: var(--texte-sec); font-weight: 500; margin-bottom: 16px; padding-left: 26px; }
    .cal-sheet-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .cal-sheet-list li {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: .875rem; line-height: 1.65; color: var(--noir);
    }
    .cal-sheet-list li::before {
      content: ''; flex-shrink: 0; width: 6px; height: 6px;
      border-radius: 50%; margin-top: 7px;
      background: var(--c, var(--texte-sec));
    }

    .vac-label {
      display: block; font-size: .6rem; font-weight: 800; letter-spacing: .10em;
      text-transform: uppercase; color: var(--texte-sec); margin: 22px 0 10px;
    }
    .amenag-btn {
      display: flex; align-items: center; gap: 10px;
      width: 100%; margin-top: 20px; margin-bottom: 4px;
      background: var(--blanc); border: 1.5px solid var(--gris);
      border-radius: 14px; padding: 13px 14px;
      cursor: pointer; font-family: 'Onest', system-ui, sans-serif;
      text-align: left;
      transition: background .15s, border-color .15s;
    }
    .amenag-btn:active { background: var(--gris-mid); }
    .amenag-btn-ic {
      flex-shrink: 0; width: 36px; height: 36px;
      background: rgba(221,38,40,.1); border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      color: var(--rouge);
    }
    .amenag-btn-label { flex: 1; font-size: .875rem; font-weight: 700; color: var(--noir); }
    .amenag-btn-arrow { flex-shrink: 0; color: var(--texte-sec); }

    .vac-list { display: flex; flex-direction: column; gap: 7px; }
    .vac-item {
      display: flex; align-items: center; gap: 14px;
      background: var(--blanc); border-radius: 14px; padding: 13px 16px;
    }
    .vac-dot {
      flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%;
    }
    .vac-dot--rentree { background: var(--rouge); }
    .vac-dot--vac     { background: var(--jaune); border: 1.5px solid #DFC400; }
    .vac-info { flex: 1; min-width: 0; }
    .vac-period { font-size: .82rem; font-weight: 800; color: var(--noir); }
    .vac-dates  { font-size: .73rem; color: var(--texte-sec); font-weight: 500; margin-top: 2px; }
    .vac-dur {
      flex-shrink: 0; font-size: .65rem; font-weight: 800;
      color: var(--texte-sec); background: var(--gris); border-radius: 99px; padding: 3px 9px;
    }
    .vac-dur--rentree { background: rgba(221,38,40,.10); color: var(--rouge); }

    /* ─── TARIF ─── */
    .tarif-bg { background: transparent; min-height: 100%; }

    .tarif-toggle-wrap {
      display: flex;
      justify-content: center;
      background: var(--gris);
      border-radius: 40px;
      padding: 4px;
      width: fit-content;
      margin: 0 auto 24px;
      gap: 2px;
    }
    .tarif-toggle-btn {
      padding: 8px 22px;
      border: none; border-radius: 36px;
      font-size: .85rem; font-weight: 700;
      cursor: pointer; background: transparent;
      color: var(--texte); transition: background .15s, color .15s, box-shadow .15s;
      font-family: inherit;
    }
    .tarif-toggle-btn.active {
      background: var(--blanc);
      box-shadow: 0 2px 6px rgba(0,0,0,.12);
      color: var(--texte);
    }

    .tarif-card {
      background: var(--gris); border: 1px solid var(--gris-mid);
      border-radius: 20px; overflow: hidden; margin-bottom: 14px;
    }
    .tarif-top { background: var(--rouge); padding: 28px 24px 20px; }
    .tarif-label {
      display: block; font-size: .6rem; font-weight: 800; letter-spacing: .1em;
      text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 10px;
    }
    .tarif-price {
      font-size: 3.4rem; font-weight: 900; color: var(--blanc);
      letter-spacing: -.06em; line-height: 1; margin-bottom: 4px;
    }
    .tarif-price sup { font-size: 1.5rem; font-weight: 700; vertical-align: super; letter-spacing: 0; }
    .tarif-price sub { font-size: .95rem; font-weight: 500; opacity: .7; vertical-align: baseline; letter-spacing: 0; }
    .tarif-annuel { font-size: .75rem; color: rgba(255,255,255,.55); margin-top: 4px; }
    .tarif-rows { padding: 8px 0; background: var(--blanc); border-radius: 0 0 16px 16px; }
    .tarif-row {
      display: flex; align-items: center; gap: 12px;
      padding: 11px 18px;
      font-size: .85rem; color: var(--noir);
    }
    .tarif-row:last-child { border-bottom: none; }
    .tarif-check {
      width: 20px; height: 20px; border-radius: 50%;
      background: rgba(221,38,40,.1); flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
    }
    .tarif-check svg { width: 9px; height: 9px; stroke: var(--rouge); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

    .paiement-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 14px; }
    .paiement-opt {
      background: var(--blanc); border: 1.5px solid var(--gris-mid);
      border-radius: 14px; padding: 14px 10px; text-align: center;
    }
    .paiement-opt.recommended { border-color: var(--rouge); }
    .p-label { display: block; font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-sec); margin-bottom: 6px; }
    .p-price { font-size: .95rem; font-weight: 900; color: var(--noir); letter-spacing: -.02em; }
    .p-unit  { display: block; font-size: .58rem; color: var(--texte-sec); margin-top: 2px; }
    .p-badge { display: inline-block; font-size: .54rem; font-weight: 800; background: var(--rouge); color: var(--blanc); border-radius: 99px; padding: 2px 7px; margin-top: 4px; }

    .fratrie-card {
      background: var(--blanc); border: 1px solid var(--gris-mid);
      border-radius: 18px; padding: 18px; margin-bottom: 20px;
    }
    .fratrie-title { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rouge); margin-bottom: 12px; }
    .fratrie-rows { display: flex; flex-direction: column; gap: 8px; }
    .fratrie-row { display: flex; justify-content: space-between; align-items: center; }
    .fratrie-row span { font-size: .85rem; color: var(--texte-sec); }
    .fratrie-row strong { font-size: .85rem; font-weight: 800; color: var(--noir); }
    .fratrie-pill { background: rgba(221,38,40,.12); color: var(--rouge); font-size: .72rem; font-weight: 800; border-radius: 99px; padding: 3px 10px; }

    .tarif-cta { display: flex; flex-direction: column; gap: 10px; }
    .btn-jaune-cta {
      display: flex; align-items: center; justify-content: center;
      background: var(--jaune); color: var(--noir); font-size: .95rem; font-weight: 800;
      border-radius: 14px; padding: 15px 22px; text-decoration: none;
      font-family: 'Onest', system-ui, sans-serif; border: none; margin-top: 28px;
      -webkit-tap-highlight-color: transparent;
      transition: transform .15s;
    }
    .btn-jaune-cta:hover { transform: scale(1.04); background: var(--jaune); }
    .btn-rouge {
      display: flex; align-items: center; justify-content: center;
      background: var(--rouge); color: var(--blanc); font-size: .95rem; font-weight: 800;
      border-radius: 14px; padding: 15px 22px; text-decoration: none;
      font-family: 'Onest', system-ui, sans-serif; border: none;
    }
    .btn-outline {
      display: flex; align-items: center; justify-content: center;
      background: transparent; color: var(--texte-sec); font-size: .8rem; font-weight: 600;
      border: 1.5px solid var(--gris-mid); border-radius: 14px; padding: 13px 22px;
      text-decoration: none; font-family: 'Onest', system-ui, sans-serif;
    }
    .tarif-footer { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
    .tarif-footer-item {
      display: flex; align-items: center; gap: 5px;
      font-size: .7rem; color: var(--texte-sec); font-weight: 600;
    }
    .tarif-footer-item::before { content: '✓'; color: var(--rouge); }


    /* ─── ACCUEIL RÉFÉRENT ─── */
    .home-referent {
      padding: 0 20px calc(28px + env(safe-area-inset-bottom));
      width: 100%; 
    }
    .home-ref-photo { border-radius: 18px; overflow: hidden; margin-bottom: 20px; }
    .home-ref-photo img { display: block; width: 100%; height: 200px; object-fit: cover; object-position: center top; }
    .home-ref-title { font-size: 1.15rem; font-weight: 900; color: var(--noir); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 10px; }
    .home-ref-desc { font-size: .875rem; line-height: 1.7; color: var(--texte-sec); margin-bottom: 20px; }
    .home-ref-points { display: flex; flex-direction: column; gap: 10px; }
    .home-ref-point {
      display: flex; align-items: flex-start; gap: 12px;
      background: var(--blanc); border-radius: 14px; padding: 14px 16px;
    }
    .home-ref-point-ic {
      flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px;
      background: rgba(221,38,40,.1);
      display: flex; align-items: center; justify-content: center;
    }
    .home-ref-point-ic svg { width: 15px; height: 15px; fill: none; stroke: var(--rouge); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .home-ref-point-text { flex: 1; }
    .home-ref-point-text strong { display: block; font-size: .875rem; font-weight: 800; color: var(--noir); margin-bottom: 2px; }
    .home-ref-point-text span { font-size: .78rem; color: var(--texte-sec); font-weight: 500; line-height: 1.45; }

    /* ─── HOME NAV LISTE ─── */
    .home-nav {
      padding: 0 16px calc(24px + env(safe-area-inset-bottom));
      width: 100%; max-width: 760px; margin-left: auto; margin-right: auto;
    }
    .home-nav-eyebrow {
      font-size: .6rem; font-weight: 800; letter-spacing: .12em;
      text-transform: uppercase; color: var(--texte-sec);
      padding: 0 4px; margin-bottom: 8px;
    }
    .home-nav-list {
      background: transparent;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }
    .home-nav-card {
      display: flex; align-items: center; gap: 10px;
      padding: 13px 18px;
      border: none;
      border-radius: 999px;
      width: 100%; cursor: pointer;
      font-family: 'Onest', system-ui, sans-serif;
      -webkit-tap-highlight-color: transparent;
      transition: filter .15s, transform .15s, box-shadow .15s;
      text-align: left;
    }
    .home-nav-card:active { transform: scale(.96); }
    .home-nav-card:hover { filter: brightness(.93); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
    .home-nav-ic { display: none; }
    .home-nav-body { flex: 1; min-width: 0; }
    .home-nav-title { font-size: .85rem; font-weight: 700; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .home-nav-sub { display: none; }
    .home-nav-arrow { flex-shrink: 0; opacity: .55; }
    .home-nav-arrow svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

    /* ─── CHIPS FLÈCHE ─── */
    .chip-arrow { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
    .chip-arrow svg { width: 16px; height: 16px; stroke: var(--gris-mid); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

    /* ─── CONTACT SECTION ─── */
    .contact-hero { background: var(--rouge); border-radius: 20px; padding: 22px 20px 24px; margin-bottom: 20px; }
    .contact-hero-eyebrow { font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 8px; }
    .contact-hero h2 { font-size: 1.6rem; font-weight: 900; line-height: 1.1; letter-spacing: -.03em; color: #fff; margin-bottom: 6px; }
    .contact-hero p { font-size: .85rem; color: rgba(255,255,255,.8); line-height: 1.5; }

    .contact-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
    .contact-card {
      display: flex; align-items: center; gap: 16px;
      background: var(--blanc); border-radius: 16px; padding: 18px 20px;
      text-decoration: none; color: var(--noir);
      -webkit-tap-highlight-color: transparent;
      transition: transform .15s;
      border: 1px solid rgba(0,0,0,.05);
    }
    .contact-card:active { transform: scale(.97); }
    .contact-card:hover { transform: scale(1.01); }
    .contact-card-ic {
      flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
      display: flex; align-items: center; justify-content: center;
      background: rgba(221,38,40,.1);
    }
    .contact-card-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--rouge); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
    .contact-card-body { flex: 1; min-width: 0; }
    .contact-card-title { font-size: .95rem; font-weight: 800; color: var(--noir); line-height: 1.2; margin-bottom: 3px; }
    .contact-card-sub { font-size: .78rem; color: var(--texte-sec); font-weight: 500; line-height: 1.4; }
    .contact-card-arrow { flex-shrink: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
    .contact-card-arrow svg { width: 16px; height: 16px; stroke: #C0C0C8; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

    .contact-referent {
      display: flex; align-items: center; gap: 14px;
      background: var(--blanc); border-radius: 18px; padding: 16px;
      margin-bottom: 10px;
    }
    .contact-referent-img {
      width: 64px; height: 64px; border-radius: 50%;
      object-fit: cover; flex-shrink: 0;
    }
    .contact-referent-body { flex: 1; min-width: 0; }
    .contact-referent-name { font-size: .9rem; font-weight: 800; color: var(--noir); margin-bottom: 4px; }
    .contact-referent--header { margin-bottom: 20px; }
    .contact-referent--header .contact-referent-name { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 900; line-height: 1.05; letter-spacing: -.03em; }
    .contact-photo-header { border-radius: 18px; overflow: hidden; margin-bottom: 20px; }
    .contact-photo-header img { display: block; width: 100%; height: 192px; object-fit: cover; object-position: center center; }
    .contact-referent-sub { font-size: .78rem; color: var(--texte-sec); font-weight: 500; line-height: 1.45; }

    .contact-reassurance { background: var(--blanc); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
    .contact-reassurance-item { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--texte-sec); font-weight: 500; }
    .contact-reassurance-item::before { content: '✓'; color: var(--rouge); font-weight: 800; font-size: .85rem; }

    /* ─── QUIZ OVERLAY "Nos classes" ─── */
    .quiz-overlay {
      position: fixed; inset: 0; z-index: 700;
      background: #FFF9EF;
      display: flex; flex-direction: column; overflow-y: auto;
      opacity: 0; pointer-events: none;
      transition: opacity .25s ease;
    }
    .quiz-overlay.is-open { opacity: 1; pointer-events: all; }
    .quiz-overlay__header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 20px; height: var(--header-h);
      border-bottom: 1.5px solid var(--gris);
      background: #FFF9EF; position: sticky; top: 0; z-index: 10; flex-shrink: 0;
    }
    .quiz-overlay__logo { height: 36px; width: auto; }
    .quiz-overlay__close {
      width: 36px; height: 36px; border-radius: 50%;
      border: 1.5px solid var(--gris); background: var(--blanc);
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: background .15s;
    }
    .quiz-overlay__close:hover { background: #FFE0E0; border-color: #F5C0C2; }
    .quiz-overlay__close svg { width: 14px; height: 14px; stroke: var(--noir); fill: none; stroke-width: 2.5; stroke-linecap: round; }
    .quiz-progress { height: 3px; background: var(--gris); flex-shrink: 0; }
    .quiz-progress__bar { height: 100%; background: var(--rouge); transition: width .3s ease; }
    .quiz-screen { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 48px 20px 80px; }
    .quiz-screen--hidden { display: none; }
    .quiz-screen--visible { animation: quizFadeUp .3s ease both; }
    @keyframes quizFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
    .quiz-screen__question { font-size: clamp(1.375rem,4vw,2rem); font-weight: 900; color: var(--noir); text-align: center; line-height: 1.2; margin-bottom: 32px; max-width: 560px; }
    .quiz-cards { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 520px; }
    .quiz-card { display: flex; align-items: center; padding: 18px 20px; background: var(--blanc); border: 2px solid var(--gris); border-radius: 16px; cursor: pointer; font-family: 'Onest', sans-serif; font-weight: 700; font-size: 1.0625rem; color: var(--noir); line-height: 1.3; transition: border-color .15s, background .15s, color .15s; text-align: left; width: 100%; user-select: none; }
    .quiz-card:hover, .quiz-card.is-selected { background: var(--rouge); color: var(--blanc); border-color: var(--rouge); }
    .quiz-card__main { flex: 1; }
    .quiz-card__main h3 { font-size: 1.0625rem; font-weight: 700; margin: 0; color: inherit; }
  
    /* ── POPUP QUIZ ── */
    @keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
    .quiz-popup-overlay {
      display: none; position: fixed; inset: 0; z-index: 700;
      background: rgba(0,0,0,.55); align-items: center; justify-content: center; padding: 24px 16px;
    }
    .quiz-popup-overlay.is-open { display: flex; }
    .hp-quiz {
      width: 100%; max-width: 480px; background: #fff;
      border-radius: 20px; box-shadow: 0 16px 64px rgba(0,0,0,.2);
      overflow: hidden; position: relative; animation: fadeUp .25s ease both;
      max-height: 90vh; overflow-y: auto;
    }
    .hp-quiz__close {
      position: absolute; top: 12px; right: 12px;
      width: 32px; height: 32px; border-radius: 50%;
      background: #F0F0F0; border: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      font-size: .85rem; color: #555; z-index: 10; transition: background .15s;
    }
    .hp-quiz__close:hover { background: #E0E0E0; }
    .hp-quiz__header { display: flex; align-items: center; gap: 12px; padding: 20px 24px 0; }
    .hp-quiz__step-label { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #DD2628; white-space: nowrap; }
    .hp-quiz__back {
      background: #F5F5F5; border: none; color: #0A0A0A;
      font-size: .78rem; font-weight: 700; cursor: pointer;
      padding: 6px 12px; border-radius: 99px; display: none;
      align-items: center; gap: 4px; transition: background .15s; white-space: nowrap;
    }
    .hp-quiz__back.is-visible { display: inline-flex; }
    .hp-quiz__back:hover { background: #E8E8E8; }
    .hp-quiz__q { font-size: 1.1rem; font-weight: 900; color: #0A0A0A; margin: 0; line-height: 1.3; letter-spacing: -.01em; padding: 16px 24px 20px; }
    .hp-quiz__step { display: none; animation: fadeUp .2s ease both; }
    .hp-quiz__step.is-active { display: block; }
    .hp-quiz__list { display: flex; flex-direction: column; padding: 0 24px 24px; gap: 0; }
    .hp-quiz__list-item {
      display: flex; align-items: center; gap: 12px; padding: 14px 0;
      border-bottom: 1px solid #F2F2F2; background: none;
      border-top: none; border-left: none; border-right: none;
      cursor: pointer; text-align: left; color: #0A0A0A;
      font-size: .9rem; font-weight: 600; transition: color .15s;
      font-family: 'Onest', system-ui, sans-serif;
    }
    .hp-quiz__list-item:last-child { border-bottom: none; }
    .hp-quiz__list-item:hover { color: #DD2628; }
    .hp-quiz__list-item:hover .hp-quiz__list-dot { background: #DD2628; }
    .hp-quiz__list-dot { width: 8px; height: 8px; border-radius: 50%; background: #D0D0D0; flex-shrink: 0; transition: background .15s; }
    .hp-quiz__list-chevron { margin-left: auto; opacity: .3; flex-shrink: 0; }
    .hp-quiz__list-chevron svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }
    .quiz-result-overlay {
      display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5);
      z-index: 850; align-items: center; justify-content: center; padding: 24px;
    }
    .quiz-result-overlay.is-open { display: flex; }
    .quiz-result-box {
      background: #fff; border-radius: 20px; padding: 40px 32px 32px;
      max-width: 360px; width: 100%; text-align: center; position: relative;
      display: flex; flex-direction: column; align-items: center; gap: 20px;
    }
    .quiz-result-close {
      position: absolute; top: 14px; right: 14px; background: #F3F4F6;
      border: none; width: 32px; height: 32px; border-radius: 50%;
      font-size: 1rem; color: #555; cursor: pointer;
      display: flex; align-items: center; justify-content: center; transition: background .15s;
    }
    .quiz-result-close:hover { background: #E5E7EB; }
    .quiz-result-ring { position: relative; width: 120px; height: 120px; }
    .quiz-result-ring svg { width: 100%; height: 100%; }
    .qrr-fill { transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1); }
    .quiz-result-ring.is-animated .qrr-fill { stroke-dashoffset: 0; }
    .quiz-result-oui { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; color: #166534; }
    .quiz-result-title { font-size: 1.25rem; font-weight: 900; line-height: 1.3; margin: 0; color: #0A0A0A; }
    .qr-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; background: #DD2628; color: #fff; border: none; border-radius: 14px; font-size: .9rem; font-weight: 800; text-decoration: none; cursor: pointer; transition: background .15s; font-family: 'Onest', system-ui, sans-serif; width: 100%; }
    .qr-btn-primary:hover { background: #b81f21; }
  
    /* ── STICKY BAR mobile ── */
    .sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 800; background: var(--noir); border-top: 2px solid rgba(255,255,255,.06); padding: 8px 0 12px; display: flex; justify-content: space-around; transform: translateZ(0); -webkit-transform: translateZ(0); }
    .sticky-bar__item { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; padding: 4px 6px; font-size: .6rem; font-weight: 700; color: var(--jaune); text-decoration: none; text-align: center; line-height: 1.2; transition: background .15s, color .15s; }
    .sticky-bar__item:hover { background: var(--jaune); color: var(--noir); }
    .sticky-bar__item svg { width: 22px; height: 22px; stroke: var(--jaune); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
    .sticky-bar__item:hover svg { stroke: var(--noir); }
    .sticky-bar__item span { display: block; font-size: .6rem; font-weight: 700; }
    /* ── DESKTOP BAR ── */
    .desktop-bar { display: none; }
    @media (min-width: 640px) {
      .sticky-bar { display: none !important; }
      .desktop-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 800; background: var(--noir); border-top: 2px solid rgba(255,255,255,.08); }
      .desktop-bar__inner { max-width: 1080px; margin: 0 auto; width: 100%; display: flex; justify-content: center; gap: 10px; padding: 10px 40px 14px; }
      .desktop-bar__item { display: flex; align-items: center; gap: 8px; padding: 11px 24px; border-radius: 14px; font-size: .9rem; font-weight: 700; color: var(--jaune); text-decoration: none; background: transparent; border: 2px solid var(--jaune); transition: transform .15s, background .15s; white-space: nowrap; cursor: pointer; font-family: 'Onest', system-ui, sans-serif; }
      .desktop-bar__item:hover { transform: translateY(-2px); background: var(--jaune); color: var(--noir); border-color: var(--jaune); }
      .desktop-bar__item:hover svg { stroke: var(--noir); }
      .desktop-bar__item svg { width: 18px; height: 18px; stroke: var(--jaune); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    }
    /* padding pour que le contenu ne soit pas caché sous les barres */
    #home-view { padding-bottom: 100px; }
    @media (min-width: 640px) { #home-view { padding-bottom: 100px; } }
  
    /* ── FOOTER ── */
    .site-footer { background: var(--blanc); color: var(--texte); border-top: 1px solid var(--gris); padding: 48px 0 24px; margin-top: 40px; }
    .site-footer .container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
    .footer-top { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; margin-bottom: 32px; }
    @media (min-width: 768px) { .footer-top { grid-template-columns: repeat(3, 1fr) 200px; gap: 32px; } }
    .footer-nav { display: contents; }
    .footer-nav > div { display: flex; flex-direction: column; gap: 10px; }
    .footer-nav h4 { font-size: 1rem; font-weight: 900; color: var(--noir); margin: 0; }
    .footer-nav ul { display: flex; flex-direction: column; gap: 6px; list-style: none; padding: 0; margin: 0; }
    .footer-nav li a { font-size: .875rem; font-weight: 600; color: var(--noir); text-decoration: none; opacity: 1; transition: opacity .15s; }
    .footer-nav li a:hover { opacity: .6; }
    .footer-contact { display: flex; flex-direction: column; gap: 8px; }
    .footer-contact h4 { font-size: 1rem; font-weight: 900; color: var(--noir); margin: 0; }
    .footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--noir); text-decoration: none; transition: opacity .15s; }
    .footer-contact-item:hover { opacity: .6; }
    .footer-contact-item svg { flex-shrink: 0; }
    .footer-bottom { border-top: 1px solid var(--gris); padding-top: 20px; }
    .footer-copy { font-size: .75rem; font-weight: 600; color: rgba(0,0,0,.4); }
  
    .quiz-card__title { font-size: 1.0625rem; font-weight: 700; color: inherit; line-height: 1.3; }
