/* ==========================================================================
   Alto Géomatique : feuille de styles du site (pages de contenu).
   Marque : marine #002D33, turquoise #76B9C0, fond clair #F4F9FA.
   Pas de police externe (pile système), aucun appel tiers.
   ========================================================================== */
:root {
  --navy: #002D33;
  --navy-2: #00232A;
  --turq: #76B9C0;
  --turq-d: #2E8791;
  --link: #1B7580;
  --bg: #F4F9FA;
  --paper: #FFFFFF;
  --ink: #14282B;
  --slate: #4A5F63;
  --line: #D3E3E6;
  --err: #B3261E;
  --ok: #1E7A46;
  --radius: 14px;
  --maxw: 1120px;
  --shadow: 0 4px 18px rgba(0, 35, 42, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.18; margin: 0 0 .7rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--link); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--turq-d); outline-offset: 2px; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 0; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 600; padding: .75em 1.4em; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--turq-d); color: #fff; }
.btn--light { background: var(--turq); color: var(--navy); }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: .5em 1.1em; font-size: .95rem; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; max-width: var(--maxw); margin-inline: auto; padding: .55rem 1.25rem; }
.brand img { height: 42px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--turq); }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); width: 44px; height: 44px; cursor: pointer; margin-left: auto; }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header__cta { display: none; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem; margin: 0; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
}

/* Sections */
.section { padding-block: 4rem; }
.section--bg { background: var(--bg); }
.section--navy { background: var(--navy); color: #EAF3F4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: var(--turq); }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--link); margin: 0 0 .6rem; }
.lead { font-size: 1.2rem; color: var(--slate); max-width: 62ch; }

/* Héros */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/apercu-carte.jpg") center / cover; opacity: .22; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 35, 42, .96) 35%, rgba(0, 35, 42, .55)); }
.hero .container { position: relative; z-index: 1; padding-block: 5rem 4.5rem; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero h1 em { font-style: normal; color: var(--turq); }
.hero .lead { color: #D6E8EA; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 2rem 0 0; font-size: .95rem; color: #C9DEE1; }
.hero__proof li::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--turq); margin-right: .5rem; }
.page-head { background: var(--navy); color: #fff; padding-block: 3.2rem 2.6rem; }
.page-head h1 { color: #fff; margin-bottom: .6rem; }
.page-head .lead { color: #D6E8EA; margin: 0; }

/* Grilles et cartes */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--turq); color: var(--navy); font-weight: 700; margin-bottom: .8rem; }
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--slate); }

/* Trois blocs de conversion */
.cta-trio { display: grid; gap: 1.1rem; }
@media (min-width: 900px) { .cta-trio { grid-template-columns: repeat(3, 1fr); } }
.cta-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--turq); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .4rem; box-shadow: var(--shadow); }
.cta-card h3 { margin: 0; }
.cta-card p { color: var(--slate); flex: 1; margin: 0 0 .8rem; }
.cta-card .btn { align-self: flex-start; }

/* Sources officielles */
.officiel { background: #fff; border: 2px solid var(--navy); border-radius: var(--radius); padding: 1.5rem; }
.officiel h2, .officiel h3 { margin-bottom: .4rem; }
.link-list { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .5rem; }
.link-list a { font-weight: 600; }

/* Carte intégrée */
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #cfe0e4; }
.map-frame iframe { display: block; width: 100%; height: 72vh; min-height: 520px; border: 0; }
@media (max-width: 600px) { .map-frame iframe { height: 78vh; min-height: 480px; } }

/* Prose */
.prose h2 { margin-top: 2.2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.note { background: var(--bg); border-left: 4px solid var(--turq-d); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.2rem; margin: 1.4rem 0; }
.note p:last-child { margin-bottom: 0; }
.source { font-size: .88rem; color: var(--slate); }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--navy); background: var(--bg); }

/* Formulaires */
.form { display: grid; gap: 1rem; max-width: 640px; }
.field label, .field .label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .3rem; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--slate); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { width: 100%; font: inherit; padding: .7rem .9rem; border: 1.5px solid #9DB7BB; border-radius: 10px; background: #fff; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(46, 135, 145, .35); border-color: var(--turq-d); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; line-height: 1.45; }
.check input { flex: none; width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.4em; font-weight: 600; margin: 0; }
.form-msg.is-ok { color: var(--ok); }
.form-msg.is-err { color: var(--err); }
.fine { font-size: .85rem; color: var(--slate); }

/* Pied de page */
.site-footer { background: var(--navy-2); color: #CFE0E3; padding-block: 3rem 1.5rem; }
.site-footer a { color: #CFE0E3; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: .95rem; }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.4fr; } }
.site-footer .brand img { height: 44px; width: auto; margin-bottom: .8rem; }
.site-footer__mission { font-size: .95rem; max-width: 38ch; }
.disclaimer { margin: 2rem 0 1.2rem; padding: 1rem 1.2rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); font-size: .88rem; line-height: 1.55; color: #E3EEF0; }
.disclaimer a { color: var(--turq); }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .88rem; color: #A9C6CA; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
