/* ============================================
   GereLi – Landing Page Stylesheet
   Nettoyé & unifié – Février 2026
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Reset ─────────────────────────────────── */
*{ margin:0; padding:0; box-sizing:border-box; }

/* ── Variables ─────────────────────────────── */
:root{
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #8b5cf6;
  --accent: #ec4899;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray: #64748b;
  --light: #f8fafc;
  --success: #10b981;
  --warning: #f59e0b;
  --gradient-btn: linear-gradient(135deg, #63b6f1 0%, #0b3db8 100%);
  --gradient-text: linear-gradient(135deg, #1217f5 0%, #65b4ed 100%);
  --shadow-btn: 0 8px 20px rgba(11,61,184,.25);
  --radius: 12px;
}

body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  color:var(--dark);
  overflow-x:hidden;
  line-height:1.6;
  background:#fff;
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

a{ text-decoration:none; color:inherit; }

/* ── Header ────────────────────────────────── */
header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:18px 0;
  transition:all .35s ease;
}
header.scrolled{
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(20px);
  box-shadow:0 1px 20px rgba(0,0,0,.06);
  padding:10px 0;
}

nav{
  display:flex; align-items:center; justify-content:space-between;
}

.logo{ display:flex; align-items:center; gap:8px; }
.logo-icon{ width:140px; }

/* Nav links (desktop) */
.nav-links{
  display:flex; align-items:center; gap:28px;
  list-style:none;
}
.nav-links a{
  font-size:15px; font-weight:500; color:var(--dark);
  transition:color .2s;
  position:relative;
}
.nav-links a::after{
  content:'';
  position:absolute; bottom:-4px; left:0; width:0; height:2px;
  background:var(--gradient-btn);
  transition:width .3s;
}
.nav-links a:hover{ color:var(--primary); }
.nav-links a:hover::after{ width:100%; }

/* Header on dark hero — make links white until scrolled */
header:not(.scrolled) .nav-links a{ color:rgba(255,255,255,.85); }
header:not(.scrolled) .nav-links a:hover{ color:#fff; }

.nav-actions{ display:flex; align-items:center; gap:12px; }

.nav-login{
  font-size:14px; font-weight:600; color:var(--dark);
  padding:10px 18px; border-radius:var(--radius);
  border:2px solid #e2e8f0;
  transition:all .25s;
}
.nav-login:hover{
  border-color:var(--primary); color:var(--primary);
}
header:not(.scrolled) .nav-login{
  color:#fff; border-color:rgba(255,255,255,.3);
}
header:not(.scrolled) .nav-login:hover{
  border-color:#fff;
}

/* Hamburger (mobile) */
.nav-hamburger{
  display:none;
  background:none; border:none; cursor:pointer;
  flex-direction:column; gap:5px;
  padding:6px;
}
.nav-hamburger span{
  display:block; width:24px; height:2px;
  background:var(--dark); border-radius:2px;
  transition:all .3s;
}
header:not(.scrolled) .nav-hamburger span{ background:#fff; }

/* ── Buttons (unified) ─────────────────────── */
.btn-primary,
.btn-secondary,
.nav-cta,
.pricing-button,
.submit-button{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:var(--gradient-btn);
  color:#fff; border:none;
  padding:14px 28px;
  border-radius:var(--radius);
  font-weight:600; font-size:15px;
  cursor:pointer;
  box-shadow:var(--shadow-btn);
  transition:all .3s ease;
  text-decoration:none;
}
.btn-primary:hover,
.btn-secondary:hover,
.nav-cta:hover,
.pricing-button:hover,
.submit-button:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(11,61,184,.35);
  filter:brightness(1.05);
}

.btn-secondary{
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.2);
  box-shadow:none;
}
.btn-secondary:hover{
  background:rgba(255,255,255,.22);
  box-shadow:0 8px 25px rgba(0,0,0,.15);
}

.nav-cta{
  padding:10px 22px;
  font-size:14px;
}

/* ── Hero ──────────────────────────────────── */
.hero{
  min-height:100vh;
  background:linear-gradient(135deg,var(--dark) 0%,var(--dark-light) 100%);
  display:flex; align-items:center;
  padding:120px 0 80px;
  position:relative; overflow:hidden;
}
.hero::before{
  content:''; position:absolute;
  width:100%; height:100%;
  background:
    radial-gradient(circle at 20% 50%,rgba(99,102,241,.15) 0%,transparent 50%),
    radial-gradient(circle at 80% 50%,rgba(139,92,246,.15) 0%,transparent 50%);
}

.hero-content{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
  position:relative; z-index:1;
}

.hero-text{ max-width:600px; }

.badge{
  display:inline-flex; align-items:center; gap:10px;
  background:rgba(16,185,129,.1);
  border:1px solid rgba(16,185,129,.3);
  color:var(--success);
  padding:8px 16px;
  border-radius:50px;
  font-size:13px; font-weight:600;
  margin-bottom:24px;
  letter-spacing:.5px;
  animation:fadeInUp .6s ease;
}
.badge span{
  width:8px; height:8px; background:var(--success);
  border-radius:50%; animation:pulse 2s infinite;
}

.hero h1{
  font-size:56px; font-weight:900; line-height:1.1;
  background:linear-gradient(135deg,#fff 0%,#94a3b8 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  margin-bottom:24px;
  animation:fadeInUp .6s ease .15s both;
}
.hero p{
  font-size:18px; color:#94a3b8;
  line-height:1.8; margin-bottom:20px;
  animation:fadeInUp .6s ease .3s both;
}

.cta-group{
  display:flex; gap:16px; flex-wrap:wrap;
  animation:fadeInUp .6s ease .45s both;
}

/* ── Hero Visual / Slider ──────────────────── */
.hero-visual{ width:100%; }
.dashboard-preview{
  width:100%;
  background:transparent;
  border:none; box-shadow:none;
  padding:0;
}

.slider{
  position:relative; overflow:hidden;
  border-radius:12px;
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  max-height:min(72vh,680px);
  min-height:240px;
  background:transparent;
}

.slides{
  display:flex; height:100%;
  transform:translateX(0);
  transition:transform .6s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}
.slide{
  min-width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
}
.slide img{
  width:100%; height:100%;
  object-fit:contain;
  background:#0f172a;
  display:block;
}

/* Slider nav arrows */
.slider-nav{
  position:absolute; top:50%;
  transform:translateY(-50%);
  width:42px; height:42px;
  border:0; border-radius:50%;
  background:rgba(15,23,42,.45);
  color:#fff; font-size:26px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  backdrop-filter:blur(6px);
  transition:opacity .2s,transform .2s;
  z-index:5;
}
.slider-nav:hover{
  transform:translateY(-50%) scale(1.05);
  background:rgba(15,23,42,.65);
}
.slider-nav.prev{ left:12px; }
.slider-nav.next{ right:12px; }

/* Slider dots */
.slider-dots{
  position:absolute; left:0; right:0; bottom:12px;
  display:flex; gap:8px; justify-content:center;
  z-index:5;
}
.slider-dots button{
  width:8px; height:8px; border-radius:50%;
  border:0; background:rgba(255,255,255,.4);
  cursor:pointer; padding:0;
  transition:transform .2s,background .2s;
}
.slider-dots button[aria-selected="true"]{
  background:#fff; transform:scale(1.2);
}

/* ── Stats ─────────────────────────────────── */
.stats{
  background:#fff;
  padding:60px 0;
  border-bottom:1px solid rgba(0,0,0,.05);
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
  text-align:center;
}
.stat-item h3{
  font-size:48px; font-weight:900;
  background:var(--gradient-text);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  margin-bottom:8px;
}
.stat-item p{
  color:var(--gray); font-weight:500;
}

/* ── Section Common ────────────────────────── */
.section-header{
  text-align:center; max-width:700px;
  margin:0 auto 80px;
}
.section-label{
  display:inline-block;
  background:var(--gradient-text);
  color:#fff;
  padding:8px 20px;
  border-radius:50px;
  font-size:14px; font-weight:600;
  margin-bottom:16px;
}
.section-title{
  font-size:48px; font-weight:900;
  color:var(--dark);
  margin-bottom:16px; line-height:1.2;
}
.section-description{
  font-size:18px; color:var(--gray);
  line-height:1.8;
}

/* ── Features ──────────────────────────────── */
.features{
  padding:120px 0;
  background:var(--light);
}
.features-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.feature-card{
  background:#fff;
  padding:32px;
  border-radius:20px;
  transition:all .4s cubic-bezier(.4,0,.2,1);
  border:1px solid rgba(0,0,0,.05);
  position:relative; overflow:hidden;
}
.feature-card::before{
  content:''; position:absolute;
  top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg,var(--primary),var(--secondary));
  transform:scaleX(0);
  transition:transform .4s ease;
}
.feature-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 60px rgba(0,0,0,.12);
  border-color:transparent;
}
.feature-card:hover::before{ transform:scaleX(1); }

.feature-icon{
  width:64px; height:64px;
  background:var(--gradient-text);
  border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  font-size:28px;
  margin-bottom:20px;
  box-shadow:0 8px 20px rgba(99,102,241,.25);
}
.feature-card h3{
  font-size:20px; font-weight:700;
  color:var(--dark); margin-bottom:12px;
}
.feature-card p{
  color:var(--gray); line-height:1.7;
  font-size:15px;
}

/* ── How It Works ──────────────────────────── */
.how-it-works{
  padding:120px 0;
  background:#fff;
}
.steps-container{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  margin-top:80px;
  position:relative;
}
.steps-container::before{
  content:''; position:absolute;
  top:50px; left:20%; right:20%;
  height:2px;
  background:linear-gradient(90deg,var(--primary),var(--secondary));
  z-index:0;
}
.step{
  text-align:center; position:relative; z-index:1;
}
.step-number{
  width:100px; height:100px;
  background:var(--gradient-text);
  color:#fff; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:36px; font-weight:900;
  margin:0 auto 24px;
  box-shadow:0 15px 40px rgba(99,102,241,.35);
  border:6px solid #fff;
}
.step h3{
  font-size:24px; font-weight:700;
  color:var(--dark); margin-bottom:12px;
}
.step p{
  color:var(--gray); line-height:1.7;
  font-size:16px;
}

/* ── Pricing ───────────────────────────────── */
.pricing{
  padding:120px 0;
  background:linear-gradient(135deg,var(--dark),var(--dark-light));
  position:relative; overflow:hidden;
}
.pricing::before{
  content:''; position:absolute;
  width:100%; height:100%;
  background:
    radial-gradient(circle at 30% 30%,rgba(99,102,241,.1),transparent 50%),
    radial-gradient(circle at 70% 70%,rgba(139,92,246,.1),transparent 50%);
}
.pricing .section-header{ position:relative; z-index:1; }
.pricing .section-title,
.pricing .section-description{ color:#fff; }

.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
  margin-top:80px;
  position:relative; z-index:1;
}
.pricing-card{
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,.1);
  padding:48px 32px;
  border-radius:24px;
  transition:all .4s ease;
  position:relative; overflow:hidden;
}
.pricing-card::before{
  content:''; position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(99,102,241,.1),rgba(139,92,246,.1));
  opacity:0; transition:opacity .4s ease;
}
.pricing-card:hover::before{ opacity:1; }
.pricing-card:hover{
  transform:translateY(-12px) scale(1.02);
  border-color:rgba(255,255,255,.2);
  box-shadow:0 25px 60px rgba(0,0,0,.4);
}

.pricing-card.featured{
  background:rgba(255,255,255,.1);
  border:2px solid var(--primary);
  transform:scale(1.05);
}
.pricing-card.featured .pricing-badge{ display:block; }

.pricing-badge{
  display:none;
  position:absolute; top:20px; right:-35px;
  background:var(--gradient-text);
  color:#fff;
  padding:6px 45px;
  transform:rotate(45deg);
  font-size:12px; font-weight:700;
  letter-spacing:1px;
  box-shadow:0 4px 15px rgba(99,102,241,.4);
}

.pricing-card h3{
  font-size:28px; font-weight:700;
  color:#fff; margin-bottom:16px;
  position:relative;
}
.price{
  font-size:56px; font-weight:900;
  color:#fff; margin:24px 0;
  position:relative;
}
.price span{
  font-size:18px; color:#94a3b8; font-weight:500;
}

.pricing-features{
  list-style:none; margin:32px 0;
  position:relative;
}
.pricing-features li{
  padding:14px 0; color:#cbd5e1;
  font-size:15px;
  display:flex; align-items:center; gap:12px;
}
.pricing-features li::before{
  content:'✓';
  width:24px; height:24px;
  background:rgba(16,185,129,.2);
  color:var(--success);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-weight:700; flex-shrink:0;
}

.pricing-button{
  width:100%;
  padding:16px;
  font-size:16px;
  position:relative; overflow:hidden;
}
.pricing-button::before{
  content:''; position:absolute;
  top:0; left:-100%;
  width:100%; height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);
  transition:left .5s ease;
}
.pricing-button:hover::before{ left:100%; }

/* ── Contact ───────────────────────────────── */
.contact{
  padding:120px 0;
  background:var(--light);
}
.form-wrapper{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  margin-top:80px;
  align-items:start;
}
.form-info{
  position:sticky; top:100px;
}
.form-info h3{
  font-size:32px; font-weight:800;
  color:var(--dark); margin-bottom:20px;
}
.form-info p{
  color:var(--gray); font-size:18px;
  line-height:1.8; margin-bottom:32px;
}
.info-items{
  display:flex; flex-direction:column; gap:20px;
}
.info-item{
  display:flex; align-items:center; gap:16px;
}
.info-icon{
  width:48px; height:48px;
  background:var(--gradient-text);
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  font-size:20px; color:#fff;
  flex-shrink:0;
}
.info-item div h4{
  font-size:16px; font-weight:700;
  color:var(--dark); margin-bottom:4px;
}
.info-item div p{
  font-size:14px; color:var(--gray); margin:0;
}

.form-container{
  background:#fff;
  padding:48px;
  border-radius:24px;
  box-shadow:0 10px 40px rgba(0,0,0,.08);
  border:1px solid rgba(0,0,0,.05);
  position:relative;
  transition:all .4s ease;
}

/* Toggle form width button */
.btn-toggle-form{
  position:absolute;
  top:12px; right:12px;
  width:36px; height:36px;
  background:#f1f5f9;
  border:2px solid #e2e8f0;
  border-radius:8px;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; color:#64748b;
  transition:all .2s; z-index:5;
}
.btn-toggle-form:hover{
  background:#dbeafe; border-color:var(--primary); color:var(--primary);
}

/* Expanded state: form takes full width, hide left info */
.form-wrapper.expanded{
  grid-template-columns:1fr;
}
.form-wrapper.expanded .form-info{
  display:none;
}
.form-wrapper.expanded .form-container{
  width:80%;
  max-width:100%;
  margin:0 auto;
}
/* Expand the parent container when form is expanded */
.contact.expanded .container{
  max-width:95%;
}
.form-group{ margin-bottom:24px; }
.form-group label{
  display:block; margin-bottom:10px;
  font-weight:600; color:var(--dark);
  font-size:14px;
}
.form-group input,
.form-group select,
.form-group textarea{
  width:100%;
  padding:14px 16px;
  border:2px solid #e2e8f0;
  border-radius:var(--radius);
  font-size:15px;
  font-family:'Inter',sans-serif;
  transition:all .3s ease;
  background:#fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 4px rgba(99,102,241,.1);
}
.form-group textarea{
  resize:vertical; min-height:120px;
}

.submit-button{
  width:100%;
  padding:18px;
  font-size:16px;
}

/* Form feedback */
.form-feedback{
  display:none;
  padding:16px; border-radius:var(--radius);
  margin-bottom:20px;
  font-size:14px; font-weight:500;
  text-align:center;
}
.form-feedback.success{
  display:block;
  background:rgba(16,185,129,.1);
  color:#059669; border:1px solid rgba(16,185,129,.3);
}
.form-feedback.error{
  display:block;
  background:rgba(239,68,68,.1);
  color:#dc2626; border:1px solid rgba(239,68,68,.3);
}

/* ── Multi-step form ───────────────────────── */
.form-step{ display:none; }
.form-step.active{ display:block; }
.form-step-header{
  font-size:18px; font-weight:700; color:var(--dark);
  margin-bottom:24px; padding-bottom:12px;
  border-bottom:2px solid #e2e8f0;
  display:flex; align-items:center; gap:10px;
}
.step-badge{
  background:var(--primary); color:#fff;
  font-size:12px; font-weight:700;
  padding:4px 10px; border-radius:20px;
}
.form-row-2col{
  display:grid; grid-template-columns:1fr 1fr; gap:16px;
}
/* Rows that become 2-col only when form is expanded */
.form-row-expand{
  display:grid; grid-template-columns:1fr; gap:16px;
}
.form-wrapper.expanded .form-row-expand{
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
}
@media(max-width:600px){
  .form-row-2col{ grid-template-columns:1fr; }
}
.form-nav-buttons{
  display:flex; gap:12px; margin-top:8px;
}
.btn-back{
  padding:14px 20px; border:2px solid #e2e8f0;
  background:#fff; border-radius:var(--radius);
  font-size:15px; font-weight:600; color:var(--dark);
  cursor:pointer; transition:all .3s ease;
}
.btn-back:hover{ border-color:var(--primary); color:var(--primary); }
.form-hint{
  display:block; font-size:12px; color:#94a3b8;
  margin-top:6px;
}
.submit-final{
  background:linear-gradient(135deg,#10b981,#059669);
}
.submit-final:hover{
  background:linear-gradient(135deg,#059669,#047857);
}

/* Recap box */
.recap-box{
  background:#f8fafc; border:1px solid #e2e8f0;
  border-radius:12px; padding:20px; margin-bottom:20px;
  font-size:14px; line-height:1.8;
}
.recap-box strong{ color:var(--dark); }
.recap-box .recap-row{
  display:flex; justify-content:space-between;
  padding:4px 0; border-bottom:1px solid #f1f5f9;
}
.recap-box .recap-row:last-child{ border-bottom:none; }
.recap-box .recap-label{ color:#64748b; }
.recap-box .recap-value{ font-weight:600; color:var(--dark); }

/* CGU section - Enhanced */
.cgu-lang-selector{
  display:flex; justify-content:center; gap:0;
  margin-bottom:16px;
}
.cgu-lang-btn{
  padding:8px 16px; border:2px solid #e2e8f0;
  background:#fff; cursor:pointer;
  font-size:13px; font-weight:600;
  transition:all .2s; display:flex; align-items:center; gap:5px;
}
.cgu-lang-btn:first-child{ border-radius:8px 0 0 8px; }
.cgu-lang-btn:last-child{ border-radius:0 8px 8px 0; }
.cgu-lang-btn:not(:last-child){ border-right:none; }
.cgu-lang-btn:hover{ background:#dbeafe; }
.cgu-lang-btn.active{
  background:var(--primary); color:#fff; border-color:var(--primary);
}

.cgu-scrollbox{
  background:#f8fafc; border:1px solid #e2e8f0;
  border-radius:12px; padding:20px;
  max-height:240px; overflow-y:auto;
  margin-bottom:14px; font-size:13px;
  line-height:1.7; color:#334155;
}
.cgu-scrollbox h4{
  font-size:14px; color:var(--primary);
  margin:14px 0 6px; font-weight:700;
}
.cgu-scrollbox h4:first-child{ margin-top:0; }
.cgu-scrollbox p{
  margin-bottom:8px; color:#64748b;
}
.cgu-scrollbox::-webkit-scrollbar{ width:5px; }
.cgu-scrollbox::-webkit-scrollbar-track{ background:#f1f5f9; border-radius:3px; }
.cgu-scrollbox::-webkit-scrollbar-thumb{ background:#cbd5e1; border-radius:3px; }

.btn-read-cgu{
  display:flex; align-items:center; justify-content:center;
  gap:8px; width:100%; padding:12px 20px;
  background:linear-gradient(135deg, #1a73e8, #1557b0);
  color:#fff; border:none; border-radius:10px;
  font-size:14px; font-weight:600; cursor:pointer;
  transition:all .3s; margin-bottom:16px;
  box-shadow:0 4px 12px rgba(26,115,232,.3);
}
.btn-read-cgu:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(26,115,232,.4);
}

.cgu-accept-box{
  display:flex; align-items:flex-start; gap:10px;
  background:#fefce8; border:1px solid #fde047;
  border-radius:10px; padding:14px 16px;
  margin-bottom:16px;
}
.cgu-accept-box input[type="checkbox"]{
  width:20px; height:20px; margin-top:2px;
  accent-color:var(--primary); flex-shrink:0; cursor:pointer;
}
.cgu-accept-box label{
  font-size:13px; color:#334155; line-height:1.5; cursor:pointer;
}

/* CGU Modal - Full screen overlay */
.cgu-modal-overlay{
  display:none; position:fixed; inset:0;
  background:rgba(0,0,0,.6); backdrop-filter:blur(4px);
  z-index:10000;
}
.cgu-modal-overlay.active{
  display:flex; align-items:center; justify-content:center;
}
.cgu-modal-box{
  background:#fff; width:100%; height:100vh;
  display:flex; flex-direction:column; overflow:hidden;
  animation:cguSlideUp .3s ease;
}
@keyframes cguSlideUp{
  from{ transform:translateY(30px); opacity:0; }
  to{ transform:translateY(0); opacity:1; }
}
.cgu-modal-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 24px; border-bottom:1px solid #e2e8f0;
  background:#f8fafc; gap:12px;
}
.cgu-modal-header h3{
  margin:0; font-size:1.1rem; color:#1f2937;
  display:flex; align-items:center; gap:8px;
  white-space:nowrap;
}
.cgu-modal-lang-btns{
  display:flex; gap:6px;
}
.cgu-modal-lang-btns .cgu-lang-btn{
  padding:6px 12px; font-size:12px;
}
.cgu-modal-close-btn{
  background:none; border:none; font-size:1.4rem;
  color:#64748b; cursor:pointer; padding:6px 10px;
  border-radius:8px; transition:all .2s;
}
.cgu-modal-close-btn:hover{
  background:#fee2e2; color:#ef4444;
}
.cgu-modal-body{
  flex:1; overflow:hidden;
}
.cgu-modal-body iframe{
  width:100%; height:100%; border:none;
}
.cgu-modal-footer{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 24px; border-top:1px solid #e2e8f0;
  background:#f8fafc; gap:12px;
}
.cgu-modal-footer .btn-back{ min-width:120px; }
.cgu-modal-footer .submit-button{ flex:1; max-width:320px; }

@media(max-width:768px){
  .cgu-modal-header{ flex-wrap:wrap; }
  .cgu-modal-footer{ flex-direction:column; }
  .cgu-modal-footer .submit-button{ max-width:100%; width:100%; }
  .cgu-modal-footer .btn-back{ width:100%; text-align:center; }
  .cgu-modal-lang-btns{ flex-wrap:wrap; }
  .cgu-lang-selector{ flex-wrap:wrap; justify-content:center; }
}

/* Steps indicator */
.form-steps-indicator{
  display:flex; align-items:center;
  justify-content:center; gap:0;
  margin-top:24px;
}
.step-dot{
  width:32px; height:32px; border-radius:50%;
  background:#e2e8f0; color:#94a3b8;
  display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:700;
  transition:all .3s ease;
}
.step-dot.active{
  background:var(--primary); color:#fff;
}
.step-dot.done{
  background:#10b981; color:#fff;
}
.step-line{
  width:40px; height:3px; background:#e2e8f0;
  transition:all .3s ease;
}
.step-line.done{ background:#10b981; }

/* ── Footer ────────────────────────────────── */
footer{
  background:var(--dark);
  color:#fff;
  padding:60px 0 30px;
}
.footer-content{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:60px;
  margin-bottom:40px;
}
.footer-brand h3{
  font-size:28px; font-weight:800;
  margin-bottom:16px;
  background:var(--gradient-text);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.footer-brand p{
  color:#94a3b8; line-height:1.8;
}
.footer-links h4{
  font-size:16px; font-weight:700;
  margin-bottom:16px;
}
.footer-links ul{
  list-style:none;
}
.footer-links ul li{
  margin-bottom:12px;
}
.footer-links ul li a{
  color:#94a3b8; transition:color .3s;
}
.footer-links ul li a:hover{
  color:#fff;
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding-top:30px;
  text-align:center;
  color:#64748b;
}

/* ── Animations ────────────────────────────── */
@keyframes pulse{
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.5; transform:scale(1.5); }
}
@keyframes fadeInUp{
  from{ opacity:0; transform:translateY(30px); }
  to{ opacity:1; transform:translateY(0); }
}

.animate-on-scroll{
  opacity:0; transform:translateY(30px);
  transition:all .6s ease;
}
.animate-on-scroll.visible{
  opacity:1; transform:translateY(0);
}

/* ── Mobile overlay nav ────────────────────── */
.mobile-nav-overlay{
  display:none;
  position:fixed; inset:0; z-index:999;
  background:rgba(15,23,42,.95);
  backdrop-filter:blur(20px);
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:24px;
}
.mobile-nav-overlay.open{ display:flex; }
.mobile-nav-overlay a{
  font-size:22px; font-weight:600;
  color:#fff; padding:12px 0;
  transition:color .2s;
}
.mobile-nav-overlay a:hover{ color:var(--primary); }
.mobile-nav-close{
  position:absolute; top:20px; right:24px;
  background:none; border:none; color:#fff;
  font-size:32px; cursor:pointer;
}

/* ── RESPONSIVE ────────────────────────────── */

/* Tablet (≤1024) */
@media (max-width:1024px){
  .hero-content{
    grid-template-columns:1fr;
    text-align:center;
  }
  .hero-text{ max-width:none; }
  .cta-group{ justify-content:center; }
  .hero-visual{ max-width:none; margin:0 auto; }

  .slider{
    aspect-ratio:16/10;
    max-height:58vh; min-height:220px;
  }

  .features-grid{ grid-template-columns:repeat(2,1fr); }
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-content{ grid-template-columns:1fr 1fr; }

  .nav-links{ display:none; }
  .nav-hamburger{ display:flex; }

  .hero-content{ grid-template-columns:1fr; }
}

/* Large mobile (≤768) */
@media (max-width:768px){
  .hero h1{ font-size:36px; }
  .hero p{ font-size:16px; }
  .cta-group{ flex-direction:column; }
  .btn-primary,.btn-secondary{ width:100%; justify-content:center; }

  .features-grid,
  .pricing-grid,
  .steps-container{ grid-template-columns:1fr; }
  .steps-container::before{ display:none; }

  .section-title{ font-size:32px; }
  .pricing-card.featured{ transform:scale(1); }

  .form-wrapper{ grid-template-columns:1fr; }
  .form-info{ position:static; }
  .stats-grid{ grid-template-columns:1fr; }
  .footer-content{ grid-template-columns:1fr; }
}

/* Small mobile (≤640) */
@media (max-width:640px){
  .container{ padding:0 14px; }
  nav{ gap:10px; }
  .logo-icon{ width:96px; }
  .nav-cta{ font-size:13px; padding:10px 12px; }
  .nav-login{ font-size:13px; padding:8px 12px; }

  .slider{
    aspect-ratio:16/11;
    max-height:52vh; min-height:200px;
  }

  .btn-primary,.btn-secondary,
  .nav-cta,.pricing-button,.submit-button{
    width:100%; justify-content:center; text-align:center;
  }

  .form-container{ padding:24px; }

  .hero{ padding:100px 0 60px; }
  .hero h1{ font-size:30px; }
  .stat-item h3{ font-size:36px; }
}

/* Very small (≤390) */
@media (max-width:390px){
  .logo-icon{ width:84px; }
  .nav-cta{ font-size:12px; padding:9px 10px; }
}

/* Extreme small (≤340) */
@media (max-width:340px){
  .nav-actions{
    flex-direction:column;
    align-items:stretch;
    gap:6px;
  }
  .nav-cta,.nav-login{
    width:100%; text-align:center;
  }
}
