/* ============================================================
   ALBIA WEB — style.css — Apple-inspired
   Impeccable skills: OKLCH colors, spatial design, motion, interaction
   Accent: #e07820 (orange facture) — 0 bleu — neutrals tintés orange
   ============================================================ */

/* ── NEUMORPHIC PILL TOGGLE (Uiverse / ashif_6672) ──────────
   Intégré à la place du logo en haut à gauche.
   Couleur accent adaptée à notre orange #e07820.
   Note: le body{} de la source est retiré pour ne pas
   écraser la mise en page globale.
   ─────────────────────────────────────────────────────────── */
.uiverse-wrapper {
  --pill-width: 110px;
  --pill-height: 40px;
  --knob-size: 52px;
  --accent: #e07820;       /* orange Albia Web */

  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.pill-toggle {
  position: relative;
  display: inline-block;
  width: var(--pill-width);
  height: var(--pill-height);
  cursor: pointer;
}
.pill-toggle input { display: none; }

.track {
  width: 100%;
  height: 100%;
  background: #d0d0d0;
  border-radius: 999px;
  box-shadow:
    inset 0 2px 6px rgba(0,0,0,.15),
    inset 0 4px 12px rgba(0,0,0,.05),
    0 1px 0 rgba(255,255,255,.4);
  position: relative;
  transition: background 0.4s ease;
}

.pill {
  position: absolute;
  top: -8.8%;
  left: -5%;
  width: var(--knob-size);
  height: 110%;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(to bottom, #e6e6e6, #cfcfcf);
  box-shadow:
    0 1px 0 var(--accent),
    0 8px 15px rgba(0,0,0,.15),
    inset 0 1px 0 rgba(255,255,255,.6);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

.pill-surface {
  position: absolute;
  inset: 5%;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4f4f4 0%, #dedede 45%, #cfcfcf 100%);
  box-shadow:
    inset 0 -1px 2px rgba(0,0,0,.1),
    inset 0 1px 2px rgba(255,255,255,.8);
}

.pill-toggle:hover .pill {
  transform: translateY(-1px);
  box-shadow:
    0 4px 0 var(--accent),
    0 15px 25px rgba(0,0,0,.1),
    inset 0 1px 0 rgba(255,255,255,.6);
}

.pill-toggle input:active + .track .pill {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 var(--accent),
    0 2px 6px rgba(0,0,0,.15),
    inset 0 1px 0 rgba(255,255,255,.6);
  transition: all 0.1s ease;
}

.pill-toggle input:checked + .track .pill {
  left: calc(105% - var(--knob-size));
}

.pill-toggle input:checked + .track {
  background: #e4e4e4;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.1);
}

/* ── TOKENS OKLCH (Impeccable: use OKLCH, tinted neutrals) ── */
:root {
  /* Backgrounds — blanc apple, très léger tint orange sur les surfaces */
  --c-bg:        oklch(99% 0.005 50);   /* blanc pur légèrement chaud */
  --c-bg2:       oklch(97% 0.007 50);   /* section alternée */
  --c-surface:   oklch(95% 0.008 50);   /* cartes, panneaux */
  --c-surface2:  oklch(92% 0.010 50);   /* légèrement plus marqué */

  /* Textes */
  --c-text:      oklch(14% 0.008 50);   /* quasi-noir chaud (pas pur #000) */
  --c-text2:     oklch(40% 0.010 50);   /* secondaire */
  --c-muted:     oklch(58% 0.010 50);   /* labels, captions */

  /* Bordures */
  --c-border:    oklch(88% 0.010 50);
  --c-border2:   oklch(82% 0.012 50);

  /* Accent unique — ambre doux (moins flash que l'orange pur) */
  --c-orange:      oklch(58% 0.14 48);
  --c-orange-dark: oklch(50% 0.14 45);
  --c-orange-soft: oklch(92% 0.05 48);  /* bg très doux pour badges */

  /* Typographie — SF Pro feel = Inter */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Espacement 4pt base (Impeccable: spatial) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  /* Rayons */
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* Motion (Impeccable: ease-out-quart, pas de bounce) */
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --dur-micro: 120ms;
  --dur-ui:    240ms;
  --dur-enter: 500ms;

  --nav-h: 64px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
a { color: inherit; text-decoration: none; }
img { max-width:100%; display:block; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor:pointer; border:none; background:none; }
/* Impeccable: text-wrap balance on headings */
h1,h2,h3,h4 { text-wrap: balance; }
/* Impeccable: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms!important; transition-duration:.01ms!important; }
  html { scroll-behavior: auto; }
}
/* Impeccable: focus-visible, jamais outline:none sans remplacement */
:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.container { width:100%; max-width:1120px; margin:0 auto; padding:0 var(--sp-6); }

/* ── SCROLL REVEAL (IntersectionObserver, pas de scroll event) */
.reveal-up {
  opacity:0;
  transform: translateY(28px);
  transition: opacity var(--dur-enter) var(--ease),
              transform var(--dur-enter) var(--ease);
}
.reveal-up.is-visible { opacity:1; transform:translateY(0); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 13px 28px; border-radius: var(--r-pill);
  font-size: .9rem; font-weight: 600; letter-spacing: .01em;
  transition: background var(--dur-micro) var(--ease),
              transform var(--dur-ui) var(--ease),
              box-shadow var(--dur-ui) var(--ease);
  cursor: pointer; white-space: nowrap;
}
/* Primary: fond orange, texte blanc */
.btn--primary {
  background: var(--c-orange);
  color: #fff;
  box-shadow: 0 1px 3px oklch(58% 0.14 48 / .25),
              0 4px 12px oklch(58% 0.14 48 / .15);
  position: relative;
  overflow: hidden;
}
/* Shimmer : reflet de lumière glissant sur hover */
.btn--primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -70%;
  width: 45%; height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.28) 50%,
    transparent 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
}
.btn--primary:hover::after {
  animation: btn-shimmer 0.55s ease forwards;
}
@keyframes btn-shimmer {
  0%   { left: -70%; }
  100% { left: 130%; }
}
.btn--primary:hover {
  background: var(--c-orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px oklch(58% 0.14 48 / .40),
              0 10px 32px oklch(58% 0.14 48 / .25);
}
.btn--primary:active { transform: translateY(0) scale(.98); }

/* Ghost: fond surface, bordure légère */
.btn--ghost {
  background: var(--c-surface);
  color: var(--c-text2);
  border: 1px solid var(--c-border2);
}
.btn--ghost:hover {
  background: var(--c-surface2);
  color: var(--c-text);
  transform: translateY(-1px);
}

.btn--full { width:100%; justify-content:center; border-radius: var(--r-md); }

/* Logo nav */
.nav__logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
  /* mix-blend-mode: multiply rend le fond blanc transparent sur fond clair */
  mix-blend-mode: multiply;
  transition: opacity 0.35s var(--ease);
}
.nav.scrolled .nav__logo-img {
  /* Sur fond clair scrollé, la couleur naturelle du logo s'affiche */
  mix-blend-mode: multiply;
}

/* Nav CTA — supprimé du HTML, CSS conservé pour référence */

/* Spring easing — exactement comme le code source fourni */
:root {
  --spring-easing: linear(
    0, 0.0018, 0.0069 1.15%, 0.026 2.3%, 0.0637, 0.1135 5.18%,
    0.2229 7.78%, 0.5977 15.84%, 0.7014, 0.7904, 0.8641, 0.9228,
    0.9676 28.8%, 1.0032 31.68%, 1.0225, 1.0352 36.29%, 1.0431 38.88%,
    1.046 42.05%, 1.0448 44.35%, 1.0407 47.23%, 1.0118 61.63%,
    1.0025 69.41%, 0.9981 80.35%, 0.9992 99.94%
  );
}

/* ── PILL NAV centré (Glassmorphique) ───────────────────── */
.nav-container {
  position: relative;
  padding: 8px 20px;
  z-index: 10;
  display: flex;
  align-items: center;
}

.glass-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 99px;
  z-index: -1;
  box-shadow: 0 2px 16px oklch(14% 0.008 50 / .08);
}

.nav.scrolled .glass-bg {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.4);
}

.nav-links {
  display: flex;
  gap: 4px;
  position: relative;
  list-style: none;
  margin: 0; padding: 0;
  align-items: center;
}

.nav-item {
  padding: 8px 18px;
  font-size: .87rem;
  font-weight: 500;
  color: oklch(40% 0.010 50);
  border-radius: 99px;
  cursor: pointer;
  transition: color 140ms cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  z-index: 2;
  white-space: nowrap;
  user-select: none;
}
.nav-item:hover  { color: oklch(14% 0.008 50); }
.nav-item.selected { color: var(--c-orange); font-weight: 600; }

/* Pill glider : fond blanc qui glisse derrière l'item actif/survolé */
.nav-glider {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.07),
    0 1px 2px  rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Spring easing défini dans :root */
  transition:
    left  0.5s var(--spring-easing),
    width 0.5s var(--spring-easing);
  pointer-events: none;
  z-index: 1; /* En dessous des nav-item (z-index:2) */
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border: none;
  background: none;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--c-text); border-radius: 2px;
  transition: all var(--dur-ui) var(--ease);
}


.nav {
  position:fixed; top:0; left:0; right:0;
  height: var(--nav-h); z-index:100;
  transition: background var(--dur-ui) var(--ease), box-shadow var(--dur-ui) var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--c-border);
}
.nav__inner {
  display:flex; align-items:center; justify-content:space-between;
  max-width:1120px; margin:0 auto; padding:0 var(--sp-6); height:100%;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.7rem; letter-spacing: 1px;
  color: var(--c-text);
  display: flex; align-items: center;
}
.nav__logo span { color: var(--c-orange); }
.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav__logo-text span { color: var(--c-orange); }
.nav__links { display:flex; align-items:center; gap: var(--sp-6); }
.nav__link {
  font-size: .88rem; font-weight:500;
  color: var(--c-text2);
  transition: color var(--dur-micro) var(--ease);
}
.nav__link:hover { color: var(--c-text); }
.nav__burger { display:none; flex-direction:column; gap:5px; padding:8px; }
.nav__burger span {
  display:block; width:22px; height:2px;
  background: var(--c-text); border-radius:2px;
  transition: all var(--dur-ui) var(--ease);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position:relative; min-height:100vh;
  display:flex; align-items:center; justify-content:center;
  padding: calc(var(--nav-h) + 80px) var(--sp-6) var(--sp-9);
  overflow:hidden;
}
/* ── HERO — Fond blanc cassé original ──────────────────────── */
.hero__bg {
  position: absolute; inset: 0;
  background-color: oklch(97% 0.006 50);
  background-image: linear-gradient(160deg, oklch(97% 0.012 50) 0%, oklch(93% 0.018 50) 100%);
  background-size: cover;
  background-position: center;
}
/* Voile très léger en bas pour la lisibilité */
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.0)  0%,
    rgba(255,255,255,0.0)  60%,
    rgba(255,255,255,0.55) 100%
  );
  z-index: 1;
}
.hero__content {
  position:relative; z-index:2;
  max-width:820px; text-align:center;
}
.hero__badge {
  display:inline-flex; align-items:center; gap: var(--sp-2);
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--c-orange-soft);
  color: var(--c-orange-dark);
  font-size: .78rem; font-weight:700;
  letter-spacing: .09em; text-transform:uppercase;
  margin-bottom: var(--sp-6);
}
/* Textes hero — sombres sur fond clair */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 9vw, 7.5rem);
  line-height: 1.0; letter-spacing: 1.5px; text-transform:uppercase;
  color: var(--c-text);
  margin-bottom: var(--sp-5);
}
.hero__title--accent { color: var(--c-orange); }
.hero__subtitle {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--c-text2);
  max-width:560px; margin:0 auto var(--sp-7);
  line-height: 1.75; font-weight:400;
}

/* Tagline animée (remplace hero__badge) */
.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  font-weight: 500;
  margin-bottom: var(--sp-6);
}
.hero__tagline-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-orange);
  flex-shrink: 0;
  animation: tagline-pulse 2.6s ease-in-out infinite;
}
.hero__tagline-dot:last-child { animation-delay: 1.3s; }
@keyframes tagline-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.7); }
}

/* Bouton ghost — fond clair */
.hero .btn--ghost {
  background: var(--c-surface);
  color: var(--c-text2);
  border: 1px solid var(--c-border2);
}
.hero .btn--ghost:hover {
  background: var(--c-surface2);
  color: var(--c-text);
  transform: translateY(-2px);
}

/* Stats — couleurs normales */
.hero__stat-num   { color: var(--c-orange); }
.hero__stat-label { color: var(--c-muted); }
.hero__stat-divider { background: var(--c-border2); }
.hero__actions {
  display:flex; align-items:center; justify-content:center;
  gap: var(--sp-3); flex-wrap:wrap; margin-bottom: var(--sp-8);
}
/* Stats — ligne horizontale épurée */
.hero__stats {
  display:flex; align-items:center; justify-content:center;
  gap: var(--sp-7); flex-wrap:wrap;
}
.hero__stat { text-align:center; }
.hero__stat-num {
  display:block;
  font-family: var(--font-display); font-size:2rem; letter-spacing:1px;
  color: var(--c-orange);
}
.hero__stat-label {
  display:block; font-size:.75rem; color: var(--c-muted);
  text-transform:uppercase; letter-spacing:.07em; margin-top:2px;
}
.hero__stat-divider {
  width:1px; height:36px; background: var(--c-border2);
}
.hero__scroll {
  position:absolute; bottom: var(--sp-7); left:50%;
  transform:translateX(-50%); z-index:2;
  color: var(--c-muted); animation: bounceDown 2.4s var(--ease) infinite;
  transition: color var(--dur-micro) var(--ease);
}
.hero__scroll:hover { color: var(--c-orange); }
@keyframes bounceDown {
  0%,100% { transform:translateX(-50%) translateY(0); }
  50%      { transform:translateX(-50%) translateY(8px); }
}

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: var(--sp-9) 0; }
.section--alt { background: var(--c-bg2); }

.section__label {
  font-size:.77rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.11em; color: var(--c-orange); margin-bottom: var(--sp-4);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height:1.05; letter-spacing:1px; text-transform:uppercase;
  color: var(--c-text); margin-bottom: var(--sp-5);
  max-width:680px;
}
.section__desc {
  font-size:1.05rem; color: var(--c-text2);
  max-width:560px; line-height:1.75; margin-bottom: var(--sp-7);
}
.section__desc strong { color: var(--c-text); font-weight:600; }

/* ── PILLARS — pas de cartes imbriquées (Impeccable: spatial) */
.pillars {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: var(--sp-5);
}
.pillar {
  padding: var(--sp-7) var(--sp-6);
  background: var(--c-surface);
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  transition: transform var(--dur-ui) var(--ease),
              box-shadow var(--dur-ui) var(--ease);
}
.pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px oklch(14% 0.008 50 / .08);
}
.pillar__icon {
  width:48px; height:48px;
  display:flex; align-items:center; justify-content:center;
  border-radius: var(--r-md);
  background: var(--c-orange-soft);
  color: var(--c-orange); margin-bottom: var(--sp-5);
}
.pillar__title {
  font-family: var(--font-display); font-size:1.45rem;
  letter-spacing:.5px; margin-bottom: var(--sp-3); color: var(--c-text);
}
.pillar__text { color: var(--c-text2); font-size:.93rem; line-height:1.7; }

/* ── TABS — Glassmorphic indicator ───────────────────────── */
.tabs {
  display:inline-flex; align-items:center;
  padding:5px; border-radius: var(--r-pill);
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  margin-bottom: var(--sp-6); position:relative; overflow:hidden;
}
.tab {
  position:relative; z-index:2; padding:10px 26px;
  border-radius: var(--r-pill); font-size:.87rem; font-weight:600;
  color: var(--c-muted); transition: color var(--dur-ui) var(--ease);
  white-space:nowrap; cursor:pointer;
}
.tab.active { color: var(--c-text); }
.tab__indicator {
  position:absolute; top:5px; bottom:5px; z-index:1;
  border-radius: var(--r-pill);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  box-shadow: 0 1px 4px oklch(14% 0.008 50 / .08);
  transition: transform .34s var(--ease), width .34s var(--ease);
}
.tab-panels { width:100%; }
.tab-panel {
  padding: var(--sp-7);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  animation: fadeIn .38s var(--ease);
}
.tab-panel[hidden] { display:none; }
@keyframes fadeIn {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}
.tab-panel__grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap: var(--sp-8); align-items:center;
}
.tab-panel__info h3 {
  font-family: var(--font-display); font-size:2rem;
  letter-spacing:.5px; color: var(--c-orange); margin-bottom: var(--sp-4);
}
.tab-panel__info p { color: var(--c-text2); line-height:1.75; margin-bottom: var(--sp-5); }
.tab-panel__features { display:flex; flex-direction:column; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.tab-panel__features li {
  font-size:.91rem; color: var(--c-text2);
  display:flex; align-items:center; gap: var(--sp-3);
}
.tab-panel__features li::before {
  content:''; width:5px; height:5px; border-radius:50%;
  background: var(--c-orange); flex-shrink:0;
}

/* Mockup */
.mockup {
  background: var(--c-bg); border:1px solid var(--c-border);
  border-radius: var(--r-lg); overflow:hidden;
}
.mockup__bar {
  display:flex; gap:6px; padding:10px 14px;
  background: var(--c-surface2); border-bottom:1px solid var(--c-border);
}
.mockup__bar span {
  width:9px; height:9px; border-radius:50%; background: var(--c-border2);
}
.mockup__screen {
  padding: var(--sp-5); display:flex; flex-direction:column;
  gap: var(--sp-3); min-height:180px;
}
.mockup__line { height:9px; border-radius: var(--r-pill); background: var(--c-surface2); }
.mockup__line--wide  { width:78%; }
.mockup__line--medium{ width:52%; }
.mockup__line--short { width:32%; }
.mockup__block {
  height:70px; border-radius: var(--r-md);
  background: var(--c-orange-soft); border:1px solid var(--c-border);
}
.mockup__hero-block {
  height:90px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-orange-soft), var(--c-surface2));
}
.mockup__cta-btn {
  width:120px; height:32px; border-radius: var(--r-pill);
  background: var(--c-orange); opacity:.6;
}
.mockup__screen--refonte {
  flex-direction:row; align-items:center; justify-content:center; gap: var(--sp-4);
}
.mockup__before { flex:1; height:80px; border-radius: var(--r-md); background: var(--c-surface2); }
.mockup__after  { flex:1; height:80px; border-radius: var(--r-md); background: var(--c-orange-soft); }
.mockup__arrow  { font-size:1.3rem; color: var(--c-orange); }

/* ── PRICING ─────────────────────────────────────────────── */
.pricing-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap: var(--sp-5); margin-bottom: var(--sp-6);
}
.pricing-card {
  padding: var(--sp-7) var(--sp-6);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  display:flex; flex-direction:column; gap: var(--sp-4);
  transition: transform var(--dur-ui) var(--ease), box-shadow var(--dur-ui) var(--ease);
}
.pricing-card:hover { transform:translateY(-5px); box-shadow:0 8px 32px oklch(14% 0.008 50 / .08); }
.pricing-card--featured {
  border-color: var(--c-orange);
  background: oklch(98% 0.015 50);
}
.pricing-card__badge {
  font-size:.72rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.1em; color: var(--c-muted);
}
.pricing-card--featured .pricing-card__badge { color: var(--c-orange); }
.pricing-card__price { display:flex; align-items:baseline; gap: var(--sp-2); }
.pricing-card__amount {
  font-family: var(--font-display); font-size:3.2rem;
  line-height:1; letter-spacing:1px; color: var(--c-text);
}
.pricing-card--featured .pricing-card__amount { color: var(--c-orange); }
.pricing-card__unit { font-size:.85rem; color: var(--c-muted); }
.pricing-card__desc { font-size:.9rem; color: var(--c-text2); line-height:1.6; }
.pricing-card__list { display:flex; flex-direction:column; gap: var(--sp-3); flex:1; }
.pricing-card__list li {
  font-size:.88rem; color: var(--c-text2);
  display:flex; align-items:flex-start; gap: var(--sp-3); line-height:1.5;
}
.pricing-card__list li::before {
  content:''; margin-top:7px; width:5px; height:5px;
  border-radius:50%; background: var(--c-orange); flex-shrink:0;
}
.pricing-note {
  text-align:center; font-size:.87rem; color: var(--c-muted);
  max-width:580px; margin:0 auto; line-height:1.7;
}
.pricing-note strong { color: var(--c-text); }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-form {
  max-width:700px; margin:0 auto;
  padding: var(--sp-8) var(--sp-7);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  display:flex; flex-direction:column; gap: var(--sp-5);
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap: var(--sp-5); }
.form-group { display:flex; flex-direction:column; gap: var(--sp-2); }
.form-label {
  font-size:.78rem; font-weight:700; color: var(--c-muted);
  text-transform:uppercase; letter-spacing:.06em;
}
.form-input {
  padding:13px 16px; border-radius: var(--r-md);
  border:1px solid var(--c-border2);
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body); font-size:.95rem;
  transition: border-color var(--dur-ui) var(--ease),
              box-shadow var(--dur-ui) var(--ease);
  appearance: none;
}
.form-input::placeholder { color: var(--c-muted); opacity:.5; }
.form-input:focus {
  outline:none;
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px oklch(65% 0.12 50 / .15);
}
.form-input option { background: var(--c-bg); color: var(--c-text); }
.form-textarea { resize:vertical; min-height:120px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  padding: var(--sp-8) 0 var(--sp-6);
  border-top:1px solid var(--c-border);
}
.footer__grid {
  display:grid; grid-template-columns:2fr 1fr 1fr;
  gap: var(--sp-8); margin-bottom: var(--sp-7);
}
.footer__brand p {
  font-size:.9rem; color: var(--c-text2); margin-top: var(--sp-4);
  line-height:1.7; max-width:300px;
}
.footer__nav, .footer__contact { display:flex; flex-direction:column; gap: var(--sp-3); }
.footer__nav h4, .footer__contact h4 {
  font-family: var(--font-display); font-size:1rem;
  letter-spacing:.5px; color: var(--c-text); margin-bottom: var(--sp-1);
}
.footer__nav a, .footer__contact a, .footer__contact p {
  font-size:.88rem; color: var(--c-text2);
  transition: color var(--dur-micro) var(--ease);
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--c-orange); }
.footer__bottom {
  display:flex; justify-content:space-between; align-items:center;
  padding-top: var(--sp-5); border-top:1px solid var(--c-border);
  font-size:.8rem; color: var(--c-muted);
}
.footer__bottom a:hover { color: var(--c-orange); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width:900px) {
  .tab-panel__grid { grid-template-columns:1fr; }
  .tab-panel__visual { display:none; }
  .pricing-grid { grid-template-columns:1fr; max-width:420px; margin-inline:auto; }
  .footer__grid { grid-template-columns:1fr; gap: var(--sp-6); }
}
@media (max-width:768px) {
  .nav__links { display:none; }
  .nav__links.open {
    display:flex; flex-direction:column;
    position:fixed; top: var(--nav-h); left:0; right:0; bottom:0;
    background: rgba(255,255,255,.96);
    backdrop-filter:blur(20px) saturate(180%);
    padding: var(--sp-7) var(--sp-6);
    gap: var(--sp-5); align-items:flex-start; z-index:99;
  }
  .nav__links.open .nav__link { font-size:1.4rem; color: var(--c-text); }
  .nav__burger { display:flex; }
  .pillars { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .contact-form { padding: var(--sp-6) var(--sp-5); }
  .tabs { flex-wrap:wrap; border-radius: var(--r-lg); }
  .tab { flex:1; text-align:center; }
  .tab-panel { padding: var(--sp-6) var(--sp-5); }
  .section { padding: var(--sp-8) 0; }
}
@media (max-width:480px) {
  .hero__actions { flex-direction:column; align-items:stretch; }
  .hero__actions .btn { justify-content:center; }
  .hero__stats { gap: var(--sp-5); }
  .footer__bottom { flex-direction:column; gap: var(--sp-3); text-align:center; }
}

/* ============================================================
   RÈGLES RESPONSIVE / MOBILE-FIRST STRICTES (Mise à jour)
   ============================================================ */

/* Sécurité globale : empêche tout défilement horizontal sans casser 'position: sticky' */
html, body {
  overflow-x: clip;
  max-width: 100%;
}

img, svg, video, iframe, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── TABLETTES ET PETITS ÉCRANS (< 768px) ── */
@media (max-width: 768px) {
  
  /* Conteneurs avec ~20px de marge latérale */
  .container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Typographie : tailles réduites et interlignage aéré (1.4 min) */
  .hero__title, 
  .section__title {
    font-size: clamp(2.2rem, 7vw, 3rem);
    line-height: 1.3;
    word-break: break-word;
  }

  .hero__subtitle,
  .section__desc {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Structure des Offres et Grilles : Forcer la colonne unique */
  /* (Couvre la grille de tarifs, les anciens blocs d'offres, formulaires, etc.) */
  .of-grid,
  .tabs-container,
  .tab-panel__inner,
  .pricing-grid,
  .form-row,
  .footer__grid,
  .pillars {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  /* Sécurité Anti-Pin GSAP sur mobile pour la section 'Notre Approche' */
  .ss-left__inner {
    position: relative !important;
    transform: none !important;
    height: auto !important;
    top: auto !important;
    left: auto !important;
  }
  .pin-spacer {
    display: contents !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Ajustement de l'espacement global pour mobile */
  .section {
    padding: 60px 0;
  }
}

/* ── SMARTPHONES (< 480px) ── */
@media (max-width: 480px) {

  /* Polices encore plus adaptées pour ne pas saturer l'écran */
  .hero__title, 
  .section__title {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
    line-height: 1.3;
  }

  /* Les boutons prennent toute la largeur sur mobile pour faciliter le clic (pouce) */
  .btn {
    width: 100%;
    justify-content: center;
    padding: 18px 24px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  /* Espacement réduit sur les cartes pour garder de la place */
  .pricing-card,
  .tab-panel,
  .pillar {
    padding: 24px 20px;
  }
}

/* ============================================================
   MODAL MENTIONS LÉGALES (CSS :target)
   ============================================================ */
.modal-mentions {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-mentions:target {
  opacity: 1;
  pointer-events: auto;
}

.modal-mentions__content {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 16px;
  max-width: 700px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  color: #ddd;
}

.modal-mentions:target .modal-mentions__content {
  transform: translateY(0);
}

.modal-mentions__close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  text-decoration: none;
  font-size: 32px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.modal-mentions__close:hover {
  opacity: 1;
}

.modal-mentions h2 {
  font-family: var(--c-font-display);
  color: #fff;
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.modal-mentions p, .modal-mentions li {
  font-family: var(--c-font-text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.8);
}
