:root {
  --navy: #0b1f33;
  --navy-2: #12304d;
  --emerald: #12805c;
  --emerald-dark: #0d5f45;
  --mint: #e3f1ea;
  --gold: #d4a62a;
  --white: #ffffff;
  --text: #2a3644;
  --muted: #5b6878;
  --line: #d9e0e6;
  --serif: "Fraunces", Charter, Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

a { color: var(--emerald); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

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

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
p { margin: 0 0 1rem; max-width: 40rem; }

/* En-tête */
header.site { background: var(--navy); }
header.site .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .6rem 2rem; padding-block: 1.1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 700;
  color: var(--white); text-decoration: none;
}
.brand .mark {
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem;
  background: var(--emerald); color: var(--white);
  font-family: var(--sans); font-size: .8rem; font-weight: 800; letter-spacing: .04em;
  border-bottom: 3px solid var(--gold);
}
.brand:hover { color: var(--white); }
header.site nav a {
  margin-left: 1.5rem; font-size: .98rem; color: #cfdae6; text-decoration: none;
}
header.site nav a:first-child { margin-left: 0; }
header.site nav a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); }

/* Accueil : bandeau principal */
.hero {
  position: relative; overflow: hidden; color: #dbe5ee;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding-block: clamp(4rem, 10vw, 8rem) clamp(4rem, 9vw, 7rem);
}
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lead { font-size: 1.25rem; color: #dbe5ee; max-width: 34rem; margin-top: 1.5rem; }
.hero .actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .chart {
  position: absolute; right: -4rem; bottom: 0; width: min(62rem, 95%);
  opacity: .55; pointer-events: none;
}

.button {
  display: inline-block; padding: .85rem 1.6rem; font-weight: 700;
  text-decoration: none; background: var(--gold); color: var(--navy);
  border: 2px solid var(--gold);
}
.button:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.button.ghost { background: transparent; color: var(--white); border-color: #7f93a8; }
.button.ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* Bande d'infos clés */
.keys { background: var(--emerald); color: var(--white); }
.keys .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-block: 1.6rem;
}
.keys span { display: block; font-size: .9rem; color: #c9ecdc; }
.keys strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }

/* Sections */
section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.band-mint { background: var(--mint); }
.band-navy { background: var(--navy); color: #dbe5ee; }
.band-navy h2 { color: var(--white); }

.cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem;
}
.col { border-top: 4px solid var(--emerald); padding-top: 1.25rem; }
.col:nth-child(2) { border-top-color: var(--gold); }
.col:nth-child(3) { border-top-color: var(--navy); }
.col svg { width: 2.6rem; height: 2.6rem; margin-bottom: .9rem; display: block; }
.col p { font-size: 1rem; margin: 0; }

.statement {
  margin-top: 2.5rem; padding: 1.4rem 1.6rem; background: var(--white);
  border-left: 5px solid var(--gold); max-width: 40rem; color: var(--navy);
}

/* Fiche société */
.facts { margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.facts div { padding: 1rem 0; border-bottom: 1px solid #2b4560; }
.facts dt { font-size: .9rem; color: #9fb4c8; }
.facts dd { margin: .15rem 0 0; color: var(--white); font-size: 1.08rem; }
.facts dd a { color: var(--gold); }
.facts .full { grid-column: 1 / -1; }

/* Contact */
.contact { background: var(--emerald); color: var(--white); text-align: center; }
.contact h2 { color: var(--white); }
.contact p { margin-inline: auto; color: #e3f6ec; }
.contact .button { margin-top: .75rem; }

.fine { font-size: .92rem; color: var(--muted); max-width: 46rem; margin: 0; }

/* Pied de page */
footer.site { background: var(--navy); color: #9fb4c8; font-size: .92rem; }
footer.site .wrap { padding-block: 2rem; }
footer.site p { max-width: none; margin: 0 0 .5rem; }
footer.site a { color: #dbe5ee; margin-right: 1.4rem; }
footer.site a:hover { color: var(--gold); }

/* Pages légales */
.legal-head { background: linear-gradient(135deg, var(--navy), var(--navy-2)); padding-block: 3.5rem; }
.legal-head h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); }
.legal-head p { color: #b9c9d9; margin: .6rem 0 0; }
main.legal { padding-block: 3rem 5rem; }
main.legal h2 { font-size: 1.4rem; margin: 2.25rem 0 .6rem; }
main.legal ul { max-width: 40rem; padding-left: 1.2rem; }
main.legal li { margin-bottom: .4rem; }

@media (max-width: 52rem) {
  .cols { grid-template-columns: 1fr; gap: 2rem; }
  .keys .wrap { grid-template-columns: 1fr; gap: .9rem; }
  .facts { grid-template-columns: 1fr; }
  .hero .chart { opacity: .25; right: -10rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
