:root {
  --ink: #0b1f2a;
  --ink-soft: #263b46;
  --muted: #5b6b73;
  --paper: #f5f4ee;
  --surface: #ffffff;
  --surface-soft: #edf2ef;
  --line: #ced8d2;
  --accent: #176b52;
  --accent-dark: #0f503d;
  --accent-pale: #dceae3;
  --warning: #8a521e;
  --max: 1180px;
  --reading: 760px;
  --radius: 10px;
  --shadow: 0 24px 60px rgba(11, 31, 42, 0.1);
  --font-sans: "Avenir Next", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #d4974a;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: 270px;
  max-height: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links .nav-cta {
  padding: 10px 16px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 6px;
}

.nav-links .nav-cta:hover {
  color: var(--surface);
  background: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: currentColor;
}

main > header#accueil {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
  width: min(calc(100% - 40px), var(--max));
  min-height: 680px;
  margin-inline: auto;
  padding: 78px 0 74px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

main > header h1 {
  max-width: 760px;
  margin: 0 0 25px;
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 75px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

main > header .hero-intro {
  max-width: 690px;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero-points {
  display: grid;
  gap: 9px;
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}

.hero-points li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 11px;
  height: 11px;
  content: "";
  background: var(--accent);
  border-radius: 2px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.button,
button[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  color: var(--surface);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
button[type="submit"]:hover {
  color: var(--surface);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button-secondary:hover {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--ink);
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual::before {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 50%;
  height: 60%;
  z-index: -1;
  content: "";
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}

.hero-visual img {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual figcaption,
.content-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.hero-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 32px;
  margin: 4px 0 0;
  padding: 23px 26px;
  background: var(--ink);
  border-radius: var(--radius);
}

.hero-note p {
  margin: 0;
  color: #e8eeeb;
  font-size: 14px;
}

.hero-note strong {
  color: var(--surface);
}

.scope-strip {
  margin: 0;
  padding: 0;
  background: var(--accent-pale);
  border-block: 1px solid #bfd3c8;
}

.scope-strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 22px 0;
  list-style: none;
}

.scope-strip li {
  padding: 2px 22px;
  color: var(--accent-dark);
  border-left: 1px solid #aac5b8;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.scope-strip li:first-child {
  border-left: 0;
}

main > h2,
main > h3,
main > p,
main > ul,
main > ol,
main > table,
main > figure,
main > blockquote,
main > aside:not(.scope-strip),
main > .section-intro,
main > .faq-list,
main > .proof-placeholder {
  width: min(calc(100% - 40px), var(--reading));
  margin-inline: auto;
}

main > h2 {
  position: relative;
  width: min(calc(100% - 40px), var(--max));
  margin-top: 0;
  margin-bottom: 30px;
  padding-top: clamp(78px, 10vw, 132px);
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

main > h2::before {
  display: block;
  width: 64px;
  height: 4px;
  margin-bottom: 24px;
  content: "";
  background: var(--accent);
}

main > h3 {
  margin-top: 54px;
  margin-bottom: 13px;
  font-size: clamp(21px, 2.6vw, 28px);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

main > p {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--ink-soft);
}

main > ul,
main > ol {
  margin-top: 12px;
  margin-bottom: 28px;
  padding-left: 25px;
}

main > li,
main li {
  margin-bottom: 8px;
}

main > aside:not(.scope-strip) {
  margin-top: 36px;
  margin-bottom: 40px;
  padding: 28px 30px;
  background: var(--surface-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

main > aside:not(.scope-strip) p:last-child,
main > aside:not(.scope-strip) ul:last-child {
  margin-bottom: 0;
}

main > blockquote {
  margin-top: 26px;
  margin-bottom: 34px;
  padding: 24px 28px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.5;
}

main > hr {
  width: min(calc(100% - 40px), var(--max));
  margin: 92px auto 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.content-figure {
  width: min(calc(100% - 40px), 940px);
  margin-top: 45px;
  margin-bottom: 45px;
}

.content-figure img {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 15px 40px rgba(11, 31, 42, 0.08);
}

.content-figure-narrow {
  width: min(calc(100% - 40px), 560px);
}

.comparison-table {
  width: min(calc(100% - 40px), var(--max));
  margin-top: 35px;
  margin-bottom: 42px;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 15px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  color: var(--surface);
  background: var(--ink);
  font-size: 14px;
}

.comparison-table tbody th {
  width: 20%;
  color: var(--ink);
  background: var(--surface-soft);
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.proof-placeholder {
  margin-top: 34px;
  margin-bottom: 34px;
  padding: 30px;
  background: #fff8ed;
  border: 1px solid #e4c89f;
  border-radius: var(--radius);
}

.proof-placeholder h3 {
  margin-top: 0;
  font-size: 21px;
}

.proof-placeholder p:last-child,
.proof-placeholder ul:last-child {
  margin-bottom: 0;
}

.faq-list {
  width: min(calc(100% - 40px), 900px);
  margin-top: 36px;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 52px 22px 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 21px;
  right: 3px;
  content: "+";
  color: var(--accent);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -5px 50px 23px 0;
  color: var(--ink-soft);
}

#audit {
  width: min(calc(100% - 40px), var(--max));
  margin: 110px auto 0;
  padding: clamp(34px, 7vw, 76px);
  color: var(--surface);
  background: var(--ink);
  border-radius: 14px;
}

#audit h2 {
  max-width: 790px;
  margin: 0 0 20px;
  color: var(--surface);
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

#audit > p {
  max-width: 780px;
  margin-top: 0;
  color: #dfe8e3;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
  padding: clamp(24px, 4vw, 42px);
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius);
}

.form-field {
  margin: 0;
}

.form-field-wide,
.form-actions,
.form-status,
.form-privacy {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #9baba3;
  border-radius: 5px;
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(23, 107, 82, 0.18);
}

.form-field small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.form-privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-privacy input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.form-actions p {
  flex: 1 1 320px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.form-status {
  display: none;
  margin: 0;
  padding: 13px 15px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 650;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #0c4b38;
  background: #dcefe6;
  border: 1px solid #8fbda8;
}

.form-status.is-error {
  color: #713417;
  background: #fff0e7;
  border: 1px solid #e2ae8e;
}

#sources {
  width: min(calc(100% - 40px), var(--max));
  margin-top: 90px;
  margin-bottom: 80px;
  padding: 36px 40px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-left-width: 1px;
  border-radius: var(--radius);
  font-size: 14px;
}

#sources h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 29px;
  line-height: 1.2;
}

#sources ul {
  columns: 2;
  gap: 40px;
  padding-left: 20px;
}

#sources li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.site-footer {
  color: #dfe8e3;
  background: var(--ink);
}

.legal-main {
  width: min(calc(100% - 40px), 860px);
  margin-inline: auto;
  padding: 70px 0 100px;
}

.legal-main h1 {
  margin: 0 0 28px;
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 62px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.legal-main h2 {
  margin: 48px 0 14px;
  font-size: 25px;
  line-height: 1.25;
}

.legal-main p,
.legal-main li {
  color: var(--ink-soft);
}

.legal-alert {
  padding: 20px 22px;
  background: #fff8ed;
  border: 1px solid #e4c89f;
  border-radius: var(--radius);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
  padding: 48px 0;
}

.footer-brand {
  margin: 0 0 8px;
  color: var(--surface);
  font-size: 18px;
  font-weight: 750;
}

.footer-copy {
  max-width: 680px;
  margin: 0;
  color: #aebdb5;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-end;
  font-size: 13px;
}

.footer-links a {
  color: #dfe8e3;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    height: calc(100dvh - 76px);
    padding: 28px 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    background: var(--paper);
    border-top: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 4px;
    font-size: 17px;
  }

  .nav-links .nav-cta {
    margin-top: 10px;
    padding: 14px 16px;
    text-align: center;
  }

  main > header#accueil {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-visual {
    max-width: 760px;
  }

  .hero-note {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .scope-strip ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .scope-strip li:nth-child(3) {
    border-left: 0;
  }

  .scope-strip li:nth-child(n + 3) {
    margin-top: 16px;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .nav-shell,
  main > header#accueil,
  main > h2,
  main > h3,
  main > p,
  main > ul,
  main > ol,
  main > table,
  main > figure,
  main > blockquote,
  main > aside:not(.scope-strip),
  main > .faq-list,
  main > .proof-placeholder,
  #audit,
  #sources,
  .footer-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand img {
    width: 220px;
  }

  main > header#accueil {
    padding: 54px 0;
  }

  main > header h1 {
    font-size: clamp(41px, 13vw, 58px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual::before {
    display: none;
  }

  .hero-note {
    padding: 22px;
  }

  .scope-strip ul {
    grid-template-columns: 1fr;
    padding: 13px 0;
  }

  .scope-strip li,
  .scope-strip li:nth-child(3) {
    margin: 0;
    padding: 11px 0;
    border-left: 0;
    border-top: 1px solid #aac5b8;
    text-align: left;
  }

  .scope-strip li:first-child {
    border-top: 0;
  }

  main > h2 {
    padding-top: 80px;
  }

  main > h3 {
    margin-top: 42px;
  }

  main > aside:not(.scope-strip),
  .proof-placeholder {
    padding: 22px;
  }

  .comparison-table {
    width: calc(100% - 28px);
    font-size: 13px;
  }

  .comparison-table th,
  .comparison-table td {
    min-width: 145px;
    padding: 13px;
  }

  #audit {
    margin-top: 80px;
    padding: 28px 20px;
  }

  .lead-form {
    grid-template-columns: 1fr;
    padding: 22px 16px;
  }

  .form-field-wide,
  .form-actions,
  .form-status,
  .form-privacy {
    grid-column: auto;
  }

  #sources {
    padding: 26px 22px;
  }

  #sources ul {
    columns: 1;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .lead-form,
  .site-footer {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  main > header#accueil {
    display: block;
    min-height: 0;
  }
}
