/* ==========================================================================
   Joanny Comas — Ostéopathe D.O. | Feuille de style
   Design ultra-moderne : navy #032D47 · cyan #00B4E8 · blanc
   Topbar info · header glassmorphism · menu swipe · reveal au scroll
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  --navy:       #032D47;
  --navy-700:   #063a5c;
  --navy-600:   #0a4a72;
  --cyan:       #00B4E8;
  --cyan-600:   #00a0d0;
  --cyan-soft:  #e5f7fd;
  --white:      #ffffff;
  --ink:        #0e2233;
  --body:       #47586a;
  --muted:      #8195a5;
  --line:       #e6edf2;
  --bg:         #ffffff;
  --bg-soft:    #f4f9fc;

  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius:    20px;
  --radius-sm: 12px;
  --radius-lg: 32px;
  --shadow:    0 24px 60px -20px rgba(3, 45, 71, 0.28);
  --shadow-sm: 0 10px 30px -12px rgba(3, 45, 71, 0.20);
  --shadow-cyan: 0 18px 40px -12px rgba(0, 180, 232, 0.45);
  --container: 1200px;
  --gutter:    24px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --topbar-h:  40px;
  --header-h:  88px;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--cyan-600); text-decoration: none; transition: color .25s var(--ease); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }
p  { margin: 0 0 1.1em; }
::selection { background: var(--cyan); color: #fff; }

/* --- Utilitaires ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: rgba(255,255,255,0.82); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.13rem; }
.section--navy .section__head p { color: rgba(255,255,255,0.7); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--cyan); border-radius: 2px; }
.section__head .eyebrow { justify-content: center; }
.text-gradient { background: linear-gradient(100deg, var(--cyan), #4fd6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- Boutons -------------------------------------------------------------- */
.btn {
  --bg: var(--cyan); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 50px;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem;
  background: var(--bg); color: var(--fg);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  box-shadow: var(--shadow-cyan);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -12px rgba(0,180,232,.6); color: #fff; }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(3,45,71,.18); box-shadow: none; }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan-600); box-shadow: none; }
.btn--on-navy { background: #fff; color: var(--navy); box-shadow: 0 18px 40px -12px rgba(0,0,0,.35); }
.btn--on-navy:hover { background: var(--cyan); color: #fff; }
.btn--ghost-navy { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); box-shadow: none; }
.btn--ghost-navy:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* --- Topbar (bandeau info) ------------------------------------------------ */
.topbar {
  background: var(--navy); color: rgba(255,255,255,.85);
  font-size: .84rem; height: var(--topbar-h);
  display: flex; align-items: center;
  position: relative; z-index: 60;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__list { display: flex; align-items: center; gap: 26px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item svg { width: 15px; height: 15px; color: var(--cyan); flex-shrink: 0; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar__socials { display: flex; gap: 14px; }
.topbar__socials a { display: inline-grid; place-items: center; }
.topbar__socials svg { width: 16px; height: 16px; color: rgba(255,255,255,.7); transition: color .25s; }
.topbar__socials a:hover svg { color: var(--cyan); }

/* --- Header --------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 55;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(3,45,71,.08);
  transition: box-shadow .3s var(--ease), background .3s;
}
.header.is-scrolled { box-shadow: 0 10px 40px -20px rgba(3,45,71,.4); background: rgba(255,255,255,.9); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 58px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--navy); font-weight: 600; font-size: .97rem; position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--cyan); border-radius: 2px; transition: width .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--cyan-600); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }

/* Menu déroulant "Les soins" */
.nav__links li.has-sub { position: relative; }
.nav__links .caret { width: 13px; height: 13px; margin-left: 4px; transition: transform .3s var(--ease); }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 10px; min-width: 260px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease); z-index: 60;
}
.nav__sub::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(8px);
}
.nav__sub a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; font-size: .94rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.nav__sub a::after { display: none; }
.nav__sub a svg { width: 18px; height: 18px; color: var(--cyan-600); flex-shrink: 0; }
.nav__sub a:hover { background: var(--cyan-soft); color: var(--cyan-600); }
.nav__sub-all { justify-content: center; color: var(--cyan-600) !important; font-weight: 700 !important; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 12px !important; border-radius: 0 0 10px 10px; }

/* Sous-menu dans le drawer mobile */
.drawer__sub { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 10px; padding-left: 2px; }
.drawer__sub a {
  font-family: var(--font-body) !important; font-weight: 600 !important;
  font-size: 1.05rem !important; color: rgba(255,255,255,.72) !important;
  padding: 7px 0 !important; transform: none !important; opacity: 1 !important;
  display: flex !important; align-items: center; gap: 10px;
}
.drawer__sub a::before { content: ""; width: 16px; height: 2px; background: var(--cyan); border-radius: 2px; flex-shrink: 0; }
.drawer__sub a:hover { color: #fff !important; padding-left: 6px !important; }

/* Burger */
.burger {
  --w: 26px;
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 46px; height: 46px; border: none; border-radius: 12px;
  background: var(--navy); cursor: pointer; padding: 0 10px; z-index: 120;
  transition: background .3s;
}
.burger span { display: block; height: 2px; width: var(--w); background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Menu swipe (off-canvas plein écran) ---------------------------------- */
.drawer {
  position: fixed; inset: 0; z-index: 110;
  background: linear-gradient(160deg, var(--navy) 0%, #021d2f 100%);
  color: #fff;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 32px 48px;
  visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(0,180,232,.35), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.drawer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; position: relative; }
.drawer__links li { overflow: hidden; }
.drawer__links a {
  display: inline-block; color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 9vw, 3.4rem); letter-spacing: -.02em; padding: 6px 0;
  transform: translateY(110%); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease), color .25s;
}
.drawer.is-open .drawer__links a { transform: translateY(0); opacity: 1; }
.drawer.is-open .drawer__links li:nth-child(1) a { transition-delay: .12s; }
.drawer.is-open .drawer__links li:nth-child(2) a { transition-delay: .18s; }
.drawer.is-open .drawer__links li:nth-child(3) a { transition-delay: .24s; }
.drawer.is-open .drawer__links li:nth-child(4) a { transition-delay: .30s; }
.drawer.is-open .drawer__links li:nth-child(5) a { transition-delay: .36s; }
.drawer.is-open .drawer__links li:nth-child(6) a { transition-delay: .42s; }
.drawer__links a:hover { color: var(--cyan); padding-left: 14px; }
.drawer__foot { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; position: relative; font-size: .95rem; color: rgba(255,255,255,.7); }
.drawer__foot a { color: #fff; }
.drawer__info { display: inline-flex; align-items: center; gap: 10px; }
.drawer__info svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; }
.drawer__foot .drawer__cta { margin-top: 8px; align-self: flex-start; }
.overlay {
  position: fixed; inset: 0; z-index: 105; background: rgba(3,45,71,.5);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; backdrop-filter: blur(2px);
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* --- HERO ----------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--navy) 0%, #052f4c 55%, #063a5c 100%);
  color: #fff; padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
}
.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .6; pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
.hero__blob--1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(0,180,232,.6), transparent 70%); top: -120px; right: -80px; }
.hero__blob--2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(79,214,255,.35), transparent 70%); bottom: -140px; left: -100px; animation-delay: -6s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,-30px) scale(1.08); } }

.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50px; background: rgba(255,255,255,.06);
  font-size: .82rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 26px;
}
.hero__badge .pulse { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6);} 70%{ box-shadow: 0 0 0 12px rgba(52,211,153,0);} 100%{ box-shadow:0 0 0 0 rgba(52,211,153,0);} }
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero .lead { font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 2em; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 34px; margin-top: 44px; }
.hero__stats .num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero__stats .num span { color: var(--cyan); }
.hero__stats .lbl { font-size: .85rem; color: rgba(255,255,255,.6); }

.hero__visual { position: relative; }
.hero__photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.12);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__card {
  position: absolute; left: -28px; bottom: 34px; background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); color: var(--ink);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px; max-width: 260px;
  animation: cardFloat 4.6s .3s ease-in-out infinite;
}
@keyframes cardFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero__card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--cyan-soft); color: var(--cyan-600); display: grid; place-items: center; flex-shrink: 0; }
.hero__card strong { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--ink); }
.hero__card span { font-size: .82rem; color: var(--muted); }
.hero__spinner {
  position: absolute; top: -30px; left: -34px; width: 94px; height: 94px; z-index: 3;
  background: radial-gradient(circle at 35% 30%, #3fd0ff, var(--cyan) 70%);
  border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .95rem; text-align: center; line-height: 1.1;
  box-shadow: var(--shadow-cyan);
  animation: prePop .8s .5s var(--ease) both, spinnerFloat 5s .5s ease-in-out infinite;
}
.hero__spinner::before {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.55); animation: spin 14s linear infinite;
}
.hero__spinner::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinnerFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-11px) scale(1.03); } }
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 3; line-height: 0; }
.wave svg { width: 100%; height: auto; display: block; }

/* --- Marquee (bandeau turquoise qui suit la vague du header) --------------- */
.marquee {
  position: relative; background: var(--cyan); color: #fff; overflow: hidden;
  padding: 22px 0;
}
.marquee__track { display: flex; gap: 44px; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; white-space: nowrap; text-shadow: 0 1px 8px rgba(3,45,71,.12); }
.marquee__item svg { width: 22px; height: 22px; opacity: .95; flex-shrink: 0; }
.marquee__wave { position: absolute; left: 0; bottom: -1px; width: 100%; line-height: 0; pointer-events: none; }
.marquee__wave svg { width: 100%; height: 44px; display: block; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* --- Cartes / features ---------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2,1fr); }
.grid--3 { grid-template-columns: repeat(3,1fr); }
.grid--4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.card::before { content:""; position:absolute; inset:0 0 auto 0; height:3px; background: linear-gradient(90deg, var(--cyan), #4fd6ff); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-sm); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
a.card { text-decoration: none; color: inherit; display: block; }
a.card h3 { display: inline-flex; align-items: center; gap: 8px; }
a.card h3::after {
  content: ""; width: 16px; height: 16px; opacity: 0; margin-left: -4px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300B4E8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
  transition: opacity .3s var(--ease), margin-left .3s var(--ease);
}
a.card:hover h3::after { opacity: 1; margin-left: 0; }
.card__ic { width: 56px; height: 56px; border-radius: 16px; background: var(--cyan-soft); color: var(--cyan-600); display: grid; place-items: center; margin-bottom: 20px; }
.card__ic svg { width: 28px; height: 28px; }
.lang-flag { width: 52px; height: auto; display: block; margin: 0 auto 16px; border-radius: 7px; box-shadow: 0 6px 16px rgba(3,45,71,.22); transition: transform .4s var(--ease); }
.card:hover .lang-flag { transform: translateY(-3px) scale(1.06); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* --- Publics (cartes photo rondes) ---------------------------------------- */
.publics { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
.public {
  text-align: center; padding: 20px; border-radius: var(--radius);
  transition: transform .4s var(--ease), background .4s; background: transparent;
}
.public:hover { transform: translateY(-8px); background: #fff; box-shadow: var(--shadow-sm); }
.public__img {
  width: 150px; height: 150px; margin: 0 auto 20px; border-radius: 50%;
  overflow: hidden; position: relative; background: var(--cyan-soft);
  box-shadow: 0 12px 30px -12px rgba(3,45,71,.35);
  border: 4px solid #fff;
}
.public__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.public:hover .public__img img { transform: scale(1.08); }
.public h3 { font-size: 1.15rem; margin-bottom: .2em; }
.public p { color: var(--muted); font-size: .9rem; margin: 0; }
a.public { text-decoration: none; color: inherit; display: block; }

/* --- Split (image + texte) ------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.split__media .badge-float {
  position: absolute; right: -20px; bottom: 28px; background: var(--navy); color: #fff;
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); text-align: center;
  border: 1px solid rgba(255,255,255,.08);
  animation: badgeFloat 5s ease-in-out infinite;
}
.split__media .badge-float .num { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--cyan); line-height: 1.1; }
.split__media .badge-float .lbl { font-size: .76rem; color: rgba(255,255,255,.75); margin-top: 2px; }
/* Variantes positionnées + flottement décalé */
.split__media .badge-float--left  { left: -20px; right: auto; bottom: 30px; animation-delay: 0s; }
.split__media .badge-float--right { right: -20px; left: auto; top: -26px; bottom: auto; animation-delay: -2.2s; }
.split__media .badge-float--light {
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border: 1px solid rgba(3,45,71,.08); color: var(--ink);
  display: flex; align-items: center; gap: 12px; text-align: left;
}
.split__media .badge-float--light .num { color: var(--navy); font-size: 1.15rem; }
.split__media .badge-float--light .lbl { color: var(--muted); }
.split__media .badge-float--light .dot {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, #3fd0ff, var(--cyan) 70%);
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-cyan);
}
.split__media .badge-float--light .dot svg { width: 20px; height: 20px; }
@keyframes badgeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li { position: relative; padding-left: 38px; margin-bottom: 15px; color: var(--body); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--cyan); mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 14px;
}

/* --- Étapes / process ----------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 34px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step__n {
  counter-increment: step; width: 52px; height: 52px; border-radius: 14px;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  display: grid; place-items: center; margin-bottom: 18px;
}
.step__n::before { content: "0" counter(step); }
.step h3 { margin-bottom: .3em; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* --- Tarif ---------------------------------------------------------------- */
.tarif-wrap { max-width: 760px; margin: 0 auto; }
.tarif {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: #fff;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.tarif__left { padding: 44px; }
.tarif__left h3 { font-size: 1.5rem; }
.tarif__price { display: flex; align-items: flex-start; gap: 4px; margin: 18px 0; }
.tarif__price .amount { font-family: var(--font-head); font-size: 4rem; font-weight: 800; color: var(--navy); line-height: 1; }
.tarif__price .cur { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-top: 6px; }
.tarif__left .btn { margin-top: 10px; }
.tarif__right { background: linear-gradient(160deg, var(--navy), #063a5c); color: rgba(255,255,255,.85); padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.tarif__right ul { list-style: none; padding: 0; margin: 0; }
.tarif__right li { display: flex; gap: 12px; padding: 10px 0; font-size: .95rem; }
.tarif__right li svg { width: 20px; height: 20px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }

/* --- Avis Google ---------------------------------------------------------- */
.gbadge {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center;
  max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 28px; box-shadow: var(--shadow-sm);
}
.gbadge__logo svg { width: 36px; height: 36px; display: block; }
.gbadge__info { text-align: left; }
.gbadge__rate { display: flex; align-items: center; gap: 10px; }
.gbadge__rate strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--ink); line-height: 1; }
.gstars { display: inline-flex; gap: 2px; color: #FBBC05; }
.gstars svg { width: 18px; height: 18px; }
.gbadge__sub { font-size: .84rem; color: var(--muted); }
.gbadge .btn { margin-left: auto; }

.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.review-card .gstars svg { width: 16px; height: 16px; }
.review-card p { color: var(--body); margin: 0; font-style: italic; }
.review-card__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-card__author .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--cyan-soft); color: var(--cyan-600); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; flex-shrink: 0; }
.review-card__author strong { display: block; color: var(--ink); font-size: .95rem; }
.review-card__author span { font-size: .8rem; color: var(--muted); }
@media (max-width: 560px) { .gbadge { gap: 16px; } .gbadge .btn { margin-left: 0; width: 100%; justify-content: center; } }

/* Carrousel d'avis (défilement infini + swipe) */
.reviews-carousel {
  display: flex; gap: 26px; overflow-x: auto; cursor: grab;
  padding: 6px 2px; touch-action: pan-y;
  scrollbar-width: none; -ms-overflow-style: none;
}
.reviews-carousel::-webkit-scrollbar { display: none; }
.reviews-carousel.is-dragging { cursor: grabbing; }
.reviews-carousel.is-dragging * { user-select: none; }
.reviews-carousel .review-card { flex: 0 0 340px; max-width: 340px; }
@media (max-width: 560px) { .reviews-carousel .review-card { flex: 0 0 85%; max-width: 85%; } }

/* Pastille flottante "Avis Google" */
.fab-reviews {
  position: fixed; left: 24px; bottom: 24px; z-index: 349;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 50px; text-decoration: none;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 12px 26px -10px rgba(3,45,71,.4);
  font-family: var(--font-head); font-weight: 800; font-size: .9rem;
  opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.fab-reviews.is-in { opacity: 1; visibility: visible; transform: none; }
.fab-reviews:hover { transform: translateY(-3px); color: var(--ink); }
.fab-reviews .g { width: 16px; height: 16px; }
.fab-reviews .star { width: 14px; height: 14px; color: #FBBC05; }
.fab-reviews .fab-reviews__lbl { font-family: var(--font-body); font-weight: 700; font-size: .82rem; color: var(--muted); }
@media (max-width: 500px) { .fab-reviews { left: 16px; bottom: 16px; padding: 8px 14px; } .fab-reviews__lbl { display: none; } }

/* --- Galerie cabinet ------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
}
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(4) { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item .cap {
  position: absolute; inset: auto 0 0 0; padding: 22px 20px 16px;
  background: linear-gradient(to top, rgba(3,45,71,.85), transparent);
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; gap: 8px;
  transform: translateY(6px); opacity: 0; transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.gallery__item .cap svg { width: 18px; height: 18px; color: var(--cyan); }
.gallery__item:hover .cap { transform: translateY(0); opacity: 1; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .gallery__item:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery__item .cap { opacity: 1; transform: none; }
}

/* --- CTA band ------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), #063a5c); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(44px,6vw,72px) clamp(28px,6vw,64px); text-align: center;
}
.cta::before { content:""; position:absolute; width:400px; height:400px; border-radius:50%; background:radial-gradient(circle, rgba(0,180,232,.4), transparent 70%); top:-160px; right:-120px; filter: blur(40px); }
.cta h2 { color: #fff; position: relative; }
.cta p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 30px; position: relative; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* --- Infos pratiques / contact ------------------------------------------- */
.info-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.info-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--cyan-soft); color: var(--cyan-600); display: grid; place-items: center; margin-bottom: 16px; }
.info-card .ic svg { width: 26px; height: 26px; }
.info-card h3 { font-size: 1.15rem; margin-bottom: .3em; }
.info-card p { color: var(--muted); margin: 0; font-size: .96rem; }
.info-card a { font-weight: 600; }

.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.hours li:last-child { border-bottom: none; }
.hours .day { font-weight: 600; color: var(--ink); }
.hours .closed { color: var(--muted); }
.hours .open { color: var(--cyan-600); font-weight: 600; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); min-height: 340px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* --- FAQ ------------------------------------------------------------------ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: #fff; overflow: hidden; transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; padding: 22px 26px; font-family: var(--font-head); font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; color: var(--cyan); font-weight: 300; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--muted); }

/* --- Page hero (pages internes) ------------------------------------------ */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(155deg, var(--navy), #063a5c); color: #fff; padding: clamp(60px,8vw,110px) 0 clamp(70px,9vw,120px); text-align: center; }
.page-hero::before { content:""; position:absolute; width:400px;height:400px;border-radius:50%; background:radial-gradient(circle, rgba(0,180,232,.4), transparent 70%); top:-160px; left:50%; transform:translateX(-50%); filter: blur(50px); }
.page-hero__ic {
  position: relative; width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 22px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  color: var(--cyan); display: grid; place-items: center;
}
.page-hero__ic svg { width: 36px; height: 36px; }
.page-hero h1 { color: #fff; position: relative; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto; font-size: 1.13rem; position: relative; }
.page-hero .breadcrumb { position: relative; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.8); }

/* --- FAQ : sous-navigation par catégories --------------------------------- */
.faq-nav {
  position: sticky; top: calc(var(--header-h) - 2px); z-index: 40;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq-nav__list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.faq-nav__list a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 50px; font-size: .9rem; font-weight: 600;
  color: var(--navy); background: var(--bg-soft); border: 1px solid var(--line);
  transition: all .25s var(--ease);
}
.faq-nav__list a:hover { background: var(--cyan-soft); color: var(--cyan-600); border-color: transparent; }
.faq-nav__list a svg { width: 16px; height: 16px; color: var(--cyan-600); }

.faq-cat { max-width: 860px; margin: 0 auto; scroll-margin-top: 160px; }
.faq-cat + .faq-cat { margin-top: 64px; }
.faq-cat__head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.faq-cat__ic { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: var(--cyan-soft); color: var(--cyan-600); display: grid; place-items: center; }
.faq-cat__ic svg { width: 26px; height: 26px; }
.faq-cat__head h2 { font-size: 1.6rem; margin: 0; }
.faq-cat__head p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }

/* --- Footer --------------------------------------------------------------- */
.footer { background: var(--navy); color: rgba(255,255,255,.66); padding: 72px 0 28px; position: relative; overflow: hidden; }
.footer::before { content:""; position:absolute; width:500px;height:500px;border-radius:50%; background:radial-gradient(circle, rgba(0,180,232,.12), transparent 70%); top:-200px; right:-120px; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.7fr 1fr 1.3fr; gap: 48px; margin-bottom: 48px; }
.footer__logo img { height: 68px; margin-bottom: 18px; }
.footer__ig {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 10px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 50px;
  color: #fff; font-size: .9rem; font-weight: 600; transition: all .25s var(--ease);
}
.footer__ig:hover { background: rgba(0,180,232,.14); border-color: var(--cyan); color: #fff; transform: translateY(-2px); }
.footer__ig svg { width: 18px; height: 18px; color: var(--cyan); }
.topbar a.topbar__item--ig:hover { color: var(--cyan); }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 12px; }
.footer a { color: rgba(255,255,255,.66); font-size: .95rem; }
.footer a:hover { color: var(--cyan); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; margin-top: 4px; }
.footer__bottom { position: relative; border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; }

/* --- Reveal au scroll ----------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(38px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* --- Lightbox (visionneuse plein écran) ----------------------------------- */
.gallery__item img { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(2, 20, 33, 0.94);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px; opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { position: relative; max-width: 100%; max-height: 100%; }
.lightbox__img {
  max-width: 90vw; max-height: 82vh; border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  transform: scale(.96); transition: transform .3s var(--ease);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__cap {
  text-align: center; color: rgba(255,255,255,.8); font-size: .92rem;
  margin-top: 16px; font-family: var(--font-body);
}
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center;
  transition: background .25s;
}
.lightbox__btn:hover { background: var(--cyan); }
.lightbox__btn svg { width: 26px; height: 26px; }
.lightbox__prev { left: -6px; }
.lightbox__next { right: -6px; }
.lightbox__close {
  position: fixed; top: 24px; right: 26px; width: 48px; height: 48px; border-radius: 50%;
  border: none; cursor: pointer; background: rgba(255,255,255,.12); color: #fff;
  display: grid; place-items: center; transition: background .25s;
}
.lightbox__close:hover { background: var(--cyan); }
.lightbox__close svg { width: 24px; height: 24px; }
@media (max-width: 700px) {
  .lightbox { padding: 16px; }
  .lightbox__btn { width: 44px; height: 44px; }
  .lightbox__prev { left: 2px; } .lightbox__next { right: 2px; }
}

/* --- Boutons flottants (remonter en haut + RDV) --------------------------- */
.fab-top, .fab-rdv {
  position: fixed; bottom: 24px; z-index: 350;
  opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background .25s;
}
.fab-top.is-in, .fab-rdv.is-in { opacity: 1; visibility: visible; transform: none; }
.fab-top {
  right: 24px; bottom: 88px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: #fff; border: none; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(3,45,71,.5);
}
.fab-top:hover { background: var(--cyan); transform: translateY(-3px); }
.fab-top svg { width: 22px; height: 22px; }
.fab-rdv {
  right: 24px; display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 22px; border-radius: 50px; text-decoration: none;
  background: var(--cyan); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  box-shadow: var(--shadow-cyan);
}
.fab-rdv:hover { background: var(--cyan-600); color: #fff; transform: translateY(-3px); }
.fab-rdv svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 500px) {
  .fab-top { width: 46px; height: 46px; right: 16px; bottom: 74px; }
  .fab-rdv { right: 16px; bottom: 16px; padding: 13px; border-radius: 50%; }
  .fab-rdv span { display: none; }
}

/* --- Bandeau cookies ------------------------------------------------------ */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 400;
  max-width: 680px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 22px 24px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  transform: translateY(24px); opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.cookie.is-in { transform: none; opacity: 1; visibility: visible; }
.cookie__ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--cyan-soft); color: var(--cyan-600); display: grid; place-items: center; }
.cookie__ic svg { width: 24px; height: 24px; }
.cookie__txt { flex: 1; min-width: 240px; font-size: .9rem; color: var(--body); line-height: 1.55; }
.cookie__txt strong { color: var(--ink); font-family: var(--font-head); }
.cookie__txt a { color: var(--cyan-600); font-weight: 600; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie__actions .btn { box-shadow: none; padding: 12px 24px; font-size: .92rem; }
.cookie__refuse {
  display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 50px;
  font-family: var(--font-body); font-weight: 700; font-size: .92rem;
  color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); cursor: pointer;
  transition: all .25s var(--ease);
}
.cookie__refuse:hover { color: var(--navy); border-color: var(--muted); }
@media (max-width: 560px) { .cookie { padding: 20px; } .cookie__actions { width: 100%; } .cookie__actions .btn, .cookie__refuse { flex: 1; justify-content: center; } }

/* Scroll progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--cyan), #4fd6ff); z-index: 200; transition: width .1s linear; }

/* --- Préchargement (splash) ----------------------------------------------- */
html:has(.preloader:not(.is-done)) { overflow: hidden; }
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(120% 120% at 50% 40%, #063a5c 0%, var(--navy) 55%, #021d2f 100%);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 24px; }
.preloader__logo {
  height: 76px; width: auto;
  animation: preFloat 2.6s ease-in-out infinite, prePop .9s var(--ease) both;
  filter: drop-shadow(0 12px 30px rgba(0,180,232,.25));
}
.preloader__bar {
  position: relative; width: 240px; max-width: 62vw; height: 4px;
  border-radius: 4px; background: rgba(255,255,255,.14); overflow: hidden;
}
.preloader__bar span {
  position: absolute; inset: 0; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan), #6fe0ff);
  box-shadow: 0 0 16px rgba(0,180,232,.7);
  animation: preBar 2.5s cubic-bezier(.5,0,.1,1) forwards;
}
.preloader__txt {
  font-family: var(--font-body); font-size: .72rem; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  animation: prePop 1s .2s var(--ease) both;
}
@keyframes preBar { 0% { width: 0; } 55% { width: 72%; } 100% { width: 100%; } }
@keyframes preFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes prePop { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .publics { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .topbar__list .hide-sm { display: none; }
  .nav__menu { display: none; }
  .burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 440px; margin: 0 auto; }
  .grid--3, .grid--4, .steps, .info-cards { grid-template-columns: 1fr; }
  .grid--2, .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .tarif { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .topbar__item.hide-xs { display: none; }
  .hero__stats { gap: 22px; }
  .publics { grid-template-columns: 1fr 1fr; }
  .hero__card { left: 0; }
  .split__media .badge-float { right: 12px; }
}

/* Accessibilité : réduire les animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   MODE NUIT (thème sombre) + pilule de bascule
   ========================================================================== */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px; padding: 3px; cursor: pointer; flex-shrink: 0;
}
.theme-toggle__i { width: 27px; height: 21px; display: grid; place-items: center; border-radius: 50px; color: rgba(255,255,255,.55); transition: background .25s var(--ease), color .25s var(--ease); }
.theme-toggle__i svg { width: 14px; height: 14px; }
.theme-toggle__i.is-on { background: var(--cyan); color: #fff; }
.theme-toggle--bar { margin-left: 6px; }
.theme-toggle--drawer { align-self: flex-start; margin-bottom: 10px; }
.theme-toggle--drawer .theme-toggle__i { width: 34px; height: 26px; }
.theme-toggle--drawer .theme-toggle__i svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .theme-toggle--bar { display: none; } }

/* --- Jetons du thème sombre ---------------------------------------------- */
:root[data-theme="dark"] {
  --ink: #eaf2f8;
  --body: #aebccb;
  --muted: #7d92a2;
  --bg: #07151f;
  --bg-soft: #0b202e;
  --line: rgba(255,255,255,.10);
  --cyan-soft: rgba(0,180,232,.15);
  --shadow: 0 24px 60px -20px rgba(0,0,0,.55);
  --shadow-sm: 0 12px 30px -14px rgba(0,0,0,.55);
}
:root[data-theme="dark"] { --surface: #0f2636; }

/* Surfaces claires -> sombres */
:root[data-theme="dark"] .card,
:root[data-theme="dark"] .step,
:root[data-theme="dark"] .tarif,
:root[data-theme="dark"] .info-card,
:root[data-theme="dark"] .price-card,
:root[data-theme="dark"] .form,
:root[data-theme="dark"] .faq-item { background: var(--surface); border-color: var(--line); }
:root[data-theme="dark"] .public:hover { background: var(--surface); }

/* Header + sous-menus + burger */
:root[data-theme="dark"] .header { background: rgba(7,21,31,.82); border-bottom-color: var(--line); }
:root[data-theme="dark"] .header.is-scrolled { background: rgba(7,21,31,.94); }
:root[data-theme="dark"] .nav__links a { color: #d4e1ea; }
:root[data-theme="dark"] .nav__links a:hover,
:root[data-theme="dark"] .nav__links a.is-active { color: var(--cyan); }
:root[data-theme="dark"] .nav__sub { background: var(--surface); border-color: var(--line); }
:root[data-theme="dark"] .nav__sub a { color: #d4e1ea; }
:root[data-theme="dark"] .nav__sub a:hover { background: rgba(0,180,232,.14); color: var(--cyan); }

/* FAQ nav collante */
:root[data-theme="dark"] .faq-nav { background: rgba(7,21,31,.86); border-bottom-color: var(--line); }
:root[data-theme="dark"] .faq-nav__list a { background: var(--surface); border-color: var(--line); color: #d4e1ea; }
:root[data-theme="dark"] .faq-nav__list a:hover { background: rgba(0,180,232,.14); color: var(--cyan); }

/* Boutons ghost sur fond clair */
:root[data-theme="dark"] .btn--ghost { color: var(--ink); border-color: var(--line); }
:root[data-theme="dark"] .btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* Cartes flottantes / étiquettes / cookies */
:root[data-theme="dark"] .hero__card { background: rgba(15,38,54,.9); border-color: var(--line); }
:root[data-theme="dark"] .split__media .badge-float--light { background: rgba(15,38,54,.94); border-color: var(--line); }
:root[data-theme="dark"] .split__media .badge-float--light .num { color: var(--ink); }
:root[data-theme="dark"] .cookie { background: var(--surface); border-color: var(--line); }

/* Champs de formulaire */
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .field textarea { background: #0a1c28; border-color: var(--line); color: var(--ink); }

/* Icône de section garde son fond translucide (déjà ok) */
:root[data-theme="dark"] .public__img { background: var(--cyan-soft); }

/* Prix (60 €) visible sur fond sombre */
:root[data-theme="dark"] .tarif__price .amount,
:root[data-theme="dark"] .tarif__price .cur { color: var(--cyan); }

/* Avis Google en mode nuit */
:root[data-theme="dark"] .gbadge,
:root[data-theme="dark"] .review-card { background: var(--surface); border-color: var(--line); }
:root[data-theme="dark"] .gbadge__rate strong { color: var(--ink); }
:root[data-theme="dark"] .fab-reviews { background: var(--surface); color: var(--ink); border-color: var(--line); }
