/* ==========================================================================
   BRENO BIANCHINI · FOTÓGRAFO DE CASAMENTOS
   Design System Autoral · Papel & Tinta · Sem Caixas Cinzas
   ========================================================================== */

/* 1. Self-Hosted Font Faces */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/jost-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jost-500.woff2') format('woff2');
}

/* 2. Custom Properties */
:root {
  --color-bg: #FCFBF9;
  --color-bg-deep: #FFFFFF;
  --color-text-main: #121212;
  --color-text-muted: #5A5A5A;
  --color-veil: #2A2A2A;
  --color-border: rgba(18, 18, 18, 0.10);
  --color-border-strong: rgba(18, 18, 18, 0.28);
  
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --header-h: 60px;
  --container-max: 1220px;
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  :root {
    --header-h: 76px;
  }
}

/* 3. Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  overflow-x: hidden !important;
  position: relative;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* 4. Canvas de Fundo 3D */
#film-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
  opacity: 0.055;
}

/* 5. Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

/* 6. Header & Navbar Sticky */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.header-scrolled {
  border-bottom-color: var(--color-border-strong);
  box-shadow: 0 4px 20px rgba(18, 18, 18, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-text-main);
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
  white-space: nowrap;
}

.nav-desktop-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 900px) {
  .nav-desktop-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link[aria-current="true"] {
  color: var(--color-text-main);
}

.nav-link[aria-current="true"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background-color: var(--color-text-main);
  color: var(--color-bg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-whatsapp-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.nav-whatsapp-label {
  display: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-left: 0.5rem;
}

@media (min-width: 600px) {
  .nav-whatsapp-btn {
    width: auto;
    padding: 0.6rem 1.25rem;
  }
  .nav-whatsapp-label {
    display: inline;
  }
}

.hamburger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
}

@media (min-width: 900px) {
  .hamburger-btn {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: var(--color-bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem 3rem;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2.5rem;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--color-text-main);
  text-transform: uppercase;
  display: block;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

/* 7. Botões & Shiny Sweep Glow (Regra Canônica C-266) */
.btn-shiny {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #FCFBF9;
  background: linear-gradient(
    135deg,
    #121212 0%,
    #181818 15%,
    #2a2a2a 30%,
    #141414 45%,
    #121212 55%,
    #202020 70%,
    #2a2a2a 82%,
    #121212 100%
  );
  background-size: 800% 800%;
  animation: inkShift 12s ease infinite;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 24px rgba(18, 18, 18, 0.22);
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .btn-shiny {
    white-space: nowrap;
    padding: 1rem 2rem;
    width: auto;
  }
}

@media (max-width: 767px) {
  .btn-shiny {
    width: 100%;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn-shiny:hover {
    transform: scale(1.01) translateY(-1px);
    box-shadow: 0 10px 32px rgba(18, 18, 18, 0.30);
  }
}

.btn-shiny span,
.btn-shiny svg {
  position: relative;
  z-index: 2;
  color: #FCFBF9;
}

/* Anel Mascarado ::before */
.btn-shiny::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255,255,255,0.45), rgba(255,255,255,0.06), rgba(255,255,255,0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

/* Sweep Branco ::after */
.btn-shiny::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  animation: shinySweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes inkShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shinySweep {
  0% { left: -120%; }
  35%, 100% { left: 160%; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-shiny {
    animation: none;
    background-position: 0% 50%;
  }
  .btn-shiny::after {
    display: none;
  }
}

/* Botão Secundário Editorial Outline */
.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--color-text-main);
  background-color: transparent;
  border: 1px solid var(--color-border-strong);
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .btn-secondary {
    white-space: nowrap;
    padding: 1rem 2rem;
    width: auto;
  }
}

@media (max-width: 767px) {
  .btn-secondary {
    width: 100%;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    border-color: var(--color-text-main);
    background-color: rgba(18, 18, 18, 0.04);
    transform: translateY(-1px);
  }
}

/* 8. Fotografia Emoldurada Passe-Partout (.still-media) */
.still-media {
  border: 1px solid rgba(18, 18, 18, 0.14);
  padding: 6px;
  background-color: var(--color-bg-deep);
  border-radius: 4px;
  box-shadow: 0 15px 40px rgba(18, 18, 18, 0.06);
  display: block;
}

@media (min-width: 768px) {
  .still-media {
    padding: 8px;
  }
}

.still-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

/* 9. Tipografia & Elementos de Escala */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--color-text-main);
  text-transform: uppercase;
}

.section-desc {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 620px;
  line-height: 1.65;
  margin-top: 1.25rem;
}

/* 10. Seções da Página */

/* Hero Section */
.section-hero {
  padding-block: clamp(3rem, 7vw, 6rem);
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
  }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9.5vw, 7.8rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-text-main);
  margin-bottom: 1.75rem;
}

.hero-headline .accent-line {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--color-veil);
}

.hero-subheadline {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 600px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.hero-security-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}

.hero-portrait-frame {
  max-width: 520px;
  margin-inline: auto;
  position: relative;
}

.portrait-slot {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
}

.portrait-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.portrait-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Faixa de Autoridade / Stats Discretos */
.section-stats {
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-item {
  padding-inline: 0.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1;
  color: var(--color-text-main);
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Seção Sobre / O Olhar */
.section-about {
  padding-block: clamp(4rem, 8vw, 7.5rem);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
  }
}

.about-manifesto {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text-main);
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Seção Acervo & Portfólio */
.section-portfolio {
  padding-block: clamp(4rem, 8vw, 7.5rem);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 2;
}

.portfolio-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .portfolio-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

/* Frame Principal Destaque */
.film-feature-frame {
  margin-bottom: 2.5rem;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(18, 18, 18, 0.14);
  padding: 8px;
  background-color: var(--color-bg-deep);
  box-shadow: 0 30px 80px rgba(18, 18, 18, 0.08);
}

.frame-aspect-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
}

.film-still-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 0.8s var(--ease-editorial);
}

.film-feature-frame:hover .film-still-img {
  transform: scale(1.02);
}

.frame-edge-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px rgba(18, 18, 18, 0.18);
  pointer-events: none;
}

.frame-tag-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.frame-time-code {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-text-main);
  background: rgba(252, 251, 249, 0.90);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(18, 18, 18, 0.12);
}

.frame-badge {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
  background: rgba(252, 251, 249, 0.90);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(18, 18, 18, 0.12);
}

.frame-caption-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.5rem 0.25rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Galeria Editorial Assimétrica */
.cinema-stills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cinema-stills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .cinema-stills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .still-card-tall {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .still-card-wide {
    grid-column: 2 / 4;
  }

  .still-card-square {
    grid-column: 2 / 3;
  }

  .still-card-reels {
    grid-column: 3 / 4;
  }

  .still-card-bw {
    grid-column: 1 / 2;
  }

  .still-card-atmosphere {
    grid-column: 2 / 4;
  }
}

.still-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.still-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--color-bg-deep);
  border: 1px solid rgba(18, 18, 18, 0.14);
  padding: 6px;
  box-shadow: 0 15px 40px rgba(18, 18, 18, 0.06);
}

@media (min-width: 768px) {
  .still-media {
    padding: 8px;
  }
}

.still-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  transition: transform 0.6s var(--ease-editorial);
}

.still-card-tall .still-img {
  aspect-ratio: 4 / 5;
  object-position: center 30%;
}

.still-card-wide .still-img {
  aspect-ratio: 16 / 9;
  object-position: center 50%;
}

.still-card-square .still-img {
  aspect-ratio: 1 / 1;
  object-position: center 35%;
}

.still-card-reels .still-img {
  aspect-ratio: 4 / 5;
  object-position: center 30%;
}

.still-card-bw .still-img {
  aspect-ratio: 16 / 9;
  object-position: center 45%;
}

.still-card-atmosphere .still-img {
  aspect-ratio: 16 / 9;
  object-position: center 40%;
}

.still-card:hover .still-img {
  transform: scale(1.03);
}

.still-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-inline: 0.25rem;
}

.still-label {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-main);
  font-weight: 500;
}

.still-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.portfolio-cta-row {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.portfolio-cta-copy {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 540px;
}

/* Seção Processo com Luz Progressiva */
.section-process {
  padding-block: clamp(4rem, 8vw, 7.5rem);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 2;
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3.5rem;
  position: relative;
}

@media (min-width: 900px) {
  .process-layout {
    grid-template-columns: 320px 1fr;
    gap: 4rem;
  }
}

.process-intro-sticky {
  position: static;
}

@media (min-width: 900px) {
  .process-intro-sticky {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    height: fit-content;
  }
}

.process-rail-container {
  position: relative;
  padding-left: 2rem;
}

@media (min-width: 768px) {
  .process-rail-container {
    padding-left: 3rem;
  }
}

/* Trilho vertical de luz */
.process-rail-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.5rem;
  width: 2px;
  background-color: var(--color-border);
}

.process-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background-color: var(--color-text-main);
  box-shadow: 0 0 10px rgba(18, 18, 18, 0.4);
  transition: height 0.1s linear;
}

.step-card-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.step-card {
  position: relative;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.step-node {
  position: absolute;
  top: 0.25rem;
  left: -2rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-bg);
  border: 2px solid var(--color-border-strong);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .step-node {
    left: -3rem;
  }
}

.step-card.active-step .step-node {
  border-color: var(--color-text-main);
  background-color: var(--color-text-main);
  box-shadow: 0 0 12px rgba(18, 18, 18, 0.5);
  animation: stepPulseWave 2s infinite;
}

@keyframes stepPulseWave {
  0% { box-shadow: 0 0 0 0 rgba(18, 18, 18, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(18, 18, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 18, 18, 0); }
}

.step-index {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 580px;
}

/* Seção Qualificação / Para Quem É */
.section-qualification {
  padding-block: clamp(4rem, 8vw, 7.5rem);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 2;
}

.qualification-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .qualification-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.qual-col {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2rem;
  background-color: var(--color-bg-deep);
}

.qual-col-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qual-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qual-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.qual-list li svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Seção Orçamento & Contato com Formulário Direto WhatsApp */
.section-cta {
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
  position: relative;
  z-index: 2;
}

.cta-box {
  border: 1px solid var(--color-border-strong);
  border-radius: 4px;
  background-color: var(--color-bg-deep);
  padding: clamp(2rem, 5vw, 4.5rem);
  box-shadow: 0 25px 60px rgba(18, 18, 18, 0.05);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .cta-box {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: center;
  }
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-main);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--color-border-strong);
  background-color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-main);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-text-main);
  box-shadow: 0 0 0 2px rgba(18, 18, 18, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.form-security-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-top: 0.25rem;
}

/* Footer Editorial */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-block: 3.5rem 2rem;
  position: relative;
  z-index: 2;
  background-color: var(--color-bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
  }
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-text-main);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

/* 11. Revelações & Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-editorial), transform 0.8s var(--ease-editorial);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 12. Página 404 */
.page-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.error-container {
  max-width: 480px;
}

.error-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  text-transform: uppercase;
  margin-block: 0.5rem 1rem;
}

.error-desc {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}
