/* ============================================================
   PET VIX — PESQUISA LOCAL DO ECOSSISTEMA PET
   Paleta oficial: fundo #FAFBF8 · primário #2F5D50 · apoio #DDEBE5
   texto #17221E · borda #D7DFDA · acento raro #FF6A2A
   Derivados validados WCAG AA: muted #5C6964 · acento-link #AA471C
   Fraunces (display) + Inter (corpo)
   ============================================================ */

:root {
  --paper: #FAFBF8;        /* fundo */
  --paper-2: #DDEBE5;      /* apoio */
  --white-warm: #FFFFFF;
  --ink: #17221E;          /* texto e seções escuras */
  --ink-deep: #101915;     /* rodapé */
  --pri: #2F5D50;          /* primário: botões, kickers, links (>=6.1) */
  --pri-deep: #254A40;     /* hover do primário */
  --accent: #FF6A2A;       /* acento RARO: decorativo, em sobre escuro (5.72) */
  --accent-deep: #AA471C;  /* acento em texto pequeno sobre claro (>=4.71) */
  --muted-paper: #5C6964;  /* corpo sobre claro (>=4.67) */
  --muted-ink: #8FA39A;    /* corpo sobre escuro (6.13) */
  --cream-text: #DDEBE5;   /* texto principal sobre escuro (13.31) */
  --border: #D7DFDA;
  --focus: #AA471C;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --radius: 18px;
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--pri); color: var(--white-warm); }

/* ---------- foco visível + skip-link ---------- */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.section-ink :focus-visible, #footer :focus-visible { outline-color: var(--accent); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10000;
  background: var(--ink-deep); color: var(--white-warm);
  padding: 12px 22px; border-radius: 0 0 12px 12px;
  font-weight: 600; font-size: 14px; transition: top .25s ease;
}
.skip-link:focus { top: 0; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  pointer-events: none; z-index: 9000; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 1.4s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0,0); } 25% { transform: translate(-2%,1%); }
  50% { transform: translate(1%,-2%); } 75% { transform: translate(-1%,2%); }
  100% { transform: translate(2%,-1%); }
}

/* ---------- preloader (failsafe CSS: some sozinho aos 4s) ---------- */
#preloader {
  position: fixed; inset: 0; background: var(--paper); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s ease, visibility .8s;
  animation: preloader-failsafe 0s linear 4s forwards;
}
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.pre-mark { text-align: center; }
.pre-symbol {
  width: 104px; height: 104px; display: block; margin: 0 auto 20px;
  animation: pre-breathe 2.4s ease-in-out infinite;
}
@keyframes pre-breathe { 0%,100% { transform: scale(1); opacity: .92; } 50% { transform: scale(1.07); opacity: 1; } }
@keyframes pre-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(47,93,80,.2); } 50% { box-shadow: 0 0 0 20px rgba(47,93,80,0); } }
.pre-name { font-family: var(--font-display); font-size: 22px; color: var(--ink); display: block; letter-spacing: .06em; }
.pre-sub { font-size: 11px; text-transform: uppercase; letter-spacing: .28em; color: var(--muted-paper); display: block; margin-top: 6px; }

/* ---------- header ---------- */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
#header.scrolled {
  background: rgba(250,251,248,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 9px 0; box-shadow: 0 1px 0 rgba(23,34,30,.06), 0 12px 30px rgba(23,34,30,.08);
}
.header-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.brand-symbol { width: 42px; height: 42px; flex: none; display: block; }
.footer-logo { width: 170px; height: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--ink); letter-spacing: .02em; }
.brand-text em { font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .24em; color: var(--muted-paper); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  font-size: 13.5px; font-weight: 500; color: var(--ink); opacity: .85; position: relative;
  padding: 10px 11px; min-height: 44px; display: inline-flex; align-items: center;
  transition: opacity .3s, color .3s;
}
.nav a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 1.5px; background: var(--pri); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a:hover { opacity: 1; color: var(--pri); }
.nav a:hover::after { transform: scaleX(1); }
.nav-backdrop { display: none; }

/* hamburger */
.menu-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: 12px; width: 46px; height: 46px; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-bars { display: flex; flex-direction: column; gap: 5px; }
.menu-bars i { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
body.menu-open .menu-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-bars i:nth-child(2) { opacity: 0; }
body.menu-open .menu-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 15px 30px; min-height: 48px; border: 0; border-radius: 100px; cursor: pointer; white-space: nowrap;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.btn-accent { background: var(--pri); color: var(--white-warm); box-shadow: 0 10px 30px rgba(47,93,80,.28); }
.btn-accent:hover { background: var(--pri-deep); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(47,93,80,.4); }
.btn-ghost { border: 1px solid var(--border); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--pri); color: var(--pri); transform: translateY(-2px); }
.section-ink .btn-ghost, .consent .btn-ghost { border-color: rgba(221,235,229,.4); color: var(--cream-text); }
.btn-header { padding: 11px 22px; font-size: 13.5px; min-height: 44px; }
.btn-big { padding: 19px 44px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 13.5px; min-height: 44px; }
.only-narrow { display: none; }

/* ---------- hero ---------- */
#hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center;
  background: var(--paper-2) url("../assets/img/hero-poster.jpg?v=2") center/cover no-repeat;
}
#hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 1; opacity: 0; transition: opacity .8s ease;
  pointer-events: none;
}
#hero-video.ready { opacity: 1; }
.hero-aurora {
  position: absolute; inset: -25%; z-index: 2; opacity: .45;
  background:
    radial-gradient(38% 38% at 24% 30%, rgba(47,93,80,.28), transparent 70%),
    radial-gradient(42% 42% at 78% 24%, rgba(255,106,42,.14), transparent 72%),
    radial-gradient(40% 40% at 14% 78%, rgba(221,235,229,.4), transparent 70%);
  filter: blur(8px); animation: aurora-drift 26s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(2.5%,-2%,0) scale(1.06); }
  100% { transform: translate3d(-2.5%,2%,0) scale(1.03); }
}
/* véu de legibilidade sobre a foto */
.hero-lift {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(90deg,
    rgba(250,251,248,.95) 0%, rgba(250,251,248,.88) 34%,
    rgba(250,251,248,.55) 58%, rgba(250,251,248,.08) 82%, transparent 100%);
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.hero-content { position: relative; z-index: 5; max-width: var(--container); margin: 0 auto; padding: 120px 24px 80px; width: 100%; }
.hero-kicker { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .28em; color: var(--pri); margin-bottom: 22px; }
#hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(38px, 5.2vw, 68px); line-height: 1.1; color: var(--ink); max-width: 800px; letter-spacing: -.01em; }
#hero h1 em { font-style: italic; color: var(--pri); }
.hero-sub { margin-top: 24px; font-size: clamp(16px, 1.5vw, 18px); color: var(--muted-paper); max-width: 580px; }
.hero-ctas { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-chips { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500;
  color: var(--ink); border: 1px solid var(--border); background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 15px; border-radius: 100px;
}
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 5;
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .3em; color: rgba(23,34,30,.55);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint span { width: 1px; height: 34px; background: linear-gradient(180deg, var(--pri), transparent); animation: hint-drop 2s ease-in-out infinite; }
@keyframes hint-drop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); border-top: 1px solid rgba(221,235,229,.16); border-bottom: 1px solid rgba(221,235,229,.16); overflow: hidden; padding: 15px 0; position: relative; z-index: 5; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee-run 40s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--cream-text); white-space: nowrap; }
.marquee-track i { font-style: normal; font-size: 12px; color: var(--accent); }
@keyframes marquee-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.section { position: relative; padding: 104px 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 840px; }
.section-paper { background: var(--paper); color: var(--ink); }
.section-paper-2 { background: var(--paper-2); color: var(--ink); }
.section-ink { background: var(--ink); color: var(--cream-text); }
.kicker { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .3em; color: var(--pri); margin-bottom: 16px; }
.section-ink .kicker { color: var(--accent); }
.section h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(29px, 3.7vw, 46px); line-height: 1.15; letter-spacing: -.01em; max-width: 780px; }
.section h2 em { font-style: italic; color: var(--pri); }
.section-ink h2 em { color: var(--accent); }
.section-sub { margin-top: 18px; font-size: 17px; max-width: 640px; color: var(--muted-paper); }
.section-ink .section-sub { color: var(--muted-ink); }
.section-note { margin-top: 34px; font-size: 15.5px; color: var(--muted-paper); }
.section-note a { color: var(--pri); font-weight: 600; border-bottom: 1px solid rgba(47,93,80,.35); transition: border-color .3s; }
.section-note a:hover { border-color: var(--pri); }
.lgpd-note {
  margin-top: 44px; font-size: 13.5px; line-height: 1.7; color: var(--muted-paper);
  max-width: 860px; padding: 18px 22px; border: 1px solid var(--border);
  border-radius: 14px; background: var(--white-warm);
}
.lgpd-note a { color: var(--pri); font-weight: 600; border-bottom: 1px solid rgba(47,93,80,.35); }

/* ---------- cards participe ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.card-paper {
  display: block; background: var(--white-warm); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: 0 2px 10px rgba(23,34,30,.04);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card-paper:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(23,34,30,.1); border-color: var(--pri); }
.card-icon { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--paper-2); color: var(--pri); margin-bottom: 18px; }
.card-paper h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin-bottom: 9px; color: var(--ink); }
.card-paper p { font-size: 14.5px; color: var(--muted-paper); }
.card-time {
  display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600;
  color: var(--pri); background: var(--paper-2); border-radius: 100px; padding: 5px 12px;
}
.card-link { display: flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 30px; font-size: 13.5px; font-weight: 600; color: var(--accent-deep); }
.card-link i { font-style: normal; transition: transform .3s; }
.card-paper:hover .card-link i { transform: translateX(5px); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-sobre { grid-template-columns: 360px 1fr; }
.split-copy p { margin-top: 18px; font-size: 16.5px; color: var(--muted-paper); max-width: 540px; }
.split-copy p strong { color: var(--ink); }
.section-ink .split-copy p { color: var(--muted-ink); }
.section-ink .split-copy p strong { color: var(--cream-text); }
.split-media { position: relative; }
.scene-card { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px rgba(23,34,30,.2); aspect-ratio: 4 / 3; background: var(--pri); }
.scene-card svg { display: block; width: 100%; height: 100%; }
.quote-line { font-family: var(--font-display); font-style: italic; font-size: 20px !important; color: var(--pri) !important; margin-top: 24px !important; }
.sobre-media { text-align: center; }
.sobre-foto {
  width: 250px; height: 250px; border-radius: 50%; margin: 0 auto;
  background: radial-gradient(circle at 40% 35%, rgba(47,93,80,.75), rgba(23,34,30,.9));
  border: 1px solid rgba(221,235,229,.3); box-shadow: 0 24px 60px rgba(16,25,21,.4);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--cream-text);
}
.sobre-foto-note { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: rgba(221,235,229,.85); }
.sobre-nome { margin-top: 20px; display: flex; flex-direction: column; gap: 3px; }
.sobre-nome strong { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--cream-text); }
.sobre-nome span { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-ink); }
.sobre-links { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
.ig-link { display: inline-flex; align-items: center; gap: 9px; padding: 8px 0; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--accent); transition: color .3s; }
.ig-link:hover { color: var(--cream-text); }

/* ---------- método (steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 54px; }
.step { position: relative; padding-top: 12px; }
.step-num { font-family: var(--font-display); font-weight: 600; font-size: 100px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(143,163,154,.5); display: block; margin-bottom: 4px; }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-bottom: 10px; color: var(--cream-text); }
.step p { font-size: 15px; color: var(--muted-ink); max-width: 340px; }

/* ---------- persona list ---------- */
.persona-list { list-style: none; margin-top: 46px; max-width: 880px; }
.persona-list li {
  display: flex; align-items: baseline; gap: 26px; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(18px, 2.2vw, 25px); color: var(--ink); padding: 22px 6px;
  border-bottom: 1px solid var(--border); transition: padding-left .35s ease, color .35s ease;
}
.persona-list li:hover { padding-left: 18px; color: var(--pri); }
.persona-list li span { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--pri); flex: none; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 46px; }
.faq-item { background: var(--white-warm); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 14px; overflow: hidden; transition: box-shadow .3s; }
.faq-item[open] { box-shadow: 0 14px 34px rgba(23,34,30,.08); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: var(--font-display); font-weight: 500; font-size: 18.5px; color: var(--ink); padding: 22px 26px; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(47,93,80,.5); position: relative; transition: transform .35s ease, background .35s ease; }
.faq-mark::before, .faq-mark::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; background: var(--pri); transform: translate(-50%,-50%); }
.faq-mark::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] .faq-mark { background: var(--paper-2); transform: rotate(45deg); }
.faq-item p { padding: 0 26px 24px; font-size: 15.5px; color: var(--muted-paper); max-width: 720px; }
.faq-item p a { color: var(--pri); font-weight: 600; border-bottom: 1px solid rgba(47,93,80,.35); }

/* ---------- CTA final ---------- */
#cta-final { padding: 140px 0; text-align: center; overflow: hidden; }
#cta-final::before { content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 880px; height: 880px; background: radial-gradient(circle, rgba(255,106,42,.1) 0%, transparent 62%); pointer-events: none; }
.cta-final-inner { position: relative; }
#cta-final h2 { margin: 0 auto; }
#cta-final p { margin: 24px auto 0; font-size: 17.5px; color: var(--muted-ink); max-width: 620px; }
#cta-final .btn { margin-top: 36px; }
#cta-final .btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 10px 30px rgba(255,106,42,.3); }
#cta-final .btn-accent:hover { background: #FF7E48; box-shadow: 0 16px 40px rgba(255,106,42,.42); }
.cta-micro { font-size: 12.5px !important; text-transform: uppercase; letter-spacing: .2em; color: var(--muted-ink) !important; margin-top: 24px !important; }

/* ---------- footer ---------- */
#footer { background: var(--ink-deep); border-top: 1px solid rgba(221,235,229,.12); padding: 70px 0 28px; color: var(--muted-ink); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.3fr; gap: 48px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }

.footer-tagline { margin-top: 18px; font-size: 14px; line-height: 1.7; max-width: 280px; color: var(--muted-ink); }
.footer-note { margin-top: 14px; font-size: 12.5px; line-height: 1.65; color: var(--muted-ink); opacity: .8; max-width: 260px; }
.footer-col-title { font-family: var(--font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--accent); margin-bottom: 10px; }
.footer-text { font-size: 14px; line-height: 1.8; }
.footer-links { list-style: none; }
.footer-links li a {
  display: inline-flex; align-items: center; font-size: 14px; line-height: 1.5;
  padding: 10px 0; min-height: 44px; transition: color .3s;
}
.footer-links li a:hover { color: var(--cream-text); }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(221,235,229,.08); font-size: 12.5px; color: var(--muted-ink); }

/* ---------- atalho flutuante (o "acento raro") ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 1200; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px rgba(255,106,42,.4); transition: transform .3s ease, box-shadow .3s ease; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 20px 44px rgba(255,106,42,.5); }

/* ---------- barra de consentimento ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1300;
  max-width: 720px; margin: 0 auto;
  background: var(--ink-deep); color: var(--cream-text);
  border: 1px solid rgba(221,235,229,.2); border-radius: 16px;
  padding: 18px 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  box-shadow: 0 24px 60px rgba(16,25,21,.5);
}
.consent[hidden] { display: none; }
.consent-text { font-size: 13.5px; line-height: 1.6; flex: 1 1 320px; margin: 0; }
.consent-text a { color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(255,106,42,.4); }
.consent-actions { display: flex; gap: 10px; flex: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1024px) {
  .nav {
    position: fixed; inset: 0; z-index: 990; display: none;
    flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: rgba(250,251,248,.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  body.menu-open .nav { display: flex; }
  .nav a { font-size: 22px; font-family: var(--font-display); padding: 14px 22px; }
  .menu-toggle { display: inline-flex; position: relative; z-index: 1001; }
  .btn-header { margin-left: auto; }
  body.menu-open { overflow: hidden; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split-sobre { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero-content { padding: 110px 24px 90px; }
  .cards-3 { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .btn-header { display: inline-flex; padding: 10px 16px; font-size: 12.5px; }
  .only-wide { display: none; }
  .only-narrow { display: inline; }
  .brand-text em { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  /* coluna única: centraliza a marca e a tagline */
  .footer-brand { align-items: center; text-align: center; }
  .scroll-hint { display: none; }
  .consent { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  /* No desktop o véu é horizontal: texto à esquerda, vídeo respirando à direita.
     Em retrato isso não existe, e a versão anterior (.94 → .86) deixava a
     silhueta do cachorro a 12 tons do céu — invisível na prática. Aqui o véu
     cobre a faixa do texto e vai abrindo para baixo, onde o vídeo aparece. */
  .hero-lift {
    background: linear-gradient(180deg,
      rgba(250,251,248,.93) 0%, rgba(250,251,248,.86) 30%,
      rgba(250,251,248,.78) 52%, rgba(250,251,248,.52) 74%,
      rgba(250,251,248,.24) 100%);
  }
  /* com o véu mais aberto, o cinza do subtítulo cairia para 3.7:1 sobre a
     silhueta; --ink o mantém acima de 10:1 no pior caso. */
  .hero-sub { color: var(--ink); }
}

/* ---------- reduced motion: nada anima, tudo visível ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain, .marquee-track, .pre-monogram, .scroll-hint span, .hero-aurora { animation: none !important; }
  #preloader { display: none !important; }
  #hero-video { display: none !important; }
}
