/*
Theme Name: Superpall Madeiras
Theme URI: https://superpall.pt
Author: Agilstore
Author URI: https://agilstore.pt
Description: Tema técnico e utilitário para a Superpall Madeiras - Venda, compra, recolha e valorização de paletes de madeira. Desenvolvido para alto desempenho, sem estilos inline e totalmente responsivo.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: superpall-madeiras
*/

:root {
  --bg: oklch(98.5% 0.005 85);
  --surface: oklch(100% 0 0);
  --fg: oklch(20% 0.035 255);
  /* Azul escuro profundo / ardósia */
  --fg-dark: oklch(16% 0.04 255);
  --muted: oklch(48% 0.025 255);
  --border: oklch(89% 0.015 80);

  /* Tom Castanho (Madeira Nobre / B2B) */
  --accent: oklch(54% 0.11 65);
  /* Castanho terra / madeira quente */
  --accent-strong: oklch(44% 0.12 55);
  /* Castanho profundo para CTAs */
  --accent-strong-hover: oklch(38% 0.12 55);

  /* Azul Escuro Complementar */
  --navy: oklch(22% 0.04 255);
  /* Azul escuro profundo */
  --navy-muted: oklch(36% 0.035 255);
  --navy-surface: oklch(18% 0.035 255);

  --danger: oklch(50% 0.17 28);
  --on-dark: oklch(97% 0.005 85);
  --on-dark-muted: oklch(80% 0.015 85);

  --wood-1: oklch(78% 0.08 75);
  --wood-2: oklch(66% 0.10 65);
  --wood-3: oklch(52% 0.11 55);

  /* Cantos arredondados suaves */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --font-display: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

::placeholder {
  color: var(--muted);
}

.container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--accent);
  flex: none;
}

.eyebrow .step {
  color: var(--fg);
  letter-spacing: 0.06em;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
}

.lead strong {
  color: var(--fg);
  font-weight: 600;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo .custom-logo-link,
.site-logo a {
  display: flex;
  align-items: center;
}

.site-logo .custom-logo,
.site-logo img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
}

.site-footer-logo .footer-logo-img,
.site-footer-logo .custom-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.25rem;
}

.wordmark .tick {
  width: 12px;
  height: 12px;
  background: var(--fg);
  flex: none;
}

.wordmark small {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding-inline: 14px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav a:hover,
.nav a:focus {
  color: var(--fg);
  border-bottom-color: var(--accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding-inline: 18px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: var(--radius-sm);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.header-cta:hover {
  background: var(--navy);
  color: var(--on-dark);
}

.header-cta .cta-icon,
.header-cta svg {
  width: 14px;
  height: 14px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}

.nav-toggle .toggle-icon,
.nav-toggle svg {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding-inline: 20px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.btn .btn-icon,
.btn svg {
  font-size: 16px;
  width: 16px;
  height: 16px;
  transition: transform 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent-strong);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong-hover);
}

.btn-primary:hover .btn-icon,
.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: var(--surface);
}

.btn-ghost:hover .btn-icon,
.btn-ghost:hover svg {
  transform: translateX(3px);
}

.btn-ghost-light {
  background: color-mix(in oklch, var(--surface) 10%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in oklch, var(--on-dark) 35%, transparent);
  color: var(--on-dark);
}

.btn-ghost-light:hover {
  background: color-mix(in oklch, var(--surface) 20%, transparent);
  border-color: var(--on-dark);
  color: #fff;
}

.btn-ghost-light:hover .btn-icon,
.btn-ghost-light:hover svg {
  transform: translateX(3px);
}

.btn-dark {
  background: var(--on-dark);
  color: var(--fg);
}

.btn-dark:hover {
  background: #fff;
}

.btn-slim {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.75rem;
}

/* Hero Full Background */
.hero-full-bg {
  position: relative;
  min-height: clamp(520px, 75vh, 760px);
  display: flex;
  align-items: center;
  background-color: var(--navy-surface);
  background-image: var(--hero-bg-image, url('https://placehold.co/1920x1080/1c222b/f4f5f6?text=Paletes+de+Madeira+EPAL'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-block: clamp(64px, 10vw, 130px);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
      color-mix(in oklch, var(--navy-surface) 92%, transparent) 0%,
      color-mix(in oklch, var(--navy-surface) 80%, transparent) 55%,
      color-mix(in oklch, var(--navy-surface) 50%, transparent) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text-block {
  max-width: 680px;
}

.hero-full-bg h1 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.375rem, 5.2vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  text-wrap: balance;
  color: var(--on-dark);
}

.hero-full-bg .lead {
  margin-top: 24px;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--on-dark-muted);
}

.hero-full-bg .lead strong {
  color: var(--on-dark);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.hero-full-bg .spec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
  padding: 9px 14px;
  border: 1px solid color-mix(in oklch, var(--on-dark) 20%, transparent);
  background: color-mix(in oklch, var(--navy-surface) 60%, transparent);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-xs);
}

.hero-full-bg .spec b {
  color: var(--on-dark);
  font-weight: 500;
}

.hero-full-bg .spec .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.diagram-panel {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.panel-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.diagram-panel svg {
  width: 100%;
  height: auto;
}

.diagram-panel svg text,
.inset-media svg text {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.diagram-chip {
  position: absolute;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: color-mix(in oklch, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  z-index: 2;
}

.diagram-chip small {
  display: block;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.diagram-chip.tl {
  top: 16px;
  left: 16px;
}

.diagram-chip.br {
  bottom: 56px;
  right: 16px;
  text-align: right;
}

.diagram-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--border);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-track span b {
  color: var(--fg);
  font-weight: 500;
}

.marquee-track .sq {
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--fg);
}

@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.section {
  padding-block: clamp(72px, 10vw, 128px);
}

.section.tight {
  padding-block: clamp(48px, 7vw, 88px);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.section h3 {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 650;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-lead-max {
  max-width: 42ch;
}

.section-h2-max-18 {
  max-width: 18ch;
}

.section-h2-max-20 {
  max-width: 20ch;
}

/* Cat / Services Grid */
.cat {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cat__cell {
  background: var(--surface);
  padding: clamp(24px, 3vw, 36px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.18s ease;
}

.cat__cell:hover {
  background: color-mix(in oklch, var(--bg) 60%, var(--surface));
}

.cat__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat__idx {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.18s ease;
}

.cat__arrow {
  font-size: 20px;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: color 0.18s ease, transform 0.18s ease;
}

.cat__cell:hover .cat__idx {
  color: var(--accent);
}

.cat__cell:hover .cat__arrow {
  color: var(--navy);
  transform: translate(3px, -3px);
}

.cat__tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--fg);
}

.cat__tag::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}

.cat__cell p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Produtos */
.products {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

.product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.18s ease;
}

.product:nth-child(-n+3) {
  grid-column: span 2;
}

.product:nth-child(n+4) {
  grid-column: span 3;
}

.product:hover {
  background: color-mix(in oklch, var(--bg) 60%, var(--surface));
}

.product__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.product__body h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.012em;
  line-height: 1.2;
  text-wrap: balance;
}

.product__cta {
  margin-top: auto;
}

/* Band / CTA Banner */
.band {
  background: var(--navy);
  color: var(--on-dark);
}

.band .container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 96px);
}

.band .eyebrow {
  color: var(--on-dark-muted);
}

.band .eyebrow::before {
  background: var(--accent);
}

.band h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
  max-width: 20ch;
  margin-top: 16px;
}

.band .lead {
  color: var(--on-dark-muted);
  margin-top: 18px;
  max-width: 46ch;
}

.band-cta {
  display: flex;
  justify-content: flex-end;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(36px, 5vw, 60px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  transition: border-color 0.18s ease;
}

.contact-item:hover {
  border-color: var(--accent);
}

.contact-item .tick {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 6px;
}

.contact-item h3 {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.contact-item p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 3px;
}

.contact-link {
  color: inherit;
  text-decoration: none;
  font-weight: 550;
  transition: color 0.18s ease;
}

.contact-link:hover {
  color: var(--accent);
}

/* Contact Form */
.form-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 44px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  margin-bottom: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label em {
  color: var(--accent);
  font-weight: 700;
  font-style: normal;
}

.field input,
.field textarea {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  color: var(--fg);
  transition: border-color 0.18s ease, outline-color 0.18s ease;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--navy);
}

.field.invalid input,
.field.invalid textarea {
  border-color: var(--danger);
}

.field-error {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--danger);
}

.field.invalid .field-error {
  display: block;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.form-error {
  display: none;
  border: 1px solid var(--error);
  background: color-mix(in oklch, var(--error) 8%, var(--surface));
  color: var(--error);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 0.95rem;
}

.form-error.show {
  display: block;
}

.form-success {
  display: none;
  border: 1px solid var(--accent);
  background: color-mix(in oklch, var(--accent) 8%, var(--surface));
  border-radius: var(--radius-sm);
  padding: 26px;
  gap: 10px;
}

.form-success.show {
  display: flex;
  flex-direction: column;
}

.form-success h3 {
  font-size: 1.125rem;
  font-weight: 650;
}

.form-success p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--navy-surface);
  color: var(--on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(56px, 8vw, 96px);
}

.site-footer .wordmark small {
  color: var(--on-dark-muted);
}

.site-footer .wordmark .tick {
  background: var(--accent);
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo-img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-certifications {
  margin-top: 16px;
}

.footer-cert-img {
  max-width: 289px;
  width: 100%;
  height: auto;
  opacity: 0.7;
  display: block;
  object-fit: contain;
}

.footer-tag {
  color: var(--on-dark-muted);
  margin-top: 18px;
  max-width: 34ch;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-col ul a {
  color: var(--on-dark);
  font-size: 0.95rem;
  transition: color 0.18s ease;
}

.footer-col ul a:hover {
  color: var(--on-dark-muted);
}

.footer-col ul li {
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid color-mix(in oklch, var(--on-dark) 18%, transparent);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.footer-bottom a:hover {
  color: var(--on-dark);
}

/* Static Pages Styles (Privacidade, Litígios, etc.) */
.page-content-wrapper {
  padding-block: clamp(56px, 8vw, 100px);
}

.page-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 16px;
}

.prose-technical {
  max-width: 80ch;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.prose-technical h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.prose-technical h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--fg);
}

.prose-technical p {
  color: var(--muted);
  margin-bottom: 20px;
}

.prose-technical strong {
  color: var(--fg);
}

.prose-technical ul,
.prose-technical ol {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--muted);
}

.prose-technical li {
  margin-bottom: 8px;
}

.prose-technical a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-technical a:hover {
  color: var(--accent-strong);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .band .container {
    grid-template-columns: 1fr;
  }

  .band-cta {
    justify-content: flex-start;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .cat {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .wordmark small {
    display: none;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .cat {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .marquee-track span {
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .products {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}