/* =====================================================================
   Béatrice Yvard, psychologue à Pornichet
   Feuille de style commune (design system)
   Charte : or ocre, vert sauge, bleu nuit, crème pâle
   Polices : Josefin Sans (titres, capitales) + Mulish (texte)
   ===================================================================== */

/* Polices chargées via <link> dans le <head> de chaque page (perf) */

/* --------------------------- Variables ---------------------------- */
:root {
  --gold:        #c9a227;   /* or ocre, lisible sur clair            */
  --gold-bright: #e6d00b;   /* or vif d'origine, sur fond sombre     */
  --gold-soft:   #f5efd6;   /* teinte or pâle pour aplats            */
  --gold-ink:    #8a6d0f;   /* or profond, texte sur clair (WCAG AA) */
  --ink-on-dark: #DCD8CC;   /* texte doux sur fond sombre             */
  --on-dark-bright: #EFEADF; /* texte clair sur sections sombres      */
  --hero-subtitle:  #F1ECE1; /* sous-titre du hero                    */
  --footer-fg:      #D3CFC4; /* texte et liens du pied de page        */
  --footer-p:       #C6C2B8; /* paragraphes du pied de page           */
  --footer-muted:   #B2ADA2; /* mentions du bas de page               */
  --ink:         #293B46;   /* bleu nuit, texte et sections sombres  */
  --ink-soft:    #505B64;   /* ardoise chaude, texte secondaire      */
  --sage:        #7B8A6B;   /* vert sauge apaisant                   */
  --sage-deep:   #556B4C;   /* vert profond                          */
  --sage-soft:   #E7EADB;   /* teinte verte pâle pour aplats         */
  --cream:       #faf8f3;   /* crème pâle, fond de page              */
  --white:       #ffffff;   /* blanc pur                             */
  --surface:     #ffffff;   /* surface des cartes et sections claires */
  --sand:        #D9C6A4;   /* sable, neutre chaud d'appoint         */
  --line:        #e7e2d6;   /* filet chaud                           */

  --font-display: 'Josefin Sans', sans-serif;
  --font-body:    'Mulish', sans-serif;

  --wrap: 1140px;
  --radius: 14px;
  --shadow: 0 18px 45px rgba(41, 59, 70, .10);
  --shadow-sm: 0 8px 22px rgba(41, 59, 70, .08);
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Barème d'espacement (rythme des gaps et marges structurels) */
  --space-xs: .6rem;
  --space-sm: .9rem;
  --space-md: 1.2rem;
  --space-lg: 1.6rem;
  --space-xl: 2.4rem;
}

/* ----------------------------- Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-deep); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-ink); }

/* --------------------------- Typographie -------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: .02em;
}
h1 { font-size: clamp(2.35rem, 6vw, 3.8rem); font-weight: 600; letter-spacing: .06em; }
h2 { font-size: clamp(1.9rem, 5vw, 2.7rem); font-weight: 600; letter-spacing: .03em; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.55rem); letter-spacing: .03em; }
p  { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--ink); }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-ink);
  display: inline-block;
  margin-bottom: .7rem;
}
.eyebrow.on-dark { color: var(--gold-bright); }

/* ---------------------------- Layout ------------------------------ */
.wrap { width: min(var(--wrap), 90%); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--surface); }
.section--sage  { background: var(--sage-soft); }
.section--ink   { background: var(--ink); color: var(--on-dark-bright); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink p { color: var(--ink-on-dark); }
.section--ink .info-value { color: var(--white); }
.lead { font-size: clamp(1.2rem, 2.2vw, 1.42rem); color: var(--ink-soft); font-weight: 400; line-height: 1.6; }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure.center { margin-inline: auto; }

/* --------------------------- En-tête ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 243, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .75rem 0; width: min(var(--wrap), 90%); margin-inline: auto;
}

/* Marque typographiée (logo) */
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.18rem; letter-spacing: .17em; color: var(--ink); text-transform: uppercase;
}
.brand-role {
  font-family: var(--font-display); font-weight: 400;
  font-size: .66rem; letter-spacing: .42em; color: var(--gold-ink);
  text-transform: uppercase; margin-top: .32rem;
}
.brand:hover .brand-name { color: var(--ink); }

/* Navigation */
.nav-toggle { display: none; }
.nav-btn {
  display: none; background: none; border: 0; cursor: pointer;
  width: 48px; height: 48px; position: relative;
}
.nav-btn span, .nav-btn span::before, .nav-btn span::after {
  content: ''; position: absolute; left: 10px; width: 24px; height: 2px;
  background: var(--ink); transition: transform .3s var(--ease), opacity .2s;
}
.nav-btn span { top: 23px; }
.nav-btn span::before { top: -7px; }
.nav-btn span::after  { top: 7px; }

.main-nav ul { list-style: none; display: flex; gap: 1.9rem; align-items: center; }
.main-nav a {
  font-family: var(--font-display);
  font-size: .95rem; letter-spacing: .05em; color: var(--ink-soft); font-weight: 500;
  padding: .3rem 0; position: relative;
  transition: color .2s var(--ease), transform .14s var(--ease);
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.main-nav a:hover { color: var(--ink); transform: translateY(-1px); }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--ink); }

/* --------------------------- Boutons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .85rem 1.8rem; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .14s var(--ease); white-space: nowrap;
}
.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn--light { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); color: var(--ink); }

/* ----------------------------- Hero ------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; isolation: isolate; }
.hero-media img, .hero-media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-media .hero-poster { z-index: 0; }
.hero-media .hero-video { z-index: 1; opacity: 0; transition: opacity 1s var(--ease); }
.hero-media .hero-video.is-playing { opacity: 1; }
.hero-video::-webkit-media-controls-start-playback-button,
.hero-video::-webkit-media-controls-play-button,
.hero-video::-webkit-media-controls-overlay-play-button,
.hero-video::-webkit-media-controls { display: none !important; -webkit-appearance: none; }
.hero-media::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(105deg, rgba(41,59,70,.88) 0%, rgba(41,59,70,.60) 42%, rgba(123,138,107,.30) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: min(var(--wrap), 90%); margin-inline: auto;
  padding: clamp(5rem, 15vw, 9rem) 0; max-width: 760px;
}
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--gold-bright); }
.hero .subtitle {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.05rem, 2vw, 1.4rem); letter-spacing: .02em;
  color: var(--hero-subtitle); margin-top: 1.2rem; line-height: 1.6;
}
.hero .hero-actions { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ----- Parallax léger : navigateurs récents, coupé si mouvement réduit ou écran < 768px ----- */
@keyframes heroDrift { to { transform: translateY(-6%); } }
@keyframes framedDrift { from { transform: translateY(18px); } to { transform: translateY(-18px); } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
    .hero-media .hero-poster,
    .hero-media .hero-video {
      bottom: auto; height: 112%; will-change: transform;
      animation: heroDrift linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 100vh;
    }
    .split-media.framed {
      will-change: transform;
      animation: framedDrift linear both;
      animation-timeline: view();
      animation-range: cover;
    }
  }
}

/* Page-header (pages internes) */
.page-header { position: relative; background: var(--ink); overflow: hidden; }
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 140% at 85% 0%, rgba(123,138,107,.35), transparent 55%),
              radial-gradient(120% 120% at 0% 100%, rgba(201,162,39,.22), transparent 50%);
}
.page-header .wrap { position: relative; z-index: 2; padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.6rem, 6vw, 3.8rem); }
.page-header h1 { color: var(--white); font-size: clamp(2.15rem, 5.5vw, 3.1rem); }
.page-header p { color: var(--ink-on-dark); margin-top: .9rem; max-width: 58ch; }
.breadcrumb { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-bright); font-family: var(--font-display); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--gold-bright); }

/* ----------------------------- Grilles ---------------------------- */
.grid { display: grid; gap: var(--space-lg); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Split media + texte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--portrait { grid-template-columns: .85fr 1.15fr; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media.framed { position: relative; }
.split-media.framed::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold); border-radius: var(--radius); z-index: 0;
}
.split-media.framed img { position: relative; z-index: 1; }

/* ----------------------------- Cartes ----------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.9rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .7rem; }
.card-title { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.2; letter-spacing: .04em; color: var(--ink); margin-bottom: .7rem; }
.card .card-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-soft); margin-bottom: 1.2rem;
}
.card .card-icon svg { width: 26px; height: 26px; stroke: var(--sage-deep); }
.card--gold .card-icon { background: var(--gold-soft); }
.card--gold .card-icon svg { stroke: var(--gold-ink); }

/* Liste d'attentes / bénéfices */
.check-list { list-style: none; display: grid; gap: var(--space-sm); }
.check-list li { position: relative; padding-left: 2.1rem; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .35em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a227' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Bloc d'accroche / citation */
.pullquote {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.5; color: var(--ink);
  position: relative;
}
.pullquote::before {
  content: '\201C'; color: var(--gold);
  font-size: 1.6em; line-height: 0; vertical-align: -.35em; margin-right: .06em;
}
.pullquote .by { display: block; font-size: 1rem; letter-spacing: .1em; color: var(--gold-ink); margin-top: 1rem; text-transform: uppercase; }
.pullquote .pullquote-close { color: var(--gold); font-size: 1.6em; line-height: 0; vertical-align: -.35em; margin-left: .02em; }

/* Liste des formations (parcours) */
.formations { list-style: none; max-width: 60ch; margin: 2.8rem auto 0; }
.formations li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.4rem; padding: 1.05rem 0; border-top: 1px solid var(--line); align-items: baseline; }
.formations li:last-child { border-bottom: 1px solid var(--line); }
.formations .f-year { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--gold-ink); letter-spacing: .02em; }
.formations .f-title { color: var(--ink); font-weight: 500; }
.formations .f-org { display: block; margin-top: .15rem; color: var(--ink-soft); font-size: .92rem; }

/* ------------------------ Public concerné ------------------------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.audience .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem; box-shadow: var(--shadow-sm); }
.audience .panel h3 { color: var(--sage-deep); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.2rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }

/* --------------------------- Contact ------------------------------ */
.info-list { list-style: none; display: grid; gap: var(--space-lg); }
.info-list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.info-list .ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; }
.info-list .ic svg { width: 22px; height: 22px; stroke: var(--gold); }
.info-list .info-label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--ink-soft); }
.info-list .info-value { font-size: 1.12rem; color: var(--ink); font-weight: 600; }
.info-list a.info-value { color: var(--ink); }

/* --------------------- Galerie du cabinet -------------------------- */
.cabinet-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.cabinet-gallery figure { margin: 0; }
.cabinet-gallery .g-main { grid-column: 1 / -1; }
.cabinet-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cabinet-gallery figure:not(.g-main) img { aspect-ratio: 3 / 4; }

/* ------------------ Carte : façade cliquable ----------------------- */
.map-embed { display: grid; place-items: center; gap: 1rem; min-height: 260px; padding: 2.4rem; text-align: center; background: var(--sage-soft); }
.map-embed p { color: var(--ink-soft); font-size: .95rem; max-width: 40ch; }
.map-embed iframe { width: 100%; }
.map-embed.is-loaded { padding: 0; min-height: 0; background: transparent; display: block; }
.info-list a.info-value:hover { color: var(--gold-ink); }

.tarifs { display: flex; gap: var(--space-md); flex-wrap: wrap; margin-top: .4rem; }
.tarif { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.8rem; box-shadow: var(--shadow-sm); flex: 1 1 200px; }
.tarif .price { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--gold-ink); }
.tarif .price small { font-size: .95rem; color: var(--ink-soft); font-weight: 400; }
.tarif .label { color: var(--ink-soft); letter-spacing: .04em; }

/* --------------------------- Formulaire --------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.field { margin-bottom: var(--space-md); display: flex; flex-direction: column; }
.field label { font-family: var(--font-display); font-size: .85rem; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: .45rem; text-transform: uppercase; }
.field label .req { color: var(--gold-ink); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: 10px;
  padding: .8rem 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(123,138,107,.22); background: var(--white);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin-top: .4rem; }

/* ----------------------------- Pied ------------------------------- */
.site-footer { background: var(--ink); color: var(--footer-fg); padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-role { color: var(--gold-bright); }
.site-footer p { color: var(--footer-p); font-size: .95rem; }
.footer-col h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; color: var(--gold-bright); margin-bottom: 1.1rem; font-weight: 600; }
.footer-col ul { list-style: none; display: grid; gap: var(--space-xs); }
.footer-col a { color: var(--footer-fg); font-size: .95rem; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.8rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--footer-muted); }
.footer-bottom a { color: var(--footer-muted); }
.footer-bottom a:hover { color: var(--gold-bright); }
.footer-col--brand p { margin-top: 1.1rem; max-width: 34ch; }

/* --------------------------- Animations --------------------------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------- Responsive --------------------------- */
@media (max-width: 900px) {
  .nav-btn { display: block; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82%);
    background: var(--cream); box-shadow: -14px 0 40px rgba(41,59,70,.18);
    transform: translateX(100%); transition: transform .34s var(--ease);
    padding: 6rem 2rem 2rem; z-index: 90;
  }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1.3rem; }
  .main-nav a { font-size: 1.15rem; display: inline-block; padding-block: .5rem; }
  .nav-toggle:checked ~ .main-nav { transform: translateX(0); }
  .nav-toggle:checked ~ .nav-btn span { background: transparent; }
  .nav-toggle:checked ~ .nav-btn span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-btn span::after  { transform: translateY(-7px) rotate(-45deg); }
  .nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(41,59,70,.45); z-index: 80; cursor: pointer; }
  .nav-toggle:checked ~ .nav-backdrop { display: block; }

  .split, .split--portrait { grid-template-columns: 1fr; }
  .split-media.framed::before { inset: 12px -12px -12px 12px; }
  .split-media { order: -1; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .grid--2, .grid--3, .audience, .form-row { grid-template-columns: 1fr; }
  .hero .hero-actions { flex-direction: column; align-items: stretch; }
  .hero .hero-actions .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover, .btn:active, .main-nav a:hover, .main-nav a:active, .chip:active span { transform: none; }
}

/* Logo réel (charte) dans le pied de page + hero <picture> */
.footer-logo { width: 180px; height: auto; display: block; margin-bottom: .9rem; }
.hero-media picture { display: block; width: 100%; height: 100%; }

/* ---------------- Correctifs audit : focus, actif, skip-link ---------------- */
:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 2px; border-radius: 2px; }
a:focus-visible, .btn:focus-visible, .nav-btn:focus-visible, .brand:focus-visible,
button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--sage-deep); outline-offset: 3px;
}
.hero :focus-visible, .page-header :focus-visible, .section--ink :focus-visible,
.site-footer :focus-visible, .btn--light:focus-visible { outline-color: var(--gold-bright); }

.btn:active { transform: translateY(0) scale(.96); }
.main-nav a:active, .footer-col a:active { color: var(--gold-ink); }
.main-nav a:active { transform: translateY(1px); }

.skip-link {
  position: absolute; left: 12px; top: -70px; z-index: 200;
  background: var(--ink); color: var(--white); padding: .75rem 1.3rem; border-radius: 10px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus-visible { top: 12px; color: var(--white); }

/* Ligne de crédibilité */
.credibility { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); line-height: 1.65; }
.credibility a { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 2px; }
.credibility a:hover { color: var(--gold-ink); }

/* Variante de carte sombre (remplace des styles inline) */
.card--dark { background: var(--ink); color: var(--ink-on-dark); border: none; }
.card--dark h3 { color: var(--white); }
.card--dark .card-icon { background: rgba(230,208,11,.15); }
.card--dark .card-icon svg { stroke: var(--gold-bright); }

/* ------------------------------- FAQ ------------------------------- */
.faq { display: grid; gap: var(--space-sm); max-width: 760px; margin-inline: auto; margin-top: 2.4rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.5rem; box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; letter-spacing: .01em; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-ink); font-size: 1.5rem; line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: '\2212'; }
.faq details[open] summary { margin-bottom: .8rem; }
.faq details p { color: var(--ink-soft); margin: 0; }

/* Bouton désactivé (pendant l'envoi) */
.btn:disabled, .btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ============ Refonte : CTA d'en-tête persistant + page de contact ============ */

/* En-tête : action "Prendre rendez-vous" visible en permanence */
.site-header .header-inner { justify-content: flex-start; gap: 1rem; }
.main-nav { margin-left: auto; }
.header-cta { flex: 0 0 auto; padding: .52rem 1.15rem; font-size: .8rem; }
.header-cta-short { display: none; }

@media (max-width: 900px) {
  .main-nav { margin-left: 0; }
  .nav-btn { margin-left: auto; }
}
@media (max-width: 620px) {
  .header-cta { padding: .5rem .9rem; font-size: .74rem; }
  .header-cta-full { display: none; }
  .header-cta-short { display: inline; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 1.02rem; letter-spacing: .12em; }
}

/* Page de contact : intro de délai, réassurance, créneaux */
.form-intro { color: var(--ink-soft); margin-bottom: 1.4rem; }
.form-intro strong { color: var(--gold-ink); font-weight: 700; }
.field .opt { color: var(--ink-soft); font-weight: 400; text-transform: none; letter-spacing: 0; }

fieldset.creneaux { border: 0; margin: 0 0 1.2rem; padding: 0; }
fieldset.creneaux legend { font-family: var(--font-display); font-size: .85rem; letter-spacing: .06em; color: var(--ink-soft); text-transform: uppercase; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: .6rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.05rem; border: 1px solid var(--line); border-radius: 50px; background: var(--surface); font-size: .9rem; color: var(--ink-soft); cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .14s var(--ease); }
.chip span:hover { border-color: var(--gold); }
.chip:active span { transform: scale(.96); }
.chip input:checked + span { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-ink); }
.chip input:focus-visible + span { outline: 3px solid var(--sage-deep); outline-offset: 2px; }

.reassurance { margin-top: var(--space-xl); }
.reassurance h3 { margin-bottom: 1rem; }
.phone-note { margin-top: .8rem; max-width: 44ch; }

/* Bande de confiance (accueil, section sombre) */
.trust-strip { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.14); }
.trust-strip li { display: flex; align-items: center; gap: var(--space-xs); color: var(--ink-on-dark); font-size: .95rem; }
.trust-strip svg { width: 20px; height: 20px; flex: 0 0 auto; stroke: var(--gold-bright); }

/* ===================== Tactile (adapt) ===================== */
/* Neutralise l'état survolé "collant" sur écran tactile */
@media (hover: none) {
  .card:hover, .btn:hover, .btn--primary:hover, .btn--ghost:hover, .btn--light:hover, .main-nav a:hover { transform: none; }
}
/* Cibles tactiles plus généreuses au pointeur grossier */
@media (pointer: coarse) {
  .chips { gap: var(--space-sm); }
  .chip span { padding: .65rem 1.1rem; }
}

/* ===================== Impression (adapt) ===================== */
@media print {
  .site-header, .site-footer, .header-cta, .nav-btn, .nav-backdrop, .skip-link, .hero-media, iframe { display: none !important; }
  body { background: #fff; color: #1a1a1a; }
  .section { padding: 1.2rem 0; }
  .section--ink, .section--sage, .section--cream, .section--white,
  .hero, .page-header { background: #fff !important; color: #1a1a1a !important; }
  h1, h2, h3, h4,
  .hero h1, .hero .subtitle, .page-header h1, .page-header p,
  .section--ink h2, .section--ink h3, .section--ink p { color: #1a1a1a !important; }
  .hero-inner { max-width: none; padding: 1rem 0; }
  a { color: #1a1a1a; text-decoration: underline; }
  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }
  .btn { border: 1px solid #1a1a1a !important; color: #1a1a1a !important; background: none !important; transform: none !important; }
  .card, .form-card, .tarif, .panel, .faq details { box-shadow: none !important; border: 1px solid #bbb !important; break-inside: avoid; }
  .split, .grid, .grid--2, .grid--3, .audience { display: block !important; }
  .trust-strip { border-top: 1px solid #bbb; }
  .trust-strip li, .trust-strip svg { color: #1a1a1a; stroke: #1a1a1a; }
  .reveal { opacity: 1 !important; transform: none !important; }
  section { break-inside: avoid-page; }
}

/* Menu mobile ouvert : masquer le CTA d'en-tete (evite le chevauchement avec le tiroir) */
.nav-toggle:checked ~ .header-cta { display: none; }

/* Correctif tiroir mobile : le backdrop-filter de l'en-tete creait un bloc conteneur
   qui limitait le tiroir position:fixed a la hauteur de l'en-tete. Retire sous 900px. */
@media (max-width: 900px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ===================== Motion (animate) ===================== */
@keyframes cyRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  /* Entree orchestree du hero au chargement */
  .hero-inner > * { animation: cyRise .8s var(--ease) both; }
  .hero-inner .eyebrow { animation-delay: .05s; }
  .hero-inner h1 { animation-delay: .16s; }
  .hero-inner .subtitle { animation-delay: .3s; }
  .hero-inner .hero-actions { animation-delay: .44s; }

  /* Cascade douce des groupes reveles (cartes, listes, bande de confiance) */
  .js .reveal .grid > *,
  .js .reveal .check-list li,
  .js .reveal .trust-strip li { opacity: 0; transition: opacity .5s var(--ease); }
  .js .reveal.is-visible .grid > *,
  .js .reveal.is-visible .check-list li,
  .js .reveal.is-visible .trust-strip li { opacity: 1; }
  .js .reveal.is-visible .grid > *:nth-child(2),
  .js .reveal.is-visible .check-list li:nth-child(2),
  .js .reveal.is-visible .trust-strip li:nth-child(2) { transition-delay: .08s; }
  .js .reveal.is-visible .grid > *:nth-child(3),
  .js .reveal.is-visible .check-list li:nth-child(3),
  .js .reveal.is-visible .trust-strip li:nth-child(3) { transition-delay: .16s; }
  .js .reveal.is-visible .check-list li:nth-child(4) { transition-delay: .24s; }
  .js .reveal.is-visible .check-list li:nth-child(5) { transition-delay: .32s; }
  .js .reveal.is-visible .check-list li:nth-child(n+6) { transition-delay: .4s; }
}

/* Onglets de nav centres dans l'en-tete (grand desktop, hors tiroir mobile) */
@media (min-width: 1024px) {
  .header-inner { position: relative; }
  .header-inner .main-nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }
  .header-inner .nav-backdrop { display: none; }
  .header-inner .header-cta { margin-left: auto; }
}

/* --------- Delight : micro-interactions discretes (respecte prefers-reduced-motion) --------- */
.btn:active { transform: translateY(0) scale(.985); }
.card .card-icon { transition: transform .3s var(--ease), background .3s var(--ease); }
.card:hover .card-icon { transform: scale(1.08); }
.faq summary { transition: color .2s var(--ease); }
.faq summary:hover { color: var(--gold-ink); }
.faq summary::after { transition: transform .25s var(--ease), color .2s var(--ease); }
.faq summary:hover::after { transform: scale(1.18); color: var(--gold); }
main p:not(.breadcrumb) a:not(.btn), .lead a:not(.btn) { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0% 1.5px no-repeat; transition: background-size .3s var(--ease), color .2s var(--ease); }
main p:not(.breadcrumb) a:not(.btn):hover, .lead a:not(.btn):hover { background-size: 100% 1.5px; }
@media (prefers-reduced-motion: reduce) {
  .btn:active, .card:hover .card-icon, .faq summary:hover::after { transform: none; }
}