/* =========================================================================
   Clinique privée — feuille de style unique (landing page)
   Aucune image externe : dégradés CSS + icônes SVG en ligne uniquement.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --teal-900: #08312f;
  --teal-800: #0a4a48;
  --teal-700: #0d5c59;
  --teal-600: #0f6e6a;
  --teal-500: #159a92;
  --teal-100: #d9efec;
  --teal-050: #eef8f6;

  --sand-500: #d99a4e;
  --sand-400: #e6b26e;
  --wa-500: #25d366;
  --wa-600: #1da851;

  --ink: #14211f;
  --ink-soft: #4b5b59;
  --line: #e3e6e3;
  --surface: #ffffff;
  --surface-2: #f6f4ef;
  --surface-3: #eef1ef;

  /* Roles */
  --bg: var(--surface-2);
  --card: var(--surface);
  --text: var(--ink);
  --muted: var(--ink-soft);
  --border: var(--line);
  --brand: var(--teal-600);
  --brand-strong: var(--teal-800);
  --accent: var(--sand-500);

  /* Scale */
  --container: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(8, 49, 47, .06), 0 2px 6px rgba(8, 49, 47, .05);
  --shadow: 0 10px 30px rgba(8, 49, 47, .10);
  --shadow-lg: 0 24px 60px rgba(8, 49, 47, .16);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;

  /* Site is light-only — a calm, clinical look that suits a hospital */
  color-scheme: light;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-strong); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-strong); background: var(--teal-100);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 24px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; }
.btn-primary { --btn-bg: var(--brand-strong); box-shadow: var(--shadow-sm); }
.btn-accent { --btn-bg: var(--accent); --btn-fg: #3a2609; }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--text);
  border-color: var(--border); backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); }
.btn-lg { padding: 18px 30px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; color: var(--text); }
.brand .mark {
  width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-800));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}
.brand .tld { color: var(--brand); }
.brand-logo { height: 38px; width: auto; display: block; box-sizing: content-box; }
.site-footer .brand-logo { height: 42px; }
/* The multicolour logo has dark navy text — give it a light plate on the dark footer */
.site-footer .brand-logo { background: #fff; padding: 8px 12px; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: var(--muted); font-weight: 600; font-size: .96rem; padding: 9px 13px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-3); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--card);
  border-radius: 10px; cursor: pointer; padding: 0; place-items: center; color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; inset: 70px 0 auto; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--card); border-bottom: 1px solid var(--border); padding: 12px 22px 20px;
    box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav-links a { padding: 13px; font-size: 1.05rem; }
  .nav[data-open="true"] .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav .btn-desktop-hide-none { display: none; }
  .nav-actions .call-label { display: none; }
}
@media (max-width: 560px) {
  .nav-actions .btn span.txt { display: none; }
  .nav-actions .btn { padding: 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 620px at 82% -8%, var(--teal-100), transparent 62%),
    radial-gradient(760px 520px at -6% 108%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 60%),
    var(--bg);
}
.blob { position: absolute; z-index: -1; filter: blur(2px); opacity: .5; }
.blob-1 { top: -60px; right: -40px; width: 420px; color: var(--teal-500); }
.blob-2 { bottom: -120px; left: -80px; width: 360px; color: var(--accent); opacity: .35; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 650;
  color: var(--brand-strong); background: var(--card); border: 1px solid var(--border);
  padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.pill svg { width: 15px; height: 15px; color: var(--brand); }
.hero p.lead { max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 17px; height: 17px; color: var(--wa-600); }

/* Hero visual (pure CSS card, no photo) */
.hero-visual {
  position: relative; aspect-ratio: 4 / 4.3; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--teal-700), var(--teal-900) 88%);
  box-shadow: var(--shadow-lg); overflow: hidden; color: #eafcf9;
  display: flex; flex-direction: column; justify-content: space-between; padding: 30px;
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(360px 360px at 78% 12%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(300px 300px at 8% 96%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 62%);
  pointer-events: none;
}
.hv-top { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; position: relative; }
.hv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--wa-500); box-shadow: 0 0 0 4px rgba(37,211,102,.25); }
.hv-stat { position: relative; }
.hv-stat .num { font-size: clamp(2.6rem, 7vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hv-stat .cap { opacity: .85; margin-top: 6px; }
.hv-rows { position: relative; display: grid; gap: 12px; }
.hv-row { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px 14px; }
.hv-row svg { width: 20px; height: 20px; flex: 0 0 auto; color: #bff3ea; }
.hv-row b { font-weight: 700; }
.hv-row span { opacity: .85; font-size: .9rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; aspect-ratio: 4/3.4; width: 100%; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--brand-strong); color: #eafcf9; }
.trust .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item svg { width: 30px; height: 30px; flex: 0 0 auto; color: var(--sand-400); }
.trust-item .n { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.trust-item .l { opacity: .82; font-size: .92rem; }
@media (max-width: 760px) { .trust .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; } }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(140deg, var(--teal-100), color-mix(in srgb, var(--teal-100) 40%, var(--card)));
  color: var(--brand-strong); border: 1px solid var(--border);
}
.icon-badge svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Service cards (compact) */
.svc {
  display: flex; align-items: center; gap: 13px; padding: 15px 16px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  transition: transform .16s, border-color .2s;
}
.svc:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); }
.svc .dot { width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center; background: var(--teal-050); color: var(--brand-strong); border: 1px solid var(--border); }
.svc .dot svg { width: 21px; height: 21px; }
.svc b { font-weight: 650; font-size: .98rem; }

/* ---------- Split (image-less) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.split.rev .split-visual { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev .split-visual { order: 0; } }
.split-visual {
  border-radius: var(--radius-lg); padding: 32px; min-height: 300px; color: #eafcf9;
  background: linear-gradient(160deg, var(--teal-600), var(--teal-900));
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
  display: flex; align-items: flex-end;
}
.split-visual.warm { background: linear-gradient(160deg, #b9772f, #6d3f12); }
.split-visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(320px 320px at 80% 10%, rgba(255,255,255,.16), transparent 60%);
}
.split-visual .quote { position: relative; font-size: 1.2rem; font-weight: 600; line-height: 1.5; }
.split-visual .quote span { display: block; margin-top: 14px; font-size: .92rem; font-weight: 500; opacity: .82; }
.split-visual .v-inner { position: relative; z-index: 1; }
.split-visual .headline { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 750; letter-spacing: -.02em; line-height: 1.28; margin: 0; }
.split-visual .headline small { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-bottom: 12px; }
.mini-list { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.mini-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); }
.mini-list svg { width: 22px; height: 22px; color: var(--brand); flex: 0 0 auto; margin-top: 1px; }
.mini-list b { color: var(--text); font-weight: 650; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: var(--shadow-sm); }
.step .num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
  color: #fff; background: linear-gradient(140deg, var(--teal-500), var(--teal-800)); margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Form / CTA ---------- */
.cta-band { background: linear-gradient(150deg, var(--teal-700), var(--teal-900)); color: #eafcf9; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 88% -10%, rgba(255,255,255,.12), transparent 60%); }
.cta-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-grid h2 { color: #fff; }
.cta-grid .lead { color: rgba(234,252,249,.85); }
.cta-list { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.cta-list li { display: flex; gap: 10px; align-items: center; }
.cta-list svg { width: 20px; height: 20px; color: var(--sand-400); flex: 0 0 auto; }

.form-card { background: var(--card); color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 34px); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.35rem; }
.form-card p.sub { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 650; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; padding: 13px 15px; border-radius: 11px; border: 1.5px solid var(--border);
  background: var(--surface-2); color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);
}
.form-consent { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.form-consent a { color: var(--brand-strong); text-decoration: underline; }
.contact-actions { display: grid; gap: 12px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 4px 20px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: 1.06rem; padding: 16px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: 0 0 auto; width: 22px; height: 22px; color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #cfe7e3; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer p { color: #a9cec9; font-size: .95rem; max-width: 42ch; }
.footer-h { color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-list { list-style: none; display: grid; gap: 11px; }
.footer-list a, .footer-list span { color: #bfe0db; display: inline-flex; gap: 10px; align-items: center; }
.footer-list a:hover { color: #fff; }
.footer-list svg { width: 18px; height: 18px; color: var(--teal-500); flex: 0 0 auto; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .86rem; color: #9cc4be; }

/* ---------- Floating quick-contact ---------- */
.floaters { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.floaters a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); color: #fff; }
.floaters .f-call { background: var(--brand-strong); }
.floaters svg { width: 26px; height: 26px; }
@media (max-width: 560px) { .floaters a { width: 50px; height: 50px; } }

/* ---------- Misc ---------- */
.bg-soft { background: var(--surface-3); }
.text-center { text-align: center; }
.mt-l { margin-top: 34px; }
.divider-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 26px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
