/* ==========================================================================
   ASR Groupe — Feuille de style principale
   Design : sobre, institutionnel, fond blanc / typographie noire.
   ========================================================================== */

/* ---------- 1. Variables ---------- */
:root {
  /* Couleurs */
  --bg:            #ffffff;
  --bg-alt:        #f5f6f7;
  --bg-deep:       #0b0b0c;
  --ink:           #101418;
  --ink-2:         #414b54;
  --ink-3:         #6d767e;
  --line:          #e0e3e6;
  --line-strong:   #c6cbd0;
  --accent:        #e10714;
  --accent-dark:   #b00510;
  --accent-soft:   #fdecee;

  /* Typographie */
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
               Arial, "Noto Sans", sans-serif;

  /* Rythme */
  --wrap:      1240px;
  --wrap-text: 780px;
  --gutter:    clamp(20px, 5vw, 48px);
  --section:   clamp(64px, 9vw, 128px);

  /* Divers */
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

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

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.375rem); letter-spacing: -0.01em; }
h4 { font-size: 1.0625rem; letter-spacing: 0; }

p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

strong { color: var(--ink); font-weight: 600; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Utilitaires de mise en page ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--bg-alt); }
.section--line { border-top: 1px solid var(--line); }

.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 62ch;
}

.measure { max-width: var(--wrap-text); }
.center   { text-align: center; margin-inline: auto; }

/* Ajustements ponctuels (évite tout style en ligne, incompatible avec la CSP) */
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

/* Étiquette de section */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  flex: none;
}
.center .eyebrow { justify-content: center; }

.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { max-width: 20ch; }
.section-head.center h2 { max-width: 24ch; margin-inline: auto; }

/* Grilles */
.grid { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.split--reverse .split__media { order: -1; }

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.55; cursor: progress; }

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--bg-alt); }

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.btn--light:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

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

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Lien fléché */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--accent);
}
.arrow-link::after {
  content: "";
  width: 16px; height: 9px;
  background: currentColor;
  clip-path: polygon(0 38%, 68% 38%, 68% 0, 100% 50%, 68% 100%, 68% 62%, 0 62%);
  transition: transform 0.25s var(--ease);
}
.arrow-link:hover { text-decoration: none; }
.arrow-link:hover::after { transform: translateX(5px); }

/* ---------- 5. En-tête ---------- */
.topbar {
  background: var(--bg-deep);
  color: rgba(255,255,255,.72);
  font-size: 0.8125rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 38px;
}
.topbar p { margin: 0; }
.topbar a { color: #fff; font-weight: 500; }
.topbar__links { display: flex; gap: 22px; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  display: block;
  padding: 10px 16px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav a:hover { color: var(--accent); text-decoration: none; }
.nav a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

.header__cta { flex: none; margin-left: 18px; padding: 12px 24px; }

/* Le bouton interne à la nav ne sert qu'au panneau mobile. */
.nav .btn { display: none; }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, #fbfcfc, #ffffff 60%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
}
.hero h1 { margin-bottom: 0.5em; }
.hero .lede { margin-bottom: 34px; }
.hero__media { position: relative; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: auto -40px -28px auto;
  width: 180px; height: 180px;
  border: 1px solid var(--line);
  z-index: -1;
}

/* Bandeau de page intérieure */
.pagehead {
  background: var(--bg-deep);
  color: rgba(255,255,255,.78);
  padding-block: clamp(56px, 7vw, 92px);
  position: relative;
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 380px; height: 380px;
  border: 1px solid rgba(255,255,255,.09);
  transform: rotate(18deg);
}
.pagehead h1 { color: #fff; max-width: 18ch; }
.pagehead .lede { color: rgba(255,255,255,.74); }
.pagehead .eyebrow { color: #ff5a62; }
.pagehead .eyebrow::before { background: #ff5a62; }
.pagehead > .wrap { position: relative; z-index: 1; }

/* Fil d’Ariane */
.crumbs {
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.crumbs .wrap { padding-block: 14px; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin-inline: 8px; color: var(--line-strong); }

/* ---------- 6 bis. Photographies ---------- */
.photo {
  display: block;
  overflow: hidden;
  background: var(--bg-alt);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--3x2 { aspect-ratio: 3 / 2; }
.photo--16x9 { aspect-ratio: 16 / 9; }

/* Filet d'accent discret, dans l'esprit des visuels institutionnels. */
.photo--rule { position: relative; }
.photo--rule::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 96px; height: 5px;
  background: var(--accent);
}

/* ---------- 7. Cartes ---------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px; bottom: -1px;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease);
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -22px rgba(16, 20, 24, 0.4);
}
.card:hover::before { transform: scaleY(1); }
.card h3 { margin-bottom: 0.5em; }
.card p  { font-size: 0.9688rem; }
.card .arrow-link { margin-top: auto; padding-top: 20px; }

.card__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 20px;
}

.card__icon {
  width: 40px; height: 40px;
  margin-bottom: 22px;
  color: var(--accent);
}
.card__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.25; }

/* Carte « branche » (mise en avant) */
.branch {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  background: #fff;
}
.branch__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.branch__media img { width: 100%; height: 100%; object-fit: cover; }
.branch__body { padding: clamp(28px, 3.4vw, 44px); }
.branch__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 5px 11px;
  margin-bottom: 18px;
}
.branch ul { padding-left: 0; list-style: none; margin-bottom: 1.6em; }
.branch li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9688rem;
  margin-bottom: 0.55em;
}
.branch li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.66em;
  width: 9px; height: 1.5px;
  background: var(--accent);
}

/* Grille compacte de rubriques */
.minigrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  margin-top: 36px;
}
.minigrid h4 {
  margin-bottom: 7px;
  padding-top: 15px;
  border-top: 2px solid var(--accent);
}
.minigrid p { font-size: 0.9375rem; margin: 0; }

/* Liste à puces « check » */
.ticks { list-style: none; padding-left: 0; }
.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.7em;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 15px; height: 8px;
  border-left: 1.75px solid var(--accent);
  border-bottom: 1.75px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- 8. Chiffres / piliers ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pillar {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(26px, 3vw, 40px);
}
.pillar__k {
  display: block;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.pillar p { font-size: 0.9375rem; margin: 0; }

/* ---------- 9. Étapes (méthode) ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(18px, 3vw, 40px);
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  content: "0" counter(step);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.step h3 { margin-bottom: 0.4em; }
.step p  { font-size: 0.9688rem; margin: 0; }

/* ---------- 10. Bandeau d’appel ---------- */
.cta {
  background: var(--bg-deep);
  color: rgba(255,255,255,.76);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  left: -120px; bottom: -160px;
  width: 420px; height: 420px;
  border: 1px solid rgba(255,255,255,.08);
  transform: rotate(24deg);
}
.cta h2 { color: #fff; }
.cta .wrap { position: relative; z-index: 1; }
.cta__inner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 40px;
  align-items: center;
}

/* ---------- 11. Formulaire ---------- */
.form-shell {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
label .req { color: var(--accent); }

input[type="text"], input[type="email"], input[type="tel"],
select, textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23414b54' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}
textarea { min-height: 158px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
input::placeholder, textarea::placeholder { color: #9aa2a9; }

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.consent input[type="checkbox"] {
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}
.consent label { font-weight: 400; font-size: 0.875rem; color: var(--ink-2); }

.form-note { font-size: 0.8125rem; color: var(--ink-3); }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert {
  padding: 16px 20px;
  margin-bottom: 32px;
  border: 1px solid var(--line-strong);
  border-left-width: 3px;
  font-size: 0.9375rem;
  background: var(--bg-alt);
}
.alert--ok    { border-left-color: #1a7f4b; }
.alert--error { border-left-color: #b3261e; }

/* Encart coordonnées */
.contact-aside {
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 36px);
  background: var(--bg-alt);
}
.contact-aside dl { margin: 0; }
.contact-aside dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.contact-aside dd {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: 0.9688rem;
}
.contact-aside dd:last-child { margin-bottom: 0; }

/* ---------- 12. Pages de contenu légal ---------- */
.prose { max-width: 74ch; }
.prose h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-top: 2.4em;
  padding-top: 1.6em;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 1.0625rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }

.toc {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 24px 28px;
  margin-bottom: 48px;
}
.toc p { font-weight: 600; color: var(--ink); font-size: 0.875rem; margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: 0.9375rem; }

/* ---------- 13. Pied de page ---------- */
.footer {
  background: var(--bg-deep);
  color: rgba(255,255,255,.66);
  font-size: 0.9375rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 76px);
}
.footer__brand img { height: 38px; width: auto; margin-bottom: 22px; }
.footer__brand p { max-width: 34ch; font-size: 0.9375rem; }
.footer h4 {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; }
.footer a { color: rgba(255,255,255,.66); }
.footer a:hover { color: #fff; text-decoration: none; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.5);
}
.footer__bottom p { margin: 0; }
.footer__bottom--bare { border-top: 0; }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- 14. Révélation au défilement ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }

  .burger { display: inline-flex; }
  .header__cta { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 28px;
    box-shadow: 0 24px 40px -28px rgba(16,20,24,.5);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    /* visibility bascule après le fondu à la fermeture… */
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
                visibility 0s linear 0.22s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    /* …et immédiatement à l'ouverture. */
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
                visibility 0s linear 0s;
  }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav a::after { display: none; }
  .nav .btn { display: inline-flex; margin-top: 22px; justify-content: center; border-bottom: 0; }

  .hero__inner,
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .hero__media { order: -1; max-width: 520px; }
  .hero__media::before { display: none; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .form-shell { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; gap: 28px; }
  .topbar__links a:not(:last-child) { display: none; }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .minigrid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .topbar .wrap { justify-content: center; }
  .topbar p { display: none; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
}

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

/* ---------- 16. Impression ---------- */
@media print {
  .topbar, .header, .cta, .footer__top, .burger { display: none; }
  body { color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
}
