/* AudioCare Liévin – feuille de style du site */

@font-face { font-family: "Onest"; src: url("/assets/fonts/Onest-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/assets/fonts/Onest-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/assets/fonts/Onest-Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/assets/fonts/Onest-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/assets/fonts/Onest-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --forest: #123d2b;      /* vert profond du logo */
  --green: #1d6644;       /* vert d'action */
  --leaf: #3e8d61;
  --sage: #e6efe8;        /* fonds doux */
  --mist: #f4f7f3;
  --paper: #ffffff;
  --gold: #d2ac5a;        /* filet doré du flyer : décor uniquement */
  --gold-ink: #7d5c17;    /* doré lisible sur fond clair */
  --ink: #15211b;
  --muted: #4a5a51;
  --line: #d5e0d8;
  --radius: 18px;
  --radius-s: 10px;
  --wrap: 1200px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 18px 40px -22px rgba(18, 61, 43, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-underline-offset: .18em; }
a:hover { color: var(--forest); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; color: var(--forest); text-wrap: balance; }
h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 900; letter-spacing: -.03em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.lead { font-size: clamp(19px, 1.6vw, 22px); color: var(--muted); max-width: 60ch; }
.section { padding-block: clamp(70px, 9vw, 120px); }
.section--sage { background: var(--sage); }
.section--mist { background: var(--mist); }
.section__head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; justify-items: center; }
.rule { width: 72px; height: 4px; border-radius: 4px; background: var(--gold); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 18px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--forest); color: #fff; }
.btn--gold { background: var(--gold); color: var(--forest); }
.btn--gold:hover { background: #e1bf72; color: var(--forest); }
.btn--line { border-color: currentColor; color: var(--forest); background: transparent; }
.btn--line:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.btn--white { background: #fff; color: var(--forest); }
.btn--white:hover { background: var(--sage); color: var(--forest); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-more svg { width: 18px; transition: transform .2s; }
.link-more:hover svg { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); } /* pas de backdrop-filter : il casserait le menu mobile en position fixe */
.topbar { background: var(--forest); color: #e5efe8; font-size: 15px; }
.topbar__in { display: flex; align-items: center; gap: 28px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar svg { width: 16px; height: 16px; flex: none; }
.topbar__addr, .topbar__open { display: inline-flex; align-items: center; gap: 8px; }
.topbar__open .is-open { color: #9fe0b8; font-weight: 600; }
.topbar__tel { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; }
.navbar { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); flex: none; }
.logo img { height: 56px; width: auto; }
.logo__mark { width: 46px; height: 46px; color: var(--green); }
.logo__txt { display: grid; line-height: 1; }
.logo__txt b { font-size: 28px; font-weight: 900; letter-spacing: -.035em; color: var(--forest); }
.logo__txt i { font-style: normal; color: var(--leaf); }
.logo__txt small { margin-top: 5px; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 17px; }
.nav ul a:hover { background: var(--mist); color: var(--forest); }
.nav ul a[aria-current] { color: var(--green); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.nav__tel { display: none; }
.nav__rdv { min-height: 48px; padding: 10px 22px; font-size: 17px; }
.burger { display: none; margin-left: auto; width: 52px; height: 52px; border: 2px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--forest); transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav ul a { padding: 10px 8px; font-size: 16px; }
  .topbar__addr { display: none; }
}
@media (max-width: 1024px) {
  .burger { display: flex; }
  .nav { position: fixed; inset: 124px 0 0 0; z-index: 70; display: none; flex-direction: column; align-items: stretch; gap: 14px; padding: 24px 20px 40px; background: #fff; overflow-y: auto; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { font-size: 21px; padding: 16px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav ul a[aria-current] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 16px; }
  .nav__tel { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; font-size: 20px; text-decoration: none; }
  .nav__tel svg { width: 22px; }
  .nav__rdv { min-height: 56px; font-size: 19px; }
}
@media (max-width: 640px) {
  .topbar__open { font-size: 14px; }
  .topbar__tel { display: none; }
  .navbar { min-height: 72px; }
  .nav { inset: 112px 0 0 0; }
  .logo__mark { width: 40px; height: 40px; }
  .logo img { height: 44px; }
  .logo__txt b { font-size: 24px; }
}

/* ---------- Emplacement photo (en attendant les vraies images) ---------- */
.ph { position: relative; display: grid; place-items: center; overflow: hidden; color: var(--forest); text-align: center; padding: 20px;
  background: radial-gradient(circle at 70% 25%, rgba(210,172,90,.28), transparent 45%), linear-gradient(150deg, #dfeae2, #c6d9cc); }
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 18% 120%, transparent 0 22px, rgba(18,61,43,.07) 22px 24px); }
.ph span { position: relative; display: grid; gap: 6px; max-width: 30ch; font-size: 15px; font-weight: 600; line-height: 1.35; }
.ph small { font-size: 12px; font-weight: 500; opacity: .65; }

/* ---------- Accueil : hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--mist), #fff 70%); padding-block: clamp(46px, 6vw, 80px) 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__text { display: grid; gap: 26px; justify-items: start; padding-bottom: 150px; }
.hero__tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 16px; color: var(--forest); }
.hero__tag svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--green); color: #fff; }
.hero h1 { max-width: 12ch; }
.hero__claim { font-size: clamp(20px, 1.8vw, 24px); color: var(--muted); max-width: 34ch; }
.hero__claim strong { color: var(--green); font-weight: 700; }
.hero__phone { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 6px; }
.hero__phone a { font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; letter-spacing: -.01em; color: var(--forest); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.hero__phone a svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--sage); color: var(--green); }
.hero__phone small { font-size: 15px; color: var(--muted); max-width: 18ch; line-height: 1.35; }
.hero__visual { position: relative; align-self: end; }
.hero__visual > img, .hero__visual > .ph { width: 100%; border-radius: 28px 28px 0 0; object-fit: cover; aspect-ratio: 4 / 5; }
.hero__badge { position: absolute; left: -28px; bottom: 36px; display: grid; gap: 2px; padding: 18px 22px; border-radius: var(--radius); background: var(--forest); color: #fff; box-shadow: var(--shadow); max-width: 250px; }
.hero__badge b { font-size: 26px; font-weight: 900; line-height: 1.05; color: var(--gold); }
.hero__badge span { font-size: 15px; color: #d8e6dc; }

/* Onde sonore : brouillée à gauche, nette à droite (l'idée de « mieux entendre ») */
.wave { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none; z-index: 0; opacity: .9; }
.wave path { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.wave .w1 { stroke: var(--gold); }
.wave .w2 { stroke: rgba(29,102,68,.25); }
.hero__grid { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .wave .w1 { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.4s .3s cubic-bezier(.4,0,.2,1) forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* Bandeau infos pratiques */
.facts { position: relative; z-index: 2; background: var(--forest); color: #fff; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; border-left: 1px solid rgba(255,255,255,.12); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact svg { width: 30px; height: 30px; flex: none; color: var(--gold); margin-top: 2px; }
.fact b { display: block; font-size: 18px; }
.fact span, .fact a { font-size: 16px; color: #cfe0d5; }
.fact a { text-decoration: none; }
.fact a:hover { color: #fff; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__text { padding-bottom: 0; }
  .hero__visual { margin-inline: -20px; }
  .hero__visual > img, .hero__visual > .ph { border-radius: 0; aspect-ratio: 4 / 3; }
  .hero__badge { left: 20px; bottom: 20px; }
  .wave { display: none; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 22px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(even) { padding-left: 18px; }
}
@media (max-width: 560px) {
  .facts__grid { grid-template-columns: 1fr; }
  .fact:nth-child(2) { border-top: 1px solid rgba(255,255,255,.12); }
  .fact:nth-child(even) { padding-left: 0; }
}

/* ---------- Promesses (4 engagements du flyer) ---------- */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.promise { padding: 30px 26px 4px 0; display: grid; gap: 10px; align-content: start; }
.promise + .promise { padding-left: 26px; border-left: 1px solid var(--line); }
.promise svg { width: 40px; height: 40px; color: var(--green); }
.promise h3 { font-size: 21px; }
.promise p { color: var(--muted); font-size: 17px; }
@media (max-width: 900px) {
  .promises { grid-template-columns: 1fr 1fr; }
  .promise:nth-child(3) { padding-left: 0; border-left: 0; }
  .promise:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .promises { grid-template-columns: 1fr; }
  .promise, .promise + .promise { padding: 24px 0 18px; border-left: 0; border-top: 1px solid var(--line); }
  .promise:first-child { border-top: 0; }
}

/* ---------- Situations du quotidien ---------- */
.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.moment { display: grid; gap: 14px; align-content: start; }
.moment > img, .moment > .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.moment h3 { font-size: 21px; }
.moment p { color: var(--muted); font-size: 17px; }
@media (max-width: 1000px) { .moments { grid-template-columns: 1fr 1fr; gap: 34px 22px; } }
@media (max-width: 520px) { .moments { grid-template-columns: 1fr; } .moment > img, .moment > .ph { aspect-ratio: 4 / 3; } }

/* ---------- Étapes (suite réelle : le déroulé d'un rendez-vous) ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; display: grid; gap: 10px; align-content: start; padding-top: 66px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: var(--forest); color: var(--gold); font-weight: 900; font-size: 22px; }
.steps li::after { content: ""; position: absolute; top: 24px; left: 60px; right: -16px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 21px; }
.steps p { color: var(--muted); font-size: 17px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 30px 72px; min-height: 48px; }
  .steps li::after { top: 56px; bottom: 6px; left: 23px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
}

/* ---------- Bloc partagé texte + image ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media > img, .split__media > .ph { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 5 / 4; }
.split__text { display: grid; gap: 22px; justify-items: start; }
.split__text p { color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 24px; height: 24px; flex: none; margin-top: 3px; padding: 4px; border-radius: 50%; background: var(--sage); color: var(--green); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* ---------- 100 % Santé ---------- */
.sante { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; border-radius: 28px; overflow: hidden; background: var(--forest); color: #fff; }
.sante__main { padding: clamp(34px, 5vw, 64px); display: grid; gap: 22px; align-content: center; justify-items: start; }
.sante__main h2 { color: #fff; }
.sante__main p { color: #d4e3d9; }
.sante__main .sante__big { font-size: clamp(64px, 9vw, 120px); font-weight: 900; line-height: .9; letter-spacing: -.05em; color: var(--gold); }
.sante__main .sante__big small { display: block; font-size: 22px; letter-spacing: 0; color: #fff; margin-top: 12px; font-weight: 700; }
.sante__classes { display: grid; background: #fff; color: var(--ink); }
.sante__classes > div { padding: clamp(26px, 3.6vw, 44px); display: grid; gap: 10px; }
.sante__classes > div + div { border-top: 1px solid var(--line); }
.sante__classes h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sante__classes h3 span { font-size: 15px; font-weight: 600; color: var(--gold-ink); }
.sante__classes p { color: var(--muted); font-size: 17px; }
.note { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .sante { grid-template-columns: 1fr; } }

/* ---------- Marques ---------- */
.brands { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 46px; }
.brands span { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.02em; color: var(--forest); opacity: .82; }
.brands span:nth-child(2) { color: var(--green); }

/* ---------- Centre / accès ---------- */
.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 64px); align-items: start; }
.place__info { display: grid; gap: 28px; }
.place__row { display: flex; gap: 16px; align-items: flex-start; }
.place__row > svg { width: 46px; height: 46px; flex: none; padding: 11px; border-radius: 50%; background: var(--sage); color: var(--green); }
.place__row b { display: block; font-size: 20px; color: var(--forest); }
.place__row p, .place__row address { color: var(--muted); }
.place__row a { font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sage); }
.map iframe { display: block; width: 100%; height: 440px; border: 0; }
.map__btns { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px; background: #fff; border-top: 1px solid var(--line); }
.map__btns .btn { min-height: 46px; font-size: 16px; padding: 8px 18px; }
.hours { width: 100%; border-collapse: collapse; font-size: 17px; }
.hours th { text-align: left; font-weight: 600; padding: 7px 18px 7px 0; color: var(--ink); white-space: nowrap; }
.hours td { padding: 7px 0; color: var(--muted); }
.hours tr + tr { border-top: 1px solid var(--line); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--green); font-weight: 700; }
@media (max-width: 900px) { .place { grid-template-columns: 1fr; } .map iframe { height: 340px; } }

/* ---------- Page intérieure : en-tête ---------- */
.page-hero { background: var(--mist); padding-block: clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.page-hero__text { display: grid; gap: 22px; justify-items: start; }
.page-hero h1 { font-size: clamp(36px, 4.8vw, 58px); }
.page-hero__media > img, .page-hero__media > .ph { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }

/* Texte long (pages de service) */
.prose { max-width: 72ch; display: grid; gap: 18px; }
.prose h2 { font-size: clamp(26px, 2.8vw, 34px); margin-top: 26px; }
.prose h3 { margin-top: 12px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--leaf); }
.info { padding: 22px 24px; border-radius: var(--radius-s); background: var(--sage); border: 1px solid #c4d6c9; color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 19px; color: var(--forest); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 22px 22px; color: var(--muted); display: grid; gap: 12px; }

/* Appel à l'action final */
.cta { background: var(--forest); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 70px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 2px solid rgba(210,172,90,.35); box-shadow: 0 0 0 40px rgba(210,172,90,.08), 0 0 0 80px rgba(210,172,90,.05); pointer-events: none; }
.cta h2 { color: #fff; }
.cta p { color: #d4e3d9; margin-top: 12px; max-width: 52ch; }
.cta .btns { position: relative; z-index: 1; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Formulaire ---------- */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.field { display: grid; gap: 6px; grid-column: 1 / -1; }
.field--half { grid-column: auto; }
.field label { font-weight: 600; font-size: 17px; }
.field label span { color: var(--gold-ink); }
.field input, .field textarea, .field select { width: 100%; font: 400 18px var(--font); color: var(--ink); padding: 14px 16px; border: 1.5px solid #b9c9be; border-radius: var(--radius-s); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(210,172,90,.6); outline-offset: 0; border-color: var(--green); }
.consent { grid-column: 1 / -1; font-size: 15px; color: var(--muted); }
.contact-form button { grid-column: 1 / -1; justify-self: start; }
.contact-form__status { grid-column: 1 / -1; font-weight: 600; color: var(--green); min-height: 1.5em; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 600px) { .field--half { grid-column: 1 / -1; } .contact-form button { justify-self: stretch; } }

/* ---------- Articles ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.post-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.post-card__img { display: block; aspect-ratio: 16 / 10; background: linear-gradient(150deg, #dfeae2, #c6d9cc); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px 22px 26px; display: grid; gap: 10px; align-content: start; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; color: var(--muted); }
.post-card__meta a { font-weight: 700; color: var(--gold-ink); text-decoration: none; }
.post-card h3 { font-size: 21px; line-height: 1.25; }
.post-card h3 a { color: var(--forest); text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }
.post-card__body > p:last-child { color: var(--muted); font-size: 17px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.news__cta { margin-top: 40px; }
.news__empty { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; }
.pagination a, .pagination span { min-width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; }
.pagination span { background: var(--forest); color: #fff; border-color: var(--forest); }

/* Page article */
.preview-bar { background: var(--gold); color: var(--forest); padding: 12px 20px; text-align: center; font-weight: 600; }
.post-hero { background: var(--mist); padding-block: clamp(40px, 6vw, 70px); border-bottom: 1px solid var(--line); }
.post-hero .wrap { display: grid; gap: 18px; max-width: 900px; }
.post-hero__cat { justify-self: start; padding: 6px 14px; border-radius: 999px; background: var(--sage); color: var(--forest); font-weight: 700; font-size: 15px; text-decoration: none; }
.post-hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.post-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--muted); font-size: 16px; }
.post-hero__meta svg { width: 16px; display: inline; vertical-align: -2px; }
.post-cover { margin: 0 auto; width: min(1100px, 100%); padding: 30px 20px 0; }
.post-cover img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 8; object-fit: cover; }
.post-layout { width: min(1100px, 100% - 40px); margin: 0 auto; padding-block: 50px 80px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.post-layout:not(:has(.post-toc)) { grid-template-columns: minmax(0, 760px); justify-content: center; }
.post-toc { position: sticky; top: 140px; font-size: 16px; }
.post-toc p { font-weight: 800; color: var(--forest); margin-bottom: 10px; }
.post-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.post-toc a { color: var(--muted); text-decoration: none; }
.post-toc a:hover { color: var(--green); }
.post-content { font-size: 19px; line-height: 1.75; min-width: 0; }
.post-content > * + * { margin-top: 1.1em; }
.post-content h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 1.8em; }
.post-content h3 { margin-top: 1.4em; }
.post-content ul, .post-content ol { padding-left: 24px; }
.post-content li + li { margin-top: .4em; }
.post-content blockquote { margin-inline: 0; padding: 20px 26px; background: var(--mist); border-radius: var(--radius-s); font-size: 20px; color: var(--forest); }
.post-content img { border-radius: var(--radius-s); }
.post-author { margin-top: 50px !important; display: flex; gap: 20px; align-items: flex-start; padding: 26px; border-radius: var(--radius); background: var(--sage); }
.post-author .logo__mark { width: 64px; height: 64px; flex: none; }
.post-author > div { display: grid; gap: 10px; justify-items: start; font-size: 17px; line-height: 1.6; }
.post-author__name { font-weight: 800; color: var(--forest); font-size: 19px; }
@media (max-width: 900px) { .post-layout { grid-template-columns: 1fr; gap: 30px; } .post-toc { position: static; padding: 20px; border-radius: var(--radius-s); background: var(--mist); } }

/* Pages légales, 404 */
.legal { width: min(860px, 100% - 40px); margin: 0 auto; padding-block: 60px 90px; }
.legal h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 30px; }
.legal h2 { font-size: 24px; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 10px; }
.legal .todo { padding: 18px; border-radius: var(--radius-s); background: #fff6df; color: var(--gold-ink); }

/* ---------- Pied de page ---------- */
.site-footer { background: #0e2f21; color: #c5d6cb; padding-top: 70px; font-size: 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__hours { display: grid; gap: 6px; }
.footer__hours b { color: #fff; font-weight: 600; }
.footer__brand { display: grid; gap: 14px; align-content: start; }
.footer__name { font-size: 30px; font-weight: 900; letter-spacing: -.03em; color: #fff; }
.footer__title { font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.footer__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 19px; margin-top: 12px; }
.footer__tel svg { width: 18px; }
.nl-signup { display: grid; gap: 10px; }
.nl-signup input[type=email] { width: 100%; font: 400 16px var(--font); padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; }
.nl-signup input[type=email]::placeholder { color: #a9c2b3; }
.nl-signup__ok { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #c5d6cb; }
.nl-signup__ok input { margin-top: 3px; accent-color: var(--gold); }
.nl-signup button { justify-self: start; min-height: 44px; padding: 8px 20px; border: 0; border-radius: 999px; background: var(--gold); color: var(--forest); font: 700 16px var(--font); cursor: pointer; }
.nl-signup button:hover { background: #e1bf72; }
.nl-signup__status { font-size: 14px; color: var(--gold); min-height: 1em; }
.consent--check { display: flex; gap: 10px; align-items: flex-start; }
.consent--check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.footer__social svg { width: 20px; }
.hours--footer { font-size: 15px; }
.hours--footer th { color: #fff; font-weight: 500; padding-right: 12px; }
.hours--footer td { color: #c5d6cb; }
.hours--footer tr + tr { border-top-color: rgba(255,255,255,.1); }
.hours--footer tr.is-today th, .hours--footer tr.is-today td { color: var(--gold); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.footer__legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } .site-footer { padding-bottom: 76px; } }

/* Barre d'appel sur mobile */
.callbar { display: none; }
@media (max-width: 600px) {
  .callbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 999px;
    background: var(--green); color: #fff; font-weight: 700; font-size: 19px; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
  .callbar svg { width: 22px; }
  .callbar:hover { color: #fff; }
}

/* ---------- Fenêtre de prise de rendez-vous ---------- */
.rdv { width: min(520px, 100% - 24px); max-height: calc(100% - 24px); border: 0; border-radius: 22px; padding: 34px 30px 30px; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); }
.rdv::backdrop { background: rgba(10, 34, 24, .6); backdrop-filter: blur(4px); }
.rdv h2 { font-size: 30px; }
.rdv > p { color: var(--muted); margin: 10px 0 22px; font-size: 17px; }
.rdv__close { position: absolute; top: 12px; right: 12px; margin: 0; }
.rdv__close button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--mist); cursor: pointer; display: grid; place-items: center; color: var(--forest); }
.rdv__close svg { width: 22px; }
.rdv__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rdv__opt { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, background .2s; }
.rdv__opt:hover { border-color: var(--green); background: var(--mist); color: var(--ink); }
.rdv__opt > svg { width: 44px; height: 44px; flex: none; padding: 11px; border-radius: 50%; background: var(--sage); color: var(--green); }
.rdv__opt b { display: block; font-size: 19px; color: var(--forest); }
.rdv__opt small { color: var(--muted); font-size: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .rdv[open] { animation: pop .22s ease-out; }
  @keyframes pop { from { opacity: 0; transform: translateY(14px); } }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .site-footer, .callbar, .rdv { display: none !important; } }
