/* ===========================
   ECO TEMPO — DESIGN ORGANIQUE
   =========================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-deep: #0d4a23;
  --bg: #050f07;
  --bg-2: #071a0d;
  --bg-3: #0a2213;
  --white: #f0faf3;
  --grey: #6b8f75;
  --max-w: 1120px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3 { font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-weight: 900; }
h1 em { font-style: normal; color: var(--green); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(135deg, #4ade80, #86efac, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   NAV
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(5,15,7,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(34,197,94,0.08);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { font-size: 20px; font-weight: 700; color: var(--white); }

.nav-cta {
  background: var(--green);
  color: #051009;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-cta:hover { background: #4ade80; transform: translateY(-1px); }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
}

.hero-pill {
  display: inline-block;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  color: #4ade80;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero h1 { font-size: clamp(34px, 4.5vw, 60px); margin-bottom: 20px; max-width: 560px; }

.hero-sub {
  font-size: 17px;
  color: rgba(240,250,243,0.92);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.8;
  text-shadow: 0 1px 12px rgba(0,0,0,0.8);
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }

.badge {
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* ===========================
   SIMULATEUR
   =========================== */
.simulator-card {
  background: rgba(10,34,19,0.7);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: 24px;
  padding: 36px 32px;
  backdrop-filter: blur(24px);
  box-shadow: 0 0 60px rgba(34,197,94,0.06), 0 40px 80px rgba(0,0,0,0.4);
}

.sim-header { margin-bottom: 28px; }

.sim-progress {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  margin-bottom: 10px;
  overflow: hidden;
}

.sim-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #16a34a, #4ade80);
  border-radius: 99px;
  transition: width 0.4s ease;
}

.sim-step-label { font-size: 12px; color: var(--grey); font-weight: 600; }

.sim-step { display: none; }
.sim-step.active { display: block; }

.sim-icon { font-size: 32px; margin-bottom: 12px; }

.sim-q {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.4;
}

.sim-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 0;
}

.sim-choices-2 {
  grid-template-columns: repeat(3, 1fr);
}

.sim-btn {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 10px;
  color: rgba(240,250,243,0.7);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.sim-btn:hover {
  border-color: rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.07);
  color: var(--white);
}

.sim-btn.selected {
  border-color: var(--green);
  background: rgba(34,197,94,0.14);
  color: var(--white);
  box-shadow: 0 0 14px rgba(34,197,94,0.18);
}

.sim-inputs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.sim-inputs input {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--white);
  font-size: 15px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.sim-inputs input::placeholder { color: rgba(255,255,255,0.3); }
.sim-inputs input:focus { border-color: rgba(34,197,94,0.4); }

.sim-submit {
  width: 100%;
  padding: 17px;
  background: linear-gradient(135deg, #16a34a, #22c55e, #4ade80);
  background-size: 200%;
  border: none;
  border-radius: 12px;
  color: #051009;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.3s;
  box-shadow: 0 0 30px rgba(34,197,94,0.2);
}

.sim-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(34,197,94,0.35);
}

.rgpd-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  cursor: pointer;
}

.rgpd-check input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--green);
  cursor: pointer;
}

.rgpd-check span {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

.rgpd-check span a {
  color: var(--green);
  text-decoration: underline;
}

.sim-legal {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  text-align: center;
  margin-top: 12px;
}

/* Succès */
#step-success { text-align: center; padding: 12px 0; }
.success-anim { font-size: 52px; margin-bottom: 16px; }
#step-success h3 { font-size: 22px; margin-bottom: 12px; }
#step-success p { color: var(--grey); font-size: 15px; }

.success-recap {
  margin-top: 20px;
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 12px;
  padding: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-align: left;
  line-height: 2;
}

/* ===========================
   TRUST BAR
   =========================== */
.trust-bar {
  background: var(--bg-2);
  border-top: 1px solid rgba(34,197,94,0.08);
  border-bottom: 1px solid rgba(34,197,94,0.08);
  padding: 28px 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.trust-stat strong { font-size: 28px; font-weight: 900; }
.trust-stat span { font-size: 13px; color: var(--grey); }
.trust-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.06); }

/* ===========================
   SECTIONS
   =========================== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-2); }

.section-header { margin-bottom: 64px; }
.section-header h2 { font-size: clamp(26px, 3.5vw, 46px); margin-bottom: 14px; }
.section-header p { font-size: 17px; color: var(--grey); max-width: 520px; }

.section-eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.85;
}

/* ===========================
   PROCESS
   =========================== */
.process-list { display: flex; flex-direction: column; gap: 0; }

.process-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
}

.process-item:last-child { border-bottom: none; }
.process-item:hover { padding-left: 12px; }

.process-num {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #22c55e20, #22c55e40);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}

.process-content h3 { font-size: 20px; margin-bottom: 10px; }
.process-content p { color: var(--grey); font-size: 15px; line-height: 1.7; }

/* ===========================
   AIDES
   =========================== */
.aides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.aide-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(34,197,94,0.04);
  border: 1px solid rgba(34,197,94,0.12);
  border-radius: 18px;
  padding: 28px 24px;
  transition: all 0.3s;
}

.aide-card:hover {
  border-color: rgba(34,197,94,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(34,197,94,0.08);
}

.aide-icon { font-size: 32px; flex-shrink: 0; }
.aide-body h3 { font-size: 17px; margin-bottom: 6px; }
.aide-amount { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.aide-body p { color: var(--grey); font-size: 14px; line-height: 1.6; }

/* ===========================
   REVIEWS
   =========================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.review {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 28px 24px;
  transition: border-color 0.3s;
}

.review:hover { border-color: rgba(34,197,94,0.2); }

.review-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #4ade80);
  color: #051009;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-top strong { display: block; font-size: 15px; }
.review-stars { font-size: 13px; }
.review p { color: rgba(240,250,243,0.65); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.review-location { font-size: 13px; color: var(--grey); }

/* ===========================
   FAQ
   =========================== */
.faq-container { max-width: 720px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.faq-q:hover { color: var(--green); }
.faq-icon { color: var(--green); font-size: 20px; transition: transform 0.3s; flex-shrink: 0; }
.faq-q.active .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 22px; color: var(--grey); font-size: 15px; line-height: 1.8; }
.faq-a.open { display: block; }

/* ===========================
   CTA FINAL
   =========================== */
.cta-section { padding: 80px 0; }

.cta-box {
  position: relative;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: 28px;
  padding: 72px 60px;
  text-align: center;
  overflow: hidden;
}

#cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.4;
  pointer-events: none;
}

.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: clamp(26px, 4vw, 48px); margin-bottom: 16px; }
.cta-content p { font-size: 16px; color: var(--grey); margin-bottom: 36px; }

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #051009;
  font-size: 17px;
  font-weight: 800;
  padding: 18px 48px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 40px rgba(34,197,94,0.2);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 50px rgba(34,197,94,0.35);
  text-decoration: none;
  color: #051009;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--bg-2);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.2);
}

.footer-brand { font-size: 16px; color: rgba(255,255,255,0.4); }
.footer a { color: rgba(34,197,94,0.4); text-decoration: none; }

/* ===========================
   ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .simulator-card { max-width: 100%; }
  .trust-divider { display: none; }
  .trust-bar-inner { gap: 16px; }
  .trust-stat strong { font-size: 24px; }
  .aides-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 0 16px; }
  .logo { font-size: 17px; }
  .nav-cta { font-size: 13px; padding: 8px 16px; }

  .hero { padding: 90px 0 50px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .hero-pill { font-size: 11px; padding: 5px 12px; }
  .hero-badges { gap: 7px; }
  .badge { font-size: 12px; padding: 6px 11px; }

  .simulator-card { padding: 24px 18px; border-radius: 16px; }
  .sim-q { font-size: 16px; }
  .sim-choices { grid-template-columns: 1fr 1fr; }
  .sim-choices-2 { grid-template-columns: repeat(3, 1fr); }
  .sim-btn { font-size: 13px; padding: 12px 8px; }
  .sim-submit { font-size: 15px; padding: 15px; }

  .section { padding: 70px 0; }
  .section-header { margin-bottom: 48px; }
  .section-header h2 { font-size: 26px; }
  .section-header p { font-size: 15px; }

  .trust-bar { padding: 20px 0; }
  .trust-bar-inner { justify-content: center; gap: 20px; }
  .trust-stat strong { font-size: 22px; }
  .trust-stat span { font-size: 12px; }

  .process-item { grid-template-columns: 50px 1fr; gap: 16px; padding: 24px 0; }
  .process-num { font-size: 40px; }
  .process-content h3 { font-size: 17px; }

  .aides-grid { grid-template-columns: 1fr; }
  .aide-card { padding: 22px 18px; }

  .cta-box { padding: 48px 20px; border-radius: 20px; }
  .cta-content h2 { font-size: 24px; }
  .cta-btn { font-size: 15px; padding: 15px 28px; }

  .footer-inner { flex-direction: column; text-align: center; }

  .faq-q { font-size: 15px; padding: 18px 0; }
  .faq-a { font-size: 14px; }

  .review { padding: 22px 18px; }
}
