/* ============================================================
   CABINET DE PÉDIATRIE — DR BASMA BEN ATAALLAH
   Thème « Lune & Câlins » : sauge · sarcelle · corail · doré
   ============================================================ */

/* ---------- Variables (thème clair) ---------- */
:root {
  --bg: #FBF7EF;
  --alt: #EDF4EC;
  --surface: #FFFFFF;
  --frame: #FFFFFF;

  --ink: #143C43;
  --muted: #5B7378;

  --teal: #146C70;
  --teal-strong: #0F4C52;
  --sage: #9CC9B6;
  --coral: #F0836F;
  --coral-deep: #DE6650;
  --gold: #F2BE5C;
  --gold-ink: #A66E14;
  --gold-soft: #FCEBC9;
  --coral-soft: #FCE3D8;

  --line: rgba(20, 108, 112, .14);
  --shadow-soft: 0 6px 24px -12px rgba(15, 76, 82, .18);
  --shadow-lift: 0 18px 40px -18px rgba(15, 76, 82, .3);

  --font-head: 'Baloo 2', 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;

  --r-lg: 26px;
  --r-md: 20px;
}

/* ---------- Variables (mode nuit 🌙) ---------- */
[data-theme="dark"] {
  --bg: #0C2B31;
  --alt: #0F333A;
  --surface: #123A41;
  --frame: #17454D;

  --ink: #EAF4EF;
  --muted: #A7C2BE;

  --teal: #6CC8C1;
  --teal-strong: #A8DCD6;
  --coral: #F49C8B;
  --coral-deep: #F8B0A0;
  --gold: #F5CB74;
  --gold-ink: #F5CB74;
  --gold-soft: rgba(242, 190, 92, .14);
  --coral-soft: rgba(240, 131, 111, .14);

  --line: rgba(255, 255, 255, .12);
  --shadow-soft: 0 6px 24px -12px rgba(0, 0, 0, .45);
  --shadow-lift: 0 18px 40px -16px rgba(0, 0, 0, .55);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: clip;
  transition: background-color .4s ease, color .4s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
sup { font-size: .62em; }

::selection { background: var(--gold-soft); color: var(--ink); }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 8px; border: 3px solid var(--bg); }

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

.container { width: min(100% - 48px, 1180px); margin-inline: auto; }
.container-narrow { width: min(100% - 48px, 780px); }

.ic { width: 20px; height: 20px; flex: none; }

.skip-link {
  position: absolute; top: -60px; left: 14px; z-index: 200;
  background: var(--teal-strong); color: #fff;
  padding: 10px 18px; border-radius: 12px; font-weight: 800;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ============================================================
   BARRE D'INFO
============================================================ */
.topbar {
  background: var(--teal-strong);
  color: #EAF6F1;
  font-size: .82rem;
  font-weight: 700;
}
[data-theme="dark"] .topbar { background: #081F24; color: #BFDCD5; }

.topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 8px 0; flex-wrap: wrap;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item .ic { width: 15px; height: 15px; }
a.topbar-item:hover { color: var(--gold); }
.topbar-socials { display: inline-flex; gap: 6px; }
.topbar-socials a {
  display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 8px; background: rgba(255, 255, 255, .12);
  transition: background .2s, transform .2s;
}
.topbar-socials a:hover { background: var(--coral); transform: translateY(-2px); }
.topbar-socials .ic { width: 14px; height: 14px; }

/* ============================================================
   EN-TÊTE
============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
body.scrolled .site-header {
  border-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(15, 76, 82, .35);
}
body.menu-open .site-header { background: var(--bg); }

.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  width: 48px; height: 48px; object-fit: cover;
  border-radius: 14px; background: #fff; flex: none;
}
[data-theme="light"] .brand-logo { mix-blend-mode: multiply; background: transparent; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-head); font-size: 1.02rem; color: var(--ink); white-space: nowrap; }
.brand-text small { font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }

.main-nav ul { display: flex; gap: 4px; }
.nav-link {
  position: relative; display: inline-block;
  padding: 8px 12px; font-weight: 800; font-size: .95rem; color: var(--ink);
}
.nav-link::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--teal); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface); color: var(--teal);
  display: grid; place-items: center;
  transition: transform .2s, background .2s;
}
.theme-toggle:hover { transform: rotate(-12deg) scale(1.05); }
.theme-toggle .ic-when-dark { display: none; }
[data-theme="dark"] .theme-toggle .ic-when-light { display: none; }
[data-theme="dark"] .theme-toggle .ic-when-dark { display: block; }

.nav-burger {
  display: none; width: 42px; height: 42px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface); color: var(--teal);
  place-items: center;
}
.nav-burger .ic-close { display: none; }
body.menu-open .nav-burger .ic-open { display: none; }
body.menu-open .nav-burger .ic-close { display: block; }

/* ---------- Menu mobile ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 50;
  background:
    radial-gradient(600px 300px at 90% -5%, var(--gold-soft), transparent 60%),
    radial-gradient(500px 300px at -10% 100%, var(--coral-soft), transparent 55%),
    var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px 30px 34px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }

.m-link {
  display: block; padding: 13px 4px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--ink);
  border-bottom: 1px dashed color-mix(in srgb, var(--sage) 45%, transparent);
  transition: color .2s, padding-left .2s;
}
.m-link:hover { color: var(--coral); padding-left: 10px; }
.m-footer { display: grid; gap: 16px; justify-items: center; }
.m-socials { display: flex; gap: 12px; }
.m-socials a {
  width: 46px; height: 46px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--surface); color: var(--teal);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .2s, background .2s, color .2s;
}
.m-socials a:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }

/* ============================================================
   BOUTONS
============================================================ */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 800; font-size: .95rem; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn::after {
  content: ''; position: absolute; top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
}
.btn:hover::after { left: 130%; }

.btn-primary {
  background: linear-gradient(135deg, var(--coral), #E06A55);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(222, 102, 80, .6);
}
.btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(222, 102, 80, .7); }

.btn-wa {
  background: linear-gradient(135deg, #23C361, #149A47);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(20, 154, 71, .55);
}
.btn-wa:hover { box-shadow: 0 14px 28px -10px rgba(20, 154, 71, .65); }

.btn-ghost {
  background: var(--surface); color: var(--teal);
  border: 2px solid color-mix(in srgb, var(--teal) 30%, transparent);
}
.btn-ghost:hover { border-color: var(--teal); }

.btn-light { background: #fff; color: #0F4C52; }

.btn-lg { padding: 15px 28px; font-size: 1.03rem; }
.btn-lg .ic { width: 22px; height: 22px; }
.btn-sm { padding: 9px 16px; font-size: .84rem; }
.btn-sm .ic { width: 16px; height: 16px; }
.btn-block { width: 100%; }

/* ============================================================
   ÉLÉMENTS COMMUNS
============================================================ */
.section { padding: 96px 0; }
.section-alt {
  position: relative;
  background: var(--alt);
  margin-inline: 14px;
  border-radius: 48px;
  overflow: hidden;
}
/* Texture décorative très subtile (images/pattern.png) */
.section-alt::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/pattern.png') repeat center / 460px;
  opacity: .05; pointer-events: none;
}
[data-theme="dark"] .section-alt::before { opacity: .035; }
.section-alt > .container { position: relative; z-index: 1; }

.chip-overline {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-soft); color: var(--gold-ink);
  border: 1.5px dashed color-mix(in srgb, var(--gold) 55%, transparent);
  padding: 8px 18px; border-radius: 999px;
  font-weight: 800; font-size: .85rem;
}

.sec-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.sec-head .chip-overline { margin-bottom: 16px; }
.sec-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.15;
}
.sec-head p { color: var(--muted); font-size: 1.05rem; margin-top: 10px; }

.hl-teal { color: var(--teal); }
.hl-coral { color: var(--coral); }
.hl-gold { color: var(--gold); }

.icon-bubble {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center; flex: none;
  transform: rotate(-4deg);
  transition: transform .25s ease;
}
.icon-bubble .ic { width: 23px; height: 23px; }
.bub-coral { background: #FDE4DC; color: #DE6650; }
.bub-teal  { background: #DCEEEA; color: #146C70; }
.bub-gold  { background: #FCEBC9; color: #A66E14; }
.bub-sage  { background: #E4F0E6; color: #4E8D6E; }
[data-theme="dark"] .bub-coral { background: rgba(240, 131, 111, .16); color: #F8B0A0; }
[data-theme="dark"] .bub-teal  { background: rgba(108, 200, 193, .14); color: #7FD3CB; }
[data-theme="dark"] .bub-gold  { background: rgba(242, 190, 92, .15); color: #F5CB74; }
[data-theme="dark"] .bub-sage  { background: rgba(156, 201, 182, .15); color: #A9D4C3; }

article:hover > .icon-bubble, li:hover > .icon-bubble { transform: rotate(4deg) scale(1.08); }

/* ---------- Slots d'images (image générée OU illustration SVG) ---------- */
.media-slot { position: relative; overflow: hidden; background: var(--alt); }
.media-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .5s ease;
}
.media-slot.has-img .media-img { opacity: 1; }
.media-slot.has-img .media-fallback { display: none; }
.media-fallback { position: absolute; inset: 0; display: grid; place-items: stretch; }
.media-fallback svg { width: 100%; height: 100%; display: block; }

/* ============================================================
   HÉROS
============================================================ */
.hero { position: relative; padding: 60px 0 40px; overflow: hidden; }

.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .55; z-index: 0;
  animation: blobFloat 14s ease-in-out infinite alternate;
}
.hero-blob-1 { width: 460px; height: 460px; top: -140px; left: -120px; background: radial-gradient(circle, var(--sage), transparent 70%); }
.hero-blob-2 { width: 520px; height: 520px; bottom: -180px; right: -140px; background: radial-gradient(circle, var(--gold-soft), transparent 70%); animation-delay: -6s; }
[data-theme="dark"] .hero-blob { opacity: .22; }
@keyframes blobFloat { to { transform: translate(30px, 24px) scale(1.06); } }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center; padding-bottom: 46px;
}

.hero-copy h1 {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  line-height: 1.1; margin: 18px 0 18px;
}
.hl-squiggle { position: relative; display: inline-block; color: var(--teal); }
.squiggle {
  position: absolute; left: 0; bottom: -8px;
  width: 100%; height: 10px; color: var(--coral);
}
.lead { font-size: 1.13rem; color: var(--muted); max-width: 56ch; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 24px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--sage) 45%, transparent);
  border-radius: 999px; padding: 8px 15px;
  font-weight: 700; font-size: .87rem;
  box-shadow: var(--shadow-soft);
}
.hero-chips .ic { width: 16px; height: 16px; color: var(--teal); }

.hero-media { position: relative; }
.blob-frame {
  width: min(100%, 490px); aspect-ratio: 1; margin-inline: auto;
  border: 7px solid var(--frame);
  border-radius: 38% 62% 55% 45% / 45% 42% 58% 55%;
  box-shadow: var(--shadow-lift);
  animation: blobMorph 14s ease-in-out infinite alternate;
}
@keyframes blobMorph {
  0%   { border-radius: 38% 62% 55% 45% / 45% 42% 58% 55%; }
  50%  { border-radius: 55% 45% 42% 58% / 48% 55% 45% 52%; }
  100% { border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%; }
}

.stk { position: absolute; z-index: 2; filter: drop-shadow(0 6px 10px rgba(15, 76, 82, .16)); }
.stk-star  { width: 46px; top: 4%; right: 2%; animation: floaty 5s ease-in-out infinite; }
.stk-heart { width: 42px; bottom: 10%; left: 0; animation: floaty 6s ease-in-out infinite reverse; }
.stk-cloud { width: 68px; top: 16%; left: -4%; animation: floaty 7s ease-in-out infinite; animation-delay: -2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}

/* ---------- Ruban défilant ---------- */
.ribbon {
  position: relative; z-index: 1;
  background: var(--coral-soft);
  border-block: 2px dashed color-mix(in srgb, var(--coral) 40%, transparent);
  transform: rotate(-1.2deg) scale(1.03);
  margin: 26px -20px 18px;
  padding: 11px 0;
  overflow: hidden;
}
.ribbon-track {
  display: flex; align-items: center; gap: 30px; width: max-content;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--teal-strong);
  animation: marquee 30s linear infinite;
}
[data-theme="dark"] .ribbon-track { color: #F3D9B0; }
.ribbon-track i { font-style: normal; color: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   À PROPOS
============================================================ */
.about-grid {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: 64px; align-items: center;
}
.about-media { position: relative; width: min(100%, 400px); margin-inline: auto; }

.frame-tilt {
  aspect-ratio: 4 / 5; border-radius: 30px;
  border: 8px solid var(--frame);
  box-shadow: var(--shadow-lift);
  transform: rotate(-2.5deg);
  transition: transform .35s ease;
}
.frame-tilt:hover { transform: rotate(0) scale(1.015); }
.tilt-left { transform: rotate(2.5deg); aspect-ratio: 1; }
.tilt-left:hover { transform: rotate(0) scale(1.015); }

.sticker {
  position: absolute; z-index: 2;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--sage) 40%, transparent);
  box-shadow: var(--shadow-soft);
  padding: 9px 16px; border-radius: 999px;
  font-weight: 800; font-size: .88rem;
}
.sticker-1 { top: -16px; right: -6px; transform: rotate(3deg); }
.sticker-2 { bottom: 22px; left: -18px; transform: rotate(-4deg); }

.about-copy p { color: var(--muted); margin-bottom: 14px; }
.about-copy p strong { color: var(--ink); }

.values-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin: 26px 0 28px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.value-card h3 { font-family: var(--font-head); font-size: 1.02rem; margin: 12px 0 4px; }
.value-card p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ============================================================
   SERVICES
============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--sage), var(--gold), var(--coral));
  opacity: 0; transition: opacity .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.service-card:hover::before { opacity: 1; }
.service-card h3 { font-family: var(--font-head); font-size: 1.16rem; margin: 16px 0 8px; }
.service-card p { font-size: .95rem; color: var(--muted); }

/* ============================================================
   PARCOURS
============================================================ */
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  counter-reset: step;
}
.steps::before {
  content: ''; position: absolute; top: 50%; left: 3%; right: 3%;
  border-top: 3px dashed color-mix(in srgb, var(--sage) 55%, transparent);
  z-index: 0;
}
.step-card {
  position: relative; z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 20px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.step-num {
  position: absolute; top: -16px; left: 20px;
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--coral); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  display: grid; place-items: center;
  transform: rotate(6deg);
  box-shadow: 0 6px 14px -6px rgba(222, 102, 80, .6);
}
.step-card h3 { font-family: var(--font-head); font-size: 1.08rem; margin: 14px 0 6px; }
.step-card p { font-size: .9rem; color: var(--muted); }
.step-card a { color: var(--teal); font-weight: 800; }
.step-card a:hover { text-decoration: underline; }

/* ============================================================
   GALERIE DU CABINET
============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-card {
  aspect-ratio: 4 / 3; border-radius: var(--r-lg);
  border: 6px solid var(--frame);
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-card:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--shadow-lift); }
.gallery-card .media-img { transition: opacity .5s ease, transform .5s ease; }
.gallery-card:hover .media-img { transform: scale(1.05); }
.gallery-card figcaption {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(6px);
  padding: 7px 15px; border-radius: 999px;
  font-weight: 800; font-size: .84rem; color: var(--teal-strong);
  box-shadow: var(--shadow-soft);
}
.gallery-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 22px; }

/* ============================================================
   CONSEILS
============================================================ */
.conseils-grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: 56px; align-items: center;
}
.conseils-media { width: min(100%, 400px); margin-inline: auto; }

.tips-col { display: grid; gap: 16px; }
.tip-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px; padding: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tip-card:hover { transform: translateX(6px); box-shadow: var(--shadow-lift); }
.tip-card h3 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; }
.tip-card p { font-size: .92rem; color: var(--muted); }

.disclaimer {
  font-size: .85rem; color: var(--muted);
  background: color-mix(in srgb, var(--gold-soft) 55%, transparent);
  border-left: 3px solid var(--gold);
  border-radius: 10px; padding: 10px 14px;
}

.urgence-card {
  margin-top: 38px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--coral-soft);
  border: 1.5px dashed color-mix(in srgb, var(--coral) 45%, transparent);
  border-radius: var(--r-lg); padding: 24px 28px;
}
.urgence-card > div { flex: 1; min-width: 260px; }
.urgence-card h3 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 4px; }
.urgence-card p { font-size: .95rem; color: var(--muted); }
.urgence-card p strong { color: var(--coral-deep); }
.urgence-card a:hover strong { text-decoration: underline; }

/* ============================================================
   FAQ
============================================================ */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item[open] { border-color: color-mix(in srgb, var(--teal) 40%, transparent); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { color: var(--teal); transition: transform .3s ease; }
.faq-item[open] summary .ic { transform: rotate(180deg); }
.faq-body { padding: 0 22px 18px; }
.faq-body p { color: var(--muted); font-size: .96rem; }
.faq-body a { color: var(--teal); font-weight: 800; }
.faq-body a:hover { text-decoration: underline; }
.faq-item[open] .faq-body { animation: fadeSlide .35s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(-6px); } }

/* ============================================================
   INFOS PRATIQUES
============================================================ */
.infos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px;
  box-shadow: var(--shadow-soft);
}
.info-card h3 { font-family: var(--font-head); font-size: 1.18rem; margin: 14px 0 12px; }
.info-card > p { color: var(--muted); font-size: .96rem; }

.hours div {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--sage) 40%, transparent);
  font-size: .93rem;
}
.hours div:last-child { border-bottom: none; }
.hours dt { font-weight: 700; color: var(--muted); }
.hours dd { font-weight: 800; color: var(--teal); text-align: right; }
.badge-closed {
  background: var(--coral-soft); color: var(--coral-deep);
  padding: 3px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800;
}
.mini-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

.landmark {
  display: inline-block;
  background: color-mix(in srgb, var(--gold-soft) 60%, transparent);
  border-radius: 12px; padding: 8px 13px;
  font-size: .9rem; margin: 10px 0 16px;
}

.contact-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: .95rem; }
.contact-list .ic { color: var(--teal); width: 18px; height: 18px; }
.contact-list a { font-weight: 800; }
.contact-list a:hover { color: var(--teal); }
.contact-list em { color: var(--muted); font-size: .8rem; }

.socials-row { display: flex; gap: 10px; margin-top: 16px; }
.socials-row a {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--alt); color: var(--teal);
  transition: background .2s, color .2s, transform .2s;
}
.socials-row a:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }

.map-embed {
  margin-top: 30px; border-radius: 28px; overflow: hidden;
  border: 6px solid var(--frame);
  box-shadow: var(--shadow-soft);
}
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }
[data-theme="dark"] .map-embed iframe { filter: invert(.88) hue-rotate(180deg) saturate(.8); }

/* ============================================================
   CONTACT / CTA
============================================================ */
.cta-section { padding-top: 40px; }
.cta-panel {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 340px at 110% -10%, rgba(242, 190, 92, .22), transparent 60%),
    radial-gradient(560px 300px at -10% 110%, rgba(240, 131, 111, .25), transparent 55%),
    linear-gradient(135deg, #146C70, #0F4C52);
  border-radius: 44px;
  padding: 56px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  color: #EAF6F1;
  box-shadow: var(--shadow-lift);
}
.cta-deco { position: absolute; inset: 0; pointer-events: none; }
.cta-deco svg { position: absolute; }
.cta-star.s1 { top: 26px; left: 45%; width: 34px; color: rgba(242, 190, 92, .9); animation: floaty 5s ease-in-out infinite; }
.cta-star.s2 { bottom: 30px; left: 5%; width: 22px; color: rgba(255, 255, 255, .35); animation: floaty 7s ease-in-out infinite reverse; }
.cta-heart { bottom: 46px; left: 38%; width: 30px; color: rgba(240, 131, 111, .85); animation: floaty 6s ease-in-out infinite; animation-delay: -3s; }

.cta-copy h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; margin-bottom: 12px; }
.cta-copy > p { color: rgba(234, 246, 241, .85); max-width: 48ch; }
.cta-quick { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 12px; }
.cta-mail { font-size: .95rem; }
.cta-mail a { color: var(--gold); font-weight: 800; }
.cta-mail a:hover { text-decoration: underline; }

.rdv-form {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  border-radius: 28px; padding: 28px;
}
.rdv-form h3 { font-family: var(--font-head); color: #fff; font-size: 1.25rem; margin-bottom: 16px; }
.rdv-form label {
  display: block; font-size: .8rem; font-weight: 800;
  color: rgba(234, 246, 241, .8); margin-bottom: 12px;
}
.rdv-form input, .rdv-form select, .rdv-form textarea {
  width: 100%; margin-top: 6px;
  background: rgba(255, 255, 255, .94);
  border: 2px solid transparent; border-radius: 14px;
  padding: 11px 14px;
  font-family: inherit; font-size: .95rem; color: #143C43;
  transition: border-color .2s, background .2s;
}
.rdv-form input:focus, .rdv-form select:focus, .rdv-form textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
.rdv-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rdv-form .btn { margin-top: 4px; }
.form-hint { font-size: .8rem; color: rgba(234, 246, 241, .7); margin-top: 12px; text-align: center; }

/* ============================================================
   PIED DE PAGE
============================================================ */
.site-footer { background: #0E353C; color: rgba(240, 248, 244, .82); }
[data-theme="dark"] .site-footer { background: #081F24; }
.footer-wave { display: block; width: 100%; height: 78px; color: var(--bg); transform: scaleY(-1); }

.footer-grid {
  display: grid; grid-template-columns: 1.3fr .7fr .95fr 1.05fr;
  gap: 38px; padding: 30px 0 46px;
}
.f-logo-badge {
  display: inline-grid; place-items: center;
  width: 76px; height: 76px; background: #fff; border-radius: 22px;
  margin-bottom: 14px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4);
}
.f-logo-badge img { width: 62px; height: 62px; object-fit: cover; border-radius: 16px; }
.f-brand strong { font-family: var(--font-head); color: #fff; font-size: 1.12rem; line-height: 1.35; display: block; }
.f-brand p { font-size: .92rem; margin-top: 10px; opacity: .85; max-width: 30ch; }
.f-brand .socials-row a { background: rgba(255, 255, 255, .1); color: #fff; }
.f-brand .socials-row a:hover { background: var(--coral); }

.f-col h4 { font-family: var(--font-head); color: var(--gold); font-size: 1.02rem; margin-bottom: 14px; }
.f-col a {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0; font-size: .93rem; opacity: .85;
  transition: opacity .2s, transform .2s, color .2s;
}
.f-col a:hover { opacity: 1; color: #fff; transform: translateX(4px); }
.f-col .ic { width: 16px; height: 16px; }
.f-addr { display: flex; gap: 8px; font-size: .88rem; opacity: .8; margin-top: 10px; }
.f-addr .ic { width: 16px; height: 16px; margin-top: 4px; }

.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0 26px; font-size: .85rem; opacity: .75;
}

/* ============================================================
   BOUTONS FLOTTANTS
============================================================ */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #2BD46B, #17A44E);
  display: grid; place-items: center;
  box-shadow: 0 12px 26px -8px rgba(23, 164, 78, .55);
  transition: transform .25s ease;
}
.fab-wa:hover { transform: scale(1.08) rotate(8deg); }
.fab-wa svg { width: 32px; height: 32px; }
.fab-wa::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(43, 212, 107, .4); z-index: -1;
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping { 75%, 100% { transform: scale(1.75); opacity: 0; } }
.fab-tip {
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--teal-strong); color: var(--bg);
  padding: 8px 15px; border-radius: 999px;
  font-size: .8rem; font-weight: 800; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.fab-wa:hover .fab-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

.fab-top {
  position: fixed; right: 30px; bottom: 96px; z-index: 79;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--surface); color: var(--teal);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  box-shadow: var(--shadow-soft);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .3s, transform .3s, background .2s, color .2s;
}
.fab-top.show { opacity: 1; pointer-events: auto; transform: none; }
.fab-top:hover { background: var(--teal); color: #fff; }

/* ============================================================
   ANIMATIONS D'APPARITION
============================================================ */
html.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
}
html.js [data-reveal-delay="2"] { transition-delay: .12s; }
html.js [data-reveal-delay="3"] { transition-delay: .24s; }
html.js [data-reveal-delay="4"] { transition-delay: .36s; }
html.js [data-reveal].revealed { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-cta, .hero-chips { justify-content: center; }
  .about-grid, .conseils-grid { grid-template-columns: 1fr; gap: 44px; }
  .services-grid, .infos-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 26px; }
  .steps::before { display: none; }
  .cta-panel { grid-template-columns: 1fr; padding: 40px 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .main-nav { display: none; }
  .nav-burger { display: grid; }
  .brand-text strong { font-size: .95rem; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-alt { margin-inline: 8px; border-radius: 34px; }
  .topbar-addr { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .urgence-card .btn { margin-inline: auto; }
  .map-embed iframe { height: 300px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 32px, 1180px); }
  .nav-cta { display: none; }
  .hero { padding-top: 40px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .values-grid, .steps, .infos-grid, .footer-grid { grid-template-columns: 1fr; }
  .steps { gap: 26px; }
  .sticker-2 { left: -4px; }
  .foot-bottom { justify-content: center; text-align: center; }
  .fab-wa { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .fab-wa svg { width: 28px; height: 28px; }
  .fab-top { right: 21px; bottom: 84px; }
  .fab-tip { display: none; }
  .cta-panel { padding: 32px 22px; border-radius: 32px; }
  .rdv-form { padding: 20px; }
}

/* ============================================================
   ACCESSIBILITÉ & DIVERS
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .fab-wa, .fab-top, .map-embed, .ribbon,
  .mobile-menu, .rdv-form, .theme-toggle { display: none !important; }
  .section { padding: 24px 0; }
  body { background: #fff; color: #000; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
