/* École de Conduite St-Amour — main stylesheet (mobile-first, no framework)
   Brand: red and black from the official logo, deep navy base for trust, road-line yellow accent.
   Signature: asphalt band with yellow centre line. Overpass type (Highway Gothic lineage). */

@font-face {
  font-family: "Overpass";
  src: url("/assets/fonts/overpass-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #12305a;
  --navy-800: #0f2747;
  --navy-700: #1b4079;
  --navy-600: #24508f;
  --navy-50: #e9eff8;
  --ink: #161b24;
  --muted: #4a5466;
  --paper: #f4f6f9;
  --line: #d9dfe8;
  --field: #758196;
  --red: #c8102e;
  --red-hover: #9e0c24;
  --red-soft: #fdecee;
  --yellow: #f5c518;
  --asphalt: #2b323d;
  --white: #ffffff;
  --error: #b42318;
  --error-soft: #fdecea;
  --success: #17683a;
  --success-soft: #e7f5ec;
  --tbd-bg: #fff1a8;
  --tbd-ink: #4f3b00;
  --tbd-line: #a07c00;
  --focus: #1b4079;

  --font: "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(18, 48, 90, .08), 0 2px 6px rgba(18, 48, 90, .06);
  --shadow-md: 0 10px 30px -12px rgba(18, 48, 90, .28);
  --gutter: clamp(1rem, 4vw, 1.5rem);
  --section: clamp(3.25rem, 7vw, 6rem);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-kerning: normal;
  overflow-x: clip;
}
img, svg, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; font-weight: 800; letter-spacing: -0.012em; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 1.6rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 1.35rem + 1.3vw, 2.375rem); }
h3 { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.005em; }
h4, .h4 { font-size: 1.0625rem; font-weight: 750; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0 0 1em; }
a { color: var(--navy-700); text-decoration-thickness: 1.5px; text-underline-offset: .18em; transition: color .2s var(--ease); }
a:hover { color: var(--red); }
strong { font-weight: 750; }
main:focus { outline: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.hero, .section--navy, .site-footer, .page-hero, .top-bar { --focus: var(--yellow); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius); font-weight: 700;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow > * { max-width: 800px; }
.container--form > * { max-width: 860px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------------ placeholders */
.tbd {
  display: inline-block; vertical-align: middle;
  background: var(--tbd-bg); color: var(--tbd-ink); border: 1px dashed var(--tbd-line);
  font-size: .8125rem; font-weight: 650; line-height: 1.3; padding: .2em .6em; border-radius: 4px;
}
.review-banner {
  background: var(--tbd-bg); color: var(--tbd-ink); border-bottom: 1px dashed var(--tbd-line);
  font-size: .875rem; font-weight: 600; text-align: center; padding: .5rem var(--gutter); line-height: 1.4;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem .6rem;
  font: inherit; font-weight: 750; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding-inline: 1.6rem; font-size: 1.0625rem; }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 6px 16px -8px rgba(200, 16, 46, .7); }
.btn--primary:hover { background: var(--red-hover); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(200, 16, 46, .8); }
.btn--secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn--outline-light { color: var(--white); border-color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .04); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn--ghost { color: var(--navy-700); text-decoration: underline; text-underline-offset: .2em; padding-inline: .6rem; }
.btn--ghost:hover { color: var(--red); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }
.link-strong { font-weight: 750; }

/* ------------------------------------------------------------------ top bar + header */
.top-bar { display: none; background: var(--navy-800); color: #d6e0ef; font-size: .875rem; }
.top-bar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.75rem; min-height: 40px; }
.top-bar a, .top-bar span { display: inline-flex; align-items: center; gap: .45rem; color: #e6edf7; text-decoration: none; }
.top-bar a:hover { color: var(--yellow); }
.top-bar .icon { width: 16px; height: 16px; color: var(--yellow); }
.top-bar__email { margin-left: auto; }
@media (min-width: 900px) { .top-bar { display: block; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; padding-block: .5rem; border-radius: 6px; }
.brand__logo { width: 170px; height: auto; transition: transform .25s var(--ease); }
.brand:hover .brand__logo { transform: scale(1.03); }
.brand__text { font-size: 1.25rem; font-weight: 850; color: var(--navy); }
@media (min-width: 1040px) { .brand__logo { width: 210px; } }

.nav-toggle {
  display: none; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem .8rem;
  font: inherit; font-weight: 700; color: var(--navy); background: var(--white);
  border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s;
}
.nav-toggle:hover { border-color: var(--navy); }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__icon--close { display: none; }
.js .nav-toggle { display: inline-flex; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: inline; }

.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  display: flex; align-items: center; min-height: 50px; padding: .5rem .25rem;
  font-weight: 650; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
.site-nav__list a:hover { color: var(--red); }
.site-nav__list a[aria-current="page"] { color: var(--red); font-weight: 800; }
.site-nav__actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }

/* Mobile: no-JS shows a stacked list; with JS a panel that slides down smoothly. */
.no-js .site-header__inner { flex-wrap: wrap; }
.no-js .site-nav { flex-basis: 100%; }
.js .site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: .25rem var(--gutter) 0; box-shadow: 0 24px 40px -24px rgba(18, 48, 90, .45);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s; }

.lang-switch { display: inline-flex; align-items: center; gap: .15rem; font-weight: 750; font-size: .9375rem; }
.lang-switch__current { padding: .45rem .55rem; color: var(--navy); border-bottom: 3px solid var(--red); line-height: 1; }
.lang-switch a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; padding: .45rem .55rem; color: var(--muted); text-decoration: none; line-height: 1; border-radius: 6px; }
.lang-switch a:hover { color: var(--red); background: var(--red-soft); }

@media (min-width: 1100px) {
  .js .nav-toggle { display: none; }
  .js .site-nav, .no-js .site-nav {
    display: flex; position: static; align-items: center; gap: 1.25rem;
    padding: 0; border: 0; box-shadow: none; max-height: none; overflow: visible; flex-basis: auto;
    visibility: visible; opacity: 1; transform: none; transition: none; background: none;
  }
  .no-js .site-header__inner { flex-wrap: nowrap; }
  .site-nav__list { display: flex; gap: 1.1rem; }
  .site-nav__list a { border: 0; padding-inline: 0; min-height: 44px; position: relative; }
  .site-nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 3px; background: var(--red); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav__list a[aria-current="page"] { color: var(--navy); }
  .site-nav__actions { padding: 0; gap: .75rem; }
}

/* ------------------------------------------------------------------ road band (signature) */
.road-band {
  position: relative; height: 18px; background: var(--asphalt); overflow: hidden;
  box-shadow: inset 0 3px 0 -1px rgba(255, 255, 255, .9), inset 0 -3px 0 -1px rgba(255, 255, 255, .9);
}
.road-band::before, .road-band__line {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 34px, transparent 34px 62px);
}
.road-band--hero { height: clamp(40px, 6vw, 58px); box-shadow: inset 0 5px 0 -1px #fff, inset 0 -5px 0 -1px #fff; z-index: 1; }
.road-band--hero::before { content: none; }
.road-band--hero .road-band__line {
  height: 5px; margin-top: -2.5px; left: -310px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 52px, transparent 52px 92px);
  animation: road-roll 1.8s var(--ease) .2s both;
}
@keyframes road-roll { from { transform: translateX(-276px); } to { transform: translateX(0); } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; background: var(--navy); color: var(--white); isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg picture, .page-hero__bg picture { width: 100%; height: 100%; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; animation: hero-zoom 14s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 32, 62, .95) 0%, rgba(12, 32, 62, .9) 40%, rgba(12, 32, 62, .5) 66%, rgba(12, 32, 62, .12) 100%),
    linear-gradient(0deg, rgba(12, 32, 62, .55) 0%, rgba(12, 32, 62, 0) 35%);
}
.hero__inner { display: flex; align-items: center; min-height: clamp(520px, 78vh, 720px); padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); }
.hero__text { max-width: 40rem; }
.hero__text > * { animation: rise .8s var(--ease) both; }
.hero__text > :nth-child(2) { animation-delay: .1s; }
.hero__text > :nth-child(3) { animation-delay: .2s; }
.hero__text > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__title {
  color: var(--white); font-size: clamp(2.5rem, 1.5rem + 4.6vw, 4.75rem); line-height: 1.02;
  letter-spacing: -0.03em; font-weight: 850; margin-bottom: .4em; text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero__lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); line-height: 1.55; color: #e4ebf6; max-width: 36ch; margin-bottom: 1.9rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__facts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-weight: 650; }
.hero__facts li, .hero__facts a { display: inline-flex; align-items: center; gap: .5rem; color: var(--white); text-decoration: none; min-height: 44px; }
.hero__facts .icon { color: var(--yellow); }
.hero__facts a:hover { color: var(--yellow); }
@media (max-width: 639px) {
  /* Phones: the photo sits above the text so it stays fully visible. */
  .hero--photo .hero__bg { position: relative; z-index: 0; height: 58vw; max-height: 300px; }
  .hero--photo .hero__bg::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, var(--navy), rgba(18, 48, 90, 0)); }
  .hero__bg img { object-position: 65% 50%; }
  .hero--photo .hero__shade { display: none; }
  .hero--photo .hero__inner { min-height: 0; padding-top: 1.25rem; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------ sections */
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .section__lead { color: #dbe5f3; }
.section--navy a:not(.btn) { color: var(--white); }
.section--navy a:not(.btn):hover { color: var(--yellow); }
.section__head { margin-bottom: 2.25rem; max-width: 46rem; }
.section__head p, .section__lead { color: var(--muted); font-size: 1.125rem; }
.section__cta { margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
section[tabindex="-1"]:focus { outline: none; }

.intro { display: grid; gap: 2.5rem; align-items: center; }
.intro__text { max-width: 44rem; }
.intro__text p:first-of-type { font-size: 1.1875rem; }
.intro__photo img, .rounded-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
@media (min-width: 960px) { .intro:has(.intro__photo) { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }

.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) 360px; gap: 3.5rem; }
  .split--even { grid-template-columns: 1fr 1fr; align-items: center; }
}
.split__aside { display: grid; gap: 1.5rem; }

/* page hero (inner pages) */
.page-hero { position: relative; background: var(--navy); color: var(--white); isolation: isolate; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 32, 62, .95) 0%, rgba(12, 32, 62, .82) 55%, rgba(12, 32, 62, .55) 100%); }
.page-hero__inner { padding-block: 1.25rem clamp(2.25rem, 5vw, 3.75rem); }
.page-hero h1 { color: var(--white); margin-bottom: .3em; animation: rise .7s var(--ease) both; }
.page-hero__lead { color: #dbe5f3; font-size: 1.1875rem; max-width: 56ch; margin: 0; animation: rise .7s var(--ease) .1s both; }
.breadcrumbs ol { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .9375rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: #9fb4d3; }
.breadcrumbs a { color: #dbe5f3; }
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs [aria-current] { color: var(--white); font-weight: 650; }

/* ------------------------------------------------------------------ service cards */
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-50); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 2.25rem 1.5rem 1.5rem; }
.service-card__icon {
  position: absolute; top: -28px; left: 1.5rem; display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 14px; background: var(--red); color: var(--white); box-shadow: 0 8px 18px -8px rgba(200, 16, 46, .8);
}
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card__title { font-size: 1.375rem; margin-bottom: .45rem; }
.service-card__title a { color: var(--navy); text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.service-card__title a:focus-visible { outline: none; }
.service-card:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.service-card__body p { color: var(--muted); margin-bottom: 1.25rem; }
.service-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .3rem; font-weight: 750; color: var(--red); }
.service-card__more .icon { transition: transform .25s var(--ease); }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }

/* courses page */
.course-index ul { list-style: none; padding: 0; margin: 0 0 2.75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.course-index a, .faq-index a {
  display: inline-flex; min-height: 44px; align-items: center; padding: .4rem 1.1rem; border: 1.5px solid var(--line);
  border-radius: 999px; font-weight: 650; text-decoration: none; color: var(--navy); background: var(--white); transition: all .2s var(--ease);
}
.course-index a:hover, .faq-index a:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.courses { display: grid; gap: 3.5rem; }
.course { display: grid; gap: 2rem; scroll-margin-top: calc(var(--header-h) + 1rem); padding-top: 2rem; border-top: 4px solid var(--navy); }
@media (min-width: 960px) {
  .course--photo { grid-template-columns: 380px 1fr; gap: 3rem; align-items: start; }
  .course--photo:nth-child(even) { grid-template-columns: 1fr 380px; }
  .course--photo:nth-child(even) .course__media { order: 2; }
}
.course__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.course__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.course:hover .course__media img { transform: scale(1.03); }
.course__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.course__head h3 { margin: 0 0 .25rem; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); }
.course__icon { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 14px; background: var(--red); color: var(--white); }
.course__icon .icon { width: 28px; height: 28px; }
.course__summary { font-size: 1.1875rem; }
.course__grid { display: grid; gap: 1.25rem 2.5rem; margin-top: 1.25rem; }
@media (min-width: 820px) { .course__grid { grid-template-columns: 1fr 1fr; } }
.course__grid h4 { margin-top: .25rem; }
.course__facts { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; margin: 1.25rem 0; padding: 1rem 1.25rem; background: var(--paper); border-radius: var(--radius); }
.course__facts dt { font-size: .875rem; color: var(--muted); font-weight: 600; }
.course__facts dd { margin: 0; font-weight: 750; }
.course__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.ticks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks .icon { color: var(--success); margin-top: .15em; }

.note {
  display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; margin-bottom: 2rem;
  background: var(--navy-50); border-left: 4px solid var(--navy-700); border-radius: 0 var(--radius) var(--radius) 0;
}
.note .icon { color: var(--navy-700); margin-top: .2em; }
.note p { margin: 0; }

/* ------------------------------------------------------------------ why */
.why { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .why { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why__item {
  padding: 1.6rem 1.5rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.why__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.why__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--red-soft); color: var(--red); margin-bottom: 1rem; transition: background .3s, color .3s; }
.why__item:hover .why__icon { background: var(--red); color: var(--white); }
.why__item h3 { margin: 0 0 .4rem; }
.why__item p { margin: 0; color: var(--muted); }

/* ------------------------------------------------------------------ information CTA */
.section--cta { background:
  radial-gradient(800px 400px at 100% 0%, rgba(200, 16, 46, .22), transparent 60%),
  var(--navy); }
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); margin-top: 1.5rem; }
.form-card .form { margin-top: 0; }
.form-card a:not(.btn) { color: var(--navy-700); }
.cta-aside { padding: 1.75rem; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); }
.cta-aside p { color: #dbe5f3; }
.cta-aside__phone { display: inline-flex; align-items: center; gap: .6rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); font-weight: 850; color: var(--white) !important; text-decoration: none; margin-bottom: .75rem; }
.cta-aside__phone .icon { color: var(--yellow); }
@media (min-width: 960px) { .cta-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); margin-top: 5.5rem; } }

/* ------------------------------------------------------------------ gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--navy-50); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery__note { margin: 1rem 0 0; font-size: .875rem; color: var(--muted); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.1rem .9rem;
  color: var(--white); font-weight: 750; font-size: 1.0625rem;
  background: linear-gradient(0deg, rgba(10, 25, 48, .88), rgba(10, 25, 48, 0));
}

/* ------------------------------------------------------------------ steps on the road */
.section--steps { background: var(--paper); }
.road-steps { list-style: none; margin: 2.5rem 0 0; padding: 0 0 0 4.5rem; position: relative; display: grid; gap: 2.25rem; }
.road-steps::before {
  content: ""; position: absolute; left: 0; top: -.5rem; bottom: -.5rem; width: 44px;
  background: var(--asphalt); border-radius: 4px;
  box-shadow: inset 3px 0 0 -1px #fff, inset -3px 0 0 -1px #fff;
}
.road-steps::after {
  content: ""; position: absolute; left: 20.5px; top: 0; bottom: 0; width: 3px;
  background: repeating-linear-gradient(180deg, var(--yellow) 0 22px, transparent 22px 40px);
}
.road-steps__item { position: relative; }
.road-steps__num {
  position: absolute; left: -4.5rem; top: -.1rem; z-index: 1; margin-left: 2px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); color: var(--navy); font-weight: 850; font-size: 1.125rem; border: 3px solid var(--red);
}
.road-steps__body h3 { margin: .3rem 0 .35rem; }
.road-steps__body p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .road-steps { padding: 4.25rem 0 0; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .road-steps::before { left: -.5rem; right: -.5rem; top: 0; bottom: auto; width: auto; height: 44px; box-shadow: inset 0 3px 0 -1px #fff, inset 0 -3px 0 -1px #fff; }
  .road-steps::after { left: 0; right: 0; top: 20.5px; bottom: auto; width: auto; height: 3px; background: repeating-linear-gradient(90deg, var(--yellow) 0 30px, transparent 30px 56px); }
  .road-steps__num { left: 0; top: -4.25rem; margin: 2px 0 0; }
}

/* ------------------------------------------------------------------ FAQ */
.faq { border-top: 2px solid var(--navy); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; padding: 1rem .25rem; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { margin: 0; font-size: 1.125rem; font-weight: 750; color: var(--navy); transition: color .2s; }
.faq__item summary:hover .faq__q { color: var(--red); }
.faq__toggle { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--navy); color: var(--navy); transition: transform .25s var(--ease), background .25s, color .25s; }
.faq__toggle .icon { width: 18px; height: 18px; }
.faq__item[open] .faq__toggle { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: var(--white); }
.faq__a { padding: 0 .25rem 1.25rem; }
.faq__item[open] .faq__a { animation: rise .35s var(--ease) both; }
.faq__a p { margin: 0 0 .75rem; }
.faq-index ul { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.faq-cat { margin-bottom: 3rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.faq-cat h2 { font-size: 1.5rem; }
.cta-inline { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ------------------------------------------------------------------ about */
.facts { margin: 1.5rem 0; }
.facts dt { font-size: .875rem; font-weight: 650; color: var(--muted); }
.facts dd { margin: 0; font-weight: 750; font-size: 1.125rem; }
.pillars { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars li { border-top: 4px solid var(--red); padding: 1.5rem; background: var(--white); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pillars li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillars p { margin: 0; color: var(--muted); }
.values { margin: 0; display: grid; gap: 1.25rem; }
.values dt { font-weight: 800; color: var(--navy); font-size: 1.1875rem; }
.values dd { margin: .2rem 0 0; color: var(--muted); }
.team { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.team__photo { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 1rem; width: 100%; }
.team__member p { color: var(--muted); }

.cta-band { background: var(--paper); border-top: 1px solid var(--line); }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band__inner h2 { margin-bottom: .25rem; }
.cta-band__inner p { margin: 0; color: var(--muted); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; } }

/* ------------------------------------------------------------------ contact, hours, map */
.contact-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 1.1rem; }
.contact-list__item { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--red-soft); color: var(--red); }
.contact-list__icon .icon { width: 20px; height: 20px; }
.contact-list__label { display: block; font-size: .875rem; font-weight: 650; color: var(--muted); line-height: 1.3; }
.contact-list__value { display: block; font-weight: 650; overflow-wrap: anywhere; }
.contact-list__value a { font-weight: 750; }

.hours { width: 100%; max-width: 26rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .6rem .25rem; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 700; color: var(--ink); }
.hours td { text-align: right; font-weight: 650; white-space: nowrap; }
.hours tr.is-closed td { color: var(--muted); font-weight: 500; }
.hours--compact th, .hours--compact td { padding: .3rem 0; font-size: .9375rem; }

.visit { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .visit { grid-template-columns: minmax(0, 400px) 1fr; gap: 3.5rem; } }
.visit__hours-title { margin-top: 1.5rem; }

.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1.1fr 1fr; } }
.contact-card { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.contact-card h2 { font-size: 1.5rem; }

.map__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--navy-50); aspect-ratio: 4 / 3; }
@media (min-width: 960px) { .map__frame { aspect-ratio: 16 / 10; } }
.map__fallback { position: absolute; inset: 0; margin: 0; max-width: none; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; text-align: center; font-weight: 700; color: var(--navy); }
.map__fallback .icon { color: var(--red); }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }

.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.aside-card__title { font-size: 1.25rem; }
.aside-card__subtitle { font-size: 1.0625rem; margin-top: 1.25rem; }
.aside-card__links { margin: 1.25rem 0 0; font-weight: 700; }
.aside-card__note { display: flex; gap: .6rem; margin: 1.25rem 0 0; font-size: .9375rem; color: var(--muted); }
.aside-card__note .icon { color: var(--success); }
.aside-link { margin: 0; }
.mini-steps { margin: 0; padding-left: 1.25rem; display: grid; gap: .6rem; }
.mini-steps li::marker { font-weight: 800; color: var(--red); }

.jump { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }

/* ------------------------------------------------------------------ useful links */
.links-cat { margin-bottom: 3.5rem; }
.links-cat__head { max-width: 46rem; margin-bottom: 1.5rem; }
.links-cat__head p { color: var(--muted); }
.link-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .link-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .link-cards { grid-template-columns: repeat(3, 1fr); } .link-cards--teaser { grid-template-columns: repeat(4, 1fr); } }
.link-card a {
  display: flex; flex-direction: column; gap: .4rem; height: 100%; padding: 1.25rem 1.25rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); text-decoration: none; color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.link-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; color: var(--ink); }
.link-card__badge { display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; font-size: .8125rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.link-card__badge .icon { width: 14px; height: 14px; }
.link-card__badge--gouvernement { background: var(--navy-50); color: var(--navy-700); }
.link-card__badge--organismes { background: var(--red-soft); color: var(--red-hover); }
.link-card__badge--ressources { background: #fff4d6; color: #6b4e00; }
.link-card__label { font-weight: 800; color: var(--navy); font-size: 1.0625rem; line-height: 1.3; }
.link-card a:hover .link-card__label { color: var(--red); }
.link-card__desc { color: var(--muted); font-size: .9375rem; }
.link-card__url { margin-top: auto; padding-top: .35rem; display: inline-flex; align-items: center; gap: .35rem; font-size: .875rem; font-weight: 650; color: var(--navy-700); overflow-wrap: anywhere; }
.link-card__url .icon { width: 14px; height: 14px; }
.links-disclaimer { display: flex; gap: .6rem; color: var(--muted); font-size: .9375rem; }

/* ------------------------------------------------------------------ forms */
.form { margin-top: 1.5rem; }
.form__note { font-size: .9375rem; color: var(--muted); }
.form__section { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.form__legend { font-size: 1.25rem; font-weight: 800; color: var(--navy); padding: 0; margin-bottom: 1rem; }
.form__intro { color: var(--muted); margin-top: -.5rem; }
.form__grid { display: grid; gap: 1.25rem 1.5rem; }
@media (min-width: 640px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field { grid-column: 1 / -1; }
  .field--half { grid-column: span 1; }
}
.field { min-width: 0; }
.field__label { display: block; font-weight: 700; margin-bottom: .4rem; color: var(--ink); line-height: 1.35; }
.req { color: var(--error); margin-left: .15em; }
.field__help { font-size: .9375rem; color: var(--muted); margin: -.15rem 0 .5rem; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .85rem .6rem;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--field); border-radius: 8px; appearance: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312305a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-700); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(27, 64, 121, .12); }
.form-card .field input:focus-visible, .form-card .field select:focus-visible, .form-card .field textarea:focus-visible, .form-card .choice input:focus-visible { outline-color: var(--navy-700); }
.field [aria-invalid="true"] { border-color: var(--error) !important; border-width: 2px !important; background-color: #fffafa !important; }
.field__error { display: flex; gap: .4rem; align-items: flex-start; color: var(--error); font-weight: 650; font-size: .9375rem; margin: .45rem 0 0; }
.field__error::before { content: "!"; display: grid; place-items: center; flex: none; width: 1.15rem; height: 1.15rem; margin-top: .12rem; border-radius: 50%; background: var(--error); color: #fff; font-size: .75rem; font-weight: 900; }

.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-group__options { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.choice { display: inline-flex; align-items: flex-start; gap: .6rem; min-height: 44px; padding-block: .55rem; cursor: pointer; line-height: 1.4; }
.choice input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--navy); cursor: pointer; }
.choice--single { display: flex; }
.choice-group[aria-invalid="true"] .choice-group__options { outline: 2px solid var(--error); outline-offset: 4px; border-radius: 4px; }
.field--consent { margin-top: .5rem; padding: 1rem 1.1rem; background: var(--paper); border-radius: var(--radius); }
.section--paper .field--consent { background: var(--white); }
.field--consent .choice { font-size: .9375rem; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { margin-top: 1.75rem; }
.form__actions .btn { width: 100%; }
@media (min-width: 640px) { .form__actions .btn { width: auto; } }

.form__summary, .form__notice, .form__result:not(:empty) { border-radius: var(--radius); padding: 1rem 1.15rem; margin-bottom: 1.5rem; }
.form__summary { background: var(--error-soft); border-left: 4px solid var(--error); color: var(--ink); }
.form__summary:focus { outline: 3px solid var(--error); outline-offset: 2px; }
.form__summary h3 { color: var(--error); font-size: 1.0625rem; margin: 0 0 .5rem; }
.form__summary ul { margin: 0; padding-left: 1.2rem; }
.form__summary a { color: var(--error); font-weight: 650; }
.form__notice { display: flex; gap: .65rem; background: var(--tbd-bg); color: var(--tbd-ink); border: 1px dashed var(--tbd-line); font-weight: 600; }
.form__notice p { margin: 0; }
.form__notice a { color: var(--tbd-ink) !important; }
.form__result:not(:empty) { margin: 1.25rem 0 0; color: var(--ink); }
.form__result.is-error { background: var(--error-soft); border-left: 4px solid var(--error); }
.form__result a { font-weight: 700; color: var(--navy-700) !important; }

.form-success { background: var(--success-soft); color: var(--ink); border-left: 4px solid var(--success); border-radius: var(--radius); padding: 1.5rem; margin-top: 1.5rem; animation: rise .45s var(--ease) both; }
.form-success h3 { color: var(--success) !important; display: flex; align-items: center; gap: .5rem; margin: 0; }
.form-success h3:focus { outline: none; }

/* ------------------------------------------------------------------ status pages, prose */
.status-page__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1.5rem; }
.status-page__icon .icon { width: 34px; height: 34px; }
.status-page__icon--ok { background: var(--success-soft); color: var(--success); }
.status-page__icon--error { background: var(--error-soft); color: var(--error); }
.status-page__code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 850; color: var(--red-soft); -webkit-text-stroke: 2px var(--red); line-height: 1; margin: 0 0 1rem; }
.link-list { padding-left: 1.2rem; }
.link-list li { margin-bottom: .4rem; }
.prose h2 { font-size: 1.375rem; margin-top: 2.25rem; }
.prose .tbd { margin-bottom: .25rem; }
.legal-updated { margin-top: 2.5rem; color: var(--muted); font-size: .9375rem; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--navy); color: #d3deef; font-size: .9375rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.25fr 1fr .9fr 1.35fr; } }
.site-footer__logo { display: inline-block; background: var(--white); border-radius: 12px; padding: .6rem .9rem; margin-bottom: 1rem; transition: transform .25s var(--ease); }
.site-footer__logo:hover { transform: translateY(-2px); }
.site-footer__logo-img { width: 200px; }
.site-footer__ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.site-footer__title { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 1rem; }
.site-footer__nav { display: grid; gap: 1.5rem; }
@media (min-width: 560px) { .site-footer__nav { grid-template-columns: auto 1fr; gap: 2rem; } }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer .contact-list__icon { background: rgba(255, 255, 255, .1); color: var(--yellow); }
.site-footer .contact-list__label { color: #b9c8e0; }
.site-footer .contact-list__value, .site-footer .contact-list__value a { color: var(--white); }
.site-footer .hours th, .site-footer .hours td { border-color: rgba(255, 255, 255, .14); color: #e6edf7; }
.site-footer .hours tr.is-closed td { color: #b9c8e0; }
.site-footer .lang-switch__current { color: var(--white); }
.site-footer .lang-switch a { color: #d3deef; }
.site-footer .lang-switch a:hover { background: rgba(255, 255, 255, .1); color: var(--yellow); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .15); padding-block: 1.25rem; }
.site-footer__bottom p { margin: 0; font-size: .875rem; color: #b9c8e0; }
.site-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer__legal a { display: inline-flex; min-height: 40px; align-items: center; font-size: .875rem; }

/* ------------------------------------------------------------------ mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .5rem var(--gutter) calc(.5rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(18, 48, 90, .35);
}
.mobile-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px;
  border-radius: var(--radius); font-weight: 750; text-decoration: none; color: var(--navy); border: 2px solid var(--navy);
}
.mobile-bar__btn--primary { background: var(--red); border-color: var(--red); color: var(--white); }
.mobile-bar__btn--primary:hover { color: var(--white); background: var(--red-hover); }
body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}
@media (max-height: 420px) and (orientation: landscape) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .site-header { position: static; }
  .hero__inner { min-height: 0; }
}

/* ------------------------------------------------------------------ small screens */
@media (max-width: 380px) {
  .brand__logo { width: 150px; }
  .nav-toggle__label { display: none; }
}

/* ------------------------------------------------------------------ scroll reveal
   Content is always visible by default. main.js adds .reveal-on to <html> only after it has
   set up the observer, so a JavaScript failure can never leave a section hidden. */
.reveal-on [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }
.reveal-on [data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-on [data-reveal][data-d="1"] { transition-delay: .08s; }
.reveal-on [data-reveal][data-d="2"] { transition-delay: .16s; }
.reveal-on [data-reveal][data-d="3"] { transition-delay: .24s; }
.reveal-on .service-card[data-reveal].is-in, .reveal-on .why__item[data-reveal].is-in, .reveal-on .link-card[data-reveal].is-in, .reveal-on .pillars [data-reveal].is-in {
  transition: opacity .7s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

/* ------------------------------------------------------------------ motion & print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-on [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .tbd { border: 1px solid CanvasText; }
}
@media print {
  .site-header, .top-bar, .mobile-bar, .site-footer, .review-banner, .road-band, .form, .skip-link, .map { display: none !important; }
  body { padding: 0; color: #000; }
  .hero, .page-hero, .section--navy { background: none; color: #000; }
  .hero__bg, .hero__shade, .page-hero__bg { display: none; }
  .hero__title, .page-hero h1 { color: #000; }
}
