/* =========================================================
   AGRIPILOT — Feuille de style principale
   Design épuré / moderne · vert précision · sans dépendance
   ========================================================= */

:root {
  /* Couleurs */
  --color-bg: #ffffff;
  --color-surface: #f5f8f6;
  --color-surface-2: #eef3ef;
  --color-text: #13201a;
  --color-muted: #5c6b63;
  --color-accent: #0e8f5e;
  --color-accent-dark: #0a6e48;
  --color-accent-tint: #e7f4ec;
  --color-dark: #0f1a14;
  --color-dark-2: #16261d;
  --color-border: #e3e9e4;
  --color-white: #ffffff;

  /* Typographie */
  --font-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rayons / ombres */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(19, 32, 26, .06), 0 1px 3px rgba(19, 32, 26, .05);
  --shadow: 0 6px 24px rgba(19, 32, 26, .08);
  --shadow-lg: 0 18px 50px rgba(19, 32, 26, .14);

  /* Espacements / layout */
  --container: 1180px;
  --gutter: 24px;
  --section-y: clamp(56px, 8vw, 110px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.14; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 700; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); line-height: 1.08; }
h2 { font-size: clamp(1.65rem, 3.3vw, 2.4rem); }
h3 { font-size: 1.24rem; }
.brand-word, .btn, .stat .num, .eyebrow, .model-name, .model-width, .price-tag .amount { font-family: var(--font-heading); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

/* ---------- Utilitaires ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--surface { background: var(--color-surface); }
.section--dark { background: var(--color-dark); color: #dfeae3; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-accent); margin-bottom: 14px;
}
.section--dark .eyebrow { color: #5fd39c; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--color-muted); }
.section--dark .lead { color: #b7c9bf; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; font-weight: 650; font-size: 1rem;
  border: 1.5px solid transparent; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn--light { background: #fff; color: var(--color-dark); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
/* Bouton secondaire (ghost) sur fond sombre : texte + contour clairs */
.section--dark .btn--ghost, .cta-band .btn--ghost, .offer .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.section--dark .btn--ghost:hover, .cta-band .btn--ghost:hover, .offer .btn--ghost:hover { color: var(--color-dark); background: #fff; border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.94);
  border-bottom-color: transparent;
  box-shadow: 0 6px 22px rgba(19, 32, 26, .09);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; transition: height .25s ease; }
.site-header.scrolled .nav { height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--color-text); }
.brand .brand-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--color-accent); color: #fff; font-size: 1rem; font-weight: 800;
}
.brand span.accent { color: var(--color-accent); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  padding: 9px 14px; border-radius: 8px; font-weight: 550; font-size: .98rem; color: #26332c;
  transition: background .18s ease, color .18s ease;
}
.nav-links a:hover { background: var(--color-surface-2); color: var(--color-accent-dark); }
.nav-links a.active { color: var(--color-accent); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 90px) 0 clamp(40px, 6vw, 76px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { max-width: 34ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600;
  background: var(--color-accent-tint); color: var(--color-accent-dark);
  padding: 7px 13px; border-radius: 999px;
}

/* Cadre image / placeholder */
.media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, #eaf3ee 0%, #dcebe0 100%);
  box-shadow: var(--shadow-lg);
}
.media img, .media video { width: 100%; height: auto; display: block; }
.brand-logo { height: 34px; width: auto; display: block; }

/* Logo lockup (emblème réel + wordmark) */
.brand { gap: 11px; }
.brand-emblem { height: 42px; width: auto; display: block; }
.brand-word { font-weight: 800; font-size: 1.34rem; letter-spacing: -0.03em; color: var(--color-text); line-height: 1; }
.brand-word > span { color: var(--color-accent); }
.brand-word--light { color: #fff; }
.brand-word--light > span { color: #6fdca4; }

/* Barre utilitaire (cross-sell GPS) */
.topbar { background: var(--color-dark); color: #cfe0d4; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 9px 0; flex-wrap: wrap; text-align: center; }
.topbar-txt { font-size: .88rem; }
.topbar-txt strong { color: #fff; }
.topbar-link { color: #6fdca4; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.topbar-link:hover { color: #8fe3b6; }
.img-placeholder {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, #dfeee4 0%, #cfe4d6 55%, #bcd8c4 100%);
  display: grid; place-items: center; text-align: center; color: #3f6552; padding: 24px;
}
.img-placeholder::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14,143,94,.10) 1.4px, transparent 1.5px);
  background-size: 18px 18px; opacity: .6;
}
.img-placeholder .ph-inner { position: relative; z-index: 1; max-width: 320px; }
.img-placeholder .ph-icon { font-size: 1.9rem; margin-bottom: 8px; }
.img-placeholder .ph-title { font-weight: 700; color: #2f5343; margin-bottom: 4px; }
.img-placeholder .ph-note { font-size: .82rem; color: #5c7d6c; }
.media--wide .img-placeholder { aspect-ratio: 21 / 9; }
.media--tall .img-placeholder { aspect-ratio: 4 / 5; }
.media--square .img-placeholder { aspect-ratio: 1 / 1; }

/* ---------- Bandeau chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -0.03em; color: var(--color-accent); line-height: 1; }
.section--dark .stat .num { color: #5fd39c; }
.stat .label { margin-top: 8px; font-size: .95rem; color: var(--color-muted); }
.section--dark .stat .label { color: #a9bcb1; }

/* ---------- Vidéo en avant ---------- */
.video-feature { max-width: 920px; margin: 44px auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; line-height: 0; }
.video-feature video { width: 100%; height: auto; display: block; }

/* ---------- Équipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 46px auto 0; }
.team-card { text-align: center; }
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  background: var(--color-accent-tint); color: var(--color-accent-dark);
  font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em;
}
.team-card .role { color: var(--color-accent); font-weight: 600; font-size: .92rem; margin: 2px 0 12px; }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Grilles de features ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Empêche les éléments (images, textes longs) de forcer une largeur > écran */
.hero-grid > *, .split > *, .grid > *, .stats > *, .model-grid > *,
.form-grid > *, .footer-grid > *, .table-wrap { min-width: 0; }
.media, .media img { min-width: 0; max-width: 100%; }

.card {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0d4; }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--color-accent-tint); color: var(--color-accent-dark); margin-bottom: 16px;
  font-size: 1.35rem;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--color-muted); margin: 0; font-size: .98rem; }
.section--dark .card { background: var(--color-dark-2); border-color: #24362b; }
.section--dark .card p { color: #a9bcb1; }
.section--dark .card .ic { background: #1c3227; color: #6fdca4; }

/* Étape numérotée */
.step .num-badge {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-accent); color: #fff; font-weight: 800; margin-bottom: 16px;
}

/* ---------- Split (texte + media) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split--reverse .split-media { order: -1; }
.feature-list { list-style: none; margin: 22px 0 0; display: grid; gap: 14px; }
.feature-list li { position: relative; padding-left: 32px; color: var(--color-text); }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px;
  background: var(--color-accent-tint); color: var(--color-accent-dark); border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}
.section--dark .feature-list li { color: #dfeae3; }
.section--dark .feature-list li::before { background: #1c3227; color: #6fdca4; }

/* ---------- Comparatif / tableau ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--color-border); }
table.spec { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
table.spec th, table.spec td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
table.spec th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-muted); font-weight: 700; width: 34%; background: var(--color-surface); }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }
table.spec td { font-weight: 500; }

/* ---------- Cartes modèles / prix ---------- */
.model-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.model {
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 34px;
  background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.model.is-featured { border-color: var(--color-accent); box-shadow: var(--shadow); position: relative; }
.model.is-featured::before {
  content: "Le plus demandé"; position: absolute; top: -13px; left: 34px;
  background: var(--color-accent); color: #fff; font-size: .74rem; font-weight: 700;
  letter-spacing: .04em; padding: 5px 12px; border-radius: 999px;
}
.model .model-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.model .model-sub { color: var(--color-muted); margin-bottom: 18px; }
.model .model-width { font-size: 2.4rem; font-weight: 800; color: var(--color-accent); letter-spacing: -0.03em; }
.model ul { list-style: none; margin: 20px 0 26px; display: grid; gap: 12px; }
.model ul li { position: relative; padding-left: 28px; color: #33413a; font-size: .97rem; }
.model ul li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent); font-weight: 800; }
.model .btn { margin-top: auto; }

.price-tag { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.price-tag .amount { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.price-tag .from { color: var(--color-muted); font-size: .9rem; }

/* Bandeau offre */
.offer {
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #fff; text-align: center;
}
.offer h2 { color: #fff; }
.offer p { color: #d6f2e3; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- Pastilles cultures ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: #fff; border: 1px solid var(--color-border); border-radius: 999px;
  padding: 9px 16px; font-size: .95rem; font-weight: 550; color: #2c3a33;
  display: inline-flex; align-items: center; gap: 8px; transition: .18s;
}
.chip:hover { border-color: var(--color-accent); color: var(--color-accent-dark); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
.chip.soon { background: var(--color-surface); color: var(--color-muted); }
.chip.soon .dot { background: #b7c4bc; }
.chip .tag-soon { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-accent); font-weight: 700; }

.crop-block { margin-bottom: 34px; }
.crop-block h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.crop-block h3 .count { font-size: .8rem; font-weight: 700; color: var(--color-accent); background: var(--color-accent-tint); padding: 3px 10px; border-radius: 999px; }

/* ---------- CTA final ---------- */
.cta-band { background: var(--color-dark); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b7c9bf; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Formulaire ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: #2c3a33; }
.field label .req { color: var(--color-accent); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--color-text);
  padding: 13px 15px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .18s ease, box-shadow .18s ease; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-tint);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #c0392b; font-size: .82rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--color-muted); }
.form-success {
  display: none; background: var(--color-accent-tint); border: 1px solid #bfe3cd;
  color: var(--color-accent-dark); padding: 18px 20px; border-radius: var(--radius); font-weight: 600;
}
.form-error {
  display: none; background: #fdecec; border: 1px solid #f3b7b7;
  color: #a12525; padding: 18px 20px; border-radius: var(--radius); font-weight: 600; margin-bottom: 18px;
}
.form-error a { color: #a12525; text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Bandeau cookies (RGPD) */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  max-width: 940px; margin: 0 auto;
  background: #14231b; color: #eaf3ee;
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.32);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .92rem; line-height: 1.5; }
.cookie-banner a { color: #7fd0b0; color: var(--color-accent); font-weight: 600; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.cookie-banner .btn--ghost { color: #eaf3ee; border-color: rgba(255,255,255,.34); background: transparent; }
.cookie-banner .btn--ghost:hover { background: rgba(255,255,255,.08); }
@media (max-width: 560px){
  .cookie-banner { padding: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; }
}

/* Carte Google Maps : placeholder tant que le consentement n'est pas donné */
.map-consent:not(.loaded) iframe { display: none; }
.map-consent-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 28px 22px; min-height: 200px;
  background: var(--color-surface, #f3f6f4); color: var(--color-muted);
}
.map-consent-ph p { margin: 0; font-size: .9rem; max-width: 320px; }
.map-consent.loaded .map-consent-ph { display: none; }
.contact-aside { display: grid; gap: 18px; align-content: start; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: var(--color-accent-tint); color: var(--color-accent-dark); display: grid; place-items: center; font-size: 1.15rem; }
.contact-line .l { font-weight: 700; font-size: .95rem; }
.contact-line .v { color: var(--color-muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-dark); color: #b7c9bf; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer p { color: #94a89d; font-size: .95rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #b7c9bf; font-size: .95rem; }
.footer-col a:hover { color: #6fdca4; }
.footer-bottom { border-top: 1px solid #24362b; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #7c9086; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .lead { max-width: none; }
  .split, .split--reverse .split-media { grid-template-columns: 1fr; order: 0; }
  .split-media { order: -1; }
  .split--media-below .split-media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .model-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--color-border); padding: 10px var(--gutter) 20px;
    box-shadow: var(--shadow); height: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 8px; border-radius: 8px; font-size: 1.05rem; }
  .nav-links .nav-cta { margin: 8px 0 0; }
  .nav-links .nav-cta .btn { width: 100%; }

  /* En-tête sur mobile : collant (reste visible au défilement) + fond plein */
  .site-header { position: sticky; top: 0; z-index: 100; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav { height: 64px; position: relative; }
  .brand-emblem { height: 36px; }
  .brand-word { font-size: 1.18rem; }
  .topbar-inner { flex-direction: column; gap: 4px; padding: 8px 0; }
  .topbar-txt, .topbar-link { font-size: .8rem; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}
