/* ==========================================================================
   Shared label typography
   --------------------------------------------------------------------------
   The site has many small uppercase mono labels: section eyebrows, tags,
   captions, metadata. They share these typography tokens; each component
   class below adds its own font-size (10px or 11px), color, and decoration.
   Naming is historical (stat-tag / func-tag / .num / .label / .caption /
   .channel etc.) — the shared values live here so changes propagate.

   Outliers preserved separately (intentional, see their own rules):
     .price-note         — 0.04em tracking (descriptive note, not a label)
     .marquee-track span — 12px / 0.2em (decorative scrolling strip)
     .footer-bottom      — fine print, mono but not a label
   ========================================================================== */

.stat-tag,
.func-tag,
.beneficio .num,
.step .num,
.plan-eyebrow,
.plan-tag,
.price-label,
.price-save,
.contato-cell .label,
.contato-cell .channel,
.video-card .caption,
.founder-meta .role,
.founder-meta .since,
.hero-meta dt,
.apres-callout .label {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ==========================================================================
   Header — fixed top bar
   --------------------------------------------------------------------------
   Two state classes toggled by script.js:
     .scrolled — adds glass background (var(--paper-glass) + blur)
     .on-dark  — light text variant for when hero is in viewport
   Mobile (≤ 900px): nav-links becomes a fullscreen overlay sliding from the
   right. Logo and toggle stay visible above it via z-index: 110.
   ========================================================================== */

#header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 22px 0;
  z-index: 100;
  background: transparent;
  transition: padding var(--t-base), background-color var(--t-base),
              border-color var(--t-base);
  border-bottom: 1px solid transparent;
}
@media (min-width: 901px) {
  #header.on-dark .nav-links a { color: rgba(246, 243, 238, 0.72); }
  #header.on-dark .nav-links a:hover { color: var(--on-night); }
  #header.on-dark .nav-links a.nav-btn { background: var(--on-night); color: var(--ink); }
  #header.on-dark .nav-links a.nav-btn:hover { background: var(--red); color: var(--paper); }
  #header.on-dark .nav-links a.nav-link-ext {
    border-color: rgba(250, 250, 250, 0.22);
    color: rgba(246, 243, 238, 0.78);
  }
  #header.on-dark .nav-links a.nav-link-ext:hover {
    background: var(--on-night);
    color: var(--ink);
    border-color: var(--on-night);
  }
}
.nav-cta { display: inline-flex; align-items: center; gap: 6px; }
.nav-cta .arrow { transition: transform var(--t-fast); }
.nav-cta:hover .arrow { transform: translateX(3px); }
.nav-links a.nav-link-ext {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.nav-links a.nav-link-ext::after { display: none; }
.nav-links a.nav-link-ext:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.nav-link-ext .ext-arrow {
  font-size: 12px;
  line-height: 1;
  display: inline-block;
  transition: transform var(--t-base) var(--ease-out);
}
.nav-link-ext:hover .ext-arrow { transform: translate(2px, -2px); }

#header.on-dark .mobile-menu-toggle span { background: var(--on-night); }

#header.scrolled {
  padding: 14px 0;
  background: var(--paper-glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
#header.scrolled.on-dark {
  background: var(--ink-glass);
  border-bottom-color: var(--line-night);
}

/* When mobile menu is open, drop backdrop-filter so the fixed-position .nav-links
   can position relative to the viewport (filter creates a containing block). */
#header:has(.nav-links.active) {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.logo-mark { width: 28px; height: 28px; flex-shrink: 0; display: block; }

nav { display: flex; align-items: center; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.005em;
  position: relative;
  transition: color var(--t-fast);
}
.nav-links a:not(.nav-btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--t-base) var(--ease-out);
}
.nav-links a:not(.nav-btn):hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--ink); }

.nav-links a.nav-btn {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.005em;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav-links a.nav-btn:hover { background: var(--red); color: var(--paper); }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
}
.mobile-menu-toggle span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: var(--ink);
  border-radius: 2px;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 0;
    flex-direction: column;
    background: var(--paper);
    padding: 100px 32px 40px;
    gap: 8px;
    align-items: stretch;
    display: none;
  }
  .nav-links.active { display: flex; }
  .nav-links a {
    display: block;
    font-size: 22px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .nav-links a.nav-btn {
    display: block;
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
    font-size: 16px;
    padding: 14px 22px;
  }
  .nav-links a.nav-link-ext {
    display: block;
    gap: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 14px 0;
    font-size: 22px;
    background: transparent;
  }
  .nav-link-ext .ext-arrow { font-size: 18px; margin-left: 6px; }

  /* Logo and toggle share same height + sit above the fullscreen menu overlay */
  .logo { position: relative; z-index: 110; height: 32px; }

  .mobile-menu-toggle {
    display: flex;
    z-index: 110;
    height: 32px;
    padding: 0 8px;
    justify-content: center;
    align-items: center;
  }
  #header.on-dark .mobile-menu-toggle span { background: var(--on-night); }
  /* When the mobile menu is open the overlay is light (var(--paper)) — force the
     X to dark even if the header still has .on-dark from being over the hero. */
  #header .mobile-menu-toggle.active span,
  #header.on-dark .mobile-menu-toggle.active span { background: var(--ink); }
}

/* ==========================================================================
   Hero — calm, editorial, restrained
   --------------------------------------------------------------------------
   Dark surface (var(--night)) with two decorative layers:
     .grain — subtle SVG noise overlay (mix-blend-mode: overlay)
     .glow  — large red radial-gradient, blurred (gives a warm focal point)
   Layout: title on the left, slash + lede + CTA on the right (2-col grid).
   Below: full-bleed splash image, then 4-column hero-meta with key stats.
   ========================================================================== */

/* Hero uses the standard top pad but a tighter bottom pad — the splash image
   and meta block fill the lower half visually, so the section doesn't need
   140px breathing room before the marquee. */
#hero {
  position: relative;
  background: var(--night);
  color: var(--on-night);
  overflow: hidden;
  padding: var(--section-pad) 0 80px;
}

#hero .grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

#hero .glow {
  position: absolute;
  width: 900px; height: 900px;
  left: 50%;
  top: 35%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(200,57,44,0.20), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 768px) {
  #hero .glow { width: 600px; height: 600px; left: 30%; top: 30%; }
}

#hero .container { position: relative; z-index: 2; }

/* Hero top: stacked title left, aside (slash + lede + cta) right */
.hero-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: end;
  padding-bottom: 72px;
}

#hero h1 {
  font-family: var(--display);
  color: var(--on-night);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.045em;
  font-size: clamp(4rem, 11vw, 11rem);
  line-height: 0.92;
  margin: 0;
}
#hero h1 .line { display: block; }
#hero h1 .serif {
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 380px;
  padding-bottom: 18px;
}
.hero-aside-text {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
.hero-slash {
  font-family: var(--display);
  font-weight: 300;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--red);
  flex-shrink: 0;
}

#hero p.lede {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--on-night-mute);
  margin: 0;
}

.hero-aside .btn-primary {
  background: var(--paper);
  color: var(--ink);
  align-self: flex-end;
}
.hero-aside .btn-primary:hover {
  background: var(--red);
  color: var(--paper);
}

/* Full-bleed product image */
.hero-fullbleed {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 40px;
  margin-bottom: 80px;
}
.hero-fullbleed-frame {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: none;
  aspect-ratio: 21 / 9;
}
.hero-fullbleed-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 32px;
  border-top: 1px solid var(--line-night);
}
.hero-meta > div {
  padding: 0 28px;
  border-left: 1px solid var(--line-night);
}
.hero-meta > div:first-child { padding-left: 0; border-left: none; }
.hero-meta dt {
  font-size: 10px;
  color: var(--on-night-faint);
  margin-bottom: 12px;
}
.hero-meta dd {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--on-night-mute);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.hero-meta dd b {
  font-family: var(--display);
  font-weight: 500;
  color: var(--on-night);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .hero-top { grid-template-columns: 1fr; gap: 40px; align-items: start; padding-bottom: 56px; }
  .hero-aside { padding-bottom: 0; }
  #hero h1 { font-size: clamp(3.5rem, 14vw, 6rem); }
  /* On mobile, the hero CTA spans the full width of the aside-body so it reads
     as a clear primary action — text on the left, arrow pushed to the right. */
  .hero-aside .btn-primary {
    align-self: stretch;
    justify-content: space-between;
  }
  /* Mobile splash: image at 2× frame width, anchored left. The right half
     bleeds past the viewport edge and is clipped by overflow. Height stays
     natural so nothing gets squished. */
  .hero-fullbleed { padding: 0 0 0 22px; margin-bottom: 56px; }
  .hero-fullbleed-frame { aspect-ratio: auto; overflow: hidden; }
  .hero-fullbleed-frame img {
    position: static;
    width: 200%;
    height: auto;
    max-width: none;
    object-fit: unset;
  }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .hero-meta > div:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 520px) {
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta > div { border-left: 0; padding: 14px 0 0; border-top: 1px solid var(--line-night); }
  .hero-meta > div:first-child { border-top: 0; padding-top: 0; }
}

/* ==========================================================================
   Marquee — countries / trust strip
   --------------------------------------------------------------------------
   Infinite horizontal scroll on a dark band between hero and apresentação.
   Lists plotter brands and countries. Animated with CSS keyframes (38s loop).
   The track contains the items 2× so the loop wrap is invisible.
   ========================================================================== */

.marquee {
  background: var(--ink);
  color: var(--on-night);
  padding: 22px 0;
  border-top: 1px solid var(--line-night);
  border-bottom: 1px solid var(--line-night);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: scroll-x 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-track span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-night-mute);
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.marquee-track span::after {
  content: "✦";
  color: var(--red);
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Stats — punctuation section between content blocks
   --------------------------------------------------------------------------
   3 columns separated by thin vertical lines. Numbers animate in on scroll
   (script.js initCounters reads data-count attributes).
   Uses --section-pad-tight (120px) instead of default 140px to feel snappier.
   ========================================================================== */

/* Stats is a "punctuation" section — tighter than default to read as a quick
   beat between content. */
#stats {
  padding: var(--section-pad-tight) 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 32px 8px 0;
  position: relative;
}
.stat + .stat { padding-left: 48px; border-left: 1px solid var(--line); }
.stat-tag {
  font-size: 10px;
  color: var(--ink-4);
}
.stat-num {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(3.4rem, 7vw, 5.2rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
}
.stat-num .suffix {
  font-size: 0.42em;
  color: var(--red);
  margin-left: 6px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.stat p {
  color: var(--ink-3);
  font-size: 0.96rem;
  line-height: 1.55;
  max-width: 32ch;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat { padding: 32px 0; border-bottom: 1px solid var(--line); }
  .stat + .stat { padding-left: 0; border-left: 0; padding-top: 32px; }
  .stat:last-child { border-bottom: 0; }
}

/* ==========================================================================
   Apresentação (01 — Como funciona) — editorial split
   --------------------------------------------------------------------------
   2-column layout: image on the left (Hyundai Creta cut map, 5:4 ratio),
   text + 25× callout on the right.
   The callout uses Instrument Serif italic for the "×" symbol.
   Background: var(--paper-2) — slightly grey for contrast with white sections.
   ========================================================================== */

#apresentacao {
  background: var(--paper-2);
}

.apres-content {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 96px;
  align-items: center;
}

.apres-figure {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  aspect-ratio: 5 / 4;
}
.apres-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.apres-callout {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.apres-callout .num {
  font-family: var(--sans);
  font-size: clamp(3.2rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.apres-callout .num em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  margin-left: 4px;
}
.apres-callout .label {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 22ch;
}
.apres-text p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 18px;
  max-width: 46ch;
}
.apres-text p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .apres-content { grid-template-columns: 1fr; gap: 56px; }
}

/* ==========================================================================
   Benefícios (03 — Por que American Cut) — 3 columns × 2 rows
   --------------------------------------------------------------------------
   6 cards, each with: number + horizontal line (.num::after), h3, paragraph.
   No borders between cards — only the internal "01 ─────" line gives structure.
   On hover, the number + line shift to red. Mobile collapses to 1 column.
   ========================================================================== */

#beneficios {
  background: var(--paper);
}
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.beneficio {
  padding: 44px 32px 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: background-color var(--t-base);
}
.beneficio:nth-child(3n) { padding-right: 0; }
.beneficio:nth-child(3n+1) { padding-left: 0; }

.beneficio .num {
  font-size: 11px;
  color: var(--ink-4);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color var(--t-base);
}
.beneficio .num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  transition: background var(--t-base);
}
.beneficio:hover .num { color: var(--red); }
.beneficio:hover .num::after { background: var(--red); }

.beneficio h3 {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.beneficio p {
  color: var(--ink-3);
  font-size: 0.96rem;
  line-height: 1.6;
  max-width: 32ch;
  margin: 0;
}

@media (max-width: 900px) {
  .beneficios-grid { grid-template-columns: 1fr; }
  .beneficio { padding: 32px 0 !important; }
}

/* ==========================================================================
   Funcionalidades (02) — alternating editorial layout
   --------------------------------------------------------------------------
   3 image+text pairs stacked vertically with 120px gap.
   .func-item.flip swaps image/text order for the middle item — creating
   the alternating zig-zag rhythm.
   Hover scales the image slightly (scale 1.02 over 1.2s).
   ========================================================================== */

#funcionalidades { background: var(--paper-2); }

.func-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
}
.func-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 96px;
}
.func-item.flip > .func-figure { order: 2; }
.func-item.flip > .func-text { order: 1; }

.func-figure {
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  position: relative;
}
.func-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.func-item:hover .func-figure img { transform: scale(1.02); }

.func-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--red);
  margin-bottom: 22px;
}
.func-tag::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--red);
}

.func-text h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 22px;
  max-width: 17ch;
}
.func-text p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 44ch;
}

@media (max-width: 900px) {
  .func-list { gap: 72px; }
  .func-item { grid-template-columns: 1fr; gap: 32px; }
  .func-item.flip > .func-figure { order: 1; }
  .func-item.flip > .func-text { order: 2; }
}

/* ==========================================================================
   Planos (06) — 2 plan cards side by side
   --------------------------------------------------------------------------
   Each card shows BOTH Mensal and Anual prices in a 2-col grid (.plan-prices).
   .plan.featured (Window Film + PPF) has a dark inverted treatment to draw
   the eye. The "Recomendado" tag (.plan-tag) is absolute-positioned in the
   top-right corner.
   ========================================================================== */

#planos { background: var(--paper); }

.plans-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1000px;
  margin: 0 auto;
  gap: 16px;
  width: 100%;
}

.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  transition: border-color var(--t-base), transform var(--t-base);
}
.plan:hover { border-color: var(--line-2); }

.plan.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.plan.featured h3 { color: var(--paper); }
.plan.featured .plan-features li { color: var(--paper); border-color: var(--line-night); }
.plan.featured .plan-features li.muted { color: var(--on-night-faint); }

.plan-tag {
  position: absolute;
  top: 28px; right: 28px;
  font-size: 10px;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.plan-tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 999px;
}
.plan.featured .plan-tag { color: var(--red-light); }

.plan h3 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.plan-eyebrow {
  font-size: 11px;
  color: var(--ink-4);
  margin-bottom: 8px;
}
.plan.featured .plan-eyebrow { color: var(--on-night-faint); }

.plan-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.plan.featured .plan-prices { border-color: var(--line-night); }

.price-block {
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-block + .price-block {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.plan.featured .price-block + .price-block { border-left-color: var(--line-night); }

.price-label {
  font-size: 10px;
  color: var(--ink-4);
}
.plan.featured .price-label { color: var(--on-night-faint); }

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-amount .currency {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink-3);
}
.plan.featured .price-amount .currency { color: var(--on-night-mute); }
.price-amount .amount {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.plan.featured .price-amount .amount { color: var(--paper); }

.price-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.plan.featured .price-note { color: var(--on-night-mute); }

.price-save {
  font-size: 10px;
  color: var(--red);
  margin-top: auto;
}
.plan.featured .price-save { color: var(--red-light); }

.plan-features {
  display: flex;
  flex-direction: column;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.plan-features li:last-child { border-bottom: 0; }
.plan-features li svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--ink);
}
.plan.featured .plan-features li svg { color: var(--paper); }
.plan-features li.muted {
  color: var(--ink-4);
  text-decoration: line-through;
  text-decoration-color: var(--line-2);
}
.plan-features li.muted svg { color: var(--ink-4); opacity: 0.6; }
.plan-features li.highlight svg { color: var(--red); }
.plan.featured .plan-features li.highlight svg { color: var(--red-light); }

.plan-cta { margin-top: auto; }
.plan-cta .btn {
  width: 100%;
  background: var(--ink);
  color: var(--paper);
}
.plan-cta .btn:hover { background: var(--red); color: var(--paper); }
.plan.featured .plan-cta .btn {
  background: var(--paper);
  color: var(--ink);
}
.plan.featured .plan-cta .btn:hover {
  background: var(--red);
  color: var(--paper);
}

.plans-note {
  text-align: center;
  margin-top: 36px;
  font-size: 0.92rem;
  color: var(--ink-3);
}

@media (max-width: 900px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plan { padding: 32px 28px; }
}

/* ==========================================================================
   Instalação (07) — 3-step grid (download / video / criar conta)
   --------------------------------------------------------------------------
   3 columns with thin dividers. Step 02 contains a YouTube embed (16:9 via
   padding-bottom hack). Steps 01 and 03 have CTAs (download link, WhatsApp).
   ========================================================================== */

#instalacao { background: var(--paper-2); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  background: transparent;
  padding: 40px 32px 44px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step:nth-child(2) { padding-left: 32px; }
.step:nth-child(3) { padding-left: 32px; padding-right: 0; border-right: 0; }
.step .num {
  font-size: 11px;
  color: var(--ink-4);
}
.step h3 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.step p {
  color: var(--ink-3);
  font-size: 0.96rem;
  line-height: 1.6;
  flex: 1;
}
.step .video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
}
.step .video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.step .btn { align-self: flex-start; }

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .step { padding: 32px 0 !important; border-right: 0; }
}

/* ==========================================================================
   Videos (04 — Demonstrações) — 2-up grid of YouTube embeds
   --------------------------------------------------------------------------
   .video-wrap uses the padding-bottom: 56.25% trick for 16:9 aspect ratio.
   ========================================================================== */

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.video-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.video-card .video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
}
.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-card .caption {
  font-size: 11px;
  color: var(--ink-3);
}
@media (max-width: 768px) {
  .videos-grid { grid-template-columns: 1fr; }
}
.videos-cta { margin-top: 40px; display: flex; justify-content: center; }

/* ==========================================================================
   Sobre (05) — origin story + founder card
   --------------------------------------------------------------------------
   2-column split: text on the left (with an Instrument Serif italic pull-quote),
   founder card on the right (4:5 portrait of Reginaldo with gradient overlay).
   The founder card overlays role/since meta at the bottom.
   ========================================================================== */

#sobre { background: var(--paper-2); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 96px;
  align-items: start;
}
.sobre-text p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 18px;
  max-width: 52ch;
}
.sobre-text p:last-child { margin-bottom: 0; }
.sobre-text .pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.01em;
}

.founder-card {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: var(--ink);
  aspect-ratio: 4 / 5;
}
.founder-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
}
.founder-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.55));
}
.founder-meta {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 2;
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.founder-meta .name {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.founder-meta .role {
  font-size: 10px;
  color: var(--on-night-mute);
}
.founder-meta .since {
  font-size: 10px;
  color: var(--on-night-mute);
  text-align: right;
}
.founder-meta .since b {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 56px; }
  .founder-card { max-width: 480px; }
}

/* ==========================================================================
   FAQ (08) — accordion list
   --------------------------------------------------------------------------
   Each .faq-item has a button with h3 + animated +/− icon. Click toggles
   .open class; max-height transition (set inline by JS to scrollHeight)
   creates the smooth expand/collapse. Only one item open at a time.
   ========================================================================== */

#faq { background: var(--paper); }

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--line-2);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: border-color var(--t-base);
}
.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 26px 4px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
  font-family: var(--sans);
}
.faq-question h3 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  flex: 1;
  transition: color var(--t-base);
}
.faq-question:hover h3 { color: var(--red); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
  position: relative;
  color: var(--ink);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--t-base);
}
.faq-icon::before { width: 10px; height: 1px; }
.faq-icon::after { width: 1px; height: 10px; }

.faq-item.open .faq-icon {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.faq-item.open .faq-icon::after { transform: scaleY(0); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) var(--ease-out);
}
.faq-answer-inner {
  padding: 0 4px 28px;
  max-width: 64ch;
}
.faq-answer-inner p {
  color: var(--ink-3);
  font-size: 0.98rem;
  line-height: 1.65;
}
.faq-answer-inner a {
  color: var(--red);
  border-bottom: 1px solid currentColor;
}

/* ==========================================================================
   Final CTA (09) — closing dark section
   --------------------------------------------------------------------------
   Mirrors the hero's dark+glow treatment to create visual bookends for the
   page. Two CTAs side by side: solid pill (Ver modelos) + text link (WhatsApp).
   Uses 160px padding (more than default) to feel like a closing statement.
   ========================================================================== */

/* Final CTA gets extra padding (160px) to feel like a closing statement —
   more breathing room than a normal content section. */
#cta {
  background: var(--night);
  color: var(--on-night);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
#cta .glow {
  position: absolute;
  width: 600px; height: 600px;
  left: 60%;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(200,57,44,0.18), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  align-items: end;
  position: relative;
  z-index: 2;
}
.cta-grid h2 {
  color: var(--on-night);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
  max-width: 16ch;
  margin-top: 22px;
}
.cta-grid h2 .serif {
  color: var(--paper);
  font-style: italic;
  font-weight: 400;
}
.cta-actions p {
  color: var(--on-night-mute);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 38ch;
}
.cta-actions .btn-primary {
  background: var(--paper);
  color: var(--ink);
}
.cta-actions .btn-primary:hover {
  background: var(--red);
  color: var(--paper);
}
.cta-actions .ctas-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.cta-actions .btn-link.on-dark::after { background: var(--on-night); }

@media (max-width: 900px) {
  #cta { padding: 96px 0; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   Contato (10) — 4-column directory
   --------------------------------------------------------------------------
   Cells: Suporte técnico / Financeiro / E-mail / Sede. Each links to the
   relevant channel (WhatsApp, mailto). On hover, the value gains a red
   underline animation. Mobile: 2 columns at ≤900px, 1 column at ≤600px.
   ========================================================================== */

#contato { background: var(--paper); }
.contato-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.contato-cell {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 180px;
}
.contato-cell:nth-child(n+2) { padding-left: 28px; }
.contato-cell:last-child { border-right: 0; padding-right: 0; }
.contato-cell .label {
  font-size: 11px;
  color: var(--ink-4);
}
.contato-cell .value {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: auto;
}
.contato-cell a.value {
  position: relative;
  align-self: flex-start;
}
.contato-cell a.value::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform var(--t-base) var(--ease-out);
}
.contato-cell a.value:hover { color: var(--red); }
.contato-cell a.value:hover::after { transform: scaleX(1); transform-origin: left; }
.contato-cell .channel {
  font-size: 10px;
  color: var(--ink-4);
}
@media (max-width: 900px) {
  .contato-grid { grid-template-columns: 1fr 1fr; }
  .contato-cell:nth-child(2) { border-right: 0; padding-right: 0; }
  .contato-cell:nth-child(3) { padding-left: 0; }
}
@media (max-width: 600px) {
  .contato-grid { grid-template-columns: 1fr; }
  .contato-cell { padding: 28px 0 !important; border-right: 0; }
}

/* ==========================================================================
   Footer — single-row layout mirroring the header
   --------------------------------------------------------------------------
   Logo + nav + social icons in one row, plus a thin sub-row with copyright
   and CNPJ. On mobile (≤900px) the row stacks vertically.
   ========================================================================== */

footer {
  background: var(--night);
  color: var(--on-night);
  padding: 56px 0 32px;
  border-top: 1px solid var(--line-night);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--on-night-mute);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.005em;
  position: relative;
  transition: color var(--t-fast);
}
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--t-base) var(--ease-out);
}
.footer-nav a:hover { color: var(--on-night); }
.footer-nav a:hover::after { transform: scaleX(1); }
.social-icons {
  display: flex;
  gap: 8px;
}
.social-icons a {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line-night);
  color: var(--on-night-mute);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.social-icons a:hover {
  background: var(--on-night);
  color: var(--ink);
  border-color: var(--on-night);
  transform: translateY(-2px);
}
.social-icons svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid var(--line-night);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--on-night-faint);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .footer-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-nav { gap: 18px 24px; }
}

/* ==========================================================================
   Floating WhatsApp button
   --------------------------------------------------------------------------
   Fixed bottom-right circle (52px). Visible on every section. Hover scales
   up slightly and shifts background to red.
   ========================================================================== */

.float-wa {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 52px; height: 52px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  transition: transform var(--t-fast), background var(--t-fast);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.float-wa:hover {
  background: var(--red);
  transform: scale(1.06);
  color: var(--paper);
}
.float-wa svg { width: 22px; height: 22px; }

