/* Thermos Rive-Nord : bleu glacier + blanc, accent orange chaud. */
:root {
  --navy: #0e2a3f;
  --navy-2: #163c58;
  --ice: #eaf4f9;
  --ice-2: #d3e8f2;
  --frost: #f7fbfd;
  --white: #fff;
  --text: #13293a;
  --muted: #4c6475;
  --orange: #e46f1f;
  --orange-d: #b9530f;
  --rule: rgb(14 42 63 / .12);
  --r: 14px;
  --wrap: min(1160px, 100% - 2 * clamp(18px, 4vw, 44px));
  --serif: 'Fraunces', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: 'Manrope', system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.65; overflow-x: clip; padding-bottom: 64px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--orange-d); }
svg { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 50; background: var(--white); padding: 8px 14px; transform: translateY(-200%); }
.skip:focus { transform: none; }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); margin: .2em 0 .45em; font-weight: 700; }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.3rem); margin: 0 0 .6em; font-weight: 600; }
h3 { font-size: 1.2rem; margin: 1.2em 0 .35em; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.25em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--orange { background: var(--orange); color: var(--white); }
.btn--orange:hover { background: var(--orange-d); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--ice); color: var(--navy); }

/* En-tête collant */
.top { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.top__in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 34px; height: auto; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.15rem; line-height: 1.1; }
.brand small { display: block; font-size: .74rem; color: var(--muted); font-weight: 600; }
.nav { display: none; gap: 18px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--text); }
.nav a[aria-current="page"] { color: var(--orange-d); }
.top__call { padding: .6em 1em; font-size: .92rem; }
.top__call span { display: none; }
@media (min-width: 560px) { .top__call span { display: inline; } }
@media (min-width: 1020px) { .nav { display: flex; } }

/* Héro */
.hero { background: linear-gradient(160deg, var(--ice) 0%, var(--frost) 60%, var(--white) 100%); padding: clamp(36px, 7vw, 84px) 0; border-bottom: 1px solid var(--rule); }
.hero__in { display: grid; gap: 32px; align-items: center; }
.hero--img .hero__in { grid-template-columns: 1fr; }
@media (min-width: 880px) { .hero--img .hero__in { grid-template-columns: 1.15fr .85fr; } }
.kicker { display: inline-block; background: var(--white); border: 1px solid var(--ice-2); color: var(--navy-2); font-weight: 700; font-size: .82rem; padding: .35em .9em; border-radius: 999px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
.hero__b, .cta__b, .final__b { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 14px; font-size: .92rem; color: var(--muted); }
.hero__fig { margin: 0; }
.hero__fig img { border-radius: var(--r); box-shadow: 0 24px 50px -24px rgb(14 42 63 / .45); max-height: 560px; width: 100%; object-fit: cover; }

/* Sections */
.sec { padding: clamp(44px, 7vw, 80px) 0; }
.sec--ice { background: var(--ice); }
.grid2 { display: grid; gap: 32px; align-items: center; }
@media (min-width: 880px) { .grid2 { grid-template-columns: 1.2fr .8fr; } .grid2--rev { grid-template-columns: .8fr 1.2fr; } }
figure { margin: 0; }
figure img { border-radius: var(--r); width: 100%; max-height: 520px; object-fit: cover; }
figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.6em; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .75em; height: .75em; border-radius: 50%; background: var(--orange); }
.more { font-weight: 700; }
.more::after { content: " →"; }
.steps { list-style: none; padding: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--white); border-radius: var(--r); padding: 22px; counter-increment: s; border: 1px solid var(--ice-2); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: var(--white); font-weight: 800; }
.steps h3 { margin-top: .7em; }
details { background: var(--white); border: 1px solid var(--ice-2); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--navy); }
details p { margin: .7em 0 0; }
.links { display: grid; gap: 10px; list-style: none; padding: 0; }
@media (min-width: 700px) { .links { grid-template-columns: repeat(2, 1fr); } }
.links a { display: block; background: var(--white); border: 1px solid var(--ice-2); border-radius: 10px; padding: 14px 18px; font-weight: 700; text-decoration: none; }
.links a:hover { border-color: var(--orange); }
.cities { display: grid; gap: 20px; margin-bottom: 24px; }
@media (min-width: 760px) { .cities { grid-template-columns: repeat(2, 1fr); } }
.cities > div { background: var(--white); border-radius: var(--r); padding: 20px 22px; }
.cities h3 { margin-top: 0; }
.cities ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; }
.cities li { background: var(--ice); border-radius: 999px; padding: .2em .8em; font-size: .92rem; font-weight: 600; }

/* CTA entre les sections */
.cta { background: var(--navy); color: var(--white); padding: 26px 0; }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cta__t { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 .2em; }
.cta__p { margin: 0; color: var(--ice-2); }
.cta .btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.cta .btn--ghost:hover { background: var(--navy-2); }

/* Bandeau final */
.final { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-d) 100%); color: var(--white); text-align: center; padding: clamp(48px, 8vw, 90px) 0; }
.final__k { font-weight: 700; font-size: 1.1rem; margin: 0; }
.final__num { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(2.6rem, 1.2rem + 7vw, 6rem); color: var(--white); text-decoration: none; line-height: 1.1; margin: .15em 0 .35em; }
.final__num:hover { color: var(--white); text-decoration: underline; }
.final__b { justify-content: center; }
.final .btn--ghost { border-color: var(--white); }

/* Pied de page */
.foot { background: var(--navy); color: var(--ice-2); padding: 40px 0; font-size: .93rem; }
.foot a { color: var(--white); }
.foot__in { display: grid; gap: 24px; }
@media (min-width: 800px) { .foot__in { grid-template-columns: 1.4fr 1fr; } }
.foot__name { font-family: var(--serif); font-size: 1.3rem; color: var(--white); margin: 0 0 .2em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }

/* Barre collante mobile */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); border-top: 2px solid var(--orange); }
.dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 11px; color: var(--white); text-decoration: none; font-size: .78rem; font-weight: 700; }
.dock a:first-child { background: var(--orange); }
@media (min-width: 900px) { .dock { display: none; } body { padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
