/* =============================================================
   MediMett — Design system
   Charte médicale verte · serif Newsreader + sans Inter
   Mobile-first, accessible (WCAG), coins arrondis, ombres douces
   ============================================================= */

:root {
  /* Couleurs */
  --green: #1B7A5A;
  --green-dark: #0F4A37;
  --green-600: #176B4F;
  --green-tint: #E6F4EE;
  --green-tint-2: #F3FAF7;
  --ink: #1A2420;
  --muted: #5E6E67;
  --white: #ffffff;
  --line: #E2ECE7;
  --danger: #B4322A;
  --danger-tint: #FBEDEC;
  --gold: #B08A3E;
  --gold-tint: #F6EFE1;

  /* Typo */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Rayons & ombres */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow: 0 2px 8px rgba(15, 74, 55, .06);
  --shadow-md: 0 10px 30px rgba(15, 74, 55, .10);
  --shadow-lg: 0 24px 60px rgba(15, 74, 55, .14);

  /* Rythme */
  --wrap: 1160px;
  --gap: clamp(1rem, 3vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 6rem);
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--green-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
strong { font-weight: 600; }

/* ---------- Accessibilité ---------- */
.visually-hidden, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: .5rem; left: .5rem; z-index: 200;
  background: var(--green-dark); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
}
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.narrow { max-width: 780px; }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--green-tint-2); }
.section--promise { padding-top: clamp(2.5rem, 6vw, 4rem); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--green); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--green); --btn-fg: #fff; }
.btn--primary:hover { background: var(--green-600); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--green-dark); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--green-tint); }
.btn--outline { --btn-bg: #fff; --btn-fg: var(--green-dark); border-color: var(--green); box-shadow: none; }
.btn--outline:hover { background: var(--green-tint); }
.btn--onaccent { --btn-bg: #fff; --btn-fg: var(--green-dark); }
.btn--onaccent:hover { background: var(--green-tint); color: var(--green-dark); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--danger { --btn-bg: var(--danger); --btn-fg: #fff; }
.btn--gold { --btn-bg: var(--gold); --btn-fg: #fff; }
.btn--gold:hover { background: #9a763321; background: #97742f; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.topbar { background: var(--green-dark); color: #eafff6; font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 1rem; }
.topbar__item { color: #eafff6; text-decoration: none; white-space: nowrap; }
.topbar__item:hover { color: #fff; text-decoration: underline; }
.topbar__right { display: flex; align-items: center; gap: 1.2rem; }
.topbar__residences { opacity: .92; }
.lang-switch { display: inline-flex; align-items: center; gap: .25rem; font-weight: 600; color: #eafff6; text-decoration: none; padding: .2rem .5rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }
.lang-switch:hover { background: rgba(255,255,255,.12); color: #fff; }
.lang-switch__current { opacity: 1; }
.lang-switch__other { opacity: .6; }
.lang-switch__sep { opacity: .4; }

.header__inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--green); font-weight: 700; }
.logo__mark { width: 34px; height: 34px; flex: none; color: var(--green); }
.logo__text { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: -.01em; }
.logo__medi { color: var(--ink); }
.logo__mett { color: var(--green); }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .3rem; padding: 0; }
.nav__link { display: inline-block; padding: .55rem .8rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav__link:hover { background: var(--green-tint); color: var(--green-dark); }
.nav__link.is-active { color: var(--green-dark); background: var(--green-tint); }
.header__cta { margin-left: .4rem; }
.nav__toggle { display: none; }

/* Menu mobile */
@media (max-width: 900px) {
  .header__cta { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
    border-radius: var(--r-sm); cursor: pointer; margin-left: auto;
  }
  .nav__toggle-bar, .nav__toggle-bar::before, .nav__toggle-bar::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s;
  }
  .nav__toggle-bar { position: relative; }
  .nav__toggle-bar::before { position: absolute; top: -6px; }
  .nav__toggle-bar::after { position: absolute; top: 6px; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { top: 0; transform: rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar::after { top: 0; transform: rotate(-45deg); }
  .nav__list {
    position: fixed; inset: 106px 0 auto 0; flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 1rem clamp(1.1rem, 4vw, 2rem) 1.4rem; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .nav__list.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: .85rem .6rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 100%); color: #fff; }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 8vw, 5.5rem); max-width: 900px; }
.hero__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(255,255,255,.08), transparent 60%);
}
.hero::after { /* croix médicale filigrane */
  content: ""; position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: 340px; height: 340px; z-index: 0; opacity: .10;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M17 6h6v11h11v6H23v11h-6V23H6v-6h11z' fill='white'/%3E%3C/svg%3E");
}
.hero__kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: #bff0dd; margin-bottom: 1rem; }
.hero__title { font-size: clamp(2.1rem, 6vw, 3.6rem); color: #fff; font-weight: 500; }
.hero__em { display: block; color: #bff0dd; font-style: italic; font-size: .82em; margin-top: .2em; }
.hero__lead { margin-top: 1.3rem; font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: #e6fff5; max-width: 42ch; line-height: 1.55; }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__actions--left { margin-top: 1.5rem; }
.hero--home .hero__inner { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.hero--permanence { background: linear-gradient(160deg, #0F4A37 0%, #1B7A5A 100%); }
.hero--doctors { background: linear-gradient(160deg, #103f4f 0%, #14708a 100%); }
.hero--doctors .hero__kicker, .hero--doctors .hero__em { color: #cdeefb; }
.hero--doctors .hero__lead { color: #eaf9ff; }
.hero--residences { background: linear-gradient(160deg, #2b2416 0%, #6b5a34 100%); }
.hero--residences .hero__kicker, .hero--residences .hero__em { color: #f0e2c2; }
.hero--residences .hero__lead { color: #f6efe1; }
.hero--residences::after { opacity: .08; }

/* ---------- Bandeau de chiffres ---------- */
.facts-strip { background: #fff; border-bottom: 1px solid var(--line); }
.facts-strip__inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: 0; margin-block: 0; }
.fact { background: #fff; padding: 1.4rem 1rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; }
.fact__icon { color: var(--green); }
.fact__icon .icon { width: 26px; height: 26px; }
.fact__value { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--green-dark); }
.fact__label { font-size: .86rem; color: var(--muted); }
@media (min-width: 720px) { .facts-strip__inner { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Titres de section ---------- */
.section-head { max-width: 60ch; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--green); margin-bottom: .6rem; }
.kicker--onaccent { color: #bff0dd; }
.section-title { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.section-lead { margin-top: .9rem; font-size: 1.12rem; color: var(--muted); }
.prose-center { font-size: 1.12rem; color: var(--muted); }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Cartes ---------- */
.icon { width: 24px; height: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--green-tint); color: var(--green-dark); margin-bottom: 1rem; }
.card__icon .icon { width: 26px; height: 26px; }
.card__title { font-size: 1.22rem; margin-bottom: .4rem; }
.card__text { color: var(--muted); font-size: 1rem; }
.card--why .card__icon { background: var(--green-dark); color: #fff; }

/* Aperçu spécialités (accueil) */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .spec-grid { grid-template-columns: repeat(4, 1fr); } }
.spec-card { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; text-decoration: none; color: var(--ink); transition: .18s; min-height: 118px; }
.spec-card:hover { border-color: var(--green); background: var(--green-tint-2); color: var(--green-dark); transform: translateY(-2px); }
.spec-card__icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: var(--green-tint); color: var(--green-dark); }
.spec-card__title { font-weight: 600; font-size: 1rem; }
.spec-card--all { justify-content: center; align-items: center; text-align: center; background: var(--green-tint); border-style: dashed; border-color: var(--green); color: var(--green-dark); font-weight: 600; }

/* Spécialités (page dédiée) */
.spec { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--shadow); }
.spec__icon { display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 15px; background: var(--green-tint); color: var(--green-dark); margin-bottom: 1rem; }
.spec__icon .icon { width: 28px; height: 28px; }
.spec__title { font-size: 1.3rem; margin-bottom: .5rem; }
.spec__text { color: var(--muted); }

/* ---------- Deux colonnes ---------- */
.two-col { display: grid; gap: clamp(1.6rem, 5vw, 3.4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } .two-col--wide { grid-template-columns: 1.4fr .9fr; } }
.two-col__text p + p { margin-top: 1rem; }
.two-col__text .btn { margin-top: 1.4rem; }
.two-col__text .check-list { margin-top: 1.2rem; }
@media (min-width: 860px) { .two-col--reverse .location-visual, .two-col--reverse .building-visual { order: 2; } }

.stat-card { background: var(--green-dark); color: #fff; border-radius: var(--r-lg); padding: 2rem; text-align: center; box-shadow: var(--shadow-md); }
.stat-card__num { display: block; font-family: var(--serif); font-size: 3rem; font-weight: 600; color: #bff0dd; line-height: 1; }
.stat-card__label { display: block; color: #dffff2; margin-top: .3rem; }
.stat-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.2); margin: 1.4rem 0; }

.building-visual, .ultrasound-visual, .location-visual {
  display: grid; place-items: center; aspect-ratio: 4/3; border-radius: var(--r-lg);
  background: linear-gradient(155deg, var(--green-tint), #fff); border: 1px solid var(--line); color: var(--green);
}
.building-visual__icon, .ultrasound-visual__icon, .location-visual__icon { width: 40%; height: auto; opacity: .7; }

/* Valeurs */
.value { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.value__icon { flex: none; display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 13px; background: var(--green-tint); color: var(--green-dark); }
.value__title { font-size: 1.2rem; margin-bottom: .3rem; }
.value__text { color: var(--muted); }

/* ---------- Feature (blocs mis en avant) ---------- */
.feature { display: grid; gap: 1.5rem; border-radius: var(--r-xl); padding: clamp(1.8rem, 5vw, 3rem); align-items: center; grid-template-columns: 1fr; }
.feature--permanence { background: linear-gradient(150deg, var(--green-dark), var(--green)); color: #fff; box-shadow: var(--shadow-lg); }
.feature--doctors { background: var(--green-tint-2); border: 1px solid var(--line); }
.feature__title { font-size: clamp(1.5rem, 3.5vw, 2.1rem); color: #fff; }
.feature__title--dark { color: var(--ink); }
.feature__text { margin-top: .8rem; font-size: 1.1rem; color: #eafff5; max-width: 52ch; }
.feature__text--dark { color: var(--muted); }
.feature__body .btn { margin-top: 1.5rem; }
.feature__aside { display: none; }
.feature__badge { display: inline-flex; flex-direction: column; align-items: center; gap: .4rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-lg); padding: 1.4rem 1.8rem; font-weight: 700; font-size: 1.3rem; color: #fff; }
.feature__badge-icon { width: 40px; height: 40px; }
.feature__mark { display: none; }
@media (min-width: 820px) {
  .feature--permanence { grid-template-columns: 1.6fr .8fr; }
  .feature__aside { display: grid; place-items: center; }
  .feature--doctors { grid-template-columns: 1.5fr .7fr; }
  .feature__mark { display: grid; place-items: center; color: var(--green); opacity: .5; }
  .feature__mark-icon { width: 120px; height: 120px; }
}

/* Mini transport (accueil) */
.mini-transport { list-style: none; padding: 0; display: grid; gap: .8rem; }
.mini-transport li { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; font-weight: 600; box-shadow: var(--shadow); }
.mini-transport .icon { color: var(--green); width: 26px; height: 26px; }

/* ---------- Notices ---------- */
.notice { display: flex; gap: 1rem; align-items: flex-start; border-radius: var(--r-lg); padding: 1.4rem 1.5rem; }
.notice__icon { flex: none; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; }
.notice__title { font-weight: 700; font-family: var(--serif); font-size: 1.15rem; }
.notice__text { color: inherit; opacity: .92; margin-top: .2rem; }
.notice--info { background: var(--green-tint); color: var(--green-dark); }
.notice--info .notice__icon { background: #fff; color: var(--green-dark); }
.notice--emergency { background: var(--danger-tint); color: #6a1c17; align-items: center; flex-wrap: wrap; }
.notice--emergency .notice__icon { background: var(--danger); color: #fff; }
.notice--emergency .btn { margin-left: auto; }

/* ---------- Étapes ---------- */
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--shadow); }
.step__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: var(--green-tint); color: var(--green-dark); margin-bottom: 1rem; }
.step__title { font-size: 1.2rem; margin-bottom: .4rem; }
.step__text { color: var(--muted); }

/* ---------- Table horaires ---------- */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.hours-table th, .hours-table td { text-align: left; padding: .85rem .2rem; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 600; color: var(--ink); font-family: var(--sans); }
.hours-table td { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Check list ---------- */
.check-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list__icon { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: .15rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .8rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq__q { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; font-size: 1.4rem; color: var(--green); line-height: 1; }
.faq[open] .faq__q::after { content: "–"; }
.faq__a { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ---------- Accès / carte / contact ---------- */
.access-grid { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .access-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-block { font-style: normal; line-height: 1.9; }
.contact-block a { font-weight: 600; }
.inline-icon { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; color: var(--green); }
.subhead { margin-top: 1.8rem; font-size: 1.2rem; }
.map { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.map__frame { width: 100%; height: 340px; border: 0; }
.map__caption { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; align-items: center; padding: .9rem 1.1rem; font-size: .95rem; }
.map__link { font-weight: 600; white-space: nowrap; }

/* ---------- Formulaires ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow); }
.form__grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .75rem .85rem; width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(27,122,90,.15); }
.field textarea { resize: vertical; min-height: 130px; }
.field__hint { font-size: .82rem; color: var(--muted); }
.req { color: var(--danger); }
.field--check { grid-column: 1 / -1; }
.field--check label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .95rem; color: var(--muted); cursor: pointer; }
.field--check input { width: auto; margin-top: .25rem; accent-color: var(--green); }
.form .btn { margin-top: 1.4rem; }
.form__status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-sm); font-weight: 600; }
.form__status.is-success { background: var(--green-tint); color: var(--green-dark); }
.form__status.is-error { background: var(--danger-tint); color: #6a1c17; }
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: var(--danger); }

/* ---------- Résidences ---------- */
.res-lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.specs-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--shadow); }
.specs-card__title { font-size: 1.3rem; margin-bottom: 1rem; }
.specs-list { margin: 0; }
.spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; font-weight: 600; text-align: right; }
.note-muted { margin-top: 1rem; font-size: .88rem; color: var(--muted); }
.disclaimer { margin-top: 1.4rem; font-size: .82rem; color: var(--muted); text-align: center; }
.page-residences .kicker { color: var(--gold); }
.page-residences .btn--gold:hover { background: #97742f; }

/* ---------- Bannière CTA ---------- */
.cta-banner { background: linear-gradient(150deg, var(--green-dark), var(--green)); color: #fff; }
.cta-banner__inner { display: grid; gap: 1.4rem; padding-block: clamp(2.6rem, 6vw, 4rem); align-items: center; }
@media (min-width: 780px) { .cta-banner__inner { grid-template-columns: 1.4fr auto; } }
.cta-banner__title { font-size: clamp(1.5rem, 3.5vw, 2.2rem); color: #fff; }
.cta-banner__text { margin-top: .6rem; color: #e6fff5; max-width: 50ch; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Opening notice ---------- */
.opening-notice { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--green-dark); background: var(--green-tint); padding: .4rem .9rem; border-radius: 999px; }
.opening-notice__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(27,122,90,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(27,122,90,.45); } 70% { box-shadow: 0 0 0 8px rgba(27,122,90,0); } 100% { box-shadow: 0 0 0 0 rgba(27,122,90,0); } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #cdd8d3; margin-top: 0; }
.footer__grid { display: grid; gap: 2rem; padding-block: clamp(2.6rem, 6vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 680px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 980px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand .logo { color: #fff; }
.logo--footer .logo__medi { color: #fff; }
.logo--footer .logo__mett { color: #7fe0bd; }
.logo__mark--footer { color: #7fe0bd; }
.footer__tagline { margin-top: .9rem; color: #aebfb8; max-width: 34ch; }
.footer__opening-badge { margin-top: 1rem; display: inline-block; font-size: .82rem; font-weight: 600; color: #bff0dd; border: 1px solid rgba(127,224,189,.4); padding: .3rem .8rem; border-radius: 999px; }
.footer__title { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: #7fe0bd; margin-bottom: .9rem; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer__col a { color: #cdd8d3; text-decoration: none; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__contact address { font-style: normal; line-height: 1.8; color: #cdd8d3; }
.footer__contact a { color: #fff; }
.footer__hours { margin-top: .8rem; font-size: .9rem; color: #aebfb8; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; padding-block: 1.3rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #93a49d; }
.footer__legal { max-width: 60ch; }

/* ---------- Modale RDV ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15,36,32,.55); backdrop-filter: blur(2px); }
.modal__panel { position: relative; z-index: 1; background: #fff; border-radius: var(--r-lg); padding: clamp(1.6rem, 5vw, 2.4rem); max-width: 440px; width: 100%; box-shadow: var(--shadow-lg); text-align: center; }
.modal__title { font-size: 1.5rem; margin-bottom: .6rem; }
.modal__panel p { color: var(--muted); }
.modal__panel .btn { margin-top: 1.2rem; }
.modal__note { margin-top: 1rem; font-size: .85rem; }
.modal__close { position: absolute; top: .6rem; right: .8rem; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; padding: .2rem .5rem; border-radius: 8px; }
.modal__close:hover { background: var(--green-tint); color: var(--green-dark); }

/* ---------- Divers ---------- */
.notice--emergency .btn { margin-top: 0; }
.two-col__text > .btn:first-child { margin-top: 0; }
