@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --nuit: #121214;
  --nuit-2: #1b1b1f;
  --trait: #2a2a30;
  --jaune: #dddb00;
  --lin: #f3efe7;
  --bleu: #162d68;
  --texte: #ecebe6;
  --doux: #a3a29b;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--texte);
  font: 400 17px/1.6 "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; background: rgba(18, 18, 20, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--trait); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 26px; width: auto; }
.brand span { font: 800 20px/1 "Montserrat", sans-serif; letter-spacing: .18em; }
.menu { display: flex; gap: 26px; font-size: 15px; }
.menu a { text-decoration: none; color: var(--doux); }
.menu a:hover, .menu a[aria-current="page"] { color: var(--jaune); }

/* Accroche */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { font: 600 13px/1 "Inter", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--jaune); margin: 0 0 18px; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 5.4vw, 60px); letter-spacing: -.01em; }
h1 em { font-style: italic; color: var(--jaune); font-weight: 500; }
.lead { font-size: 19px; color: var(--doux); margin: 22px 0 32px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 16px; }
.btn-jaune { background: var(--jaune); color: var(--nuit); }
.btn-ligne { border: 1px solid var(--trait); color: var(--texte); }
.btn small { font-weight: 500; opacity: .75; }
.note { font-size: 14px; color: var(--doux); }

/* Téléphone */
.phone { justify-self: center; width: 300px; aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 12px; background: #050506; box-shadow: 0 0 0 1px #2c2c33, 0 30px 80px rgba(0,0,0,.55); }
.screen { height: 100%; border-radius: 32px; background: var(--nuit); display: flex; flex-direction: column; padding: 34px 24px 24px; position: relative; overflow: hidden; }
.screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% 0%, rgba(221, 219, 0, .10), transparent 60%); }
.screen > * { position: relative; }
.screen .from { font-size: 12px; color: var(--doux); display: flex; align-items: center; gap: 8px; }
.screen .from b { color: var(--texte); font-weight: 600; }
.screen .body { margin: auto 0; }
.screen .verse { margin: 0; font: 400 23px/1.38 "Fraunces", Georgia, serif; }
.screen .ref { font-size: 13px; color: var(--jaune); margin-top: 14px; font-weight: 600; letter-spacing: .04em; }
.screen .stay { background: var(--jaune); color: var(--nuit); border-radius: 14px; padding: 13px; text-align: center; font-weight: 700; font-size: 15px; }
.screen .stay small { display: block; font-weight: 500; font-size: 12px; opacity: .8; }
.screen .go { text-align: center; color: var(--doux); font-size: 13px; padding: 12px 0 0; }

/* Sections */
section { padding: 84px 0; }
.section-head { max-width: 40em; margin-bottom: 44px; }
h2 { font-size: clamp(30px, 3.6vw, 42px); }
.section-head p { color: var(--doux); font-size: 18px; margin: 16px 0 0; }
.section-head p.eyebrow { color: var(--jaune); font-size: 13px; margin: 0 0 18px; }
.lin .section-head p.eyebrow { color: var(--bleu); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { border: 1px solid var(--trait); border-radius: 20px; padding: 28px; background: var(--nuit-2); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--jaune); color: var(--nuit); font: 700 16px/1 "Montserrat", sans-serif; margin-bottom: 18px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--doux); font-size: 16px; }

/* Partie claire */
.lin { background: var(--lin); color: #1d1d1f; }
.lin .eyebrow, .lin h1 em { color: var(--bleu); }
.lin h2 { color: var(--bleu); }
.lin .section-head p { color: #55524b; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { background: #fffdf8; border: 1px solid #e3ddcf; border-radius: 20px; padding: 28px; display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.feature .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--bleu); display: grid; place-items: center; }
.feature .ico svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 21px; color: var(--bleu); margin-bottom: 6px; }
.feature p { margin: 0; color: #55524b; font-size: 16px; }

/* Mur de briques */
.wall { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; width: 100%; max-width: 460px; justify-self: center; }
.wall i { aspect-ratio: 2 / 1; border-radius: 4px; background: url("laterite-3.jpg") center / cover; }
.wall i.empty { background: none; border: 1.5px dashed #4a4a52; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* Auteur */
.auteur { padding-top: 24px; }
.auteur-card { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center; background: var(--nuit-2); border: 1px solid var(--trait); border-radius: 28px; padding: 40px 48px; }
.bulle { width: 240px; height: 240px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px var(--nuit-2), 0 0 0 9px var(--jaune); }
.auteur h2 { margin-bottom: 14px; }
.auteur p:not(.eyebrow) { color: var(--doux); margin: 0 0 24px; max-width: 36em; }

/* Promesses */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { border-top: 2px solid var(--jaune); padding-top: 18px; }
.promise b { display: block; font: 600 20px/1.2 "Fraunces", serif; margin-bottom: 6px; }
.promise span { color: var(--doux); font-size: 15px; }

/* Pied de page */
footer { border-top: 1px solid var(--trait); padding: 40px 0 56px; font-size: 14px; color: var(--doux); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
footer nav { display: flex; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--jaune); }

/* Pages de texte */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 24px 88px; }
.doc h1 { font-size: clamp(34px, 4.6vw, 48px); margin-bottom: 10px; }
.doc .date { color: var(--doux); font-size: 15px; margin-bottom: 36px; }
.doc .resume { background: var(--nuit-2); border: 1px solid var(--trait); border-radius: 14px; padding: 20px 24px; margin: 0 0 40px; }
.doc .resume p { margin: 0 0 8px; }
.doc .resume ul { margin: 0; padding-left: 20px; }
.doc h2 { font-size: 26px; margin: 44px 0 12px; }
.doc p, .doc li { color: #d4d3cd; }
.doc li { margin-bottom: 8px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--trait); }
.doc th { color: var(--jaune); font-weight: 600; white-space: nowrap; }
.doc a { color: var(--jaune); }

@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .steps, .features { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr 1fr; }
  .auteur-card { grid-template-columns: 1fr; justify-items: start; padding: 32px 24px; gap: 28px; }
  .bulle { width: 160px; height: 160px; }
  .menu { gap: 16px; font-size: 14px; }
  .menu .hide-sm { display: none; }
  .doc th { white-space: normal; }
}
