/* Police Montserrat hébergée sur le site (aucune requête vers Google) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/montserrat-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
/* Layout : une seule colonne éditoriale, bandeaux pleine largeur noirs, titres en capitales, vert Brésil en structure et fluo en signal. */
:root {
  --bg: #0B0B0B;
  --surface: #141614;
  --line: #2A2E2B;
  --fg: #F2F4F2;
  --muted: #B9C0BB;
  --dim: #8E978F;
  --bresil: #009C3B;
  --fluo: #4EF36A;
  --on-accent: #0B0B0B;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --step-hero: clamp(64px, 14vw, 128px);
  --step-h2: clamp(30px, 5vw, 44px);
  --step-lead: clamp(22px, 3.2vw, 30px);
  --wrap: 1080px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--bg);
}
.band {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: var(--wrap); margin-inline: auto; }
a { color: var(--fluo); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--fluo); outline-offset: 3px;
}
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fluo); margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, li, small, .note, .fact span, .label { text-wrap: pretty; }
h2 { font-size: var(--step-h2); line-height: 1.05; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
.prose { max-width: 62ch; color: var(--muted); }

/* En-tête */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.brand img { width: 26px; height: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-size: 17px; font-weight: 800; letter-spacing: 0.06em; }
.brand-name span { font-size: 10px; font-weight: 500; letter-spacing: 0.24em; color: var(--bresil); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--fg); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--fluo); }
.nav .nav-cta { color: var(--on-accent); background: var(--bresil); padding: 10px 16px; border-radius: 999px; }
.nav .nav-cta:hover { color: var(--on-accent); background: var(--fluo); }
@media (max-width: 720px) { .nav a:not(.nav-cta) { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero .wrap { padding-block: clamp(56px, 10vw, 112px) clamp(56px, 8vw, 96px); display: flex; flex-direction: column; gap: 22px; }
.hero-mark {
  position: absolute; z-index: -1; right: max(-60px, calc(50% - 640px)); top: 24px;
  width: min(460px, 70vw); max-width: 100%; opacity: 0.22; pointer-events: none;
}
.place {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--bresil); border-radius: 999px; padding: 8px 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
}
.hero h1 { font-size: var(--step-hero); line-height: 0.9; font-weight: 800; letter-spacing: -0.02em; }
.zones { font-size: 15px; font-weight: 700; letter-spacing: 0.1em; color: var(--fluo); }
.lead { font-size: var(--step-lead); line-height: 1.25; font-weight: 700; max-width: 30ch; }
.hero .prose { font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 22px; border-radius: 999px; font: 700 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--bresil);
}
.btn-primary { background: var(--bresil); color: var(--on-accent); }
.btn-primary:hover { background: var(--fluo); border-color: var(--fluo); }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { border-color: var(--fluo); color: var(--fluo); }

/* Sections */
section.block .wrap { padding-block: clamp(56px, 8vw, 88px); display: flex; flex-direction: column; gap: 28px; }
.rule { border-top: 4px solid var(--bresil); }
.head { display: flex; flex-direction: column; gap: 14px; }
.reviews { columns: 2 340px; column-gap: 16px; margin-top: 28px; }
.reviews .review { break-inside: avoid; margin-bottom: 16px; }
.review { margin: 0; border: 1.5px solid var(--line); border-left: 4px solid var(--bresil); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--fg); }
.review figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.review .who { font-weight: 700; color: var(--fluo); }
.review .ctx { font-size: 13px; color: var(--dim); }
.reviews-note { margin-top: 18px; font-size: 13px; color: var(--dim); max-width: 70ch; }

.zones-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.zone { border: 1.5px solid var(--line); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.zone .num { font-size: 32px; font-weight: 800; color: var(--bresil); line-height: 1; font-variant-numeric: tabular-nums; }
.zone h3 { font-size: 17px; font-weight: 700; }
.zone p { color: var(--muted); font-size: 15px; }
.gain { border-top: 3px solid var(--bresil); background: var(--surface); }
#indiv-more { display: flex; flex-direction: column; gap: 28px; }
#indiv-more[hidden] { display: none; }
.gain h3 { color: var(--fg); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.fact { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fact strong { font-size: 22px; font-weight: 800; }
.fact span { color: var(--muted); font-size: 14px; }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.price { border: 1.5px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.price.best { border: 2px solid var(--bresil); background: var(--surface); }
.price .label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }
.price.best .label { color: var(--fluo); }
.price .amount { font-size: 40px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price .note { color: var(--dim); font-size: 13px; }
.small { font-size: 13px; color: var(--dim); }
.fund { background: var(--surface); border-radius: 8px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.fund h3 { font-size: 16px; color: var(--fluo); }
.fund p { color: var(--muted); font-size: 15px; }

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px, 5vw, 56px); align-items: start; }
.duo > * { min-width: 0; }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.list li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); }
.list li::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--bresil); transform: translateY(-1px); }

.portrait-img { display: block; width: 100%; max-width: 380px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; border: 1.5px solid var(--line); }
@media (min-width: 760px) { section#apropos .wrap.duo { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: center; } }
.portrait {
  aspect-ratio: 4 / 5; max-width: 100%; border: 1.5px dashed var(--line); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--dim); font-size: 14px; text-align: center; padding: 16px;
  background: var(--surface);
}
.creds { font-style: italic; font-size: 14px; color: var(--dim); line-height: 1.7; }

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--bresil); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px 0; color: var(--muted); max-width: 62ch; }

/* Contact */
.contact-band { background: var(--bresil); color: var(--on-accent); }
.contact-band .eyebrow { color: var(--on-accent); }
.contact-band h2 { color: var(--on-accent); }
.contact-band .intro { max-width: 52ch; font-size: 17px; font-weight: 500; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 820px; }
@media (max-width: 640px) { form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px/1.4 var(--font); color: var(--fg); background: var(--bg);
  border: 1.5px solid var(--bg); border-radius: 6px; padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--on-accent); outline-offset: 2px; }
.contact-band .btn { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.contact-band .btn:hover { color: var(--fluo); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-foot small { font-size: 13px; font-weight: 500; max-width: 46ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot small a, footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-status { grid-column: 1 / -1; background: var(--bg); color: var(--fg); border-radius: 6px; padding: 16px 18px; font-size: 15px; }

footer .wrap { padding-block: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--dim); }

/* Sélecteur de langue */
.head-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang button {
  font: 700 12px/1 var(--font); letter-spacing: 0.12em; color: var(--muted); background: transparent;
  border: 0; border-radius: 999px; padding: 9px 12px; min-height: 34px; min-width: 44px; cursor: pointer;
}
.lang button:hover { color: var(--fg); }
.lang button[aria-pressed="true"] { background: var(--fg); color: var(--on-accent); }

/* Parcours en 4 étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: step; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 22px 0; border-top: 2px solid var(--bresil); min-width: 0; }
.steps .step-num { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; color: var(--fluo); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 18px; font-weight: 800; }
.steps p { color: var(--muted); font-size: 15px; }

/* Navigation multipage */
.nav a[aria-current="page"] { color: var(--fluo); }
@media (max-width: 720px) {
  .nav a:not(.nav-cta) { display: inline; }
  .nav a.nav-about { display: none; }
  .nav { gap: 14px; }
  .nav .nav-cta { padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 420px) { .nav a.nav-door { font-size: 13px; } }

/* Hero de l'accueil : texte + portrait */
.hero-home .wrap { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 860px) { .hero-home .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.hero-home .hero-text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-home h1 { font-size: clamp(56px, 11vw, 112px); }
.hero-home .portrait-img { max-width: 420px; justify-self: center; width: 100%; }
@media (max-width: 859px) { .hero-home .portrait-img { max-width: 320px; justify-self: start; } }
.hero-page h1 { font-size: clamp(48px, 10vw, 96px); }

/* Piliers de la méthode */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; counter-reset: pillar; }
.pillar { border-top: 3px solid var(--bresil); padding: 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.pillar .num { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; color: var(--fluo); }
.pillar h3 { font-size: 19px; font-weight: 800; }
.pillar p { color: var(--muted); font-size: 15px; }

/* Portes Entreprises / Particuliers et cartes d'offre */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.door { border: 1.5px solid var(--line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--surface); min-width: 0; }
.door h3 { font-size: clamp(24px, 3.4vw, 30px); font-weight: 800; line-height: 1.1; }
.door .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--fluo); text-transform: uppercase; }
.door p { color: var(--muted); }
.door .list li { font-size: 15px; }
.door .actions { margin-top: auto; }

.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.offer { border: 1.5px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--fg); min-width: 0; }
a.offer:hover { border-color: var(--fluo); }
.offer .num { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; color: var(--fluo); }
.offer h3 { font-size: 19px; font-weight: 800; }
.offer p { color: var(--muted); font-size: 15px; }
.offer .go { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--fluo); }

/* Circuits */
.circuits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.circuit { border: 1.5px solid var(--line); border-radius: 8px; padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.circuit .label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--fluo); }
.circuit h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.05; overflow-wrap: break-word; hyphens: auto; }
.circuit .zones { font-size: 13px; }
.circuit p { color: var(--muted); font-size: 15px; }
.circuit .lead-sm { color: var(--fg); font-weight: 700; font-size: 17px; }

.price .amount.quote { font-size: 32px; }
.sub { font-size: clamp(22px, 3vw, 28px); font-weight: 800; line-height: 1.15; }
.more-panel { display: flex; flex-direction: column; gap: 0; }
.more-panel[hidden] { display: none; }
.inner-panel { display: flex; flex-direction: column; gap: 28px; }
.inner-panel[hidden] { display: none; }
.note-box { border-left: 4px solid var(--bresil); padding: 4px 0 4px 18px; color: var(--muted); max-width: 70ch; }

/* En-tête mobile : logo + langue sur la 1re ligne, navigation sur la 2e */
@media (max-width: 720px) {
  .site-head .wrap { display: grid; grid-template-columns: 1fr auto; row-gap: 10px; padding-block: 10px; }
  .head-right { display: contents; }
  .lang { grid-column: 2; grid-row: 1; align-self: center; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
}
.prices .amount { font-size: clamp(30px, 3.2vw, 40px); }

/* Menus déroulants Entreprises / Particuliers */
html { scroll-padding-top: 96px; }
@media (max-width: 720px) { html { scroll-padding-top: 128px; } }
.nav-item { position: relative; display: inline-flex; align-items: center; gap: 2px; }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 32px;
  background: transparent; border: 0; border-radius: 6px; color: var(--fg); cursor: pointer; padding: 0;
}
.sub-toggle:hover { color: var(--fluo); }
.sub-toggle svg { transition: transform .15s ease; }
.nav-item.open .sub-toggle svg { transform: rotate(180deg); }
.nav-sub {
  display: none; position: absolute; top: 100%; left: -14px; z-index: 20;
  min-width: 260px; margin: 0; padding: 8px; list-style: none;
  background: var(--surface); border: 1.5px solid var(--line); border-top: 3px solid var(--bresil); border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-sub li a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--fg); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-sub li a:hover, .nav-sub li a:focus-visible { background: var(--bg); color: var(--fluo); }
.nav-item.open .nav-sub { display: block; }
@media (hover: hover) and (min-width: 721px) {
  .nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub { display: block; }
  .nav-sub { margin-top: 10px; }
}
@media (max-width: 720px) {
  .site-head .wrap { position: relative; }
  .nav-item { position: static; }
  .nav-sub { left: 0; right: 0; top: calc(100% + 2px); min-width: 0; margin-inline: max(16px, env(safe-area-inset-left, 0px)); }
  .nav-sub li a { white-space: normal; font-size: 15px; padding: 12px; }
}
.nav .nav-sub li a { display: block; }
@media (max-width: 720px) {
  .nav { gap: 6px; flex-wrap: nowrap; }
  .nav a.nav-door { font-size: 13px; }
  .sub-toggle { width: 22px; }
  .nav .nav-cta { padding: 8px 11px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 360px) { .nav a.nav-door { font-size: 12px; } .nav .nav-cta { padding: 7px 9px; font-size: 12px; } }
@media (max-width: 350px) {
  .nav { gap: 2px; }
  .sub-toggle { width: 18px; }
  .nav a.nav-door { font-size: 12px; }
  .nav .nav-cta { padding: 6px 8px; font-size: 12px; }
}
.about-lead { font-size: clamp(19px, 2.4vw, 22px); font-weight: 700; line-height: 1.35; color: var(--fg); max-width: 52ch; }
.h1-l2 { display: inline-block; margin-left: -0.05em; } /* alignement optique du G sous le A */
