/* ==========================================================================
   KEEPNGO - STYLES PRINCIPAUX
   Charte FinTech / Assurance : Vert Émeraude, Anthracite & Or Ultime
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  /* Dark FinTech Theme (Default) */
  /* Palette alignée sur l'app : fond anthracite #111413, cartes #191D1B, vert #68D9A8 */
  --bg-primary: #111413;
  --bg-secondary: #191D1B;
  --bg-tertiary: #222725;
  --bg-card: #191D1B;
  --bg-card-hover: #1F2421;
  --bg-capsule: rgba(34, 39, 37, 0.85);
  
  --text-primary: #E8ECEA;
  --text-secondary: #A3ACA8;
  --text-muted: #7A8480;
  --text-inverse: #111413;
  
  --brand-rgb: 104, 217, 168;
  --brand-dark-rgb: 12, 91, 66;
  --brand-primary: #68D9A8;
  --brand-primary-hover: #4FC394;
  --brand-primary-end: #3BAE80;
  --on-brand: #00382A;
  --brand-mint: #68D9A8;
  --brand-emerald-dark: #0C5B42;
  --brand-emerald-glow: rgba(104, 217, 168, 0.25);
  
  --gold-primary: #FFD54F;
  --gold-secondary: #D97706;
  --gold-glow: rgba(255, 213, 79, 0.2);
  
  --danger: #FFB4AB;
  --danger-bg: rgba(239, 68, 68, 0.15);
  
  --border-subtle: #2F3532;
  --border-hover: #46504B;
  --border-active: #68D9A8;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 50px -10px rgba(104, 217, 168, 0.3);
  --shadow-gold: 0 0 50px -10px rgba(255, 213, 79, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light FinTech Theme */
[data-theme="light"] {
  --bg-primary: #F8F9FA;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F0F2F1;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8F9FA;
  --bg-capsule: rgba(240, 242, 241, 0.9);
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;
  
  --brand-rgb: 12, 91, 66;
  --brand-dark-rgb: 12, 91, 66;
  --brand-primary: #0C5B42;
  --brand-primary-hover: #094A35;
  --brand-primary-end: #0A4D38;
  --on-brand: #FFFFFF;
  --brand-mint: #0C6B4D;
  --brand-emerald-dark: #E6F2EC;
  --brand-emerald-glow: rgba(12, 91, 66, 0.15);
  
  --gold-primary: #B8860B;
  --gold-secondary: #8B6508;
  --gold-glow: rgba(184, 134, 11, 0.15);
  
  --danger: #BA1A1A;
  --danger-bg: rgba(220, 38, 38, 0.1);
  
  --border-subtle: #E2E8F0;
  --border-hover: #CBD5E1;
  --border-active: #0C5B42;
  
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 40px -10px rgba(12, 91, 66, 0.18);
  --shadow-gold: 0 0 40px -10px rgba(217, 119, 6, 0.15);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

input, select {
  font-family: inherit;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(var(--brand-rgb), 0.12);
  border: 1px solid rgba(var(--brand-rgb), 0.3);
  border-radius: var(--radius-full);
  color: var(--brand-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(17, 20, 19, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--brand-emerald-glow);
}

.brand-logo-name {
  background: linear-gradient(135deg, #FFFFFF 0%, #A7F3D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .brand-logo-name {
  background: linear-gradient(135deg, #0F172A 0%, var(--brand-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  color: var(--brand-mint);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-tertiary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-end) 100%);
  color: var(--on-brand);
  box-shadow: 0 4px 18px var(--brand-emerald-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--brand-rgb), 0.4);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  color: #000000;
  box-shadow: 0 4px 18px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 213, 79, 0.4);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--brand-rgb), 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

[data-theme="light"] .hero-bg-glow {
  background: radial-gradient(circle, rgba(5, 150, 105, 0.12) 0%, rgba(248, 250, 252, 0) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 64px;
}

.hero-content {
  max-width: 640px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(33, 38, 45, 0.75);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-mint);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

[data-theme="light"] .hero-pill {
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-primary);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-mint);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title-highlight {
  background: linear-gradient(135deg, var(--brand-mint) 0%, #34D08A 60%, var(--brand-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-guarantees {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.hero-guarantee-item svg {
  color: var(--brand-primary);
}

/* ==========================================================================
   PHONE MOCKUP 3D INTERACTIF
   ========================================================================== */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.phone-wrapper {
  position: relative;
  width: 345px;
  height: 660px;
  background: #000000;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 
    0 0 0 2px #383e47,
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 60px -10px var(--brand-emerald-glow);
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform var(--transition-smooth);
}

.phone-wrapper:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-6px);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Phone Status Bar & Dynamic Island */
.phone-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 10;
}

.phone-notch {
  width: 80px;
  height: 20px;
  background: #000000;
  border-radius: 12px;
  margin: 0 auto;
}

/* Phone App Bar */
.phone-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
}

.phone-app-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.1rem;
}

.phone-app-title img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.phone-app-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 0.8rem;
}

/* Segmented Capsule Search Bar (v0.7) */
.phone-capsule-search {
  margin: 8px 16px;
  background: var(--bg-capsule);
  border: 1px solid var(--border-subtle);
  border-radius: 26px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.capsule-tag-chip {
  background: rgba(var(--brand-rgb), 0.2);
  color: var(--brand-mint);
  padding: 3px 10px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.capsule-input-mock {
  color: var(--text-muted);
  flex: 1;
}

/* Phone Tabs (Tout / Abonnements / Biens) */
.phone-tabs {
  display: flex;
  margin: 6px 16px;
  background: var(--bg-tertiary);
  border-radius: 12px;
  padding: 3px;
}

.phone-tab {
  flex: 1;
  text-align: center;
  padding: 6px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 9px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.phone-tab.active {
  background: var(--bg-card);
  color: var(--brand-mint);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Phone Stats Card (Fidèle à l'application KeepnGo v0.7) */
.phone-stats-card {
  margin: 6px 14px 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.12) 0%, rgba(var(--brand-dark-rgb), 0.22) 100%);
  border: 1px solid rgba(var(--brand-rgb), 0.25);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stats-metric-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stats-metric-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.stats-metric-icon {
  font-size: 0.75rem;
}

.stats-metric-val-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stats-amount {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-main);
  letter-spacing: -0.02em;
}

.stats-toggle-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(var(--brand-rgb), 0.2);
  color: var(--brand-mint);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  user-select: none;
  transition: background var(--transition-fast);
}

.stats-toggle-pill:hover {
  background: rgba(var(--brand-rgb), 0.35);
}

.stats-col-divider {
  width: 1px;
  height: 34px;
  background: var(--border-subtle);
  margin: 0 4px;
}

.stats-eye-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.stats-eye-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

/* Jauge de répartition par catégorie (comme sur la photo 2) */
.stats-segmented-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  display: flex;
  overflow: hidden;
}

.bar-segment {
  height: 100%;
}

.seg-streaming {
  background: #EF4444; /* Rouge Divertissement */
}

.seg-tech {
  background: #3B82F6; /* Bleu Électroménager / Tech */
}

.seg-sport {
  background: #10B981; /* Vert Vago / Sport */
}

.stats-bar-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.58rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dot-red { background: #EF4444; }
.dot-blue { background: #3B82F6; }
.dot-green { background: #10B981; }

/* Phone Items List */
.phone-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.phone-item-card:hover {
  border-color: var(--brand-primary);
  transform: scale(1.02);
}

.phone-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-item-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.phone-item-info h4 {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.phone-item-info p {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.phone-item-right {
  text-align: right;
}

.phone-item-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-primary);
}

.phone-item-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(var(--brand-rgb), 0.15);
  color: var(--brand-mint);
}

.badge-urgent {
  background: rgba(248, 113, 113, 0.2);
  color: var(--danger);
}

/* Floating Badges on Hero Phone */
.floating-badge {
  position: absolute;
  padding: 10px 16px;
  background: rgba(22, 27, 34, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 20;
  pointer-events: none;
}

[data-theme="light"] .floating-badge {
  background: rgba(255, 255, 255, 0.92);
}

.badge-1 {
  top: 15%;
  left: -45px;
  border-color: rgba(var(--brand-rgb), 0.4);
}

.badge-2 {
  bottom: 25%;
  right: -50px;
  border-color: rgba(255, 213, 79, 0.4);
}

.badge-3 {
  bottom: 8%;
  left: -35px;
  border-color: rgba(52, 208, 138, 0.4);
}

/* ==========================================================================
   STATS TICKER BAR
   ========================================================================== */

.stats-ticker-section {
  padding: 36px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  position: relative;
  z-index: 10;
}

.stats-ticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.ticker-item {
  padding: 20px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.ticker-item:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
}

.ticker-highlight {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--brand-mint);
  line-height: 1.3;
}

.ticker-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================================================
   BENTO GRID FEATURES
   ========================================================================== */

.features-section {
  padding: 100px 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bento-col-2 {
  grid-column: span 2;
}

.bento-card-header {
  margin-bottom: 24px;
}

.bento-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-icon-gold {
  background: rgba(255, 213, 79, 0.12);
  color: var(--gold-primary);
}

.bento-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.bento-description {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-preview {
  margin-top: 24px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

/* Interactive Timeline Component in Bento */
.timeline-track {
  position: relative;
  padding-left: 28px;
  margin-top: 10px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  width: 2px;
  background: var(--brand-primary);
}

.timeline-step {
  position: relative;
  margin-bottom: 16px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 8px var(--brand-emerald-glow);
}

.timeline-step-title {
  font-size: 0.85rem;
  font-weight: 700;
}

.timeline-step-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Perspective Crop Simulation */
.crop-frame-mock {
  position: relative;
  height: 160px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crop-frame-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.crop-corner-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--brand-mint);
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 10px var(--brand-mint);
}

.pin-tl { top: 20px; left: 25px; }
.pin-tr { top: 15px; right: 30px; }
.pin-bl { bottom: 25px; left: 35px; }
.pin-br { bottom: 20px; right: 20px; }

/* Legal Letter Snippet */
.letter-mock {
  background: #FFFFFF;
  color: #1E293B;
  padding: 18px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  box-shadow: var(--shadow-sm);
  line-height: 1.5;
}

.letter-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px dashed #CBD5E1;
  padding-bottom: 8px;
  font-weight: 700;
  color: var(--brand-primary);
}

/* ==========================================================================
   SIMULATEUR D'ÉCONOMIES INTERACTIF
   ========================================================================== */

.simulator-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.simulator-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.simulator-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-label {
  font-weight: 700;
  font-size: 1rem;
}

.slider-val-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--bg-tertiary);
  color: var(--brand-mint);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.range-input {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-tertiary);
  outline: none;
  cursor: pointer;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--brand-mint);
  border: 2px solid #FFFFFF;
  transition: transform var(--transition-fast);
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--brand-mint);
  border: 2px solid #FFFFFF;
}

.simulator-results {
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.08) 0%, rgba(var(--brand-dark-rgb), 0.15) 100%);
  border: 1px solid rgba(var(--brand-rgb), 0.3);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.result-card-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.result-main-value {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--brand-mint);
  line-height: 1.1;
  margin-bottom: 12px;
}

.result-sub-detail {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.result-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
  border-top: 1px solid rgba(var(--brand-rgb), 0.2);
  padding-top: 24px;
  margin-bottom: 28px;
}

.metric-item h5 {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.metric-item p {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

/* Calculateur de budget réel */
.calc-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-mint);
  cursor: pointer;
  margin-bottom: 14px;
  transition: all var(--transition-fast);
}

.calc-toggle-btn:hover {
  background: rgba(var(--brand-rgb), 0.2);
}

.calc-dual-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.calc-metric-box {
  background: var(--bg-card);
  border: 1px solid rgba(var(--brand-rgb), 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
}

.calc-metric-box h4 {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.calc-metric-box .val {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   OFFRES & TARIFS (PRICING)
   ========================================================================== */

.pricing-section {
  padding: 100px 0;
}

.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 56px;
}

.billing-switch {
  position: relative;
  width: 56px;
  height: 30px;
  background: var(--bg-tertiary);
  border-radius: 15px;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
}

.billing-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 22px;
  height: 22px;
  background: var(--brand-primary);
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.billing-switch.yearly::after {
  transform: translateX(24px);
  background: var(--gold-primary);
}

.pricing-badge-save {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 213, 79, 0.15);
  color: var(--gold-primary);
  font-weight: 700;
  border: 1px solid rgba(255, 213, 79, 0.3);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
}

.pricing-card-featured {
  border-color: rgba(255, 213, 79, 0.5);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(180deg, rgba(255, 213, 79, 0.04) 0%, var(--bg-card) 40%);
}

.pricing-featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  color: #000000;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 44px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-mono);
  line-height: 1;
}

.plan-frequency {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
}

.feature-check {
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-card-featured .feature-check {
  color: var(--gold-primary);
}

/* ==========================================================================
   SÉCURITÉ & DONNÉES PRIVÉES (DEEP-DIVE)
   ========================================================================== */

.security-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
}

.security-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.security-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.security-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-section {
  padding: 100px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
}

.faq-icon {
  color: var(--text-secondary);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--brand-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 22px;
}

/* ==========================================================================
   CTA FINALE & FOOTER
   ========================================================================== */

.cta-final-section {
  padding: 100px 0;
  position: relative;
}

.cta-card {
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.15) 0%, rgba(var(--brand-dark-rgb), 0.3) 100%);
  border: 1px solid rgba(var(--brand-rgb), 0.4);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-card p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  background: var(--bg-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-cta-group, .hero-guarantees {
    justify-content: center;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-col-2 {
    grid-column: span 1;
  }

  .simulator-container {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .stats-ticker-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .stats-ticker-grid {
    grid-template-columns: 1fr;
  }

  .simulator-container {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .floating-badge {
    display: none;
  }
}

/* ==========================================================================
   PAGE EXPÉRIENCE : ÉCRAN DE VERROUILLAGE & NOTIFICATIONS INTERACTIVES
   ========================================================================== */

.experience-section {
  padding: 60px 0 100px;
  position: relative;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: 56px;
}

.scenarios-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  text-align: left;
}

.scenario-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.scenario-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.badge-sub {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-item {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.scenario-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.scenario-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Écran de verrouillage dans le téléphone */
.phone-lockscreen {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0D1117 0%, #161B22 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 14px 28px;
  z-index: 40;
}

.lockscreen-header {
  text-align: center;
  margin-top: 36px;
}

.lockscreen-clock {
  font-size: 3.6rem;
  font-weight: 800;
  font-family: var(--font-main);
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.lockscreen-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: capitalize;
}

/* Pile de notifications sur l'écran */
.lockscreen-notifs-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  flex: 1;
}

.notif-card {
  background: rgba(22, 27, 34, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.notif-card:hover {
  transform: scale(1.02);
  border-color: var(--brand-mint);
}

.notif-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notif-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-mint);
}

.notif-brand img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.notif-time {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.notif-body h4 {
  font-size: 0.86rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 3px;
  line-height: 1.3;
}

.notif-body p {
  font-size: 0.74rem;
  color: #CBD5E1;
  line-height: 1.45;
}

.notif-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.notif-btn-pill {
  flex: 1;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.notif-btn-pill:hover {
  background: rgba(var(--brand-rgb), 0.35);
  border-color: var(--brand-mint);
}

.notif-btn-pill-primary {
  background: rgba(var(--brand-rgb), 0.25);
  color: var(--brand-mint);
  border-color: rgba(var(--brand-rgb), 0.4);
}

.lockscreen-bottom-hint {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.phone-toast {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: rgba(15, 23, 42, 0.95);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 120;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.phone-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1024px) {
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   UTILITAIRES & COMPOSANTS (ex-styles inline)
   ========================================================================== */
.nav-link-accent { color: var(--brand-mint); font-weight: 600; }
.icon-brand { color: var(--brand-mint); }
.icon-gold { color: var(--gold-primary); }
.w-full { width: 100%; }
.mb-8 { margin-bottom: 8px; }
.mb-24 { margin-bottom: 24px; }
.m-0 { margin: 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold-primary); font-weight: 700; }
.text-gold-plain { color: var(--gold-primary); }
.chip {
  font-size: 0.75rem; font-weight: 700; color: var(--brand-mint);
  background: rgba(var(--brand-rgb), 0.15); padding: 3px 10px; border-radius: 12px;
}
.chip-sm { padding: 2px 8px; border-radius: 6px; }
.overline { font-size: 0.8rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; color: var(--text-muted); }

.phone-detail-sheet {
  display: none; position: absolute; inset: 0; background: var(--bg-primary); z-index: 50;
  flex-direction: column; padding: 20px 16px; overflow-y: auto;
}
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.sheet-close { font-size: 1.1rem; color: var(--text-secondary); min-width: 32px; min-height: 32px; }
.sheet-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.sheet-price { font-size: 1.1rem; font-weight: 800; color: var(--brand-primary); margin-bottom: 20px; }

.bento-actions { margin-top: 14px; }
.bento-col-full { grid-column: 1 / -1; }
.preview-head {
  font-size: 0.85rem; font-weight: 700; color: var(--brand-mint); margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.dot-gold { background: var(--gold-primary); }
.caption { font-size: 0.72rem; color: var(--text-muted); text-align: center; margin-top: 8px; }
.preview-emoji { font-size: 1.6rem; margin-bottom: 8px; }
.preview-strong { font-weight: 700; font-size: 0.85rem; color: var(--text-primary); }
.preview-note { font-size: 0.75rem; color: var(--text-secondary); margin-top: 4px; }
.auth-row { display: flex; align-items: center; justify-content: space-around; }
.auth-item { text-align: center; }
.auth-item span { font-size: 1.4rem; }
.auth-item div { font-size: 0.75rem; font-weight: 700; margin-top: 4px; }
.divider-v { height: 30px; width: 1px; background: var(--border-subtle); }
.feature-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.feature-chips li {
  font-size: 0.85rem; font-weight: 600; padding: 8px 14px; border-radius: var(--radius-full);
  background: var(--bg-tertiary); border: 1px solid var(--border-subtle); color: var(--text-primary);
}

.slider-hint { font-size: 0.75rem; color: var(--text-muted); }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px; }
.calc-split { margin-bottom: 18px; }
.result-metrics-tight { margin-top: 0; padding-top: 18px; }
.calc-note { font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 18px; line-height: 1.4; }

.toggle-label { font-weight: 700; font-size: 0.95rem; }
.billing-switch:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.pricing-footnote { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 28px; }
.btn-disabled { opacity: 0.6; cursor: default; pointer-events: none; }
.faq-answer a, .legal-page a { color: var(--brand-mint); text-decoration: underline; }
.footer-meta { display: flex; gap: 16px; }

/* Démo (experience.html) : cartes d'action lisibles dans les deux thèmes */
.demo-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 14px; text-align: left; }
.demo-card-title { font-weight: 800; font-size: 0.85rem; color: var(--text-primary); margin-bottom: 4px; }

/* Pages juridiques */
.legal-page { padding: 140px 0 80px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.legal-page h2 { font-size: 1.2rem; font-weight: 700; margin: 32px 0 10px; }
.legal-page p, .legal-page li { color: var(--text-secondary); margin-bottom: 10px; }
.legal-page ul { padding-left: 20px; }
.legal-updated { font-size: 0.85rem; color: var(--text-muted); }
.todo { background: var(--gold-glow); color: var(--gold-primary); padding: 0 4px; border-radius: 4px; }

/* Header : évite le chevauchement logo / navigation sur les écrans moyens */
.nav-link { white-space: nowrap; }
@media (max-width: 1200px) {
  .brand-badge { display: none; }
}

/* ==========================================================================
   ICÔNES TRAIT (remplacent les emojis)
   ========================================================================== */
.ico { width: 1.1em; height: 1.1em; flex-shrink: 0; display: inline-block; vertical-align: -0.18em; }
.ico-lg { width: 26px; height: 26px; }
.ticker-highlight { display: inline-flex; align-items: center; gap: 10px; }
.slider-label { display: inline-flex; align-items: center; gap: 8px; }
.slider-label .ico, .calc-metric-box h4 .ico, .feature-chips .ico { color: var(--brand-mint); }
.feature-chips li { display: inline-flex; align-items: center; gap: 8px; }
.caption { display: flex; align-items: center; justify-content: center; gap: 6px; }
.preview-icons { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--brand-mint); margin-bottom: 10px; }
.preview-icons .ico:nth-child(2) { color: var(--text-muted); }
.auth-item .ico { color: var(--brand-mint); margin: 0 auto; }

/* Prix : police principale, chiffres alignés */
.plan-price { font-family: var(--font-main); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }

/* ==========================================================================
   COMMENT ÇA MARCHE
   ========================================================================== */
.steps-section { padding: 100px 0; }
.steps-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.step-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 28px;
}
.step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; color: var(--brand-mint); }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(var(--brand-rgb), 0.15); color: var(--brand-mint); font-weight: 800;
}
.step-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.step-card p { color: var(--text-secondary); font-size: 0.95rem; }
@media (max-width: 768px) {
  .steps-section { padding: 64px 0; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   NAVIGATION : menu burger dès 1180px (la nav complète ne tient pas en dessous)
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-container { position: relative; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 16px; right: 16px; margin-top: 8px;
    padding: 8px; background: var(--bg-secondary); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  }
  .nav-links.mobile-open .nav-link { display: block; padding: 12px 14px; border-radius: var(--radius-sm); }
  .nav-links.mobile-open .nav-link::after { display: none; }
  .nav-links.mobile-open .nav-link:hover { background: var(--bg-tertiary); }
}

/* ==========================================================================
   RYTHME DES SECTIONS : alternance fond principal / fond secondaire
   ========================================================================== */
.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
/* La sécurité suit désormais le comparatif (fond principal) : on garde son fond alterné. */
.pricing-section { background: var(--bg-primary); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Hero : argument du coût cumulé */
.hero-cumul {
  display: flex; align-items: center; gap: 14px; max-width: 560px;
  padding: 14px 18px; margin: -12px 0 32px;
  background: rgba(var(--brand-rgb), 0.08); border: 1px solid rgba(var(--brand-rgb), 0.25);
  border-radius: var(--radius-md); color: var(--brand-mint);
}
.hero-cumul p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; }
.hero-cumul strong { color: var(--text-primary); }

/* Pour qui ? */
.audience-section, .compare-section, .about-section { padding: 100px 0; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audience-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 28px;
}
.audience-card .bento-icon { margin-bottom: 18px; }
.audience-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.audience-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* Comparatif */
.compare-wrap {
  max-width: 900px; margin: 0 auto; overflow-x: auto;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-card);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border-subtle); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: 0.85rem; font-weight: 800; color: var(--text-secondary); }
.compare-table thead .cmp-us { color: var(--brand-mint); }
.compare-table tbody th { font-weight: 600; font-size: 0.92rem; color: var(--text-primary); }
.compare-table td { font-size: 0.85rem; white-space: nowrap; }
.compare-table td span { margin-left: 6px; }
.compare-table td:nth-child(2) { background: rgba(var(--brand-rgb), 0.06); }
.cmp-yes { color: var(--brand-mint); font-weight: 700; }
.cmp-no { color: var(--text-muted); }
.cmp-part { color: var(--gold-primary); }

/* Qui est derrière KeepnGo */
.about-card {
  max-width: 860px; margin: 0 auto; display: flex; gap: 28px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); padding: 36px;
}
.about-avatar {
  flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800; color: var(--on-brand);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-end));
}
.about-card .section-tag { margin-bottom: 10px; }
.about-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 14px; }
.about-card p { color: var(--text-secondary); margin-bottom: 12px; }
.about-sign { font-weight: 700; color: var(--text-primary) !important; }
.about-sign a { color: var(--brand-mint); }

/* Badges de confiance (forfaits) */
.trust-badges {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 40px;
}
.trust-badges li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600; color: var(--text-secondary);
}
.trust-badges .ico { color: var(--brand-mint); }

@media (max-width: 768px) {
  .audience-section, .compare-section, .about-section { padding: 64px 0; }
  .audience-grid { grid-template-columns: 1fr; }
  .about-card { flex-direction: column; padding: 24px; }
  .hero-cumul { margin-top: -16px; }
}

/* ==========================================================================
   GUIDE SEO
   ========================================================================== */
.guide-page .section-tag { margin-bottom: 14px; }
.guide-page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.2; }
.guide-page h2 { scroll-margin-top: 90px; }
.guide-toc {
  margin: 28px 0 8px; padding: 18px 22px; border-radius: var(--radius-md);
  background: var(--bg-secondary); border: 1px solid var(--border-subtle);
}
.guide-toc ol { margin-top: 8px; padding-left: 20px; }
.guide-toc li { margin-bottom: 4px; }
.guide-tip {
  padding: 14px 18px; border-left: 3px solid var(--brand-primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(var(--brand-rgb), 0.08);
}
.letter-template {
  margin: 16px 0; padding: 24px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}
.letter-template p { color: var(--text-primary); }
.letter-right { text-align: right; }
.guide-cta {
  margin: 48px 0 24px; padding: 32px; text-align: center; border-radius: var(--radius-lg);
  background: rgba(var(--brand-rgb), 0.08); border: 1px solid rgba(var(--brand-rgb), 0.25);
}
.guide-cta h2 { margin-top: 0; }
.guide-cta .btn { margin-top: 8px; text-decoration: none; color: var(--on-brand); }
.guide-disclaimer { font-size: 0.82rem; color: var(--text-muted) !important; }

/* ==========================================================================
   LE JOUR DU SINISTRE
   ========================================================================== */
.claim-section {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(var(--brand-rgb), 0.07) 0%, rgba(var(--brand-rgb), 0) 100%);
}
.claim-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.claim-content .section-title { text-align: left; }
.claim-lead { color: var(--text-secondary); font-size: 1.05rem; margin: 12px 0 28px; }
.claim-steps { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.claim-steps li { display: flex; gap: 16px; align-items: flex-start; }
.claim-steps strong { display: block; font-size: 1rem; }
.claim-steps p { color: var(--text-secondary); font-size: 0.92rem; }
.claim-step-ico {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--brand-rgb), 0.15); color: var(--brand-mint);
}
.claim-tip {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
  border-radius: var(--radius-md); background: var(--gold-glow); color: var(--gold-primary);
  border: 1px solid rgba(184, 134, 11, 0.3);
}
.claim-tip p { color: var(--text-secondary); font-size: 0.92rem; }
.claim-tip strong { color: var(--text-primary); }
.claim-tip a { color: var(--brand-mint); text-decoration: underline; }

/* Aperçu du PDF (feuille A4 stylisée, toujours claire comme un vrai document) */
.pdf-sheet {
  max-width: 380px; margin: 0 auto; aspect-ratio: 1 / 1.3; padding: 24px;
  background: #FFFFFF; color: #1A1F1D; border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.06);
  display: flex; flex-direction: column; transform: rotate(-1.5deg);
}
.pdf-head {
  display: flex; justify-content: space-between; font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; color: #0C5B42;
  padding-bottom: 10px; border-bottom: 2px solid #0C5B42;
}
.pdf-title { font-size: 1.05rem; font-weight: 800; margin: 14px 0 10px; }
.pdf-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.72rem; padding: 5px 0; border-bottom: 1px solid #E6E9E8; }
.pdf-rows dt { color: #5B6561; }
.pdf-rows dd { font-weight: 700; text-align: right; }
.pdf-label { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #5B6561; margin: 14px 0 8px; }
.pdf-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; min-height: 0; }
.pdf-thumbs figure { display: flex; flex-direction: column; min-height: 0; }
.pdf-thumbs img { width: 100%; flex: 1; min-height: 0; object-fit: cover; border-radius: 4px; border: 1px solid #E6E9E8; }
.pdf-thumbs figcaption { font-size: 0.6rem; color: #5B6561; text-align: center; margin-top: 4px; }
.pdf-foot { font-size: 0.55rem; color: #8A938F; text-align: center; margin-top: 12px; }
.claim-visual .caption { margin-top: 18px; }

@media (max-width: 900px) {
  .claim-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .claim-section { padding: 64px 0; }
  .pdf-sheet { transform: none; }
}

.legal-page ol { padding-left: 20px; }
.footer-meta { flex-wrap: wrap; }

/* ==========================================================================
   BARRE FIXE MOBILE (le bouton de l'en-tête est masqué sous 768 px)
   ========================================================================== */
.sticky-cta { display: none; }
@media (max-width: 768px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--bg-secondary); border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  }
  .sticky-cta-text { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 0.82rem; line-height: 1.25; color: var(--text-secondary); }
  .sticky-cta-text img { border-radius: 8px; flex-shrink: 0; }
  .sticky-cta-text strong { color: var(--text-primary); display: block; }
  .sticky-cta .btn { flex-shrink: 0; white-space: nowrap; }
  body { padding-bottom: 68px; }
}

/* ==========================================================================
   VIDÉO ANIMÉE HTML (2 histoires)
   ========================================================================== */
.story-section { padding: 100px 0; background: var(--bg-secondary); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.story-grid { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; max-width: 960px; margin: 0 auto; }
.story-tabs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.story-tab {
  text-align: left; padding: 16px 18px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border-subtle); color: var(--text-secondary);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.story-tab strong { display: block; color: var(--text-primary); font-size: 1rem; margin-bottom: 2px; }
.story-tab span { font-size: 0.88rem; }
.story-tab[aria-selected="true"] { border-color: var(--brand-primary); background: rgba(var(--brand-rgb), 0.08); }
.story-tab:focus-visible, .story-bars .bar:focus-visible, .story-play:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }

.story-caption {
  min-height: 4.2em; font-size: 1.25rem; font-weight: 700; line-height: 1.4; color: var(--text-primary);
  margin-bottom: 20px;
}
.story-caption.in { animation: storyCap .5s ease both; }
@keyframes storyCap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.story-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.story-note { font-size: 0.8rem; color: var(--text-muted); }
.story-ico-play { display: none; }
.story-play.is-off .story-ico-play { display: inline-block; }
.story-play.is-off .story-ico-pause { display: none; }

.story-stage { width: 280px; }
.story-phone {
  position: relative; width: 280px; height: 560px; border-radius: 40px; overflow: hidden;
  border: 8px solid #0b0d0c; background: var(--bg-primary);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-subtle);
}
.story-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #0b0d0c; border-radius: 0 0 14px 14px; z-index: 5; }
.story-status { position: absolute; top: 5px; left: 18px; right: 18px; display: flex; justify-content: space-between; font-size: 0.64rem; font-weight: 700; z-index: 6; color: var(--text-primary); }
.story-scene[hidden] { display: none; }

.sf {
  position: absolute; inset: 30px 0 0 0; padding: 10px 14px; display: flex; flex-direction: column; gap: 9px;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
  font-size: 0.78rem; color: var(--text-primary); overflow: hidden;
}
.sf.is-active { opacity: 1; visibility: visible; }
.sf-bar { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.9rem; padding-bottom: 6px; border-bottom: 1px solid var(--border-subtle); }
.sf-bar img, .sf-bar .ico { border-radius: 6px; color: var(--brand-mint); }
.fld label { display: block; font-size: 0.66rem; font-weight: 700; color: var(--text-muted); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .03em; }
.inp { min-height: 34px; padding: 8px 10px; border-radius: 10px; background: var(--bg-card); border: 1px solid var(--border-subtle); font-weight: 600; display: flex; align-items: center; }
.sf-btn { margin-top: auto; padding: 11px; text-align: center; border-radius: 12px; font-weight: 800; background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-end)); color: var(--on-brand); }
.card { padding: 12px; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--border-subtle); }
.muted { font-size: 0.68rem; color: var(--text-secondary); }
.big { font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.big small { font-size: .7rem; font-weight: 600; color: var(--text-secondary); }
.big.gold { color: var(--gold-primary); font-variant-numeric: tabular-nums; }
.li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--border-subtle); }
.av { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; flex-shrink: 0; }
.li-t, .li-r { display: flex; flex-direction: column; line-height: 1.3; }
.li-t { flex: 1; } .li-r { text-align: right; align-items: flex-end; }
.li small { color: var(--text-secondary); font-size: .66rem; }
.badge { padding: 1px 7px; border-radius: 8px; background: var(--bg-tertiary); font-weight: 700; }
.tl { display: flex; gap: 10px; align-items: flex-start; }
.tl i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-primary); margin-top: 4px; flex-shrink: 0; }
.tl i.g { background: var(--brand-primary); }
.tl span { display: flex; flex-direction: column; line-height: 1.3; } .tl small { color: var(--text-secondary); font-size: .66rem; }

/* Écran verrouillé : toujours sombre */
.sf-lock, .sf-dark { inset: 0; background: linear-gradient(165deg, #1d2b26, #0b0f0e); color: #fff; align-items: center; padding-top: 46px; }
.sf-dark { justify-content: center; padding-top: 10px; }
.lock-time { font-size: 3.2rem; font-weight: 300; line-height: 1; }
.lock-date { font-size: .8rem; opacity: .75; margin-bottom: 6px; }
.chip-float { padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.14); font-size: .72rem; font-weight: 700; }
.notif { width: 100%; padding: 11px 12px; border-radius: 16px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); text-align: left; line-height: 1.4; }
.notif-head { display: flex; align-items: center; gap: 6px; font-size: .62rem; opacity: .85; margin-bottom: 4px; }
.notif-head img { border-radius: 4px; } .notif-head em { margin-left: auto; font-style: normal; }
.notif strong { font-size: .8rem; display: block; } .notif p { font-size: .72rem; opacity: .9; margin-top: 2px; }
.alert-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 30px; border-radius: 20px; background: rgba(255,180,171,.12); border: 1px solid rgba(255,180,171,.4); color: #FFB4AB; }
.alert-card .ico-lg { width: 40px; height: 40px; } .alert-card strong { font-size: 1.2rem; } .alert-card small { color: rgba(255,255,255,.7); }

/* Lettre */
.paper { background: #fff; color: #1a1f1d; border-radius: 6px; padding: 12px; font-size: .64rem; line-height: 1.55; box-shadow: 0 6px 18px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 6px; }
.paper-h span { font-weight: 800; color: #0C5B42; text-transform: uppercase; font-size: .58rem; margin-right: 4px; }
.pf { background: #d7f4e6; border-radius: 3px; padding: 0 3px; font-weight: 700; }
.review { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-mint); font-size: .74rem; }

/* Photos, mail, PDF, envoi */
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photos figure { border-radius: 10px; overflow: hidden; border: 1px solid var(--border-subtle); background: var(--bg-card); }
.photos img { width: 100%; height: 96px; object-fit: cover; display: block; }
.photos figcaption { font-size: .62rem; text-align: center; padding: 3px; color: var(--text-secondary); }
.mail { padding: 12px; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: 6px; line-height: 1.4; }
.mail-from { display: flex; flex-direction: column; font-size: .74rem; } .mail-from small { color: var(--text-secondary); }
.mini-pdf { margin-top: 4px; background: #fff; color: #1a1f1d; border-radius: 6px; padding: 10px; box-shadow: 0 10px 24px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 4px; font-size: .62rem; }
.mp-head { display: flex; justify-content: space-between; font-weight: 800; font-size: .52rem; color: #0C5B42; border-bottom: 2px solid #0C5B42; padding-bottom: 4px; }
.mp-title { font-weight: 800; font-size: .8rem; margin: 3px 0; }
.mp-row { display: flex; justify-content: space-between; padding: 2px 0; border-bottom: 1px solid #e6e9e8; } .mp-row span { color: #5B6561; }
.mp-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
.mp-thumbs img { width: 100%; height: 64px; object-fit: cover; border-radius: 3px; border: 1px solid #e6e9e8; }
.mp-foot { font-size: .48rem; color: #8A938F; text-align: center; margin-top: 2px; }
.attach { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: var(--bg-tertiary); font-weight: 700; }
.attach .ico { color: var(--brand-mint); }
.sent { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 800; color: var(--brand-mint); font-size: .9rem; }

/* Animations déclenchées à l'activation d'une étape */
.anim { opacity: 0; }
.sf.is-active .anim { animation: sfUp .55s ease both; animation-delay: var(--d, 0s); }
.sf.is-active .pulse { animation: sfUp .55s ease both, sfPulse 1.4s ease-in-out infinite; animation-delay: var(--d, 0s), calc(var(--d, 0s) + .6s); }
.sf.is-active .press { animation: sfUp .55s ease both, sfPress .5s ease 1s both; animation-delay: var(--d, 0s), 0s; }
.sf.is-active .mini-pdf.anim { animation: sfPdf .8s cubic-bezier(.16,1,.3,1) both; animation-delay: var(--d, 0s); }
.type { display: inline-block; clip-path: inset(0 100% 0 0); }
.sf.is-active .type { animation: sfType var(--tdur, 1s) steps(var(--steps, 12), end) var(--d, 0s) forwards; }
@keyframes sfUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sfPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--brand-rgb), .5); } 50% { box-shadow: 0 0 0 8px rgba(var(--brand-rgb), 0); } }
@keyframes sfPress { 50% { transform: scale(.95); } 100% { transform: scale(1); } }
@keyframes sfPdf { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sfType { to { clip-path: inset(0 0 0 0); } }

/* Barre d'étapes */
.story-bars { display: flex; gap: 6px; margin-top: 16px; }
.story-bars .bar { flex: 1; height: 20px; display: flex; align-items: center; }
.story-bars .bar i { display: block; width: 100%; height: 4px; border-radius: 2px; background: var(--border-subtle); position: relative; overflow: hidden; }
.story-bars .bar i::after { content: ''; position: absolute; inset: 0; background: var(--brand-primary); transform: scaleX(0); transform-origin: left; }
.story-bars .bar.done i::after { transform: scaleX(1); }
.story-bars .bar.cur i::after { animation: storyFill var(--dur, 4s) linear forwards; }
#story.is-paused .bar.cur i::after { animation-play-state: paused; }
@keyframes storyFill { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1 !important; animation: none !important; }
  .type { clip-path: none !important; animation: none !important; }
  .sf { transition: none; }
}
@media (max-width: 860px) {
  .story-section { padding: 64px 0; }
  .story-grid { grid-template-columns: 1fr; gap: 36px; justify-items: center; }
  .story-stage { order: -1; }
  .story-side { width: 100%; }
  .story-caption { font-size: 1.1rem; min-height: 3.6em; }
}

.sf-btn.press { margin-top: 0; }

/* Les ancres ne passent plus sous l'en-tête fixe */
section[id] { scroll-margin-top: 74px; }

@media (max-width: 1400px) { .nav-links { gap: 22px; } }

/* ==========================================================================
   HERO : l'animation remplace le faux téléphone
   ========================================================================== */
.story-hero { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 360px; margin: 0 auto; }
.story-hero .story-tabs { flex-direction: row; gap: 8px; margin: 0; width: 100%; }
.story-hero .story-tab { flex: 1; padding: 9px 10px; border-radius: 999px; text-align: center; }
.story-hero .story-tab strong { font-size: 0.82rem; margin: 0; white-space: nowrap; }
.story-hero .story-tab span { display: none; }
.story-hero .story-stage { width: 280px; }
.story-hero .story-bars { margin-top: 12px; }
.story-hero .story-caption { min-height: 3em; margin: 0; font-size: 1.02rem; text-align: center; }
.story-hero .story-controls { justify-content: center; gap: 12px; }

/* Comparatif : pastilles « Et aussi » */
.compare-extra { max-width: 900px; margin: 36px auto 0; text-align: center; }
.compare-extra-title { font-size: 0.8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.compare-extra .feature-chips { justify-content: center; }

/* Page calculateur */
.calc-links { text-align: center; padding-bottom: 80px; }
.calc-links a { color: var(--brand-mint); text-decoration: underline; }

/* Prix de lancement */
.early-banner {
  max-width: 760px; margin: 0 auto 40px; padding: 16px 22px; text-align: center;
  display: flex; flex-direction: column; gap: 4px;
  border-radius: var(--radius-md); background: rgba(var(--brand-rgb), 0.1); border: 1px solid rgba(var(--brand-rgb), 0.3);
}
.early-banner strong { color: var(--gold-primary); font-size: 1rem; }
.early-banner span { color: var(--text-secondary); font-size: 0.92rem; }
.plan-then { font-size: 0.8rem; color: var(--text-muted); margin: -16px 0 24px; }
