:root {
  --navy: #1b3c59;
  --navy-deep: #0a1826;
  --teal: #1bbfbf;
  --mint: #0cf2b1;
  --mist: #f2f2f2;
  --white: #ffffff;
  --ink-muted: #4f6377;
  --ink-inverse-muted: #b5c3d0;
  --accent-text: #0a6b6b;
  --line: #e0e4e8;
  --field-line: #6f87a0;
  --panel-bg: rgba(255, 255, 255, 0.06);
  --panel-line: rgba(255, 255, 255, 0.16);
  --shadow-card: 0 1px 3px rgba(27, 60, 89, 0.10);
  --radius-sm: 6px;
  --radius-md: 12px;
  --section-y: 96px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  font-family: Poppins, Arial, sans-serif;
  color: var(--navy);
}

section { scroll-margin-top: 16px; }

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}

.on-dark a:focus-visible,
.on-dark button:focus-visible,
.on-dark input:focus-visible,
.on-dark textarea:focus-visible {
  outline-color: var(--mint);
}

/* Icônes en trait */
svg[viewBox="0 0 24 24"] {
  fill: none;
  stroke: var(--accent-text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.on-dark svg[viewBox="0 0 24 24"] { stroke: var(--mint); }

/* Typographie */
h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font-size: 52px; line-height: 60px; letter-spacing: -0.01em; }
h2 { font-size: 34px; line-height: 42px; }
h3 { font-size: 18px; line-height: 26px; }

.eyebrow {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.on-dark .eyebrow { color: var(--mint); }

.lead {
  margin: 0;
  font-size: 18px;
  line-height: 30px;
  font-weight: 300;
  color: var(--ink-muted);
}

.on-dark .lead { color: var(--white); }

.body-muted {
  margin: 0;
  font-size: 15px;
  line-height: 25px;
  color: var(--ink-muted);
}

/* Boutons */
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--mint);
  color: var(--navy);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn--primary:hover { background: #3df5c1; color: var(--navy); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  font-weight: 500;
  padding: 13px 23px;
  border: 1px solid var(--ink-inverse-muted);
}

.btn--ghost:hover { color: var(--white); border-color: var(--white); background: var(--panel-bg); }

/* En-tête */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__inner { padding: 16px 24px; }

.site-header__logo { display: block; line-height: 0; }
.site-header__logo img { height: 72px; width: auto; display: block; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  font-size: 15px;
  font-weight: 500;
}

.site-nav a:not(.btn) {
  color: var(--navy);
  text-decoration: none;
  padding: 10px 0;
}

.site-nav a:not(.btn):hover { color: var(--accent-text); }

.btn--nav { padding: 12px 20px; }

/* Sections */
.section--dark { background: var(--navy); color: var(--white); }
.section--alt { background: var(--mist); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-y) 24px;
}

.stack { display: flex; flex-direction: column; gap: 40px; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px;
  align-items: start;
}

.split--hero { align-items: center; padding-bottom: 104px; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 680px;
}

.section-head .lead { margin-top: 8px; }

/* Accueil */
.hero { display: flex; flex-direction: column; gap: 24px; }

#accueil {
  background-image: url("./assets/boussole.svg");
  background-repeat: no-repeat;
  background-position: right -140px center;
  background-size: 760px 760px;
}

.hero__lead {
  margin: 0;
  font-size: 19px;
  line-height: 32px;
  font-weight: 300;
  color: var(--white);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.panel--accent { border-top: 3px solid var(--mint); gap: 20px; }

.panel__title {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
}

.check { display: flex; gap: 14px; align-items: flex-start; }
.check svg { margin-top: 2px; }
.check p { margin: 0; font-size: 15px; line-height: 25px; color: var(--white); }

/* Cartes */
.cards {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cards--services { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cards--steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.card--rule { border-top: 3px solid var(--teal); }

.card p {
  margin: 0;
  font-size: 15px;
  line-height: 25px;
  color: var(--ink-muted);
}

.card__number {
  font-size: 34px;
  line-height: 40px;
  font-weight: 600;
  color: var(--accent-text);
}

/* À propos */
.about, .values { display: flex; flex-direction: column; gap: 16px; }

.value {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.value:last-child { padding-bottom: 0; border-bottom: none; }

.value p {
  margin: 0;
  font-size: 15px;
  line-height: 25px;
  color: var(--ink-muted);
}

/* Contact */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
  font-size: 15px;
  line-height: 25px;
}

.contact-item { display: flex; gap: 12px; align-items: center; }
.contact-item a, .contact-item a:hover { color: var(--white); }
.contact-item a { overflow-wrap: anywhere; }

.contact-form { gap: 16px; }

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--field-line);
  background: var(--white);
  color: var(--navy);
}

.contact-form textarea { resize: vertical; }
.contact-form button { align-self: flex-start; }

.contact-form__status {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--white);
}

.contact-form__status:empty { display: none; }

.contact-form__note {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--white);
}

.contact-form__note a, .contact-form__note a:hover { color: var(--white); }

/* Politique de confidentialité */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px var(--section-y);
}

.legal .lead { margin-top: 16px; }
.legal h1 { margin-top: 8px; font-size: 34px; line-height: 42px; letter-spacing: 0; }
.legal h2 { margin: 40px 0 8px; font-size: 18px; line-height: 26px; }

.legal p:not(.eyebrow):not(.lead),
.legal li,
.legal address {
  font-size: 15px;
  line-height: 25px;
  color: var(--ink-muted);
}

.legal p:not(.eyebrow):not(.lead) { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal address { font-style: normal; margin-bottom: 12px; }
.legal a { overflow-wrap: anywhere; }
.legal .legal__date { margin-top: 12px; font-size: 13px; line-height: 20px; }

/* Pied de page */
.site-footer { background: var(--navy-deep); color: var(--ink-inverse-muted); }
.site-footer__inner { padding: 32px 24px; }
.site-footer img { height: 56px; width: auto; display: block; }
.site-footer p { margin: 0; font-size: 13px; line-height: 20px; color: var(--ink-inverse-muted); }
.site-footer a, .site-footer a:hover { color: var(--ink-inverse-muted); }

/* Téléphone */
@media (max-width: 600px) {
  :root { --section-y: 64px; }
  h1 { font-size: 40px; line-height: 48px; }
  .site-header__logo img { height: 60px; }
  #accueil {
    background-position: right -160px top 24px;
    background-size: 480px 480px;
  }
  h2 { font-size: 28px; line-height: 36px; }
  .split--hero { padding-bottom: 64px; }
  .panel { padding: 24px; }
}

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