/* ============================================================
   MINE DE RIEN CT — style.css
   Premium editorial DA · Champagne gold + cosmic dark
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  /* Light — refined ivory editorial */
  --bg:               #fbf9f4;
  --bg-elev:          #ffffff;
  --surface:          #ffffff;
  --surface-2:        #f4f0e6;
  --card:             #ffffff;
  --muted:            #f4f0e6;
  --border:           #e8e2d2;
  --border-strong:    #d8d0bb;

  --fg:               #14131a;
  --fg-soft:          #2c2a35;
  --fg-muted:         #6b6976;

  /* Champagne gold accent */
  --gold:             #b8902a;
  --gold-soft:        #cda955;
  --gold-deep:        #8a6a18;
  --gold-tint:        rgba(184,144,42,0.10);

  --primary:          var(--gold);
  --primary-fg:       #14131a;
  --primary-soft:     var(--gold-soft);

  --ring:             rgba(184,144,42,0.32);
  --destructive:      #b91c1c;
  --success:          #15803d;

  /* Cosmic — used by hero/footer regardless of theme */
  --cosmic-0:         #050409;
  --cosmic-1:         #0a0810;
  --cosmic-2:         #13111c;
  --ivory:            #f5f3ee;
  --ivory-soft:       rgba(245,243,238,0.78);
  --ivory-mute:       rgba(245,243,238,0.55);
  --ivory-dim:        rgba(245,243,238,0.36);

  --font-sans:        'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-serif:       'Fraunces', 'Georgia', serif;

  --radius-xs:        6px;
  --radius-sm:        10px;
  --radius:           14px;
  --radius-lg:        20px;
  --radius-pill:      999px;

  --shadow-xs:        0 1px 2px rgba(20,19,26,0.04);
  --shadow-sm:        0 2px 8px rgba(20,19,26,0.05), 0 1px 2px rgba(20,19,26,0.04);
  --shadow:           0 12px 32px -8px rgba(20,19,26,0.10), 0 4px 12px rgba(20,19,26,0.05);
  --shadow-lg:        0 30px 60px -20px rgba(20,19,26,0.18), 0 8px 24px rgba(20,19,26,0.07);
  --shadow-gold:      0 16px 48px -12px rgba(184,144,42,0.30);

  --container:        1180px;
  --ease:             cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:         cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg:               #08070d;
  --bg-elev:          #0f0e16;
  --surface:          #13111c;
  --surface-2:        #1a1825;
  --card:             #13111c;
  --muted:            #0f0e16;
  --border:           #25232f;
  --border-strong:    #353341;

  --fg:               #f5f3ee;
  --fg-soft:          #d9d6cf;
  --fg-muted:         #8d8a98;

  --gold:             #d4b06a;
  --gold-soft:        #e3c485;
  --gold-deep:        #b8902a;
  --gold-tint:        rgba(212,176,106,0.12);

  --primary:          var(--gold);
  --primary-fg:       #0a0810;
  --primary-soft:     var(--gold-soft);

  --ring:             rgba(212,176,106,0.38);

  --shadow:           0 16px 48px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.35);
  --shadow-lg:        0 32px 72px rgba(0,0,0,0.55), 0 8px 24px rgba(0,0,0,0.35);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
  font-feature-settings: "ss01", "cv02", "cv11";
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; color: inherit; }
::selection { background: var(--gold-tint); color: var(--fg); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--fg);
  font-variation-settings: "opsz" 144;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 400; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 600; letter-spacing: -0.015em; font-variation-settings: "opsz" 36; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { font-size: 0.96rem; color: var(--fg-soft); }
.lead { font-size: 1.1rem; line-height: 1.72; color: var(--fg-soft); }
em { font-style: italic; color: var(--gold); font-variation-settings: "opsz" 144; }
strong { font-weight: 600; color: var(--fg); }

/* ===== LAYOUT ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; position: relative; }
.section-muted { background: var(--surface-2); }
[data-theme="dark"] .section-muted { background: var(--surface); }
.section-head { text-align: center; margin-bottom: 72px; max-width: 720px; margin-inline: auto; }
.section-head h2 { margin-bottom: 18px; }
.section-head .label { display: inline-block; margin-bottom: 18px; }

.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  padding-left: 28px;
}
.label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
  opacity: 0.7;
}

.section-intro {
  max-width: 580px;
  margin: 18px auto 0;
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition:
    background 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease),
    border-color 0.45s var(--ease),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
  will-change: transform;
}
.nav.nav-hidden { transform: translateY(-110%); }
.nav.scrolled {
  background: rgba(8, 7, 13, 0.88);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-bottom-color: rgba(212,176,106,0.10);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.nav-brand { justify-self: start; display: inline-flex; align-items: center; }
.nav-logo { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; transition: opacity 0.25s; }
.nav-brand:hover .nav-logo { opacity: 1; }

.nav-links {
  justify-self: center;
  display: flex;
  gap: 38px;
  align-items: center;
  margin: 0;
}
.nav-links a {
  position: relative;
  color: rgba(245,243,238,0.66);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 2px;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  color: rgba(245,243,238,0.7);
  font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, background 0.2s, transform 0.25s;
  border: 1px solid rgba(245,243,238,0.10);
}
.theme-btn:hover { background: rgba(245,243,238,0.06); color: var(--ivory); border-color: rgba(212,176,106,0.4); }

.nav-login {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(245,243,238,0.78);
  padding: 7px 15px;
  border: 1px solid rgba(245,243,238,0.20);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-login:hover {
  color: var(--ivory);
  border-color: rgba(212,176,106,0.55);
  background: rgba(245,243,238,0.05);
}

.nav-cta { display: none; }
@media (min-width: 980px) { .nav-cta { display: inline-flex; } }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: rgba(245,243,238,0.8);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    justify-self: stretch;
    background: rgba(8,7,13,0.97);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 24px;
    border-top: 1px solid rgba(212,176,106,0.12);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 28px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(245,243,238,0.05);
    color: rgba(245,243,238,0.85);
  }
  .nav-links a::after { display: none; }
  .nav-links li:last-child a { border-bottom: none; }
  .hamburger { display: flex; }
}

/* ===== Nav — fix visibilité en thème clair sur les pages forfait =====
   La nav est conçue blanche (pour le hero galaxy sombre d'index). Sur les
   pages forfait au fond ivoire, texte/logo blancs deviennent invisibles.
   On repasse la nav en encre sombre quand data-theme=light + .forfait-page. */
[data-theme="light"] body.forfait-page .nav-logo { filter: brightness(0); opacity: 0.86; }
[data-theme="light"] body.forfait-page .nav-brand:hover .nav-logo { opacity: 1; }
[data-theme="light"] body.forfait-page .nav-links a { color: rgba(20,19,26,0.62); }
[data-theme="light"] body.forfait-page .nav-links a:hover { color: var(--fg); }
[data-theme="light"] body.forfait-page .theme-btn {
  color: rgba(20,19,26,0.72);
  border-color: rgba(20,19,26,0.12);
}
[data-theme="light"] body.forfait-page .theme-btn:hover {
  background: rgba(20,19,26,0.05);
  color: var(--fg);
  border-color: var(--ring);
}
[data-theme="light"] body.forfait-page .hamburger span { background: rgba(20,19,26,0.80); }
[data-theme="light"] body.forfait-page .nav-login {
  color: rgba(20,19,26,0.70);
  border-color: rgba(20,19,26,0.16);
}
[data-theme="light"] body.forfait-page .nav-login:hover {
  color: var(--fg);
  border-color: var(--ring);
  background: rgba(20,19,26,0.04);
}
[data-theme="light"] body.forfait-page .nav.scrolled {
  background: rgba(251,249,244,0.90);
  border-bottom-color: rgba(184,144,42,0.18);
}
@media (max-width: 900px) {
  [data-theme="light"] body.forfait-page .nav-links {
    background: rgba(251,249,244,0.98);
    border-top-color: rgba(184,144,42,0.16);
  }
  [data-theme="light"] body.forfait-page .nav-links a {
    color: rgba(20,19,26,0.85);
    border-bottom-color: rgba(20,19,26,0.06);
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.3s;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--primary-fg);
  border: 1px solid transparent;
  box-shadow: 0 4px 18px rgba(184,144,42,0.20), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-secondary {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--surface-2); border-color: var(--border-strong); }

.btn-ghost { border: 1px solid var(--border); color: var(--fg); background: transparent; }
.btn-ghost:hover { background: var(--muted); border-color: var(--gold); color: var(--gold); }

.btn-light {
  background: var(--ivory);
  color: var(--cosmic-0);
  border: 1px solid transparent;
  box-shadow: 0 4px 24px rgba(245,243,238,0.18);
}
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 32px rgba(245,243,238,0.28); }

.btn-outline-light {
  border: 1px solid rgba(245,243,238,0.30);
  color: rgba(245,243,238,0.92);
  background: rgba(245,243,238,0.06);
}
.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,176,106,0.08);
}

.btn-ghost-light {
  border: 1px solid rgba(245,243,238,0.22);
  color: rgba(245,243,238,0.88);
  background: transparent;
}
.btn-ghost-light:hover { background: rgba(245,243,238,0.08); color: var(--ivory); border-color: rgba(245,243,238,0.5); }

.btn-sm { padding: 9px 18px; font-size: 0.8rem; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-spin { display: none; width: 16px; height: 16px; animation: spin 0.8s linear infinite; flex-shrink: 0; }
.btn.loading .btn-label { opacity: 0.4; }
.btn.loading .btn-spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #0a0810 0%, #050409 60%, #030206 100%);
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(212,176,106,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(5,4,9,0.95) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5,4,9,0.35) 0%, transparent 40%, rgba(5,4,9,0.85) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 28px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245,243,238,0.06);
  border: 1px solid rgba(212,176,106,0.28);
  color: rgba(245,243,238,0.82);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 36px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold);
  animation: pulse-dot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.75); }
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--ivory);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  color: rgba(245,243,238,0.62);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-sub {
  color: rgba(245,243,238,0.78);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 44px;
  font-weight: 300;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 36;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.scroll-hint {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px; height: 40px;
  border: 1px solid rgba(245,243,238,0.28);
  border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-dot {
  width: 3px; height: 6px;
  border-radius: 2px;
  background: rgba(245,243,238,0.6);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(10px); opacity: 0.2; }
}

/* ===== À PROPOS ===== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 88px;
  align-items: center;
}
.split-text .label { display: inline-block; margin-bottom: 22px; }
.split-text h2 { margin-bottom: 28px; }
.split-text p { color: var(--fg-muted); margin-bottom: 18px; line-height: 1.78; }
.split-text p.lead { color: var(--fg-soft); }
.info-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-tint);
  color: var(--gold-deep);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid rgba(184,144,42,0.18);
}
[data-theme="dark"] .info-chip { color: var(--gold-soft); border-color: rgba(212,176,106,0.22); }

.visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.visual-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(184,144,42,0.10) 0%, transparent 45%);
  z-index: 2;
  pointer-events: none;
}
.visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(184,144,42,0.18);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 3;
}
.visual-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out);
}
.visual-frame:hover img { transform: scale(1.03); }

.about-stats {
  display: flex;
  gap: 36px;
  margin: 36px 0 8px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.about-stat { display: flex; flex-direction: column; gap: 4px; }
.about-stat strong {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 36;
  letter-spacing: -0.02em;
}
.about-stat span {
  font-size: 0.7rem;
  color: var(--fg-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ===== VERTICAL TABS (Notre approche) ===== */
.vt-section { padding: 120px 0; }
.vt-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 88px;
  align-items: start;
}
.vt-head { margin-bottom: 56px; }
.vt-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 10px;
  color: var(--fg);
}
.vt-title em { font-style: italic; }
.vt-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.vt-tabs { display: flex; flex-direction: column; }
.vt-tab {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 0 28px 22px;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
  cursor: pointer;
  transition: color 0.5s var(--ease);
}
.vt-tab:first-child { border-top: 0; }
.vt-tab:hover { color: var(--fg-soft); }
.vt-tab.is-active { color: var(--fg); }

.vt-bar {
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
  overflow: hidden;
}
.vt-bar-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: var(--gold);
  transform-origin: top;
  transition: none;
}
.vt-tab.is-active .vt-bar-fill {
  animation: vtProgress 5s linear forwards;
}
.vt-tab.is-active.vt-paused .vt-bar-fill {
  animation-play-state: paused;
}
@keyframes vtProgress {
  from { height: 0%; }
  to   { height: 100%; }
}

.vt-num {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  opacity: 0.5;
  margin-top: 14px;
}
.vt-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.vt-name {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 60;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color 0.5s var(--ease);
}
.vt-desc {
  display: block;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 420px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s var(--ease);
  padding-bottom: 0;
}
.vt-tab.is-active .vt-desc {
  max-height: 220px;
  opacity: 1;
  padding-bottom: 8px;
}

/* Visual gallery */
.vt-visual { position: relative; }
.vt-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.vt-slides {
  position: absolute;
  inset: 0;
}
.vt-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s var(--ease);
  will-change: transform, opacity;
  pointer-events: none;
}
.vt-slide.is-active {
  transform: translateY(0);
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}
.vt-slide.is-leaving-up   { transform: translateY(-100%); opacity: 0; z-index: 1; }
.vt-slide.is-leaving-down { transform: translateY(100%);  opacity: 0; z-index: 1; }
.vt-slide.is-entering-up   { transform: translateY(-100%); opacity: 0; }
.vt-slide.is-entering-down { transform: translateY(100%);  opacity: 0; }

.vt-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(to top, rgba(5,4,9,0.30), transparent);
  pointer-events: none;
  z-index: 3;
}

.vt-controls {
  position: absolute;
  bottom: 22px;
  right: 22px;
  display: flex;
  gap: 10px;
  z-index: 4;
}
.vt-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(245,243,238,0.88);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(245,243,238,0.5);
  color: #14131a;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s var(--ease-out);
}
.vt-arrow:hover { background: var(--ivory); }
.vt-arrow:active { transform: scale(0.92); }
.vt-arrow svg { width: 20px; height: 20px; }
[data-theme="dark"] .vt-arrow {
  background: rgba(19,17,28,0.72);
  border-color: rgba(212,176,106,0.32);
  color: var(--ivory);
}
[data-theme="dark"] .vt-arrow:hover { background: rgba(19,17,28,0.92); }

@media (max-width: 980px) {
  .vt-grid { grid-template-columns: 1fr; gap: 48px; }
  .vt-visual { order: -1; }
  .vt-gallery { aspect-ratio: 4 / 5; }
  .vt-head { margin-bottom: 40px; }
  .vt-tab { padding-left: 18px; }
}

@media (max-width: 640px) {
  .vt-section { padding: 88px 0; }
  .vt-tab { padding: 22px 0 22px 16px; gap: 14px; }
  .vt-name { font-size: 1.4rem; }
  .vt-arrow { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .vt-slide { transition: opacity 0.2s; }
  .vt-tab.is-active .vt-bar-fill { animation: none; height: 100%; }
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.services-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin: 0 auto;
  gap: 36px;
  perspective: 1400px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  animation-delay: var(--d, 0s);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.service-card:not(.service-card-flip):hover {
  border-color: rgba(184,144,42,0.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

/* ----- Scroll-flip (Aceternity ContainerScroll vanilla port) -----
   CSS vars driven by JS scroll handler (no transform transition →
   smooth bidirectional tracking on scroll up/down).
   Default state = tilted at scroll origin, var update flattens it. */
.service-card-flip {
  --flip-rx: 22deg;
  --flip-scale: 1.04;
  --flip-ty: 0px;
  transform-origin: center top;
  transform:
    perspective(1100px)
    translateY(var(--flip-ty))
    rotateX(var(--flip-rx))
    scale(var(--flip-scale));
  transition: border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
  box-shadow:
    0 18px 30px rgba(0,0,0,0.08),
    0 60px 50px rgba(0,0,0,0.04);
  will-change: transform;
  backface-visibility: hidden;
}
[data-theme="dark"] .service-card-flip {
  box-shadow:
    0 18px 30px rgba(0,0,0,0.42),
    0 60px 50px rgba(0,0,0,0.20);
}
.service-card-flip:hover {
  border-color: rgba(184,144,42,0.45);
  box-shadow:
    0 0 0 1px rgba(184,144,42,0.16),
    0 20px 40px rgba(0,0,0,0.10);
}
[data-theme="dark"] .service-card-flip:hover {
  box-shadow:
    0 0 0 1px rgba(212,176,106,0.26),
    0 20px 48px rgba(0,0,0,0.50);
}
@media (prefers-reduced-motion: reduce) {
  .service-card-flip {
    --flip-rx: 0deg;
    --flip-scale: 1;
    --flip-ty: 0px;
  }
}
.service-card-featured {
  background: linear-gradient(160deg, var(--gold-tint) 0%, var(--card) 60%);
  border-color: rgba(184,144,42,0.22);
}
[data-theme="dark"] .service-card-featured { background: linear-gradient(160deg, rgba(212,176,106,0.10) 0%, var(--card) 60%); }

.service-icon {
  width: 52px; height: 52px;
  background: var(--gold-tint);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-deep);
  flex-shrink: 0;
  border: 1px solid rgba(184,144,42,0.20);
}
[data-theme="dark"] .service-icon { color: var(--gold); border-color: rgba(212,176,106,0.22); }
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 { margin: 0; color: var(--fg); }
.service-card > p { color: var(--fg-muted); font-size: 0.92rem; line-height: 1.7; }
.service-list { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.service-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--fg-muted);
}
.service-list li::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}
.service-card .btn { align-self: flex-start; margin-top: 8px; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 80px;
  align-items: start;
}
.contact-info .label { display: inline-block; margin-bottom: 22px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { color: var(--fg-muted); margin-bottom: 40px; line-height: 1.75; font-size: 1rem; }
.contact-items { display: flex; flex-direction: column; gap: 18px; margin-bottom: 8px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--fg);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s, transform 0.25s var(--ease-out);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}
a.contact-item:hover {
  color: var(--gold);
  border-color: rgba(184,144,42,0.35);
  transform: translateX(4px);
}
.contact-item svg {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

/* ===== FORMS ===== */
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group label span { color: var(--destructive); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--fg);
  font-size: 0.92rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23b8902a' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--fg-muted); opacity: 0.7; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--ring);
  background: var(--bg-elev);
}
.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid { border-color: var(--destructive); }
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field-err { font-size: 0.75rem; color: var(--destructive); min-height: 14px; }
.form-status { min-height: 18px; font-size: 0.88rem; padding: 8px 0; }
.form-status.success { color: var(--success); font-weight: 500; }
.form-status.error { color: var(--destructive); }

/* ===== AVIS ===== */
.avis-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.avis-head-left { display: flex; flex-direction: column; gap: 10px; }
.avis-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.avis-summary-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-serif);
  color: var(--fg);
}
.avis-summary-avg { font-size: 2.4rem; font-weight: 600; line-height: 1; }
.avis-summary-out { font-size: 1rem; color: var(--fg-muted); }
.avis-summary-meta { display: flex; flex-direction: column; gap: 4px; }
.avis-summary-stars {
  color: var(--border-strong);
  letter-spacing: 3px;
  font-size: 1rem;
  position: relative;
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
}
.avis-summary-stars::before {
  content: "★★★★★";
}
.avis-summary-stars > span {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--gold);
}
.avis-summary-count { font-size: 0.78rem; color: var(--fg-muted); letter-spacing: 0.04em; }

.avis-carousel-wrap {
  position: relative;
  margin-bottom: 48px;
  padding: 0 8px;
}
.avis-carousel {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 4px 24px;
}
.avis-carousel::-webkit-scrollbar { display: none; }
.avis-carousel:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: var(--radius); }

.avis-card {
  position: relative;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  min-width: 0;
  height: 280px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 30px 26px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
  overflow: hidden;
}
.avis-card::before {
  content: "\201C";
  position: absolute;
  top: -14px;
  left: 18px;
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  pointer-events: none;
}
.avis-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}
.avis-card:hover {
  border-color: rgba(184,144,42,0.4);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.avis-card:hover::after { opacity: 1; }

/* Carte tronquée : cliquable pour ouvrir l'avis complet */
.avis-card.is-truncated { cursor: pointer; }
.avis-card.is-truncated .avis-message { position: relative; }
.avis-card.is-truncated .avis-message::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2.4em;
  background: linear-gradient(to bottom, transparent, var(--card));
  pointer-events: none;
}
.avis-readmore {
  align-self: flex-start;
  margin-top: -4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.avis-card:hover .avis-readmore { text-decoration: underline; }

/* Modal avis complet */
.avis-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.avis-modal.open { display: grid; place-items: center; }
.avis-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 20, 0.66);
}
.avis-modal-card {
  position: relative;
  z-index: 1;
  width: calc(100% - 40px);
  max-width: 520px;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 34px 30px;
  box-shadow: var(--shadow);
}
.avis-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.avis-modal-close:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.avis-modal-stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; margin-bottom: 14px; }
.avis-modal-message {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--fg);
  font-family: var(--font-serif);
  font-style: italic;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-bottom: 18px;
}
.avis-modal-footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.avis-modal-nom { font-weight: 600; color: var(--fg); }
.avis-modal-date { font-size: 0.85rem; color: var(--fg-muted); }

.avis-stars { color: var(--gold); letter-spacing: 2px; font-size: 0.92rem; }
.avis-message {
  font-size: 0.92rem;
  color: var(--fg);
  line-height: 1.7;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 14;
  font-style: italic;
  flex: 1;
  min-height: 0;
  max-height: calc(0.92rem * 1.7 * 5);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.avis-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.avis-nom { font-weight: 600; font-size: 0.88rem; color: var(--fg); }
.avis-date { font-size: 0.72rem; color: var(--fg-muted); letter-spacing: 0.06em; }

.avis-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: var(--shadow-sm);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out), opacity 0.25s;
}
.avis-arrow svg { width: 18px; height: 18px; }
.avis-arrow:hover { background: var(--gold); color: #fff; border-color: var(--gold); transform: translateY(-50%) scale(1.06); }
.avis-arrow:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }
.avis-arrow-prev { left: -22px; }
.avis-arrow-next { right: -22px; }

.avis-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.avis-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s var(--ease-out), width 0.25s;
}
.avis-dot.active { background: var(--gold); width: 22px; border-radius: 4px; }
.avis-dot:hover:not(.active) { background: var(--fg-muted); }

.avis-cta-wrap { display: flex; justify-content: center; margin-bottom: 24px; }
.avis-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.avis-cta-icon {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.35s var(--ease-out);
}
.avis-cta[aria-expanded="true"] .avis-cta-icon { transform: rotate(45deg); }

.avis-form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.avis-form-wrap:not([hidden]) { opacity: 1; transform: translateY(0); }
.avis-form-wrap h3 { margin-bottom: 32px; font-size: 1.4rem; text-align: center; }

.no-avis {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--fg-muted);
  font-style: italic;
  padding: 40px 0;
}

.star-widget { display: flex; gap: 4px; padding: 4px 0; }
.star-btn {
  font-size: 2rem;
  color: var(--border-strong);
  transition: color 0.15s, transform 0.15s var(--ease-out);
  padding: 0 4px;
  line-height: 1;
}
.star-btn.active,
.star-btn.hovered { color: var(--gold); }
.star-btn:hover { transform: scale(1.15); }

@media (max-width: 960px) {
  .avis-card { flex-basis: calc((100% - 24px) / 2); max-width: calc((100% - 24px) / 2); }
  .avis-arrow-prev { left: -8px; }
  .avis-arrow-next { right: -8px; }
}

/* ===== TARIFS / PRICING ===== */
#tarifs { position: relative; overflow: hidden; }
.tarifs-spotlight {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 720px;
  background: radial-gradient(50% 50% at 50% 30%, rgba(184,144,42,0.10) 0%, rgba(184,144,42,0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
:root[data-theme="dark"] .tarifs-spotlight {
  background: radial-gradient(50% 50% at 50% 30%, rgba(212,176,106,0.14) 0%, rgba(212,176,106,0.05) 40%, transparent 70%);
}
.tarifs-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(108,90,30,0.10) 0.8px, transparent 0.8px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(circle at 50% 20%, rgba(0,0,0,1), rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 80%);
          mask-image: radial-gradient(circle at 50% 20%, rgba(0,0,0,1), rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 80%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
:root[data-theme="dark"] .tarifs-grid-bg {
  background-image: radial-gradient(rgba(245,243,238,0.10) 0.8px, transparent 0.8px);
  opacity: 0.5;
}
#tarifs .container { position: relative; z-index: 1; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: 0 8px 32px rgba(20,19,26,0.06), 0 1px 2px rgba(20,19,26,0.04);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
  contain: layout style paint;
}
@supports (backdrop-filter: blur(6px)) {
  html:not(.low-perf) .pricing-card { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(20,19,26,0.10), 0 2px 4px rgba(20,19,26,0.05);
  border-color: rgba(184,144,42,0.30);
}
.pricing-card-featured {
  border-color: rgba(184,144,42,0.45);
  box-shadow: 0 12px 40px rgba(184,144,42,0.16), 0 1px 2px rgba(184,144,42,0.10), inset 0 1px 0 rgba(255,255,255,0.4);
  background: linear-gradient(180deg, rgba(184,144,42,0.04) 0%, var(--card) 60%);
}
:root[data-theme="dark"] .pricing-card-featured {
  background: linear-gradient(180deg, rgba(212,176,106,0.06) 0%, var(--card) 60%);
  box-shadow: 0 12px 40px rgba(212,176,106,0.14), 0 1px 2px rgba(212,176,106,0.08);
}
.pricing-card-featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.pricing-header {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: calc(var(--radius-lg) - 4px);
  background: linear-gradient(180deg, rgba(184,144,42,0.05) 0%, rgba(184,144,42,0.01) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}
:root[data-theme="dark"] .pricing-header {
  background: linear-gradient(180deg, rgba(212,176,106,0.06) 0%, rgba(212,176,106,0.02) 100%);
}
.pricing-glass {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.10) 40%, transparent 100%);
  border-radius: inherit;
  pointer-events: none;
}
:root[data-theme="dark"] .pricing-glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 40%, transparent 100%);
}

.pricing-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.pricing-plan-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.pricing-plan-name svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}
.pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-tint);
  border: 1px solid rgba(184,144,42,0.30);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
:root[data-theme="dark"] .pricing-badge {
  color: var(--gold-soft);
  border-color: rgba(212,176,106,0.40);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.pricing-main {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.pricing-period {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-period-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
  text-transform: none;
  font-style: italic;
  opacity: 0.85;
}

.pricing-cta {
  width: 100%;
  position: relative;
  z-index: 1;
  justify-content: center;
}

.pricing-body { padding: 22px 18px 18px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.pricing-more {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  text-decoration: none;
  transition: color 0.25s, gap 0.25s var(--ease-out);
}
.pricing-more svg { width: 13px; height: 13px; transition: transform 0.3s var(--ease-out); }
.pricing-more:hover { color: var(--gold); gap: 10px; }
.pricing-more:hover svg { transform: translateX(3px); }
:root[data-theme="dark"] .pricing-more { color: var(--gold-soft); }
:root[data-theme="dark"] .pricing-more:hover { color: var(--gold); }
.pricing-desc {
  font-size: 0.86rem;
  color: var(--fg-muted);
  font-style: italic;
  font-family: var(--font-serif);
  margin: 0;
}
.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--fg-soft);
  line-height: 1.5;
}
.pricing-list strong { color: var(--fg); font-weight: 600; }
.pricing-check {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 2px;
}
:root[data-theme="dark"] .pricing-check { color: var(--gold-soft); }

/* Sur-mesure card */
.pricing-custom {
  position: relative;
  margin-top: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(184,144,42,0.06) 0%, rgba(184,144,42,0.02) 60%, transparent 100%);
  border: 1px solid rgba(184,144,42,0.30);
  box-shadow: 0 14px 44px rgba(184,144,42,0.10), inset 0 1px 0 rgba(255,255,255,0.4);
  overflow: hidden;
  isolation: isolate;
}
:root[data-theme="dark"] .pricing-custom {
  background: linear-gradient(135deg, rgba(212,176,106,0.08) 0%, rgba(212,176,106,0.02) 60%, transparent 100%);
  border-color: rgba(212,176,106,0.32);
  box-shadow: 0 14px 44px rgba(212,176,106,0.12), inset 0 1px 0 rgba(255,255,255,0.06);
}
.pricing-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold) 0%, rgba(184,144,42,0.20) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
.pricing-custom-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(184,144,42,0.22) 0%, rgba(184,144,42,0.08) 30%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  /* filter: blur removed for perf — radial gradient already soft */
}
:root[data-theme="dark"] .pricing-custom-glow {
  background: radial-gradient(circle, rgba(212,176,106,0.24) 0%, rgba(212,176,106,0.08) 30%, transparent 65%);
}
.pricing-custom-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  padding: 36px 40px;
  align-items: center;
}
.pricing-custom-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--gold-tint);
  color: var(--gold);
  border: 1px solid rgba(184,144,42,0.25);
}
.pricing-custom-icon svg { width: 28px; height: 28px; }
.pricing-custom-content { display: flex; flex-direction: column; gap: 14px; }
.pricing-custom-head { display: flex; flex-direction: column; gap: 6px; }
.pricing-custom-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
:root[data-theme="dark"] .pricing-custom-label { color: var(--gold-soft); }
.pricing-custom-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.pricing-custom-desc {
  font-size: 0.92rem;
  color: var(--fg-soft);
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
}
.pricing-custom-points {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-custom-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--fg-soft);
  line-height: 1.5;
}
.pricing-custom-points strong { color: var(--fg); font-weight: 600; }
.pricing-custom-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 200px;
}
.pricing-custom-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}
.pricing-custom-cta svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.pricing-custom-cta:hover svg { transform: translateX(4px); }
.pricing-custom-note {
  font-size: 0.74rem;
  color: var(--fg-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

.pricing-note {
  margin-top: 28px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-style: italic;
}
.pricing-note strong { color: var(--fg-soft); font-style: normal; font-weight: 600; }

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .pricing-custom-inner { grid-template-columns: auto 1fr; gap: 24px; padding: 32px; }
  .pricing-custom-cta-wrap { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .pricing-custom-note { text-align: left; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: -160px;
  left: 24px; right: 24px;
  max-width: 720px;
  margin: 0 auto;
  z-index: 200;
  background: rgba(8,7,13,0.96);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: var(--ivory);
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(212,176,106,0.18);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  transition: bottom 0.5s var(--ease-out);
}
.cookie-banner.visible { bottom: 24px; }
.cookie-banner p { font-size: 0.86rem; flex: 1 1 60%; line-height: 1.6; color: rgba(245,243,238,0.85); }
.cookie-banner a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal[hidden] { display: none; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,4,9,0.82);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.modal-box {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: min(520px, 92vw);
  box-shadow: var(--shadow-lg);
  z-index: 1;
  border: 1px solid var(--border);
}
.modal-close {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 1.5rem;
  color: var(--fg-muted);
  line-height: 1;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover { color: var(--fg); background: var(--muted); }
.modal-box h3 { margin-bottom: 28px; font-size: 1.3rem; }
.cookie-toggle-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cookie-toggle-item:last-of-type { border-bottom: none; }
.cookie-toggle-item label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.cookie-toggle-item input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}
.cookie-toggle-item small {
  display: block;
  margin-top: 6px;
  margin-left: 30px;
  color: var(--fg-muted);
  font-size: 0.78rem;
}
.modal-box .btn { margin-top: 24px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--cosmic-0);
  color: rgba(245,243,238,0.55);
  padding: 88px 0 40px;
  position: relative;
  border-top: 1px solid rgba(212,176,106,0.12);
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-logo { max-width: 130px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand p { font-size: 0.86rem; line-height: 1.75; color: rgba(245,243,238,0.55); }
.footer-nav,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}
.footer-nav a,
.footer-legal a {
  font-size: 0.88rem;
  color: rgba(245,243,238,0.55);
  transition: color 0.25s;
}
.footer-nav a:hover,
.footer-legal a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(245,243,238,0.06);
  padding-top: 32px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(245,243,238,0.4);
  letter-spacing: 0.04em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .split-grid { grid-template-columns: 1fr; gap: 56px; }
  .split-visual { order: -1; }
  .visual-frame img { height: 380px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid-2 { grid-template-columns: 1fr; max-width: 480px; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-wrap { padding: 32px; }
}

@media (max-width: 640px) {
  .section { padding: 88px 0; }
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .avis-form-wrap { padding: 28px 22px; }
  .avis-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .avis-summary { width: 100%; justify-content: flex-start; }
  .avis-carousel { gap: 16px; }
  .avis-card { flex-basis: 88%; max-width: 88%; }
  .avis-carousel-wrap { padding: 0; }
  .avis-arrow { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; gap: 20px; }
  .pricing-main { font-size: 2.1rem; }
  .pricing-custom-inner { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; text-align: center; }
  .pricing-custom-icon { margin: 0 auto; }
  .pricing-custom-content { align-items: center; }
  .pricing-custom-desc, .pricing-custom-points { text-align: left; }
  .pricing-custom-cta-wrap { flex-direction: column; align-items: stretch; }
  .pricing-custom-note { text-align: center; }
  .pricing-custom-title { font-size: 1.35rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .hero-body { padding: 110px 20px 80px; }
  .visual-frame img { height: 320px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 2.4rem; }
  .hero-badge { font-size: 0.66rem; padding: 7px 14px; }
}

/* ===== FORFAIT DETAIL PAGES ===== */
.forfait-page { padding-top: 0; }
.forfait-hero {
  position: relative;
  padding: 140px 0 60px;
  background: linear-gradient(180deg, rgba(184,144,42,0.04) 0%, transparent 100%);
  overflow: hidden;
}
:root[data-theme="dark"] .forfait-hero {
  background: linear-gradient(180deg, rgba(212,176,106,0.06) 0%, transparent 100%);
}
.forfait-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(184,144,42,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.forfait-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-bottom: 32px;
  transition: color 0.25s, gap 0.25s var(--ease-out);
}
.forfait-back:hover { color: var(--gold); gap: 12px; }
.forfait-back svg { width: 14px; height: 14px; }

.forfait-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--gold-tint);
  border: 1px solid rgba(184,144,42,0.30);
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 20px;
}
:root[data-theme="dark"] .forfait-tag { color: var(--gold-soft); }

.forfait-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0 0 16px;
}
.forfait-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.forfait-lead {
  font-size: 1.1rem;
  color: var(--fg-soft);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 0 36px;
}

.forfait-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(20,19,26,0.06);
}
.forfait-summary-item { display: flex; flex-direction: column; gap: 4px; }
.forfait-summary-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--fg-muted);
  font-weight: 600;
}
.forfait-summary-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
  line-height: 1;
}
.forfait-summary-value small {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-left: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.forfait-section { padding: 80px 0; }
.forfait-section + .forfait-section { padding-top: 0; }
.forfait-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.forfait-section h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--fg);
}
.forfait-section p {
  font-size: 0.98rem;
  color: var(--fg-soft);
  line-height: 1.75;
  max-width: 720px;
}
.forfait-section ul { max-width: 720px; }
.forfait-section ul li {
  font-size: 0.94rem;
  color: var(--fg-soft);
  line-height: 1.7;
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
}
.forfait-section ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.forfait-equipment {
  position: relative;
  background: linear-gradient(135deg, rgba(184,144,42,0.05) 0%, rgba(184,144,42,0.01) 100%);
  border: 1px solid rgba(184,144,42,0.25);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin: 32px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  max-width: 820px;
}
:root[data-theme="dark"] .forfait-equipment {
  background: linear-gradient(135deg, rgba(212,176,106,0.06) 0%, rgba(212,176,106,0.01) 100%);
  border-color: rgba(212,176,106,0.28);
}
.forfait-equipment-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--gold-tint);
  color: var(--gold);
  flex-shrink: 0;
}
.forfait-equipment-icon svg { width: 28px; height: 28px; }
.forfait-equipment-content h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--fg);
}
.forfait-equipment-content p { margin: 0; font-size: 0.92rem; line-height: 1.6; }

.forfait-breakdown {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 28px;
  padding: 28px 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 24px 0;
  max-width: 560px;
  box-shadow: var(--shadow-sm);
}
.forfait-breakdown-row { display: contents; }
.forfait-breakdown-row > * {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.forfait-breakdown-row:last-child > * { border-bottom: none; padding-bottom: 0; }
.forfait-breakdown-row:last-child > *:first-child {
  font-weight: 600;
  color: var(--fg);
}
.forfait-breakdown-row:last-child > *:last-child {
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}
.forfait-breakdown-label { color: var(--fg-soft); }
.forfait-breakdown-value {
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--fg);
}
.forfait-breakdown-row.minus .forfait-breakdown-value { color: var(--fg-muted); }

.forfait-cta-block {
  margin: 56px 0 20px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(184,144,42,0.06) 0%, rgba(184,144,42,0.02) 100%);
  border: 1px solid rgba(184,144,42,0.25);
  border-radius: var(--radius-lg);
  text-align: center;
}
:root[data-theme="dark"] .forfait-cta-block {
  background: linear-gradient(135deg, rgba(212,176,106,0.08) 0%, rgba(212,176,106,0.02) 100%);
}
.forfait-cta-block h2 { margin-top: 0; }
.forfait-cta-block .btn { margin-top: 12px; }

@media (max-width: 720px) {
  .forfait-hero { padding: 110px 0 40px; }
  .forfait-summary { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 22px; }
  .forfait-equipment { grid-template-columns: 1fr; padding: 28px 24px; text-align: center; }
  .forfait-equipment-icon { margin: 0 auto; }
  .forfait-breakdown { padding: 22px 20px; }
  .forfait-cta-block { padding: 28px 22px; }
  .forfait-section { padding: 60px 0; }
}

/* ===== PERFORMANCE — paint isolation + offscreen skip ===== */
#approche, #nosservices, #tarifs, #avis, #contact, footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}
.service-card, .avis-card, .pricing-card {
  contain: layout style;
}
.tarifs-spotlight, .tarifs-grid-bg, .pricing-custom-glow, .pricing-card::after, .pricing-card-featured::before, .pricing-custom::before {
  will-change: auto;
}

/* Low-perf devices: drop heavy filters/effects, keep animations */
html.low-perf .pricing-card,
html.low-perf .avis-card,
html.low-perf .pricing-custom {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html.low-perf .tarifs-grid-bg,
html.low-perf .pricing-custom-glow { display: none; }
html.low-perf .tarifs-spotlight { opacity: 0.5; }
html.low-perf .pricing-card-featured::before,
html.low-perf .pricing-custom::before { display: none; }
html.low-perf .pricing-card-featured { border-color: var(--gold); }
html.low-perf .pricing-custom { border-color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .pricing-card, .avis-card { transition: none !important; }
  .pricing-card:hover, .avis-card:hover { transform: none !important; }
}
