/* Site de Hoï Wong — feuille unique, sans framework.
   Charte : spécification §9 (rouge bordeaux hérité de l'ancien site, lin,
   or doux en écho à « Fleur Dorée aux Mains d'Or »). */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-600italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --rouge: #a21a20;
  --rouge-fonce: #7e1419;
  --lin: #f5ede4;
  --or: #b8894a;
  --or-clair: #e6d3b3;
  --texte: #2b2622;
  --texte-2: #6b615a;
  --fond: #ffffff;
  --fond-2: #fbf8f4;
  --filet: #e8dfd3;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mesure: 68ch;
  --conteneur: 1120px;
  --gouttiere: clamp(20px, 5vw, 48px);
  --rayon: 4px;
}

*, *::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 { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
}
@media (min-width: 768px) { body { font-size: 18px; } }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--rouge); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rouge-fonce); }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.3em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -60px; padding: 10px 14px; background: var(--rouge); color: #fff; z-index: 100; border-radius: var(--rayon); }
.evitement:focus { top: 12px; }

/* ── Boutons ─────────────────────────────────────────────────────── */
.bouton {
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 44px; padding: .55em 1.2em;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border-radius: var(--rayon); border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.bouton--principal { background: var(--rouge); color: #fff; border-color: var(--rouge); }
.bouton--principal:hover { background: var(--rouge-fonce); border-color: var(--rouge-fonce); color: #fff; }
.bouton--secondaire { background: transparent; color: var(--rouge); border-color: var(--rouge); }
.bouton--secondaire:hover { background: var(--lin); color: var(--rouge-fonce); }
.bouton--appel { background: var(--rouge); color: #fff; border-color: var(--rouge); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bouton--appel:hover { background: var(--rouge-fonce); color: #fff; }
.bouton--grand { font-size: 1.15rem; padding: .7em 1.5em; }

/* ── En-tête ─────────────────────────────────────────────────────── */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--filet); backdrop-filter: blur(6px); }
.entete__interieur { max-width: var(--conteneur); margin: 0 auto; padding: 10px var(--gouttiere); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.entete__logo { flex: 0 0 auto; }
.entete__logo img { width: min(200px, calc(100vw - 190px)); height: auto; }
.entete__appel { margin-left: auto; }
.entete__appel span { display: none; }
.entete__burger { order: 3; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1.5px solid var(--filet); border-radius: var(--rayon); cursor: pointer; position: relative; }
.entete__burger-trait, .entete__burger-trait::before, .entete__burger-trait::after { display: block; width: 20px; height: 2px; background: var(--texte); border-radius: 2px; transition: transform .2s, opacity .2s; }
.entete__burger-trait { position: relative; }
.entete__burger-trait::before, .entete__burger-trait::after { content: ""; position: absolute; left: 0; }
.entete__burger-trait::before { top: -6px; } .entete__burger-trait::after { top: 6px; }
.entete__burger[aria-expanded="true"] .entete__burger-trait { background: transparent; }
.entete__burger[aria-expanded="true"] .entete__burger-trait::before { transform: translateY(6px) rotate(45deg); }
.entete__burger[aria-expanded="true"] .entete__burger-trait::after { transform: translateY(-6px) rotate(-45deg); }
.menu { flex-basis: 100%; order: 4; }
body.js .menu { display: none; }
body.js .menu.est-ouvert { display: block; }
.menu__liste { list-style: none; margin: 8px 0 4px; padding: 0; display: flex; flex-direction: column; }
.menu__lien { display: flex; align-items: center; gap: 6px; padding: 12px 6px; min-height: 44px; font-weight: 600; color: var(--texte); text-decoration: none; border-bottom: 1px solid var(--filet); background: none; border-top: 0; border-left: 0; border-right: 0; font: inherit; font-weight: 600; cursor: pointer; width: 100%; text-align: left; }
.menu__lien:hover, .menu__lien.est-courant { color: var(--rouge); }
.menu__lien.est-courant { box-shadow: inset 0 -2px 0 var(--rouge); }
.menu__chevron { transition: transform .15s; }
.menu__item--deroulant.est-ouvert .menu__chevron { transform: rotate(180deg); }
.sous-menu { list-style: none; margin: 0; padding: 4px 0 8px 14px; }
body.js .menu__item--deroulant:not(.est-ouvert) .sous-menu { display: none; }
.sous-menu__lien { display: block; padding: 9px 6px; color: var(--texte); text-decoration: none; }
.sous-menu__lien:hover, .sous-menu__lien.est-courant { color: var(--rouge); }

@media (min-width: 1024px) {
  .entete__interieur { flex-wrap: nowrap; gap: 10px; }
  .entete__logo img { width: 360px; }
  .entete__burger { display: none; }
  .entete__appel span { display: inline; }
  .entete__appel { margin-left: 12px; order: 5; }
  body.js .menu, .menu { display: block; flex: 1 1 auto; order: 2; }
  .menu__liste { flex-direction: row; justify-content: center; gap: 4px; margin: 0; }
  .menu__item { position: relative; }
  .menu__lien { border-bottom: 0; padding: 10px 10px; width: auto; white-space: nowrap; font-size: .97rem; }
  .menu__lien.est-courant { box-shadow: inset 0 -2px 0 var(--rouge); }
  .sous-menu { position: absolute; left: 0; top: 100%; min-width: 260px; padding: 8px; background: #fff; border: 1px solid var(--filet); border-top: 2px solid var(--or); box-shadow: 0 10px 30px -12px rgba(43,38,34,.25); }
  body.js .menu__item--deroulant:not(.est-ouvert) .sous-menu { display: none; }
  .sous-menu__lien { padding: 9px 12px; border-radius: var(--rayon); }
  .sous-menu__lien:hover { background: var(--lin); }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .entete__logo img { width: 280px; }
  .entete__appel span { display: none; }
  .menu__lien { padding: 10px 8px; }
}

/* ── Sections génériques ─────────────────────────────────────────── */
.section { padding: clamp(48px, 8vw, 96px) var(--gouttiere); }
.section--lin { background: var(--lin); }
.section--creme { background: var(--fond-2); }
.section__interieur { max-width: var(--conteneur); margin: 0 auto; }
.prose { max-width: var(--mesure); }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }
.prose blockquote { margin: 1.5em 0; padding: 0 0 0 1.2em; border-left: 3px solid var(--or); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.35em; line-height: 1.3; color: var(--rouge-fonce); }
.prose blockquote p { margin: 0; }
.prose ul li + li { margin-top: .35em; }

/* Encart « vision de la médecine traditionnelle chinoise » */
.encart-mtc { margin: 2em 0; padding: 1.4em 1.6em; background: var(--lin); border-left: 4px solid var(--or); border-radius: 0 var(--rayon) var(--rayon) 0; }
.encart-mtc h2, .encart-mtc h3 { margin-top: 0; font-size: 1.45rem; }
.encart-mtc p:last-child { margin-bottom: 0; }

/* Avertissement */
.avertissement { max-width: var(--mesure); margin: 2.5em 0 0; padding: 1em 1.3em; background: var(--lin); border-left: 4px solid var(--or); font-size: .95rem; color: var(--texte-2); }
.avertissement p { margin: 0; }

/* Grille de sous-thèmes (Douleurs, Digestion…) */
.themes { display: grid; grid-template-columns: 1fr; gap: 1.5em 2.5em; margin: 1.5em 0 0; }
@media (min-width: 768px) { .themes { grid-template-columns: 1fr 1fr; } }
.themes h3 { font-size: 1.35rem; margin: 0 0 .3em; padding-top: .6em; border-top: 1px solid var(--or-clair); }
.themes p { margin: 0; }
.themes + p { margin-top: 2em; }

/* ── Fil d'Ariane ────────────────────────────────────────────────── */
.ariane { font-size: .92rem; color: var(--texte-2); margin-bottom: 1.2em; }
.ariane__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3em; }
.ariane__liste li + li::before { content: "›"; margin-right: .3em; color: var(--or); }
.ariane a { color: var(--texte-2); }
.ariane a:hover { color: var(--rouge); }

/* ── Gabarit service ─────────────────────────────────────────────── */
.service__entete { background: var(--fond-2); border-bottom: 1px solid var(--filet); }
.service__entete-interieur { max-width: var(--conteneur); margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gouttiere) clamp(28px, 5vw, 56px); position: relative; }
.service__titre { max-width: 22ch; }
.service__chapo { max-width: var(--mesure); font-size: 1.12em; color: var(--texte); }
.service__chapo p:last-child { margin-bottom: 0; }
.service__illustration { display: none; }
@media (min-width: 1024px) {
  .service__entete { position: relative; overflow: hidden; }
  .service__illustration { display: block; position: absolute; right: max(var(--gouttiere), calc((100% - var(--conteneur)) / 2)); top: 50%; transform: translateY(-50%); width: 240px; color: var(--or); opacity: .9; pointer-events: none; }
  .service__titre, .service__chapo { padding-right: 300px; }
}
.service__corps { max-width: var(--conteneur); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gouttiere) 0; }
.service__pied { max-width: var(--conteneur); margin: 0 auto; padding: 0 var(--gouttiere) clamp(40px, 6vw, 72px); }

/* ── Gabarit simple ──────────────────────────────────────────────── */
.simple__interieur { max-width: var(--conteneur); margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gouttiere) clamp(48px, 7vw, 88px); }
.simple__titre { max-width: 22ch; }

/* ── Cartes motifs ───────────────────────────────────────────────── */
.motifs { background: var(--fond-2); border-top: 1px solid var(--filet); padding: clamp(48px, 7vw, 88px) var(--gouttiere); }
.motifs__interieur { max-width: var(--conteneur); margin: 0 auto; }
.motifs__titre { margin-bottom: 1em; }
.motifs__grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .motifs__grille { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .motifs__grille { grid-template-columns: repeat(3, 1fr); } }
.motif__lien { display: block; height: 100%; padding: 18px 20px 20px; background: #fff; border: 1px solid var(--filet); border-top: 3px solid var(--or-clair); border-radius: var(--rayon); text-decoration: none; color: var(--texte); transition: border-color .15s; }
.motif__lien:hover { border-top-color: var(--rouge); color: var(--texte); }
.motif__nom { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.15; margin-bottom: .3em; color: var(--rouge-fonce); }
.motif__resume { display: block; font-size: .97rem; color: var(--texte-2); }

/* ── Bloc appel ──────────────────────────────────────────────────── */
.cta { background: var(--rouge-fonce); color: #fff; padding: clamp(48px, 7vw, 88px) var(--gouttiere); }
.cta__interieur { max-width: var(--conteneur); margin: 0 auto; text-align: left; }
.cta__titre { color: #fff; margin-bottom: .3em; }
.cta__texte { max-width: 56ch; color: rgba(255,255,255,.85); margin-bottom: 1.4em; }
.cta .bouton--principal { background: #fff; color: var(--rouge-fonce); border-color: #fff; }
.cta .bouton--principal:hover { background: var(--lin); border-color: var(--lin); }
.cta__adresse { margin: 1.4em 0 0; color: rgba(255,255,255,.8); font-size: .97rem; }

/* ── Pied de page ────────────────────────────────────────────────── */
.pied { background: var(--fond-2); border-top: 1px solid var(--filet); font-size: .95rem; color: var(--texte-2); }
.pied__interieur { max-width: var(--conteneur); margin: 0 auto; padding: clamp(40px, 6vw, 64px) var(--gouttiere) 24px; display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .pied__interieur { grid-template-columns: 1.6fr 1fr 1fr; } }
.pied__nom { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--texte); margin-bottom: .4em; }
.pied__titre { font-weight: 600; color: var(--texte); margin-bottom: .6em; }
.pied__liste { list-style: none; margin: 0; padding: 0; }
.pied__liste li { margin-bottom: .35em; }
.pied a { color: var(--texte-2); }
.pied a:hover { color: var(--rouge); }
.pied__villes { max-width: var(--conteneur); margin: 0 auto; padding: 0 var(--gouttiere) 20px; }
.pied__villes p { max-width: 80ch; margin: 0; }
.pied__legal { max-width: var(--conteneur); margin: 0 auto; padding: 18px var(--gouttiere) 32px; border-top: 1px solid var(--filet); font-size: .88rem; }
.pied__legal p { margin: 0 0 .5em; }

/* ── Accueil ─────────────────────────────────────────────────────── */
.hero { background: var(--lin); }
.hero__interieur { max-width: var(--conteneur); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gouttiere) clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero__interieur { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.hero__titre { font-size: clamp(2.4rem, 5.6vw, 4rem); max-width: 16ch; margin-bottom: .35em; }
.hero__sous-titre { font-family: var(--serif); font-weight: 600; font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.8rem); color: var(--rouge-fonce); margin-bottom: .8em; line-height: 1.25; }
.hero__accroche { font-size: 1.12em; max-width: 48ch; margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.4em; }
.hero__reassurance { font-size: .95rem; color: var(--texte-2); margin: 0; }
.hero__portrait { justify-self: center; width: min(100%, 420px); }
.hero__portrait img { width: 100%; height: auto; border-radius: 50% 50% var(--rayon) var(--rayon) / 40% 40% 4px 4px; }

.presentation__interieur { max-width: var(--conteneur); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .presentation__interieur { grid-template-columns: 1fr 1fr; gap: 64px; } }
.presentation h2 { max-width: 18ch; }
.approche { border-top: 1px solid var(--filet); }
.approche h3 { color: var(--rouge-fonce); font-style: italic; margin-top: -.2em; }

.motifs-accueil__intro { max-width: var(--mesure); margin-bottom: 1.6em; }
.motifs-accueil__liste { list-style: none; margin: 0 0 1.6em; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px 32px; }
@media (min-width: 768px) { .motifs-accueil__liste { grid-template-columns: 1fr 1fr; } }
.motifs-accueil__liste li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--filet); }
.motifs-accueil__liste a { font-weight: 600; white-space: nowrap; font-size: .95rem; text-decoration: none; }
.motifs-accueil__liste a:hover { text-decoration: underline; }
.motifs-accueil__fin { max-width: var(--mesure); color: var(--texte-2); }

.pratiques__grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .pratiques__grille { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.pratique { padding-top: 18px; border-top: 3px solid var(--or); }
.pratique h3 { margin-bottom: .3em; }
.pratique p { color: var(--texte-2); margin-bottom: .6em; }

.presse { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 900px) { .presse { grid-template-columns: 1fr 1fr; gap: 56px; } }
.presse__source { font-size: .95rem; color: var(--texte-2); }
.presse__image { border: 1px solid var(--filet); padding: 8px; background: #fff; }
.presse__image a { display: block; }

/* ── À propos ────────────────────────────────────────────────────── */
.apropos__haut { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
@media (min-width: 900px) { .apropos__haut { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.apropos__portrait img { border-radius: 50% 50% var(--rayon) var(--rayon) / 40% 40% 4px 4px; height: auto; }
.formations { list-style: none; margin: 0; padding: 0; }
.formations li { padding: 10px 0; border-bottom: 1px solid var(--filet); }
.formations small { display: block; color: var(--texte-2); font-size: .92rem; }
.medaillon { float: right; width: 180px; margin: 0 0 16px 28px; text-align: center; }
@media (max-width: 599px) { .medaillon { float: none; margin: 0 auto 20px; } }
.medaillon img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; object-position: center 20%; filter: sepia(.25); border: 4px solid var(--lin); box-shadow: 0 0 0 1px var(--or-clair); }
.medaillon figcaption { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.05rem; color: var(--rouge-fonce); margin-top: 10px; line-height: 1.3; }

/* ── Tarifs ──────────────────────────────────────────────────────── */
.tarif { position: relative; max-width: 620px; margin: 1.5em 0 2em; padding: 32px 32px 28px; background: var(--lin); border: 1px solid var(--or-clair); border-radius: var(--rayon); overflow: hidden; }
.tarif__qi { position: absolute; right: 18px; bottom: 14px; width: 120px; color: var(--or); opacity: .32; pointer-events: none; }
@media (min-width: 600px) { .tarif { padding-right: 170px; } .tarif__qi { width: 140px; } }
.tarif__intitule { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; margin: 0 0 .2em; }
.tarif__prix { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 7vw, 4.2rem); line-height: 1; color: var(--rouge); margin: 0 0 .25em; }
.tarif__prix small { font-family: var(--sans); font-weight: 400; font-size: 1.05rem; color: var(--texte-2); margin-left: .4em; }
.tarif ul { margin: .8em 0 0; padding-left: 1.2em; position: relative; }

/* ── Contact ─────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 56px; } }
.contact__coordonnees p { margin-bottom: .8em; }
.contact__nom { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; margin-bottom: .2em; }
.contact__tel { font-size: 1.6rem; font-weight: 600; }
.contact__plan img { border: 1px solid var(--filet); border-radius: var(--rayon); }
.contact__plan-liens { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.contact__villes { margin-top: clamp(40px, 6vw, 64px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--filet); }
.acces { margin-top: 1.5em; padding: 1.2em 1.4em; background: var(--lin); border-left: 4px solid var(--or); }
.acces h2 { font-size: 1.45rem; margin-top: 0; }
.acces p:last-child { margin-bottom: 0; }
