/* Hallmark · built: custom (by request: bleu nuit + jaune) · genre: editorial · posture: committed · hero: split, headline left, live preview form right · nav: wordmark, four links and one action · footer: wordmark, links and legal lines · signature: votre site, à votre nom, en 30 secondes · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: R, sections stay close to the pricing page; the live preview carries the identity */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --night: #14235c;
  --night-deep: #0e1a47;
  --blue: #2f55d4;
  --sun: #ffc93c;
  --sun-pale: #fff4d1;
  --sun-halo: rgba(255, 201, 60, 0.18);
  --paper: #f6f7fb;
  --white: #fcfdff;
  --ink: #141a33;
  --ink-soft: #4a5273;
  --line: #dde2ef;
  --on-night: #f7f8ff;
  --on-night-soft: #b9c3e6;
  --line-night: rgba(255, 255, 255, 0.16);
  --shadow: rgba(14, 26, 71, 0.14);
  --wa: #177a42;
  --focus-ring: rgba(47, 85, 212, 0.28);

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-pill: 999px;
  --max: 1140px;
  --gutter: 24px;
  --gap: 48px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "opsz" 14;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.on-night :focus-visible { outline-color: var(--sun); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 {
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; color: var(--night);
  overflow-wrap: break-word; min-width: 0; text-wrap: balance; font-variation-settings: "opsz" 72;
}
h3 { font-variation-settings: "opsz" 24; letter-spacing: -0.015em; line-height: 1.2; }

/* Boutons */
.btn {
  display: inline-block; text-decoration: none; font: inherit; font-weight: 650; font-size: 16px;
  padding: 16px 24px; border-radius: var(--r-pill); text-align: center; cursor: pointer;
  border: 2px solid transparent; white-space: nowrap;
  transition: transform 120ms ease, background-color 120ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }
.btn-sun { background: var(--sun); color: var(--night-deep); }
.btn-sun:hover { background: var(--sun-pale); }
.btn-line { border-color: var(--night); color: var(--night); background: transparent; }
.btn-line:hover { background: var(--white); }
.on-night .btn-line { border-color: var(--on-night); color: var(--on-night); }
.on-night .btn-line:hover { background: var(--night-deep); }
.btn-sm { padding: 12px 20px; font-size: 15px; }

/* Navigation */
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { font-weight: 800; font-size: 26px; letter-spacing: -0.045em; text-decoration: none; color: var(--night); }
.logo b { color: var(--sun); font-weight: 800; }
.nav-links { display: flex; gap: 28px; list-style: none; font-size: 15.5px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--night); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--sun); }
.nav-end { display: flex; align-items: center; gap: 16px; }
.lang { font-size: 15px; font-weight: 650; color: var(--ink-soft); text-decoration: none; }
.lang:hover { color: var(--night); }

/* Sections */
.section { padding-top: 96px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); }
.section-head p { color: var(--ink-soft); margin-top: 12px; }

/* Champs de formulaire */
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 650; font-size: 15px; color: var(--night); }
.field input, .field select {
  font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); background-color: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 18px; width: 100%; min-height: 52px;
  -webkit-appearance: none; appearance: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.field select {
  padding-right: 48px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--night) 50%), linear-gradient(135deg, var(--night) 50%, transparent 50%);
  background-position: calc(100% - 24px) 50%, calc(100% - 18px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field input::placeholder { color: var(--ink-soft); opacity: 0.7; font-weight: 400; }
.field input:hover, .field select:hover { border-color: var(--ink-soft); }
.field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--night); box-shadow: 0 0 0 4px var(--focus-ring); }
@media (prefers-reduced-motion: reduce) { .field input, .field select { transition: none; } }
.hint { font-size: 14px; color: var(--ink-soft); }

/* Appel final */
.final {
  margin-top: 96px; background: var(--night); color: var(--on-night); border-radius: var(--r-lg);
  padding: 64px 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--gap); align-items: center;
}
.final h2 { font-size: clamp(32px, 4.4vw, 52px); color: var(--on-night); }
.final p { color: var(--on-night-soft); margin-top: 12px; max-width: 46ch; }
.final .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Bouton WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: var(--on-night); text-decoration: none; font-weight: 650; font-size: 15px;
  padding: 12px 18px 12px 14px; border-radius: var(--r-pill); box-shadow: 0 12px 30px -10px var(--shadow);
  transition: transform 120ms ease;
}
.wa-float:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float:hover { transition: none; transform: none; } }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; right: 16px; bottom: 16px; } }

/* Pied de page */
.site-footer { padding: 64px 0 48px; color: var(--ink-soft); font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--gap); align-items: start; }
.site-footer .logo { font-size: 22px; }
.site-footer .legal { margin-top: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--night); text-decoration: underline; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .final { grid-template-columns: minmax(0, 1fr); padding: 48px 28px; }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .section { padding-top: 72px; }
  .nav-end .btn { display: none; }
}
