*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --serif:   'Cormorant Garamond', Georgia, serif;
      --sans:    'Jost', sans-serif;
      --script:  'Dancing Script', cursive;
      --dark:    #1C1410;
      --warm:    #3A2D24;
      --gold:    #B8975A;
      --gold-lt: #D4B98A;
      --white:   #FFFFFF;
      --beige:   #FFFFFF;   /* fond blanc pur */
      --cream:   #FFFFFF;   /* fond blanc pur */
    }
    html { scroll-behavior: smooth; }
    body { font-family: var(--sans); background: var(--white); color: var(--dark); overflow-x: hidden; }

    /* ── HEADER ── */
    #site-header {
      position: fixed; top: 0; left: 0; right: 0;
      transition: transform .35s ease, background .45s ease;
      z-index: 900; background: transparent;
    }
    .hdr-top {
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 2.5rem; height: 72px;
      transition: background .45s ease, border-color .45s ease;
    }
    #site-header.scrolled { background: var(--white); }
    #site-header.scrolled .hdr-top { border-bottom: 1px solid rgba(184,151,90,0.2); }
    .hdr-brand-left { flex-shrink: 0; }
    .hdr-brand-link { text-decoration: none; display: block; }
    .hdr-brand-name {
      display: block; font-family: var(--serif); font-size: 1.1rem;
      letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
      color: #ffffff; line-height: 1.1; transition: color .45s ease;
    }
    #site-header.scrolled .hdr-brand-name { color: var(--dark); }
    .hdr-brand-sub {
      display: block; font-family: var(--sans); font-size: .52rem;
      letter-spacing: .3em; text-transform: uppercase;
      color: rgba(255,255,255,.6); font-weight: 400; transition: color .45s ease;
    }
    #site-header.scrolled .hdr-brand-sub { color: var(--gold); }
    .hdr-nav { display: flex; align-items: center; gap: 2rem; }
    .hdr-nav a {
      font-family: var(--sans); font-size: .58rem; letter-spacing: .2em;
      text-transform: uppercase; text-decoration: none; color: #ffffff;
      font-weight: 400; transition: color .3s ease; white-space: nowrap;
    }
    .hdr-nav a:hover { color: var(--gold-lt); }
    #site-header.scrolled .hdr-nav a { color: var(--warm); }
    #site-header.scrolled .hdr-nav a:hover { color: var(--gold); }
    .hdr-cta {
      display: inline-block; padding: .6rem 1.5rem;
      background: var(--dark); color: var(--white); font-family: var(--sans);
      font-size: .58rem; letter-spacing: .2em; text-transform: uppercase;
      text-decoration: none; font-weight: 500; white-space: nowrap;
      transition: background .2s; flex-shrink: 0;
    }
    .hdr-cta:hover { background: var(--gold); }

    /* Page sans hero → header toujours en sombre avec teinte or */
    #site-header.scrolled .hdr-brand-name { color: var(--dark); }
    #site-header.scrolled .hdr-brand-sub  { color: var(--gold); }
    #site-header.scrolled .hdr-nav a      { color: var(--warm); }
    #site-header.scrolled .hdr-nav a:hover { color: var(--gold); }

    /* ═══════════════════════════════════
       HERO — photo pleine hauteur + texte
    ═══════════════════════════════════ */
    /* ═══════════════════════════════════
       HERO — une pleine page, photo et phrase
    ═══════════════════════════════════ */
    .ap-hero {
      position: relative;
      height: 100vh;
      min-height: 540px;
      overflow: hidden;
      display: flex;
      align-items: flex-end;
    }

    .ap-lead,
    .ap-bio,
    .ap-formations,
    .ap-cta-section {
      position: relative;
      background: var(--white);
    }

    /* ═══════════════════════════════════
       PHRASE D'ACCROCHE — juste après le hero
    ═══════════════════════════════════ */
    .ap-lead {
      padding: clamp(3.2rem, 6.5vw, 5.5rem) clamp(1.6rem, 5vw, 5rem);
    }
    .ap-lead p {
      font-family: var(--serif);
      font-size: clamp(1.4rem, 2.9vw, 2.7rem);
      font-weight: 400;
      line-height: 1.44;
      letter-spacing: -.004em;
      color: var(--dark);
      max-width: 20em;
      margin: 0 auto;
      text-align: center;
    }
    .ap-lead b {
      font-weight: 600;
      color: var(--gold);
    }
    .ap-hero-photo {
      position: absolute; inset: 0;
      z-index: 0;
    }
    .ap-hero-photo img {
      width: 100%; height: 100%;
      object-fit: cover; object-position: center 30%;
      display: block;
    }
    /* Voile pour que la phrase reste lisible quelle que soit la photo */
    .ap-hero-photo::after {
      content: '';
      position: absolute; inset: 0;
      background:
        linear-gradient(to top, rgba(20,14,10,.78) 0%, rgba(20,14,10,.34) 42%, rgba(20,14,10,.06) 72%),
        linear-gradient(to bottom, rgba(20,14,10,.34) 0%, rgba(20,14,10,0) 26%);
    }

    .ap-hero-text {
      position: relative; z-index: 2;
      width: 100%;
      padding: 0 clamp(1.6rem, 5vw, 5rem) clamp(3.5rem, 7vw, 6.5rem);
      text-align: right;
    }
    .ap-eyebrow {
      display: block;
      font-family: var(--sans); font-size: .58rem; font-weight: 500;
      letter-spacing: .35em; text-transform: uppercase;
      color: var(--gold-lt); margin-bottom: 1.6rem;
    }
    .ap-hero-title {
      font-family: var(--serif);
      font-size: clamp(1.9rem, 3.5vw, 3.5rem);
      font-weight: 300;
      line-height: 1.24;
      letter-spacing: -.005em;
      color: var(--white);
      max-width: 22ch;
      margin-left: auto;   /* le bloc vient se caler à droite */
    }
    .ap-hero-title em { font-style: italic; color: var(--gold-lt); }

    .ap-hero-rule {
      display: block;
      width: 70px; height: 1px;
      background: var(--gold);
      margin-top: 2.2rem;
      opacity: .85;
    }

    /* ═══════════════════════════════════
       BANDEAU — intro et chiffres, sous le hero
    ═══════════════════════════════════ */
    .ap-intro {
      background: var(--white);
      padding: clamp(3.5rem, 7vw, 6rem) clamp(1.6rem, 5vw, 5rem);
      display: grid;
      grid-template-columns: 1.15fr 1fr;
      gap: clamp(2rem, 5vw, 5rem);
      align-items: center;
      border-bottom: 1px solid rgba(184,151,90,.16);
    }
    .ap-hero-intro {
      font-family: var(--sans); font-size: clamp(.9rem, 1.05vw, 1rem);
      font-weight: 300; line-height: 1.95; color: rgba(28,20,16,.66);
      max-width: 46ch; margin: 0;
    }
    .ap-hero-stats { display: flex; gap: clamp(1.8rem, 4vw, 3.5rem); flex-wrap: wrap; }
    .ap-stat-item { display: flex; flex-direction: column; gap: .3rem; }
    .ap-stat-number {
      font-family: var(--serif); font-size: 2.2rem; font-weight: 300;
      color: var(--gold); line-height: 1;
    }
    .ap-stat-label {
      font-family: var(--sans); font-size: .58rem; letter-spacing: .2em;
      text-transform: uppercase; color: rgba(28,20,16,.45);
    }

    /* ═══════════════════════════════════
       BIO — texte principal + citation
    ═══════════════════════════════════ */
    .ap-bio {
      background: var(--beige);
      padding: clamp(2rem, 4vw, 3.5rem) clamp(1.6rem, 5vw, 5rem) clamp(3.5rem, 7vw, 6rem);
    }
    .ap-bio-inner {
      max-width: 1100px; margin: 0 auto;
    }
    .ap-quote {
      font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.4rem);
      font-weight: 300; font-style: italic; color: var(--dark);
      line-height: 1.35; border-left: 3px solid var(--gold);
      padding-left: 2rem; margin-bottom: 5rem; max-width: 65ch;
    }
    /* Visuel à gauche, texte à droite.
       Le texte reste premier dans le HTML pour l'ordre de lecture,
       c'est "order" qui inverse l'affichage. */
    .ap-bio-grid {
      display: grid; grid-template-columns: .95fr 1.15fr;
      gap: clamp(2.5rem, 5vw, 5.5rem); align-items: start;
    }
    /* Le padding fait descendre la colonne de texte pour que sa première
       ligne tombe à peu près à la hauteur du haut du cercle, plutôt que
       de démarrer nettement au-dessus. */
    .ap-bio-text { max-width: 62ch; order: 2; padding-top: clamp(.5rem, 2vw, 2.2rem); }

    /* ═══════════════════════════════════
       VISUEL ROND + FEUILLES
    ═══════════════════════════════════ */
    .ap-bio-visuel {
      position: relative;
      width: 100%;
      max-width: 480px;
      aspect-ratio: 1;
      justify-self: start;
      order: 1;
    }
    /* Forme en D : bord gauche droit, côté droit en demi-cercle */
    .ap-cercle {
      position: absolute;
      inset: 9%;
      border-radius: 0 50% 50% 0 / 0 50% 50% 0;
      overflow: hidden;
      z-index: 2;
      background: var(--gold-lt);
    }
    .ap-cercle img {
      width: 100%; height: 100%;
      object-fit: cover;
      /* Ancré en haut : rien n'est rogné au-dessus, on garde les deux visages.
         Ajuster entre 0% et 50% si besoin de descendre encore. */
      object-position: center top;
      display: block;
    }

    .feuille {
      position: absolute;
      border-radius: 50% 0 50% 0;
      z-index: 1;
    }
    /* Beige sable et ocre. Le beige est écrit en dur : la variable --beige
       vaut #FFFFFF depuis le passage du fond en blanc pur. */
    .feuille.beige { background: #EADFCB; }
    .feuille.ocre  { background: var(--gold); }
    .feuille.devant { z-index: 3; }

    /* Grappe haut droite */
    .f1 { width: 17%; aspect-ratio: 1; top: 1%;  right: 3%;  transform: rotate(-22deg); }
    .f2 { width: 13%; aspect-ratio: 1; top: 12%; right: -3%; transform: rotate(26deg); }
    .f3 { width: 10%; aspect-ratio: 1; top: 24%; right: 8%;  transform: rotate(-4deg); }

    /* Grappe bas gauche */
    .f4 { width: 16%; aspect-ratio: 1; bottom: 7%;  left: 1%;   transform: rotate(30deg); }
    .f5 { width: 13%; aspect-ratio: 1; bottom: -2%; left: 13%;  transform: rotate(-16deg); }
    .f6 { width: 10%; aspect-ratio: 1; bottom: 14%; left: -4%;  transform: rotate(52deg); }
    /* Taille calée sur les trois paragraphes pour limiter le drapeau à droite
       sans justifier : creux maximum 85 px, moyenne 5,6 % de la colonne.
       Mesuré à 32 px dans une colonne de 560 px, police Jost chargée. */
    .ap-bio-text p {
      font-family: var(--sans);
      font-size: clamp(1.1rem, 2.22vw, 2rem);
      font-weight: 300;
      line-height: 1.55;
      color: #000000;
      margin-bottom: 1.6rem;
      text-wrap: pretty;          /* équilibre les fins de lignes */
      text-align: left;           /* surtout pas justify */
    }
    .ap-bio-text p:last-child { margin-bottom: 0; }
    /* Mots clés en ocre */
    .ap-bio-text b,
    .ap-bio-suite b {
      font-weight: 500;
      color: var(--gold);
    }
    .ap-bio-text b em,
    .ap-bio-suite b em { font-style: italic; }

    /* Suite du texte, pleine largeur sous le visuel. Même taille et même
       interligne que le paragraphe du haut : les deux blocs se lisent
       comme un seul texte, la largeur de colonne est la seule différence. */
    .ap-bio-suite {
      margin-top: clamp(2.5rem, 5vw, 4.5rem);
    }
    .ap-bio-suite p {
      font-family: var(--sans);
      font-size: clamp(1.1rem, 2.22vw, 2rem);
      font-weight: 300;
      line-height: 1.55;
      color: #000000;
      margin-bottom: 1.5rem;
      text-wrap: pretty;
      text-align: left;
    }
    .ap-bio-suite p:last-child { margin-bottom: 0; }
    .ap-bio-text p:last-child { margin-bottom: 0; }

    /* Bloc qualités à droite */
    .ap-qualities {
      display: flex; flex-direction: column; gap: 1.2rem;
    }
    .ap-quality-item {
      display: flex; align-items: flex-start; gap: 1rem;
      padding: 1.2rem 1.4rem;
      background: var(--white);
      border-radius: 10px;
      border: 1px solid rgba(184,151,90,.15);
    }
    .ap-quality-icon {
      font-size: 1.2rem; flex-shrink: 0; margin-top: .05rem;
    }
    .ap-quality-label {
      font-family: var(--sans); font-size: .58rem; font-weight: 600;
      letter-spacing: .2em; text-transform: uppercase;
      color: var(--gold); margin-bottom: .3rem;
    }
    .ap-quality-text {
      font-family: var(--sans); font-size: .82rem; font-weight: 300;
      color: rgba(28,20,16,.65); line-height: 1.6;
    }

    /* ═══════════════════════════════════
       FORMATIONS
    ═══════════════════════════════════ */
    .ap-formations {
      background: var(--white);
      padding: 7rem 5rem;
    }
    .ap-formations-inner {
      max-width: 1100px; margin: 0 auto;
    }
    .ap-section-eyebrow {
      font-family: var(--sans); font-size: .6rem; font-weight: 600;
      letter-spacing: .35em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 1rem;
    }
    .ap-section-title {
      font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 300; font-style: italic; color: var(--dark);
      margin-bottom: 3.5rem; line-height: 1.1;
    }
    .ap-formation-cards {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .ap-formation-card {
      padding: 2.5rem 2rem;
      background: var(--cream);
      border-radius: 12px;
      border-top: 3px solid var(--gold);
      display: flex; flex-direction: column; gap: .8rem;
    }
    .ap-formation-year {
      font-family: var(--serif); font-size: 2.5rem; font-weight: 300;
      color: rgba(184,151,90,.25); line-height: 1;
    }
    .ap-formation-school {
      font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
      color: var(--dark); line-height: 1.25;
    }
    .ap-formation-city {
      font-family: var(--sans); font-size: .65rem; font-weight: 500;
      letter-spacing: .15em; text-transform: uppercase;
      color: var(--gold);
    }
    .ap-formation-desc {
      font-family: var(--sans); font-size: .8rem; font-weight: 300;
      color: rgba(28,20,16,.6); line-height: 1.7;
      margin-top: .3rem;
    }

    /* ═══════════════════════════════════
       CTA FINAL
    ═══════════════════════════════════ */
    .ap-cta-section {
      background: var(--cream);
      padding: 6rem 5rem;
      text-align: center;
    }
    .ap-cta-script {
      font-family: var(--script); font-size: 1.4rem;
      color: var(--gold-lt); margin-bottom: 1rem; display: block;
    }
    .ap-cta-title {
      font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem);
      font-weight: 300; font-style: italic; color: var(--dark);
      margin-bottom: .8rem; line-height: 1.1;
    }
    .ap-cta-sub {
      font-family: var(--sans); font-size: .85rem; font-weight: 300;
      color: rgba(28,20,16,.55); margin-bottom: 2.5rem; max-width: 45ch; margin-left: auto; margin-right: auto;
    }
    .ap-cta-btn {
      display: inline-block;
      font-family: var(--sans); font-size: .75rem; font-weight: 500;
      letter-spacing: .2em; text-transform: uppercase;
      color: var(--white); background: var(--dark);
      padding: 1rem 3rem; text-decoration: none;
      border-radius: 100px; transition: background .2s;
    }
    .ap-cta-btn:hover { background: var(--gold); }

    /* ═══════════════════════════════════
       FOOTER
    ═══════════════════════════════════ */
    footer#site-footer {
      background: #C2A98A; position: relative; overflow: hidden;
      padding: 0; min-height: 100vh;
      display: flex; flex-direction: column; justify-content: space-between;
    }
    footer#site-footer::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 110px;
      background: linear-gradient(to bottom, #ffffff 0%, rgba(194,169,138,0) 100%);
      z-index: 2;
      pointer-events: none;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .ap-hero { height: 100svh; min-height: 460px; }
      .ap-hero-text { padding: 0 1.4rem 3rem; }
      .ap-hero-title { font-size: clamp(1.55rem, 6.4vw, 2.2rem); max-width: 100%; line-height: 1.3; }
      .ap-hero-rule { margin-top: 1.6rem; }
      .ap-intro { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.4rem; }
      .ap-bio { padding: 4rem 2rem; }
      .ap-bio-grid { grid-template-columns: 1fr; gap: 3.5rem; }
      .ap-bio-visuel { justify-self: center; max-width: 340px; order: 1; }
      .ap-bio-text { max-width: 100%; order: 2; }
      .ap-bio-suite { margin-top: 2.2rem; }
      .ap-formations { padding: 4rem 2rem; }
      .ap-formation-cards { grid-template-columns: 1fr; }
      .ap-cta-section { padding: 4rem 2rem; }
      .hdr-nav { display: none; }
    }
    /* ══════════════════════════════════
       MENU MOBILE
    ══════════════════════════════════ */
    .hdr-burger {
      display: none; background: none; border: 0; cursor: pointer;
      width: 40px; height: 40px; padding: 8px; flex-shrink: 0;
    }
    .hdr-burger span {
      display: block; height: 1.5px; background: #fff; margin: 5px 0;
      transition: transform .3s ease, opacity .3s ease, background .45s ease;
    }
    #site-header.scrolled .hdr-burger span { background: var(--dark); }
    .hdr-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .hdr-burger.open span:nth-child(2) { opacity: 0; }
    .hdr-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    #mobile-panel {
      position: fixed; inset: 0; z-index: 899; background: var(--dark);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 1.5rem; opacity: 0; visibility: hidden;
      transition: opacity .35s ease, visibility .35s ease;
    }
    #mobile-panel.open { opacity: 1; visibility: visible; }
    #mobile-panel a {
      font-family: var(--serif); font-size: 1.55rem; letter-spacing: .05em;
      color: #fff; text-decoration: none; transition: color .25s;
    }
    #mobile-panel a:hover { color: var(--gold-lt); }
    #mobile-panel .mp-devis {
      margin-top: 1rem; font-family: var(--sans); font-size: .66rem;
      letter-spacing: .24em; text-transform: uppercase;
      border: 1px solid var(--gold); padding: .85rem 2rem; border-radius: 100px;
      color: var(--gold-lt);
    }
    @media (max-width: 900px) {
      .hdr-nav, .hdr-cta { display: none; }
      .hdr-burger { display: block; }
      .hdr-top { padding: 0 1.4rem; }
    }

    /* ══════════════════════════════════
       ENTRÉE DE PAGE
    ══════════════════════════════════ */
    @keyframes entreeFondu {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
    @keyframes entreeMontee {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: none; }
    }
    @media (prefers-reduced-motion: no-preference) {
      #site-header { animation: entreeFondu .9s .15s ease-out both; }
      body > section:first-of-type,
      body > main:first-of-type {
        animation: entreeMontee 1s .05s cubic-bezier(.22,.61,.36,1) both;
      }
    }

    /* ══════════════════════════════════
       AVIS GOOGLE
       Mur en colonnes : chaque carte garde sa hauteur naturelle, ce qui
       permet d'afficher aussi bien un avis de deux lignes qu'un de quinze
       sans rien tronquer.
    ══════════════════════════════════ */
    .ap-avis {
      background: var(--white);
      padding: clamp(1.8rem, 3.4vw, 3rem) 0 clamp(4rem, 8vw, 7rem);
      overflow: hidden;
    }
    .ap-avis-tete {
      text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem);
      padding: 0 clamp(1.6rem, 5vw, 5rem);
    }
    /* Même traitement que les titres de la Maison des FX : Cormorant en
       graisse 400, bas-de-casse, sans interlettrage forcé. */
    .ap-avis-titre {
      font-family: var(--serif); font-weight: 400;
      font-size: clamp(2rem, 4vw, 3.2rem);
      letter-spacing: 0; line-height: 1.15;
      color: var(--dark); margin-bottom: 1.4rem;
    }
    a.ap-avis-note { text-decoration: none; color: inherit; transition: opacity .2s; }
    a.ap-avis-note:hover { opacity: .75; }
    .ap-avis-note {
      display: inline-flex; align-items: center; gap: .8rem; flex-wrap: wrap;
      justify-content: center;
    }
    /* Le logo Google en tête : il apporte la seule vraie couleur de la
       section et dit d'où viennent les avis mieux qu'une phrase. Hauteur
       calée sur celle des étoiles pour que la ligne reste alignée. */
    .ap-avis-logo {
      height: clamp(20px, 1.9vw, 26px); width: auto; display: block;
    }
    .ap-avis-filet {
      width: 1px; height: 22px; background: rgba(194,169,138,.6);
      margin: 0 .2rem;
    }
    .ap-avis-etoiles { display: flex; gap: .2rem; }
    .ap-avis-etoiles svg { width: 22px; height: 22px; fill: var(--gold); }
    .ap-avis-chiffre {
      font-family: var(--serif); font-size: 1.8rem; font-weight: 600;
      color: var(--dark); line-height: 1;
    }
    .ap-avis-chiffre span { font-size: .9rem; font-weight: 400; color: rgba(28,20,16,.45); }
    .ap-avis-compte {
      font-family: var(--sans); font-size: .72rem; letter-spacing: .06em;
      color: rgba(28,20,16,.5);
    }
    .ap-avis-compte a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(184,151,90,.45); }
    .ap-avis-compte a:hover { color: var(--dark); border-color: var(--dark); }

    /* Ruban continu : la série est dupliquée, et la copie prend le relais
       à l'instant exact où la première sort du cadre. La boucle est donc
       invisible.
       Le déplacement n'est plus une animation CSS mais un transform posé
       par le script : c'est la seule façon que le défilement automatique
       et le glissement à la souris partagent la même position. Sans ça,
       lâcher le ruban le ferait sauter là où l'animation en serait. */
    .ap-avis-rangs {
      display: flex; flex-direction: column;
      gap: clamp(.6rem, .9vw, .9rem);
    }
    .ap-avis-piste {
      display: flex; width: max-content;
      cursor: pointer; will-change: transform;
      /* Le geste horizontal est pour le ruban, le vertical reste à la page. */
      touch-action: pan-y;
    }
    .ap-avis-piste.tire { cursor: grabbing; user-select: none; }
    .ap-avis-serie {
      display: flex; align-items: flex-start;
      gap: clamp(.6rem, .9vw, .9rem);
      padding-right: clamp(.6rem, .9vw, .9rem);
    }

    .ap-avis-carte {
      position: relative;
      flex: 0 0 auto; width: clamp(290px, 25vw, 380px);
      display: flex; flex-direction: column;
      background: var(--white);
      border: 1px solid rgba(194,169,138,.55);
      border-radius: 16px;
      padding: clamp(1.4rem, 1.9vw, 1.9rem);
    }
    /* Le « G » en haut à droite équilibre la pastille en haut à gauche et
       rappelle la provenance de l'avis sans une ligne de texte de plus. */
    .ap-avis-carte-g {
      position: absolute; top: clamp(1.4rem, 1.9vw, 1.9rem);
      right: clamp(1.4rem, 1.9vw, 1.9rem);
      width: 20px; height: 20px;
    }
    .ap-avis-carte-etoiles { display: flex; gap: .16rem; margin-bottom: .9rem; }
    .ap-avis-carte-etoiles svg { width: 13px; height: 13px; fill: var(--gold); }
    /* Le texte est coupé à huit lignes, avec les points de suspension
       posés par le navigateur. Sans cette limite, la rangée réserverait
       en permanence la hauteur de son avis le plus long, même quand
       celui-ci est hors écran : d'où le grand vide sous les cartes
       courtes et l'écart avec la rangée du dessous. */
    .ap-avis-texte {
      font-size: .9rem; line-height: 1.75; font-weight: 300; color: #2A241E;
      white-space: pre-line;
      display: -webkit-box;
      -webkit-line-clamp: 8;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    /* Mise en valeur sans aucun aplat : la couleur et la graisse suffisent,
       comme pour les mots clés du reste du site. */
    .ap-avis-texte mark {
      background: none; color: #9A7B42; font-weight: 500;
    }
    /* Signature en tête de carte : on sait qui parle avant de lire.
       Nom distinct de .ap-avis-tete, qui est l'en-tête de la section et
       centre son contenu : réutiliser ce nom centrait aussi la pastille. */
    .ap-avis-carte-tete {
      margin-bottom: 1.1rem;
      display: flex; align-items: center; justify-content: flex-start;
      gap: .7rem; text-align: left;
    }
    /* La couleur de fond est posée par le script, une teinte par
       personne, tirée d'une palette de tons sourds qui cohabitent
       avec le beige. C'est ce que fait Google lui-même quand un
       compte n'a pas de photo. */
    .ap-avis-pastille {
      width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--sans); font-size: .92rem; font-weight: 500;
      color: #fff; background: var(--gold); letter-spacing: .02em;
    }
    /* Le nom est seul : plus de nombre d'avis ni d'ancienneté, qui
       tiraient l'œil vers Google plutôt que vers le témoignage. */
    .ap-avis-nom {
      font-family: var(--sans); font-size: .86rem; font-weight: 500;
      color: var(--dark); line-height: 1.3;
    }
    /* Mouvement réduit demandé : le ruban ne part plus tout seul, mais
       il reste saisissable à la souris. C'est le script qui le décide. */
    @media (prefers-reduced-motion: reduce) {
      .ap-avis-rangs { gap: .6rem; }
    }
    @media (max-width: 900px) {
      .ap-avis-carte { width: clamp(270px, 78vw, 330px); }
    }

    /* ══════════════════════════════════════════════════════════
       FOOTER · direction artistique en annuaire
       Une barre d'identité en haut (marque, note Google, réseaux),
       puis le plan du site en colonnes. Bloc identique sur toutes
       les pages : toute retouche ici doit être reportée partout.
    ══════════════════════════════════════════════════════════ */
    .ft-barre {
      position: relative; z-index: 1;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 2rem;
      padding: clamp(4.5rem, 8vw, 7rem) clamp(1.4rem, 3vw, 3rem) clamp(2rem, 3.5vw, 3rem);
    }
    .ft-marque { text-decoration: none; display: block; flex-shrink: 0; }
    .ft-marque-nom {
      display: block; font-family: var(--serif); font-size: 1.35rem;
      letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
      color: #fff; line-height: 1.1;
    }
    .ft-marque-sub {
      display: block; font-family: var(--sans); font-size: .54rem;
      letter-spacing: .3em; text-transform: uppercase;
      color: rgba(255,255,255,.62); margin-top: .15rem;
    }

    /* Bloc note : le logo Google détouré, les étoiles, la note. */
    .ft-note { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
    .ft-note-logo { height: 22px; width: auto; display: block; }
    .ft-note-detail { display: flex; flex-direction: column; gap: .12rem; }
    .ft-note-etoiles { display: flex; gap: .1rem; }
    .ft-note-etoiles svg { width: 13px; height: 13px; fill: #fff; display: block; }
    .ft-note-texte {
      font-family: var(--sans); font-size: .68rem; font-weight: 500;
      letter-spacing: .12em; text-transform: uppercase;
      color: rgba(255,255,255,.8); transition: color .2s;
    }
    .ft-note:hover .ft-note-texte { color: #fff; }

    /* Réseaux : pictogrammes de trait dessinés ici, pas les logos des
       marques. C'est le libellé à côté qui nomme le service. */
    .ft-reseaux { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); flex-wrap: wrap; }
    .ft-reseau {
      display: inline-flex; align-items: center; gap: .55rem;
      font-family: var(--sans); font-size: .82rem; font-weight: 500;
      color: rgba(255,255,255,.85); text-decoration: none; transition: color .2s;
    }
    .ft-reseau svg {
      width: 19px; height: 19px; display: block; flex-shrink: 0;
      fill: none; stroke: currentColor; stroke-width: 1.5;
      stroke-linecap: round; stroke-linejoin: round;
    }
    .ft-reseau:hover { color: #fff; }

    .ft-rule {
      position: relative; z-index: 1;
      margin: 0 clamp(1.4rem, 3vw, 3rem); height: 1px; background: rgba(255,255,255,.25);
    }

    /* Plan du site : les colonnes se replient d'elles-mêmes selon la
       largeur, il n'y a pas de palier à écrire. */
    .ft-nav-grid {
      position: relative; z-index: 1;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: clamp(2rem, 3.5vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
      padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.4rem, 3vw, 3rem) clamp(2rem, 3vw, 3rem);
      align-items: start;
    }
    .ft-col { display: flex; flex-direction: column; gap: .7rem; }
    .ft-col-title {
      font-family: var(--sans); font-size: .68rem; font-weight: 600;
      letter-spacing: .16em; text-transform: uppercase;
      color: #fff; margin-bottom: .5rem;
    }
    .ft-col a, .ft-col span {
      font-family: var(--sans); font-size: .88rem; font-weight: 300;
      color: rgba(255,255,255,.78); text-decoration: none;
      line-height: 1.4; transition: color .2s;
    }
    .ft-col a:hover { color: #fff; }

    .ft-bottom {
      position: relative; z-index: 1;
      padding: 1.2rem clamp(1.4rem, 3vw, 3rem) 2rem;
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 1rem;
      border-top: 1px solid rgba(255,255,255,.15);
    }
    .footer-copy { font-family: var(--sans); font-size: .72rem; color: rgba(255,255,255,.55); letter-spacing: .1em; }
    .footer-legal {
      font-family: var(--sans); font-size: .65rem; font-weight: 600;
      letter-spacing: .15em; text-transform: uppercase; text-decoration: none;
      color: #1C1410; background: #fff; padding: .45rem 1.1rem;
      border-radius: 3px; transition: opacity .2s;
    }
    .footer-legal:hover { opacity: .8; }

    @media (max-width: 900px) {
      /* Les trois blocs de la barre passent les uns sous les autres. */
      .ft-barre { flex-direction: column; align-items: flex-start; gap: 2rem; }
    }
    /* Sur téléphone, auto-fit avec un minimum de 180 px ne loge qu'une
       colonne : les cinq rubriques s'empilaient et le footer devenait
       interminable, avec la moitié droite vide. Deux colonnes imposées
       le ramènent à trois rangées. */
    @media (max-width: 700px) {
      .ft-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem 1.2rem;
        padding: 2rem 1.4rem 1.5rem;
      }
      .ft-col { gap: .5rem; }
      .ft-col-title { font-size: .62rem; letter-spacing: .12em; margin-bottom: .3rem; }
      .ft-col a, .ft-col span { font-size: .8rem; line-height: 1.35; }
      .ft-barre { padding: 3.5rem 1.4rem 1.8rem; gap: 1.5rem; }
      /* La hauteur d'écran entière n'a pas de sens ici : le footer doit
         faire la taille de son contenu. */
      footer#site-footer, footer { min-height: 0; }
    }
    @media (max-width: 560px) {
      .ft-reseaux { flex-direction: column; align-items: flex-start; gap: .9rem; }
      footer#site-footer, footer { min-height: 0; }
    }

    /* ══════════════════════════════════════════════════════════
       MENU MOBILE · fond blanc, écriture noire
       Le panneau était sombre avec du texte blanc. Trois éléments
       doivent basculer ensemble, sinon il en reste un illisible :
       le panneau lui-même, les barres du bouton de fermeture, et le
       nom de la marque, qui appartiennent à l'en-tête posé au-dessus.
       Bloc placé en fin de feuille : à spécificité égale, c'est la
       dernière déclaration qui l'emporte.
    ══════════════════════════════════════════════════════════ */
    #mobile-panel { background: #FFFFFF; }
    #mobile-panel a { color: #1C1410; }
    #mobile-panel a:hover { color: #9A7B42; }
    #mobile-panel .mp-devis {
      border-color: #1C1410;
      color: #1C1410;
    }
    #mobile-panel .mp-devis:hover { background: #1C1410; color: #FFFFFF; }

    /* Quand le panneau est ouvert, l'en-tête se détache sur du blanc.
       La croix s'appuie sur la classe que le script pose déjà sur le
       bouton, sans dépendre de :has. */
    .hdr-burger.open span { background: #1C1410; }
    body:has(#mobile-panel.open) .hdr-brand-name { color: #1C1410; }
    body:has(#mobile-panel.open) .hdr-brand-sub { color: #9A7B42; }
