:root {
  --basalte: #23272A;
  --basalte-soft: #4A5056;
  --pierre: #EEF0EC;
  --pierre-deep: #DFE3DC;
  --prairie: #2F5B33;
  --prairie-deep: #234528;
  --prairie-night: #1A3520;
  --laisse: #F4C430;
  --laisse-deep: #D9A91A;
  --blanc: #FFFFFF;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

  --wrap: 1120px;
  --radius-big: 20px;
  --radius-small: 10px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--basalte);
  background: var(--pierre);
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--laisse);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--laisse);
  padding: .6rem 1rem;
  z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--basalte);
  background: var(--laisse);
  border: 0;
  border-radius: 999px;
  padding: .85rem 1.5rem;
  cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--laisse-deep); }
.btn-small { font-size: .95rem; padding: .55rem 1.1rem; }
.btn-dark { background: var(--basalte); color: var(--blanc); }
.btn-dark:hover { background: var(--prairie-deep); }

/* Header */
.site-header {
  background: var(--prairie);
  color: var(--blanc);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.logo svg { width: 36px; height: 36px; }
.nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.nav a { text-decoration: none; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero {
  position: relative;
  background: var(--prairie);
  color: var(--blanc);
  overflow: hidden;
  padding-bottom: clamp(140px, 18vw, 240px);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: clamp(3rem, 7vw, 5.5rem);
}
.hero-place {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--laisse);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  max-width: 13ch;
}
.lead {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  max-width: 40ch;
  opacity: .92;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.link-light { color: var(--blanc); text-underline-offset: 4px; }

.report {
  background: var(--blanc);
  color: var(--basalte);
  border-radius: var(--radius-big);
  padding: 1.5rem 1.6rem;
  max-width: 340px;
  justify-self: end;
  transform: rotate(1.5deg);
  box-shadow: 0 24px 48px rgba(26, 53, 32, .35);
}
.report-title { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; }
.report-meta { color: var(--basalte-soft); font-size: .95rem; }
.report-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin: 1.2rem 0;
  padding: .9rem 0;
  border-block: 1px solid var(--pierre-deep);
}
.report-stats dt { font-size: .82rem; color: var(--basalte-soft); }
.report-stats dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.report-checks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .35rem; }
.report-checks li { padding-left: 1.6rem; position: relative; }
.report-checks li::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: 1rem; height: 1rem;
  border-radius: 50%;
  background: var(--prairie) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.report-sign { font-style: italic; color: var(--basalte-soft); font-size: .95rem; }

.landscape {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: clamp(220px, 28vw, 360px);
  z-index: 1;
}
.puys-back { fill: var(--prairie-deep); }
.puys-front { fill: var(--pierre); }
.trace {
  fill: none;
  stroke: var(--laisse);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: walk 3.2s ease-out .3s forwards;
}
.trace-dot {
  fill: var(--laisse);
  stroke: var(--prairie);
  stroke-width: 4;
  opacity: 0;
  animation: arrive .4s ease-out 3.2s forwards;
}
@keyframes walk { to { stroke-dashoffset: 0; } }
@keyframes arrive { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .trace { animation: none; stroke-dashoffset: 0; }
  .trace-dot { animation: none; opacity: 1; }
}

/* Sections */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-lead { margin-top: 1rem; max-width: 60ch; color: var(--basalte-soft); }

/* Steps */
.steps { padding-top: clamp(2rem, 4vw, 3rem); }
.step-list {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
}
.step-list li { counter-increment: step; }
.step-list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: var(--basalte);
  color: var(--laisse);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.step-list p { margin-top: .5rem; color: var(--basalte-soft); }

/* Pricing */
#tarifs { background: var(--blanc); }
.pricing {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: start;
}
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--pierre-deep);
}
.price-list li:first-child { border-top: 1px solid var(--pierre-deep); }
.price-list p:not(.price) { margin-top: .3rem; color: var(--basalte-soft); max-width: 48ch; }
.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  white-space: nowrap;
}

.passes {
  background: var(--laisse);
  border-radius: var(--radius-big);
  padding: 2rem;
  display: grid;
  gap: 1rem;
}
.passes-title { font-size: 1.6rem; font-weight: 800; }
.pass {
  background: rgba(255, 255, 255, .55);
  border-radius: var(--radius-small);
  padding: 1rem 1.2rem;
}
.pass-strong { background: var(--blanc); }
.pass-name { font-family: var(--font-display); font-weight: 700; }
.pass-price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1.1; }
.pass-price span { font-size: 1rem; font-weight: 500; }
.passes .btn { justify-self: start; margin-top: .5rem; }

/* Trust */
.trust { background: var(--basalte); color: var(--blanc); }
.trust h2 { color: var(--blanc); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 4rem;
  margin-top: 3rem;
}
.trust-grid > div { border-left: 4px solid var(--laisse); padding-left: 1.25rem; }
.trust-grid p { margin-top: .5rem; opacity: .85; max-width: 46ch; }

/* Zone */
.zone-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.zone-inner p { margin-top: 1rem; max-width: 46ch; color: var(--basalte-soft); }
.zone-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}
.zone-list li {
  background: var(--blanc);
  border: 2px solid var(--prairie);
  color: var(--prairie-deep);
  font-weight: 700;
  border-radius: 999px;
  padding: .5rem 1rem;
}

/* Join */
.join { background: var(--prairie); color: var(--blanc); }
.join-inner { display: grid; gap: 1.25rem; justify-items: start; }
.join-inner p { max-width: 60ch; font-size: 1.15rem; opacity: .92; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.faq details { border-bottom: 1px solid var(--pierre-deep); }
.faq details:first-child { border-top: 1px solid var(--pierre-deep); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: .25rem; top: .9rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.25rem 0; color: var(--basalte-soft); }

/* Contact */
.contact { background: var(--pierre-deep); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.contact-inner > div p { margin-top: 1rem; max-width: 42ch; }
.contact-alt { color: var(--basalte-soft); }

.form {
  background: var(--blanc);
  border-radius: var(--radius-big);
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-weight: 700; font-size: .95rem; }
.optional { font-weight: 400; color: var(--basalte-soft); }
input, select, textarea {
  font: inherit;
  color: inherit;
  width: 100%;
  padding: .7rem .85rem;
  border: 2px solid var(--pierre-deep);
  border-radius: var(--radius-small);
  background: var(--pierre);
}
input:focus, select:focus, textarea:focus { border-color: var(--prairie); outline: none; box-shadow: 0 0 0 3px rgba(244, 196, 48, .6); }
input[aria-invalid="true"] { border-color: #B3261E; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; flex: none; accent-color: var(--prairie); }
.form .btn { justify-self: start; }
.form-status { font-weight: 700; min-height: 1.5em; }
.form-status.is-error { color: #B3261E; }
.form-status.is-ok { color: var(--prairie); }

/* Footer */
.site-footer { background: var(--basalte); color: var(--blanc); padding-block: 2.5rem; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.footer-inner a { opacity: .85; }

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero-inner, .pricing, .zone-inner, .faq-wrap, .contact-inner { grid-template-columns: 1fr; }
  .report { justify-self: start; transform: none; }
  .step-list, .trust-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .btn-small { display: none; }
  .form, .passes { padding: 1.4rem; }
  .price { font-size: 1.35rem; }
}

/* Mentions légales */
.legal { max-width: 70ch; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.legal p { margin-top: .75rem; }
