/* ==========================================================================
   Cabinet Dentaire Asensi & Gomez
   Design system + composants partages
   Nicolam Studio
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Palette */
  --creme: #F3EDE1;
  --creme-clair: #FAF7F0;
  --creme-profond: #EAE1D0;
  --dore: #B79A5C;
  --dore-clair: #D2BC8E;
  --dore-sombre: #9A7F45;
  --noir: #1E1B17;
  --sombre: #23211C;
  --sauge: #808C6E;
  --sauge-clair: #E4E7DC;
  --blanc: #FFFFFF;

  /* Texte */
  --texte: #1E1B17;
  --texte-doux: #5C5648;
  --texte-clair: #857E6E;
  --texte-inverse: #F3EDE1;
  --texte-inverse-doux: #B7B0A0;

  /* Espacements */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 80px;
  --space-8: 96px;

  /* Rayons */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  /* Ombres */
  --shadow-xs: 0 1px 2px rgba(30, 27, 23, .04);
  --shadow-sm: 0 2px 12px rgba(30, 27, 23, .05);
  --shadow-md: 0 12px 32px rgba(30, 27, 23, .07);
  --shadow-lg: 0 24px 60px rgba(30, 27, 23, .10);
  --shadow-xl: 0 36px 90px rgba(30, 27, 23, .14);

  /* Traits */
  --filet: 1px solid rgba(183, 154, 92, .28);
  --filet-doux: 1px solid rgba(30, 27, 23, .08);

  /* Rythme */
  --section-y: clamp(64px, 8vw, 112px);
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);

  /* Transitions */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: .18s var(--ease);
  --t: .32s var(--ease);
  --t-slow: .6s var(--ease);

  /* Hauteurs de barres */
  --h-annonce: 40px;
  --h-header: 84px;
}

/* --------------------------------------------------------------------------
   2. Reset et base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--h-header) + var(--space-3));
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4, h5, h6 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--dore);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(183, 154, 92, .28); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Typographie
   -------------------------------------------------------------------------- */

.h1, h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.01em;
}

.h2, h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -.005em;
}

.h3, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1.2;
}

.h4, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem);
  line-height: 1.35;
  letter-spacing: -.005em;
}

.overline {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dore);
  margin-bottom: var(--space-2);
}

.overline--sauge { color: var(--sauge); }
.overline--inverse { color: var(--dore-clair); }

.lede {
  font-size: clamp(1.02rem, .97rem + .28vw, 1.19rem);
  color: var(--texte-doux);
  line-height: 1.68;
  max-width: 62ch;
}

.texte { color: var(--texte-doux); max-width: 68ch; }
.texte + .texte { margin-top: var(--space-2); }

.script {
  font-family: 'Petit Formal Script', cursive;
  font-weight: 400;
  letter-spacing: .01em;
}

.caption {
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--texte-clair);
}

.muted { color: var(--texte-clair); }
.center { text-align: center; }
.center .lede, .center .texte { margin-left: auto; margin-right: auto; }

/* Filet decoratif dore */
.filet-orne {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-3) auto 0;
  max-width: 260px;
  color: var(--dore);
}
.filet-orne::before, .filet-orne::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 154, 92, .55));
}
.filet-orne::after { background: linear-gradient(270deg, transparent, rgba(183, 154, 92, .55)); }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--etroit { max-width: 900px; }

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--compact { padding-block: clamp(48px, 6vw, 80px); }

.section--sombre {
  background: var(--sombre);
  color: var(--texte-inverse);
}
.section--sombre .texte, .section--sombre .lede { color: var(--texte-inverse-doux); }

.section--clair { background: var(--creme-clair); }

.section--sauge {
  background: linear-gradient(170deg, var(--sauge-clair) 0%, var(--creme) 100%);
}

.section-head { margin-bottom: var(--space-6); }
.section-head--center { text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head .lede { margin-top: var(--space-3); }

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--texte-droite > *:first-child { order: 2; }

.stack { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.stack--center { align-items: center; text-align: center; }

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t),
              transform var(--t-fast), box-shadow var(--t);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primaire {
  background: var(--dore);
  color: var(--blanc);
  box-shadow: 0 10px 26px rgba(183, 154, 92, .3);
}
.btn--primaire:hover {
  background: var(--dore-sombre);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(183, 154, 92, .38);
}

.btn--secondaire {
  background: transparent;
  color: var(--texte);
  border-color: rgba(183, 154, 92, .55);
}
.btn--secondaire:hover {
  background: rgba(183, 154, 92, .1);
  border-color: var(--dore);
  transform: translateY(-2px);
}

.btn--inverse {
  background: transparent;
  color: var(--texte-inverse);
  border-color: rgba(183, 154, 92, .5);
}
.btn--inverse:hover { background: rgba(183, 154, 92, .16); border-color: var(--dore-clair); }

.btn--compact { min-height: 44px; padding: 10px 22px; font-size: .76rem; }

.btn-groupe {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.stack--center .btn-groupe, .center .btn-groupe { justify-content: center; }

/* Lien flechee */
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dore-sombre);
  transition: gap var(--t), color var(--t);
}
.lien-fleche svg { width: 16px; height: 16px; transition: transform var(--t); }
.lien-fleche:hover { gap: 15px; color: var(--noir); }
.section--sombre .lien-fleche { color: var(--dore-clair); }
.section--sombre .lien-fleche:hover { color: var(--creme); }

/* --------------------------------------------------------------------------
   6. Pastilles / badges
   -------------------------------------------------------------------------- */

.pastille {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .72);
  border: var(--filet);
  font-size: .8rem;
  font-weight: 500;
  color: var(--texte-doux);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pastille svg { width: 15px; height: 15px; color: var(--dore); flex: none; }

.pastille--google {
  padding: 8px 20px 8px 10px;
  background: var(--blanc);
  box-shadow: var(--shadow-sm);
  border-color: rgba(30, 27, 23, .07);
}

.pastille--sombre {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(183, 154, 92, .3);
  color: var(--texte-inverse-doux);
}

.pastille-note {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--noir);
  line-height: 1;
}

.pastille-avis {
  font-size: .78rem;
  color: var(--texte-clair);
  white-space: nowrap;
}

/* Etoiles */
.etoiles { display: inline-flex; gap: 2px; color: var(--dore); flex: none; }
.etoiles svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.etoiles--lg svg { width: 26px; height: 26px; }

/* Logo Google */
.logo-google { width: 17px; height: 17px; flex: none; }
.logo-google--lg { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   7. Cartes
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--blanc);
  border: var(--filet-doux);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(183, 154, 92, .3);
}

.card--creme { background: var(--creme-clair); }
.card--profond { background: var(--creme-profond); border-color: rgba(183, 154, 92, .22); }
.card--verre {
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, .7);
}
.card--sombre {
  background: var(--sombre);
  color: var(--texte-inverse);
  border-color: rgba(183, 154, 92, .24);
}
.card--sombre .texte { color: var(--texte-inverse-doux); }
.card--dore {
  background: linear-gradient(160deg, var(--dore) 0%, var(--dore-sombre) 100%);
  color: var(--blanc);
  border-color: transparent;
}
.card--dore .texte { color: rgba(255, 255, 255, .84); }
.card--sauge { background: var(--sauge-clair); border-color: rgba(128, 140, 110, .26); }

.card--large { padding: var(--space-5); }

/* Icone de carte */
.card-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(183, 154, 92, .12);
  color: var(--dore-sombre);
  margin-bottom: var(--space-3);
}
.card-icone svg { width: 23px; height: 23px; }
.card--dore .card-icone { background: rgba(255, 255, 255, .2); color: var(--blanc); }
.card--sombre .card-icone { background: rgba(183, 154, 92, .18); color: var(--dore-clair); }
.card--sauge .card-icone { background: rgba(128, 140, 110, .16); color: var(--sauge); }

.card h4 { margin-bottom: var(--space-1); }
.card .texte { font-size: .93rem; }

/* Numero d'ordre */
.card-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(183, 154, 92, .38);
  margin-bottom: var(--space-2);
}

/* Liste a puces dorees */
.liste-dore { display: flex; flex-direction: column; gap: 11px; margin-top: var(--space-3); }
.liste-dore li {
  position: relative;
  padding-left: 26px;
  font-size: .92rem;
  color: var(--texte-doux);
  line-height: 1.55;
}
.liste-dore li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--dore);
}
.card--sombre .liste-dore li, .section--sombre .liste-dore li { color: var(--texte-inverse-doux); }

/* --------------------------------------------------------------------------
   8. Note de maquette
   -------------------------------------------------------------------------- */

.note-maquette {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-4);
  border: 1px dashed rgba(183, 154, 92, .5);
  border-radius: var(--radius-sm);
  background: rgba(183, 154, 92, .06);
}
.note-maquette svg { width: 18px; height: 18px; color: var(--dore); flex: none; margin-top: 3px; }
.note-maquette-libelle {
  display: block;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dore-sombre);
  margin-bottom: 5px;
}
.note-maquette p { font-size: .91rem; color: var(--texte-doux); line-height: 1.6; }
.section--sombre .note-maquette { background: rgba(183, 154, 92, .09); }
.section--sombre .note-maquette p { color: var(--texte-inverse-doux); }

/* --------------------------------------------------------------------------
   9. Barre d'annonce
   Statique sur grand ecran, ticker sous 760px (voir le responsive).
   -------------------------------------------------------------------------- */

.annonce {
  position: relative;
  z-index: 60;
  background: var(--sombre);
  color: var(--texte-inverse-doux);
  min-height: var(--h-annonce);
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: .76rem;
  letter-spacing: .02em;
}

.annonce-piste {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 28px);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 10px var(--gutter);
}

/* nowrap : chaque message reste d'un bloc avec son icone */
.annonce-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  white-space: nowrap;
}
.annonce-item svg { width: 14px; height: 14px; color: var(--dore); flex: none; }
.annonce-item b { color: var(--creme); font-weight: 500; }

/* Le JS duplique les messages pour la boucle : inutiles tant qu'on est statique */
.annonce-item[aria-hidden="true"] { display: none; }

.annonce-item + .annonce-item::before {
  content: '·';
  color: rgba(183, 154, 92, .6);
  margin-right: 9px;
}

/* --------------------------------------------------------------------------
   10. Header
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--h-header);
  display: flex;
  align-items: center;
  background: rgba(243, 237, 225, 0);
  border-bottom: 1px solid transparent;
  transition: background var(--t), box-shadow var(--t), border-color var(--t);
}
.header.est-dense {
  background: rgba(243, 237, 225, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(183, 154, 92, .22);
  box-shadow: 0 4px 24px rgba(30, 27, 23, .05);
}

.header .container {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Logo lockup */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  flex: none;
  line-height: 1;
}
.logo-sur {
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--dore);
  padding-left: .3em;
}
.logo-nom {
  font-family: 'Petit Formal Script', cursive;
  font-size: 1.62rem;
  line-height: 1.15;
  color: var(--noir);
  white-space: nowrap;
}
.logo-filet {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  color: var(--dore);
  margin-top: 1px;
}
.logo-filet::before, .logo-filet::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(183, 154, 92, .55);
}
.logo-filet svg { width: 11px; height: 13px; flex: none; }

.logo--inverse .logo-nom { color: var(--creme); }
.logo--inverse .logo-sur { color: var(--dore-clair); }

.logo--lg .logo-nom { font-size: 2.5rem; }
.logo--lg .logo-sur { font-size: .62rem; }
.logo--lg .logo-filet svg { width: 15px; height: 18px; }

/* Navigation */
.nav { display: flex; align-items: center; gap: var(--space-3); }
.nav a {
  position: relative;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--texte-doux);
  padding: 6px 0;
  transition: color var(--t);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--dore);
  transition: width var(--t);
}
.nav a:hover { color: var(--noir); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--noir); font-weight: 600; }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--texte);
  letter-spacing: .02em;
}
.header-tel svg { width: 15px; height: 15px; color: var(--dore); }

/* Burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  color: var(--noir);
  margin-left: auto;
}
.burger svg { width: 24px; height: 24px; }

/* Overlay mobile */
.menu-mobile {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--creme);
  display: flex;
  flex-direction: column;
  padding: var(--space-3) 0 var(--space-5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  overflow-y: auto;
}
.menu-mobile.est-ouvert { opacity: 1; visibility: visible; transform: none; }

.menu-mobile-haut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.menu-mobile-fermer {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  color: var(--noir);
}
.menu-mobile-fermer svg { width: 26px; height: 26px; }

.menu-mobile nav { display: flex; flex-direction: column; }
.menu-mobile nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--noir);
  padding: var(--space-2) 0;
  border-bottom: var(--filet-doux);
}
.menu-mobile nav a[aria-current="page"] { color: var(--dore-sombre); }

.menu-mobile-pied {
  margin-top: auto;
  padding-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.menu-mobile-pied .btn { width: 100%; }
.menu-mobile-coord {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .88rem;
  color: var(--texte-doux);
  margin-top: var(--space-2);
}
.menu-mobile-coord span { display: flex; align-items: center; gap: 9px; }
.menu-mobile-coord svg { width: 15px; height: 15px; color: var(--dore); flex: none; }

body.menu-ouvert { overflow: hidden; }

/* Barre d'appel sticky mobile */
.barre-appel {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  background: rgba(35, 33, 28, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(183, 154, 92, .3);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.barre-appel .btn { flex: 1; min-height: 46px; padding-inline: 12px; font-size: .72rem; }
.barre-appel-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(183, 154, 92, .45);
  color: var(--creme);
  font-size: .82rem;
  font-weight: 600;
  justify-content: center;
}
.barre-appel-tel svg { width: 15px; height: 15px; color: var(--dore-clair); flex: none; }

/* --------------------------------------------------------------------------
   11. Hero (photo en fond de section)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 74vh, 740px);
  padding-block: clamp(48px, 6vw, 88px);
  overflow: hidden;
}

.hero-fond { position: absolute; inset: 0; z-index: 0; }
/* Emplacement visuel neutre, en attendant les photos du cabinet */
.hero-fond {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8%;
  background:
    radial-gradient(ellipse at 72% 50%, rgba(255, 255, 255, .55) 0%, transparent 58%),
    linear-gradient(115deg, var(--creme) 0%, var(--creme-profond) 45%, var(--sauge-clair) 100%);
}
.hero-fond-marque {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(28px, 4vw, 52px) clamp(36px, 5vw, 76px);
  border: 1px dashed rgba(183, 154, 92, .45);
  border-radius: var(--radius-md);
  color: var(--dore-sombre);
  text-align: center;
}
.hero-fond-marque .mono { font-size: clamp(2.2rem, 4.4vw, 3.4rem); opacity: .42; }

/* Voile creme : garde le texte lisible par-dessus la photo */
.hero-fond::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg,
      var(--creme) 0%,
      var(--creme) 28%,
      rgba(243, 237, 225, .93) 44%,
      rgba(243, 237, 225, .62) 64%,
      rgba(243, 237, 225, .22) 100%),
    linear-gradient(0deg, rgba(243, 237, 225, .55) 0%, transparent 38%);
}

.hero-fond-marque { position: relative; z-index: 1; }
.hero .container { position: relative; z-index: 2; width: 100%; }

.hero-contenu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 610px;
}
.hero-contenu > .pastille--google { margin-bottom: var(--space-3); }

.hero h1 {
  font-size: clamp(2.1rem, 1.35rem + 2.5vw, 3.45rem);
  margin-bottom: var(--space-3);
}

.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.05rem, .98rem + .42vw, 1.32rem);
  font-weight: 500;
  color: var(--dore-sombre);
  letter-spacing: .005em;
  margin-bottom: var(--space-4);
}

.hero-reassurance {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: var(--space-4);
  width: 100%;
}
.hero-reassurance .pastille { flex: 0 1 auto; min-width: 0; }
.hero-reassurance .pastille span { overflow: hidden; text-overflow: ellipsis; }

/* --------------------------------------------------------------------------
   12. Page hero (pages interieures)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding-block: clamp(44px, 6vw, 84px) clamp(40px, 5vw, 72px);
  background: linear-gradient(175deg, var(--creme-clair) 0%, var(--creme) 100%);
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 780px; height: 620px;
  background: radial-gradient(ellipse, rgba(183, 154, 92, .14) 0%, transparent 68%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: var(--space-3); }
.page-hero .lede { margin-inline: auto; }

.fil-ariane {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--texte-clair);
  margin-bottom: var(--space-3);
}
.fil-ariane svg { width: 13px; height: 13px; }
.fil-ariane a:hover { color: var(--dore-sombre); }

/* --------------------------------------------------------------------------
   13. Piliers (soigner / restaurer / embellir)
   -------------------------------------------------------------------------- */

.pilier { display: flex; flex-direction: column; height: 100%; }
.pilier-etiquette {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(183, 154, 92, .14);
  color: var(--dore-sombre);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.card--dore .pilier-etiquette { background: rgba(255, 255, 255, .22); color: var(--blanc); }
.card--sombre .pilier-etiquette { background: rgba(183, 154, 92, .2); color: var(--dore-clair); }
.pilier h4 { margin-bottom: var(--space-1); }
.pilier .texte { flex: 1; }

/* --------------------------------------------------------------------------
   14. Cas avant / apres
   -------------------------------------------------------------------------- */

.cas {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.cas-paire {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(183, 154, 92, .45);
}
.cas-volet { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--creme-profond); }
.cas-volet img { width: 100%; height: 100%; object-fit: cover; }

.cas-volet--vide {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .7) 0%, transparent 62%),
    linear-gradient(160deg, var(--creme-profond) 0%, var(--sauge-clair) 100%);
}
.cas-volet--vide::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(183, 154, 92, .3);
  border-radius: var(--radius-xs);
}

.cas-etiquette {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blanc);
  text-shadow: 0 2px 10px rgba(30, 27, 23, .6);
  z-index: 2;
}
.cas-volet--vide .cas-etiquette { color: var(--dore-sombre); text-shadow: none; }

.cas-corps { padding: var(--space-3) var(--space-4) var(--space-4); }
.cas-corps h4 { margin-bottom: 5px; }
.cas-corps .texte { font-size: .9rem; }

.cas-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: var(--space-2);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dore-sombre);
  font-weight: 600;
}
.cas-meta svg { width: 14px; height: 14px; }

/* Cas mis en avant */
.cas--vedette .cas-volet { aspect-ratio: 16 / 10; }

/* --------------------------------------------------------------------------
   15. Avis
   -------------------------------------------------------------------------- */

.avis-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  margin-inline: auto;
  max-width: 420px;
  border-radius: var(--radius-lg);
  background: var(--blanc);
  border: var(--filet-doux);
  box-shadow: var(--shadow-md);
}
.avis-note-chiffre {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.3rem;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--noir);
}
.avis-note-source {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .85rem;
  color: var(--texte-doux);
}

.ticker {
  position: relative;
  margin-top: var(--space-6);
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ticker::-webkit-scrollbar { display: none; }
.ticker::before, .ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 9vw, 130px);
  z-index: 3;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--creme), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--creme), transparent); }
.section--clair .ticker::before { background: linear-gradient(90deg, var(--creme-clair), transparent); }
.section--clair .ticker::after { background: linear-gradient(270deg, var(--creme-clair), transparent); }

.ticker-rang {
  display: flex;
  gap: var(--space-3);
  width: max-content;
  padding-block: 10px;
  animation: defile var(--duree, 64s) linear infinite;
}
.ticker-rang--retour { animation-direction: reverse; }
.ticker-rang + .ticker-rang { margin-top: var(--space-2); }

@keyframes defile {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.ticker:hover .ticker-rang,
.ticker-rang:focus-within { animation-play-state: paused; }
.ticker.est-saisi .ticker-rang { animation-play-state: paused; }

.avis-carte {
  flex: none;
  width: min(400px, 82vw);
  padding: var(--space-3) var(--space-4) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--blanc);
  border: var(--filet-doux);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.avis-carte:nth-child(3n+2) { background: var(--creme-clair); }
.avis-carte:nth-child(4n+3) { background: var(--creme-profond); border-color: rgba(183, 154, 92, .24); }

.avis-tete { display: flex; align-items: center; gap: 12px; }
.avis-avatar {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--dore) 0%, var(--dore-sombre) 100%);
  color: var(--blanc);
  font-family: 'Montserrat', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.avis-identite { flex: 1; min-width: 0; }
/* Nom en bloc : les etoiles passent toujours dessous, quelle que soit sa longueur */
.avis-nom { display: block; font-size: .92rem; font-weight: 600; color: var(--noir); line-height: 1.3; }
.avis-carte .etoiles { display: flex; margin-top: 4px; }
.avis-texte { font-size: .91rem; color: var(--texte-doux); line-height: 1.62; }

/* --------------------------------------------------------------------------
   16. Doctolib
   -------------------------------------------------------------------------- */

.doctolib {
  border-radius: var(--radius-md);
  background: var(--blanc);
  border: 1px solid rgba(30, 27, 23, .09);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}

.doctolib-barre {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px var(--space-3);
  background: #F4F8FB;
  border-bottom: 1px solid #E3EBF2;
}
.doctolib-marque {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 700;
  color: #0596DE;
  letter-spacing: -.01em;
}
.doctolib-marque svg { width: 17px; height: 17px; }
.doctolib-secu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .68rem;
  color: #6B7C8C;
}
.doctolib-secu svg { width: 13px; height: 13px; }

.doctolib-corps { padding: var(--space-3); }

.doctolib-praticien {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid #EDF1F5;
  margin-bottom: var(--space-3);
}
.doctolib-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(150deg, var(--dore) 0%, var(--dore-sombre) 100%);
  color: var(--blanc);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: .84rem; font-weight: 700; letter-spacing: .02em;
}
.doctolib-nom { font-size: .9rem; font-weight: 600; color: #1C2B3A; line-height: 1.35; }
.doctolib-lieu { font-size: .76rem; color: #6B7C8C; }

.doctolib-motif {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid #DCE5EC;
  border-radius: 8px;
  font-size: .82rem;
  color: #1C2B3A;
  margin-bottom: var(--space-3);
  background: var(--blanc);
}
.doctolib-motif svg { width: 15px; height: 15px; color: #6B7C8C; flex: none; }
.doctolib-motif span:last-child { margin-left: auto; color: #6B7C8C; }

.doctolib-semaine {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.doctolib-jour { text-align: center; min-width: 0; }
.doctolib-jour-tete {
  font-size: .68rem;
  color: #6B7C8C;
  padding-bottom: 9px;
  border-bottom: 1px solid #EDF1F5;
  margin-bottom: 9px;
  line-height: 1.35;
}
.doctolib-jour-tete b { display: block; color: #1C2B3A; font-size: .76rem; font-weight: 600; }
.doctolib-creneaux { display: flex; flex-direction: column; gap: 5px; }
.doctolib-creneau {
  padding: 7px 4px;
  border-radius: 6px;
  background: #EAF6FD;
  color: #0578B0;
  font-size: .73rem;
  font-weight: 600;
  transition: background var(--t-fast), color var(--t-fast);
}
.doctolib-creneau:hover { background: #0596DE; color: var(--blanc); }
.doctolib-vide { font-size: .72rem; color: #B4C0CB; padding: 7px 0; }

.doctolib-pied {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid #EDF1F5;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.doctolib-cta {
  flex: 1;
  min-width: 200px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 8px;
  background: #0596DE;
  color: var(--blanc);
  font-size: .84rem;
  font-weight: 600;
  transition: background var(--t-fast);
}
.doctolib-cta:hover { background: #0578B0; }
.doctolib-cta svg { width: 16px; height: 16px; }
.doctolib-note { font-size: .7rem; color: #8A99A8; flex: 1; min-width: 180px; }

/* Colonne pratique a cote du widget */
.rdv-grille {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.horaires { display: flex; flex-direction: column; }
.horaires li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 11px 0;
  border-bottom: var(--filet-doux);
  font-size: .89rem;
}
.horaires li:last-child { border-bottom: 0; }
.horaires dt, .horaires .jour { color: var(--texte-doux); flex: none; }
.horaires .creneaux { text-align: right; color: var(--noir); font-weight: 500; line-height: 1.5; }
.horaires .creneaux br { line-height: 1.9; }
.horaires li.est-ferme .creneaux { color: var(--texte-clair); font-weight: 400; }
.section--sombre .horaires li { border-bottom-color: rgba(183, 154, 92, .18); }
.section--sombre .horaires .jour { color: var(--texte-inverse-doux); }
.section--sombre .horaires .creneaux { color: var(--creme); }

/* --------------------------------------------------------------------------
   17. FAQ
   -------------------------------------------------------------------------- */

.faq { display: flex; flex-direction: column; gap: var(--space-2); }

.faq-item {
  border-radius: var(--radius-sm);
  background: var(--blanc);
  border: var(--filet-doux);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-item.est-ouvert { border-color: rgba(183, 154, 92, .4); box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: .96rem;
  font-weight: 500;
  color: var(--noir);
  min-height: 60px;
}

/* Classe dediee : un selecteur sur `span` deborderait sur le chevron */
.faq-libelle { flex: 1 1 auto; min-width: 0; }

.faq-chevron {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--dore);
  transition: transform var(--t);
}
.faq-item.est-ouvert .faq-chevron { transform: rotate(180deg); }

.faq-reponse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t);
}
.faq-item.est-ouvert .faq-reponse { grid-template-rows: 1fr; }
.faq-reponse-corps { overflow: hidden; }
.faq-reponse-corps > div {
  padding: 0 var(--space-3) var(--space-3);
  font-size: .92rem;
  color: var(--texte-doux);
  line-height: 1.68;
  max-width: 72ch;
}
.faq-reponse-corps .note-maquette { margin-top: var(--space-2); }

/* --------------------------------------------------------------------------
   18. Carte / acces
   -------------------------------------------------------------------------- */

.carte-maps {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--filet-doux);
  box-shadow: var(--shadow-sm);
  background: var(--creme-profond);
  aspect-ratio: 16 / 10;
}
.carte-maps iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.22) contrast(1.03); }

.carte-maps--large { aspect-ratio: 21 / 7; }

/* Mosaique de visuels */
.mosaique {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: var(--space-2);
  aspect-ratio: 4 / 3;
}
.mosaique > * {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--creme-profond);
  position: relative;
}
.mosaique > *:first-child { grid-row: span 2; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; }

.visuel-vide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: var(--space-3);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .68) 0%, transparent 60%),
    linear-gradient(160deg, var(--creme-profond) 0%, var(--sauge-clair) 100%);
  color: var(--dore-sombre);
}
.visuel-vide::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(183, 154, 92, .3);
  border-radius: var(--radius-sm);
  pointer-events: none;
}
.visuel-vide svg { width: 26px; height: 26px; opacity: .6; }
.visuel-vide-libelle {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .75;
}

/* Monogramme typographique : filigrane des emplacements visuels */
.mono {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1;
  color: var(--dore);
  opacity: .34;
  user-select: none;
}
.visuel-vide .mono { font-size: clamp(2.6rem, 7vw, 4.4rem); }
.cas-volet--vide .mono { font-size: clamp(2rem, 6vw, 3.2rem); }

/* Carte de soin avec visuel : image en haut, texte dessous */
.soin {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
}
.soin-visuel { aspect-ratio: 4 / 3; position: relative; }
.soin-corps { padding: var(--space-3) var(--space-4) var(--space-4); }
.soin-corps h4 { margin-bottom: 6px; }
.soin-corps .texte { font-size: .93rem; }

/* Emplacement visuel sur fond sombre : le placeholder creme jurerait */
.card--sombre .visuel-vide {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .07) 0%, transparent 62%),
    linear-gradient(160deg, #2B2822 0%, #34302A 100%);
  color: var(--dore-clair);
}
.card--sombre .visuel-vide::before { border-color: rgba(183, 154, 92, .32); }

/* Portrait praticien */
.praticien { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.praticien-visuel { aspect-ratio: 4 / 5; position: relative; }
.praticien-corps { padding: var(--space-3) var(--space-4) var(--space-4); }
.praticien-corps h3 { margin-bottom: 4px; }
.praticien-role {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dore-sombre);
}

/* --------------------------------------------------------------------------
   19. Bloc CTA de fin
   -------------------------------------------------------------------------- */

.bloc-cta {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--sombre) 0%, #2E2B24 100%);
  color: var(--texte-inverse);
  padding: clamp(36px, 5vw, 64px);
  overflow: hidden;
  text-align: center;
}
.bloc-cta::before {
  content: '';
  position: absolute;
  top: -45%; left: 50%;
  transform: translateX(-50%);
  width: 640px; height: 520px;
  background: radial-gradient(ellipse, rgba(183, 154, 92, .22) 0%, transparent 66%);
  pointer-events: none;
}
.bloc-cta > * { position: relative; z-index: 1; }
.bloc-cta .texte { color: var(--texte-inverse-doux); margin-inline: auto; }
.bloc-cta .btn-groupe { justify-content: center; margin-top: var(--space-4); }

.bloc-cta-infos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(183, 154, 92, .24);
  font-size: .85rem;
  color: var(--texte-inverse-doux);
}
.bloc-cta-infos span { display: inline-flex; align-items: center; gap: 8px; }
.bloc-cta-infos svg { width: 15px; height: 15px; color: var(--dore-clair); flex: none; }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--sombre);
  color: var(--texte-inverse-doux);
  padding-bottom: var(--space-5);
}

.footer-carte { aspect-ratio: 21 / 6; background: #1A1815; }
.footer-carte iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: grayscale(1) invert(.9) contrast(.86) brightness(.95);
}

.footer-sep {
  height: 1px;
  background: rgba(183, 154, 92, .22);
  margin-block: var(--space-5);
}

.footer-identite {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
/* Meme lockup qu'en header : le bloc se dimensionne sur son contenu,
   sinon le filet s'etire sur toute la colonne et le rendu differe. */
.footer-identite .logo { width: fit-content; }

.footer-nom {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--creme);
  margin-top: var(--space-3);
}
.footer-positionnement {
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--dore-clair);
  margin-top: 5px;
}
.footer-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--creme);
  margin-top: var(--space-3);
}

.footer-coord { display: flex; flex-direction: column; gap: 11px; font-size: .89rem; }
.footer-coord a, .footer-coord span { display: flex; align-items: flex-start; gap: 11px; line-height: 1.55; }
.footer-coord svg { width: 16px; height: 16px; color: var(--dore); flex: none; margin-top: 3px; }
.footer-coord a:hover { color: var(--creme); }
.footer-coord b { color: var(--creme); font-weight: 500; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  font-size: .86rem;
}
.footer-nav a { transition: color var(--t); }
.footer-nav a:hover { color: var(--dore-clair); }

.footer-social {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.footer-social-titre {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dore-clair);
  margin-right: 4px;
}
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(183, 154, 92, .32);
  color: var(--texte-inverse-doux);
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.footer-social a:hover {
  background: var(--dore);
  border-color: var(--dore);
  color: var(--blanc);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }

.footer-bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-3);
  font-size: .78rem;
  color: rgba(183, 176, 160, .8);
}
.footer-bas a:hover { color: var(--dore-clair); }
.footer-bas-sep { color: rgba(183, 154, 92, .45); }

/* --------------------------------------------------------------------------
   21. Apparition au scroll
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease-in-out, transform .7s ease-in-out;
  will-change: opacity, transform;
}
.reveal.est-visible { opacity: 1; transform: none; }

.reveal[data-delai="1"] { transition-delay: .09s; }
.reveal[data-delai="2"] { transition-delay: .18s; }
.reveal[data-delai="3"] { transition-delay: .27s; }
.reveal[data-delai="4"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-rang, .annonce-piste { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav { display: none; }
  .header-tel { display: none; }
  .burger { display: flex; margin-left: 0; }
  .header-actions { margin-left: auto; }
  .header .container { gap: var(--space-2); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --h-header: 74px; }

  .hero { min-height: auto; padding-block: clamp(40px, 7vw, 72px); }
  .hero-contenu { max-width: none; }
  .hero-fond { justify-content: center; align-items: flex-end; padding: 0 0 var(--space-4); }
  .hero-fond-marque { display: none; }
  .hero-fond::after {
    background: linear-gradient(180deg,
      rgba(243, 237, 225, .86) 0%,
      rgba(243, 237, 225, .9) 55%,
      var(--creme) 100%);
  }

  .split { grid-template-columns: 1fr; gap: var(--space-4); }
  .split--texte-droite > *:first-child { order: 0; }

  .grid--3 { grid-template-columns: 1fr; }
  .rdv-grille { grid-template-columns: 1fr; }
  .footer-identite { grid-template-columns: 1fr; gap: var(--space-4); }
  .mosaique { aspect-ratio: 3 / 2; }
}

@media (max-width: 760px) {
  /* Ticker : le texte complet defile au lieu de se replier sur deux lignes.
     Marge a droite plutot que gap, pour que le -50% boucle sans saut. */
  .annonce-piste {
    width: max-content;
    max-width: none;
    justify-content: flex-start;
    margin-inline: 0;
    padding-inline: 0;
    gap: 0;
    animation: defile var(--duree, 46s) linear infinite;
  }
  .annonce-item { margin-right: 34px; }
  .annonce-item[aria-hidden="true"] { display: inline-flex; }
  .annonce-item + .annonce-item::before { content: none; }


  .header-actions .btn { display: none; }
  .barre-appel { display: flex; }
  body { padding-bottom: 74px; }

  .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .doctolib-semaine { grid-template-columns: repeat(3, 1fr); }
  .carte-maps--large { aspect-ratio: 4 / 3; }
  .footer-carte { aspect-ratio: 3 / 2; }

  .mosaique {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    aspect-ratio: auto;
  }
  .mosaique > * { aspect-ratio: 1; }
  .mosaique > *:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 3 / 2; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .annonce { font-size: .68rem; }

  .section-head { margin-bottom: var(--space-4); }
  .card { padding: var(--space-3); }
  .card--large { padding: var(--space-4) var(--space-3); }

  .btn { width: 100%; }
  .btn-groupe { flex-direction: column; align-items: stretch; width: 100%; }
  .barre-appel .btn, .doctolib-cta { width: auto; }
  .btn--compact { width: auto; }

  /* Hero : pastille Google reduite, mais plus grande que les reassurances */
  .hero-contenu > .pastille--google {
    padding: 6px 15px 6px 8px;
    gap: 7px;
    font-size: .74rem;
  }
  .hero-contenu > .pastille--google .pastille-note { font-size: 1.05rem; }
  .hero-contenu > .pastille--google .etoiles svg { width: 12px; height: 12px; }
  .hero-contenu > .pastille--google .logo-google { width: 15px; height: 15px; }
  .hero-contenu > .pastille--google .pastille-avis { font-size: .7rem; }

  /* Les 2 pastilles de reassurance tiennent sur une seule ligne */
  .hero-reassurance { gap: 6px; }
  .hero-reassurance .pastille {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
    padding: 7px 7px;
    gap: 4px;
    font-size: .585rem;
    letter-spacing: -.005em;
    line-height: 1.3;
  }
  .hero-reassurance .pastille svg { width: 11px; height: 11px; }
  .hero-reassurance .pastille span { white-space: nowrap; }

  .cas-paire { grid-template-columns: 1fr 1fr; }
  .cas-volet { aspect-ratio: 1; }
  .cas--vedette .cas-volet { aspect-ratio: 1; }
  .cas-etiquette { font-size: .6rem; left: 10px; bottom: 8px; }

  .avis-note { padding: var(--space-3) var(--space-4); }
  .avis-note-chiffre { font-size: 3.4rem; }

  .doctolib-semaine { grid-template-columns: repeat(2, 1fr); }
  .doctolib-corps { padding: var(--space-2); }
  .doctolib-pied { flex-direction: column; align-items: stretch; }

  .horaires li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .horaires .creneaux { text-align: left; }

  .faq-question { padding: var(--space-2) var(--space-3); font-size: .91rem; }
  .faq-reponse-corps > div { padding: 0 var(--space-3) var(--space-3); }

  .bloc-cta { border-radius: var(--radius-md); }
  .bloc-cta-infos { flex-direction: column; align-items: center; gap: 10px; }

  .logo-nom { font-size: 1.34rem; }
  .logo-sur { font-size: .44rem; letter-spacing: .26em; }
  .logo--lg .logo-nom { font-size: 1.9rem; }

  .menu-mobile nav a { font-size: 1.08rem; }
  .footer-nav { flex-direction: column; gap: 10px; }
}
