/* =========================================================
   GEL Náutica — Design system
   Fonts: Rubik (títulos) + Nunito Sans (texto)
   ========================================================= */
:root {
  --font-head: "Rubik", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;

  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-2: #eaf1f7;
  --text: #0b1b2b;
  --muted: #4a5b6c;
  --border: #d6e0ea;
  --primary: #394f9e;
  --primary-strong: #2a3b7c;
  --on-primary: #ffffff;
  --accent: #d35f2a;
  --accent-strong: #b54d1c;
  --on-accent: #ffffff;
  --teal: #b54d1c;
  --success: #15803d;
  --danger: #c62828;

  --hero-from: #1b2659;
  --hero-to: #394f9e;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 30, 50, .06), 0 2px 6px rgba(10, 30, 50, .05);
  --shadow: 0 6px 24px rgba(10, 30, 50, .09);
  --shadow-lg: 0 18px 50px rgba(10, 30, 50, .16);

  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0b0f1e;
  --surface: #121a33;
  --surface-2: #1a2445;
  --text: #e6eef6;
  --muted: #a3b5c7;
  --border: #2a3560;
  --primary: #93a6f0;
  --primary-strong: #b3c1f6;
  --on-primary: #04121f;
  --accent: #e8743f;
  --accent-strong: #f29365;
  --on-accent: #10131f;
  --teal: #f29365;
  --success: #4ade80;
  --danger: #f87171;
  --hero-from: #0b1030;
  --hero-to: #1f2c66;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 6px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-strong); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 1000;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--surface-2); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--primary); --_fg: var(--on-primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--_bg); color: var(--_fg); font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { color: var(--_fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--accent { --_bg: var(--accent); --_fg: var(--on-accent); }
.btn--accent:hover { --_bg: var(--accent-strong); }
.btn--ghost { --_bg: transparent; --_fg: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); }
.btn--light { --_bg: rgba(255,255,255,.12); --_fg: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn--light:hover { --_bg: rgba(255,255,255,.22); }
.btn--whats { --_bg: #1fa855; --_fg: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Top bar + Header ---------- */
.topbar { background: var(--primary-strong); color: #e5f0fb; font-size: .85rem; }
[data-theme="dark"] .topbar { background: #070a18; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__social { display: flex; gap: 12px; }
@media (max-width: 760px) { .topbar__hide-sm { display: none !important; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
/* blur num pseudo-elemento: backdrop-filter no próprio header prenderia o menu mobile (position: fixed) dentro dele */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.card .social a { background: var(--surface-2); color: var(--text); }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.logo:hover { color: var(--text); }
.logo__img { height: 44px; width: auto; }
.logo__img--sub { height: 30px; }
.logo__img.on-dark { display: none; }
[data-theme="dark"] .logo__img.on-light { display: none; }
[data-theme="dark"] .logo__img.on-dark { display: block; }
.site-footer .logo__img.on-light { display: none; }
.site-footer .logo__img.on-dark { display: block; }
.logo__divider { width: 1px; height: 34px; background: var(--border); }
@media (max-width: 1180px) { .logo__divider, .logo__img--sub { display: none !important; } }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; }
.logo__name span { color: var(--accent); }
.logo__tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }

.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; color: var(--text); text-decoration: none; background: none; border: 0;
  font-size: .98rem; cursor: pointer;
}
.nav-link:hover, .nav-item:focus-within > .nav-link { background: var(--surface-2); color: var(--primary); }
.nav-link[aria-current="page"] { color: var(--primary); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 18px; height: 3px; border-radius: 3px; background: var(--accent); transform: translateX(-50%); }
.nav-item.has-sub { display: flex; align-items: center; }
.nav-item.has-sub > .nav-link { padding-right: 4px; }
.sub-toggle {
  display: inline-grid; place-items: center; width: 28px; height: 36px; margin-left: -2px; border: 0; border-radius: 8px;
  background: none; color: var(--muted); cursor: pointer;
}
.sub-toggle:hover { color: var(--primary); background: var(--surface-2); }
.chev { width: 16px; height: 16px; transition: transform .2s; }
.nav-item.has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.submenu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav-item.has-sub:hover > .submenu,
.nav-item.has-sub.is-open > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item.has-sub:hover .chev, .nav-item.is-open .chev { transform: rotate(180deg); }
.submenu a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text); text-decoration: none; font-size: .95rem;
}
.submenu a:hover, .submenu a:focus-visible { background: var(--surface-2); color: var(--primary); }
.submenu .icon { color: var(--teal); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; position: relative;
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn .badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent); font-size: .72rem; font-weight: 800; display: grid; place-items: center;
}
.icon-btn .badge[hidden] { display: none; }
.theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-dark { display: block; }
[data-theme="dark"] .theme-icon-light { display: none; }

.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang-switch button {
  min-width: 40px; height: 36px; border: 0; border-radius: 999px; background: none; color: var(--muted);
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }

.menu-toggle { display: none; }

@media (max-width: 1040px) {
  .menu-toggle { display: inline-grid; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + 0px) 0 0 0; margin: 0; background: var(--surface);
    padding: 16px 20px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease);
    border-top: 1px solid var(--border);
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-item.has-sub { flex-wrap: wrap; }
  .nav-item.has-sub > .nav-link { flex: 1; width: auto; }
  .sub-toggle { width: 48px; height: 48px; }
  .submenu { flex-basis: 100%; }
  .nav-item.has-sub:focus-within > .submenu { display: none; }
  .nav-item.has-sub.is-open:focus-within > .submenu { display: block; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 1.1rem; padding: 14px 12px; border-radius: var(--radius-sm); }
  .nav-link[aria-current="page"]::after { display: none; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    padding: 0 0 8px 12px; display: none; min-width: 0; background: transparent;
  }
  .nav-item.is-open > .submenu { display: block; }
  .nav-item.has-sub:hover > .submenu { display: none; }
  .nav-item.has-sub.is-open:hover > .submenu { display: block; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .logo__tag { display: none; }
  .header-actions .lang-switch button { min-width: 34px; }
  .header-inner { gap: 10px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(211,95,42,.28), transparent 60%),
              linear-gradient(160deg, var(--hero-from), var(--hero-to));
  padding: clamp(72px, 10vw, 128px) 0 clamp(140px, 16vw, 200px);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: #cfe2f3; max-width: 560px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: .9rem; margin-bottom: 22px;
}
.hero__badge strong { background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 2px 10px; font-family: var(--font-head); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__trust { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 36px; color: #cfe2f3; font-size: .92rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--accent); }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero__waves svg { width: 100%; height: clamp(80px, 12vw, 160px); }
.hero__waves .w1 { fill: var(--bg); }
.hero__waves .w2 { fill: var(--bg); opacity: .5; }
.wave-anim { animation: drift 12s ease-in-out infinite alternate; }
.wave-anim.slow { animation-duration: 18s; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-60px); } }
.bob { animation: bob 5s ease-in-out infinite; transform-origin: center; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; margin: 0 auto; }
}

/* Page hero (internal pages) */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(900px 400px at 90% 0%, rgba(211,95,42,.25), transparent 60%),
              linear-gradient(160deg, var(--hero-from), var(--hero-to));
  padding: 64px 0 96px;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: #cfe2f3; max-width: 640px; font-size: 1.1rem; margin: 0; }
.page-hero .hero__waves svg { height: 60px; }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 18px; font-size: .9rem; color: #a9c6e2; }
.breadcrumb a { color: #e3f0fc; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

/* ---------- Stats ---------- */
.stats {
  position: relative; z-index: 3; margin-top: clamp(-120px, -10vw, -80px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.stat { padding: 28px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--primary); line-height: 1; }
.stat__num span { color: var(--accent); }
.stat__label { color: var(--muted); font-size: .95rem; margin-top: 6px; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.card p { color: var(--muted); margin: 0; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary);
}
.card__icon .icon { width: 28px; height: 28px; }
.card__icon--accent { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-strong); }
[data-theme="dark"] .card__icon--accent { color: var(--accent); }

/* Category tiles */
.cat-tile {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; min-height: 210px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text);
  overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.cat-tile::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: color-mix(in srgb, var(--teal) 10%, transparent); transition: transform .4s var(--ease);
}
.cat-tile:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.cat-tile:hover::after { transform: scale(1.6); }
.cat-tile h3 { margin: 0; }
.cat-tile p { color: var(--muted); font-size: .95rem; margin: 0; }
.cat-tile .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary); font-family: var(--font-head); font-size: .92rem; position: relative; z-index: 1; }
.cat-tile .more .icon { transition: transform .2s; }
.cat-tile:hover .more .icon { transform: translateX(4px); }

/* Split / feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--success); margin-top: 2px; }
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to)); box-shadow: var(--shadow-lg);
}
.media-frame svg { width: 100%; height: 100%; }
.media-frame__badge {
  position: absolute; left: 20px; bottom: 20px; background: var(--surface); color: var(--text); border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center;
}
.media-frame__badge strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--accent); line-height: 1; }

/* Timeline */
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 32px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding-bottom: 32px; }
.timeline li::before {
  content: ""; position: absolute; left: -32px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface); border: 4px solid var(--accent);
}
.timeline h3 { margin-bottom: 4px; }
.timeline .when { font-family: var(--font-head); font-weight: 700; color: var(--teal); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.timeline p { color: var(--muted); margin: 0; }

/* Brands strip */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.brand-chip {
  padding: 14px 26px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 700; letter-spacing: .04em; color: var(--muted);
}

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px);
  background: linear-gradient(120deg, var(--hero-from), var(--hero-to)); color: #fff;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #cfe2f3; margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(211, 95, 42, .22);
}
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* Reviews CTA */
.reviews { text-align: center; }
.stars { display: inline-flex; gap: 4px; color: #f5b301; margin-bottom: 12px; }
.stars svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }

/* ---------- Catalog ---------- */
.catalog { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.catalog > * { min-width: 0; }
@media (max-width: 900px) { .catalog { grid-template-columns: 1fr; } }
.filters { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.filters h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.filter-btn {
  width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: var(--radius-sm);
  border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer;
}
.filter-btn:hover { background: var(--surface-2); }
.filter-btn[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); font-weight: 700; }
.filter-btn .count { margin-left: auto; font-size: .8rem; opacity: .75; }
@media (max-width: 900px) {
  .filters { position: static; padding: 14px; }
  .filters h2 { display: none; }
  .filter-list { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: thin; }
  .filter-btn { white-space: nowrap; border: 1px solid var(--border); border-radius: 999px; width: auto; }
}
.catalog-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.search-field { position: relative; flex: 1 1 280px; }
.search-field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-field input { padding-left: 46px; }
.result-count { color: var(--muted); font-size: .95rem; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; animation: fadeUp .35s var(--ease) both;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product__media {
  aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative;
  background: linear-gradient(150deg, color-mix(in srgb, var(--primary) 14%, var(--surface)), color-mix(in srgb, var(--teal) 14%, var(--surface)));
  color: var(--primary);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__media .icon { width: 64px; height: 64px; stroke-width: 1.4; }
.product__tag { position: absolute; top: 12px; left: 12px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--accent); color: var(--on-accent); padding: 4px 10px; border-radius: 999px; }
.product__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__cat { font-size: .78rem; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.product__body h3 { font-size: 1.08rem; margin: 0; }
.product__body p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.product__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 4px; }
.product__sku { font-size: .78rem; color: var(--muted); }
.product__price { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--primary); white-space: nowrap; }
.product__price small { font-size: .75rem; font-weight: 500; color: var(--muted); }
.product__media { background: #fff !important; }
.product__actions { display: flex; gap: 8px; margin-top: 10px; }
.product__actions .btn { flex: 1; padding: 8px 12px; white-space: nowrap; gap: 6px; }
.product__actions .btn.is-added { --_bg: var(--success); --_fg: #fff; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); grid-column: 1 / -1; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Quote drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(3, 12, 22, .55); z-index: 300; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--surface); z-index: 301;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: none; }
.drawer.is-open + .drawer-backdrop, .drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border); }
.drawer__head h2 { font-size: 1.25rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 20px; }
.drawer__foot { padding: 20px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.quote-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.quote-item__name { flex: 1; font-weight: 600; font-size: .95rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; color: var(--text); cursor: pointer; font-size: 1.1rem; border-radius: 999px; }
.qty button:hover { background: var(--surface-2); }
.qty span { min-width: 24px; text-align: center; font-weight: 700; }
.remove-btn { border: 0; background: none; color: var(--muted); cursor: pointer; width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; }
.remove-btn:hover { color: var(--danger); background: var(--surface-2); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; }
.field label .req { color: var(--danger); }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; min-height: 0; }
.field-hint { color: var(--muted); font-size: .85rem; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.checkbox input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.is-success { display: block; background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.form-status.is-error { display: block; background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.hp { position: absolute; left: -9999px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .card__icon { margin: 0; width: 48px; height: 48px; flex: none; }
.info-list strong { display: block; font-family: var(--font-head); }
.info-list span, .info-list a { color: var(--muted); }
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table td { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.hours-table td:last-child { text-align: right; font-weight: 700; }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; padding: 4px 12px; border-radius: 999px; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-status.is-open { color: var(--success); background: color-mix(in srgb, var(--success) 14%, transparent); }
.open-status.is-closed { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 16 / 7; min-height: 320px; background: var(--surface-2); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
[data-theme="dark"] .map-wrap iframe { filter: invert(.9) hue-rotate(180deg) saturate(.8); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--primary); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--font-head); font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s; color: var(--primary); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 28px;
  font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: color-mix(in srgb, var(--accent) 70%, transparent);
}

/* ---------- Footer ---------- */
.site-footer { background: #141c44; color: #b9cadb; padding: 72px 0 0; margin-top: 0; }
[data-theme="dark"] .site-footer { background: #070a18; }
.site-footer a { color: #d9e6f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo__tag { color: #8fa6bd; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; transition: background-color .2s, transform .2s;
}
.social a:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-2px); text-decoration: none; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #8fa6bd; }

/* ---------- Floating + misc ---------- */
.fab-whats {
  position: fixed; right: 20px; bottom: 20px; z-index: 200; width: 60px; height: 60px; border-radius: 50%;
  background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(31,168,85,.45);
  transition: transform .2s;
}
.fab-whats:hover { transform: scale(1.08); color: #fff; }
.fab-whats svg { width: 32px; height: 32px; fill: currentColor; }
.fab-whats::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fa855; animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.to-top {
  position: fixed; right: 28px; bottom: 92px; z-index: 199; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 250; max-width: 420px; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px; font-size: .92rem;
}
.cookie p { margin-bottom: 14px; color: var(--muted); }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) { .cookie { left: 12px; right: 92px; bottom: 12px; } }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 400; background: var(--text); color: var(--bg);
  padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; } .reveal-delay-2 { transition-delay: .16s; } .reveal-delay-3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; color: var(--primary); line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .fab-whats, .to-top, .cookie, .site-footer, .hero__waves { display: none !important; }
}

/* ===================== Hero com foto da fachada ===================== */
.hero--photo {
  background:
    linear-gradient(90deg, rgba(20, 28, 68, .94) 0%, rgba(20, 28, 68, .82) 38%, rgba(20, 28, 68, .35) 72%, rgba(20, 28, 68, .15) 100%),
    linear-gradient(0deg, rgba(20, 28, 68, .55) 0%, transparent 35%),
    url("../img/brand/fachada.webp") 70% 58% / cover no-repeat;
  min-height: clamp(520px, 72vh, 720px);
  display: flex; align-items: center;
}
.hero--photo .hero__grid { grid-template-columns: minmax(0, 640px); width: min(100% - 40px, var(--container)); }
.hero--photo .lead { color: #e3ebf7; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.hero--photo h1 { text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
@media (max-width: 760px) {
  .hero--photo {
    background:
      linear-gradient(180deg, rgba(20, 28, 68, .72) 0%, rgba(20, 28, 68, .88) 55%, rgba(20, 28, 68, .95) 100%),
      url("../img/brand/fachada-800.webp") 62% 40% / cover no-repeat;
    min-height: 0;
  }
}

/* Foto da fachada no bloco "Nossa história" */
.media-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; display: block; }

/* ===================== Carrossel ===================== */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; gap: 20px;
  grid-auto-columns: calc((100% - 3 * 20px) / 4);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 18px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; min-width: 0; }
.carousel__track:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }
.carousel__track .product { animation: none; }
@media (max-width: 1000px) { .carousel__track { grid-auto-columns: calc((100% - 20px) / 2.3); } }
@media (max-width: 560px)  { .carousel__track { grid-auto-columns: 82%; gap: 14px; } }
.carousel__btn {
  position: absolute; top: calc(50% - 22px); z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); box-shadow: var(--shadow);
  display: grid; place-items: center; cursor: pointer; transition: opacity .2s, transform .2s, border-color .2s;
}
.carousel__btn:hover { border-color: var(--primary); color: var(--primary); }
.carousel__btn--prev { left: -20px; } .carousel__btn--prev svg { transform: rotate(90deg); }
.carousel__btn--next { right: -20px; } .carousel__btn--next svg { transform: rotate(-90deg); }
.carousel__btn:disabled { opacity: 0; pointer-events: none; }
.carousel.is-static .carousel__btn, .carousel.is-static .carousel__dots { display: none; }
@media (max-width: 1280px) { .carousel__btn--prev { left: -6px; } .carousel__btn--next { right: -6px; } }
@media (hover: none) and (max-width: 760px) { .carousel__btn { display: none; } }
.carousel__dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.carousel__dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--border); transition: width .25s, background-color .25s; }
.carousel__dots span.is-active { width: 22px; background: var(--accent); }
.carousel-block + .carousel-block { margin-top: 48px; }
.carousel-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.carousel-head h3 { font-size: 1.4rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.carousel-head h3 .icon { color: var(--accent); }
.carousel-head a { font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.cat-tile { height: 100%; }

/* ===================== Mapa no rodapé ===================== */
.footer-map { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); }
.footer-map iframe { display: block; width: 100%; height: 170px; border: 0; }
.footer-map a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: .88rem; font-weight: 700; }

/* ===================== Barra do topo (WhatsApp centralizado) ===================== */
.topbar .container { display: grid; grid-template-columns: 1fr auto 1fr; }
.topbar__side { display: flex; align-items: center; gap: 18px; min-width: 0; }
.topbar__side--end { justify-content: flex-end; }
.topbar__social { display: inline-flex; gap: 12px; }
.topbar__whats { font-weight: 800; font-size: .95rem; letter-spacing: .01em; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.1); }
.topbar__whats svg { width: 16px; height: 16px; fill: #25d366; }
.topbar a.topbar__whats:hover { background: rgba(255,255,255,.18); text-decoration: none; }
@media (max-width: 1040px) { .topbar__hide-md { display: none !important; } }
@media (max-width: 760px) {
  .topbar .container { grid-template-columns: 1fr; justify-items: center; }
  .topbar__side { display: none; }
}

/* ===================== Espaçamento mais compacto ===================== */
.section { padding: clamp(44px, 5.5vw, 72px) 0; }
.section-head { margin-bottom: 32px; }
.hero { padding: clamp(56px, 7vw, 96px) 0 clamp(120px, 13vw, 170px); }
.stats-wrap + .section { padding-top: clamp(36px, 4vw, 52px); }
.carousel-block + .carousel-block { margin-top: 32px; }
.page-hero { padding: 48px 0 84px; }

/* ===================== Card de produto: link para detalhes ===================== */
.product__media { text-decoration: none; overflow: hidden; }
.product__media img { transition: transform .35s var(--ease); }
.product:hover .product__media img { transform: scale(1.04); }
.product__zoom {
  position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 8px); opacity: 0;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  background: rgba(20, 28, 68, .85); color: #fff; font-size: .82rem; font-weight: 700; transition: opacity .25s, transform .25s;
}
.product:hover .product__zoom { opacity: 1; transform: translate(-50%, 0); }
.product__photos {
  position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 4px;
  font-size: .75rem; font-weight: 700; color: var(--primary); background: rgba(255,255,255,.92); border: 1px solid var(--border);
  padding: 3px 8px; border-radius: 999px;
}
.product__body h3 a { color: inherit; text-decoration: none; }
.product__body h3 a:hover { color: var(--primary); }
.product__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--primary); }
.product__more:hover { color: var(--accent-strong, var(--accent)); }
.product__more .icon { transition: transform .2s; }
.product__more:hover .icon { transform: translateX(3px); }
[data-theme="dark"] .product__more, [data-theme="dark"] .product__body h3 a:hover { color: #9fb3f0; }

/* ===================== Página do produto ===================== */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pd > * { min-width: 0; }
.pd-gallery { position: sticky; top: 96px; }
.pd-main {
  position: relative; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: grid; place-items: center; color: var(--primary);
}
.pd-main img { width: 100%; height: 100%; object-fit: contain; padding: 16px; cursor: zoom-in; }
.pd-main .icon { width: 96px; height: 96px; stroke-width: 1.2; }
.pd-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(255,255,255,.92); color: #1c2340; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
}
.pd-nav--prev { left: 12px; } .pd-nav--prev svg { transform: rotate(90deg); }
.pd-nav--next { right: 12px; } .pd-nav--next svg { transform: rotate(-90deg); }
.pd-count { position: absolute; bottom: 12px; right: 12px; font-size: .8rem; font-weight: 700; background: rgba(20,28,68,.8); color: #fff; padding: 3px 10px; border-radius: 999px; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.pd-thumbs button {
  flex: 0 0 76px; height: 60px; border-radius: 10px; border: 2px solid var(--border); background: #fff; padding: 4px; cursor: pointer; transition: border-color .2s;
}
.pd-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs button[aria-current="true"] { border-color: var(--accent); }
.pd-info .product__cat { display: inline-block; margin-bottom: 8px; text-decoration: none; }
.pd-info h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 10px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.pd-price { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--primary); }
.pd-desc { font-size: 1.08rem; color: var(--text); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.pd-actions .btn.is-added { --_bg: var(--success); --_fg: #fff; }
.pd-note { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.pd-note .icon { flex: 0 0 auto; color: var(--accent); margin-top: 2px; }
.pd-box { margin-top: 26px; }
.pd-box h2 { font-size: 1.25rem; margin: 0 0 12px; }
.pd-details p { margin: 0 0 10px; }
.pd-details ul { margin: 0 0 10px; padding-left: 20px; }
.pd-specs { width: 100%; border-collapse: collapse; font-size: .95rem; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.pd-specs th, .pd-specs td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.pd-specs tr:last-child th, .pd-specs tr:last-child td { border-bottom: 0; }
.pd-specs th { width: 40%; font-weight: 700; background: var(--surface-2); }
.pd-empty { text-align: center; padding: 40px 0; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5, 8, 20, .92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 12px; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: #1c2340; display: grid; place-items: center; cursor: pointer; }
@media (max-width: 900px) {
  .pd { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
}
@media (max-width: 560px) {
  .pd-actions .btn { flex: 1 1 100%; }
  .pd-thumbs button { flex-basis: 64px; height: 52px; }
}
.pd-section { padding-top: 28px; }
.breadcrumb--light { color: var(--muted); }
.breadcrumb--light a { color: var(--primary); }
.breadcrumb--light a:hover { color: var(--primary); }
[data-theme="dark"] .breadcrumb--light a { color: #9fb3f0; }

/* ===================== Links legais no rodapé ===================== */
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-legal a, .link-btn { color: inherit; opacity: .85; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.footer-legal a:hover, .link-btn:hover { opacity: 1; }
.cookie p a { color: inherit; text-decoration: underline; font-weight: 700; }

/* ===================== Páginas legais (bilíngues) ===================== */
html[lang="es"] .lang-pt, html:not([lang="es"]) .lang-es { display: none !important; }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--text); line-height: 1.7; }
.legal ul { padding-left: 22px; }
.legal .muted { color: var(--muted); }

/* Reserva o espaço do cabeçalho enquanto o JavaScript o monta (evita a página "pular") */
#site-header { display: block; min-height: calc(38px + var(--header-h)); }
