/* ==========================================================================
   Variant A — "Médical épuré / clair"
   Refined, trustworthy clinical aesthetic. Teal + warm off-white.
   Display: Newsreader (serif) · Body: Hanken Grotesk (humanist sans)
   ========================================================================== */

/* ---- Design tokens -------------------------------------------------------- */
:root {
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --bg: #f4f7f6;
  --bg-tint: #eaf1ef;
  --surface: #ffffff;
  --surface-2: #f8fbfa;
  --text: #15302e;
  --muted: #54706d;
  --primary: #0f766e;
  --primary-strong: #0b5a53;
  --primary-soft: #d8ebe8;
  --accent: #b45309;
  --border: #e0eae8;
  --shadow: 0 1px 2px rgba(16, 48, 46, .04), 0 12px 32px -12px rgba(16, 48, 46, .18);
  --shadow-sm: 0 1px 2px rgba(16, 48, 46, .06), 0 4px 14px -8px rgba(16, 48, 46, .15);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
}

:root[data-theme="dark"] {
  --bg: #0b1413;
  --bg-tint: #0f1b1a;
  --surface: #111e1c;
  --surface-2: #162523;
  --text: #e8f1ef;
  --muted: #9bb3b0;
  --primary: #2dd4bf;
  --primary-strong: #5eead4;
  --primary-soft: #11302c;
  --accent: #fbbf24;
  --border: #1f322f;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -16px rgba(0, 0, 0, .6);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px -10px rgba(0, 0, 0, .5);
}

/* ---- Reset & base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* subtle atmospheric background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 520px at 88% -8%, var(--primary-soft), transparent 60%),
    radial-gradient(900px 480px at -6% 12%, var(--bg-tint), transparent 55%);
  opacity: .8;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:root[data-theme="dark"] a { color: var(--primary-strong); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
section { padding-block: clamp(3.2rem, 7vw, 6rem); }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); display: inline-flex; align-items: center; gap: .55rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--primary); border-radius: 2px; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 60ch; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
:root[data-theme="dark"] .btn-primary { color: #062420; }
.btn-primary:hover { background: var(--primary-strong); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-strong); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ---- Header / nav --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 1rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); font-weight: 700; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(145deg, var(--primary), var(--primary-strong));
  display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
}
:root[data-theme="dark"] .brand-mark { color: #062420; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b { font-size: 1.02rem; }
.brand-name span { font-size: .74rem; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.nav-links { display: flex; gap: .3rem; margin-left: auto; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: .5rem .8rem; border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-tools { display: flex; align-items: center; gap: .5rem; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center;
  transition: border-color .2s, transform .15s, color .2s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary-strong); transform: translateY(-1px); }
.icon-btn svg { width: 19px; height: 19px; }
.lang-switch {
  font-family: var(--font-body); font-weight: 600; font-size: .82rem; letter-spacing: .03em;
  height: 40px; padding-inline: .85rem; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); text-decoration: none; display: inline-flex; align-items: center;
  transition: border-color .2s, color .2s;
}
.lang-switch:hover { border-color: var(--primary); color: var(--primary-strong); }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.nav-cta { display: inline-flex; }
.burger { display: none; }
.mobile-menu { display: none; }

/* ---- Hero ----------------------------------------------------------------- */
.hero { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.6rem + 3.2vw, 3.9rem); margin-block: 1rem .9rem; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero .lead { margin-bottom: 1.7rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.7rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.3rem; color: var(--muted); font-size: .9rem; }
.trust-row span { display: inline-flex; align-items: center; gap: .45rem; }
.trust-row svg { width: 17px; height: 17px; color: var(--primary); }

.hero-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 1.4rem; box-shadow: var(--shadow);
}
.hero-photo {
  aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--primary-soft), var(--bg-tint));
  display: grid; place-items: center;
}
.hero-photo .ph-label {
  position: absolute; bottom: 10px; left: 10px; right: 10px; font-size: .72rem; color: var(--muted);
  background: color-mix(in srgb, var(--surface) 80%, transparent); padding: .35rem .55rem; border-radius: 8px; text-align: center;
}
.hero-photo svg { width: 46%; opacity: .55; color: var(--primary); }
.hero-badge {
  position: absolute; top: -14px; right: 18px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: .6rem .85rem; box-shadow: var(--shadow-sm); display: flex; align-items: flex-end; gap: .6rem;
}
.hero-badge b { font-family: var(--font-display); font-size: 1.7rem; color: var(--primary); line-height: .9; }
.hero-badge span { font-size: .72rem; color: var(--muted); line-height: 1.2; }

/* ---- Section heads -------------------------------------------------------- */
.sec-head { max-width: 62ch; margin-bottom: 2.4rem; }
.sec-head h2 { margin-block: .6rem .7rem; }

/* ---- About ---------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.about-photo { aspect-ratio: 1; border-radius: 20px; background: linear-gradient(160deg, var(--bg-tint), var(--primary-soft)); border: 1px solid var(--border); display: grid; place-items: center; }
.about-photo svg { width: 38%; opacity: .5; color: var(--primary); }
.about p + p { margin-top: 1rem; }
.about .muted { color: var(--muted); }
.cred-list { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: .7rem; }
.cred-list li { display: flex; gap: .7rem; align-items: flex-start; }
.cred-list svg { width: 20px; height: 20px; color: var(--primary); flex: none; margin-top: 2px; }

/* ---- Specialties cards ---------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.card-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 1rem; }
.card-ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---- Zones (local SEO) ---------------------------------------------------- */
.zones { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-sm); }
.zone-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.zone-tags span { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); padding: .45rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 500; }

/* ---- FAQ ------------------------------------------------------------------ */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--text);
  font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; padding: 1.2rem 2.5rem 1.2rem 0;
  position: relative; display: flex; gap: 1rem; align-items: baseline;
}
.faq-q::after {
  content: "+"; position: absolute; right: 2px; top: 1.05rem; font-size: 1.5rem; font-weight: 400;
  color: var(--primary); transition: transform .25s ease; line-height: 1;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { color: var(--muted); padding: 0 2.5rem 1.3rem 0; max-width: 70ch; }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: stretch; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow-sm); }
.info-list { list-style: none; padding: 0; display: grid; gap: 1.15rem; margin-top: .5rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.info-list .ico svg { width: 20px; height: 20px; }
.info-list a { color: var(--text); text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--primary-strong); }
.info-list small { color: var(--muted); display: block; font-weight: 400; }
.practical { list-style: none; padding: 0; margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--border); display: grid; gap: .7rem; }
.practical li { display: flex; gap: .65rem; align-items: center; color: var(--muted); font-size: .92rem; }
.practical svg { width: 19px; height: 19px; color: var(--primary); flex: none; }
.hours { list-style: none; padding: 0; margin-top: .9rem; }
.hours li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dashed var(--border); font-size: .95rem; }
.hours li span:last-child { color: var(--muted); }
.book-cta { display: grid; place-content: center; text-align: center; gap: 1rem; background: linear-gradient(160deg, var(--primary), var(--primary-strong)); color: #fff; border-radius: var(--radius); padding: clamp(1.8rem, 5vw, 3rem); }
:root[data-theme="dark"] .book-cta { color: #062420; }
.book-cta h3 { font-size: 1.6rem; color: inherit; }
.book-cta p { opacity: .9; max-width: 40ch; }
.book-cta .btn { background: #fff; color: var(--primary-strong); }
.book-cta .btn:hover { background: #f0fdfa; }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding-block: 2.6rem; margin-top: 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-grid h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .9rem; }
.foot-grid a { color: var(--muted); text-decoration: none; display: block; padding: .25rem 0; }
.foot-grid a:hover { color: var(--primary-strong); }
.foot-grid p { color: var(--muted); font-size: .92rem; }
.foot-bottom { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; color: var(--muted); font-size: .85rem; }

/* ---- Reveal animation ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Real images in photo frames ----------------------------------------- */
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.about-photo { overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { z-index: 2; white-space: nowrap; }
.hero-badge span { line-height: 1.15; }

/* ---- Two-column card group (disciplines) --------------------------------- */
.cards.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 900px; }

/* ---- Motifs strip --------------------------------------------------------- */
.motifs { margin-top: 2.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.motifs h3 { margin-bottom: .9rem; }

/* ---- Google reviews ------------------------------------------------------- */
.reviews { text-align: center; max-width: 680px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.2rem); box-shadow: var(--shadow-sm); }
.reviews .stars { color: #f5a524; font-size: 1.8rem; letter-spacing: .2em; margin-bottom: .5rem; }
.reviews h2 { margin-bottom: .6rem; }
.reviews .lead { margin: 0 auto 1.6rem; }

/* ---- Map (click to load, keeps page light) ------------------------------- */
.map-embed { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 340px; cursor: pointer; background: var(--surface-2); box-shadow: var(--shadow-sm); }
.map-embed .map-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .5rem; text-align: center; padding: 1.6rem; color: var(--muted); transition: background .2s ease; }
.map-embed:hover .map-ph, .map-embed:focus-visible .map-ph { background: var(--primary-soft); }
.map-embed .map-ph svg { width: 44px; height: 44px; color: var(--primary); }
.map-embed .map-ph strong { color: var(--text); font-size: 1.05rem; }
.map-embed .map-ph span { max-width: 30ch; font-size: .9rem; }
.map-embed.loaded .map-ph { display: none; }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; margin-inline: auto; order: -1; }
  .about-photo { max-width: 360px; }
  .foot-grid { gap: 1.6rem; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: grid; }
  .mobile-menu {
    position: fixed; inset: 72px 0 auto 0; background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); padding: 1rem var(--gut) 1.4rem; display: none; flex-direction: column; gap: .2rem; z-index: 49;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { color: var(--text); text-decoration: none; padding: .8rem .4rem; border-bottom: 1px solid var(--border); font-weight: 500; }
  .mobile-menu .btn { margin-top: .8rem; }
}
