/* ═══════════════════════════════════════════
   Clim-Alert Landing Page — site.css
   Fichier CSS dédié à la landing marketing.
   Ne pas modifier styles.css (pages légales).
   ═══════════════════════════════════════════ */

/* ---------- Variables ---------- */
:root {
  /* Palette principale */
  --bleu:       #0064D2;
  --bleu-light: #0A8BFF;
  --orange:     #FD4F01;
  --orange-light:#FF8A00;
  --cyan:       #26D8F4;
  --cyan-light: #00BEE6;
  --white:      #FFFFFF;
  --white-dim:  rgba(255,255,255,.72);

  /* Fond & surfaces */
  --bg-deep:    #07111F;
  --bg-mid:     #0A1526;
  --bg-top:     #081426;
  --bg-accent:  #0A1B33;
  --surface:    rgba(10,21,38,.72);
  --surface-border: rgba(38,216,244,.12);

  /* Typo */
  --font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fw-black: 900;
  --fw-extra: 800;

  /* Rayons */
  --r-card: 22px;
  --r-pill:  999px;
  --r-btn:   16px;

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-deep) 35%, var(--bg-mid) 65%, var(--bg-accent) 100%);
  background-attachment: fixed;
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: none; cursor: pointer; background: none; color: inherit; }

/* ---------- Particules ambiantes ---------- */
.particles {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.particle {
  position: absolute;
  width: var(--size, 4px);
  height: var(--size, 4px);
  border-radius: 50%;
  background: var(--p-color, rgba(38,216,244,.35));
  filter: blur(var(--blur, 1px));
  animation: float var(--dur, 18s) var(--delay, 0s) linear infinite;
  opacity: 0;
}
@keyframes float {
  0%   { transform: translateY(110vh) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: var(--op, .5); }
  90%  { opacity: var(--op, .5); }
  100% { transform: translateY(-10vh) translateX(var(--drift, 30px)) scale(.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .particles, .particle { animation: none !important; opacity: 0 !important; display: none; }
}

/* ---------- Glow flottants ---------- */
.glow-orb {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(90px); opacity: .18;
}
.glow-orb--blue   { width: 420px; height: 420px; background: var(--bleu); top: -120px; left: -100px; }
.glow-orb--orange { width: 360px; height: 360px; background: var(--orange); bottom: 10%; right: -80px; }
.glow-orb--cyan   { width: 300px; height: 300px; background: var(--cyan); top: 40%; left: 50%; }

/* ---------- Header sticky ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7,17,31,.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(38,216,244,.08);
  transition: background .3s var(--ease);
}
.nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px; font-weight: var(--fw-extra); font-size: 1.15rem;
}
.brand img { height: 36px; width: auto; }
.nav-links {
  display: flex; gap: 28px; font-size: .92rem; font-weight: 600;
}
.nav-links a {
  position: relative; padding: 4px 0; transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--bleu), var(--cyan));
  border-radius: 2px; transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a:hover::after { width: 100%; }

/* CTA header */
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--bleu), var(--bleu-light));
  font-weight: 700; font-size: .88rem; color: var(--white);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 4px 20px rgba(0,100,210,.35);
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,100,210,.45); }

/* Burger mobile */
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s var(--ease); }
@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: center; gap: 0;
    background: rgba(7,17,31,.95); backdrop-filter: blur(20px);
    padding: 12px 0 24px; transform: translateY(-120%);
    transition: transform .35s var(--ease);
    border-bottom: 1px solid var(--surface-border);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; font-size: 1rem; width: 100%; text-align: center; }
  .nav-links a::after { display: none; }
  .header-cta { margin-top: 8px; }
}

/* ---------- Container / layout ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
section { position: relative; padding: 90px 0; }

/* ---------- Reveal au scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Fallback : sans JS, tout reste visible */
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); padding: 6px 18px; border-radius: var(--r-pill);
  border: 1px solid rgba(38,216,244,.2); background: rgba(38,216,244,.06);
}
.eyebrow::before, .eyebrow::after {
  content: ''; width: 20px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan));
}
.eyebrow::after { background: linear-gradient(90deg, var(--cyan), transparent); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 60px; overflow: hidden;
}
.hero-logo {
  width: 100%; max-width: 520px; margin-bottom: 32px;
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-12px) scale(1.018); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo { animation: none; }
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: var(--fw-black); line-height: 1.12; margin-bottom: 28px;
}
.hero h1 .accent { color: var(--orange); }

/* Pillules */
.pills { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 700; letter-spacing: .06em;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.pill-dot--blue  { background: var(--bleu); box-shadow: 0 0 8px var(--bleu); }
.pill-dot--orange{ background: var(--orange); box-shadow: 0 0 8px var(--orange); }

.slogan-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  font-size: .88rem; font-weight: 600; margin-bottom: 36px;
}
.slogan-pill .blue { color: var(--bleu-light); }
.slogan-pill .orange { color: var(--orange); }

/* Hero CTA */
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 34px; border-radius: var(--r-btn);
  font-weight: 700; font-size: 1rem; transition: all .28s var(--ease);
}
.btn--primary {
  background: linear-gradient(135deg, var(--bleu), var(--bleu-light));
  box-shadow: 0 6px 28px rgba(0,100,210,.4);
  color: var(--white);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(0,100,210,.5); }
.btn--outline {
  border: 2px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); color: var(--white);
}
.btn--outline:hover { border-color: var(--cyan); background: rgba(38,216,244,.08); }
.btn--warm {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  box-shadow: 0 6px 28px rgba(253,79,1,.4); color: var(--white);
}
.btn--warm:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(253,79,1,.5); }
.btn--white {
  background: var(--white); color: var(--bg-deep); font-weight: 800;
}
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(255,255,255,.25); }
.btn--sm { padding: 12px 24px; font-size: .88rem; border-radius: 14px; }

/* ---------- Bannière 1 € ---------- */
.banner-1e {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: var(--r-card);
  padding: 48px 36px;
  border: 1px solid rgba(255,138,0,.3);
  box-shadow: 0 0 60px rgba(253,79,1,.2), inset 0 1px 0 rgba(255,255,255,.15);
}
.banner-1e::before {
  content: ''; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, var(--orange), var(--orange-light), var(--orange));
  filter: blur(18px); opacity: .45;
}
.banner-badge {
  display: inline-block;
  padding: 6px 20px; border-radius: var(--r-pill);
  background: rgba(0,0,0,.25); font-weight: var(--fw-extra); font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.15);
}
.banner-1e h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: var(--fw-extra); margin-bottom: 12px; }
.banner-1e p { font-size: .95rem; opacity: .92; margin-bottom: 24px; max-width: 640px; }
.banner-disclaimer {
  display: block; margin-top: 14px; font-size: .76rem; opacity: .7; max-width: 560px;
}
@media (max-width: 600px) {
  .banner-1e { padding: 32px 20px; }
}

/* ---------- Section Comment ça marche ---------- */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 28px; align-items: flex-start; padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  counter-increment: step;
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bleu), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: var(--fw-black);
  box-shadow: 0 4px 20px rgba(0,100,210,.35);
}
.step-content h3 { font-size: 1.15rem; font-weight: var(--fw-extra); margin-bottom: 6px; }
.step-content p { font-size: .92rem; color: var(--white-dim); max-width: 520px; }
@media (max-width: 600px) {
  .step { flex-direction: column; gap: 14px; }
}

/* ---------- Section Pros ---------- */
.pros-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
}
.pros-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--r-card);
  padding: 32px 28px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.pros-card:hover { transform: translateY(-4px); border-color: rgba(38,216,244,.25); }
.pros-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px;
}
.pros-icon--blue   { background: linear-gradient(135deg, var(--bleu), var(--cyan)); box-shadow: 0 4px 16px rgba(0,100,210,.3); }
.pros-icon--orange { background: linear-gradient(135deg, var(--orange), var(--orange-light)); box-shadow: 0 4px 16px rgba(253,79,1,.3); }
.pros-card h3 { font-size: 1.05rem; font-weight: var(--fw-extra); margin-bottom: 8px; }
.pros-card p { font-size: .88rem; color: var(--white-dim); line-height: 1.6; }

/* Badges */
.badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: rgba(38,216,244,.08); border: 1px solid rgba(38,216,244,.15);
  font-size: .78rem; font-weight: 600; color: var(--cyan);
}

/* ---------- Section Aides / confiance ---------- */
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
}
.trust-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--r-card);
  padding: 36px 28px; text-align: center;
  transition: transform .3s var(--ease);
}
.trust-card:hover { transform: translateY(-4px); }
.trust-icon {
  width: 64px; height: 64px; border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--bleu), var(--cyan-light));
  box-shadow: 0 6px 24px rgba(0,100,210,.3);
}
.trust-card h3 { font-size: 1rem; font-weight: var(--fw-extra); margin-bottom: 8px; }
.trust-card p { font-size: .88rem; color: var(--white-dim); }
.trust-links {
  display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 28px;
}
.trust-links a {
  font-size: .85rem; font-weight: 600; color: var(--cyan);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.trust-links a:hover { border-color: var(--cyan); }

/* ---------- Section Télécharger ---------- */
.download-section {
  background: radial-gradient(ellipse at center, rgba(0,100,210,.12) 0%, transparent 70%);
}
.download-wrap {
  text-align: center;
}
.download-wrap h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: var(--fw-extra); margin-bottom: 12px; }
.download-wrap p { color: var(--white-dim); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.store-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font-size: .88rem; font-weight: 700; transition: all .28s var(--ease);
}
.store-badge:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.store-badge--soon { opacity: .5; pointer-events: none; }
.store-badge svg { width: 22px; height: 22px; fill: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; z-index: 1;
  text-align: center; padding: 48px 24px 32px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .82rem; color: var(--white-dim);
}
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.footer-links a { transition: color .25s; }
.footer-links a:hover { color: var(--cyan); }
.footer-mentions { font-size: .74rem; opacity: .55; margin-top: 10px; }

/* ---------- Utilitaire ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-sm { margin-top: 16px; }
.mb-lg { margin-bottom: 40px; }
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: var(--fw-extra);
  margin-bottom: 12px;
}
.section-sub { color: var(--white-dim); margin-bottom: 40px; max-width: 540px; }
