/* AZURDO, feuille de style principale */
:root {
  --navy: #0b2a4a;
  --navy-2: #123a63;
  --azur: #1d8fd6;
  --azur-light: #e8f4fc;
  --ink: #1c2733;
  --muted: #5b6b7c;
  --line: #dde5ee;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --radius: 10px;
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--azur); }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #d7e3ef; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--azur); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 48px; }

/* Lien d'évitement */
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px; z-index: 100; }
.skip:focus { left: 10px; }

/* Barre supérieure */
.topbar { background: var(--navy); color: #c4d4e4; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 46px; width: auto; }
.logo-text { font-weight: 800; font-size: 1.55rem; letter-spacing: .04em; color: var(--navy); }
.logo-text span { color: var(--azur); }
.nav ul { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--azur); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: .15s;
  font-family: inherit;
}
.btn--primary { background: var(--azur); color: #fff; }
.btn--primary:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.nav .btn { padding: 10px 18px; color: #fff; }
.nav .btn:hover { color: #fff; }

/* Héros */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(29,143,214,.55), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #0e3c68 55%, #145a92 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='.06' d='M0 60 C 240 10 480 110 720 60 S 1200 10 1440 60 V120 H0Z'/%3E%3Cpath fill='%23ffffff' fill-opacity='.08' d='M0 85 C 300 40 560 120 860 80 S 1260 50 1440 85 V120 H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.hero .container { position: relative; z-index: 1; padding: 110px 0 140px; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead { color: #cfe0f0; font-size: 1.22rem; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 99px; font-size: .85rem; font-weight: 600; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.page-hero { background: linear-gradient(135deg, var(--navy), #145a92); color: #fff; padding: 70px 0 64px; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #cfe0f0; max-width: 60ch; margin: 0; font-size: 1.1rem; }

/* Chiffres / faits */
.facts { margin-top: -56px; position: relative; z-index: 2; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(11,42,74,.12); overflow: hidden; }
.fact { padding: 28px 26px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-size: 1.6rem; color: var(--navy); line-height: 1.1; margin-bottom: 6px; }
.fact span { color: var(--muted); font-size: .95rem; }

/* Grilles et cartes */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 12px; background: var(--azur-light); color: var(--azur); display: grid; place-items: center; margin-bottom: 20px; }
.icon svg { width: 26px; height: 26px; }
.section--navy .card { background: var(--navy-2); border-color: rgba(255,255,255,.1); }
.section--navy .card p { color: #b9cbdc; }
.section--navy .icon { background: rgba(29,143,214,.18); color: #6cc0f5; }

/* Citation */
.quote { border-left: 4px solid var(--azur); padding: 8px 0 8px 28px; margin: 0; }
.quote p { font-size: 1.25rem; color: var(--navy); font-weight: 500; line-height: 1.55; }
.quote footer { color: var(--muted); font-weight: 600; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.check-list li { padding-left: 32px; position: relative; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--azur) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.panel { background: var(--azur-light); border-radius: var(--radius); padding: 40px; }

/* Bandeau d'appel */
.cta { background: linear-gradient(120deg, var(--azur), #1572b0); color: #fff; border-radius: 14px; padding: 52px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; color: #e3f2fc; }
.cta .btn--primary { background: #fff; color: var(--navy); }
.cta .btn--primary:hover { background: var(--navy); color: #fff; }

/* Formulaires */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid #c9d5e2; border-radius: 8px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--azur); outline-offset: 1px; border-color: var(--azur); }
.field textarea { min-height: 140px; resize: vertical; }
.field small { color: var(--muted); font-size: .85rem; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: 5px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 20px; border-radius: 8px; margin-bottom: 24px; font-weight: 600; }
.alert--ok { background: #e6f6ec; color: #1e6b3a; border: 1px solid #b7e2c6; }
.alert--err { background: #fdecea; color: #8a2a1f; border: 1px solid #f3c2bb; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-list .icon { margin: 0; flex: none; width: 44px; height: 44px; }
.contact-list strong { display: block; color: var(--navy); }

/* Texte légal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; }
.legal dt { font-weight: 600; color: var(--navy); }
.legal dd { margin: 0; }

/* Pied de page */
.footer { background: #071d33; color: #9fb3c8; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { color: #cfe0f0; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer .logo-text { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; }
  .nav li a { display: block; padding: 12px 0; }
  .nav .btn { justify-content: center; margin-top: 8px; }
  .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .cta { padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dd { margin-bottom: 10px; }
  .topbar .hide-sm { display: none; }
  .hero .container { padding: 80px 0 120px; }
}

/* Marques */
.brand-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.brand-grid li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; font-weight: 600; color: var(--navy); }
.brand-grid--featured { grid-template-columns: repeat(6, 1fr); }
.brand-grid--featured li { text-align: center; padding: 22px 12px; font-size: 1.05rem; }
.brand-group { margin-bottom: 32px; }
.brand-group h3 { font-size: 1.1rem; color: var(--azur); border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 14px; }
.brand-search { max-width: 460px; margin-bottom: 36px; }
@media (max-width: 960px) { .brand-grid--featured { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .brand-grid--featured, .brand-grid { grid-template-columns: repeat(2, 1fr); } }
