/* ==========================================================================
   ESTHÉTIQUE MAYAR — Design system
   Premium, médical, élégant, mobile-first
   ========================================================================== */

:root {
  /* Couleurs — alignées sur le logo officiel Esthétique Mayar */
  --color-primary: #175a62;       /* teal du logo — confiance, médical */
  --color-primary-light: #2d7d84;
  --color-primary-dark: #0d383f;
  --color-gold: #c17b5c;          /* corail du logo — accent premium */
  --color-gold-light: #dda183;
  --color-cream: #f7f3ec;         /* fond clair chaleureux */
  --color-cream-dark: #efe8d8;
  --color-white: #ffffff;
  --color-ink: #1b2422;           /* texte principal */
  --color-ink-soft: #4a5350;
  --color-line: #e4ddd0;
  --color-success: #2f7d5e;
  --color-whatsapp: #25d366;
  --color-star: #c17b5c;

  /* Typographie */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rayon / ombres */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(13, 59, 58, 0.06);
  --shadow-md: 0 12px 32px rgba(13, 59, 58, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 59, 58, 0.16);

  /* Layout */
  --container-max: 1180px;
  --header-height: 76px;
  --mobile-bar-height: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--mobile-bar-height);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--color-primary-dark); }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--cream { background: var(--color-cream); }
.section--primary { background: var(--color-primary); color: var(--color-white); }
.section--primary h2, .section--primary h3 { color: var(--color-white); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.section-head p { color: var(--color-ink-soft); font-size: 1.05rem; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Buttons / CTA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--color-gold); color: var(--color-primary-dark); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-gold-light); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--color-white); color: var(--color-white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-dark { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline-dark:hover { background: var(--color-primary); color: var(--color-white); }
.btn-whatsapp { background: var(--color-whatsapp); color: var(--color-white); }
.btn-whatsapp:hover { background: #1fb955; box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-line);
  height: var(--header-height);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo span { color: var(--color-gold); }
.logo img.logo-mark { height: 36px; width: auto; display: block; }
.footer-logo.logo { color: #fff; gap: 12px; }
.footer-logo.logo img.logo-mark { height: 30px; }
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 16px; align-items: center; }
.nav-desktop a { font-size: .85rem; font-weight: 600; color: var(--color-ink); white-space: nowrap; }
.nav-desktop a:hover { color: var(--color-primary); }
.header-cta { display: none; align-items: center; gap: 12px; }
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: none; border: none;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display:none; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--color-primary-dark); }

@media (min-width: 1300px) {
  .nav-desktop { display: block; }
  .header-cta { display: flex; }
  .nav-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 100;
  padding: 24px 20px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .25s ease;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--color-line);
}
.mobile-menu .cta-row { margin-top: 24px; flex-direction: column; }
.close-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: none; border: none; }
.close-btn svg { width: 24px; height: 24px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 16px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--color-ink-soft); }
.breadcrumb a { color: var(--color-ink-soft); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--color-line); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: 56px 0 64px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(193,123,92,.25), transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-inner { max-width: 720px; }
.hero .eyebrow { color: var(--color-gold-light); }
.hero h1 { color: var(--color-white); font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: 20px; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 620px; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  font-size: .88rem;
  color: rgba(255,255,255,.92);
}
.trust-row span { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.trust-row span::before { content: "✓"; color: var(--color-gold-light); font-weight: 900; }
.hero .cta-row { margin-top: 30px; }

/* ---------- Hero — plein cadre avec photo de fond ---------- */
.hero--photo {
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--color-primary-dark);
}
.hero--photo::after { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-layer { position: absolute; inset: 0; opacity: 0; animation: heroCrossfade 20s infinite; }
.hero-bg-layer:nth-child(1) { animation-delay: 0s; }
.hero-bg-layer:nth-child(2) { animation-delay: 5s; }
.hero-bg-layer:nth-child(3) { animation-delay: 10s; }
.hero-bg-layer:nth-child(4) { animation-delay: 15s; }
.hero-bg-layer img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
@keyframes heroCrossfade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-layer { animation: none; opacity: 0; }
  .hero-bg-layer:first-child { opacity: 1; }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,38,42,.88) 0%, rgba(11,38,42,.72) 32%, rgba(11,38,42,.32) 62%, rgba(11,38,42,.12) 100%),
    linear-gradient(0deg, rgba(11,38,42,.55) 0%, transparent 30%);
}
.hero--photo .hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero--photo h1 { text-shadow: 0 2px 24px rgba(0,0,0,.25); }
@media (max-width: 900px) {
  .hero--photo { min-height: 560px; padding: 100px 0 60px; }
  .hero-bg::after {
    background:
      linear-gradient(0deg, rgba(11,38,42,.92) 0%, rgba(11,38,42,.55) 45%, rgba(11,38,42,.35) 100%);
  }
}

/* ---------- Before/after photo card (real, single composite image) ---------- */
.ba-item-photo .ba-photo-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.ba-item-photo .ba-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Reassurance blocks ---------- */
.reassurance-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.reassurance-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.reassurance-card .icon { font-size: 1.8rem; margin-bottom: 14px; }
.reassurance-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.reassurance-card p { color: var(--color-ink-soft); font-size: .93rem; margin: 0; }

/* ---------- Intervention cards ---------- */
.category-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.category-tabs a {
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--color-line);
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-ink-soft);
}
.category-tabs a:hover, .category-tabs a.is-active { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-media {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.85);
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.05rem; margin: 0; }
.card-body p { color: var(--color-ink-soft); font-size: .9rem; margin: 0; flex: 1; }
.card-link { font-weight: 700; font-size: .88rem; color: var(--color-primary); display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.card-link::after { content: "→"; transition: transform .15s; }
.card-link:hover::after { transform: translateX(4px); }

/* ---------- Before / After slider ---------- */
.ba-slider {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  user-select: none;
  touch-action: pan-y;
}
.ba-pane {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .06em;
  color: #fff;
}
.ba-before { background: linear-gradient(135deg,#2d7d84,#175a62); }
.ba-after {
  background: linear-gradient(135deg,#c17b5c,#9c5c40);
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 50%);
}
.ba-pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-pane span.ba-label { position: relative; z-index: 2; background: rgba(0,0,0,.35); padding: 4px 10px; border-radius: 100px; }
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(255,255,255,.25);
}
.ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%,-50%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
  font-size: 1.1rem;
  cursor: ew-resize;
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.ba-caption { padding: 16px 4px 0; }
.ba-caption h3 { font-size: 1rem; margin-bottom: 4px; }
.ba-caption p { font-size: .85rem; color: var(--color-ink-soft); margin: 0; }
.ba-item { position: relative; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(193,123,92,.16);
  color: #8a6a37;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
}

/* ---------- How it works ---------- */
.steps { display: grid; gap: 20px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step-card { text-align: center; padding: 8px; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 auto 16px;
  font-size: 1.1rem;
}
.step-card h3 { font-size: 1rem; margin-bottom: 6px; }
.step-card p { font-size: .88rem; color: var(--color-ink-soft); }

/* ---------- Surgeon cards ---------- */
.surgeon-card { text-align: center; }
.surgeon-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  overflow: hidden;
}
.surgeon-avatar img { width: 100%; height: 100%; object-fit: cover; }
.surgeon-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.surgeon-card .role { font-size: .85rem; color: var(--color-gold); font-weight: 700; margin-bottom: 10px; }
.surgeon-card p.bio { font-size: .87rem; color: var(--color-ink-soft); }

/* ---------- Video ---------- */
.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}
.video-embed.is-vertical { aspect-ratio: 9/16; max-width: 340px; margin: 0 auto; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.video-facade {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(13,59,58,.55), rgba(8,39,38,.75));
  cursor: pointer;
}
.video-facade .play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  transition: transform .15s ease;
}
.video-facade:hover .play-btn { transform: scale(1.08); }
.video-caption { padding: 14px 2px 0; }
.video-caption h4 { font-size: .98rem; margin-bottom: 2px; }
.video-caption p { font-size: .82rem; color: var(--color-ink-soft); margin: 0; }
.video-empty {
  text-align: center;
  padding: 48px 20px;
  border: 1px dashed var(--color-line);
  border-radius: var(--radius-md);
  color: var(--color-ink-soft);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.stars { color: var(--color-star); font-size: .95rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p.quote { font-size: .95rem; color: var(--color-ink); margin-bottom: 16px; }
.testimonial-meta { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--color-cream-dark);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
}
.testimonial-meta .name { font-weight: 700; font-size: .88rem; }
.testimonial-meta .sub { font-size: .78rem; color: var(--color-ink-soft); }

/* ---------- Social section ---------- */
.social-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 24px; }
.social-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .92rem;
  border: 1px solid var(--color-line);
}
.social-btn.instagram { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); color: #fff; border: none; }
.social-btn.tiktok { background: #000; color: #fff; border: none; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--color-line); border-radius: var(--radius-md); overflow: hidden; background: var(--color-white); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: .98rem;
  color: var(--color-primary-dark);
}
.faq-question .plus { font-size: 1.3rem; color: var(--color-gold); transition: transform .2s ease; flex-shrink: 0; }
.faq-item.is-open .faq-question .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer-inner { padding: 0 22px 20px; color: var(--color-ink-soft); font-size: .92rem; }
.faq-item.is-open .faq-answer { max-height: 600px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 7px; color: var(--color-primary-dark); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  font-size: .95rem;
  transition: border-color .15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-grid-2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.radio-row { display: flex; gap: 20px; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.radio-row input { width: auto; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; }
.checkbox-row input { width: auto; margin-top: 4px; }
.checkbox-row label { font-size: .82rem; color: var(--color-ink-soft); }
.checkbox-row a { color: var(--color-primary); font-weight: 600; }
.form-note { font-size: .78rem; color: var(--color-ink-soft); margin-top: 10px; }
.file-drop {
  border: 2px dashed var(--color-line);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  font-size: .85rem;
  color: var(--color-ink-soft);
  background: var(--color-cream);
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.is-visible { display: block; }
.form-success .icon { font-size: 2.6rem; margin-bottom: 12px; }

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  text-align: center;
}
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,.82); padding: 56px 0 24px; }
.footer-grid { display: grid; gap: 32px; margin-bottom: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid h4 { color: #fff; font-size: .92rem; margin-bottom: 14px; font-family: var(--font-body); letter-spacing: .04em; text-transform: uppercase; }
.footer-grid ul li { margin-bottom: 9px; font-size: .88rem; }
.footer-grid a:hover { color: var(--color-gold-light); }
.footer-logo { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 10px; }
.footer-brand p { font-size: .87rem; color: rgba(255,255,255,.65); max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--color-gold); }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: calc(var(--mobile-bar-height) + 18px);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-whatsapp);
  color: #fff;
  padding: 14px 18px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  font-weight: 700;
  font-size: .88rem;
  animation: wa-pulse 2.6s infinite;
}
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }
@media (min-width: 768px) { .wa-float { bottom: 24px; } }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.45); }
  50% { box-shadow: 0 10px 30px rgba(37,211,102,.75), 0 0 0 8px rgba(37,211,102,.12); }
}

/* ---------- Mobile sticky bar ---------- */
.mobile-sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
  box-shadow: 0 -6px 24px rgba(0,0,0,.08);
  height: var(--mobile-bar-height);
}
.mobile-sticky-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  border-right: 1px solid var(--color-line);
}
.mobile-sticky-bar a:last-child { border-right: none; }
.mobile-sticky-bar a.is-whatsapp { background: var(--color-whatsapp); color: #fff; }
.mobile-sticky-bar a.is-devis { background: var(--color-gold); color: var(--color-primary-dark); }
.mobile-sticky-bar svg { width: 18px; height: 18px; }
@media (min-width: 768px) { .mobile-sticky-bar { display: none; } }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-gold { color: var(--color-gold); }
.legal-note { font-size: .82rem; color: var(--color-ink-soft); background: var(--color-cream); border-radius: var(--radius-sm); padding: 14px 18px; margin-top: 20px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose p { color: var(--color-ink-soft); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--color-primary); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--color-line);
  border-radius: var(--radius-md);
  color: var(--color-ink-soft);
  background: var(--color-cream);
}
.empty-state h3 { color: var(--color-primary-dark); font-size: 1.05rem; }

/* Instagram/TikTok lazy embeds */
.social-embed-wrap { min-height: 200px; }

/* Tarifs */
.price-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 26px 26px 22px; }
.price-card h3 { color: var(--color-primary-dark); font-size: 1.1rem; margin-bottom: 14px; }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--color-line); }
.price-row:last-child { border-bottom: none; }
.price-row .label { color: var(--color-ink); font-size: 0.96rem; }
.price-row .value { color: var(--color-primary-dark); font-weight: 700; white-space: nowrap; font-family: var(--font-display); }
.price-disclaimer { font-size: 0.85rem; color: var(--color-ink-soft); margin-top: 10px; }

/* Intervention detail — photo */
.intervention-detail-photo { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/7; margin-bottom: 28px; }
.intervention-detail-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Cookie consent */
.link-btn { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--color-primary-dark); color: #fff; box-shadow: 0 -8px 30px rgba(0,0,0,.2); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { max-width: var(--container-max); margin: 0 auto; padding: 20px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cookie-banner-text { flex: 1 1 320px; }
.cookie-banner-text h3 { color: #fff; font-size: 1.02rem; margin-bottom: 4px; }
.cookie-banner-text p { color: rgba(255,255,255,.82); font-size: .86rem; margin: 0; }
.cookie-banner-text a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .btn-outline-dark { border-color: rgba(255,255,255,.5); color: #fff; }
.cookie-banner .btn-outline-dark:hover { background: rgba(255,255,255,.12); }
.cookie-modal-overlay { position: fixed; inset: 0; z-index: 210; background: rgba(13,56,63,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.cookie-modal-overlay[hidden] { display: none; }
.cookie-modal { background: #fff; border-radius: var(--radius-md); max-width: 560px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 28px; }
.cookie-modal h3 { margin-bottom: 18px; }
.cookie-pref-row { padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.cookie-pref-row:last-of-type { border-bottom: none; }
.cookie-pref-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.cookie-pref-head strong { font-size: .96rem; color: var(--color-primary-dark); }
.cookie-pref-row p { font-size: .85rem; color: var(--color-ink-soft); margin: 0; }
.cookie-pref-toggle.is-disabled { font-size: .78rem; color: var(--color-ink-soft); font-weight: 600; }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-track { position: absolute; inset: 0; background: var(--color-line); border-radius: 100px; transition: background .15s ease; cursor: pointer; }
.switch-track::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s ease; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .switch-track { background: var(--color-primary); }
.switch input:checked + .switch-track::before { transform: translateX(18px); }
.cookie-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; justify-content: flex-end; }
@media (max-width: 640px) {
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1 1 auto; }
  .cookie-modal-actions .btn { flex: 1 1 auto; }
}
