/* Pagelune — feuille de style du site vitrine
   Idée de mise en page : une pierre claire, un bleu profond pour le texte fort,
   un jaune soleil réservé aux actions. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --stone: #f4f3ee;
  --paper: #ffffff;
  --ink: #15262c;
  --muted: #4c5e65;
  --line: #d7dcd9;
  --marsh: #12414e;
  --marsh-2: #1d5a69;
  --shutter: #2c8a81;
  --shutter-soft: #e1f0ee;
  --sun: #f2b33d;
  --sun-soft: #fcefcf;
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--marsh-2); text-underline-offset: 3px; }
a:hover { color: var(--marsh); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--marsh);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 720; }
h3 { font-size: 1.25rem; font-weight: 680; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--stone) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--marsh); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 750; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--shutter); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.98rem; }
.nav a:hover { color: var(--shutter); }
.nav .btn { white-space: nowrap; }
@media (max-width: 480px) { .nav .btn { padding: 0.6em 0.95em; font-size: 0.95rem; } .brand-name { font-size: 1.15rem; } .brand-mark { width: 30px; height: 30px; } }
@media (max-width: 860px) { .nav .nav-link { display: none; } }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.8em 1.25em; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--marsh); color: #fff; }
.btn-primary:hover { background: var(--marsh-2); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #f5c25e; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--marsh); border-color: var(--marsh); }
.btn-ghost:hover { background: var(--paper); }

/* Héros */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 0.9rem; color: var(--shutter);
  background: var(--shutter-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 em { white-space: nowrap; font-style: normal; background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--ink); font-weight: 700; font-size: 0.98rem; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--shutter); flex: none; }

/* Maquette de téléphone */
.phone {
  justify-self: center; width: min(300px, 100%);
  background: #0f1c21; border-radius: 38px; padding: 12px;
  box-shadow: 0 30px 60px -28px rgba(18, 65, 78, 0.55);
}
.phone-screen { background: #fbf7f1; border-radius: 28px; overflow: hidden; height: clamp(440px, 60vw, 540px); display: flex; flex-direction: column; }
.ph-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 10px; font-family: var(--font-display); font-weight: 750; color: #3b2a1c; font-size: 0.95rem; }
.ph-top i { width: 22px; height: 14px; border-top: 2px solid #3b2a1c; border-bottom: 2px solid #3b2a1c; position: relative; }
.ph-top i::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid #3b2a1c; }
.ph-hero {
  margin: 0 12px; border-radius: 16px; padding: 18px 16px 16px; color: #fff;
  background:
    repeating-linear-gradient(97deg, rgba(255,255,255,0.06) 0 3px, transparent 3px 11px),
    repeating-linear-gradient(93deg, rgba(0,0,0,0.08) 0 1px, transparent 1px 17px),
    linear-gradient(160deg, #a8703f, #6e4322);
}
.ph-hero b { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.15; margin-bottom: 6px; }
.ph-hero span { font-size: 0.8rem; opacity: 0.92; }
.ph-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.ph-btns span { text-align: center; font-size: 0.78rem; font-weight: 700; padding: 9px 4px; border-radius: 10px; background: #3b2a1c; color: #fff; }
.ph-btns span + span { background: #efe3d3; color: #3b2a1c; }
.ph-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px; }
.ph-cards div { background: #fff; border: 1px solid #eadfd0; border-radius: 12px; padding: 10px; font-size: 0.72rem; color: #5b4636; }
.ph-cards div b { display: block; color: #3b2a1c; font-size: 0.8rem; margin-bottom: 2px; }
.ph-rating { margin: 12px; padding: 10px 12px; background: #fff; border: 1px solid #eadfd0; border-radius: 12px; font-size: 0.74rem; color: #5b4636; }
.ph-rating b { color: #c98a12; letter-spacing: 2px; }
.ph-map { margin: 0 12px 12px; flex: 1; border-radius: 12px; background:
  linear-gradient(90deg, transparent 47%, #fff 47% 53%, transparent 53%),
  linear-gradient(0deg, transparent 58%, #fff 58% 63%, transparent 63%),
  linear-gradient(135deg, #d8e8d1, #c7ddc5); position: relative; }
.ph-map::after { content: ""; position: absolute; left: 46%; top: 36%; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #c0392b; }

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-white { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Offres */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 920px) { .offers { grid-template-columns: 1fr; max-width: 560px; } }
.offer {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; position: relative;
}
.section-white .offer { background: var(--stone); }
.offer.is-featured { border: 2px solid var(--marsh); background: var(--paper); }
.tag { position: absolute; top: -13px; left: 22px; background: var(--marsh); color: #fff; font-weight: 700; font-size: 0.8rem; padding: 4px 12px; border-radius: 999px; }
.offer h3 { margin: 0; }
.offer .for { color: var(--muted); margin: 0 0 8px; }
.price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 750; color: var(--ink); line-height: 1; margin: 6px 0 14px; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font-body); font-size: 0.95rem; font-weight: 400; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 14px; height: 8px; border-left: 3px solid var(--shutter); border-bottom: 3px solid var(--shutter); transform: rotate(-45deg); }
.offer .btn { margin-top: auto; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
@media (max-width: 920px) { .extras { grid-template-columns: 1fr; max-width: 560px; } }
.extra { border: 1px dashed var(--marsh-2); border-radius: var(--radius); padding: 18px 22px; display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.extra p { margin: 4px 0 0; color: var(--muted); font-size: 0.98rem; }
.extra strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--marsh); }
.extra .amount { font-family: var(--font-display); font-weight: 750; font-size: 1.35rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.launch { margin-top: 20px; background: var(--sun-soft); border: 1px solid #efd28b; border-radius: var(--radius); padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.launch p { margin: 0; max-width: 46em; }
.fine { color: var(--muted); font-size: 0.92rem; margin-top: 14px; }

/* Exemples */
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 920px) { .examples { grid-template-columns: 1fr; max-width: 560px; } }
.example { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.example-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.example-body p { color: var(--muted); margin: 0 0 12px; }
.example-body a { margin-top: auto; font-weight: 700; }
.mini { height: 170px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 18px; color: #fff; font-family: var(--font-display); }
.mini b { font-size: 1.3rem; line-height: 1.1; }
.mini small { font-family: var(--font-body); font-size: 0.85rem; opacity: 0.92; }
.mini-wood { background:
  repeating-linear-gradient(97deg, rgba(255,255,255,0.06) 0 3px, transparent 3px 11px),
  repeating-linear-gradient(93deg, rgba(0,0,0,0.08) 0 1px, transparent 1px 17px),
  linear-gradient(160deg, #a8703f, #5f3a1e); }
.mini-bread { background: radial-gradient(circle at 78% 30%, #f6d9a4 0 18%, transparent 19%), radial-gradient(circle at 62% 46%, #e8b36d 0 14%, transparent 15%), linear-gradient(150deg, #7a3d1d, #4a2412); }
.mini-marsh { background: linear-gradient(180deg, #f6c98f 0%, #f3a675 38%, #6aa3a8 39%, #2f6f78 70%, #234f57 100%); }
.label-demo { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.92); color: var(--ink); font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

/* Méthode */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: var(--stone); border-radius: var(--radius); padding: 22px 20px; border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--marsh); color: #fff; font-family: var(--font-display); font-weight: 750; font-size: 1.1rem; margin-bottom: 14px; }
.steps h3 { margin-bottom: 0.4em; }
.steps p { margin: 0; color: var(--muted); }
.delay { margin-top: 22px; font-weight: 700; }

/* Questions */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; color: var(--shutter); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 920px) { .contact .wrap { grid-template-columns: 1fr; } }
.next { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.next li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.next li span { width: 34px; height: 34px; border-radius: 50%; background: var(--shutter-soft); color: var(--shutter); font-weight: 700; display: grid; place-items: center; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .field legend { font-weight: 700; font-size: 0.97rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--stone);
  border: 1px solid #b9c3c0; border-radius: 10px; padding: 0.7em 0.8em; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sun); outline-offset: 1px; border-color: var(--marsh); }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choices label { font-weight: 400; display: inline-flex; gap: 10px; align-items: center; white-space: nowrap; cursor: pointer; }
.field .choices input[type="radio"] { flex: none; width: 20px; height: 20px; margin: 0; padding: 0; border: 0; background: none; accent-color: var(--marsh); }
@media (max-width: 560px) { .choices { flex-direction: column; align-items: flex-start; gap: 12px; } }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 0.95rem; color: var(--muted); margin: 4px 0 20px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--marsh); }
.hidden-field { position: absolute; left: -5000px; }
.form-status { margin: 14px 0 0; font-weight: 700; }
.form-status.is-error { color: #a12d1f; }
.req { color: #a12d1f; }

/* Pied de page */
.site-footer { background: var(--marsh); color: #dfeceb; padding: 40px 0 34px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name span { color: var(--sun); }

/* Pages simples */
.page { padding: clamp(40px, 7vw, 80px) 0; }
.page .wrap { max-width: 760px; }
.page h2 { font-size: 1.45rem; margin-top: 1.6em; }
.notice { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

@media (max-width: 359px) { .site-header .brand-name { display: none; } }
