/* ---------- Polices (hébergées localement, sans appel à Google) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   MAC·PC·Services — feuille de style principale
   Palette : bleu nuit valaisan + accents bleu / orange
   ========================================================= */

/* ---------- 1. Jetons de design ---------- */
:root {
  --navy-900: #071426;
  --navy-800: #0c2140;
  --navy-700: #143257;
  --navy-600: #1c4272;

  --blue-600: #1565c9;
  --blue-500: #1f7ae0;
  --blue-400: #4d9bf0;
  --blue-050: #eaf3fd;

  --orange-500: #b8500a;   /* texte blanc AA 5:1 (audit 08.09.2026) */
  --orange-050: #fff2e6;

  --ink: #0f1f30;
  --body: #43586c;
  --muted: #56708a;   /* contraste AA 5,1 sur blanc */
  --line: #e3eaf2;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(9, 30, 66, .06), 0 2px 8px rgba(9, 30, 66, .05);
  --shadow: 0 4px 12px rgba(9, 30, 66, .07), 0 12px 32px rgba(9, 30, 66, .07);
  --shadow-lg: 0 18px 50px rgba(9, 30, 66, .14);

  --wrap: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --header-h: 76px;
}

/* ---------- 2. Réinitialisation ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-500); }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--ink);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.15rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); }
p { margin: 0 0 1.15em; }
ul { margin: 0 0 1.15em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-800); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. Utilitaires de mise en page ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-800); color: #c9d8e8; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto clamp(2.2rem, 4vw, 3.2rem); text-align: center; }
.section-head p { font-size: 1.075rem; margin-bottom: 0; }
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: .9rem;
}
.section--navy .eyebrow { color: var(--blue-400); }

.lead { font-size: 1.15rem; color: var(--body); }
.text-center { text-align: center; }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .98rem;
  cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px rgba(21, 101, 201, .28); }
.btn--primary:hover { background: var(--blue-500); color: #fff; box-shadow: 0 12px 26px rgba(21, 101, 201, .34); }

.btn--accent { background: var(--orange-500); color: #fff; box-shadow: 0 8px 20px rgba(240, 115, 22, .3); }
.btn--accent:hover { background: #a3460a; color: #fff; }

.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-050); }

.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { color: var(--blue-600); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

/* ---------- 5. En-tête ---------- */
.topbar {
  background: var(--navy-900);
  color: #9fb6cd;
  font-size: .84rem;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: .35rem 1.5rem;
  align-items: center; justify-content: space-between;
  min-height: 40px; padding-block: .35rem;
}
.topbar a { color: #d6e4f2; font-weight: 600; }
.topbar a:hover { color: #fff; }
.topbar__phones { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; }
.topbar__phones span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__tag { display: none; }
@media (min-width: 860px) { .topbar__tag { display: block; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .wrap {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.brand img { height: 40px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  color: var(--navy-800); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__list { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  color: var(--navy-800); font-weight: 600; font-size: .96rem;
  padding: .35rem 0; position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--blue-500); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--blue-600); }

@media (max-width: 1023px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: block; background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1rem var(--gutter) 1.75rem;
    max-height: calc(100dvh - var(--header-h) - 1rem);
    overflow-y: auto;
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { display: block; padding: .95rem .25rem; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav .btn { margin-top: 1.1rem; width: 100%; }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(31, 122, 224, .35), transparent 60%),
    radial-gradient(700px 480px at 95% 100%, rgba(240, 115, 22, .18), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #cddced;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.hero + .section { padding-top: clamp(2rem, 4vw, 3rem); } /* rapproche la première section du hero */
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 78%);
}
.hero .wrap { position: relative; }
.hero__grid { display: grid; gap: clamp(2.2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }

.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 .accent { color: #9cc7ff; }
.hero__slogan { font-weight: 700; font-size: 1.15rem; color: #9cc7ff; margin: -.4rem 0 1rem; }
.hero__intro { font-size: 1.1rem; max-width: 34rem; color: #b9cee3; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  color: #dcebfa; border-radius: 999px; padding: .4rem 1rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .22); }

.hero__points { list-style: none; margin: 1.9rem 0 2rem; padding: 0; display: grid; gap: .8rem; }
.hero__points li { display: flex; align-items: center; gap: .75rem; color: #dbe8f5; font-weight: 600; margin: 0; }
.hero__points svg { width: 24px; height: 24px; flex: none; color: var(--blue-400); }

/* ---------- 7. Carte formulaire ---------- */
.card-form {
  background: #fff; color: var(--body);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.card-form h2 { font-size: 1.45rem; margin-bottom: .35rem; }
.card-form > p { font-size: .95rem; color: var(--muted); }

.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: #fff;
  border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(31, 122, 224, .15);
}
.field-note { font-size: .85rem; color: var(--muted); margin: .9rem 0 0; }
.form-alt {
  margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--muted);
}
.form-alt strong { color: var(--ink); }
.form-alt__title { margin: 0 0 .5rem; font-weight: 600; color: var(--ink); }
.form-alt__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.form-alt__list li { display: flex; align-items: baseline; gap: .75rem; margin: 0; }
.form-alt__list span { flex: 0 0 3.4rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.form-alt__list a { overflow-wrap: anywhere; }

/* ---------- 8. Cartes ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0f3; }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }

.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 1.1rem;
  border-radius: 14px; background: var(--blue-050); color: var(--blue-600);
}
.card__icon svg { width: 26px; height: 26px; }
.card__icon--accent { background: var(--orange-050); color: var(--orange-500); }

.card--link { display: block; color: inherit; }
.card--link:hover { color: inherit; }
.card__more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--blue-600); font-size: .92rem; }
.card__more svg { width: 16px; height: 16px; transition: transform .18s ease; }
.card--link:hover .card__more svg { transform: translateX(4px); }

/* Cartes « publics » */
.audience {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: #c7d8ea; border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
}
.audience h3 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.audience--alt { background: linear-gradient(150deg, #1f4f8a, #0f2949); }
.audience p:last-of-type { margin-bottom: 1.4rem; }
.audience ul { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.audience li { display: flex; gap: .6rem; align-items: flex-start; }
.audience li svg { width: 20px; height: 20px; flex: none; color: var(--blue-400); margin-top: .3rem; }

/* Liste de services détaillés */
.service-item { display: grid; gap: 1.25rem; grid-template-columns: 56px 1fr; align-items: start; }
.service-item h3 { margin-bottom: .35rem; }
.service-item p:last-child { margin-bottom: 0; }
.service-item .card__icon { margin-bottom: 0; }

/* ---------- 9. Statistiques ---------- */
.stats { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.stat__num { display: block; font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.03em; }
.stat__label { font-size: .95rem; color: #a9c1d8; }

/* ---------- 10. Témoignages ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm);
  max-width: 760px; margin-inline: auto;
}
.quote__stars { color: #8a6a00; letter-spacing: .18em; font-size: 1.05rem; margin-bottom: .9rem; }
.quote blockquote { margin: 0 0 1.3rem; font-size: 1.15rem; color: var(--ink); line-height: 1.65; }
.quote figcaption { font-size: .93rem; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--ink); font-size: 1rem; }

/* ---------- 11. FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .85rem; overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem clamp(1.1rem, 2.5vw, 1.6rem);
  background: none; border: 0; font: inherit; font-weight: 700; font-size: 1.03rem;
  color: var(--ink); text-align: left; cursor: pointer;
}
.faq__q:hover { color: var(--blue-600); }
.faq__q svg { width: 20px; height: 20px; flex: none; color: var(--blue-600); transition: transform .22s ease; }
.faq__q[aria-expanded="true"] { color: var(--blue-600); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { padding: 0 clamp(1.1rem, 2.5vw, 1.6rem) 1.35rem; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a[hidden] { display: none; }

/* ---------- 12. Bandeau d'appel ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--blue-600), var(--navy-800));
  color: #d8e7f7; border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 46rem; margin-inline: auto; color: #eaf2fb; }
.cta-band .btn-row { margin-top: 1.6rem; justify-content: center; }

/* Horaires : lignes alignées, chiffres à chasse fixe */
.hours {
  display: grid; gap: .1rem;
  margin: .1rem 0 .35rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.hours__day { color: var(--muted); font-size: .92em; }
.site-footer .hours__day { color: #7d94ab; }

/* ---------- 13. Contact ---------- */
.contact-grid { display: grid; gap: clamp(1.6rem, 4vw, 3rem); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: .85fr 1.15fr; align-items: start; } }
.info-list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 1.1rem; }
.info-list li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: start; margin: 0; }
.info-list .card__icon { width: 46px; height: 46px; margin: 0; border-radius: 12px; }
.info-list .card__icon svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--ink); font-size: .95rem; }
.info-list span, .info-list a { font-size: .98rem; }
.info-list__phone { display: inline-block; margin-top: .3rem; font-weight: 700; font-size: 1.05rem; }

.map-wrap {
  position: relative; display: block; width: 100%; height: 320px;
  border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--bg-soft); overflow: hidden;
}
.map-frame { border: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.map-pin {
  position: absolute; left: 50%; top: 50%; width: 34px; height: 51px;
  transform: translate(-50%, -100%); /* la pointe du repère tombe exactement sur l'adresse */
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); pointer-events: none;
}

/* ---------- 14. Blog ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card__meta { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.post-card__meta .cat { color: var(--blue-600); }
.post-card h3 { font-size: 1.2rem; }
.post-card p { font-size: .98rem; }
.post-card .card__more { margin-top: auto; }

.article { max-width: 760px; margin-inline: auto; }
.article__meta { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 1rem; }
.article h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-top: 2.2rem; }
.article h3 { margin-top: 1.8rem; }
.article img { border-radius: var(--radius); margin: 1.6rem 0; }
.article ul, .article ol { margin-bottom: 1.3rem; }
/* Compléments d'article : logo en ligne, chiffres clés, note de source */
.article .logo-inline { width: 220px; max-width: 60%; height: auto; margin: .4rem 0 1.2rem; border-radius: 0; }
.article ul.figures { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; }
.article ul.figures li { background: var(--surface, #f6f7f9); border: 1px solid var(--border, #e3e7ec); border-radius: var(--radius); padding: 1rem .9rem; text-align: center; margin: 0; }
.article ul.figures strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--primary, #0a5fa8); line-height: 1.1; margin-bottom: .3rem; }
.article ul.figures span { font-size: .9rem; color: var(--muted, #5d6b7a); }
.article .source-note { font-size: .9rem; color: var(--muted, #5d6b7a); border-top: 1px solid var(--border, #e3e7ec); padding-top: 1rem; margin-top: 2rem; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue-600); }

/* ---------- 15. En-tête de page interne ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 15% 0%, rgba(31, 122, 224, .32), transparent 62%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #bfd3e7;
  padding: clamp(2.75rem, 6vw, 4.75rem) 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .65rem; }
.page-hero p { max-width: 48rem; margin-inline: auto; margin-bottom: 0; font-size: 1.08rem; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: #93aec8; }
.page-hero .breadcrumb a:hover { color: #fff; }

/* ---------- 16. Pied de page ---------- */
.site-footer { background: var(--navy-900); color: #93a9bf; font-size: .96rem; padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 1.1rem; letter-spacing: 0; }
.site-footer a { color: #c2d4e6; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.footer__brand img { height: 42px; margin-bottom: 1.1rem; }
.footer__tagline { font-style: italic; text-wrap: balance; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer__list li { margin: 0; }
.footer__contact { display: grid; gap: 1rem; }
.footer__contact strong { display: block; color: #fff; font-size: .93rem; }
.footer__bottom {
  margin-top: clamp(2.2rem, 5vw, 3.2rem); padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .87rem; color: #7d94ab;
}
.footer__bottom p { margin: 0; }
.footer__swiss { display: inline-flex; align-items: center; gap: .45em; }
.footer__swiss svg { width: 15px; height: 15px; flex: none; }
.footer__credit { flex-basis: 100%; text-align: center; font-size: .82rem; opacity: .8; margin-top: .25rem; }
.footer__credit a { color: inherit; text-decoration: underline; }

/* ---------- 17. Bouton retour en haut ---------- */
.to-top {
  position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 90;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--navy-800); color: #fff; border: 0; border-radius: 50%;
  box-shadow: var(--shadow); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 18. Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 19. Impression ---------- */
@media print {
  .site-header, .topbar, .to-top, .card-form, .nav-toggle { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero, .page-hero, .section--navy, .cta-band { background: none !important; color: #000 !important; }
  .hero h1, .page-hero h1, .cta-band h2 { color: #000 !important; }
}

/* ---------- Pages politiques (texte long) ---------- */
.prose { max-width: 52rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1rem 0 1.5rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.prose th { font-weight: 700; }

/* ---- Captcha maison (image générée par /captcha.php) ---- */
.captcha__ligne{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin-bottom:.6rem}
.captcha__img{display:block;width:200px;max-width:100%;height:64px;border:1.5px solid var(--line);border-radius:var(--radius-sm);background:#fafafc}
.captcha__btn{font:inherit;font-size:.86rem;font-weight:600;color:var(--blue-600);background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:.45rem .95rem;cursor:pointer;transition:border-color .15s}
.captcha__btn:hover,.captcha__btn:focus-visible{border-color:var(--blue-600);outline:none}
.field .captcha__saisie{max-width:220px;text-transform:uppercase;letter-spacing:.18em;font-weight:600}
.field .captcha__saisie::placeholder{text-transform:none;letter-spacing:normal;font-weight:400}
.captcha__aide{font-size:.81rem;color:var(--muted);margin:.45rem 0 0}
.captcha__erreur{color:#b3261e;font-size:.88rem;font-weight:600;margin:.45rem 0 0}

/* Texte réservé aux lecteurs d'écran */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
