:root {
  --forest: #1f3d33;
  --forest-dark: #14281f;
  --terracotta: #d97a52;
  --terracotta-light: #e89b78;
  --cream: #faf5ef;
  --sand: #efe6d8;
  --text: #2b2620;
  --text-muted: #6b5f52;
  --white: #ffffff;
  --border: #e8ddcc;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
h1, h2, h3, .brand-top, .cta, .manifesto blockquote, form button {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
section { padding: 60px 0; }
section[id] { scroll-margin-top: 76px; }

/* NAV — fine, sans baseline empilée */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand-link { text-decoration: none; }
.brand-top { color: var(--forest); font-weight: 600; font-size: 19px; white-space: nowrap; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-cta {
  background: var(--forest); color: white; padding: 9px 18px; border-radius: 24px;
  font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--terracotta); }

/* HERO — composition asymétrique 2 colonnes */
.hero { padding: 72px 0 56px; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--terracotta); font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-size: 40px; font-weight: 600; line-height: 1.2; color: var(--forest); margin-bottom: 20px; }
.hero-text { font-size: 17px; color: var(--text-muted); margin-bottom: 30px; max-width: 460px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cta {
  display: inline-block; background: var(--terracotta); color: var(--white); padding: 14px 30px;
  border-radius: 28px; font-weight: 600; font-size: 15px; text-decoration: none;
  box-shadow: 0 10px 26px rgba(217,122,82,0.3); transition: transform 0.15s ease, background 0.2s ease;
}
.cta:hover { transform: translateY(-2px); background: #c8683f; }
.cta-secondary { color: var(--forest); font-weight: 600; font-size: 14.5px; text-decoration: none; border-bottom: 2px solid var(--terracotta-light); padding-bottom: 2px; }
.cta-secondary:hover { color: var(--terracotta); }

.hero-visual { position: relative; height: 320px; }
.hero-visual .blob { position: absolute; border-radius: 50%; }
.hero-visual .blob-1 { width: 260px; height: 260px; background: var(--sand); top: 10px; right: 30px; }
.hero-visual .blob-2 { width: 170px; height: 170px; background: linear-gradient(135deg, var(--terracotta-light), var(--terracotta)); bottom: 0; right: 90px; opacity: 0.9; }
.hero-visual .blob-3 { width: 90px; height: 90px; border: 2px solid var(--forest); top: 30px; left: 0; opacity: 0.5; }
.hero-visual .dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--forest); }
.hero-visual .dot-1 { top: 60%; left: 10%; }
.hero-visual .dot-2 { top: 20%; left: 45%; background: var(--terracotta); width: 8px; height: 8px; }
.hero-visual .card-float {
  position: absolute; bottom: 30px; left: 10px; background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px 20px; box-shadow: 0 14px 34px rgba(31,61,51,0.12);
  font-size: 13.5px; font-weight: 600; color: var(--forest); display: flex; align-items: center; gap: 10px;
}
.hero-visual .card-float .icon-svg { color: var(--terracotta); flex-shrink: 0; }

/* BANDEAU DE RÉASSURANCE */
.trust-strip { background: var(--forest); padding: 16px 0; }
.trust-strip .container { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 0; }
.trust-strip span { color: rgba(255,255,255,0.9); font-size: 13.5px; font-weight: 500; padding: 0 18px; border-right: 1px solid rgba(255,255,255,0.25); }
.trust-strip span:last-child { border-right: none; }

/* COMMENT ÇA MARCHE — timeline horizontale */
.steps { background: var(--cream); }
.steps .section-header { text-align: center; margin-bottom: 48px; }
.steps h2 { font-size: 28px; color: var(--forest); font-weight: 600; }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps-row::before {
  content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(to right, var(--border) 0 8px, transparent 8px 14px);
}
.step { position: relative; text-align: center; padding: 0 14px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: white;
  display: flex; align-items: center; justify-content: center; font-family: 'Lora', serif;
  font-weight: 600; font-size: 17px; margin: 0 auto 18px; position: relative; z-index: 1;
}
.step h3 { font-size: 15.5px; color: var(--forest); margin-bottom: 8px; font-weight: 600; }
.step p { font-size: 13.5px; color: var(--text-muted); }

/* NOS FORMATIONS — blocs alternés */
.domains { background: var(--white); }
.domains .section-header { text-align: center; margin-bottom: 12px; }
.domains h2 { font-size: 30px; color: var(--forest); font-weight: 600; }
.domain-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid var(--border);
}
.domain-row:last-child { border-bottom: none; }
.domain-row.reverse { grid-template-columns: 1fr 220px; }
.domain-row.reverse .domain-visual { order: 2; }
.domain-visual {
  width: 100%; height: 150px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
  background: var(--sand);
}
.domain-row:nth-child(even) .domain-visual { background: linear-gradient(135deg, var(--terracotta-light), var(--terracotta)); }
.domain-row:nth-child(even) .domain-visual .icon-svg { color: white; }
.domain-visual .icon-svg { color: var(--forest); }
.domain-tag { font-size: 12px; font-weight: 700; color: var(--terracotta); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 8px; }
.domain-content h3 { font-size: 22px; color: var(--forest); margin-bottom: 10px; font-weight: 600; }
.domain-content p { font-size: 15px; color: var(--text-muted); max-width: 560px; }

.highlight-banner {
  margin-top: 40px; background: var(--forest); color: white;
  border-radius: 18px; padding: 26px 32px; display: flex; align-items: center; gap: 18px;
}
.highlight-banner .icon { flex-shrink: 0; color: var(--terracotta-light); }
.highlight-banner p { font-size: 14.5px; color: rgba(255,255,255,0.92); margin: 0; }
.highlight-banner strong { color: var(--terracotta-light); }

/* NOS FORMATS — pastilles */
.formats { background: var(--sand); text-align: center; }
.formats h2 { font-size: 28px; color: var(--forest); margin-bottom: 14px; font-weight: 600; }
.formats > .container > p { max-width: 600px; margin: 0 auto 40px; color: var(--text-muted); font-size: 15.5px; }
.toggle-pairs { display: flex; flex-direction: column; gap: 20px; max-width: 460px; margin: 0 auto; }
.toggle-pair { display: flex; align-items: center; justify-content: center; gap: 16px; }
.pill { background: var(--white); border: 1.5px solid var(--forest); color: var(--forest); font-weight: 600; font-size: 14.5px; padding: 12px 26px; border-radius: 30px; flex: 1; }
.pill.alt { border-color: var(--terracotta); color: var(--terracotta); }
.toggle-or { font-size: 13px; color: var(--text-muted); font-style: italic; flex-shrink: 0; }

/* POURQUOI NOUS — manifeste */
.manifesto { background: var(--forest); color: white; text-align: center; }
.manifesto .eyebrow-light { color: var(--terracotta-light); text-align: center; margin-bottom: 24px; }
.manifesto blockquote { font-size: 26px; font-weight: 500; line-height: 1.45; max-width: 720px; margin: 0 auto 40px; color: white; }
.manifesto blockquote::before { content: "“"; color: var(--terracotta-light); }
.manifesto blockquote::after { content: "”"; color: var(--terracotta-light); }
.checklist { list-style: none; display: inline-flex; flex-direction: column; gap: 14px; text-align: left; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,0.88); }
.checklist .check { color: var(--terracotta-light); flex-shrink: 0; margin-top: 2px; }

/* CONTACT — centré, clair */
.contact { background: var(--cream); }
.contact .container { max-width: 560px; text-align: center; }
.contact h2 { font-size: 28px; color: var(--forest); margin-bottom: 14px; font-weight: 600; }
.contact > .container > p { color: var(--text-muted); font-size: 15.5px; margin-bottom: 36px; }
form { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 32px; text-align: left; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; margin-bottom: 6px; color: var(--text-muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--cream); color: var(--text); font-size: 14.5px; font-family: inherit;
}
.field input::placeholder, .field textarea::placeholder { color: #a99a86; }
.field textarea { resize: vertical; min-height: 90px; }
form button {
  width: 100%; background: var(--terracotta); color: white; border: none; padding: 14px; border-radius: 28px;
  font-weight: 600; font-size: 15.5px; cursor: pointer; margin-top: 6px; transition: background 0.2s ease;
}
form button:hover { background: var(--forest); }
form button:disabled { opacity: 0.7; cursor: default; }
.form-feedback { border-radius: 20px; padding: 26px 28px; text-align: center; font-size: 15px; }
.form-feedback.success { background: var(--forest); color: white; }
.form-feedback.success p { margin: 0; }
.form-feedback.error { background: #fdeee7; border: 1px solid var(--terracotta-light); color: #8a3f1f; }
.form-feedback.error p { margin: 0; }
.coords-inline { margin-top: 22px; font-size: 13.5px; color: var(--text-muted); }

/* FOOTER */
footer { background: var(--forest-dark); color: rgba(255,255,255,0.55); padding: 28px 0; text-align: center; font-size: 13px; }
.footer-links { display: flex; justify-content: center; gap: 22px; margin-top: 12px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 12.5px; }
.footer-links a:hover { color: white; text-decoration: underline; }

/* LEGAL PAGES */
.legal-page { background: var(--white); padding: 56px 0 80px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { font-size: 30px; margin: 0 0 8px; color: var(--forest); }
.legal-page .updated { color: var(--text-muted); font-size: 13.5px; margin-bottom: 40px; }
.legal-page h2 { font-size: 19px; color: var(--forest); margin: 36px 0 12px; font-weight: 600; }
.legal-page p, .legal-page li { color: var(--text-muted); font-size: 15px; margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; margin-bottom: 12px; }
.legal-page .todo {
  background: #fff4e0; border: 1px solid #f0d29a; border-radius: 12px;
  padding: 14px 18px; font-size: 13.5px; color: #7a5c00; margin: 10px 0 20px;
}
.legal-page a.back { display: inline-block; margin-top: 24px; font-size: 14px; color: var(--terracotta); font-weight: 600; text-decoration: none; }

/* BACK TO TOP */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--terracotta); color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(31,61,51,0.25);
  text-decoration: none; opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--forest); }
.icon-svg { display: block; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { height: 220px; order: -1; }
  .steps-row { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .steps-row::before { display: none; }
  .domain-row, .domain-row.reverse { grid-template-columns: 1fr; }
  .domain-row.reverse .domain-visual { order: 0; }
  .domain-visual { height: 110px; }
  .nav-links { display: none; }
  .toggle-pair { flex-direction: column; }
  .trust-strip span { border-right: none; }
}
