/* style.css — Prime Pinturas e Revestimento design system + components
   Visual identity: "Terracota Prime" — deep charcoal precision + warm terracotta
   pigment accent + warm off-white surfaces. Concept: paint, precision,
   transformation, trust, craftsmanship. */

/* ============ FONTS ============ */
/* Display: Cabinet Grotesk (Fontshare) — bold geometric, premium & confident */
/* Body: General Sans (Fontshare) — clean, professional, highly legible */
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@700,500,400&f[]=general-sans@400,500,600,700&display=swap');

:root {
  /* ---- Type scale (fluid clamp) ---- */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 1rem + 6vw, 6.5rem);

  /* ---- 4px spacing system ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ---- Fonts ---- */
  --font-display: 'Cabinet Grotesk', 'Georgia', serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;

  /* ---- Radius ---- */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* ---- Transitions ---- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* ---- Content widths ---- */
  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1220px;
  --content-full: 100%;
}

/* ============ COLOR — LIGHT MODE (default) ============ */
:root,
[data-theme='light'] {
  /* Surfaces — clean white base with a soft warm-neutral rhythm for banded sections */
  --color-bg: #ffffff;
  --color-surface: #fffdfb;
  --color-surface-2: #fbf7f2;
  --color-surface-offset: #efe7dd;
  --color-surface-offset-2: #e6dccd;
  --color-surface-dynamic: #ddd0bd;
  --color-divider: #e3d9cb;
  --color-border: #d8cab5;

  /* Text — near-black charcoal, warm undertone */
  --color-text: #241f1a;
  --color-text-muted: #6d635a;
  --color-text-faint: #ab9d8f;
  --color-text-inverse: #fbf5ee;

  /* Primary Accent — Terracota (pigment clay) */
  --color-primary: #c1552f;
  --color-primary-hover: #a4441f;
  --color-primary-active: #833618;
  --color-primary-highlight: #f0d9c9;

  /* Secondary — deep charcoal (precision, structure) */
  --color-charcoal: #241f1a;
  --color-charcoal-hover: #382f27;
  --color-charcoal-highlight: #d9d2c9;

  /* Fixed-dark-panel text — for sections that are ALWAYS a dark charcoal
     surface regardless of light/dark theme (diferenciais band, footer,
     area-atendimento). Stays warm off-white in both modes. */
  --color-on-dark: #fbf5ee;
  --color-on-dark-muted: oklch(0.94 0.01 80 / 0.68);
  --color-on-dark-faint: oklch(0.94 0.01 80 / 0.5);
  --color-on-dark-border: oklch(0.94 0.01 80 / 0.14);

  /* Warning */
  --color-warning: #9c5a1a;
  --color-warning-hover: #7a4614;
  --color-warning-highlight: #e6d2b8;

  /* Error */
  --color-error: #a12c2c;
  --color-error-hover: #7d1e1e;
  --color-error-highlight: #e3cccc;

  /* Success */
  --color-success: #4a7a34;
  --color-success-hover: #345c22;
  --color-success-highlight: #d6e0cb;

  /* Radius reused across modes */
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 40 / 0.08);
  --shadow-md: 0 4px 14px oklch(0.2 0.02 40 / 0.1);
  --shadow-lg: 0 16px 40px oklch(0.2 0.02 40 / 0.16);
}

/* ============ COLOR — DARK MODE ============ */
[data-theme='dark'] {
  --color-bg: #171310;
  --color-surface: #1e1914;
  --color-surface-2: #241e18;
  --color-surface-offset: #2a231c;
  --color-surface-offset-2: #322a21;
  --color-surface-dynamic: #3c3226;
  --color-divider: #362e25;
  --color-border: #453a2d;

  --color-text: #ede5d9;
  --color-text-muted: #a89a89;
  --color-text-faint: #726351;
  --color-text-inverse: #201b16;

  --color-primary: #e07a45;
  --color-primary-hover: #ec9265;
  --color-primary-active: #f2a67e;
  --color-primary-highlight: #4a3626;

  /* Fixed panel color: intentionally NOT inverted in dark mode. These
     sections (skip-link, diferenciais, area-atendimento, footer) are
     always-dark surfaces regardless of theme, paired with --color-on-dark
     text. If this inverted, the panel would go light while the text
     stayed light too, making it illegible. */
  --color-charcoal: #241f1a;
  --color-charcoal-hover: #382f27;
  --color-charcoal-highlight: #d9d2c9;

  --color-on-dark: #fbf5ee;
  --color-on-dark-muted: oklch(0.94 0.01 80 / 0.68);
  --color-on-dark-faint: oklch(0.94 0.01 80 / 0.5);
  --color-on-dark-border: oklch(0.94 0.01 80 / 0.14);

  --color-warning: #d38a3f;
  --color-warning-hover: #e2a05e;
  --color-warning-highlight: #4a3a24;

  --color-error: #d9716b;
  --color-error-hover: #e39a95;
  --color-error-highlight: #4a2b29;

  --color-success: #8bb26a;
  --color-success-hover: #a3c68a;
  --color-success-highlight: #33402a;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #171310;
    --color-surface: #1e1914;
    --color-surface-2: #241e18;
    --color-surface-offset: #2a231c;
    --color-surface-offset-2: #322a21;
    --color-surface-dynamic: #3c3226;
    --color-divider: #362e25;
    --color-border: #453a2d;
    --color-text: #ede5d9;
    --color-text-muted: #a89a89;
    --color-text-faint: #726351;
    --color-text-inverse: #201b16;
    --color-primary: #e07a45;
    --color-primary-hover: #ec9265;
    --color-primary-active: #f2a67e;
    --color-primary-highlight: #4a3626;
    --color-charcoal: #241f1a;
    --color-charcoal-hover: #382f27;
    --color-charcoal-highlight: #d9d2c9;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.55);
  }
}

/* ============ GLOBAL TYPE ============ */
body {
  font-family: var(--font-body), sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
}

h1, h2, h3, h4 {
  font-family: var(--font-display), serif;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body), sans-serif;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.section-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-block: var(--space-3) var(--space-6);
}

.section-lede {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* ============ LAYOUT PRIMITIVES ============ */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
}

/* ============ SKIP LINK ============ */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-charcoal);
  color: var(--color-on-dark);
  padding: var(--space-2) var(--space-4);
  z-index: 200;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* ============ HEADER / NAV ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition:
    box-shadow var(--transition-interactive),
    transform 0.3s var(--ease-in-out);
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
}
.header--hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-link svg,
.logo-mark {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  flex-shrink: 0;
  border-radius: var(--radius-md);
  object-fit: cover;
}
@media (min-width: 480px) {
  .logo-link svg,
  .logo-mark {
    width: 38px;
    height: 38px;
  }
}
.logo-wordmark {
  font-family: var(--font-display), serif;
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: 1;
  white-space: nowrap;
}
.logo-wordmark span {
  display: none;
  font-family: var(--font-body), sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
@media (min-width: 480px) {
  .logo-wordmark span {
    display: block;
  }
}

.nav-desktop {
  display: none;
}
.nav-desktop ul {
  display: flex;
  gap: var(--space-5);
  align-items: center;
  flex-wrap: nowrap;
}
.nav-desktop a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding-block: var(--space-1);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--color-text);
  border-bottom-color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}
.theme-toggle svg {
  width: 19px;
  height: 19px;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
}
.nav-toggle:hover {
  background: var(--color-surface-offset);
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.cta-header {
  display: none;
}

@media (min-width: 560px) {
  .cta-header {
    display: inline-flex;
  }
}

@media (min-width: 1040px) {
  .nav-desktop {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
}
@media (min-width: 1040px) and (max-width: 1460px) {
  .header .logo-wordmark span {
    display: none;
  }
}
@media (min-width: 1040px) and (max-width: 1280px) {
  .nav-desktop ul {
    gap: var(--space-4);
  }
  .nav-desktop a {
    font-size: var(--text-xs);
  }
  .header-inner {
    gap: var(--space-3);
  }
}

/* Mobile nav sheet */
.nav-mobile {
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--color-bg);
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--space-5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    visibility 0.25s;
}
.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-mobile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-10);
}
.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.nav-mobile a {
  display: block;
  font-family: var(--font-display), serif;
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.nav-mobile .btn {
  margin-top: var(--space-8);
  width: 100%;
  justify-content: center;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive),
    border-color var(--transition-interactive);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff9f4;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active {
  background: var(--color-primary-active);
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  background: var(--color-surface-offset);
  border-color: var(--color-text-faint);
}
.btn-ghost {
  background: transparent;
  color: var(--color-on-dark);
  border: 1px solid var(--color-on-dark-border);
}
.btn-ghost:hover {
  background: oklch(0.94 0.01 80 / 0.08);
}
.btn-block {
  width: 100%;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32)) clamp(var(--space-12), 8vw, var(--space-20));
  overflow: hidden;
}
.hero .container {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 960px) {
  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-16);
  }
}
.hero-copy h1 {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.02;
  margin-bottom: var(--space-6);
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--color-primary);
}
.hero-copy p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.hero-meta strong {
  display: block;
  font-family: var(--font-display), serif;
  font-size: var(--text-lg);
  color: var(--color-text);
  font-weight: 700;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, oklch(0.18 0.03 40 / 0.55) 100%);
}
.hero-card {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: 2;
  color: #fff9f4;
}
.hero-card p {
  font-size: var(--text-sm);
  font-weight: 500;
  max-width: 32ch;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card-media {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card-body {
  padding: var(--space-6);
}
.service-icon {
  width: 30px;
  height: 30px;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.service-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============ DIFERENCIAIS ============ */
.diferenciais-section {
  background: var(--color-charcoal);
  color: var(--color-on-dark);
}
.diferenciais-section .eyebrow {
  color: var(--color-primary);
}
.diferenciais-section .section-title,
.diferenciais-section h2 {
  color: var(--color-on-dark);
}
.diferenciais-section .section-lede {
  color: var(--color-on-dark-muted);
}
.diferenciais-grid {
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-10);
  border-top: 1px solid var(--color-on-dark-border);
}
@media (min-width: 720px) {
  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.diferencial-item {
  display: flex;
  gap: var(--space-4);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-on-dark-border);
}
@media (min-width: 720px) {
  .diferencial-item:nth-child(odd) {
    padding-right: var(--space-8);
    border-right: 1px solid var(--color-on-dark-border);
  }
  .diferencial-item:nth-child(even) {
    padding-left: var(--space-8);
  }
}
.diferencial-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--color-primary);
}
.diferencial-item h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-on-dark);
  margin-bottom: var(--space-1);
}
.diferencial-item p {
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
}

/* ============ PROCESSO ============ */
.processo-list {
  margin-top: var(--space-12);
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 720px) {
  .processo-list {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}
.processo-item {
  position: relative;
  padding-top: var(--space-8);
  border-top: 2px solid var(--color-border);
}
.processo-item::before {
  content: attr(data-step);
  position: absolute;
  top: -1px;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--font-display), serif;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-surface);
  background: var(--color-primary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}
.processo-item h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.processo-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============ CONFIANÇA (trust band, replaces fake testimonials) ============ */
.confianca-section {
  background: var(--color-surface-offset);
}
.confianca-grid {
  margin-top: var(--space-10);
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 720px) {
  .confianca-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.confianca-item h3 {
  font-family: var(--font-display), serif;
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.confianca-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============ CONTATO ============ */
.contato-grid {
  margin-top: var(--space-10);
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 960px) {
  .contato-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: var(--space-6);
}
.contact-info-row {
  display: flex;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}
.contact-info-row svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  margin-top: 2px;
}
.contact-info-row h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.contact-info-row .placeholder {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  font-style: italic;
}
.contact-info-row p {
  font-size: var(--text-sm);
}
.contact-info-row p a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}
.contact-info-row p a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.contact-note {
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  background: var(--color-primary-highlight);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  color: var(--color-text);
}
[data-theme='dark'] .contact-note {
  background: var(--color-primary-highlight);
  color: var(--color-text);
}

.area-atendimento {
  margin-top: var(--space-8);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-charcoal);
  color: var(--color-on-dark);
}
.area-atendimento h3 {
  color: var(--color-on-dark);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.area-atendimento h3 svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}
.area-atendimento p {
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
}

/* Form */
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.form-row {
  margin-bottom: var(--space-5);
}
.form-row-split {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 520px) {
  .form-row-split {
    grid-template-columns: 1fr 1fr;
  }
}
label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.label-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}
input,
select,
textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  font-size: var(--text-base);
  color: var(--color-text);
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
textarea {
  resize: vertical;
  min-height: 120px;
}
.form-status {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  min-height: 1.4em;
}
.form-status.is-success {
  color: var(--color-success);
  font-weight: 600;
}
.form-status.is-error {
  color: var(--color-primary);
  font-weight: 500;
}
.form-status.is-error a {
  color: inherit;
  text-decoration: underline;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--color-charcoal);
  color: var(--color-on-dark);
  padding-block: var(--space-16) var(--space-8);
}
.footer-grid {
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  color: var(--color-on-dark);
  text-decoration: none;
}
.footer-brand svg,
.footer-brand-mark {
  width: 34px;
  height: 34px;
  color: var(--color-primary);
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-brand-text strong {
  font-family: var(--font-display), serif;
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: 1;
}
.footer-brand-text small {
  font-family: var(--font-body), sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
}
.footer p {
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
  max-width: 40ch;
}
.footer h4 {
  font-family: var(--font-body), sans-serif;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-on-dark-faint);
  margin-bottom: var(--space-4);
}
.footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer a {
  font-size: var(--text-sm);
  color: oklch(0.94 0.01 80 / 0.75);
  text-decoration: none;
}
.footer a:hover {
  color: var(--color-on-dark);
}
.footer-note a {
  color: inherit;
  text-decoration: none;
}
.footer-note a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.footer-note {
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--color-on-dark-faint);
}
.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-on-dark-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-on-dark-faint);
}

/* ============ SCROLL REVEAL ============ */
/* Removed experimental animation-timeline: view() scroll-driven animation:
   it caused visible rendering glitches (washed-out sections, stray color
   blocks) in some Chrome versions. Content is always fully visible now. */
.reveal {
  opacity: 1;
}

/* ============ ANTES E DEPOIS ============ */
.comparison-grid {
  margin-top: var(--space-10);
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 860px) {
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.comparison-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.comparison-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.comparison-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.comparison-images figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.comparison-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.comparison-images figcaption {
  position: absolute;
  left: var(--space-2);
  bottom: var(--space-2);
}
.comparison-tag {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25em 0.7em;
  border-radius: var(--radius-sm);
  color: #fff9f4;
  background: oklch(0.24 0.02 40 / 0.72);
  backdrop-filter: blur(4px);
}
.comparison-tag-depois {
  background: var(--color-primary);
}
.comparison-card > p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.08);
  box-shadow: var(--shadow-lg), 0 0 0 4px oklch(0.7 0.15 150 / 0.28);
}

/* ============ UTILITIES ============ */
.visually-hidden-focusable:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
