/* ======================================================
   CODEX 2 – 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 – DESKTOP
====================== */

.site-header{
  background:#fff;
  border-bottom:1px solid var(--border);
}

.site-header .nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}

.site-header .logo{
  font-weight:700;
  font-size:18px;
  letter-spacing:.04em;
}

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

.nav-links a{
  font-size:15px;
  color:#222;
}

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

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

.burger{
  display:none;
  font-size:26px;
  background:none;
  border:none;
  cursor:pointer;
}

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

@media (max-width:768px){

  .burger{
    display:block;
  }

  .nav-links{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:32px;
    font-size:18px;
    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
====================== */

.hero{
  padding:120px 0 100px;
}

.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);
  max-width:720px;
}

/* ======================
   PAGES LONGUES
====================== */

body.pricing .hero-inner,
body.process .hero-inner,
body.verify .hero-inner{
  max-width:1100px;
}

body.pricing .hero p,
body.process .hero p,
body.verify .hero p{
  max-width:900px;
}

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

section{
  padding:60px 0;
}

.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
====================== */

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

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

.btn.ghost{
  background:#222;
}

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

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

/* ======================
   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);
}

/* ======================
   PRO – MAIN LAYOUT
====================== */

.pro-main{
  max-width:880px;
  margin:60px auto;
  padding:0 20px;
  text-align:center;
}

.pro-main h1{
  font-size:36px;
  margin-bottom:30px;
}

.pro-main .card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:36px;
}

.pro-main hr{
  margin:60px 0;
}

/* ======================
   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;
}

.footer-links a{
  line-height:1.9;
}

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


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

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

/* ======================
   CENTERED CONTENT FIX
====================== */

.centered,
.centered p,
.centered ul,
.centered li{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

.centered ul{
  padding-left:0;
  list-style:none;
}


/* ======================
   HEADER ALIGNMENT FIX
====================== */

.site-header .nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
}

.site-header nav{
  display:flex;
  align-items:center;
  gap:26px;
  white-space:nowrap;
}

.pro-main{
  max-width:880px;
  margin:80px auto;
  text-align:center;
}

.pro-card{
  margin-top:40px;
  padding:40px;
}

.pro-intro{
  margin-bottom:18px;
}

.pro-list{
  list-style:none;
  padding:0;
  margin:20px auto;
  max-width:520px;
}

.pro-list li{
  margin-bottom:8px;
}

.pro-link{
  font-weight:600;
  margin-bottom:20px;
}

.pro-actions{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:20px;
}

.pro-balance{
  font-size:36px;
  font-weight:700;
  margin:20px 0;
}

.pro-upload{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:20px;
}

/* ===== HEADER ALIGN FIX (FR ONLY) ===== */

.nav-inner{
  max-width:1100px;
  margin-left:auto;
  margin-right:auto;
  padding-left:24px;
  padding-right:24px;
}

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

/* ======================
   PRICING SPACING
====================== */

.pricing-table {
  margin-top: 40px;
  border-collapse: separate;
  border-spacing: 0 18px; /* espace entre les lignes */
}

.pricing-table td {
  padding: 14px 10px;
  font-size: 17px;
}

.pricing-table strong {
  font-size: 20px;
}

.section-soft h2 {
  margin-bottom: 24px;
}

.section-soft p {
  margin-bottom: 22px;
  line-height: 1.7;
}


/* ======================
   CODEX HERO (HOME)
====================== */

.codex-hero{
  text-align:center;
  padding:100px 16px 60px;
}

.codex-hero .container{
  max-width:880px;
  margin:0 auto;
}

.codex-hero h1{
  font-size:38px;
  margin-bottom:14px;
  line-height:1.2;
}

.codex-hero .hero-sub{
  font-size:17px;
  color:#666;
  margin-bottom:32px;
  line-height:1.5;
}

/* ======================
   ACTIONS PRINCIPALES
====================== */

.codex-actions{
  margin-top:40px;
  display:flex;
  gap:20px;
  justify-content:center;
  flex-wrap:wrap;
}

.codex-card{
  width:280px;
  padding:28px;
  border-radius:18px;
  border:1px solid #eaeaea;
  background:#ffffff;
  text-align:center;
  text-decoration:none;
  color:#111;
  display:block;

  box-shadow:0 2px 8px rgba(0,0,0,0.04);
  transition:all .2s ease;
}

.codex-card:hover{
  border-color:#ccc;
  background:#fafafa;
  transform:translateY(-3px);
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

/* CARD PRINCIPALE (BLEU) */

.codex-card.primary{
  border-color:#3b5ccc;
  background:#3b5ccc;
  color:#fff;
}

.codex-card.primary .codex-card-desc{
  color:#e6e9ff;
}

.codex-card.primary:hover{
  background:#2f4db3;
  border-color:#2f4db3;
}

/* TEXTE */

.codex-card-title{
  font-size:18px;
  font-weight:600;
  margin-bottom:10px;
}

.codex-card-desc{
  font-size:14px;
  color:#666;
  line-height:1.5;
}

html {
  scroll-behavior: smooth;
}

/* ======================
   CHIPS (EXEMPLES)
====================== */

.codex-chips{
  margin-top:30px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}

.chip{
  padding:8px 14px;
  border:1px solid #ddd;
  border-radius:20px;
  font-size:13px;
  background:#fff;
  cursor:pointer;
  transition:all .2s;
}

.chip:hover{
  border-color:#999;
  color:#333;
}

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

@media(max-width:640px){

  .codex-hero{
    padding:70px 12px 40px;
  }

  .codex-hero h1{
    font-size:28px;
  }

  .codex-actions{
    flex-direction:column;
    align-items:center;
    gap:14px;
  }

  .codex-card{
    width:100%;
    max-width:320px;
    padding:22px;
  }

}
