﻿/* ==========================================================================
   Dvora K — Design system (conforme à strategy/11-ui-direction.md v2)
   Jetons, typographie Playfair Display + Source Sans 3, composants.
   Or #B08D57 et rose #C4837A : DÉCORATIFS uniquement — jamais couleur de texte
   sur fond clair (contrastes 2,78:1 / 2,74:1 insuffisants).
   ========================================================================== */

/* ---- Fonts (self-hosted, woff2 — fallbacks système si absents) ---- */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/sourcesans-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/sourcesans-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---- Jetons — palette v3 nommée honnêtement.
   Fond ivoire chaud · encre espresso · pierre en fond secondaire ponctuel ·
   UN accent berry accessible (#A6338A, ≥4.5:1 sur ivoire) ·
   accent clair #CC53AD strictement décoratif (filets, jamais texte/bouton). ---- */
:root {
  --ivoire: #FBF8F3;        /* fond principal (ivoire chaud) */
  --pierre: #F1EAE0;        /* fond secondaire — usage PONCTUEL, pas d'alternance auto */
  --encre: #2E2A2B;         /* titres, texte fort, sections sombres */
  --taupe: #6b5f57;         /* texte secondaire chaud */
  --berry: #A6338A;         /* ACCENT UNIQUE : boutons, liens (AA sur ivoire) */
  --berry-fonce: #8A2A73;   /* hover */
  --berry-clair: #CC53AD;   /* décoratif uniquement : filets, étoiles de fond, jamais texte */
  --texte: #4A4544;         /* texte courant */
  --bordure: #E8E0D4;
  --ombre: 0 1px 6px rgba(46, 42, 43, .07);
  --ombre-forte: 0 8px 26px rgba(46, 42, 43, .12);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  /* Radius différenciés — jamais de bubble */
  --rayon-image: 2px;       /* images éditoriales */
  --rayon: 3px;             /* cartes fonctionnelles, boutons, champs */
  --conteneur: 1200px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  /* Alias de compatibilité (pages non encore re-déclinées — Phase 4) */
  --creme: #FBF8F3; --creme-fonce: #F1EAE0; --charbon: #2E2A2B; --brun: #6b5f57;
  --terracotta: #A6338A; --terracotta-fonce: #8A2A73; --mauve: #A6338A;
  --or: #A6338A; --rose: #CC53AD;
}

/* ---- Scoped styles: applied only inside .custom-html-page ---- */
body.custom-html-page {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--creme);
}
@scope (.custom-html-page) {

/* ---- Reset léger ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--creme);
}
img, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

/* ---- Typographie ---- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 var(--s3); color: var(--charbon); text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
p, ul, ol { margin: 0 0 var(--s3); }
a { color: var(--terracotta-fonce); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .18s ease; }
a:hover { color: var(--terracotta); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--terracotta); outline-offset: 2px; border-radius: 2px;
}
.lead { font-size: 1.15rem; }
.souligne-or { border-bottom: 2px solid var(--or); padding-bottom: 2px; }
small, .note { font-size: .9rem; color: var(--brun); }

/* ---- Structure ---- */
.conteneur { max-width: var(--conteneur); margin: 0 auto; padding: 0 var(--s3); }
.section { padding: var(--s6) 0; }
.section--etroite { max-width: 780px; margin: 0 auto; }
.section--fonce { background: var(--charbon); color: var(--creme); }
.section--fonce h2, .section--fonce h3 { color: var(--creme); }
.section--fonce a { color: var(--creme); }
.section--brun { background: var(--brun); color: var(--creme); }
.section--brun h2, .section--brun h3, .section--brun a { color: var(--creme); }
.section--alt { background: var(--creme-fonce); }
@media (min-width: 768px) { .section { padding: var(--s7) 0; } }

/* Grilles simples — les modificateurs sont autonomes (display:grid inclus)
   pour fonctionner même sans la classe de base .grille */
.grille, .grille--2, .grille--3, .grille--4 { display: grid; gap: var(--s4); }
.grille--2 { grid-template-columns: 1fr; }
.grille--3 { grid-template-columns: 1fr; }
.grille--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) {
  .grille--2 { grid-template-columns: 1fr 1fr; }
  .grille--3 { grid-template-columns: repeat(3, 1fr); }
  .grille--4 { grid-template-columns: repeat(4, 1fr); }
}
.media-texte { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 900px) {
  .media-texte { grid-template-columns: 3fr 2fr; }
  .media-texte--inverse { grid-template-columns: 2fr 3fr; }
  .media-texte--inverse > figure { order: 2; }
}

/* ---- Boutons ---- */
.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: var(--rayon);
  text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; text-align: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primaire { background: var(--terracotta); color: #fff; box-shadow: 0 1px 2px rgba(56,53,58,.12); }
.btn--primaire:hover { background: var(--terracotta-fonce); color: #fff; transform: translateY(-1px); box-shadow: var(--ombre); }
.btn--secondaire { background: transparent; color: var(--terracotta-fonce); border-color: var(--terracotta); }
.btn--secondaire:hover { background: var(--terracotta); color: #fff; transform: translateY(-1px); }
.section--fonce .btn--primaire, .section--brun .btn--primaire { background: var(--terracotta); color: #fff; }
.section--fonce .btn--primaire:hover, .section--brun .btn--primaire:hover { background: #fff; color: var(--charbon); }
.section--fonce .btn--secondaire, .section--brun .btn--secondaire { color: var(--creme); border-color: var(--creme); }
.section--fonce .btn--secondaire:hover, .section--brun .btn--secondaire:hover { background: var(--creme); color: var(--charbon); }
.btn[disabled], .btn.est-desactive { opacity: .45; cursor: default; pointer-events: none; transform: none; }
.lien-secondaire { font-weight: 600; }

/* ---- Header (une seule ligne : logo · menu · téléphone + CTA) ---- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: var(--creme);
  border-bottom: 1px solid var(--bordure);
}
.entete__haut {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); min-height: 74px;
}
.entete__logo { display: inline-flex; align-items: center; line-height: 0; flex: 0 0 auto; }
.entete__logo img { height: 40px; width: auto; transition: opacity .2s ease; }
@media (min-width: 1440px) { .entete__logo img { height: 46px; } }
.entete__logo:hover img { opacity: .78; }
.entete__actions { display: flex; align-items: center; gap: var(--s2); flex: 0 0 auto; }
/* Numéro de téléphone en bouton secondaire entouré, icône monochrome */
.entete__tel {
  display: none; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 600; font-size: 1rem; line-height: 1;
  color: var(--charbon); white-space: nowrap;
  border: 1.5px solid var(--bordure); border-radius: var(--rayon);
  padding: 14px 20px; transition: border-color .18s ease, color .18s ease;
}
/* CTA header : téléphone et « Prendre rendez-vous » strictement de même hauteur */
.entete__actions .btn { line-height: 1; }
.entete__tel .ico-tel { color: var(--charbon); opacity: .7; transition: color .18s, opacity .18s; }
.entete__tel:hover { color: var(--terracotta); border-color: var(--terracotta); }
.entete__tel:hover .ico-tel { color: var(--terracotta); opacity: 1; }
@media (min-width: 1440px) { .entete__tel { display: inline-flex; } }

/* Navigation desktop : dans la même ligne, entre le logo et les actions */
.nav { display: none; }
@media (min-width: 1200px) {
  .nav { display: block; flex: 1 1 auto; }
  .nav > ul {
    display: flex; flex-wrap: nowrap; justify-content: center; align-items: center;
    gap: clamp(12px, 1.8vw, 30px);
    list-style: none; margin: 0; padding: 0;
  }
  .nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--charbon); white-space: nowrap; display: inline-flex; align-items: center; }
  .nav > ul > .nav__item { position: relative; }
  .nav > ul > .nav__item > a { padding: 26px 2px; border-bottom: 2px solid transparent; transition: color .18s ease, border-color .18s ease; }
  .nav > ul > .nav__item > a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }
  .nav__sous {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 250px;
    background: var(--creme); border: 1px solid var(--bordure); border-radius: var(--rayon);
    box-shadow: var(--ombre-forte); padding: var(--s1);
    list-style: none; margin: 0; opacity: 0; visibility: hidden; translate: 0 6px;
    transition: opacity .18s ease, translate .18s ease, visibility .18s;
  }
  .nav__item:hover > .nav__sous, .nav__item:focus-within > .nav__sous { opacity: 1; visibility: visible; translate: 0 0; }
  .nav__sous li { padding: 0; }
  .nav__sous a { font-weight: 400; padding: 9px 12px; border-radius: 4px; width: 100%; }
  .nav__sous a:hover { background: var(--creme-fonce); color: var(--terracotta); }
  .nav__sous .nav__voir-tout a { font-weight: 600; }
}
.burger {
  display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
  background: none; border: none; padding: 12px; cursor: pointer;
}
.burger span { width: 24px; height: 2px; background: var(--charbon); transition: background .2s ease; }
.burger:hover span { background: var(--terracotta); }
@media (min-width: 1200px) { .burger { display: none; } }

/* Menu mobile */
.menu-mobile {
  display: none;
  border-top: 1px solid var(--bordure);
  background: var(--creme);
  max-height: calc(100vh - 68px); overflow-y: auto;
}
.menu-mobile.est-ouvert { display: block; }
.menu-mobile ul { list-style: none; margin: 0; padding: var(--s2) var(--s3) var(--s4); }
.menu-mobile > ul > li { border-bottom: 1px solid var(--bordure); }
.menu-mobile a { display: block; padding: 14px 4px; text-decoration: none; font-weight: 600; }
.menu-mobile .menu-mobile__sous a { font-weight: 400; padding: 10px 4px 10px 20px; }
.menu-mobile details summary { padding: 14px 4px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.menu-mobile details summary::after { content: "+"; font-size: 1.2rem; color: var(--brun); }
.menu-mobile details[open] summary::after { content: "–"; }
.menu-mobile__contact { padding: var(--s3); background: var(--creme-fonce); border-radius: var(--rayon); margin-top: var(--s3); }

/* Sticky mobile bas — UNE seule action */
.sticky-mobile {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--bordure);
}
.sticky-mobile__tel { display: none; }
.sticky-mobile a {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 8px; min-height: 52px;
  font-weight: 600; text-decoration: none; font-size: 1rem;
}
.sticky-mobile__rdv { background: var(--berry); color: #fff; }
@media (min-width: 768px) { .sticky-mobile { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 54px; } }

/* ---- Breadcrumb ---- */
.fil { font-size: .88rem; padding-top: var(--s2); padding-bottom: var(--s2); }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.fil li + li::before { content: "›"; margin-right: 6px; color: var(--brun); }
.fil a { text-decoration: none; color: var(--brun); }
.fil [aria-current] { color: var(--charbon); }

/* ---- Hero ---- */
.hero { padding: var(--s5) 0 var(--s6); }
.hero--visuel { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 900px) { .hero--visuel { grid-template-columns: 1.1fr 1fr; } }
.hero__photo img { border-radius: var(--rayon-image); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-top: var(--s3); }
.hero--sobre { padding: var(--s5) 0; border-bottom: 1px solid var(--bordure); }

/* ---- Cartes ---- */
.carte {
  background: var(--creme); border: 1px solid var(--bordure); border-radius: var(--rayon);
  overflow: hidden; display: flex; flex-direction: column;
}
.carte img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.carte__corps { padding: var(--s3); flex: 1; display: flex; flex-direction: column; gap: var(--s1); }
.carte__corps h3 { margin: 0; }
.carte__corps p { margin: 0; font-size: .95rem; }
.carte__lien { margin-top: auto; font-weight: 600; text-decoration: none; }
.carte__lien::after { content: " →"; }
.carte a.carte__couverture { text-decoration: none; }

/* ---- Encadré « le conseil de Dvora » ---- */
.conseil-dvora {
  background: var(--creme-fonce);
  border-left: 3px solid var(--or);
  border-radius: 0 var(--rayon) var(--rayon) 0;
  padding: var(--s3) var(--s4);
  margin: var(--s4) 0;
}
.conseil-dvora h3, .conseil-dvora .conseil-dvora__titre {
  font-family: var(--serif); font-size: 1.15rem; margin-bottom: var(--s1);
}

/* ---- Étapes numérotées ---- */
.etapes { list-style: none; counter-reset: etape; padding: 0; display: grid; gap: var(--s3); }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 48px 1fr; gap: var(--s2); align-items: start; }
.etapes li::before {
  content: counter(etape);
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  width: 44px; height: 44px; border: 1.5px solid var(--or); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.etapes h3 { margin-bottom: 4px; }
.etapes p { margin: 0; }

/* ---- Accordéons (FAQ) ---- */
.accordeon { border-top: 1px solid var(--bordure); }
.accordeon details { border-bottom: 1px solid var(--bordure); }
.accordeon summary {
  cursor: pointer; padding: var(--s3) var(--s5) var(--s3) 0; position: relative;
  font-weight: 600; font-size: 1.05rem; list-style: none;
}
.accordeon summary::-webkit-details-marker { display: none; }
.accordeon summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--brun);
}
.accordeon details[open] summary::after { content: "–"; }
.accordeon .accordeon__contenu { padding: 0 0 var(--s3); }

/* ---- Bloc avis ---- */
.avis { display: grid; gap: var(--s3); }
.avis blockquote {
  margin: 0; padding: var(--s3);
  background: var(--creme-fonce); border-radius: var(--rayon);
  font-style: italic;
}
.avis blockquote footer { font-style: normal; font-weight: 600; margin-top: var(--s1); font-size: .92rem; }
.note-google { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.note-google .etoiles { color: var(--or); letter-spacing: 2px; font-style: normal; }

/* ---- Galerie ---- */
.galerie-grille { display: grid; gap: var(--s2); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .galerie-grille { grid-template-columns: repeat(3, 1fr); } }
.galerie-grille img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); width: 100%; }
.galerie-grille figcaption { font-size: .85rem; color: var(--brun); padding-top: 4px; }

/* ---- Tableaux ---- */
.tableau-defilant { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--bordure); vertical-align: top; }
th { font-weight: 600; background: var(--creme-fonce); }

/* ---- Formulaires ---- */
.formulaire { display: grid; gap: var(--s3); max-width: 560px; }
.champ label { display: block; font-weight: 600; margin-bottom: 6px; }
.champ input, .champ textarea, .champ select {
  width: 100%; padding: 12px 14px; font: inherit;
  border: 1.5px solid var(--brun); border-radius: var(--rayon);
  background: #fff; color: var(--charbon);
}
.champ .champ__aide { font-size: .85rem; color: var(--brun); margin-top: 4px; }
.champ.a-erreur input, .champ.a-erreur textarea { border-color: #A33D2E; }
.champ__erreur { color: #A33D2E; font-size: .88rem; margin-top: 4px; display: none; }
.champ.a-erreur .champ__erreur { display: block; }
.formulaire__confirmation {
  display: none; background: var(--creme-fonce); border-left: 3px solid var(--or);
  padding: var(--s3); border-radius: 0 var(--rayon) var(--rayon) 0;
}
.formulaire.est-envoye .formulaire__confirmation { display: block; }
.formulaire.est-envoye .formulaire__champs { display: none; }
.consentement { display: flex; gap: 10px; align-items: start; font-size: .9rem; }
.consentement input { width: auto; margin-top: 4px; }

/* ---- Bandeau CTA final ---- */
.bandeau-cta { text-align: center; }
.bandeau-cta .hero__actions { justify-content: center; }

/* ---- Bloc pages associées ---- */
.associes { border-top: 1px solid var(--bordure); }
.associes h2 { font-size: 1.4rem; }

/* ---- Infos pratiques / NAP ---- */
.infos-pratiques { display: grid; gap: var(--s3); }
@media (min-width: 768px) { .infos-pratiques { grid-template-columns: 1fr 1fr; } }
.infos-pratiques dl { margin: 0; }
.infos-pratiques dt { font-weight: 600; }
.infos-pratiques dd { margin: 0 0 var(--s2); }
.horaires { list-style: none; padding: 0; margin: 0; }
.horaires li { display: flex; justify-content: space-between; gap: var(--s2); padding: 6px 0; border-bottom: 1px dashed var(--bordure); }

/* ---- Vidéo cliquable (pas d'autoplay) ---- */
.video-poster { position: relative; cursor: pointer; border: none; padding: 0; background: none; width: 100%; }
.video-poster img { border-radius: var(--rayon); width: 100%; }
.video-poster::after {
  content: "▶"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--creme); background: rgba(43,39,36,.25); border-radius: var(--rayon);
}

/* ---- Footer ---- */
.pied { background: var(--charbon); color: var(--creme); margin-top: var(--s6); }
.pied a { color: var(--creme); }
.pied__grille { display: grid; gap: var(--s4); padding: var(--s6) 0; }
@media (min-width: 768px) { .pied__grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.pied h2 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--creme); margin-bottom: var(--s2); }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { padding: 4px 0; }
.pied .horaires li { border-color: rgba(247,242,236,.25); }
.pied__legal {
  border-top: 1px solid rgba(247,242,236,.25);
  padding: var(--s3) 0; font-size: .88rem;
  display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between;
}
.pied__legal ul { display: flex; gap: var(--s3); list-style: none; margin: 0; padding: 0; }
.filet-or { border: none; border-top: 2px solid var(--or); width: 64px; margin: 0 0 var(--s3); }

/* ---- Bandeau prototype (retiré en production) ---- */
.bandeau-proto {
  background: var(--creme-fonce); border-bottom: 1px solid var(--bordure);
  font-size: .82rem; text-align: center; padding: 6px var(--s2); color: var(--brun);
}

/* ---- Utilitaires ---- */
.visuellement-cache {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.centre { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ============================================================
   Survols & vie (respecte prefers-reduced-motion via règle globale)
   ============================================================ */
.pied__logo { max-width: 180px; height: auto; margin-bottom: var(--s2); }
.filet-or { border-top-color: var(--terracotta); }
.menu-mobile details summary::after { color: var(--terracotta); }
.menu-mobile a:hover { color: var(--terracotta); }

/* Cartes : survol sobre (pas d'élévation ni de zoom systématiques) */
.carte { transition: border-color .18s ease; }
.carte:hover { border-color: var(--berry); }

/* Galerie : zoom doux au survol, coin qui se teinte */
.galerie-grille figure { overflow: hidden; border-radius: var(--rayon); }
.galerie-grille img { transition: transform .5s ease; border-radius: var(--rayon-image); }
.galerie-grille figure:hover img { transform: scale(1.03); }

/* Liens de carte / « voir tous » : la flèche avance */
.carte__lien { color: var(--terracotta-fonce); transition: color .18s ease; }
.carte:hover .carte__lien { color: var(--terracotta); }
.carte__lien::after { display: inline-block; transition: transform .2s ease; }
.carte:hover .carte__lien::after { transform: translateX(4px); }

/* Boutons héros : micro-mouvement déjà géré par .btn:hover ; liens texte soulignés animés */
.lien-secondaire { position: relative; text-decoration: none; }
.lien-secondaire::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.lien-secondaire:hover::after { transform: scaleX(1); }

/* Accent mauve pour les emphases éditoriales (comme l'original) */
em, .emphase { color: var(--mauve); font-style: italic; }
.conseil-dvora em { color: var(--terracotta-fonce); }

/* Note Google : étoiles terracotta */
.note-google .etoiles { color: var(--terracotta); }

/* Images de contenu : coin arrondi + ombre douce au survol dans les blocs média */
.media-texte figure img, .hero__photo img { transition: box-shadow .3s ease; }
.media-texte figure:hover img { box-shadow: var(--ombre-forte); }

/* Mobile : bouton contact du header redondant avec la barre du bas → masqué */
@media (max-width: 767px) {
  .entete__contact { display: none; }
  .entete__haut { min-height: 64px; }
  .entete__logo img { height: 40px; }
}

/* Vidéos (clip court, jamais d'autoplay) */
.video-clip { margin: var(--s4) auto 0; max-width: 760px; }
.video-clip video { width: 100%; height: auto; border-radius: var(--rayon); box-shadow: var(--ombre); display: block; background: var(--charbon); }

/* Sur-titre éditorial (eyebrow) */
.hero__surtitre { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta-fonce); font-weight: 600; margin: 0 0 var(--s2); }
.hero h1 { margin-bottom: var(--s3); }

/* ============================================================
   Hero plein écran (vidéo/photo en fond) + filigrane boutique
   ============================================================ */
.hero-plein {
  position: relative; display: flex; align-items: center;
  min-height: 82vh; overflow: hidden; background: var(--charbon);
}
.hero-plein__media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-plein__voile {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(43,39,36,.78) 0%, rgba(43,39,36,.55) 42%, rgba(43,39,36,.18) 100%);
}
.hero-plein__contenu {
  position: relative; z-index: 2; color: #fff; max-width: 640px;
  padding-block: var(--s7);
}
.hero-plein__contenu h1, .hero-plein__contenu .lead, .hero-plein__contenu small { color: #fff; }
.hero-plein__contenu .lead { opacity: .95; }
.hero-plein__contenu small { opacity: .85; }
.hero-plein__contenu .hero__surtitre { color: #fff; opacity: .92; }
@media (max-width: 640px) { .hero-plein { min-height: 74vh; } .hero-plein__voile { background: linear-gradient(180deg, rgba(43,39,36,.55), rgba(43,39,36,.75)); } }

/* Bouton fantôme (sur média sombre) */
.btn--fantome { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(2px); }
.btn--fantome:hover { background: #fff; color: var(--charbon); border-color: #fff; transform: translateY(-1px); }

/* Filigrane : UNIQUE, opt-in (.filigrane-unique), utilisé une seule fois sur le site */
.section--fonce, .section--brun, .bandeau-cta { position: relative; overflow: hidden; }
.bandeau-cta .conteneur { position: relative; z-index: 1; }
.filigrane-unique::before {
  content: "Dvora K"; position: absolute; right: -2%; bottom: -28%;
  font-family: var(--serif); font-style: italic; font-size: clamp(9rem, 22vw, 22rem);
  color: #fff; opacity: .05; pointer-events: none; line-height: 1; white-space: nowrap; z-index: 0;
}

/* Fond pierre : usage ponctuel et intentionnel (pas d'alternance automatique) */
.section--alt { background-color: var(--pierre); }

/* Reduced motion : la vidéo de fond ne s'anime pas (gérée aussi en JS) */
@media (prefers-reduced-motion: reduce) {
  .hero-plein__media { display: none; }
}

/* ============================================================
   Carrousel de témoignages (avis) — étoiles + badge Google
   ============================================================ */
.temoignages { position: relative; }
.temoignages__piste {
  display: flex; gap: var(--s3); overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px var(--s2); -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.temoignages__piste::-webkit-scrollbar { display: none; }
.temoignage {
  flex: 0 0 100%; scroll-snap-align: center;
  background: var(--creme); border: 1px solid var(--bordure);
  border-radius: var(--rayon); padding: var(--s4); box-shadow: var(--ombre);
  display: flex; flex-direction: column;
}
@media (min-width: 760px) { .temoignage { flex-basis: calc(50% - var(--s3) / 2); } }
@media (min-width: 1080px) { .temoignage { flex-basis: calc(33.333% - var(--s3) * 2 / 3); } }
.temoignage__etoiles { color: #FBBC04; letter-spacing: 2px; font-size: 1.05rem; }
.temoignage__texte { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--charbon); margin: var(--s2) 0 var(--s3); }
.temoignage__auteur { margin-top: auto; font-weight: 600; color: var(--charbon); }
.temoignage__google { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--brun); font-weight: 400; margin-top: 4px; }
.temoignage__google svg { flex: 0 0 auto; }
.temoignages__nav { display: flex; gap: 10px; justify-content: center; margin-top: var(--s3); }
.temoignages__nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--bordure);
  background: var(--creme); cursor: pointer; font-size: 1.2rem; color: var(--charbon);
  transition: border-color .18s, color .18s;
}
.temoignages__nav button:hover { border-color: var(--terracotta); color: var(--terracotta); }
/* Bandeau avis compact (pages services) sur fond grège */
.avis-bandeau { background: var(--creme-fonce); }
.avis-bandeau .note-google { justify-content: center; }

/* Étoiles de note globale = doré Google (indicateur de note, pas accent de marque) */
.note-google .etoiles { color: #FBBC04 !important; }

/* ============================================================
   COMPOSANTS ÉDITORIAUX v3 — remplacent la logique "cartes partout"
   ============================================================ */

/* Rythme : modificateurs de densité (fini le padding unique) */
.section--compacte { padding: var(--s4) 0; }
.section--respirante { padding: clamp(96px, 12vh, 128px) 0; }
@media (min-width: 768px) { .section--compacte { padding: var(--s5) 0; } }

/* Bande image pleine largeur (casse le conteneur) */
.pleine-largeur { width: 100%; }
.pleine-largeur img, .pleine-largeur video { width: 100%; height: min(72vh, 640px); object-fit: cover; display: block; border-radius: 0; }
.pleine-largeur figcaption { max-width: var(--conteneur); margin: 10px auto 0; padding: 0 var(--s3); font-size: .88rem; color: var(--taupe); }

/* Mosaïque lookbook : rangée éditoriale asymétrique (1 grande + 2 moyennes) */
.mosaique { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.mosaique > figure { position: relative; overflow: hidden; border-radius: var(--rayon-image); margin: 0; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaique > figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.mosaique > figure:not(:first-child) { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .mosaique { grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .mosaique > figure:first-child { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
  .mosaique > figure:not(:first-child) { aspect-ratio: auto; min-height: 240px; }
}
.mosaique .legende {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 16px 12px; color: #fff; font-size: .92rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(30,26,28,.68)); text-decoration: none;
}
.mosaique a.legende:hover { color: #fff; text-decoration: underline; }

/* Split éditorial asymétrique (image dominante + colonne texte) */
.split { display: grid; gap: var(--s4); align-items: end; }
@media (min-width: 900px) {
  .split { grid-template-columns: 7fr 5fr; }
  .split--inverse { grid-template-columns: 5fr 7fr; }
  .split--inverse > figure { order: 2; }
}
.split > figure img { border-radius: var(--rayon-image); width: 100%; }
.split h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }

/* Bande "détails" : défilement horizontal de gros plans (le naturel de près) */
.details-bande { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.details-bande::-webkit-scrollbar { display: none; }
.details-bande figure { flex: 0 0 72%; scroll-snap-align: start; margin: 0; }
@media (min-width: 768px) { .details-bande figure { flex-basis: 31%; } }
.details-bande img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--rayon-image); }
.details-bande figcaption { font-size: .85rem; color: var(--taupe); padding-top: 6px; }

/* Avant / après */
.avant-apres { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.avant-apres figure { position: relative; margin: 0; }
.avant-apres img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--rayon-image); }
.avant-apres figcaption {
  position: absolute; top: 10px; left: 10px; background: rgba(30,26,28,.72); color: #fff;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px;
}

/* Réassurance en une ligne (pas de cartes) */
.preuves-ligne { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 0; list-style: none; font-size: .95rem; }
.preuves-ligne li { display: inline-flex; align-items: center; gap: 8px; color: var(--encre); font-weight: 600; }
.preuves-ligne li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--berry-clair); }
.preuves-ligne a { text-decoration: none; color: inherit; border-bottom: 1px solid var(--bordure); }
.preuves-ligne a:hover { border-color: var(--berry); color: var(--berry); }

/* Citation intégrée (témoignage court dans une composition) */
.citation-integree { border-left: 2px solid var(--berry-clair); padding: 4px 0 4px 20px; margin: var(--s4) 0; }
.citation-integree p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; color: var(--encre); margin-bottom: 6px; }
.citation-integree footer { font-size: .9rem; color: var(--taupe); }

/* Sélection visuelle compacte (styles voisins — remplace le bloc "associés" en cartes) */
.voisins { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .voisins { grid-template-columns: repeat(4, 1fr); } }
.voisins a { position: relative; display: block; border-radius: var(--rayon-image); overflow: hidden; text-decoration: none; }
.voisins img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform .4s ease; }
.voisins a:hover img { transform: scale(1.03); }
.voisins span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 12px 10px;
  color: #fff; font-weight: 600; font-size: .92rem;
  background: linear-gradient(transparent, rgba(30,26,28,.66));
}

/* Chapitre de lookbook (titre latéral + contenu) */
.chapitre { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .chapitre { grid-template-columns: 240px 1fr; align-items: start; } .chapitre > h2, .chapitre > h3 { position: sticky; top: 120px; } }
.chapitre > h2, .chapitre > h3 { font-size: 1.35rem; border-top: 2px solid var(--berry-clair); padding-top: 12px; }

/* Nuancier couleur (hub couleur) */
.nuancier { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
@media (min-width: 900px) { .nuancier { grid-template-columns: repeat(3,1fr); } }
.nuancier figure { margin: 0; }
.nuancier img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--rayon-image); }
.nuancier figcaption { padding-top: 8px; font-weight: 600; color: var(--encre); }
.nuancier .sous-ton { display: block; font-weight: 400; font-size: .88rem; color: var(--taupe); }

/* Étapes visuelles (tutoriel) : photo + numéro discret */
.etapes-visuelles { display: grid; gap: var(--s4); }
@media (min-width: 768px) { .etapes-visuelles { grid-template-columns: repeat(2, 1fr); } }
.etapes-visuelles figure { margin: 0; counter-increment: etapev; }
.etapes-visuelles img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--rayon-image); }
.etapes-visuelles figcaption { padding-top: 8px; font-size: .95rem; }
.etapes-visuelles figcaption strong::before { content: counter(etapev) ". "; color: var(--berry); }

/* Titres alignés gauche par défaut dans les nouveaux masters */
.master h2, .master h3 { text-align: left; }

/* ============================================================
   MASTERS T3 (perruques-longues / couleurs) — ajouts .master-*
   ============================================================ */
/* Intro sous le hero pleine largeur d'une page style */
.master-hero-intro { padding: var(--s5) 0; border-bottom: 1px solid var(--bordure); }
.master-hero-intro .lead { max-width: 58ch; }
/* Sélection voisins limitée à 3 vignettes (page couleurs) */
@media (min-width: 768px) { .master-voisins-3 { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   AJOUTS MASTERS v3 (préfixe .master-*) — ne modifie rien au-dessus
   ============================================================ */

/* Trio de réalisations (mosaïque courte : 1 grande + 2 sur mobile, 3 égales en desktop) */
.master-trio { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.master-trio figure { margin: 0; overflow: hidden; border-radius: var(--rayon-image); }
.master-trio img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.master-trio figure:first-child { grid-column: 1 / -1; }
.master-trio figure:first-child img { aspect-ratio: 16 / 10; }
@media (min-width: 768px) {
  .master-trio { grid-template-columns: repeat(3, 1fr); }
  .master-trio figure:first-child { grid-column: auto; }
  .master-trio figure:first-child img { aspect-ratio: 4 / 5; }
}

/* Trois parcours humains : compositions image + récit, pas des cartes */
.master-parcours { display: grid; gap: var(--s4); }
@media (min-width: 768px) { .master-parcours { grid-template-columns: repeat(3, 1fr); gap: var(--s3); } }
.master-parcours article { margin: 0; }
.master-parcours img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--rayon-image); display: block; margin-bottom: var(--s2); }
.master-parcours h3 { margin-bottom: 6px; }
.master-parcours p { margin: 0 0 8px; color: var(--taupe); }

/* Variantes de largeur pour .voisins (chapitres à 2 ou 3 entrées) */
@media (min-width: 768px) {
  .voisins.master-voisins-3 { grid-template-columns: repeat(3, 1fr); }
  .voisins.master-voisins-2 { grid-template-columns: repeat(2, 1fr); }
}

/* Liens éditoriaux « par usage » : sobres, en texte, pas en cartes */
.master-usages { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.master-usages li { border-top: 1px solid var(--bordure); padding-top: var(--s2); }
.master-usages a { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; text-decoration: none; color: var(--encre); }
.master-usages a:hover { color: var(--berry); }
.master-usages p { margin: 6px 0 0; color: var(--taupe); }

/* Mesure de lecture confortable, alignée à gauche (pas centrée) */
.master-mesure { max-width: 780px; }

/* Bloc horaires/adresse compact dans un split */
.master-coordonnees { display: grid; gap: var(--s2); font-size: .95rem; margin: var(--s3) 0 0; }
.master-coordonnees p { margin: 0; }

/* ============================================================
   Masters 5-8 (v3) — compléments ponctuels (.master-*)
   ============================================================ */
.master-byline { font-size: .9rem; color: var(--taupe); margin: -6px 0 var(--s3); }
.master-duo { display: grid; gap: var(--s4); }
@media (min-width: 768px) { .master-duo { grid-template-columns: 1fr 1fr; } }
.master-crop-32 img { aspect-ratio: 3 / 2; object-fit: cover; }
.master-focus-haut img { object-position: 50% 18%; }
.master-remb { list-style: none; padding: 0; margin: 0 0 var(--s3); }
.master-remb li { padding: 10px 0; border-bottom: 1px solid var(--bordure); }
.master .video-clip { max-width: 420px; margin-left: 0; }

/* ============================================================
   RETOURS CLIENT v3.1
   ============================================================ */

/* Header transparent (home) : par-dessus le hero, texte blanc */
.entete--transparente {
  position: absolute; top: 0; left: 0; right: 0;
  background: transparent; border-bottom-color: transparent;
  transition: background .25s ease, border-color .25s ease;
}
.entete--transparente + .fil { display: none; }
.entete--transparente .nav a,
.entete--transparente .entete__tel { color: #fff; }
.entete--transparente .entete__tel { border-color: rgba(255,255,255,.55); }
.entete--transparente .entete__tel .ico-tel { color: #fff; opacity: .85; }
.entete--transparente .burger span { background: #fff; }
.entete--transparente .nav > ul > .nav__item > a:hover { color: #fff; border-bottom-color: #fff; }
.entete--transparente .bandeau-proto { background: rgba(46,42,43,.85); color: #fff; border-bottom: none; }
.entete--transparente .bandeau-proto a { color: #fff; }
/* au scroll, la classe .est-solide est ajoutée par JS : fond ivoire + logo sombre */
.entete--transparente.est-solide {
  position: fixed; background: var(--ivoire); border-bottom-color: var(--bordure);
}
.entete--transparente.est-solide .nav a, .entete--transparente.est-solide .entete__tel { color: var(--encre); }
.entete--transparente.est-solide .burger span { background: var(--encre); }
.entete--transparente.est-solide .logo-blanc { display: none; }
.entete--transparente.est-solide .logo-sombre { display: inline; }
.entete--transparente .logo-sombre { display: none; }
.entete--transparente.est-solide .bandeau-proto { display: none; }
/* le hero commence sous le header transparent */
.hero-plein { margin-top: 0; }

/* Sticky mobile façon app : 3 actions égales, icône + label */
.sticky-mobile {
  grid-template-columns: repeat(3, 1fr); gap: 0;
  background: var(--ivoire); border-top: 1px solid var(--bordure);
}
.sticky-mobile a {
  flex-direction: column; gap: 3px; padding: 8px 4px 9px; min-height: 56px;
  font-size: .74rem; font-weight: 600; color: var(--encre); background: var(--ivoire);
  border-right: 1px solid var(--bordure);
}
.sticky-mobile a:last-child { border-right: none; }
.sticky-mobile a svg { color: var(--berry); }
.sticky-mobile a:active { background: var(--pierre); }
.sticky-mobile { display: none; }
@media (max-width: 767px) { .sticky-mobile { display: grid; } }

/* Largeurs uniformes : la colonne étroite s'aligne à GAUCHE du conteneur */
.conteneur.section--etroite { max-width: var(--conteneur); }
.conteneur.section--etroite > * { max-width: 800px; }
.conteneur.section--etroite > .accordeon,
.conteneur.section--etroite > .avis { max-width: 800px; }
.centre.conteneur.section--etroite > * { margin-left: auto; margin-right: auto; }

/* Texte sticky quand l'image est plus haute (desktop) */
@media (min-width: 900px) {
  .split, .split--inverse, .media-texte { align-items: start; }
  .split > div, .split--inverse > div, .media-texte > div {
    position: sticky; top: 120px;
  }
}

/* Footer : pas de soulignement, hover léger */
.pied a { text-decoration: none; opacity: .92; transition: opacity .15s ease, color .15s ease; }
.pied a:hover { opacity: 1; color: #fff; text-decoration: none; }
.pied .horaires li { border-bottom: none; padding: 3px 0; }

/* CTA : taille unique — les liens secondaires dans les zones d'action deviennent des boutons */
.hero__actions .lien-secondaire, .bandeau-cta .lien-secondaire {
  display: inline-block; padding: 14px 28px; border: 1.5px solid var(--berry);
  border-radius: var(--rayon); text-decoration: none; font-weight: 600;
  color: var(--berry); text-align: center;
}
.section--fonce .hero__actions .lien-secondaire, .section--brun .hero__actions .lien-secondaire,
.section--fonce .bandeau-cta .lien-secondaire, .section--brun .bandeau-cta .lien-secondaire {
  color: var(--creme); border-color: rgba(255,255,255,.6);
}
.hero__actions .lien-secondaire:hover { background: var(--berry); color: #fff; }
.hero__actions { align-items: stretch; }
.hero__actions .btn, .hero__actions .lien-secondaire { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; }

/* Double logo : par défaut le sombre ; en transparent le blanc */
.entete .logo-blanc { display: none; }
.entete--transparente:not(.est-solide) .logo-blanc { display: inline; }
.entete--transparente:not(.est-solide) .logo-sombre { display: none; }

/* ============================================================
   RETOURS CLIENT v3.2 — méga-menu, sticky, sliders, citations Dvora
   ============================================================ */

/* ---- Icônes de navigation (styles de perruques) ---- */
.nav-ico { flex: 0 0 auto; color: var(--taupe); }
.nav-ico--couleur { color: inherit; }
@media (min-width: 1200px) {
  .nav__sous a { display: flex; align-items: center; gap: 10px; }
  .nav__item:hover .nav-ico, .nav__item:focus-within .nav-ico { color: var(--berry); }
}

/* ---- Méga-menu « Les perruques » : 2 colonnes, lisible ---- */
@media (min-width: 1200px) {
  .nav__sous--mega {
    left: 0; transform: none; min-width: 460px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; padding: var(--s2);
  }
  .nav__item:hover > .nav__sous--mega, .nav__item:focus-within > .nav__sous--mega { translate: 0 0; }
  .nav__sous--mega a { font-weight: 500; padding: 8px 10px; font-size: .92rem; }
}
/* FIX ton-sur-ton : sur le header transparent (home), le sous-menu garde son texte sombre */
.entete--transparente .nav__sous a,
.entete--transparente .nav__sous a span { color: var(--encre); }
.entete--transparente .nav__sous a:hover { color: var(--berry); }
.entete--transparente .nav__sous .nav-ico { color: var(--taupe); }
.entete--transparente .nav__sous a:hover .nav-ico { color: var(--berry); }

/* ---- Menu mobile : icônes + « Appeler » en bouton ---- */
.menu-mobile__sous a { display: flex; align-items: center; gap: 10px; }
.menu-mobile__sous .nav-ico { flex: 0 0 auto; color: var(--taupe); width: 20px; height: 20px; }
.menu-mobile__actions { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); margin-top: var(--s2); }
.btn--tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; color: var(--berry); border: 1.5px solid var(--berry);
}
.btn--tel:hover { background: var(--berry); color: #fff; }
.menu-mobile__actions .btn { line-height: 1; }

/* ---- Sticky mobile façon « app » : CTA proéminent + 2 icônes ---- */
.sticky-mobile {
  grid-template-columns: 1fr auto auto; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(251,248,243,.92); backdrop-filter: blur(8px);
  border-top: 1px solid var(--bordure); box-shadow: 0 -6px 20px rgba(46,42,43,.10);
  align-items: center;
}
.sticky-mobile a { border-right: none; }
.sticky-mobile a.sticky-mobile__rdv {
  flex-direction: row; gap: 8px; padding: 0 16px;
  background: var(--berry); color: #fff; border-radius: var(--rayon);
  min-height: 52px; font-size: 1.02rem; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 4px 14px rgba(166,51,138,.38);
  animation: pulse-cta 2.6s ease-in-out infinite;
}
.sticky-mobile a.sticky-mobile__rdv span { color: #fff; }
.sticky-mobile a.sticky-mobile__ico {
  flex-direction: row; gap: 0; padding: 0;
  width: 52px; min-height: 52px; border-radius: var(--rayon);
  background: #fff; border: 1.5px solid var(--bordure);
}
.sticky-mobile a.sticky-mobile__ico svg { color: var(--berry); }
.sticky-mobile a.sticky-mobile__ico--wa svg { color: #25D366; }
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 4px 14px rgba(166,51,138,.38); }
  50%      { box-shadow: 0 4px 22px rgba(166,51,138,.60); }
}
@media (prefers-reduced-motion: reduce) { .sticky-mobile__rdv { animation: none; } }

/* ---- Footer : marges latérales généreuses ---- */
.pied .conteneur { padding-left: var(--s4); padding-right: var(--s4); }
@media (min-width: 768px) { .pied .conteneur { padding-left: var(--s5); padding-right: var(--s5); } }

/* ---- Home : le contenu du hero passe SOUS le header transparent (fin de l'overlap logo/surtitre) ---- */
@media (max-width: 1199px) {
  .entete--transparente + .fil + main .hero-plein__contenu,
  .entete--transparente ~ main .hero-plein__contenu { padding-top: 132px; }
}
@media (max-width: 640px) {
  .hero-plein__contenu { padding-top: 128px; padding-bottom: var(--s5); }
}

/* ---- Étapes numérotées : chiffre parfaitement centré + apparition séquentielle ---- */
.etapes li::before { line-height: 1; padding-top: 2px; }
.etapes li { transition: opacity .5s ease, transform .5s ease; }
.js-anim .etapes li { opacity: 0; transform: translateY(10px); }
.js-anim .etapes.est-visible li { opacity: 1; transform: none; }
.js-anim .etapes.est-visible li:nth-child(1) { transition-delay: .05s; }
.js-anim .etapes.est-visible li:nth-child(2) { transition-delay: .30s; }
.js-anim .etapes.est-visible li:nth-child(3) { transition-delay: .55s; }
.js-anim .etapes.est-visible li:nth-child(4) { transition-delay: .80s; }
/* le chiffre « tombe » dans le cercle après la carte */
.js-anim .etapes li::before { transition: opacity .4s ease, transform .4s ease; }
.js-anim .etapes.est-visible li::before { animation: chiffre-pop .5s both; }
.js-anim .etapes.est-visible li:nth-child(1)::before { animation-delay: .20s; }
.js-anim .etapes.est-visible li:nth-child(2)::before { animation-delay: .45s; }
.js-anim .etapes.est-visible li:nth-child(3)::before { animation-delay: .70s; }
.js-anim .etapes.est-visible li:nth-child(4)::before { animation-delay: .95s; }
@keyframes chiffre-pop { 0% { opacity: 0; transform: scale(.4); } 60% { transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .js-anim .etapes li, .js-anim .etapes li::before { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---- Indicateur « ça défile » sous les sliders (façon Zabilo) ---- */
/* ---- Carrousels : cadre, flèches, glisser ---- */
.slider { position: relative; }
.slider__piste { cursor: grab; scroll-behavior: smooth; }
.slider__piste:focus-visible { outline: 2px solid var(--berry); outline-offset: 4px; border-radius: var(--rayon-image); }
.slider__piste.est-saisi { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; user-select: none; }
.slider__piste.est-saisi img { pointer-events: none; }

.slider__fleche {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; display: none;
  align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .92); color: var(--charbon);
  border: 1px solid var(--bordure); box-shadow: 0 2px 12px rgba(30, 26, 28, .18);
  cursor: pointer; transition: background .15s ease, color .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.slider.est-defilable .slider__fleche { display: flex; }
.slider__fleche--prec { left: -10px; }
.slider__fleche--suiv { right: -10px; }
.slider__fleche:hover { background: #fff; color: var(--berry); box-shadow: 0 4px 18px rgba(30, 26, 28, .26); }
.slider__fleche:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }
.slider__fleche[disabled] { opacity: .3; cursor: default; box-shadow: none; }
.slider__fleche[disabled]:hover { background: rgba(255, 255, 255, .92); color: var(--charbon); }

/* Sur mobile, le doigt suffit : pas de flèches, l'indice et la photo tronquée guident. */
@media (max-width: 767px) { .slider__fleche { display: none !important; } }
@media (hover: none) { .slider__piste { cursor: auto; } }

.slider-hint { display: flex; align-items: center; gap: 10px; margin-top: var(--s2); }
.slider-hint[hidden] { display: none; }
.slider-hint__piste { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--bordure); overflow: hidden; }
.slider-hint__pouce { position: absolute; top: 0; left: 0; height: 100%; width: 30%; border-radius: 3px; background: var(--berry); transition: left .15s ease; }
.slider-hint__txt { flex: 0 0 auto; font-size: .8rem; color: var(--taupe); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.slider-hint__txt svg { color: var(--berry); animation: glisse 1.6s ease-in-out infinite; }
@keyframes glisse { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (min-width: 900px) { .slider-hint { max-width: 420px; } }
@media (prefers-reduced-motion: reduce) { .slider-hint__txt svg { animation: none; } }

/* ---- Bulle de citation de Dvora (avec son portrait) ---- */
.citation-dvora { display: flex; gap: var(--s3); align-items: flex-start; margin: var(--s5) auto; }
.citation-dvora__avatar {
  flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--berry-clair); box-shadow: var(--ombre-forte);
}
.citation-dvora__avatar img { width: 100%; height: 100%; object-fit: cover; }
.citation-dvora__bulle {
  position: relative; background: var(--pierre); border-radius: 4px 20px 20px 20px;
  padding: var(--s4) var(--s5); flex: 1; margin: 0;
  border-left: 3px solid var(--berry-clair);
}
.citation-dvora__bulle::before {
  content: ""; position: absolute; left: -12px; top: 24px;
  border-width: 10px 12px 10px 0; border-style: solid; border-color: transparent var(--pierre) transparent transparent;
}
.citation-dvora__bulle p { font-family: var(--serif); font-size: clamp(1.18rem, 2vw, 1.45rem); line-height: 1.55; color: var(--encre); margin: 0; text-wrap: balance; }
.citation-dvora__bulle p.mb-0 + footer, .citation-dvora__bulle footer { margin-top: 12px; font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--taupe); font-style: normal; }
@media (min-width: 900px) {
  .citation-dvora { gap: var(--s4); }
  .citation-dvora__avatar { width: 108px; height: 108px; }
  .citation-dvora__bulle::before { top: 34px; }
}
.section--fonce .citation-dvora__bulle, .section--brun .citation-dvora__bulle { background: rgba(255,255,255,.10); }
.section--fonce .citation-dvora__bulle::before, .section--brun .citation-dvora__bulle::before { border-right-color: rgba(255,255,255,.10); }
.section--fonce .citation-dvora__bulle p, .section--brun .citation-dvora__bulle p { color: #fff; }

/* ---- Carte / accès Google Maps sur la home ---- */
.acces { display: grid; gap: var(--s4); align-items: stretch; }
@media (min-width: 900px) { .acces { grid-template-columns: 1fr 1fr; } }
.acces__carte { position: relative; border-radius: var(--rayon-image); overflow: hidden; min-height: 320px; border: 1px solid var(--bordure); }
.acces__carte iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.acces__liens { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.acces__liens a {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600;
  padding: 10px 16px; border: 1.5px solid var(--bordure); border-radius: var(--rayon); color: var(--encre);
}
.acces__liens a:hover { border-color: var(--berry); color: var(--berry); }
.acces__reperes { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: 10px; }
.acces__reperes li { position: relative; padding-left: 20px; font-size: .95rem; line-height: 1.55; }
.acces__reperes li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--berry-clair); }

/* ---- WigTips : galerie de vidéos verticales (conseils de Dvora) ---- */
.wigtips-piste { display: flex; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.wigtips-piste::-webkit-scrollbar { display: none; }
.wigtips-piste figure { flex: 0 0 68%; scroll-snap-align: start; margin: 0; }
@media (min-width: 700px) { .wigtips-piste figure { flex-basis: 30%; } }
.wigtips-piste video, .wigtips-piste .video-poster { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--rayon-image); background: var(--charbon); }
.wigtips-piste figcaption { padding-top: 8px; font-size: .92rem; color: var(--texte); }
.wigtips-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--berry); margin: 0 0 var(--s2); }

/* ---- Harmonisation du rythme vertical entre sections ---- */
/* deux sections de même fond qui se suivent ne doublent pas l'écart */
.section + .section, .master + .master { }

/* ---- Pages couleurs (cocon /couleurs/) ---- */
.liste-points { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: 10px; }
.liste-points li { padding-left: 22px; position: relative; }
.liste-points li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--berry); }
.note-photos { font-size: .92rem; color: var(--encre-douce, #5a5450); margin-top: var(--s3); max-width: 62ch; }

/* ============================================================
   Blog Conseils : bloc autrice, archive en cartes
   ============================================================ */
.byline {
  display: flex; align-items: center; gap: 12px;
  margin: var(--s3) 0 var(--s4); padding-bottom: var(--s3);
  border-bottom: 1px solid var(--bordure);
}
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 2px solid var(--berry-clair); }
.byline__qui { display: block; font-size: .95rem; color: var(--texte); }
.byline__qui a { color: inherit; text-decoration: none; }
.byline__qui a:hover { text-decoration: underline; }
.byline__meta { display: block; font-size: .84rem; color: var(--taupe); margin-top: 2px; }

.titre-archive { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.titre-archive span {
  font-family: var(--police-texte, inherit); font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--taupe);
  border: 1px solid var(--bordure); border-radius: 999px; padding: 3px 12px;
}

.grille-guides { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 620px) { .grille-guides { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grille-guides { grid-template-columns: repeat(3, 1fr); } }

.carte-guide { margin: 0; }
.carte-guide__lien {
  display: flex; flex-direction: column; height: 100%;
  text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--bordure); border-radius: 10px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.carte-guide__lien:hover, .carte-guide__lien:focus-visible {
  transform: translateY(-3px); border-color: var(--berry-clair);
  box-shadow: 0 8px 26px rgba(30, 26, 28, .13);
}
.carte-guide__lien:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }
.carte-guide__visuel { display: block; overflow: hidden; background: var(--pierre); }
.carte-guide__visuel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .4s ease; }
.carte-guide__lien:hover .carte-guide__visuel img { transform: scale(1.04); }
.carte-guide__corps { display: flex; flex-direction: column; gap: 8px; padding: var(--s3); flex: 1; }
.carte-guide__meta { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--taupe); }
.carte-guide__titre { font-family: var(--police-titre, Georgia, serif); font-size: 1.18rem; line-height: 1.25; color: var(--charbon); }
.carte-guide__chapo { font-size: .93rem; color: var(--taupe); line-height: 1.5; flex: 1; }
.carte-guide__lire {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 2px;
  font-size: .9rem; font-weight: 600; color: var(--berry);
}
.carte-guide__lire svg { transition: transform .2s ease; }
.carte-guide__lien:hover .carte-guide__lire svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .carte-guide__lien, .carte-guide__visuel img, .carte-guide__lire svg { transition: none; }
  .carte-guide__lien:hover { transform: none; }
  .carte-guide__lien:hover .carte-guide__visuel img { transform: none; }
}

/* ============================================================
   FAQ : lisibilité et repères visuels
   ============================================================ */
.accordeon summary:hover { color: var(--berry); }
.accordeon summary:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 3px; }
.accordeon details[open] summary { color: var(--berry); }
.accordeon summary::after { transition: transform .18s ease; }
.accordeon details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.accordeon .accordeon__contenu { max-width: 68ch; }
.accordeon .accordeon__contenu p:first-child strong:first-child { color: var(--charbon); }
.accordeon .accordeon__contenu p { margin-bottom: .7em; }
.accordeon .accordeon__contenu p:last-child { margin-bottom: 0; }

/* ============================================================
   Archives : rendre la navigation évidente
   ============================================================ */
/* Vignettes « à découvrir aussi » : on voit qu'on peut cliquer */
.voisins a::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 0 var(--berry-clair); transition: box-shadow .2s ease;
}
.voisins a:hover::after, .voisins a:focus-visible::after { box-shadow: inset 0 0 0 3px var(--berry-clair); }
.voisins a:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }
.voisins span::after {
  content: "›"; margin-left: 6px; display: inline-block;
  transition: transform .2s ease; font-size: 1.15em; line-height: 1;
}
.voisins a:hover span::after { transform: translateX(4px); }

/* Légendes de mosaïque : un lien doit ressembler à un lien */
.mosaique a.legende { display: inline-flex; align-items: center; gap: 6px; }
.mosaique a.legende::after { content: "›"; font-size: 1.2em; line-height: 1; transition: transform .2s ease; }
.mosaique > figure:hover a.legende::after { transform: translateX(4px); }
.mosaique > figure:has(a.legende) { cursor: pointer; }
.mosaique > figure:has(a.legende):hover img { transform: scale(1.03); }
.mosaique img { transition: transform .4s ease; }

/* Nuancier : cartouche de couleur cliquable */
.nuancier a { text-decoration: none; color: inherit; display: block; }
.nuancier a:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: var(--rayon-image); }
.nuancier figure { transition: transform .2s ease; }
.nuancier a:hover figure { transform: translateY(-2px); }
.nuancier .sous-ton { display: block; font-weight: 400; font-size: .86rem; color: var(--taupe); margin-top: 2px; }

/* Liste d'usages : chaque entrée est une porte d'entrée claire */
.master-usages { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.master-usages li { padding-left: 0; border-left: 3px solid var(--berry-clair); padding: 4px 0 4px var(--s3); }
.master-usages li > a { font-weight: 600; }
.master-usages li p { margin: 4px 0 0; color: var(--taupe); font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  .voisins span::after, .mosaique a.legende::after, .nuancier figure, .mosaique img { transition: none; }
}

}
