:root {
  --bg: #0c0a0a;
  --bg-2: #141010;
  --ink: #f7f2f2;
  --muted: #b9afaf;
  --line: rgba(255, 245, 245, 0.12);
  --surface: rgba(255, 255, 255, 0.04);
  --maple: #ff0000;
  --maple-deep: #c40000;
  --maple-glow: rgba(255, 0, 0, 0.35);
  --navy: #0b1f3a;
  --foam: #ffffff;
  --wa: #128c7e;
  --wa-bright: #25d366;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: #ff7a7a; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #111;
  padding: .75rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(12, 10, 10, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img { width: 40px; height: 40px; }
.brand strong {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 560;
  font-size: .95rem;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--maple);
  color: #fff !important;
  padding: .55rem .95rem;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
  box-shadow: 0 8px 22px var(--maple-glow);
}
.nav-cta:hover { background: var(--maple-deep); color: #fff !important; }

.burger {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding: .55rem .7rem;
  font: inherit;
  color: var(--ink);
}

/* —— Full-bleed cinematic hero —— */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: clamp(3.2rem, 8vw, 5.5rem) 0 clamp(2.4rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(196, 0, 0, 0.38), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(11, 31, 58, 0.55), transparent 50%),
    linear-gradient(180deg, rgba(8, 6, 6, 0.2) 0%, rgba(8, 6, 6, 0.55) 45%, #0c0a0a 100%),
    linear-gradient(135deg, #1a0505 0%, #0c0a0a 40%, #0b1f3a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent 0,
      transparent 48px,
      rgba(255, 255, 255, 0.015) 48px,
      rgba(255, 255, 255, 0.015) 49px
    );
  pointer-events: none;
  animation: grain-drift 28s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.22), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  animation: pulse-glow 5.5s ease-in-out infinite;
}

.hero > .wrap {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2rem));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 42rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 .75rem;
  color: #fff;
  text-shadow: 0 2px 40px rgba(196, 0, 0, 0.35);
  animation: rise .7s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-weight: 600;
  color: #f0e8e8;
  animation: rise .75s ease .05s both;
}

.lead {
  margin: 0 0 1.45rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36rem;
  animation: rise .8s ease .1s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  animation: rise .85s ease .15s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .95rem 1.35rem;
  border-radius: 999px;
  font-weight: 750;
  font-size: 1.02rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, filter .2s ease;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary,
.btn-essai {
  background: var(--maple);
  color: #fff;
  box-shadow: 0 12px 32px var(--maple-glow);
}
.btn-primary:hover,
.btn-essai:hover { background: var(--maple-deep); color: #fff; }
.btn-essai {
  min-width: 12.5rem;
  font-size: 1.08rem;
  padding: 1.05rem 1.55rem;
}
.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.28);
}
.btn-wa:hover { filter: brightness(1.08); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,.06);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-block { width: 100%; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .9rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  animation: rise .9s ease .2s both;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 560;
}
.trust-row li::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--maple);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.18);
}

.trust-line {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .92rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse-glow {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes grain-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-48px); }
}

/* —— Sections —— */
.section {
  padding: clamp(2.4rem, 5.5vw, 4rem) 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  letter-spacing: -0.02em;
  margin: 0 0 .65rem;
  color: #fff;
}

.section > .wrap > .sub,
.section .sub {
  color: var(--muted);
  margin: 0 0 1.6rem;
  max-width: 40rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.15rem 0;
  border-top: 2px solid var(--maple);
}

.feature h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  color: #fff;
}
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }

/* —— 3 steps —— */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.steps li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1.15rem 0 0;
  border-top: 2px solid var(--maple);
}
.step-num {
  flex: 0 0 auto;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--maple);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .95rem;
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.15);
}
.steps h3 {
  margin: 0 0 .35rem;
  font-size: 1.08rem;
  color: #fff;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.steps-more {
  margin: 1.35rem 0 0;
  font-weight: 650;
}
.steps-more a { text-decoration: none; color: #ff8a8a; }
.steps-more a:hover { color: #fff; }

/* —— Pricing —— */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.price {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.15rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  position: relative;
}
.price.popular {
  border-color: rgba(255, 0, 0, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 0, 0, 0.2), var(--shadow);
}
.price.best {
  border-color: rgba(255, 200, 80, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 180, 40, 0.08), transparent 40%),
    var(--surface);
  box-shadow: 0 0 0 1px rgba(255, 180, 40, 0.25), var(--shadow);
  transform: translateY(-4px);
}
.price .term {
  color: var(--muted);
  font-weight: 650;
  font-size: .92rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
}
.price .badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 0, 0, 0.2);
  color: #ffb0b0;
  padding: .22rem .5rem;
  border-radius: 6px;
}
.price .badge-best {
  background: linear-gradient(90deg, #ffbf21, #ffe45f);
  color: #1a1200;
}
.price .amount {
  font-family: var(--font-display);
  font-size: 2.15rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.price .amount span { font-size: 1rem; color: var(--muted); font-family: var(--font-body); }
.price .per { margin: -.2rem 0 0; color: var(--muted); font-size: .85rem; }
.price ul {
  margin: .2rem 0 .85rem;
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1;
}
.price li { margin: .25rem 0; }

/* —— Cities —— */
.cities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.city-link {
  display: block;
  padding: 1.2rem 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 2px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.city-link:hover {
  border-color: var(--maple);
  transform: translateY(-2px);
  color: inherit;
}
.city-link h3 { margin: 0 0 .35rem; font-size: 1.1rem; color: #fff; }
.city-link p { margin: 0; color: var(--muted); font-size: .95rem; }

/* —— CTA band —— */
.cta-band {
  padding-top: 0;
  border-top: none;
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.55rem 1.6rem;
  background:
    linear-gradient(120deg, rgba(196, 0, 0, 0.28), rgba(11, 31, 58, 0.45));
  border: 1px solid rgba(255, 0, 0, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cta-band h2 {
  margin: 0 0 .35rem;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
}
.cta-band p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

/* —— WA formulaire (lead capture → WhatsApp) —— */
.formulaire {
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(196, 0, 0, 0.18), transparent 55%),
    var(--bg-2);
}
.formulaire-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 2.8rem);
  align-items: start;
}
.formulaire-copy h2 { margin-bottom: .55rem; }
.formulaire-copy .sub { margin-bottom: 1rem; }
.formulaire-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}
.formulaire-bullets li {
  display: flex;
  gap: .55rem;
  color: var(--muted);
  font-size: .95rem;
}
.formulaire-bullets li::before {
  content: "✓";
  color: var(--maple);
  font-weight: 800;
  flex: 0 0 auto;
}

.wa-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.35rem 1.25rem 1.45rem;
  box-shadow: var(--shadow);
}
.wa-form h3 {
  margin: 0 0 .25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
}
.wa-form > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .92rem;
}
.field {
  display: grid;
  gap: .35rem;
  margin-bottom: .85rem;
}
.field label {
  font-size: .88rem;
  font-weight: 650;
  color: #ddd4d4;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .75rem .85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font: inherit;
  font-size: .98rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(255, 0, 0, 0.45);
  outline-offset: 1px;
  border-color: rgba(255, 0, 0, 0.5);
}
.field textarea { min-height: 4.5rem; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.wa-form .hint {
  margin: .75rem 0 0;
  font-size: .82rem;
  color: var(--muted);
}

/* —— FAQ —— */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: .95rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--maple);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: .65rem 0 0;
  color: var(--muted);
}

.prose { max-width: 42rem; }
.prose p { color: var(--muted); }
.prose h2 { margin-top: 2rem; color: #fff; }

/* —— Footer —— */
.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
  background: #080606;
  padding: 2.2rem 0 2.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer h2,
.site-footer h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 .7rem;
  color: #fff;
}
.site-footer p,
.site-footer li { color: var(--muted); font-size: .94rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35rem 0; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: #fff; }
.legal { margin-top: 1.5rem; font-size: .85rem; color: var(--muted); }

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-bright);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(18, 140, 126, 0.4);
  transition: transform .2s ease;
  animation: float-bob 3.2s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.page-hero {
  padding: 2.6rem 0 1rem;
  background:
    radial-gradient(ellipse 80% 80% at 0% 0%, rgba(196, 0, 0, 0.25), transparent 55%),
    var(--bg);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 .75rem;
  max-width: 20ch;
  color: #fff;
}
.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.reveal { animation: rise .7s ease both; }

@media (max-width: 900px) {
  .feature-list,
  .steps,
  .price-grid,
  .cities,
  .footer-grid,
  .formulaire-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price.best { transform: none; }
  .burger { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 10, 10, 0.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: .65rem;
  }
  .nav-links.open { display: flex; }
  .nav-cta { width: fit-content; }
  .hero { min-height: auto; padding-top: 2.8rem; }
}

@media (max-width: 560px) {
  .price-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
