/* ==========================================================================
   Digital Solutions - feuille de styles principale
   Palette : bleu nuit technique + turquoise signal
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  --ink:        #08172A;
  --navy:       #0B2239;
  --navy-2:     #11406F;
  --blue:       #1566D6;
  --blue-dark:  #0F4FA8;
  --blue-soft:  #E8F0FC;
  --teal:       #16CFC0;
  --teal-dark:  #0E9C90;
  --teal-soft:  #E4F8F6;

  --text:       #1B2C3E;
  --muted:      #5D7186;
  --line:       #E3EAF1;
  --surface:    #F5F8FB;
  --surface-2:  #EEF3F9;
  --white:      #FFFFFF;

  --radius-s: 8px;
  --radius:   14px;
  --radius-l: 22px;

  --shadow-s: 0 1px 2px rgba(11,34,57,.06), 0 2px 8px rgba(11,34,57,.05);
  --shadow:   0 4px 14px rgba(11,34,57,.07), 0 18px 40px -22px rgba(11,34,57,.28);
  --shadow-l: 0 10px 30px rgba(11,34,57,.10), 0 40px 80px -40px rgba(11,34,57,.42);

  --font-title: "Space Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body:  "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue); }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
strong { color: var(--navy); font-weight: 600; }

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

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

/* --- 3. Utilitaires ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--navy); color: #C9D8E6; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.section--dark .eyebrow { color: var(--teal); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.07rem; margin-bottom: 0; }
.section--dark .section-head p { color: #9DB3C7; }

.lead { font-size: 1.15rem; color: var(--muted); }

/* --- 4. Boutons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-size: .97rem; font-weight: 600; line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(21,102,214,.75);
}
.btn--primary:hover { color: #fff; box-shadow: 0 14px 28px -10px rgba(21,102,214,.8); }

/* Turquoise assombri : le texte des boutons est blanc, il faut donc un fond
   suffisamment sombre pour rester lisible (contraste >= 4.5:1). */
.btn--accent {
  background: linear-gradient(135deg, #0A8177 0%, #06625B 100%);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(10,129,119,.75);
}
.btn--accent:hover {
  background: linear-gradient(135deg, #087069 0%, #05534D 100%);
  color: #fff;
  box-shadow: 0 14px 28px -10px rgba(10,129,119,.8);
}

/* Bouton secondaire : aplat bleu nuit, texte blanc. */
.btn--ghost { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--ghost:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }

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

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

/* --- 5. En-tete ---------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 42px; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-title); font-weight: 700; font-size: 1.1rem;
  letter-spacing: .04em; color: var(--navy);
}
.brand__tag {
  font-size: .64rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blue);
}

.nav { display: flex; align-items: center; gap: 4px; }
/* :not(.btn) est indispensable : sans lui, ces regles (plus specifiques que
   .btn--primary) ecraseraient la couleur et le fond du bouton d'appel. */
.nav a:not(.btn) {
  position: relative;
  padding: 10px 14px; border-radius: var(--radius-s);
  font-size: .95rem; font-weight: 500; color: var(--text);
}
.nav a:not(.btn):hover { color: var(--blue-dark); background: var(--blue-soft); }
.nav a[aria-current="page"] { color: var(--blue-dark); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--teal));
}
.header .btn { padding: 12px 20px; }

.burger {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s);
  cursor: pointer;
}
.burger span {
  display: block; width: 20px; height: 2px; margin: 4px auto;
  background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- 6. Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  color: #D6E3EF;
  background: var(--ink);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .30;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% 14%, rgba(22,207,192,.20), transparent 62%),
    linear-gradient(105deg, rgba(8,23,42,.96) 30%, rgba(8,23,42,.72) 62%, rgba(8,23,42,.55) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding-block: clamp(72px, 11vw, 132px);
  max-width: 760px;
}
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--teal), #7FE9E0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 1.16rem; color: #B7CADB; max-width: 620px; }
.hero .btn-row { margin-top: 32px; }

.hero__pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 10px; margin-bottom: 26px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-size: .84rem; font-weight: 500; color: #CFE0EE;
}
.hero__pill b { color: #fff; font-weight: 600; }
.dot-live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(22,207,192,.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22,207,192,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(22,207,192,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,207,192,0); }
}

/* Bandeau de reassurance sous le hero */
.trustbar { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.10); }
.trustbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.10);
}
.trustbar__item {
  background: var(--ink); padding: 26px 22px;
  display: flex; gap: 14px; align-items: flex-start;
}
.trustbar__item svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 3px; }
.trustbar__item b { display: block; color: #fff; font-family: var(--font-title); font-size: .98rem; margin-bottom: 2px; }
.trustbar__item span { font-size: .85rem; color: #8FA6BB; line-height: 1.5; }

/* Bandeau interne de page */
.pagehead {
  position: relative; background: var(--navy); color: #C3D5E4; overflow: hidden;
}
.pagehead__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.pagehead::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,34,57,.95) 35%, rgba(11,34,57,.68) 100%);
}
.pagehead__inner { position: relative; z-index: 2; padding-block: clamp(52px, 7vw, 84px); max-width: 780px; }
.pagehead h1 { color: #fff; margin-bottom: .35em; }
.pagehead p { color: #A9BFD2; font-size: 1.08rem; margin-bottom: 0; }

.breadcrumb { font-size: .85rem; color: #8CA6BD; margin-bottom: 14px; }
.breadcrumb a { color: #BBD0E2; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .55; padding: 0 6px; }

/* --- 7. Grilles et cartes ------------------------------------------------ */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 32px 28px;
  box-shadow: var(--shadow-s);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CFE0F3; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .97rem; }
.card > :last-child { margin-bottom: 0; }

.card__icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blue-soft), #F4FBFA);
  border: 1px solid #DCE9F8;
  color: var(--blue-dark);
}
.card__icon svg { width: 25px; height: 25px; }

.card__link {
  margin-top: auto; padding-top: 16px;
  font-size: .93rem; font-weight: 600; color: var(--blue-dark);
  display: inline-flex; align-items: center; gap: 7px;
}
.card__link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.card:hover .card__link svg { transform: translateX(4px); }

.card--dark {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  border-color: transparent; color: #AFC5D8;
}
.card--dark h3 { color: #fff; }
.card--dark p { color: #A2B8CC; }
.card--dark .card__icon {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: var(--teal);
}

/* Liste a puces cochees */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li {
  position: relative; padding-left: 30px; margin-bottom: .6em;
  font-size: .98rem; color: var(--muted);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E9C90' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.section--dark .checklist li { color: #A8BED2; }
.section--dark .checklist li::before { background-color: rgba(22,207,192,.16); }

/* --- 8. Blocs image + texte --------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.split + .split { margin-top: clamp(56px, 8vw, 104px); }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%; height: 100%; max-height: 460px; object-fit: cover;
  border-radius: var(--radius-l); box-shadow: var(--shadow-l);
}
.split__body h2 { margin-bottom: .5em; }
.split__body > :last-child { margin-bottom: 0; }

/* --- 9. Demarche (etapes) ------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; padding-top: 28px;
  border-top: 2px solid var(--line);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -17px; left: 0;
  font-family: var(--font-title); font-size: .84rem; font-weight: 700; letter-spacing: .08em;
  background: #fff; padding-right: 12px; color: var(--blue);
}
.section--surface .step::before { background: var(--surface); }
.step h3 { font-size: 1.1rem; margin-bottom: .4em; }
.step p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }

/* --- 10. Secteurs -------------------------------------------------------- */
.sectors { display: flex; flex-wrap: wrap; gap: 12px; }
.sector {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .94rem; font-weight: 500; color: var(--navy);
  box-shadow: var(--shadow-s);
}
.sector svg { width: 17px; height: 17px; color: var(--blue); }
.section--dark .sector { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #DCE8F2; box-shadow: none; }
.section--dark .sector svg { color: var(--teal); }

/* --- 11. Bandeau d'appel a l'action ------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, #14538F 100%);
  border-radius: var(--radius-l);
  padding: clamp(38px, 5vw, 60px);
  color: #C6D7E7;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -110px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,207,192,.28), transparent 68%);
}
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { margin-bottom: 0; color: #A9C0D4; }
.cta-band__text { position: relative; }
.cta-band .btn-row { position: relative; justify-content: flex-end; }

/* --- 12. Formulaire ------------------------------------------------------ */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 7px;
}
.field .req { color: #C2410C; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  font-family: inherit; font-size: .97rem; color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius-s);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,102,214,.12);
}
.field input::placeholder, .field textarea::placeholder { color: #93A7B9; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.consent input { width: 18px; height: 18px; margin-top: 4px; flex: none; accent-color: var(--blue); }
.consent label { font-size: .86rem; color: var(--muted); font-weight: 400; line-height: 1.55; }

.form-note {
  font-size: .85rem; color: var(--muted);
  background: var(--blue-soft); border-left: 3px solid var(--blue);
  padding: 14px 16px; border-radius: 0 var(--radius-s) var(--radius-s) 0; margin-top: 22px;
}
.form-note > :last-child { margin-bottom: 0; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --- 13. Coordonnees ----------------------------------------------------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-dark);
}
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list b { display: block; font-family: var(--font-title); color: var(--navy); font-size: .97rem; }
.contact-list span, .contact-list a { font-size: .96rem; color: var(--muted); }
.contact-list a:hover { color: var(--blue-dark); }

.map-embed {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-s); background: var(--surface-2);
}
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }

/* --- 14. FAQ ------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 46px 22px 0; position: relative;
  font-family: var(--font-title); font-weight: 600; font-size: 1.05rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 13px; height: 13px;
  margin-top: -9px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -4px; }
.faq summary:hover { color: var(--blue-dark); }
.faq .faq__body { padding: 0 40px 24px 0; color: var(--muted); font-size: .98rem; }
.faq .faq__body > :last-child { margin-bottom: 0; }

/* --- 15. Contenu legal --------------------------------------------------- */
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.08rem; margin-top: 1.7em; }
.legal p, .legal li { color: var(--muted); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

.datatable { width: 100%; border-collapse: collapse; margin-bottom: 1.6em; font-size: .95rem; }
.datatable th, .datatable td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.datatable th { width: 38%; color: var(--navy); font-weight: 600; background: var(--surface); }
.datatable td { color: var(--muted); }
.table-wrap { overflow-x: auto; }

/* --- 16. Pied de page ---------------------------------------------------- */
.footer { background: var(--ink); color: #8FA6BB; padding-top: clamp(56px, 7vw, 84px); font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__logo { width: 178px; margin-bottom: 20px; }
.footer h4 {
  color: #fff; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 18px; font-family: var(--font-body); font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .7em; }
.footer a { color: #9FB6CA; }
.footer a:hover { color: var(--teal); }
.footer p { color: #8397AA; }
.footer__bottom {
  margin-top: clamp(40px, 5vw, 60px); padding-block: 24px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: .85rem; color: #72899E;
}
.footer__bottom a { color: #8FA6BB; }

/* --- 17. Animations d'apparition ---------------------------------------- */
/* Le masquage initial n'est applique que si JavaScript est actif : sans JS,
   la classe .js n'est jamais posee et tout le contenu reste visible. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .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; }
  .js .reveal { opacity: 1; transform: none; }
}

/* --- 18. Responsive ------------------------------------------------------ */
@media (max-width: 1040px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .header__inner { min-height: 68px; }
  .burger { display: block; }

  .nav {
    position: fixed; inset: 68px 0 auto; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    box-shadow: var(--shadow-l);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 18px; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .field--row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .trustbar__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .card { padding: 26px 22px; }
  .brand__tag { display: none; }
}

/* --- 19. Impression ------------------------------------------------------ */
@media print {
  .header, .footer, .cta-band, .burger, .hero__bg, .pagehead__bg { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; }
}
