/* ==========================================================================
   Mari Barbosa — Software Engineer · iOS
   Design System & Main Stylesheet (Warm Editorial / "Technology, But Human.")
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  --bg: #11100F;
  --bg-deep: #0D0C0B;
  --card: #1D1A18;
  --card-hover: #26221F;
  --card-subtle: #171513;
  --ink: #F4F0E9;
  --mut: #A9A19A;
  --acc: #D96F3D;          /* Terracotta / Burnt Orange */
  --acc-hover: #E7A07D;
  --acc-glow: rgba(217, 111, 61, 0.16);
  --acc-glow-strong: rgba(217, 111, 61, 0.32);
  --ch: #D5B98A;           /* Champagne Gold */
  --line: rgba(244, 240, 233, 0.14);
  --line-strong: rgba(244, 240, 233, 0.28);
  --line-acc: rgba(217, 111, 61, 0.45);
  
  --font-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --w-max: 1120px;
  --w-narrow: 840px;
  
  color-scheme: dark;
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 74px);
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Film Grain Texture Overlay (feTurbulence) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .9 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 999;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul, ol {
  list-style: none;
}

::selection {
  background-color: rgba(217, 111, 61, 0.35);
  color: #FFFFFF;
}

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   03. Typography Helpers & Utility Classes
   -------------------------------------------------------------------------- */
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mut { color: var(--mut); }
.ch { color: var(--ch); }
.acc { color: var(--acc); }

.w {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 24px;
}

.w-narrow {
  max-width: var(--w-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc);
  margin-right: 10px;
  box-shadow: 0 0 10px rgba(217, 111, 61, 0.7);
}

.dot-green {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  margin-right: 8px;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

/* --------------------------------------------------------------------------
   04. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--acc);
  color: #11100F;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 18px 26px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(217, 111, 61, 0.25);
}

.btn:hover {
  background: var(--acc-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(217, 111, 61, 0.35);
  color: #11100F;
}

.btn span {
  transition: transform 0.2s;
}

.btn:hover span {
  transform: translateX(4px);
}

.btn.sm {
  padding: 11px 18px;
  font-size: 12px;
  border-radius: 8px;
  box-shadow: none;
}

.btn.sm:hover {
  box-shadow: 0 4px 14px rgba(217, 111, 61, 0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(244, 240, 233, 0.04);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   05. Navigation (Sticky Minimalist Glass)
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  background: rgba(17, 16, 15, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav .w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}

.nav nav {
  display: none;
  gap: 28px;
}

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

.nav a.nav-link {
  color: var(--mut);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 6px 0;
  position: relative;
}

.nav a.nav-link:hover,
.nav a.nav-link.active {
  color: var(--ink);
}

.nav a.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--acc);
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(29, 26, 24, 0.6);
}

@media (min-width: 880px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Menu Dropdown */
.mobile-menu {
  position: fixed;
  top: 65px;
  left: 16px;
  right: 16px;
  background: rgba(29, 26, 24, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 99;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-menu-link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mut);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-link:hover {
  color: var(--acc);
}

/* --------------------------------------------------------------------------
   06. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  padding: 64px 0 32px;
  display: grid;
  gap: 48px;
  position: relative;
}

/* Warm Ambient Glow */
.hero::before {
  content: "";
  position: absolute;
  inset: -60px -22px auto auto;
  width: 75vw;
  max-width: 820px;
  height: 600px;
  background: radial-gradient(closest-side, rgba(217, 111, 61, 0.14), transparent 75%);
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding-top: 88px;
    padding-bottom: 56px;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

h1 {
  font-weight: 800;
  font-size: clamp(52px, 14vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 14px 0 24px;
  color: var(--ink);
}

.lead {
  font-size: clamp(19px, 4.4vw, 23px);
  color: var(--mut);
  max-width: 500px;
  margin-bottom: 34px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tech span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tech span::after {
  content: "·";
  color: var(--line-strong);
  margin-left: 12px;
}

.tech span:last-child::after {
  content: "";
  display: none;
}

/* Hero Portrait Container (ph) */
.ph {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 80% at 0% 100%, rgba(185, 86, 50, 0.35), transparent 60%), linear-gradient(165deg, #2a2420, #1D1A18 55%, #15120f);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Portrait Corner Markers in Champagne */
.ph .m {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 0 solid var(--ch);
  opacity: 0.75;
  z-index: 3;
}

.ph .m:nth-child(1) { top: 18px; left: 18px; border-width: 2px 0 0 2px; }
.ph .m:nth-child(2) { top: 18px; right: 18px; border-width: 2px 2px 0 0; }
.ph .m:nth-child(3) { bottom: 18px; left: 18px; border-width: 0 0 2px 2px; }
.ph .m:nth-child(4) { bottom: 18px; right: 18px; border-width: 0 2px 2px 0; }

.ph-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.03) brightness(0.96);
  transition: transform 0.4s ease;
}

.ph:hover .ph-img {
  transform: scale(1.02);
}

.ph-badge {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 12px 16px;
  background: rgba(17, 16, 15, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.ph-badge-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.ph-badge-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mut);
}

/* --------------------------------------------------------------------------
   07. Sections Baseline
   -------------------------------------------------------------------------- */
section {
  padding-top: 104px;
  position: relative;
}

h2 {
  font-weight: 800;
  font-size: clamp(32px, 7vw, 62px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 12px 0 18px;
  max-width: 780px;
  color: var(--ink);
}

.sub {
  color: var(--mut);
  max-width: 580px;
  margin-bottom: 38px;
  font-size: 17px;
}

.g {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* --------------------------------------------------------------------------
   08. Section 01: Serviços (O Que Eu Faço)
   -------------------------------------------------------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: border-color 0.25s, transform 0.25s, background 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--line-acc);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mut);
  letter-spacing: 0.1em;
}

.card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 24px 0 10px;
  color: var(--ink);
}

.card p {
  color: var(--mut);
  font-size: 16px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   09. Section 02: Planos (Quanto Custa Desenvolver um App iOS?)
   -------------------------------------------------------------------------- */
.plans-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 920px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.card-plan {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 36px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  position: relative;
  transition: all 0.25s ease;
}

.card-plan:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.card-plan--featured {
  border-color: var(--acc);
  background: linear-gradient(180deg, #24201D 0%, #1A1715 100%);
  box-shadow: 0 10px 35px rgba(217, 111, 61, 0.18);
  position: relative;
}

.card-plan--featured:hover {
  border-color: var(--acc-hover);
  box-shadow: 0 16px 45px rgba(217, 111, 61, 0.3);
}

.plan-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.plan-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.plan-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.badge-featured {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #11100F;
  background: var(--acc);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(217, 111, 61, 0.4);
}

.plan-from {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  color: var(--mut);
}

.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 5.5vw, 68px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  margin: 6px 0 12px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.price-currency {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--ch);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.price-val {
  display: inline-block;
}

.plan-purpose {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 10px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}

.plan-features li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--ink);
}

.plan-features li:first-child {
  border-top: none;
}

.plan-features li::before {
  content: "✓";
  color: var(--ch);
  font-weight: bold;
  font-size: 14px;
}

.plan-btn {
  width: 100%;
  margin-top: auto;
  text-align: center;
}

/* Extra Chips */
.extra {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 12px 22px;
  font-size: 14px;
  font-family: var(--font-mono);
  background: var(--card-subtle);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chip b {
  font-weight: 600;
}

/* Details Dropdown: Outros Serviços */
details.services-table {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 6px 24px;
  background: var(--card);
  transition: border-color 0.2s;
}

details.services-table[open] {
  border-color: var(--line-strong);
}

summary.services-summary {
  cursor: pointer;
  padding: 16px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ch);
}

summary.services-summary::-webkit-details-marker {
  display: none;
}

summary.services-summary::after {
  content: "+";
  font-size: 18px;
  color: var(--ch);
  transition: transform 0.2s;
}

details.services-table[open] summary.services-summary::after {
  transform: rotate(45deg);
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--mut);
}

.row span:first-child {
  color: var(--ink);
}

.row span:last-child {
  white-space: nowrap;
  font-family: var(--font-mono);
  color: var(--ch);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   10. Section 03: Processo (Do Problema Ao App)
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 36px;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}

.step b {
  display: block;
  font-size: 21px;
  font-weight: 800;
  margin: 10px 0 8px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.step p {
  color: var(--mut);
  font-size: 15px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   11. Section: Manifesto Editorial ("Technology, But Human.")
   -------------------------------------------------------------------------- */
.manifesto-section {
  margin-top: 104px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 100% 50%, rgba(217, 111, 61, 0.1) 0%, transparent 60%);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 880px) {
  .manifesto-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.manifesto-headline {
  font-size: clamp(34px, 8vw, 76px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 14px 0 20px;
  color: var(--ink);
}

.manifesto-quote {
  font-size: 18px;
  color: var(--mut);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 24px;
}

/* Pipeline Box */
.pipeline-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.pipeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.pipeline-item.active {
  border-color: var(--acc);
  background: rgba(217, 111, 61, 0.08);
}

.pipeline-item-name {
  color: var(--ink);
  letter-spacing: 0.05em;
}

.pipeline-item.active .pipeline-item-name {
  color: var(--acc);
  font-weight: 600;
}

.pipeline-arrow {
  color: var(--ch);
}

/* --------------------------------------------------------------------------
   12. Section: Sobre Mari Barbosa (Human & Engineer)
   -------------------------------------------------------------------------- */
.about-section {
  padding-top: 104px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 880px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.about-ph {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 80% at 0% 100%, rgba(185, 86, 50, 0.35), transparent 60%), linear-gradient(165deg, #2a2420, #1D1A18 55%, #15120f);
}

.about-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-content h2 {
  margin-bottom: 22px;
}

.about-p {
  color: var(--mut);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.about-quote {
  font-size: 18px;
  color: var(--ink);
  padding-left: 18px;
  border-left: 2px solid var(--acc);
  margin: 26px 0 32px;
  line-height: 1.6;
}

.about-sig {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ch);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   13. Section: FAQ (Accordion)
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}

.faq-item:hover {
  border-color: var(--line-strong);
}

.faq-item.open {
  border-color: var(--acc);
  background: #221E1B;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ch);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--acc);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-inner {
  padding: 0 24px 22px 24px;
  font-size: 16px;
  color: var(--mut);
  line-height: 1.65;
  border-top: 1px solid rgba(244, 240, 233, 0.06);
  padding-top: 14px;
}

/* --------------------------------------------------------------------------
   14. Section 04: Contato (CTA Final)
   -------------------------------------------------------------------------- */
.cta {
  margin-top: 104px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.cta h2 {
  font-size: clamp(40px, 11vw, 96px);
  margin-bottom: 20px;
}

.cta .lead {
  max-width: 620px;
  margin-bottom: 34px;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mut);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

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

/* --------------------------------------------------------------------------
   16. Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-whatsapp-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--acc);
  color: #11100F;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(217, 111, 61, 0.4);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.floating-whatsapp-btn:hover {
  background: var(--acc-hover);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 32px rgba(217, 111, 61, 0.55);
}

.floating-whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.floating-whatsapp-tooltip {
  background: rgba(29, 26, 24, 0.95);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .floating-whatsapp-tooltip {
    display: none;
  }
  .floating-whatsapp {
    bottom: 18px;
    right: 18px;
  }
  .floating-whatsapp-btn {
    width: 50px;
    height: 50px;
  }
  .floating-whatsapp-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* --------------------------------------------------------------------------
   17. Reveal Animations (Scoped with progressive enhancement)
   -------------------------------------------------------------------------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
