/* Dermocare — design premium v2 « éditorial luxe dynamique » (ui-ux-pro-max)
   Aurora UI aux couleurs de la marque + typo éditoriale XXL, reveal mot à mot,
   grain subtil, marquee, bordures dégradées, parallaxe légère.
   Contraintes : 100 % vanilla, AA, reduced-motion respecté, transform/opacity only. */

@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #FAF9F7;
  --surface: #FFFFFF;
  --ink: #0F1630;
  --muted: #4E5871;
  --line: #E8E4EF;
  --navy: #2B3990;
  --navy-deep: #1D2668;
  --navy-ink: #10173A;
  --cyan: #19B8DF;
  --cyan-deep: #0E9DC2;
  --violet: #7C6FDE;
  --glass: rgba(255, 255, 255, .62);
  --grad-brand: linear-gradient(100deg, var(--navy) 0%, var(--cyan-deep) 55%, var(--violet) 100%);
  --grad-soft: linear-gradient(135deg, rgba(25, 184, 223, .12), rgba(124, 111, 222, .12));
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(15, 22, 48, .05), 0 4px 14px rgba(43, 57, 144, .06);
  --shadow: 0 1px 3px rgba(15, 22, 48, .05), 0 12px 34px rgba(43, 57, 144, .10);
  --shadow-lg: 0 2px 6px rgba(15, 22, 48, .06), 0 30px 70px rgba(43, 57, 144, .16);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .44, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* grain photographique très léger, statique (texture premium) */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 2000;
  pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.08; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.4rem; }
.section { padding: 6.5rem 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-sub { color: var(--muted); max-width: 44rem; font-size: 1.08rem; }
.section-more { margin-top: 2.4rem; }

/* eyebrow éditorial : trait dégradé + lettrage espacé */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--navy-deep);
  margin: 0 0 .9rem;
}
.eyebrow::before {
  content: ''; width: 2.4rem; height: 2px; border-radius: 2px;
  background: var(--grad-brand); flex: none;
}
.grad {
  font-style: italic;
  position: relative;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad::after {
  content: ''; position: absolute; left: .02em; right: .06em; bottom: .04em; height: .07em;
  border-radius: 3px; background: var(--grad-brand); opacity: .55;
  transform: scaleX(0); transform-origin: left;
}
html.js .grad::after { animation: underline-in .7s var(--ease-out) 1.1s forwards; }
html:not(.js) .grad::after { transform: none; }
@keyframes underline-in { to { transform: scaleX(1); } }

/* ---------- aurora (halos animés + parallaxe légère) ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .42; will-change: transform; }
.aurora span:nth-child(1) { width: 48rem; height: 48rem; top: -18rem; left: -10rem; background: radial-gradient(circle at 40% 40%, var(--cyan), transparent 65%); animation: drift-a 11s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 40rem; height: 40rem; top: -6rem; right: -14rem; background: radial-gradient(circle at 60% 40%, var(--violet), transparent 65%); animation: drift-b 13s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 32rem; height: 32rem; bottom: -16rem; left: 30%; background: radial-gradient(circle at 50% 50%, var(--navy), transparent 62%); opacity: .25; animation: drift-c 15s ease-in-out infinite alternate; }
@keyframes drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(5rem, 3rem, 0) scale(1.12); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(-4rem, 4rem, 0) scale(.94); } }
@keyframes drift-c { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(4rem, -3rem, 0) scale(1.15); } }

/* ---------- boutons (shine sweep + spring) ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.55rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out),
              transform .22s var(--ease-spring), box-shadow .25s var(--ease-out);
  cursor: pointer;
  touch-action: manipulation;
}
.btn:active { transform: scale(.96); }
.btn .icon { width: 1.05em; height: 1.05em; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, #3D4DB7 60%, #5A55CC 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(43, 57, 144, .3);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .38) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform .6s var(--ease-out);
}
.btn-primary:hover::before { transform: translateX(130%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(43, 57, 144, .4); }
.btn-primary:hover:active { transform: scale(.96); }
.btn-glow::after {
  content: ''; position: absolute; inset: -3px; border-radius: inherit; z-index: -1;
  background: linear-gradient(100deg, var(--cyan), var(--violet), var(--cyan));
  filter: blur(12px); opacity: .35;
  transition: opacity .25s var(--ease-out);
}
.btn-glow:hover::after { opacity: .6; }
.btn-ghost { border-color: rgba(43, 57, 144, .35); color: var(--navy); background: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(43, 57, 144, .25); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.btn-outline-light { border-color: rgba(255, 255, 255, .65); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }

/* ---------- barre de progression de lecture ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70;
  background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left;
  pointer-events: none;
}

/* ---------- header (glassmorphism) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid rgba(232, 228, 239, .8);
  transition: box-shadow .25s var(--ease-out);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(15, 22, 48, .08); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); transition: opacity .2s; }
.brand:hover { opacity: .8; }
.brand img { width: 34px; height: 34px; }
.brand-name { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; letter-spacing: .15em; font-size: 1.08rem; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-size: .93rem; font-weight: 500;
  padding: .3rem 0; position: relative;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  transition: right .25s var(--ease-out);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--navy); }
.nav-lang a { color: var(--muted); border: 1px solid var(--line); border-radius: 10px; padding: .3rem .6rem; }
.nav-lang a::after { display: none; }
.nav-lang a:hover { color: var(--navy); border-color: var(--navy); }
.header-call { white-space: nowrap; }
.nav-toggle, .nav-burger { display: none; }

@media (max-width: 900px) {
  .header-call span { display: none; }
  .header-call { padding: .65rem; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; margin-left: auto;
    border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: rgba(255, 255, 255, .8);
  }
  .nav-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease-out), opacity .2s; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.4rem 1.2rem; }
  .site-nav a { display: block; padding: .85rem 0; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .nav-lang { margin-top: .6rem; }
  .nav-lang a { display: inline-block; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .site-nav { display: block; animation: menu-in .25s var(--ease-out); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- hero éditorial ---------- */
.hero { position: relative; padding: 6rem 0 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.hero-badges span {
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(232, 228, 239, .9); border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: .34rem .9rem; font-size: .82rem; font-weight: 600; color: var(--navy-deep);
}
.hero h1 { margin-bottom: .35em; }
/* reveal mot à mot au chargement */
html.js .hw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
html.js .hw-i { display: inline-block; transform: translateY(112%); animation: word-up .75s var(--ease-out) forwards; animation-delay: var(--hd, 0s); }
@keyframes word-up { to { transform: translateY(0); } }
html.js .hero-fade { opacity: 0; transform: translateY(16px); animation: fade-up .7s var(--ease-out) forwards; animation-delay: var(--hd, .5s); }
@keyframes fade-up { to { opacity: 1; transform: none; } }
.hero-sub { font-size: clamp(1.08rem, 2vw, 1.22rem); color: var(--muted); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.9rem; }
.hero-note { margin-top: 1.1rem; font-size: .89rem; color: var(--muted); }
.hero-visual { display: none; }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.35fr 1fr; }
  .hero-visual { display: block; }
}
/* orb : anneau conique rotatif + logo flottant */
.orb { position: relative; width: min(380px, 90%); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.orb::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--cyan), var(--violet), var(--navy), var(--cyan));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  opacity: .75;
  animation: orb-spin 16s linear infinite;
}
.orb::after {
  content: ''; position: absolute; inset: 9%; border-radius: 50%;
  border: 1px dashed rgba(43, 57, 144, .25);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .85), rgba(255, 255, 255, .25) 60%, rgba(25, 184, 223, .1));
  box-shadow: inset 0 1px 8px rgba(255, 255, 255, .8), 0 24px 60px rgba(43, 57, 144, .18);
}
@keyframes orb-spin { to { transform: rotate(1turn); } }
.orb img { position: relative; z-index: 1; width: 56%; filter: drop-shadow(0 20px 40px rgba(43, 57, 144, .28)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }

/* stats band (social proof) */
.stats-band {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 4.5rem; padding-top: 2rem; padding-bottom: 2rem;
  border-top: 1px solid rgba(232, 228, 239, .9);
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}
.stat-value {
  display: block; font-family: 'Playfair Display', Georgia, serif; font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.1;
  background: linear-gradient(115deg, var(--navy), var(--cyan-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: .85rem; color: var(--muted); }

/* ---------- marquee des centres ---------- */
.marquee {
  position: relative; overflow: hidden;
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 2.6rem; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: 'Playfair Display', Georgia, serif; font-style: italic;
  font-size: 1.28rem; color: var(--navy-deep); white-space: nowrap; opacity: .82;
}
.marquee-track i {
  flex: none; width: .5rem; height: .5rem; border-radius: 999px;
  background: var(--grad-brand); opacity: .7;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- reveal on scroll (translate + blur léger) ---------- */
html.js [data-reveal], html.js [data-reveal-group] > * {
  opacity: 0; transform: translateY(28px); filter: blur(5px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out), filter .75s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js .revealed[data-reveal], html.js [data-reveal-group] > .revealed { opacity: 1; transform: none; filter: none; }

/* ---------- split & features ---------- */
.split { display: grid; gap: 3.2rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.split-media { position: relative; margin: 0; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split-media::before {
  content: ''; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; z-index: -1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(25, 184, 223, .2), rgba(124, 111, 222, .2));
}
.split-media figcaption { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.features { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.25rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out), border-color .25s var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow);
  border-color: transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-brand) border-box;
}
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px; margin-bottom: .85rem;
  background: linear-gradient(135deg, rgba(43, 57, 144, .1), rgba(25, 184, 223, .14));
  color: var(--navy);
  transition: transform .25s var(--ease-spring);
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-3deg); }
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.02rem; margin-bottom: .35rem; font-family: 'Inter', sans-serif; font-weight: 650; }
.feature-card p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- centres ---------- */
.center-chips { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); margin-top: 2.2rem; }
.center-chip {
  position: relative; display: flex; flex-direction: column; gap: .15rem;
  background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.05rem 1.15rem;
  text-decoration: none; color: var(--ink); overflow: hidden;
  transition: transform .25s var(--ease-out), border-color .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out);
}
.center-chip:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: transparent;
  background: linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .92)) padding-box, var(--grad-brand) border-box;
}
.center-chip strong { font-size: 1.02rem; }
.center-chip span { font-size: .82rem; color: var(--muted); }
.chip-arrow {
  position: absolute; right: 1rem; top: 50%; translate: 6px -50%;
  color: var(--cyan-deep) !important; font-size: 1.1rem !important; opacity: 0;
  transition: opacity .25s var(--ease-out), translate .25s var(--ease-out);
}
.center-chip:hover .chip-arrow { opacity: 1; translate: 0 -50%; }

.centers-grid { display: grid; gap: 1.4rem; padding: 2.5rem 0 3.5rem; }
@media (min-width: 700px) { .centers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .centers-grid { grid-template-columns: repeat(3, 1fr); } }
.center-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.7rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .4rem;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out), border-color .25s var(--ease-out);
}
.center-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-brand) border-box;
}
.center-card h3 { margin-bottom: .1rem; }
.center-address { margin: 0; }
.center-note { margin: 0; font-size: .88rem; color: var(--muted); font-style: italic; }
.center-hours { margin: 0; font-size: .88rem; color: var(--muted); }
.center-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }

.map-slot { margin-top: 1.1rem; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: linear-gradient(135deg, #EAF7FC, #EFEDFB); }
.map-slot iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-load { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; border: 0; background: transparent; cursor: pointer; font-family: inherit; transition: background .2s; }
.map-load:hover { background: rgba(255, 255, 255, .5); }
.map-load-title { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--navy); font-size: .95rem; }
.map-load-title .icon { width: 1.15em; height: 1.15em; }
.map-load-consent { font-size: .75rem; color: var(--muted); max-width: 24rem; }
.map-load:hover .map-load-title { text-decoration: underline; }

/* ---------- pages / têtes de page avec halos ---------- */
.page-head { position: relative; padding: 5rem 0 1.8rem; overflow: hidden; }
.page-head .aurora span { opacity: .22; }
.page-head .aurora span:nth-child(3) { display: none; }
.page-head .container { position: relative; z-index: 1; }
.page-intro { color: var(--muted); max-width: 46rem; font-size: 1.1rem; }

.price-grid { display: grid; gap: 3rem; padding: 2rem 0; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.price-section h2 { margin-bottom: .2rem; }
.price-table {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.price-table th, .price-table td { padding: .8rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: linear-gradient(135deg, rgba(43, 57, 144, .05), rgba(25, 184, 223, .07)); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.price-table tbody tr { transition: background .18s; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: rgba(25, 184, 223, .07); }
.price-cell { text-align: right !important; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-footnote { font-size: .88rem; color: var(--muted); margin-top: .9rem; }
.price-note {
  background: var(--grad-soft);
  border: 1px solid rgba(25, 184, 223, .3); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; font-size: .93rem; margin: 0 0 3.5rem;
}
.price-preview {
  list-style: none; margin: 1.4rem 0 1.6rem; padding: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.price-preview li { display: flex; justify-content: space-between; gap: 1rem; padding: .72rem 1.2rem; border-bottom: 1px solid var(--line); transition: background .18s, padding-left .2s var(--ease-out); }
.price-preview li:hover { background: rgba(25, 184, 223, .06); padding-left: 1.45rem; }
.price-preview li:last-child { border-bottom: 0; }
.price-preview strong { font-variant-numeric: tabular-nums; }

/* ---------- avant/après ---------- */
.ba-grid { display: grid; gap: 3rem; padding: 2.5rem 0; }
@media (min-width: 800px) { .ba-grid { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.ba-slider { margin: 0; max-width: 430px; }
.ba-frame {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); aspect-ratio: 350 / 467; --pos: 50%;
}
.ba-frame img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: rgba(255, 255, 255, .95); box-shadow: 0 0 12px rgba(0, 0, 0, .45); transform: translateX(-50%); }
.ba-handle::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #fff center / 60% no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B3990' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5'/%3E%3Cpath d='m15 7 5 5-5 5'/%3E%3C/svg%3E");
  border-radius: 999px; width: 2.5rem; height: 2.5rem;
  box-shadow: 0 2px 10px rgba(15, 22, 48, .3);
  transition: transform .2s var(--ease-spring);
}
.ba-frame:hover .ba-handle::after { transform: translate(-50%, -50%) scale(1.1); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; touch-action: none; }
.ba-label { position: absolute; bottom: .8rem; background: rgba(15, 22, 48, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: .75rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; pointer-events: none; }
.ba-label-before { left: .8rem; }
.ba-label-after { right: .8rem; }
.ba-slider figcaption { margin-top: .7rem; font-size: .85rem; color: var(--muted); }
.ba-static { margin: 0; max-width: 430px; }
.ba-static img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.ba-static figcaption { margin-top: .7rem; font-size: .85rem; color: var(--muted); }
.ba-disclaimer { font-size: .85rem; color: var(--muted); margin: 0 0 3.5rem; }
.link-more { font-weight: 600; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* ---------- laser & prose ---------- */
.prose { max-width: 47rem; padding-bottom: 3.5rem; }
.prose-narrow { padding-top: 1rem; }
.laser-section { margin: 2.8rem 0; }
.laser-img { margin: 1.6rem 0 0; }
.laser-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 1rem 0; }
.check-list li { padding: .5rem 0 .5rem 2rem; position: relative; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .62rem;
  width: 1.25rem; height: 1.25rem; border-radius: 999px;
  background: linear-gradient(135deg, rgba(25, 184, 223, .18), rgba(43, 57, 144, .14)) center / 60% no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E9DC2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 47rem; padding: 2rem 1.4rem 3.5rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: .9rem; box-shadow: var(--shadow-sm);
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.faq-item:hover { border-color: rgba(25, 184, 223, .4); }
.faq-item[open] { border-color: rgba(43, 57, 144, .35); box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 1.05rem 1.3rem; list-style: none; position: relative; padding-right: 3rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  width: 1.7rem; height: 1.7rem; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--navy); font-weight: 400;
  background: rgba(25, 184, 223, .1); border-radius: 999px;
  transition: transform .25s var(--ease-spring), background .25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: rgba(25, 184, 223, .22); }
.faq-item p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }
.faq-item[open] p { animation: faq-in .3s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- contact ---------- */
.contact-main { padding: 2rem 1.4rem; }
.contact-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-lg); max-width: 36rem;
}
.contact-card::before {
  content: ''; position: absolute; top: -6rem; right: -6rem; width: 16rem; height: 16rem;
  border-radius: 50%; background: radial-gradient(circle, rgba(25, 184, 223, .16), transparent 70%);
}
.contact-phone { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; margin: .2rem 0 1.1rem; }
.contact-phone a { text-decoration: none; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.3rem; }
.contact-hours { color: var(--muted); font-size: .92rem; }
.contact-secondary { font-size: .92rem; color: var(--muted); margin-bottom: .4rem; }
.contact-centers-title { margin-top: 3rem; }

/* ---------- bande CTA (aurora sombre, typo XXL) ---------- */
.cta-band { position: relative; background: var(--navy-ink); color: #fff; padding: 5.5rem 0; overflow: hidden; }
.cta-band .aurora span { opacity: .3; }
.cta-band .aurora span:nth-child(3) { background: radial-gradient(circle at 50% 50%, var(--cyan), transparent 62%); opacity: .18; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; font-size: clamp(1.9rem, 4.5vw, 3rem); }
.cta-band p { margin: 0; opacity: .82; max-width: 34rem; }
.cta-band-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 1.8rem; align-items: center; justify-content: space-between; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- footer (sombre premium) ---------- */
.site-footer { position: relative; background: var(--navy-ink); color: rgba(255, 255, 255, .82); padding: 4rem 0 2.2rem; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(25, 184, 223, .5), rgba(124, 111, 222, .5), transparent); }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-brand { font-size: 1.15rem; margin-bottom: .3rem; color: #fff; }
.footer-tagline { color: rgba(255, 255, 255, .6); font-size: .9rem; }
.footer-social a { margin-right: .3rem; }
.footer-title { font-size: .82rem; font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.footer-centers { list-style: none; margin: 0; padding: 0; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.footer-centers li { padding: .22rem 0; }
.footer-hours { font-size: .85rem; color: rgba(255, 255, 255, .6); margin-top: .9rem; }
.site-footer .btn-primary { background: #fff; color: var(--navy-deep); box-shadow: none; }
.site-footer .btn-primary:hover { box-shadow: 0 6px 20px rgba(255, 255, 255, .18); }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 2.8rem; padding-top: 1.6rem;
  font-size: .82rem; color: rgba(255, 255, 255, .55);
}
.footer-legal p { margin: 0; }
.footer-legal a { color: rgba(255, 255, 255, .75); }

/* ---------- bouton d'appel flottant mobile ---------- */
.mobile-call { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 4.8rem; }
  .mobile-call {
    position: fixed; bottom: .8rem; left: .8rem; right: .8rem; z-index: 60;
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    background: linear-gradient(135deg, var(--navy) 0%, #3D4DB7 100%);
    color: #fff; text-decoration: none;
    font-weight: 600; font-size: 1rem;
    padding: 1rem; border-radius: 999px;
    box-shadow: 0 8px 30px rgba(29, 38, 104, .45);
    padding-bottom: calc(1rem + env(safe-area-inset-bottom) * .4);
  }
  .mobile-call:active { transform: scale(.98); }
  .mobile-call .icon { width: 1.1em; height: 1.1em; }
}

/* accessibilité */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html.js [data-reveal], html.js [data-reveal-group] > * { opacity: 1; transform: none; filter: none; }
  html.js .hw-i, html.js .hero-fade { transform: none; opacity: 1; animation: none; }
  html.js .grad::after { transform: scaleX(1); animation: none; }
  .aurora span, .orb::before, .orb img, .marquee-track { animation: none; }
}
