/* ═══════════════════════════════════════════
   BÂTMAX FACILITIES — style.css
   Typographies : League Spartan + Italiano
   Accent       : #ff8c1e
   ═══════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────── */
:root {
  --black:       #050505;
  --deep:        #0b090b;
  --surface:     #13101a;
  --rose :       #841c45;
  --clair:       #F7C788;
  --card:        #150711;
  --accent:      #ff8c1e;
  --accent-dim:  rgba(255, 140, 30, 0.12);
  --accent-glow: rgba(255, 140, 30, 0.35);
  --text:        #f0eaef;
  --muted:       #8a7d88;
  --border:      rgba(255, 140, 30, 0.1);
}

/* ─── RESET & BASE ───────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'League Spartan', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

img { display: block; max-width: 100%; }
a { cursor: none; }
button { cursor: none; }

/* ─── CUSTOM CURSOR ──────────────────────── */
.cursor {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
}


/* ─── NAVIGATION ─────────────────────────── */
nav#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 22px 52px;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
nav#nav.scrolled {
  background: rgba(7, 6, 8, 0.859);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo img { height: 80px; }

.nav-links {
  display: flex; gap: 32px; align-items: center;
}
.nav-links a {
  text-decoration: none; color: var(--text);
  font-size: 1rem; font-weight: 500;
  text-shadow: -1px -1px 0 #39393916,  /* Contour en noir */
                  1px -1px 0 #39393916,
                 -1px 1px 0 #39393916,
                  1px 1px 0 #39393916;
  letter-spacing: 2px; text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 16px; }

/* Login button */
.login-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: 'League Spartan', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  transition: all 0.3s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.login-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.login-btn .lock-icon { font-size: 12px; opacity: 0.9; }

/* User badge (logged in) */
.user-badge {
  display: none; align-items: center; gap: 10px;
  padding: 9px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(255, 140, 30, 0.25);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.user-badge.visible { display: flex; }
.user-badge .user-name { font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--accent); }
.user-badge .logout-link {
  font-size: 10px; color: var(--muted);
  letter-spacing: 1px; text-transform: uppercase;
  transition: color 0.2s;
}
.user-badge .logout-link:hover { color: var(--text); }
.user-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

/* ─── LOGIN MODAL ────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 800;
  background: rgba(7, 6, 8, 0.85);
  backdrop-filter: blur(12px);
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--card);
  border: 1px solid var(--border);
  width: 100%; max-width: 480px;
  position: relative;
  animation: modalIn 0.3s ease forwards;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,140,30,0.06);
}
.modal-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--accent), var(--rose));
}
.modal-box::after {
  content: '';
  position: absolute; bottom: -1px; right: -1px;
  width: 40px; height: 40px;
  border-right: 1px solid rgba(255,140,30,0.3);
  border-bottom: 1px solid rgba(255,140,30,0.3);
  pointer-events: none;
}

.modal-icon { text-align: center; padding: 44px 48px 0; }
.modal-icon-inner {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border: 1px solid rgba(255, 140, 30, 0.25);
  background: rgba(255, 140, 30, 0.06);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  margin-bottom: 20px; font-size: 20px;
}

.modal-header { padding: 0 48px; text-align: center; display: block; }
.modal-header-text h2 { font-size: 26px; font-weight: 800; letter-spacing: 1px; margin-bottom: 8px; }
.modal-header-text h2 em {
  font-family: 'Italiano', serif; font-style: italic;
  font-weight: 400; color: var(--accent);
}
.modal-header-text p { font-size: 13px; color: var(--muted); line-height: 1.7; }

.modal-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  color: var(--muted); width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.modal-close:hover {
  color: var(--accent);
  border-color: rgba(255,140,30,0.3);
  background: rgba(255,140,30,0.06);
}

.modal-body { padding: 28px 48px 48px; }

.modal-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,140,30,0.15), transparent);
  margin-bottom: 28px;
}

.modal-error {
  display: none;
  background: rgba(200, 40, 60, 0.1);
  border-left: 3px solid #e05050;
  padding: 12px 16px; margin-bottom: 24px;
  font-size: 13px; color: #e07070; line-height: 1.6;
}
.modal-error.show { display: block; }

.modal-submit {
  width: 100%; padding: 17px;
  background: linear-gradient(90deg, var(--rose), var(--accent));
  color: var(--text); border: none;
  font-family: 'League Spartan', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: opacity 0.3s, transform 0.2s; margin-top: 10px;
}
.modal-submit:hover { opacity: 0.85; transform: translateY(-1px); }

.modal-note {
  font-size: 11px; color: var(--muted);
  text-align: center; margin-top: 20px; letter-spacing: 0.5px; line-height: 1.8;
}

/* ─── HERO ───────────────────────────────── */
#hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  background: url('assets/hero.jpg') center / cover no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(7, 6, 8, 0.08) 0%,
      rgba(7, 6, 8, 0.107) 40%,
      rgba(7, 6, 8, 0.284) 80%,
      rgba(7, 6, 8, 0.415)   100%),
    linear-gradient(to right,
      rgba(7, 6, 8, 0.254) 0%,
      rgba(7, 6, 8, 0)  60%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 160px 52px 120px; width: 100%;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 36px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-eyebrow-line { width: 36px; height: 1px; background: var(--text); }
.hero-eyebrow span {
  font-size: 1rem; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase; color: var(--text);
}

.hero-title {
  font-size: clamp(50px, 8vw, 108px);
  text-shadow: -1px -1px 0 #39393925,  /* Contour en noir */
                  1px -1px 0 #39393925,
                 -1px 1px 0 #39393925,
                  1px 1px 0 #39393925;
  font-weight: 800; line-height: 0.80;
  opacity: 0; transform: translateY(28px);
  animation: fadeUp 1s 0.4s forwards;
}
.hero-title .accent {
  font-family: 'League Spartan', serif;
  font-weight: 400; font-style: italic;
  color: var(--accent); display: block;
  font-size: 1.05em; line-height: 1.05;
}
.hero-title .sub {
  display: block;
  font-size: 0.4em; font-weight: 300;
  font-family: 'League Spartan', sans-serif;
  letter-spacing: 4px;
  color: var(--text);
  margin-top: 12px; line-height: 1.4;
}

.hero-desc {
  max-width: 650px;
  margin-top: 36px; margin-bottom: 48px;
  font-size: 1.4rem; line-height: 1.85;
  color: rgba(240, 234, 239, 0.6);
  font-weight: 300;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.8s 0.8s forwards;
}
.hero-desc strong { color: var(--text); font-weight: 500; }

.hero-actions {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.8s 1s forwards;
}

.hero-kpi {
  position: absolute; bottom: 60px; right: 52px; text-align: right;
  opacity: 0;
  animation: fadeUp 0.8s 1.3s forwards;
}
.hero-kpi .score {
  font-size: 3.8rem; font-weight: 800;
  color: var(--text); line-height: 1;
}
.hero-kpi .score span {
  font-family: 'Italiano', serif;
  font-style: italic; color: var(--accent);
}
.hero-kpi p {
  font-size: 1.1rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--text); margin-top: 4px;
}

.scroll-hint {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeIn 1s 1.6s forwards;
}
.scroll-hint span {
  font-size: 0.9rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--text);
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s infinite;
}

/* ─── BOUTONS COMMUNS ────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(45deg,var(--rose),var(--accent)); color: var(--text);
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 0.9rem;
  letter-spacing: 2.5px; text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--clair); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  border: 2px solid rgba(255, 140, 30, 0.25);
  color: var(--text);
  font-size: 0.9rem; letter-spacing: 2.5px; text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ─── MARQUEE ────────────────────────────── */
.marquee-wrap { overflow: hidden; background: var(--accent); padding: 14px 0; }
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marquee 22s linear infinite;
}
.m-item {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 56px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--black);
}
.m-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.35); flex-shrink: 0;
}

/* ─── SECTIONS COMMUNES ──────────────────── */
section { position: relative; overflow: hidden; }
.inner { max-width: 1200px; margin: 0 auto; padding: 120px 52px; }

.s-label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.s-label::before { content: ''; width: 22px; height: 1px; background: var(--accent); }
.s-label span {
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--accent);
}

h2.stitle {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800; line-height: 1.05; margin-bottom: 20px;
}
h2.stitle em {
  font-family: 'Italiano', serif;
  font-style: italic; font-weight: 400; color: var(--accent);
}

/* ─── FORMULAIRES ────────────────────────── */
.f-grp { margin-bottom: 22px; }
.f-grp label {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.f-grp input,
.f-grp textarea,
.f-grp select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
  padding: 13px 16px;
  font-family: 'League Spartan', sans-serif;
  font-size: 14px; font-weight: 400;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  appearance: none; letter-spacing: 0.3px;
}
.f-grp input:focus,
.f-grp textarea:focus,
.f-grp select:focus {
  border-color: var(--accent);
  background: rgba(255, 140, 30, 0.04);
}
.f-grp textarea { min-height: 130px; resize: vertical; }
.f-grp select option { background: var(--card); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
/* ─── REVEAL ANIMATIONS ──────────────────── */
.js-ready .rv {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-ready .rl {
  opacity: 0; transform: translateX(-28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-ready .acc-item {
  opacity: 0; transform: translateX(36px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-ready .acc-item:nth-child(2) { transition-delay: 0.1s; }
.js-ready .acc-item:nth-child(3) { transition-delay: 0.2s; }
.js-ready .acc-item:nth-child(4) { transition-delay: 0.3s; }

.rv.vis, .rl.vis, .acc-item.vis { opacity: 1 !important; transform: none !important; }
/* ─── PROBLEM ────────────────────────────── */
#problem {
  background: linear-gradient(180deg, var(--deep) 0%, var(--rose) 100%);
}
#problem::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.25;
}

.pb-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.pb-sticky { position: sticky; top: 140px; }
.pb-sticky .lead {
  font-family: 'Italiano', serif; font-style: italic;
  font-size: 1.7rem; color: var(--text); line-height: 1.75; margin-bottom: 28px;
}
.pb-sticky p { color: var(--muted); line-height: 1.9; font-size: 1.5rem; margin-bottom: 18px; }

.acc-list { display: flex; flex-direction: column; gap: 20px; }
.acc-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  opacity: 0; transform: translateX(36px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-left-color 0.3s;
}
.acc-item.vis       { opacity: 1; transform: translateX(0); }
.acc-item:nth-child(2) { transition-delay: 0.1s; }
.acc-item:nth-child(3) { transition-delay: 0.2s; }
.acc-item:nth-child(4) { transition-delay: 0.3s; }
.acc-item:hover { border-left-color: #ffaa50; }
.acc-item h4 {
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text); margin-bottom: 8px;
}
.acc-item p { font-size: 1.2rem; color: var(--muted); line-height: 1.7; }

.cta-banner {
  margin-top: 80px;
  border: 1px solid rgba(255, 140, 30, 0.2);
  padding: 52px; text-align: center;
  background: linear-gradient(135deg, rgba(255, 140, 30, 0.05), rgba(180, 40, 80, 0.06));
  position: relative;
}
.cta-banner::before,
.cta-banner::after {
  content: ''; position: absolute;
  width: 50px; height: 50px;
  border-color: var(--accent); border-style: solid; opacity: 0.35;
}
.cta-banner::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.cta-banner::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.cta-banner h3 { font-size: clamp(32px, 5vw, 60px); font-weight: 800; margin-bottom: 12px; }
.cta-banner h3 em {
  font-family: 'Italiano', serif; font-style: italic;
  font-weight: 400; color: var(--accent);
}
.cta-banner p { color: var(--text); font-size: 1.4rem; max-width: 560px; margin: 0 auto; line-height: 1.85; }

.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); margin-top: 1px;
}
.stat-box { background: var(--deep); padding: 44px; text-align: center; }
.stat-box .n {
  font-size: clamp(40px, 5vw, 64px); font-weight: 800;
  color: var(--accent); line-height: 1; display: block;
}
.stat-box .n em { font-family: 'Italiano', serif; font-style: italic; font-weight: 400; }
.stat-box .l {
  font-size: 1.1rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text); margin-top: 10px; display: block;
}

/* ─── APPROACH ───────────────────────────── */
#approach { background: var(--deep); }

.approach-head { text-align: center; max-width: 880px; margin: 0 auto 80px; }
.approach-head p { color: var(--text); font-size: 1.4rem; line-height: 1.9; margin-top: 18px; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border); }
.pillar {
  background: var(--surface); padding: 48px 32px;
  position: relative; overflow: hidden;
  transition: background 0.4s;
}
.pillar::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.pillar:hover::after { transform: scaleX(1); }
.pillar:hover { background: var(--card); }
.pillar .pn {
  font-family: 'Italiano', serif; font-style: italic;
  font-size: 4.8rem; font-weight: 400;
  color: rgba(255, 140, 30, 0.1); line-height: 1;
  margin-bottom: 20px; display: block;
}
.pillar h3 {
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--text); margin-bottom: 14px;
}
.pillar p { font-size: 1.1rem; color: var(--muted); line-height: 1.8; }

/* ─── OFFERS ─────────────────────────────── */
#offers { background: var(--black); }
#offers::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.25;
}

.offers-head { text-align: center; max-width: 720px; margin: 0 auto 80px; }

.offers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); }

.offer-card {
  background: var(--surface);
  padding: 60px 52px;
  position: relative; overflow: hidden;
}
.offer-card.premium {
  background: linear-gradient(145deg, #1a1020 0%, #0d0b12 100%);
}
.offer-card::before {
  content: attr(data-w);
  position: absolute; top: 0; right: 0;
  font-size: 5.8rem; font-weight: 800;
  color: rgba(255, 140, 30, 0.04);
  line-height: 1; padding: 16px; pointer-events: none;
}

.o-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size:1.1rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 28px; color: var(--muted);
}
.o-badge.prem { color: var(--accent); }
.o-badge .bdot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.offer-card h3 {
  font-size: clamp(38px, 5vw, 52px);
  font-weight: 800; line-height: 1.05; margin-bottom: 8px;
}
.offer-card h3 em {
  font-family: 'Italiano', serif; font-style: italic;
  font-weight: 400; color: var(--accent);
}
.offer-tagline {
  font-family: 'League Spartan', serif; font-style: italic;
  font-size: 1.6rem; color: var(--muted); margin-bottom: 40px;
}

.o-features { list-style: none; margin-bottom: 48px; }
.o-features li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 1.4rem; color: var(--text); font-weight: 300; line-height: 1.5;
}
.o-features li::before { content: '—'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.o-features li:last-child { border-bottom: none; }

.o-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 40px;
  font-family: 'League Spartan', sans-serif;
  font-size: 1rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.o-cta.solid {
  background: linear-gradient(45deg,var(--accent),var(--rose)); color: var(--text);
  border: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.o-cta.solid:hover { background: #ffaa50; transform: translateY(-2px); }
.o-cta.ghost { border: 1px solid var(--border); color: var(--muted); }
.o-cta.ghost:hover { border-color: var(--accent); color: var(--accent); }

.offer-note { font-size: 12px; color: var(--muted); margin-top: 18px; font-style: italic; }

/* ─── PORTAL ─────────────────────────────── */
#portal {
  background: linear-gradient(180deg, var(--black) 0%, #0f0714 40%, var(--black) 100%);
  position: relative;
}
#portal::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(180, 40, 80, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.portal-head { text-align: center; max-width: 620px; margin: 0 auto 64px; }
.portal-head p { color: var(--text); font-size: 1.2rem; line-height: 1.85; margin-top: 16px; }

/* Access gate */
.access-gate {
  max-width: 700px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border);
  padding: 64px; text-align: center; position: relative;
}
.access-gate::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.gate-icon { font-size: 36px; margin-bottom: 24px; opacity: 0.4; }
.access-gate h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.access-gate p {
  color: var(--muted); font-size: 1.2rem; line-height: 1.8;
  margin-bottom: 32px; max-width: 400px; margin-left: auto; margin-right: auto;
}

/* Client portal */
.portal-client { max-width: 860px; margin: 0 auto; display: none; }
.portal-client.show { display: block; }

.portal-welcome {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--card); border: 1px solid var(--border);
  padding: 28px 40px; margin-bottom: 2px; position: relative;
}
.portal-welcome::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.pw-left h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.pw-left h3 em {
  font-family: 'Italiano', serif; font-style: italic;
  font-weight: 400; color: var(--accent);
}
.pw-left p { font-size: 13px; color: var(--muted); letter-spacing: 0.5px; }
.pw-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(255, 140, 30, 0.25);
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--accent);
  white-space: nowrap;
}
.pw-badge .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 5px var(--accent);
}

.portal-form-box {
  background: var(--card); border: 1px solid var(--border);
  border-top: none; padding: 52px;
}

/* Urgency toggles */
.urgency-row { display: flex; gap: 10px; flex-wrap: wrap; }
.u-btn {
  flex: 1; min-width: 110px; padding: 12px 14px; text-align: center;
  font-family: 'League Spartan', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted); background: transparent;
  transition: all 0.3s;
}
.u-btn.sel,
.u-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(255, 140, 30, 0.08); }
.u-btn.crit.sel { border-color: #e05050; color: #e05050; background: rgba(200, 40, 60, 0.08); }

.form-footer { display: flex; justify-content: flex-end; margin-top: 32px; }
.sub-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 52px;
  background: var(--accent); color: var(--black);
  border: none;
  font-family: 'League Spartan', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.3s, transform 0.2s;
}
.sub-btn:hover { background: #ffaa50; transform: translateY(-2px); }

/* Success */
.success-overlay { display: none; text-align: center; padding: 52px 40px; }
.success-overlay.show { display: block; }
.s-icon { font-size: 40px; color: var(--accent); margin-bottom: 20px; display: block; }
.success-overlay h3 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.success-overlay p { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 380px; margin: 0 auto 28px; }
.new-req-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border: 1px solid var(--border); color: var(--muted);
  font-family: 'League Spartan', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  background: transparent;
  transition: all 0.3s;
}
.new-req-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ─── FOOTER ─────────────────────────────── */
footer {
  background: var(--deep); border-top: 1px solid var(--border);
  padding: 64px 52px; text-align: center;
}
.foot-logo { display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.foot-logo img { height: 60px; }
footer .tagline {
  font-family: 'League Spartan', serif;
  font-size: 1.2rem; color: var(--text); margin-bottom: 32px;
}
.foot-links { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-bottom: 32px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 1.2rem; letter-spacing: 1px; transition: color 0.3s; }
.foot-links a:hover { color: var(--accent); }
.foot-links span { color: var(--muted); font-size: 1.2rem; }
footer .copy { font-size: 0.8rem; color: rgba(138, 125, 136, 0.35); letter-spacing: 1.5px; text-transform: uppercase; }

/* ─── KEYFRAMES ──────────────────────────── */
@keyframes fadeUp    { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn    { to { opacity: 1; } }
@keyframes modalIn   { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; transform: scaleY(0.7); } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes marquee   { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* Tablette large — 1024px */
@media (max-width: 1024px) {
  nav#nav { padding: 20px 32px; }
  .inner { padding: 100px 32px; }
  .hero-content { padding: 140px 32px 100px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .hero-kpi { right: 32px; }
}

/* Tablette — 768px */
@media (max-width: 768px) {
  /* Nav */
  nav#nav { padding: 18px 24px; }
  .nav-links { display: none; }

  /* Hero */
  .hero-content { padding: 120px 24px 100px; }
  .hero-title { font-size: clamp(44px, 11vw, 72px); }
  .hero-desc { font-size: 15px; }
  .hero-kpi { display: none; }
  .scroll-hint { display: none; }

  /* Sections */
  .inner { padding: 80px 24px; }

  /* Problem */
  .pb-layout { grid-template-columns: 1fr; gap: 48px; }
  .pb-sticky { position: static; }
  .pb-sticky .lead { font-size: 0.6rem; }

  /* Approach */
  .pillars { grid-template-columns: 1fr 1fr; }

  /* Offers */
  .offers-grid { grid-template-columns: 1fr; }
  .offer-card { padding: 48px 32px; }

  /* Stats */
  .stats-row { grid-template-columns: 1fr; }

  /* Portal */
  .portal-form-box { padding: 32px 24px; }
  .access-gate { padding: 48px 24px; }
  .portal-welcome { flex-direction: column; gap: 20px; align-items: flex-start; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* Modal */
  .modal-header { padding: 32px 32px 0; }
  .modal-body { padding: 24px 32px 40px; }

  /* Footer */
  footer { padding: 48px 24px; }
  .foot-links { flex-direction: column; gap: 16px; align-items: center; }

  /* CTA Banner */
  .cta-banner { padding: 36px 24px; }
}

/* Mobile — 480px */
@media (max-width: 480px) {
  /* Hero */
  .hero-title { font-size: clamp(38px, 13vw, 56px); }
  .hero-title .sub { font-size: 0.32em; letter-spacing: 2px; }
  .hero-actions { flex-direction: column; align-items: flex-start; width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }

  /* Pillars */
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 36px 24px; }

  /* Offers */
  .offer-card { padding: 36px 24px; }
  .o-cta { width: 100%; justify-content: center; }

  /* Nav right */
  .login-btn { padding: 8px 14px; font-size: 10px; }
  .login-btn .lock-icon { display: none; }

  /* Portal */
  .form-footer { justify-content: stretch; }
  .sub-btn { width: 100%; justify-content: center; }

  /* urgency */
  .urgency-row { flex-direction: column; }
  .u-btn { min-width: unset; }

  /* Modal */
  .modal-header { padding: 28px 24px 0; }
  .modal-body { padding: 20px 24px 36px; }
  .modal-header-text h2 { font-size: 18px; }
}