:root{
  --bg-dark:#111;
  --bg-light:#f5f5f5;
  --text-dark:#111;
  --text-light:#fff;
  --max:1100px;
  --pad:24px;
  --nav-h:64px;
}

html{
  scroll-behavior:smooth;
  scroll-padding-top: var(--nav-h);
}

body{
  margin:0;
  font-family: Arial, sans-serif;
  color: var(--text-dark);
  background:#fff;
}

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

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

.nav{
  width: 100%;
  position: sticky;
  top:0;
  z-index:1000;
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.nav-inner{
  height: var(--nav-h);
  width:100%;
  max-width: var(--max);
  margin:0 auto;
  padding: 0 var(--pad);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.brand{
  font-weight:700;
  letter-spacing:0.2px;
  text-decoration:none;
  color: var(--text-dark);
  white-space:nowrap;
}

/* MENU LINKS (desktop) */
.links{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
}

.links a{
  text-decoration:none;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 140ms ease, border-color 140ms ease;
}

.links a:hover{
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.08);
}

.links a.active{
  background: rgba(0,0,0,0.10);
  border-color: rgba(0,0,0,0.18);
}

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

/* Fix global: ne force plus 100vh partout */
section{
  padding: calc(var(--pad) + 18px) var(--pad);
}

.wrap{
  width:100%;
  max-width: var(--max);
  margin: 0 auto;
}

/* ================= BACKGROUNDS ================= */

.hero{
  background: var(--bg-dark);
  color: var(--text-light);

  /* Garde le hero plein ecran */
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
}

.content{
  background: var(--bg-light);
  color: var(--text-dark);
}

.white{
  background:#fff;
  color: var(--text-dark);
}

/* ================= TYPO ================= */

h1{
  font-size: clamp(34px, 5vw, 56px);
  margin: 0 0 12px 0;
  line-height:1.05;
}
h2{
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 14px 0;
  line-height:1.15;
}
p{
  margin: 0 0 14px 0;
  line-height: 1.6;
  font-size: 16px;
  max-width: 70ch;
}
.sub{
  opacity:0.88;
  max-width: 70ch;
}

/* ================= GRIDS & LISTS ================= */

.grid-2{
  display:flex;
  gap: 28px;
  flex-wrap:wrap;
  align-items:flex-start;
}
.grid-2 > div{
  flex: 1 1 340px;
}

.list{
  margin: 12px 0 0 0;
  padding: 0;
  list-style:none;
  display:grid;
  gap: 10px;
}
.list li{
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 12px 14px;
}

/* ================= STEPS ================= */

.steps{
  display:grid;
  gap:12px;
  margin-top: 12px;
}
.step{
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 14px 16px;
}
.step span{
  display:inline-block;
  font-weight:700;
  margin-bottom: 6px;
}

/* ================= CTA & BUTTONS ================= */

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration:none;
  font-weight:700;
  font-size: 14px;
  line-height: 1;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.04);
  color: var(--text-dark);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.06),
    0 8px 22px rgba(0,0,0,0.08);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease;
  cursor:pointer;
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.18);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.06),
    0 12px 28px rgba(0,0,0,0.12);
}

.btn-primary{
  background: #fff;
  color: #111;
}

.btn-secondary{
  background: rgba(255,255,255,0.10);
  color: #fff;
}

/* ================= HAMBURGER ================= */

.lang-mobile{
  display:none;
}

.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid rgba(0,0,0,0.12);
  background:#fff;
  border-radius:12px;
  padding:10px;
  cursor:pointer;
}

.nav-toggle .bar{
  display:block;
  width:100%;
  height:2px;
  background:#111;
  margin:5px 0;
  border-radius:2px;
}

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

@media (max-width: 820px){

  .nav-inner{
    position: relative;
  }

  .nav-toggle{
    display:inline-flex;
    flex-direction:column;
    justify-content:center;
  }

  .lang{
    display:none;
  }

  .links{
    position:absolute;
    top: calc(var(--nav-h) + 8px);
    left:0;
    right:0;
    z-index:2000;

    display:none;
    flex-direction:column;
    gap:8px;
    padding:12px;

    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    border:1px solid rgba(0,0,0,0.08);
    border-radius:16px;
    box-shadow:0 14px 30px rgba(0,0,0,0.10);
  }

  .links.open{
    display:flex;
  }

  .links a{
    width:100%;
    padding:12px;
    text-align:left;
  }

  .lang-mobile{
    display:flex;
    gap:10px;
    padding:10px 14px;
    border-top:1px solid rgba(0,0,0,0.08);
    margin-top:6px;
  }
}

/* FAQ */
.faq h2 {
  margin-top: 40px;
}

/* Ne pas ajouter d’espace avant la première question */
.faq h2:first-of-type {
  margin-top: 0;
}

.faq h2 + p {
  margin-top: 12px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq h2:last-of-type + p {
  border-bottom: none;
}

/* FAQ - mobile (optionnel) */
@media (max-width: 820px){
  .faq h2 { margin-top: 28px; }
  .faq h2 + p { padding-bottom: 20px; }
}

/* ================= CONTACT FORM (extras) ================= */

.contact-form button.btn{
  width: fit-content;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: rgba(0,0,0,0.45);
}

.contact-form input,
.contact-form textarea{
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

/* ================= CONTACT FORM ================= */

.contact-form{
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  max-width: 640px;
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.field{
  display: block;
}

.field .label{
  display:block;
  font-size: 14px;
  color: rgba(255,255,255,0.90);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea{
  display:block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.25);
  color: #fff;
  outline: none;
  font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: rgba(255,255,255,0.55);
}

.contact-form textarea{
  resize: vertical;
  min-height: 160px;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(255,255,255,0.45);
}

.form-actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.contact-form button.btn{
  width: fit-content;
}

.form-note{
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.80);
}

/* Honeypot anti-spam */
.hp{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* ================= LOCK FINAL ================= */

@media (min-width: 821px){
  .nav-toggle{ display:none !important; }
  .lang-mobile{ display:none !important; }
  .links{ display:flex !important; position:static !important; }
}
