/* ======================================================
   CODEX – CSS GLOBAL STAGING (STABLE / 2026)
====================================================== */

/* ======================
   VARIABLES
====================== */

:root{
  --text:#111;
  --muted:#666;
  --soft:#f5f6f8;
  --border:#e6e6e6;
  --max:1100px;
}

/* ======================
   RESET / BASE
====================== */

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,Inter,system-ui,sans-serif;
  color:var(--text);
  line-height:1.7;
  background:#fff;
}

a{
  color:inherit;
  text-decoration:none;
}

/* ======================
   CONTAINER
====================== */

.container{
  width:100%;
  max-width:var(--max);
  margin-left:auto;
  margin-right:auto;
  padding-left:clamp(18px,5vw,40px);
  padding-right:clamp(18px,5vw,40px);
}

/* ======================
   HEADER / NAV
====================== */

.site-header{
  position:sticky;
  top:0;
  background:#fff;
  border-bottom:1px solid var(--border);
  z-index:9999;
}

.nav-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:0 24px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  font-weight:700;
  letter-spacing:1px;
  font-size:18px;
}

.nav-links{
  display:flex;
  gap:26px;
  align-items:center;
}

.nav-links a{
  font-size:14px;
  color:#222;
  opacity:.85;
}

.nav-links a:hover{
  opacity:1;
}

/* ======================
   BURGER
====================== */

.burger{
  display:none;
  font-size:26px;
  background:none;
  border:none;
  cursor:pointer;
  z-index:10000;
  pointer-events:auto;
}

/* ======================
   HERO
====================== */

.hero{
  padding:120px 0 100px;
  position:relative;
  z-index:1;
}

.hero-inner{
  max-width:720px;
}

.hero h1{
  font-size:54px;
  line-height:1.1;
  margin-bottom:24px;
}

.hero p{
  font-size:19px;
  color:var(--muted);
}

/* ======================
   SECTIONS
====================== */

section{
  padding:60px 0;
  position:relative;
  z-index:1;
}

.section-soft{
  background:var(--soft);
}

/* ======================
   TEXT
====================== */

h2{
  font-size:28px;
  margin-bottom:16px;
}

p{
  margin-bottom:16px;
  max-width:720px;
}

ul{
  max-width:720px;
  padding-left:20px;
}

li{
  margin-bottom:8px;
}

.muted{
  color:var(--muted);
  font-size:14px;
}

/* ======================
   BUTTONS (SMOOTH)
====================== */

.btn{
  display:inline-block;
  margin-top:36px;
  background:#111;
  color:#fff;
  padding:16px 34px;
  border-radius:14px;
  font-size:15px;
  font-weight:500;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background-color .18s ease;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(0,0,0,.18);
  background:#000;
}

.btn:active{
  transform:translateY(0);
  box-shadow:0 6px 14px rgba(0,0,0,.16);
}

/* ======================
   VERIFY – EXPLANATION
====================== */

.verify-explain{
  margin-top:40px;
  margin-bottom:60px;
}

.verify-explain h3{
  font-size:20px;
  margin-bottom:14px;
}

.verify-explain p{
  color:#555;
}

/* ======================
   PARTNER / PRO BLOCK
====================== */

.partner-section{
  background:var(--soft);
  padding:80px 0;
}

.partner-block{
  background:#fff;
  border-radius:16px;
  padding:48px;
  border:1px solid var(--border);
}

.partner-highlight{
  margin:32px 0;
  padding:28px;
  background:#f5f6f8;
  border-radius:12px;
}

.partner-highlight strong{
  font-size:34px;
  display:block;
  line-height:1.1;
}

.partner-details{
  color:#555;
  max-width:720px;
}

/* ======================
   FOOTER
====================== */

.site-footer{
  margin-top:80px;
  border-top:1px solid var(--border);
  padding:40px 0;
  font-size:14px;
  color:#777;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:32px;
}

.micro{
  font-size:12px;
  color:#888;
}

/* ======================
   MOBILE
====================== */

@media (max-width:768px){

  .burger{
    display:block;
  }

  .nav-links{
    position:fixed;
    inset:0;
    background:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:32px;
    font-size:22px;
    transform:translateY(-100%);
    transition:transform .35s ease;
    z-index:9998;
  }

  .nav-links.show{
    transform:translateY(0);
  }

  .hero{
    padding:80px 0 60px;
  }

  .hero h1{
    font-size:36px;
  }

  .hero-inner,
  .partner-block{
    padding-left:20px;
    padding-right:20px;
  }

  .partner-block{
    padding:28px 20px;
  }

  .partner-highlight strong{
    font-size:28px;
  }
}

/* ===== FOOTER LAYOUT FIX ===== */

.footer{
  margin-top:80px;
  padding:60px 20px 30px;
  background:#f6f6f6;
  font-size:15px;
  color:#555;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:40px;
  max-width:1100px;
  margin:auto;
}

.footer-links a{
  color:#555;
  text-decoration:none;
  line-height:1.9;
}

.footer-links a:hover{
  text-decoration:underline;
}

.footer-bottom{
  text-align:center;
  margin-top:40px;
  font-size:14px;
  color:#888;
}

/* =========================
   FORM GRID – stable pro
========================= */
/* =========================
   FORM GRID PRO (affiliate)
========================= */

.form-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:14px;
  margin-top:22px;
  max-width:900px;
}

.form-grid input{
  width:100%;
  padding:13px 14px;
  font-size:15px;
  border:1px solid #dcdcdc;
  border-radius:8px;
  background:#fff;
  transition:.15s;
}

.form-grid input:focus{
  outline:none;
  border-color:#111;
  box-shadow:0 0 0 2px rgba(0,0,0,.05);
}

/* bouton pleine largeur */
.form-grid button{
  grid-column: 1 / -1;
  padding:15px 20px;
  border-radius:10px;
  background:#111;
  color:#fff;
  font-weight:600;
  border:none;
  cursor:pointer;
  font-size:16px;
}

.form-grid button:hover{
  opacity:.92;
}

/* notes */
.form-note{
  grid-column: 1 / -1;
  font-size:13px;
  color:#666;
}

.form-help{
  grid-column: 1 / -1;
  font-size:13px;
  color:#777;
  line-height:1.5;
}

/* mobile */
@media(max-width:640px){
  .form-grid button{
    grid-column: span 1;
  }
}
