/* =====================================================================
   Peixes Santo Antônio — estilos
   Conceito: "Do fundo d'água até a sua represa". A página clareia
   conforme o visitante rola, do azul profundo até a superfície.
   ===================================================================== */

/* ---------- Fontes (auto-hospedadas) ---------- */
@font-face { font-family: 'Baloo 2'; src: url('../fonts/baloo-2-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Baloo 2'; src: url('../fonts/baloo-2-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('../fonts/nunito-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('../fonts/nunito-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('../fonts/nunito-sans-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Profundidade: do fundo à superfície */
  --abyss: #071427;
  --deep: #0A1C36;
  --navy: #0F2A50;
  --brand: #193F79;      /* azul do logo */
  --water: #2E6BB5;
  --sky: #CFE3F6;
  --mist: #EEF5FC;
  --white: #FFFFFF;

  --yellow: #FFC629;     /* amarelo boia */
  --yellow-hover: #FFD45C;
  --orange: #F29E1F;
  --wa: #25D366;
  --wa-hover: #3FE07B;
  --alert: #B4261E;
  --alert-bg: #FDECEA;
  --ok: #17663F;
  --ok-bg: #E7F5EE;

  --ink: #0A1C36;        /* texto sobre claro */
  --ink-soft: #3A4F6E;   /* texto secundário sobre claro */
  --on-dark: #FFFFFF;
  --on-dark-soft: #C5D6EC; /* texto secundário sobre escuro */

  --font-display: 'Baloo 2', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', Roboto, Arial, sans-serif;

  /* Escala tipográfica 1,25 base 16 (fluida nos títulos) */
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-xl: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-2xl: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: 6rem;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1200px;
  --header-h: 72px;

  --shadow-card: 0 18px 40px -18px rgba(3, 12, 28, .55);
  --shadow-soft: 0 10px 30px -14px rgba(10, 28, 54, .25);
  --focus: 0 0 0 3px var(--deep), 0 0 0 6px var(--yellow);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; margin: 0 0 var(--space-4); letter-spacing: -.01em; }
p { margin: 0 0 var(--space-4); }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .08em; }
button { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
main:focus { outline: none; }

:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.section--light :focus-visible, .section--sky :focus-visible, .section--mist :focus-visible, .section--white :focus-visible, .cta-final :focus-visible, .legal :focus-visible, .cookie-dialog :focus-visible {
  box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--brand);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000;
  padding: .75rem 1.25rem; border-radius: 999px;
  background: var(--yellow); color: var(--deep); font-weight: 800; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 820px); }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.with-icon { display: flex; gap: .65rem; align-items: flex-start; }
.with-icon .icon { margin-top: .2em; color: var(--yellow); }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--yellow); --btn-fg: var(--deep); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem;
  border: 2px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 800; font-size: var(--fs-sm); line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn .icon { width: 1.2em; height: 1.2em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--yellow { --btn-bg: var(--yellow); --btn-fg: var(--deep); box-shadow: 0 8px 20px -10px rgba(255, 198, 41, .7); }
.btn--yellow:hover { --btn-bg: var(--yellow-hover); }
.btn--navy { --btn-bg: var(--deep); --btn-fg: var(--white); }
.btn--navy:hover { --btn-bg: var(--brand); }
.btn--wa { --btn-bg: var(--wa); --btn-fg: var(--deep); }
.btn--wa:hover { --btn-bg: var(--wa-hover); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--deep); }
.btn--light:hover { --btn-bg: var(--yellow); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { --btn-bd: var(--yellow); --btn-fg: var(--yellow); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .12); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--deep); --btn-bd: var(--deep); }
.btn--outline:hover { --btn-bg: var(--deep); --btn-fg: var(--white); }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; }
.btn--lg { min-height: 56px; padding: .9rem 1.75rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.link-button {
  background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: .18em; color: inherit; font: inherit;
}
.icon-button {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: inherit;
}
.icon-button:hover { background: rgba(10, 28, 54, .08); }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: var(--space-3);
  font-weight: 800; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--light { color: var(--yellow); }
.hl { color: var(--yellow); }
.hl-dark { color: var(--brand); box-shadow: inset 0 -.32em 0 rgba(255, 198, 41, .55); }

.section { position: relative; padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.section--tight { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section__head { max-width: 720px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-5); }
.section__head--split > div { max-width: 720px; }
.section__title { font-size: var(--fs-xl); margin-bottom: var(--space-4); }
.section__title--sm { font-size: var(--fs-lg); }
.section__lead { font-size: var(--fs-md); max-width: 60ch; }
.section__head--center .section__lead { margin-inline: auto; }

/* Camadas de profundidade */
.section--deep { background: linear-gradient(180deg, var(--abyss) 0%, var(--deep) 100%); color: var(--on-dark); }
.section--navy { background: linear-gradient(180deg, var(--deep) 0%, var(--navy) 100%); color: var(--on-dark); }
.section--brand { background: linear-gradient(180deg, var(--navy) 0%, var(--brand) 100%); color: var(--on-dark); padding-bottom: clamp(6rem, 5rem + 5vw, 9rem); }
.section--sky { background: linear-gradient(180deg, var(--sky) 0%, var(--mist) 100%); }
.section--mist { background: var(--mist); }
.section--white { background: var(--white); }
.section--deep .section__lead, .section--navy .section__lead, .section--brand .section__lead { color: var(--on-dark-soft); }
.section--sky .section__lead, .section--mist .section__lead, .section--white .section__lead { color: var(--ink-soft); }

/* Textura de curvas de nível nas seções da vitrine */
.section--topo { isolation: isolate; }
.section--topo::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600' fill='none' stroke='%232E6BB5' stroke-opacity='.22' stroke-width='1.2'%3E%3Cpath d='M-20 120c80-40 160 40 240 0s160-60 240-10 140 40 160 20'/%3E%3Cpath d='M-20 160c80-40 160 40 240 0s160-60 240-10 140 40 160 20'/%3E%3Cpath d='M-20 200c80-40 160 40 240 0s160-60 240-10 140 40 160 20'/%3E%3Cpath d='M-20 360c100 30 180-50 280-20s150 70 230 30 120-30 130-20'/%3E%3Cpath d='M-20 400c100 30 180-50 280-20s150 70 230 30 120-30 130-20'/%3E%3Cpath d='M-20 440c100 30 180-50 280-20s150 70 230 30 120-30 130-20'/%3E%3Cpath d='M-20 480c100 30 180-50 280-20s150 70 230 30 120-30 130-20'/%3E%3Cellipse cx='470' cy='280' rx='60' ry='26'/%3E%3Cellipse cx='470' cy='280' rx='98' ry='46'/%3E%3Cellipse cx='120' cy='560' rx='50' ry='20'/%3E%3C/svg%3E");
  background-size: 600px 600px;
}

/* Divisor de onda */
.onda { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 6vw, 80px); pointer-events: none; }
.onda svg { width: 100%; height: 100%; }
.onda--sky path { fill: var(--sky); }
.onda--mist path { fill: var(--mist); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--white);
  transition: background-color .3s, box-shadow .3s, transform .35s var(--ease);
}
.site-header.is-scrolled { background: rgba(7, 20, 39, .92); box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .5); }
@supports (backdrop-filter: blur(10px)) { .site-header.is-scrolled { background: rgba(7, 20, 39, .78); backdrop-filter: blur(12px) saturate(140%); } }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.brand { display: block; flex-shrink: 0; border-radius: 6px; }
.brand img { width: clamp(168px, 14vw + 60px, 220px); height: auto; }
.site-nav { display: flex; align-items: center; gap: var(--space-5); }
.site-nav__list { display: flex; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  display: block; padding: .6rem .8rem; border-radius: 999px;
  font-weight: 700; font-size: var(--fs-sm); text-decoration: none; color: var(--white);
  transition: background-color .2s, color .2s;
}
.site-nav__list a:hover { background: rgba(255, 255, 255, .1); }
.site-nav__list a[aria-current="page"] { color: var(--yellow); }
.nav-toggle { display: none; }

@media (max-width: 959.98px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px;
    border: 2px solid rgba(255, 255, 255, .35); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer;
  }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: var(--space-5);
    padding: var(--space-6) var(--gutter) calc(var(--space-6) + env(safe-area-inset-bottom));
    background: var(--abyss); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { padding: 1rem .25rem; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-family: var(--font-display); font-size: 1.5rem; }
  .site-nav .btn { min-height: 56px; font-size: var(--fs-base); }
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { position: static; visibility: visible; opacity: 1; transform: none; padding: 0; background: none; }
  .no-js .site-header { position: absolute; height: auto; }
  .no-js .site-header__inner { flex-wrap: wrap; padding-block: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Medidor de profundidade (desktop) ---------- */
.depth-gauge {
  position: fixed; left: clamp(10px, 1.4vw, 24px); top: 50%; z-index: 40; transform: translateY(-50%);
  display: none; flex-direction: column; align-items: center; gap: .6rem; pointer-events: none;
  font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gauge-color, rgba(255, 255, 255, .55)); transition: color .4s;
}
.depth-gauge__label { writing-mode: vertical-rl; transform: rotate(180deg); }
.depth-gauge__track { position: relative; width: 2px; height: 34vh; background: currentColor; opacity: .55; border-radius: 2px; }
.depth-gauge__bobber {
  position: absolute; left: 50%; top: 0; width: 14px; height: 14px; margin-left: -7px; margin-top: -7px; border-radius: 50%;
  background: linear-gradient(180deg, var(--yellow) 0 50%, var(--white) 50% 100%);
  box-shadow: 0 0 0 2px var(--deep);
  transform: translateY(calc((1 - var(--progress, 0)) * 34vh));
}
@media (min-width: 1360px) and (hover: hover) { .js .depth-gauge { display: flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; min-height: min(100svh, 980px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 6rem;
  color: var(--on-dark); background: var(--abyss); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 20, 39, .92) 0%, rgba(7, 20, 39, .7) 45%, rgba(7, 20, 39, .25) 100%),
    linear-gradient(0deg, var(--abyss) 0%, rgba(7, 20, 39, 0) 35%);
}
.hero__caustics {
  position: absolute; inset: -20% -10% auto; height: 80%; z-index: -1; pointer-events: none; mix-blend-mode: screen; opacity: .35;
  background:
    radial-gradient(40% 30% at 70% 10%, rgba(120, 190, 255, .45), transparent 70%),
    radial-gradient(25% 20% at 85% 30%, rgba(160, 220, 255, .3), transparent 70%),
    radial-gradient(30% 25% at 55% 0%, rgba(255, 220, 120, .18), transparent 70%);
  animation: caustics 14s ease-in-out infinite alternate;
}
@keyframes caustics { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
.hero__bubbles { position: absolute; right: 2%; bottom: 0; width: min(46vw, 600px); height: 100%; z-index: -1; pointer-events: none; opacity: .85; }
.hero__inner { position: relative; }
.hero__title { font-size: var(--fs-2xl); max-width: 14ch; margin-bottom: var(--space-5); text-wrap: balance; }
.hero__lead { font-size: var(--fs-md); color: var(--on-dark-soft); max-width: 54ch; margin-bottom: var(--space-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__chips { margin-top: var(--space-7); }
.hero__chips ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.hero__chips a {
  display: inline-flex; align-items: center; min-height: 40px; padding: .35rem 1rem; border-radius: 999px;
  border: 1px solid rgba(207, 227, 246, .35); background: rgba(10, 28, 54, .45);
  color: var(--white); text-decoration: none; font-weight: 700; font-size: var(--fs-sm);
  transition: border-color .2s, color .2s, background-color .2s;
}
.hero__chips a:hover { border-color: var(--yellow); color: var(--yellow); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.5rem; width: 30px; height: 48px; margin-left: -15px;
  border: 2px solid rgba(255, 255, 255, .55); border-radius: 999px;
}
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--yellow); animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 60% { transform: translateY(16px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@media (max-width: 767.98px) {
  .hero { align-items: flex-end; padding-bottom: 5rem; }
  .hero::before { background: linear-gradient(0deg, var(--abyss) 8%, rgba(7, 20, 39, .82) 55%, rgba(7, 20, 39, .45) 100%); }
  .hero__bubbles { width: 100%; right: 0; opacity: .35; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
}

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(2.5rem, 2rem + 3vw, 5rem)) 0 clamp(3rem, 2.5rem + 3vw, 5rem); color: var(--on-dark); }
.page-hero--deep { background: radial-gradient(70% 90% at 85% 0%, rgba(46, 107, 181, .45), transparent 70%), linear-gradient(180deg, var(--abyss), var(--deep)); }
.page-hero--compact { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-hero__title { font-size: var(--fs-xl); max-width: 18ch; }
.page-hero__lead { font-size: var(--fs-md); color: var(--on-dark-soft); max-width: 60ch; }
.page-hero--404 { min-height: 70svh; display: flex; align-items: center; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 var(--space-5); padding: 0; font-size: var(--fs-sm); color: var(--on-dark-soft); }
.breadcrumb li + li::before { content: '›'; margin-right: .4rem; opacity: .7; }
.breadcrumb a { color: var(--white); }
.breadcrumb [aria-current] { color: var(--yellow); font-weight: 700; }

/* ---------- Para quem é ---------- */
.publico { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--space-4); }
.publico__item {
  padding: var(--space-5); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(46, 107, 181, .2), rgba(15, 42, 80, .35));
  border: 1px solid rgba(207, 227, 246, .14);
  transition: transform .3s var(--ease), border-color .3s;
}
.publico__item:hover { transform: translateY(-4px); border-color: rgba(255, 198, 41, .5); }
.publico__icon { width: 48px; height: 48px; color: var(--yellow); margin-bottom: var(--space-4); }
.publico__item h3 { font-size: var(--fs-md); margin-bottom: var(--space-2); }
.publico__item p { margin: 0; color: var(--on-dark-soft); font-size: var(--fs-sm); }
@media (max-width: 639.98px) {
  .publico { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .publico__item { padding: var(--space-4); }
  .publico__icon { width: 40px; height: 40px; margin-bottom: var(--space-3); }
  .publico__item p { font-size: var(--fs-xs); line-height: 1.5; }
}

/* ---------- Fichas de troféu ---------- */
.fichas { display: grid; gap: var(--space-5); }
.fichas--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.fichas--carrossel { grid-template-columns: repeat(3, 1fr); }
.fichas > [role="listitem"] { display: flex; }
.fichas__hint { display: none; }
@media (max-width: 1023.98px) {
  .fichas--carrossel {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(78vw, 360px);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--space-4);
    scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--yellow) transparent;
  }
  .fichas--carrossel > [role="listitem"] { scroll-snap-align: start; }
  .fichas__hint { display: flex; align-items: center; gap: .4rem; justify-content: flex-end; font-size: var(--fs-sm); color: var(--on-dark-soft); margin: 0; }
}
.ficha {
  position: relative; display: flex; flex-direction: column; width: 100%;
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, #12335F 0%, #0C2445 100%);
  border: 1px solid rgba(207, 227, 246, .16);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), border-color .35s;
}
.ficha:hover { transform: translateY(-6px); border-color: rgba(255, 198, 41, .55); }
.ficha__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand); }
.ficha__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ficha:hover .ficha__media img { transform: scale(1.05); }
.ficha__num, .especie-hero__media .ficha__num {
  position: absolute; top: 14px; left: 14px;
  padding: .3rem .7rem; border-radius: 8px;
  background: var(--yellow); color: var(--deep);
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-sm); letter-spacing: .04em;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5);
}
.ficha__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-5); color: var(--on-dark); }
.ficha__tag { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: var(--space-2); }
.ficha__nome { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin-bottom: 0; }
.ficha__nome a { text-decoration: none; }
.ficha__nome a:hover { color: var(--yellow); }
.ficha__sci { font-size: var(--fs-sm); color: var(--on-dark-soft); margin-bottom: var(--space-4); }
.ficha__stats { margin: 0 0 var(--space-4); }
.ficha__stats > div { padding: .7rem 0; border-top: 1px dashed rgba(207, 227, 246, .25); }
.ficha__stats dt { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: .15rem; }
.ficha__stats dd { margin: 0; font-size: var(--fs-sm); }
.ficha__alerta {
  display: flex; gap: .5rem; align-items: flex-start; margin-bottom: var(--space-5);
  padding: .6rem .8rem; border-radius: var(--radius-sm);
  background: rgba(255, 198, 41, .12); border: 1px solid rgba(255, 198, 41, .35);
  font-size: var(--fs-sm); font-weight: 700; color: #FFE7A3;
}
.ficha__alerta .icon { color: var(--yellow); margin-top: .1em; }
.ficha__alerta--ok { background: rgba(37, 211, 102, .1); border-color: rgba(37, 211, 102, .35); color: #C8F5DA; }
.ficha__alerta--ok .icon { color: var(--wa); }
.ficha__actions { margin-top: auto; display: grid; gap: var(--space-3); }
.ficha__mais { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; font-weight: 800; font-size: var(--fs-sm); color: var(--white); }
.ficha__mais .icon { transition: transform .2s; }
.ficha__mais:hover { color: var(--yellow); }
.ficha__mais:hover .icon { transform: translateX(4px); }
.ficha.is-hidden { display: none; }

/* Filtros do catálogo */
.section--catalogo { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--space-3); }
.filtro {
  min-height: 44px; padding: .5rem 1.15rem; border-radius: 999px; cursor: pointer;
  border: 2px solid rgba(207, 227, 246, .4); background: transparent; color: var(--white);
  font-weight: 800; font-size: var(--fs-sm); transition: background-color .2s, color .2s, border-color .2s;
}
.filtro:hover { border-color: var(--yellow); }
.filtro[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--deep); }
.filtros__status { font-size: var(--fs-sm); color: var(--on-dark-soft); margin-bottom: var(--space-5); }
.fichas--grid > [role="listitem"].is-hidden { display: none; }
.catalogo-cta { margin-top: var(--space-7); padding: var(--space-6); border-radius: var(--radius-lg); border: 1px dashed rgba(207, 227, 246, .35); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.catalogo-cta p { margin: 0; font-size: var(--fs-md); max-width: 46ch; }

/* ---------- Diferenciais ---------- */
.diferenciais { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--space-5); }
.diferencial {
  text-align: center; padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg);
  background: rgba(7, 20, 39, .28); border: 1px solid rgba(207, 227, 246, .16);
}
.diferencial__anim { display: block; width: 140px; height: 140px; margin: 0 auto var(--space-4); }
.diferencial h3 { font-size: var(--fs-md); margin-bottom: var(--space-2); }
.diferencial p { margin: 0; color: var(--on-dark-soft); font-size: var(--fs-sm); }
@media (max-width: 639.98px) {
  .diferenciais { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .diferencial { padding: var(--space-5) var(--space-3); }
  .diferencial__anim { width: 96px; height: 96px; margin-bottom: var(--space-3); }
  .diferencial h3 { font-size: 1.0625rem; }
  .diferencial p { font-size: var(--fs-xs); line-height: 1.5; }
}

/* ---------- Como funciona ---------- */
.passos-linha { width: 100%; aspect-ratio: 1200 / 200; margin-bottom: calc(-1 * clamp(1rem, 2vw, 2rem)); }
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.passo { text-align: center; padding: 0 var(--space-3); }
.passo__num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--space-4);
  border-radius: 50%; background: var(--deep); color: var(--yellow);
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
}
.passo h3 { font-size: var(--fs-md); margin-bottom: var(--space-2); }
.passo p { color: var(--ink-soft); margin: 0 auto; max-width: 32ch; }
.no-js .passos-linha, .reduced-motion .passos-linha { display: none; }
@media (max-width: 767.98px) {
  .passos-linha { display: none; }
  .passos { grid-template-columns: 1fr; gap: 0; position: relative; }
  .passo { display: grid; grid-template-columns: 52px 1fr; column-gap: var(--space-4); text-align: left; padding: 0 0 var(--space-6); position: relative; }
  .passo::before { content: ''; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, var(--brand) 0 6px, transparent 6px 12px); }
  .passo:last-child::before { display: none; }
  .passo__num { grid-row: span 2; margin: 0; }
  .passo h3 { align-self: center; margin: .6rem 0 .25rem; }
  .passo p { margin: 0; }
}

/* ---------- Bloco dividido ---------- */
.split { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.05fr; } .split--map { grid-template-columns: .85fr 1.15fr; align-items: center; } }
.split__text .section__lead { margin-bottom: var(--space-5); }
.split__alt { color: var(--ink-soft); }
.split__alt a { font-weight: 800; color: var(--brand); }
.checklist { display: grid; gap: .6rem; margin: 0 0 var(--space-5); }
.checklist li { display: flex; gap: .6rem; align-items: center; font-weight: 700; }
.checklist .icon { color: var(--white); background: var(--ok); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; }

/* ---------- Formulário ---------- */
.form-card {
  position: relative; padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-soft); border: 1px solid #DCE7F3;
}
.form-card__fields { display: grid; gap: var(--space-5); }
.field { display: grid; gap: .4rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 800; font-size: var(--fs-sm); color: var(--ink); padding: 0; margin-bottom: .2rem; }
.req { color: var(--alert); }
.field__opt { font-weight: 400; color: var(--ink-soft); }
.field__hint { margin: 0; font-size: var(--fs-xs); color: var(--ink-soft); }
.field__error { margin: 0; font-size: var(--fs-sm); font-weight: 700; color: var(--alert); }
.field input[type="text"], .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem;
  border: 2px solid #9FB4CE; border-radius: 12px; background: var(--white); color: var(--ink);
  font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5D7090; }
.field input:hover, .field textarea:hover { border-color: var(--brand); }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(25, 63, 121, .25); border-radius: 12px; }
.field [aria-invalid="true"] { border-color: var(--alert); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip label {
  display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1rem; margin: 0;
  border: 2px solid #9FB4CE; border-radius: 999px; cursor: pointer; background: var(--white);
  font-weight: 700; font-size: var(--fs-sm); color: var(--ink); transition: background-color .15s, border-color .15s, color .15s;
}
.chip label:hover { border-color: var(--brand); }
.chip input:checked + label { background: var(--deep); border-color: var(--deep); color: var(--white); }
.chip input:checked + label::before { content: '✓'; margin-right: .4rem; color: var(--yellow); font-weight: 800; }
.chip input:focus-visible + label { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--brand); }
.field.is-invalid .chip label { border-color: var(--alert); }
.form-card__footer { margin-top: var(--space-6); }
.form-card__note { margin: var(--space-3) 0 0; font-size: var(--fs-xs); color: var(--ink-soft); }
.form-card__note a { color: var(--brand); font-weight: 700; }
.form-card__done { text-align: center; padding: var(--space-6) var(--space-3); }
.form-card__done:focus { outline: none; }
.form-card__check { display: block; width: 110px; height: 110px; margin: 0 auto var(--space-3); }
.no-js .form-card__check, .reduced-motion .form-card__check { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E") center / 55% no-repeat; border-radius: 50%; }
.form-card__done-title { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 800; margin-bottom: var(--space-2); }
.form-card.is-done .form-card__fields, .form-card.is-done .form-card__footer { display: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--space-3); }
.faq__item { border-radius: var(--radius); background: var(--mist); border: 1px solid #DCE7F3; transition: background-color .2s, border-color .2s; }
.faq__item[open] { background: var(--white); border-color: var(--brand); box-shadow: var(--shadow-soft); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  min-height: 60px; padding: 1rem 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); line-height: 1.25;
  border-radius: var(--radius);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--deep); color: var(--yellow); transition: transform .3s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__answer { padding: 0 1.25rem 1.1rem; color: var(--ink-soft); }
.faq__answer p { margin: 0; max-width: 68ch; }
.faq__more { margin-top: var(--space-6); text-align: center; color: var(--ink-soft); }
.link-wa { font-weight: 800; color: var(--brand); }

/* ---------- Galeria ---------- */
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.galeria__item--destaque { grid-column: 1 / -1; }
.galeria__item:last-child:nth-child(even) { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .galeria { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: var(--space-4); }
  .galeria__item--destaque { grid-column: span 2; grid-row: span 2; }
  .galeria__item:last-child:nth-child(even) { grid-column: auto; }
}
.galeria__btn {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; background: var(--brand);
}
.galeria__btn img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
@media (min-width: 1024px) { .galeria__btn img { aspect-ratio: auto; } }
.galeria__btn:hover img { transform: scale(1.04); }
.galeria__legenda {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .85rem; text-align: left;
  background: linear-gradient(0deg, rgba(7, 20, 39, .85), transparent);
  color: var(--white); font-weight: 800; font-size: var(--fs-sm);
}
.lightbox { width: min(96vw, 1200px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--abyss); color: var(--white); overflow: visible; }
.lightbox::backdrop { background: rgba(3, 10, 22, .88); }
.lightbox__figure { margin: 0; }
.lightbox__figure img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius) var(--radius) 0 0; }
.lightbox__figure figcaption { padding: .9rem 1.2rem; font-weight: 700; }
.lightbox .icon-button { position: absolute; background: var(--white); color: var(--deep); box-shadow: var(--shadow-soft); }
.lightbox .icon-button:hover { background: var(--yellow); }
.lightbox__close { top: -14px; right: -14px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: -14px; }
.lightbox__nav--next { right: -14px; }
@media (max-width: 767.98px) { .lightbox__close { top: 8px; right: 8px; } .lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; } }

/* ---------- Mapa ---------- */
.mapa { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg, var(--sky), #B8D3EE); border: 1px solid #C9DBEF; }
@media (max-width: 599.98px) { .mapa { aspect-ratio: 3 / 4; } }
.mapa__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--space-3); padding: var(--space-5); text-align: center; color: var(--ink); }
.mapa__placeholder p { max-width: 40ch; margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); }
.mapa__pin { width: 56px; height: 56px; color: var(--brand); }
.mapa__link { font-weight: 800; color: var(--brand); font-size: var(--fs-sm); }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.endereco { margin-bottom: var(--space-5); }
.endereco .icon, .canal__icon { color: var(--brand); }

/* ---------- Contato ---------- */
.canais { display: grid; gap: var(--space-3); }
.canal { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5); border-radius: var(--radius); background: var(--white); border: 1px solid #DCE7F3; }
.canal__icon { width: 28px; height: 28px; margin-top: .15rem; }
.canal h3 { font-size: var(--fs-md); margin-bottom: .2rem; }
.canal p, .canal address { margin: 0 0 .5rem; color: var(--ink-soft); }
.canal a { color: var(--brand); font-weight: 700; }
.canal .btn { color: var(--deep); }

/* ---------- Página de espécie ---------- */
.especie-hero { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: center; }
@media (min-width: 960px) { .especie-hero { grid-template-columns: 1.05fr 1fr; } }
.especie-hero__sci { color: var(--on-dark-soft); margin-top: calc(-1 * var(--space-3)); }
.especie-hero__media { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid rgba(207, 227, 246, .2); }
.especie-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.especie-detalhe { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 960px) { .especie-detalhe { grid-template-columns: 1.4fr 1fr; } }
.ficha-tecnica { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid #DCE7F3; box-shadow: var(--shadow-soft); }
.ficha-tecnica dl { margin: 0; display: grid; }
.ficha-tecnica dl > div { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: var(--space-4); padding: .9rem 0; border-top: 1px dashed #B9CBE0; }
.ficha-tecnica dt { font-weight: 800; color: var(--brand); font-size: var(--fs-sm); }
.ficha-tecnica dd { margin: 0; }
.ficha-tecnica__nota { margin: var(--space-4) 0 0; font-size: var(--fs-sm); color: var(--ink-soft); }
@media (max-width: 479.98px) { .ficha-tecnica dl > div { grid-template-columns: 1fr; gap: .15rem; } }
.aviso { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--radius-lg); border: 2px solid; }
.aviso h2 { font-size: var(--fs-md); }
.aviso__icon { width: 40px; height: 40px; margin-bottom: var(--space-3); }
.aviso--alerta { background: #FFF6DB; border-color: var(--yellow); }
.aviso--alerta .aviso__icon { color: #8A5A00; }
.aviso--ok { background: var(--ok-bg); border-color: #7CC9A0; }
.aviso--ok .aviso__icon { color: var(--ok); }

/* ---------- CTA final ---------- */
.cta-final { position: relative; padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); background: var(--yellow); color: var(--deep); text-align: center; overflow: hidden; isolation: isolate; }
.cta-final::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(50% 120% at 50% 120%, rgba(255, 255, 255, .7), transparent 70%);
}
.cta-final h2 { font-size: var(--fs-xl); max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.cta-final p { font-size: var(--fs-md); max-width: 46ch; margin: 0 auto var(--space-6); }

/* ---------- Páginas legais ---------- */
.legal { font-size: 1.0625rem; }
.legal h2 { font-size: var(--fs-lg); margin-top: var(--space-7); }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--brand); font-weight: 700; }
.legal__data { font-size: var(--fs-sm); color: var(--on-dark-soft); margin: 0; }
.pendente { background: #FFE58A; color: var(--deep); padding: 0 .3em; border-radius: 4px; font-weight: 800; }
.table-wrap { overflow-x: auto; margin: var(--space-5) 0; border-radius: var(--radius); border: 1px solid #DCE7F3; }
.table-wrap:focus-visible { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--brand); }
.legal table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--fs-sm); }
.legal caption { text-align: left; padding: .9rem 1rem; font-weight: 800; background: var(--mist); }
.legal th, .legal td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid #DCE7F3; }
.legal thead th { background: var(--deep); color: var(--white); border: 0; }
.legal tbody th { font-weight: 800; }
.legal code { font-size: .9em; background: var(--mist); padding: .1em .35em; border-radius: 4px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--abyss); color: var(--on-dark-soft); padding: clamp(3.5rem, 3rem + 3vw, 5.5rem) 0 calc(var(--space-6) + 72px); font-size: var(--fs-sm); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }
.site-footer__grid { display: grid; gap: var(--space-6); }
.site-footer__grid { grid-template-columns: 1fr 1fr; }
.site-footer__brand, .site-footer__grid > div:last-child { grid-column: 1 / -1; }
@media (min-width: 720px) { .site-footer__brand, .site-footer__grid > div:last-child { grid-column: auto; } }
@media (min-width: 1080px) { .site-footer__grid { grid-template-columns: 1.6fr .8fr .8fr 1.2fr; } }
.site-footer__brand img { width: 200px; margin-bottom: var(--space-4); }
.site-footer__brand p { max-width: 40ch; }
.site-footer__title { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer nav li + li { margin-top: .5rem; }
.site-footer nav a { text-decoration: none; display: inline-block; padding: .15rem 0; }
.site-footer nav a:hover { text-decoration: underline; }
.social { display: flex; gap: .5rem; }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(207, 227, 246, .3); }
.social a:hover { border-color: var(--yellow); }
.site-footer__bottom { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid rgba(207, 227, 246, .15); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); align-items: center; justify-content: space-between; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer__legal a, .site-footer__legal .link-button { color: var(--on-dark-soft); display: inline-block; padding: .35rem 0; }
.site-footer__legal a:hover, .site-footer__legal .link-button:hover { color: var(--yellow); }
.site-footer__credit a { font-weight: 700; }

/* ---------- Botão flutuante do WhatsApp ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: var(--deep); box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45);
  transition: transform .25s var(--ease), background-color .2s;
}
.wa-float:hover { transform: scale(1.07); background: var(--wa-hover); }
.wa-float__icon { width: 32px; height: 32px; position: relative; z-index: 1; }
.wa-float__ripple { position: absolute; inset: -30px; pointer-events: none; }
.wa-float__ripple svg path { stroke: var(--wa) !important; }
body.cookie-open .wa-float { bottom: calc(var(--cookie-h, 0px) + 16px); }

/* ---------- Banner e diálogo de cookies ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 200;
  width: min(100% - 24px, 980px); transform: translateX(-50%);
  display: grid; gap: var(--space-4); align-items: center;
  padding: clamp(1rem, .8rem + 1vw, 1.5rem); border-radius: var(--radius);
  background: var(--deep); color: var(--on-dark); border: 1px solid rgba(207, 227, 246, .25);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
}
.cookie-banner[hidden] { display: none; }
@media (min-width: 900px) { .cookie-banner { grid-template-columns: 1fr auto; } }
.cookie-banner__title { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-md); margin-bottom: .35rem; }
.cookie-banner__title .icon { color: var(--yellow); }
.cookie-banner p { margin: 0; font-size: var(--fs-sm); color: var(--on-dark-soft); }
.cookie-banner a { color: var(--white); font-weight: 700; }
.cookie-banner__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
@media (max-width: 479.98px) { .cookie-banner__actions { grid-template-columns: 1fr 1fr; } .cookie-banner__actions [data-consent="aceitar"] { grid-column: 1 / -1; grid-row: 1; } }
.cookie-banner__actions .btn { min-height: 46px; padding-inline: 1rem; }
.cookie-dialog { width: min(100% - 24px, 560px); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg); color: var(--ink); background: var(--white); }
.cookie-dialog::backdrop { background: rgba(3, 10, 22, .7); }
.cookie-dialog__form { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.cookie-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-bottom: var(--space-3); }
.cookie-dialog__head h2 { font-size: var(--fs-lg); margin: 0; }
.cookie-dialog p { color: var(--ink-soft); font-size: var(--fs-sm); }
.cookie-option { border: 0; padding: 0; margin: var(--space-4) 0; display: grid; gap: var(--space-3); }
.cookie-option__row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4); border-radius: var(--radius); background: var(--mist); }
.cookie-option__row h3 { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 800; margin: 0 0 .2rem; }
.cookie-option__row p { margin: 0; }
.cookie-dialog__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.switch { position: relative; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 56px; height: 32px; margin: 0; cursor: pointer; z-index: 1; }
.switch label { display: block; width: 56px; height: 32px; border-radius: 999px; background: #8296B3; position: relative; transition: background-color .2s; cursor: pointer; }
.switch label::after { content: ''; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); transition: transform .2s var(--ease); box-shadow: 0 2px 4px rgba(0, 0, 0, .25); }
.switch input:checked + label { background: var(--ok); }
.switch input:checked + label::after { transform: translateX(24px); }
.switch input:focus-visible + label { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--brand); }
.switch--locked label { background: var(--brand); opacity: .75; cursor: not-allowed; }
.switch--locked input { cursor: not-allowed; }

/* ---------- Entrada suave (só quando há JS e movimento permitido) ---------- */
.motion [data-reveal] { will-change: transform, opacity; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__caustics, .hero__bubbles, .wa-float__ripple { display: none; }
}
.reduced-motion .hero__bubbles, .reduced-motion .wa-float__ripple { display: none; }

/* ---------- Impressão ---------- */
@media print {
  .site-header, .wa-float, .cookie-banner, .depth-gauge, .hero__bubbles, .hero__caustics, .onda { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .page-hero, .section { color: #000 !important; background: #fff !important; padding-block: 1.5rem; }
}
