/* ─── RESET & BASE ─── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{
  font-family:'DM Sans',sans-serif;
  background:#08100E;
  color:#E8F5F1;
  overflow-x:hidden;
  line-height:1.6;
}

/* ─── VARIABLES ─── */
:root{
  --green:#1FBF87;
  --green-light:#5DDAAE;
  --green-dark:#0F6E56;
  --green-bg:#0E1F1A;
  --surface:#0D1C17;
  --surface2:#132920;
  --border:rgba(31,191,135,0.15);
  --border-strong:rgba(31,191,135,0.35);
  --text:#E8F5F1;
  --text-muted:#7BA898;
  --text-dim:#4A7264;
  --radius:12px;
  --radius-lg:20px;
}

/* ─── NOISE + GRID ─── */
body::before{
  content:'';position:fixed;inset:0;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events:none;z-index:0;opacity:0.4;
}
body::after{
  content:'';position:fixed;inset:0;
  background-image:
    linear-gradient(rgba(31,191,135,0.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(31,191,135,0.04) 1px,transparent 1px);
  background-size:60px 60px;
  pointer-events:none;z-index:0;
}

/* ─── NAV ─── */
nav{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  display:flex;align-items:center;justify-content:space-between;
  padding:1rem 2.5rem;
  background:rgba(8,16,14,0.88);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
}
.nav-logo{
  font-family:'Syne',sans-serif;font-weight:700;font-size:20px;
  color:var(--text);display:flex;align-items:center;gap:10px;text-decoration:none;
}
.nav-logo-mark{
  width:28px;height:28px;border-radius:8px;background:var(--green);
  display:flex;align-items:center;justify-content:center;
}
.nav-links{display:flex;align-items:center;gap:2rem}
.nav-links a{
  font-size:14px;color:var(--text-muted);text-decoration:none;transition:color .2s;
}
.nav-links a:hover,.nav-links a.active{color:var(--green)}
.nav-cta{
  font-family:'Syne',sans-serif;font-size:13px;font-weight:600;
  padding:9px 20px;background:var(--green);color:#08100E;
  border:none;border-radius:8px;cursor:pointer;transition:all .2s;
  text-decoration:none;display:inline-block;
}
.nav-cta:hover{background:var(--green-light);transform:translateY(-1px)}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px}
.hamburger span{display:block;width:22px;height:2px;background:var(--text);border-radius:2px;transition:all .3s}

/* ─── WRAP ─── */
.wrap{position:relative;z-index:1}

/* ─── PAGE HERO (sous-pages) ─── */
.page-hero{
  padding:9rem 2rem 4rem;text-align:center;
}
.page-hero .section-label{margin-bottom:.75rem}
.page-hero h1{
  font-family:'Syne',sans-serif;font-size:clamp(36px,5vw,64px);
  font-weight:700;line-height:1.1;color:var(--text);margin-bottom:1rem;
}
.page-hero h1 .accent{color:var(--green);text-shadow:0 0 30px rgba(31,191,135,.3)}
.page-hero p{
  font-size:17px;font-weight:300;color:var(--text-muted);
  max-width:520px;margin:0 auto;line-height:1.7;
}

/* ─── SHARED ─── */
section{padding:5rem 2rem}
.section-label{
  font-size:11px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--green);margin-bottom:.75rem;font-weight:500;display:block;
}
.section-title{
  font-family:'Syne',sans-serif;font-size:clamp(26px,4vw,42px);
  font-weight:700;color:var(--text);line-height:1.15;margin-bottom:1rem;
}
.section-sub{
  font-size:16px;font-weight:300;color:var(--text-muted);
  max-width:520px;line-height:1.7;
}
.section-head{margin-bottom:3rem}
.container{max-width:1100px;margin:0 auto}
.text-center{text-align:center}
.mx-auto{margin-left:auto;margin-right:auto}

/* ─── BUTTONS ─── */
.btn-main{
  font-family:'Syne',sans-serif;font-weight:600;font-size:15px;
  padding:13px 30px;border-radius:10px;
  background:var(--green);color:#08100E;border:none;cursor:pointer;
  transition:all .2s;text-decoration:none;display:inline-block;
}
.btn-main:hover{background:var(--green-light);transform:translateY(-2px);box-shadow:0 8px 24px rgba(31,191,135,.25)}
.btn-ghost{
  font-family:'Syne',sans-serif;font-weight:600;font-size:15px;
  padding:12px 30px;border-radius:10px;background:transparent;color:var(--text);
  border:1px solid var(--border-strong);cursor:pointer;transition:all .2s;
  text-decoration:none;display:inline-block;
}
.btn-ghost:hover{border-color:var(--green);color:var(--green);transform:translateY(-2px)}

/* ─── CARDS ─── */
.card{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:2rem;
  transition:border-color .25s,transform .25s;
}
.card:hover{border-color:var(--border-strong);transform:translateY(-4px)}
.card-icon{
  width:48px;height:48px;border-radius:12px;
  border:1px solid var(--border-strong);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.25rem;background:rgba(31,191,135,0.08);
}
.card h3{font-family:'Syne',sans-serif;font-size:17px;font-weight:600;color:var(--text);margin-bottom:.5rem}
.card p{font-size:14px;color:var(--text-muted);line-height:1.65}

/* ─── GRID LAYOUTS ─── */
.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}
.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem}
.grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}

/* ─── DARK SECTION ─── */
.section-dark{background:var(--green-bg)}

/* ─── CTA BAND ─── */
.cta-band{
  background:var(--green-bg);border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:4rem 2rem;text-align:center;
}
.cta-band h2{font-family:'Syne',sans-serif;font-size:clamp(24px,3vw,38px);font-weight:700;color:var(--text);margin-bottom:1rem}
.cta-band p{color:var(--text-muted);font-size:15px;margin-bottom:2rem;max-width:460px;margin-left:auto;margin-right:auto}

/* ─── CHECK LIST ─── */
.check-list{list-style:none;display:flex;flex-direction:column;gap:.75rem;margin-bottom:2rem}
.check-list li{font-size:14px;color:var(--text-muted);display:flex;align-items:center;gap:10px}
.check-icon{
  width:18px;height:18px;border-radius:50%;
  background:rgba(31,191,135,.15);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}

/* ─── DIVIDER ─── */
.divider{height:1px;background:var(--border);margin:2rem 0}

/* ─── AFFIL NOTICE ─── */
.affil-notice{
  text-align:center;margin-top:2rem;font-size:12px;color:var(--text-dim);
  border:1px dashed var(--border);border-radius:10px;padding:1rem;line-height:1.6;
}
.affil-notice a{color:var(--green);text-decoration:none}
.affil-notice strong{color:var(--green)}

/* ─── FOOTER ─── */
footer{
  border-top:1px solid var(--border);padding:2.5rem 2.5rem;
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:1rem;position:relative;z-index:1;
}
.footer-brand{font-family:'Syne',sans-serif;font-size:16px;font-weight:700;display:flex;align-items:center;gap:8px;color:var(--text)}
.footer-links{display:flex;gap:1.5rem;flex-wrap:wrap}
.footer-links a{font-size:13px;color:var(--text-muted);text-decoration:none;transition:color .2s}
.footer-links a:hover{color:var(--green)}
.footer-note{font-size:12px;color:var(--text-dim)}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
.reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

/* ─── MOBILE ─── */
@media(max-width:768px){
  nav{padding:1rem 1.25rem}
  .nav-links{
    display:none;position:fixed;inset:0;top:62px;
    flex-direction:column;align-items:center;justify-content:center;
    background:rgba(8,16,14,.98);z-index:999;gap:2rem;
  }
  .nav-links.open{display:flex}
  .nav-links a{font-size:20px}
  .hamburger{display:flex}
  .nav-cta{display:none}
  section{padding:3.5rem 1.25rem}
  .page-hero{padding:7rem 1.25rem 3rem}
  footer{flex-direction:column;text-align:center;padding:1.5rem}
  .footer-links{justify-content:center}
}
