/* ==========================================================================
   AGÊNCIA TOOC - LANDING PAGE
   Branding & Packaging Design para o Agro
   ========================================================================== */

:root {
  --color-bg: #080a08;
  --color-surface: #101310;
  --color-surface-hover: #161a16;
  --color-border: rgba(244, 242, 234, 0.08);

  --color-primary: #8fb53e;
  --color-primary-hover: #a6cf4a;
  --color-secondary: #1c2a18;

  --color-text-main: #f4f2ea;
  --color-text-muted: #b9b9b0;
  --color-accent: #c7a878;

  --font-display: "Space Grotesk", sans-serif;
  --font-text: "Inter", sans-serif;

  --container-max-width: 1280px;
  --container-padding: 2rem;
  --section-padding: 160px 0;

  --transition-fast: 0.2s ease-in-out;
  --transition-smooth: 0.45s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

/* CONTAINER */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* EDITORIAL LAYERS & ACCENTS */
.text-layer-01 {
  background: linear-gradient(180deg, #ffffff 0%, #dcdcdc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #f4f2ea;
}
.text-layer-02 {
  color: var(--color-text-muted);
}
.text-layer-03 {
  background: linear-gradient(180deg, #a6cf4a 0%, #7d9e33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--color-primary);
}

.accent-bar-wrapper {
  position: relative;
  padding-left: 1.5rem;
}
.accent-bar-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  opacity: 0.8;
}

/* TIPOGRAFIA */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-text-main);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-title {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  max-width: 900px;
  margin-bottom: 4rem;
}

.section-text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--color-text-muted);
  max-width: 720px;
}

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-bg);
}

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(143, 181, 62, 0.22);
  }
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-main);
  border-color: var(--color-border);
}

@media (hover: hover) {
  .btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
  }
}

.btn-large {
  padding: 1.25rem 2.6rem;
  font-size: 1.1rem;
}

/* HEADER PREMIUM */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 50;
  padding: 1.1rem 0;
  background: rgba(5, 7, 5, 0.38);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

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

.logo img {
  height: 34px;
  width: auto;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.logo:hover img {
  opacity: 0.86;
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  position: relative;
  font-size: 0.92rem;
  color: rgba(244, 242, 234, 0.68);
  transition: color 0.35s ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.55rem;
  width: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-primary),
    transparent
  );
  transform: translateX(-50%);
  transition: width 0.38s ease;
}

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

.nav-links a:hover::before {
  width: 120%;
}

.mobile-only-cta {
  display: none;
}

.btn-nav {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.btn-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.32) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.btn-nav:hover::before {
  transform: translateX(120%);
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 60;
}

.hamburger-menu .bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text-main);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    top 0.3s ease;
}

.hamburger-menu .bar:nth-child(1) {
  top: 0;
}

.hamburger-menu .bar:nth-child(2) {
  top: 10px;
}

.hamburger-menu .bar:nth-child(3) {
  top: 20px;
}

.hamburger-menu.active .bar:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

/* HERO PREMIUM RESTRUCTURE */
.hero-premium {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  padding: calc(var(--header-height, 100px) + 2rem) 0 4rem;
  overflow: hidden;
}

.hero-premium .hero-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-premium .hero-glass-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 610px;
  background: rgba(10, 13, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(143, 181, 62, 0.2);
  border-radius: 24px;
  padding: 3rem 3rem 2.5rem;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.hero-premium .hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-premium .hero-highlight {
  color: var(--color-primary);
}

.hero-premium .hero-subtitle {
  font-family: var(--font-text);
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 95%;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.hero-premium .hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-premium .hero-actions .btn {
  margin: 0;
}

.hero-premium .btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 12px;
  padding: 1.1rem 2rem;
  transition: all 0.3s ease;
  font-size: 1rem;
  background: var(--color-primary);
  color: var(--color-bg);
  border: 1px solid var(--color-primary);
  box-shadow: 0 4px 16px rgba(143, 181, 62, 0.2);
  cursor: pointer;
  pointer-events: auto;
}

@media (hover: hover) {
  .hero-premium .btn-hero-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(143, 181, 62, 0.25);
  }
}

.hero-premium .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  border-radius: 12px;
  padding: 1.1rem 2rem;
  transition: all 0.3s ease;
  font-size: 1rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  pointer-events: auto;
}

@media (hover: hover) {
  .hero-premium .btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }
}

.hero-premium .hero-differentials {
  display: flex;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
  flex-wrap: wrap;
}

.hero-premium .hero-differentials li {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-premium .hero-differentials span {
  color: var(--color-primary);
  font-weight: bold;
}

.hero-premium .hero-video-wrapper {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  width: calc(100% - 610px + 40px); /* overlap */
  max-width: 720px; /* aumentado a pedido de Verner para preencher mais o hero */
  aspect-ratio: 16 / 10.5; /* more cinematic / slightly taller to match reference */
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  background: #000;
}

.hero-premium .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-premium .hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* nice darkening overlay */
  pointer-events: none;
}

section {
  scroll-margin-top: 100px;
}

/* MÉTRICAS */
.metrics-section {
  padding: var(--section-padding);
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-surface) 25%,
    var(--color-surface) 75%,
    var(--color-bg) 100%
  );
}

.metrics-section .section-title {
  text-align: center;
  margin: 0 auto 5rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-card {
  position: relative;
  background: rgba(12, 16, 12, 0.6);
  border: 1px solid rgba(244, 242, 234, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: left;
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 1;
}

.metric-progress {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.metric-progress-track {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.metric-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #8fbd3a, #a8d94a);
  box-shadow: 0 0 18px rgba(143, 189, 58, 0.35);
  width: 0;
  transition:
    width 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.4s,
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-progress-value {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.6s,
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.metric-card.revealed .metric-progress-fill {
  width: var(--target-width);
}

.metric-card.revealed .metric-progress-value {
  opacity: 1;
  transform: translateX(0);
}

@media (hover: hover) and (pointer: fine) {
  .metrics-grid:hover .metric-card {
    opacity: 0.8;
  }

  .metrics-grid .metric-card:hover {
    transform: translateY(-4px);
    opacity: 1;
    background: linear-gradient(
      135deg,
      rgba(143, 181, 62, 0.05) 0%,
      rgba(8, 10, 8, 0.8) 100%
    );
    border-color: rgba(143, 181, 62, 0.3);
    box-shadow:
      inset 0 1px 0 rgba(143, 181, 62, 0.05),
      0 12px 24px rgba(0, 0, 0, 0.4);
    z-index: 2;
  }

  .metric-card:hover .metric-progress-fill {
    box-shadow: 0 0 24px rgba(143, 189, 58, 0.6);
  }
}

.metric-number {
  font-size: clamp(3rem, 5vw, 4.2rem);
  color: rgba(143, 181, 62, 0.85);
  margin-bottom: 1rem;
  transition:
    color 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    text-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .metric-card:hover .metric-number {
    color: var(--color-primary-hover);
    text-shadow: 0 0 20px rgba(143, 181, 62, 0.3);
  }
}

.metric-text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  transition: color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .metric-card:hover .metric-text {
    color: var(--color-text-main);
  }
}

/* MÉTODO SAFRA */
.method-section {
  padding: var(--section-padding);
  padding-top: clamp(120px, 12vw, 180px);
  margin-top: 0;
  background: var(--color-bg);
}

.method-section .section-title {
  font-size: clamp(2.8rem, 4.8vw, 4.7rem);
  max-width: 960px;
  margin-bottom: 5rem;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  margin-top: 4rem;
}

.method-card {
  position: relative;
  min-height: 330px;
  padding: 2.2rem 1.8rem 2rem;
  border-radius: 24px;
  background: rgba(10, 14, 10, 0.55);
  border: 1px solid rgba(143, 187, 64, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 4px 20px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.method-card:hover {
  transform: translateY(-4px);
  background: rgba(14, 20, 14, 0.85);
  border-color: rgba(143, 187, 64, 0.3);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 10;
}

.method-grid:hover .method-card:not(:hover) {
  opacity: 0.4;
  transform: scale(0.97);
  filter: blur(1px);
}

.method-letter {
  display: block;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.32;
  margin-bottom: 2.3rem;
}

.method-info {
  position: relative;
  z-index: 2;
}

.method-name {
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--color-text-main);
}

.method-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   PROJETOS / CASES PREMIUM
   -------------------------------------------------------------------------- */

.projects-section {
  padding: var(--section-padding);
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(143, 181, 62, 0.08),
      transparent 32%
    ),
    var(--color-bg);
}

.projects-header {
  margin-bottom: 6rem;
}

.section-kicker {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.projects-editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.2rem;
  align-items: stretch;
}

/* CARD BASE */
.case-card,
.case-card * {
  pointer-events: auto;
}

.case-card {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  z-index: 1;
  border-radius: 32px;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  min-height: 520px;
  transition: 0.6s ease;
}

.case-card::before,
.case-card::after,
.case-overlay,
.card-overlay,
.motion-overlay,
.project-card-overlay,
.motion-layer,
.decorative-layer,
.card-bg {
  pointer-events: none !important;
}

/* Todos os cards com o mesmo tratamento - grade simétrica, sem escalonamento */
.case-large,
.case-superhumus,
.case-small {
  min-height: 520px;
}

/* Evita interferência de classes antigas */
.case-offset,
.case-wide {
  display: none;
}

.case-small .case-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.case-small .case-content p {
  font-size: 0.95rem;
  max-width: 520px;
}

.case-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 32px;
  pointer-events: none !important;
  z-index: 1 !important;
}

.case-media video,
.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1.2s ease;
  pointer-events: none !important;
  z-index: 1 !important;
}

.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.86) 100%
  );
  pointer-events: none;
}

.case-content {
  position: absolute;
  left: 2.4rem;
  right: 2.4rem;
  bottom: 2.4rem;
  z-index: 10 !important;
  pointer-events: auto !important;
}

.case-number {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.case-content h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.case-content p {
  max-width: 720px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.case-content a {
  color: var(--color-text-main);
  font-weight: 500;
  transition: 0.35s ease;
  text-decoration: none;
}

.case-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid rgba(143, 189, 58, 0.55);
  background: rgba(255, 255, 255, 0.04);
  color: #f4f4f0 !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer !important;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative !important;
  z-index: 99999 !important;
  isolation: isolate;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 48px;
  min-width: 140px;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.case-button,
.case-button * {
  pointer-events: auto !important;
}

.case-button a,
.case-button button {
  pointer-events: auto !important;
  cursor: pointer !important;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.case-button:hover {
  background: #8fbd3a;
  color: #071008 !important;
  border-color: #8fbd3a;
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 0 22px rgba(143, 189, 58, 0.22);
}

.case-button::after {
  content: "→";
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-button:hover::after {
  transform: translateX(4px);
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 181, 62, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.case-card:hover .case-media video,
.case-card:hover video {
  transform: scale(1.03);
  pointer-events: none !important;
  z-index: 1 !important;
}

.case-card:hover .case-content a {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   AUTORIDADE / EDITORIAL MANIFESTO
   -------------------------------------------------------------------------- */
.authority-editorial-section {
  padding: var(--section-padding);
  background: var(--color-bg);
}

/* 1. Authority Premium Layout (2 Cols) */
.authority-premium-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(640px, 1.45fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  margin-bottom: 4rem;
  width: 100%;
}

.authority-text-col {
  display: block;
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 2;
  padding-right: 2rem;
}

.manifesto-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
  max-width: 90%;
  margin-bottom: 2rem;
}

.manifesto-text {
  font-family: var(--font-text);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: var(--color-text-muted);
  font-weight: 300;
}

/* 2. Premium 2x2 Grid */
.pillars-premium-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Subtle radial gradient background behind the grid */
.pillars-premium-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(143, 189, 58, 0.06) 0%,
    transparent 60%
  );
  z-index: 0;
  pointer-events: none;
}

/* 3. Premium Card Styling */
.pillar-premium-card {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: rgba(6, 10, 7, 0.72);
  border: 1px solid rgba(143, 189, 58, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 0 18px rgba(143, 189, 58, 0.2),
    0 0 38px rgba(143, 189, 58, 0.1),
    inset 0 0 24px rgba(143, 189, 58, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Subtle Notch Effect using pseudo-element */
.pillar-premium-card::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-top: 1px solid rgba(143, 189, 58, 0.8);
  border-right: 1px solid rgba(143, 189, 58, 0.8);
  background: var(--color-bg);
  /* Positioning handled by nth-child */
  z-index: 2;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-premium-card:nth-child(1)::after {
  bottom: -8px;
  left: -8px;
  transform: rotate(45deg);
}

.pillar-premium-card:nth-child(2)::after {
  top: -8px;
  right: -8px;
  transform: rotate(45deg);
}

.pillar-premium-card:nth-child(3)::after {
  bottom: -8px;
  left: -8px;
  transform: rotate(45deg);
}

.pillar-premium-card:nth-child(4)::after {
  bottom: -8px;
  right: -8px;
  transform: rotate(45deg);
}

/* Glow Effect */
.pillar-glow {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(143, 189, 58, 0.25) 0%,
    transparent 70%
  );
  filter: blur(25px);
  transition:
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.6;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .pillar-premium-card:hover {
    transform: translateY(-2px);
    border-color: rgba(143, 189, 58, 0.8);
    box-shadow:
      0 0 24px rgba(143, 189, 58, 0.3),
      0 0 45px rgba(143, 189, 58, 0.15),
      inset 0 0 30px rgba(143, 189, 58, 0.12);
    background: rgba(8, 14, 10, 0.85);
  }

  .pillar-premium-card:hover::after {
    border-color: rgba(143, 189, 58, 1);
    box-shadow: 0 0 10px rgba(143, 189, 58, 0.5);
  }

  .pillar-premium-card:hover .pillar-glow {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* Card Header */
.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.pillar-icon {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  opacity: 0.8;
  transition:
    opacity 0.3s ease,
    filter 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pillar-premium-card:hover .pillar-icon {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(143, 189, 58, 0.6));
  }
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--color-primary);
  opacity: 0.3;
  line-height: 1;
  transition: opacity 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pillar-premium-card:hover .pillar-number {
    opacity: 0.6;
  }
}

/* Title & Desc */
.pillar-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}

.pillar-desc {
  font-family: var(--font-text);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-weight: 300;
  position: relative;
  z-index: 2;
}

/* -------------------------------------
   AUTHORITY EDITORIAL MEDIA
   ------------------------------------- */
.authority-editorial-media {
  margin-top: 100px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.authority-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  overflow: hidden;
  background: var(--color-background-alt);
  border: 1px solid rgba(244, 242, 234, 0.08);
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.4),
    0 10px 40px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s ease;
}

.authority-video-wrapper:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.4),
    0 20px 50px rgba(0, 0, 0, 0.6);
  border-color: rgba(244, 242, 234, 0.15);
}

.authority-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: contrast(1.05) brightness(0.9);
  transition: opacity 0.5s ease;
}

.authority-video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3.5rem 4rem;
  background: linear-gradient(
    0deg,
    rgba(10, 14, 10, 0.95) 0%,
    rgba(10, 14, 10, 0.5) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.authority-video-overlay .micro-label {
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.overlay-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.overlay-text {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 500px;
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ------------------------------------- */

/* PROCESSO */
.process-section {
  padding: 100px 0;
  background: var(--color-bg);
}

.timeline {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}

.process-line.reveal-element {
  height: 2px;
  background: rgba(143, 189, 58, 0.22);
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  box-shadow:
    0 0 12px rgba(143, 189, 58, 0.18),
    0 0 28px rgba(143, 189, 58, 0.1);
  opacity: 0;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-line.reveal-element::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(143, 189, 58, 0.9),
    transparent
  );
  opacity: 0;
  transition: 0.35s;
  filter: blur(8px);
}

.timeline:hover .process-line.reveal-element::after {
  opacity: 0.8;
}

.process-line.reveal-element.revealed {
  opacity: 1;
  transform: none;
}

.timeline-item {
  flex: 1;
  position: relative;
  z-index: 2;
  padding-right: 1.5rem;
}

.step-node {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(8, 12, 10, 0.92);
  border: 1px solid rgba(143, 189, 58, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-weight: 600;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 0 rgba(143, 189, 58, 0);
}

.step-node:hover {
  transform: translateY(-2px) scale(1.06);
  border-color: rgba(143, 189, 58, 0.8);
  box-shadow:
    0 0 12px rgba(143, 189, 58, 0.35),
    0 0 26px rgba(143, 189, 58, 0.2),
    0 0 50px rgba(143, 189, 58, 0.12);
}

.timeline-item.reveal-element {
  opacity: 0;
  transform: translateY(18px) scale(0.95);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.timeline-item:nth-child(2).reveal-element.revealed {
  transition-delay: 120ms;
}
.timeline-item:nth-child(3).reveal-element.revealed {
  transition-delay: 220ms;
}
.timeline-item:nth-child(4).reveal-element.revealed {
  transition-delay: 320ms;
}
.timeline-item:nth-child(5).reveal-element.revealed {
  transition-delay: 420ms;
}
.timeline-item:nth-child(6).reveal-element.revealed {
  transition-delay: 520ms;
}

.timeline-title {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.timeline-desc {
  color: var(--color-text-muted);
}

/* CHAMADA PARA O BLOG */
.blog-teaser-section {
  position: relative;
  z-index: 2;
  padding: 70px 0;
}

.blog-teaser-section .micro-label {
  display: block;
  margin-bottom: 2rem;
}

.blog-teaser-box {
  padding: 4rem 3rem;
  border-radius: 24px;
  background: rgba(16, 19, 16, 0.4);
  border: 1px solid rgba(143, 181, 62, 0.08);
  text-align: center;
}

.blog-teaser-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  max-width: 700px;
  margin: 1.25rem auto 1.25rem;
}

.blog-teaser-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 2.25rem;
}

/* CTA FINAL */
.cta-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.cta-box {
  padding: 6rem 4rem;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(16, 19, 16, 0.7),
    rgba(28, 42, 24, 0.5)
  );
  border: 1px solid rgba(143, 181, 62, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 850px;
  margin: 0 auto 1.5rem;
}

.cta-text {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 auto 3rem;
}

/* -------------------------------------
   EDITORIAL BACKGROUND COMPOSITION
   ------------------------------------- */
.editorial-bg-composition {
  position: relative;
  width: 100%;
  height: 600px;
  margin: -300px 0;
  pointer-events: none;
  z-index: 1; /* Above basic background, but FAQ and CTA should overlap */
  overflow: hidden;
  user-select: none;
}

.editorial-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./assets/images/bk-artwork.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
  filter: grayscale(40%) sepia(20%) hue-rotate(60deg) brightness(0.8)
    contrast(1.1);
  animation: bg-breathe 20s ease-in-out infinite alternate;
}

@keyframes bg-breathe {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

.editorial-bg-fade {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.editorial-bg-fade.fade-top {
  background: linear-gradient(to bottom, var(--color-bg) 0%, transparent 40%);
}

.editorial-bg-fade.fade-bottom {
  background: linear-gradient(to top, var(--color-bg) 0%, transparent 40%);
}

.editorial-bg-fade.fade-sides {
  background: radial-gradient(
    ellipse at center,
    transparent 30%,
    var(--color-bg) 80%
  );
}

/* --------------------------------------------------------------------------
   CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
  background: var(--color-bg);
}

.contact-premium-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem;
  background: rgba(12, 16, 12, 0.45);
  border: 1px solid rgba(244, 242, 234, 0.06);
  border-radius: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 20px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.contact-glow-tl,
.contact-glow-br {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.contact-glow-tl {
  top: -200px;
  left: -200px;
  background: radial-gradient(
    circle,
    rgba(143, 181, 62, 0.08) 0%,
    transparent 70%
  );
}

.contact-glow-br {
  bottom: -200px;
  right: -200px;
  background: radial-gradient(
    circle,
    rgba(143, 181, 62, 0.05) 0%,
    transparent 70%
  );
}

.contact-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contact-header .section-subtitle {
  max-width: 600px;
  margin: 1.5rem auto 0;
  font-size: 1.1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-family: var(--font-display);
  color: var(--color-text-main);
  letter-spacing: 0.02em;
}

.form-group label.file-label-main {
  margin-bottom: 0px;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(244, 242, 234, 0.08);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: var(--color-text-main);
  font-family: var(--font-text);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-input::placeholder {
  color: rgba(244, 242, 234, 0.3);
}

.form-input:focus {
  border-color: rgba(143, 181, 62, 0.6);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 2px rgba(143, 181, 62, 0.1);
}

.helper-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.file-drop-area {
  position: relative;
  border: 1px dashed rgba(244, 242, 234, 0.15);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.file-drop-area:hover,
.file-drop-area.drag-over {
  border-color: rgba(143, 181, 62, 0.4);
  background: rgba(143, 181, 62, 0.02);
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-msg {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.file-list-preview {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(244, 242, 234, 0.03);
  border: 1px solid rgba(244, 242, 234, 0.05);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--color-text-main);
}

.file-item-remove {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0 0.25rem;
  transition: color 0.2s ease;
}

.file-item-remove:hover {
  color: #ff4a4a;
}

.form-footer {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.btn-submit {
  width: 100%;
  max-width: 320px;
  justify-content: center;
}

.form-status {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 12px;
  text-align: center;
}

.form-status.success {
  background: rgba(143, 181, 62, 0.1);
  border: 1px solid rgba(143, 181, 62, 0.2);
  color: #a6cf4a;
}

.form-status.error {
  background: rgba(255, 74, 74, 0.1);
  border: 1px solid rgba(255, 74, 74, 0.2);
  color: #ff8e8e;
}

.form-status-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.form-status-text {
  font-size: 0.95rem;
  opacity: 0.9;
}

.form-status-text a {
  text-decoration: underline;
  color: #fff;
}

/* FOOTER */
.footer {
  margin-top: 80px;
  padding: 6rem 0 2rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

/* Palavra "TOOC" recortada — mesma identidade visual do hub e das landing pages */
.footer-giant-divider {
  width: 100%;
  border-bottom: 1px solid var(--color-border);
  margin-top: 3rem;
  margin-bottom: 2.5rem;
}
.footer-giant-band {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 5.7 / 1;
  overflow: hidden;
}
.footer-giant-word {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  opacity: 0.85;
  filter: invert(1) brightness(1.35);
}

@media (max-width: 768px) {
  .footer-giant-band {
    max-width: 100%;
  }
}

.footer-columns {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}
.footer-col {
  min-width: 0;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.1rem;
}
.footer-col a,
.footer-col span.footer-line {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: var(--transition-fast);
}
.footer-col a:hover {
  color: var(--color-text-main);
}

.footer-ig-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-ig-btn {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.footer-ig-btn:hover {
  color: var(--color-text-main);
  border-color: rgba(143, 187, 64, 0.4);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2.5rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .footer-columns {
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .footer {
    margin-top: 0;
    padding: 2rem 0 2rem;
  }
  .footer-columns {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    padding: 2rem 0;
  }
  .footer-columns .footer-col:nth-child(1),
  .footer-columns .footer-col:nth-child(2) {
    flex: 1 1 45%;
  }
  .footer-columns .footer-col:nth-child(3) {
    flex: 1 1 100%;
    margin-top: 1.5rem;
  }
  .footer-ig-wrap {
    display: flex;
    justify-content: center;
  }
  .footer-ig-btn {
    grid-column: auto;
    justify-self: auto;
    margin-top: 0.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding-top: 2rem;
    font-size: 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   FUTURISTIC SYSTEM - TECHNICAL GRID & ORBITALS
   -------------------------------------------------------------------------- */
.futuristic-section {
  position: relative;
  overflow: hidden;
}

.futuristic-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(8, 10, 8, 0.6) 100%
  );
}

.content-relative {
  position: relative;
  z-index: 2;
}

.sectional-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 242, 234, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 234, 0.025) 1px, transparent 1px);
  background-size: 160px 160px;
  opacity: 0.8;
  mask-image: radial-gradient(circle at center, black 30%, transparent 95%);
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 30%,
    transparent 95%
  );
}

.orbital-layer {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  border: 1px solid rgba(143, 181, 62, 0.05);
  box-shadow:
    inset 0 0 80px rgba(143, 181, 62, 0.02),
    0 0 80px rgba(143, 181, 62, 0.02);
  opacity: 0.8;
}

@keyframes orbitalBreathing {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.03) translate(1%, 1%);
    opacity: 0.9;
  }
  100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.5;
  }
}

.orbit-1 {
  width: 900px;
  height: 900px;
  top: -250px;
  right: -250px;
  animation: orbitalBreathing 40s ease-in-out infinite;
}

.orbit-2 {
  width: 1400px;
  height: 1400px;
  bottom: -500px;
  left: -400px;
  animation: orbitalBreathing 50s ease-in-out infinite reverse;
}

.orbit-3 {
  width: 1000px;
  height: 1000px;
  top: 50%;
  left: 50%;
  margin-top: -500px;
  margin-left: -500px;
  animation: orbitalBreathing 60s ease-in-out infinite;
}

.micro-label {
  display: inline-block;
  font-family: var(--font-text);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--color-primary);
  opacity: 0.7;
  text-transform: uppercase;
  position: relative;
}

.micro-label-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.micro-label-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--color-primary);
  opacity: 0.3;
}

.highlight-green {
  color: var(--color-primary);
}

.micro-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
  opacity: 0.8;
  box-shadow: 0 0 8px rgba(143, 181, 62, 0.4);
}

/* FAQ ESTRATÉGICO */
.faq-section {
  position: relative;
  z-index: 2;
  padding: 8rem 0;
  overflow: hidden;
}

.faq-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(143, 181, 62, 0.05) 0%,
    rgba(10, 14, 10, 0) 70%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.faq-ambient-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(244, 242, 234, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 234, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.faq-premium-container {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  background: rgba(15, 18, 15, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(244, 242, 234, 0.08); /* hairline border */
  border-radius: 32px;
  padding: 5rem 4rem;
  z-index: 1;
}

.faq-glow-tl {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg, rgba(143, 181, 62, 0.6), transparent);
  box-shadow: 0 0 20px rgba(143, 181, 62, 0.4);
  pointer-events: none;
  border-top-left-radius: 32px;
}

.faq-glow-tl::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 150px;
  background: linear-gradient(180deg, rgba(143, 181, 62, 0.6), transparent);
  box-shadow: 0 0 20px rgba(143, 181, 62, 0.4);
  border-top-left-radius: 32px;
}

.faq-glow-br {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 150px;
  height: 1px;
  background: linear-gradient(-90deg, rgba(143, 181, 62, 0.6), transparent);
  box-shadow: 0 0 20px rgba(143, 181, 62, 0.4);
  pointer-events: none;
  border-bottom-right-radius: 32px;
}

.faq-glow-br::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 1px;
  height: 150px;
  background: linear-gradient(0deg, rgba(143, 181, 62, 0.6), transparent);
  box-shadow: 0 0 20px rgba(143, 181, 62, 0.4);
  border-bottom-right-radius: 32px;
}

.faq-header-centered {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 4rem auto;
}

.faq-header-centered .micro-label {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.faq-header-centered .section-title {
  margin-bottom: 1.5rem;
}

.faq-header-centered .section-subtitle {
  margin-bottom: 0;
}

/* PROVA SOCIAL */
.social-proof-section {
  position: relative;
  z-index: 2;
  padding: 8rem 0;
  overflow: hidden;
}

.social-proof-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(143, 181, 62, 0.05) 0%,
    rgba(10, 14, 10, 0) 70%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.social-proof-ambient-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(244, 242, 234, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 234, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.testimonial-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.2rem 2rem;
  border-radius: 24px;
  background: rgba(10, 14, 10, 0.55);
  border: 1px solid rgba(143, 187, 64, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  background: rgba(14, 20, 14, 0.85);
  border-color: rgba(143, 187, 64, 0.3);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.testimonial-rating {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  opacity: 0.85;
}

.testimonial-quote {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  opacity: 0.75;
}

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

.faq-accordion {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(10, 14, 10, 0.8);
  border: 1px solid rgba(244, 242, 234, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  border-color: rgba(143, 181, 62, 0.3);
}

.faq-item.active {
  background: rgba(14, 17, 14, 0.9);
  border-color: rgba(143, 181, 62, 0.4);
  box-shadow: 0 4px 30px rgba(143, 181, 62, 0.04);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.75rem 2.5rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.5s ease;
}

.faq-q-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-text);
  font-size: 1.15rem;
}

.faq-q-number {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 0.95rem;
  opacity: 0.6;
  letter-spacing: 0.05em;
  min-width: 28px;
  transition: all 0.4s ease;
}

.faq-q-text {
  color: var(--color-text-main);
  font-weight: 500;
  transition: color 0.4s ease;
  line-height: 1.4;
}

.faq-item.active .faq-q-text {
  color: var(--color-primary);
}

.faq-item.active .faq-q-number {
  color: var(--color-primary);
  opacity: 1;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-left: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
  transform: rotate(90deg);
}

/* Icon toggling */
.faq-question .icon-minus {
  display: none;
}

.faq-item.active .faq-question .icon-plus {
  display: none;
}

.faq-item.active .faq-question .icon-minus {
  display: block;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.45s ease,
    opacity 0.45s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 2.5rem 2.5rem 5.5rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.faq-answer-inner p {
  margin-bottom: 1.25rem;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.faq-answer-inner ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.faq-answer-inner ul li {
  margin-bottom: 0.5rem;
}

/* RESPONSIVO */
@media (max-width: 1280px) {
  .method-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .hamburger-menu {
    display: block;
  }

  .desktop-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: min(86%, 360px) !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    padding: 96px 24px 32px !important;
    background: rgba(3, 10, 6, 0.96) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    z-index: 999999 !important;
    overflow-y: auto !important;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    margin: 0 !important;
  }

  .desktop-nav.active {
    transform: translateX(0) !important;
  }

  .desktop-nav .nav-links {
    flex-direction: column !important;
    gap: 0 !important;
    align-items: flex-start !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .desktop-nav .nav-links li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .desktop-nav .nav-links a {
    display: flex !important;
    align-items: center !important;
    min-height: 48px !important;
    font-size: 18px !important;
    color: #f4f4ef !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    justify-content: flex-start !important;
    width: 100% !important;
  }

  .mobile-only-cta {
    display: block !important;
    margin-top: 24px !important;
    width: 100% !important;
    border: none !important;
  }

  .mobile-only-cta .btn {
    width: 100% !important;
    min-height: 52px !important;
  }
}

@media (max-width: 900px) {
  /* Method grid and others remain under max-width: 900px */
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid .project-card:nth-child(even) {
    margin-top: 0;
  }

  .manifesto-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 8rem;
  }

  .manifesto-title,
  .pillar-desc {
    max-width: 100%;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pillar-card {
    padding: 2.5rem 0;
  }

  .timeline {
    flex-direction: column;
    gap: 3rem;
  }

  .process-line.reveal-element {
    width: 2px;
    height: calc(100% - 72px);
    top: 36px;
    left: 36px;
    right: auto;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(143, 189, 58, 0.4) 10%,
      rgba(143, 189, 58, 0.4) 90%,
      transparent
    );
  }

  .process-line.reveal-element::after {
    background: linear-gradient(
      180deg,
      transparent,
      rgba(143, 189, 58, 0.9),
      transparent
    );
  }

  .timeline-item {
    display: flex;
    gap: 1.5rem;
    padding-right: 0;
    align-items: flex-start;
  }

  .step-node {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  /* -------------------------------------
   AUTHORITY EDITORIAL MEDIA
   ------------------------------------- */
  .authority-premium-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .authority-text-col {
    padding-right: 0;
    margin-top: 0;
  }

  .pillars-premium-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Authority Video Responsive */
  .authority-editorial-media {
    margin-top: 60px;
  }

  .authority-video-wrapper {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .authority-video-overlay {
    padding: 2.5rem 2rem;
  }

  .overlay-title {
    font-size: 1.5rem;
  }

  .overlay-text {
    font-size: 1rem;
  }

  /* Formulário de Contato 900px */
  .contact-premium-container {
    padding: 4rem 2rem;
  }

  /* FAQ RESPONSIVO 900px */
  .faq-premium-container {
    padding: 4rem 2rem;
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  :root {
    --container-padding: 1.2rem;
    --section-padding: 100px 0;
  }

  .hero-premium .hero-title {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .case-card {
    min-height: 440px;
    border-radius: 24px;
  }

  .case-media {
    border-radius: 24px;
  }

  .case-content {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .case-content h3 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .case-content p {
    font-size: 0.95rem;
  }

  .case-card {
    isolation: isolate;
  }

  .case-media,
  .case-media video,
  .case-media img {
    pointer-events: none !important;
  }

  .case-button {
    z-index: 10 !important;
    min-height: 48px;
    touch-action: manipulation;
  }

  /* Authority Video Mobile */
  .authority-video-wrapper {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
  }

  .authority-video-overlay {
    padding: 2rem 1.5rem;
  }

  .overlay-title {
    font-size: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   CONVERSION MODAL
   -------------------------------------------------------------------------- */
.conversion-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  background: rgba(8, 10, 8, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.conversion-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.conversion-modal {
  position: relative;
  background: rgba(12, 16, 12, 0.85);
  border: 1px solid rgba(244, 242, 234, 0.08);
  border-radius: 24px;
  max-width: 600px;
  width: 90%;
  padding: 3.5rem 2.5rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 30px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
}

.conversion-modal-overlay.active .conversion-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.conversion-modal::before {
  content: "";
  position: absolute;
  top: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(143, 181, 62, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.modal-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

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

.modal-btn-email,
.modal-btn-whatsapp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 1.25rem 1.5rem;
  height: auto;
  border-radius: 16px;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.modal-btn-email {
  background: var(--color-primary);
  color: var(--color-bg);
  border: 1px solid transparent;
}

.modal-btn-email:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(143, 181, 62, 0.25);
}

.modal-btn-whatsapp {
  background: rgba(0, 0, 0, 0.4);
  color: var(--color-text-main);
  border: 1px solid rgba(143, 181, 62, 0.3);
  text-decoration: none;
}

.modal-btn-whatsapp:hover {
  background: rgba(143, 181, 62, 0.05);
  border-color: rgba(143, 181, 62, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-primary-title,
.btn-secondary-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  display: block;
}

.btn-primary-desc {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
  font-family: var(--font-text);
  font-weight: 400;
}

.btn-secondary-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-family: var(--font-text);
  font-weight: 400;
}

@media (max-width: 640px) {
  .conversion-modal {
    padding: 2.5rem 1.5rem;
  }

  .modal-title {
    font-size: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   PROJECT EXPERIENCE MODAL (CASE MODAL)
   -------------------------------------------------------------------------- */
.case-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  background: rgba(8, 10, 8, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.case-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.case-modal {
  position: relative;
  width: min(94%, 1500px);
  max-height: 94vh;
  height: auto;
  max-width: none;
  background: rgba(6, 12, 8, 0.82);
  border: 1px solid rgba(143, 189, 58, 0.18);
  border-radius: 28px;
  padding: 1.25rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 30px 80px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  transform: scale(0.98) translateY(10px);
  transition: transform 0.45s ease;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow-y: auto;
}

.case-modal-overlay.active .case-modal {
  transform: scale(1) translateY(0);
}

.case-modal::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(143, 181, 62, 0.03) 0%,
    transparent 60%
  );
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.case-modal-close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(244, 242, 234, 0.1);
  color: var(--color-text-muted);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
  z-index: 10;
}

.case-modal-close-btn:hover {
  color: #fff;
  background: rgba(143, 181, 62, 0.15);
  border-color: rgba(143, 181, 62, 0.4);
}

.case-modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-modal-header {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-right: 4rem; /* space for close button */
}

.case-modal-header-info {
  max-width: 800px;
}

#caseModalLabel {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.case-modal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--color-text-main);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.case-modal-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.case-modal-viewer {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin: 32px 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.case-modal-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.case-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s,
    transform 0.4s ease;
  transform: translateY(20px);
  display: flex;
  flex-direction: column;
}

.case-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.case-slide-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: visible;
}

.case-slide-img-wrapper img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 72vh !important;
  object-fit: contain !important;
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45) !important;
}

.case-slide-placeholder {
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(143, 181, 62, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(143, 181, 62, 0.5);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-slide-caption {
  padding: 1.5rem 2rem;
  background: linear-gradient(to top, rgba(8, 10, 8, 0.9) 0%, transparent 100%);
  text-align: center;
}

.case-slide-caption-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
}

.case-slide-caption-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.case-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5;
  pointer-events: auto;
}

.case-nav-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-bg);
  transform: translateY(-50%) scale(1.05);
}

.case-nav-prev {
  left: 2rem;
}

.case-nav-next {
  right: 2rem;
}

.case-modal-progress {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 4px;
}

#caseCurrentSlide {
  color: var(--color-primary);
  font-weight: 500;
}

.case-modal-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 242, 234, 0.05);
}

.case-modal-cta-text {
  font-size: 1.05rem;
  color: var(--color-text-main);
}

.case-modal-cta-btn {
  padding: 0.8rem 1.5rem;
}

/* Bloco "Assista no Instagram" dentro do modal de case */
.case-instagram-block {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 242, 234, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.case-instagram-text {
  font-size: 1.05rem;
  color: var(--color-text-main);
}

.case-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  white-space: nowrap;
}

/* Modal pequeno com o vídeo embutido do Instagram */
.ig-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  background: rgba(8, 10, 8, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10500;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 24px;
}

.ig-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ig-modal {
  position: relative;
  width: min(92%, 400px);
  max-height: 88vh;
  overflow-y: auto;
  background: rgba(6, 12, 8, 0.9);
  border: 1px solid rgba(143, 189, 58, 0.18);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.35s ease;
}

.ig-modal-overlay.active .ig-modal {
  transform: scale(1) translateY(0);
}

.ig-modal-close-btn {
  position: absolute;
  top: -14px;
  right: -14px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(244, 242, 234, 0.15);
  color: var(--color-text-muted);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.ig-modal-close-btn:hover {
  color: #fff;
  background: rgba(143, 181, 62, 0.25);
  border-color: rgba(143, 181, 62, 0.4);
}

.ig-modal-body {
  display: flex;
  justify-content: center;
  min-height: 200px;
}

.ig-modal-body iframe {
  max-width: 100% !important;
}

@media (max-width: 480px) {
  .case-instagram-block {
    flex-direction: column;
    align-items: flex-start;
  }
  .ig-modal {
    width: 100%;
    padding: 0.75rem;
  }
}

@media (max-width: 1024px) {
  .case-modal {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .case-modal {
    padding: 1.25rem;
    height: auto;
    max-height: 96vh;
    width: 96%;
    border-radius: 20px;
  }

  .case-slide-img-wrapper {
    min-height: 40vh;
    padding: 0;
  }

  .case-modal-header {
    flex-direction: column;
    padding-right: 0;
    margin-bottom: 1rem;
  }

  .case-modal-close-btn {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .case-modal-title {
    font-size: 1.8rem;
  }

  .case-nav-btn {
    width: 44px;
    height: 44px;
  }

  .case-nav-prev {
    left: 1rem;
  }
  .case-nav-next {
    right: 1rem;
  }

  .case-modal-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .case-modal-cta-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* HERO — Redução de ~30%: card 371x515 / vídeo 756x515 na referência ampla
   (correção urgente pedida por Verner — versão anterior estourava a 1ª dobra) */
@media (min-width: 1025px) {
  .hero-premium {
    padding: calc(var(--header-height, 100px) + 20px) 40px 28px;
  }

  .hero-premium .hero-glass-card {
    box-sizing: border-box;
    overflow: hidden;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    padding: 1.5rem 1.75rem 1.1rem;
  }

  .hero-premium .hero-title {
    font-size: clamp(1.7rem, 3.2vw, 2.9rem);
    margin-bottom: 0.4rem;
  }

  .hero-premium .hero-subtitle {
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    margin-bottom: 0.5rem;
  }

  .hero-premium .hero-actions {
    margin-bottom: 0.5rem;
    gap: 0.5rem;
  }

  .hero-premium .btn-hero-primary,
  .hero-premium .btn-hero-secondary {
    padding: 0.75rem 1.4rem;
    font-size: 0.75rem;
  }

  .hero-premium .hero-differentials {
    padding-top: 0.4rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .hero-premium .hero-differentials li {
    font-size: 0.6rem;
  }

  .hero-premium .hero-video-wrapper {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    aspect-ratio: auto;
    box-sizing: border-box;
    overflow: hidden;
  }
}

/* Camada fluida: 1025px até ~1249px — proporção de largura preservada (32,9% / 67,1%,
   com piso de 330px no card para não estourar a quebra de linha do título);
   altura livre por conteúdo (não usa aspect-ratio) para não cortar texto */
@media (min-width: 1025px) and (max-width: 1249px) {
  .hero-premium .hero-container {
    width: 100%;
    max-width: 1127px;
    height: auto;
    display: grid;
    grid-template-columns: minmax(330px, 32.9fr) 67.1fr;
    align-items: stretch;
    gap: 0;
    justify-content: center;
    margin-inline: auto;
    padding: 0;
  }

  .hero-premium .hero-glass-card {
    width: 100%;
    height: auto;
    max-width: none;
  }

  .hero-premium .hero-video-wrapper {
    width: 100%;
    height: auto;
    max-width: none;
    min-height: 320px;
  }
}

/* Camada de referência exata: a partir de 1250px, pixels fixos 371x515 / 756x515 */
@media (min-width: 1250px) {
  .hero-premium .hero-container {
    width: 1127px;
    max-width: 100%;
    height: 515px;
    display: grid;
    grid-template-columns: 371px 756px;
    gap: 0;
    justify-content: center;
    margin-inline: auto;
    padding: 0;
  }

  .hero-premium .hero-glass-card {
    width: 371px;
    height: 515px;
    max-width: 371px;
  }

  .hero-premium .hero-video-wrapper {
    width: 756px;
    height: 515px;
    max-width: 756px;
  }
}

/* HERO RESPONSIVE RESTRUCTURE (From new requirements) */
@media (max-width: 1024px) {
  .hero-premium .hero-container {
    padding: 0 1.5rem;
  }
  .hero-premium .hero-glass-card {
    max-width: 55%;
    padding: 3rem 2rem;
  }
  .hero-premium .hero-video-wrapper {
    width: 55%;
    right: 1.5rem;
  }
  .hero-premium .hero-title {
    font-size: clamp(2.4rem, 4vw, 3rem);
  }
  .hero-premium .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .method-section {
    padding-top: 80px;
  }

  .method-section .section-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
    margin-bottom: 3rem;
  }

  .method-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .method-card {
    min-height: auto;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .method-letter {
    font-size: 3rem;
    margin-bottom: 0;
    line-height: 1;
    opacity: 1; /* Make letter vivid on mobile */
  }

  .method-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .method-desc {
    font-size: 0.95rem;
  }

  .process-section {
    padding: 80px 0;
  }

  .timeline {
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
    padding-left: 0;
  }

  .process-line.reveal-element {
    left: 27px; /* 56px / 2 = 28 - 1px width = 27px */
    width: 2px;
    height: calc(100% - 60px);
    top: 40px;
  }

  .step-node {
    width: 56px;
    height: 56px;
    font-size: 1.2rem;
  }

  .timeline-item {
    gap: 1.25rem;
  }

  .timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
  }

  .timeline-desc {
    font-size: 0.95rem;
  }

  .header {
    padding: 0.8rem 0;
  }

  .header .container {
    padding: 0 1rem;
  }

  /* MÉTRICAS & AUTORIDADE COLS */
  .metrics-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .metrics-section .section-title {
    margin-bottom: 2.5rem;
  }

  .metrics-grid {
    gap: 1rem;
  }

  .metric-card {
    padding: 20px;
    border-radius: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  .metric-number {
    font-size: clamp(34px, 8vw, 52px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  .metric-text {
    font-size: clamp(14px, 3.5vw, 16px);
    margin-bottom: 0;
  }

  .metric-progress {
    display: none;
  }

  .authority-text-col,
  .manifesto-title,
  .manifesto-text {
    text-align: center;
  }

  .micro-label-wrapper {
    justify-content: center;
  }

  .manifesto-title {
    font-size: clamp(2rem, 8vw, 2.4rem);
    margin-bottom: 1.5rem;
    max-width: 100%;
    word-wrap: break-word;
    hyphens: auto;
  }

  .pillars-premium-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
  }

  .pillar-premium-card {
    width: 100%;
    min-height: 180px;
    padding: 24px 20px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-color: rgba(143, 189, 58, 0.4);
    box-shadow:
      0 0 15px rgba(143, 189, 58, 0.1),
      inset 0 0 15px rgba(143, 189, 58, 0.05);
    background: rgba(8, 14, 10, 0.85);
  }

  .pillar-premium-card::after {
    border-color: rgba(143, 189, 58, 0.6);
  }

  .pillar-glow {
    opacity: 0.5;
    transform: scale(1.1);
  }

  .pillar-icon {
    width: 24px;
    height: 24px;
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(143, 189, 58, 0.4));
  }

  .pillar-number {
    font-size: 1.2rem;
    opacity: 0.5;
  }

  .pillar-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .pillar-desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* FAQ */
  .faq-section {
    padding: 60px 0 40px;
  }
  .faq-premium-container {
    width: 100%;
    padding: 24px 16px !important;
    margin: 0 auto;
    border-radius: 20px;
  }
  .faq-item {
    min-height: 56px;
    border-radius: 18px;
    margin-bottom: 12px;
  }
  .faq-item:last-child {
    margin-bottom: 0;
  }
  .faq-question {
    padding: 18px 20px !important;
    min-height: 56px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .faq-q-text {
    font-size: 16px !important;
    line-height: 1.35;
  }
  .faq-q-number {
    display: none;
  }
  .faq-icon {
    margin-left: 1rem !important;
    width: 24px !important;
    height: 24px !important;
  }
  .faq-answer-inner {
    padding: 0 20px 20px 20px !important;
    font-size: 15px !important;
    line-height: 1.55;
  }

  /* CTA FINAL */
  .cta-section {
    padding: 40px 0;
  }
  .cta-box {
    padding: 2.5rem 1.5rem !important;
    border-radius: 20px;
  }
  .cta-title {
    font-size: clamp(1.8rem, 8vw, 2.2rem) !important;
  }
  .cta-text {
    font-size: 1rem !important;
    margin-bottom: 2rem !important;
  }
  .cta-box .btn-primary {
    width: 100%;
    min-height: 48px;
    display: flex;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* CONTACT FORM */
  .contact-section {
    padding: 40px 0 60px;
  }
  .contact-premium-container {
    width: 100%;
    padding: 24px 16px !important;
    margin: 0 auto;
    border-radius: 20px;
  }
  .contact-header .section-title {
    font-size: clamp(2rem, 8vw, 2.2rem) !important;
  }
  .form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .form-group {
    width: 100%;
  }
  .form-input,
  .form-input[type="text"],
  .form-input[type="email"],
  .form-input[type="tel"],
  textarea.form-input,
  select.form-input {
    font-size: 16px !important;
    min-height: 48px;
    padding: 12px 16px;
  }
  textarea.form-input {
    min-height: 120px;
  }
  .form-footer .btn-submit {
    width: 100%;
    min-height: 48px;
    display: flex;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .file-drop-area {
    padding: 1.5rem 1rem !important;
  }
  .file-msg {
    font-size: 0.9rem !important;
  }

  .hero-premium {
    padding-top: calc(var(--header-height, 72px) + 1.5rem);
  }

  .hero-premium .hero-container {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
    align-items: stretch;
  }

  .hero-premium .hero-video-wrapper {
    order: 2; /* Vídeo depois do texto, autorizado por Verner */
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/10.5;
    max-height: 400px;
    margin: 1.5rem auto 0 auto;
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
  }

  .hero-premium .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
  }

  .hero-premium .hero-video-overlay {
    border-radius: 20px;
  }

  .hero-premium .hero-glass-card {
    order: 1; /* Cartão de texto primeiro */
    max-width: 100%;
    width: 100%;
    padding: 2.5rem 1.5rem;
    margin: 0 auto;
    z-index: 2;
  }

  .hero-premium .hero-title {
    font-size: clamp(40px, 10vw, 52px);
    line-height: 1.05;
    margin-bottom: 1rem;
  }

  .hero-premium .hero-subtitle {
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

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

  .hero-premium .btn,
  .btn,
  .btn-hero-primary,
  .btn-hero-secondary,
  .nav-btn,
  .case-button {
    width: 100%;
    min-height: 48px;
    touch-action: manipulation;
  }

  .hero-premium .hero-differentials {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

/* CRITICAL MOBILE FIXES (Menu, Video, Buttons) */
@media (max-width: 768px) {
  /* Fix Hero Video bounds and display */
  .hero-video-wrapper,
  .hero-video {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    background: transparent !important;
    z-index: 1 !important;
  }

  .hero-video-wrapper video,
  .hero-video video,
  .hero-video-wrapper img,
  .hero-video img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Make sure buttons are clickable and overlays aren't blocking */
  button,
  .btn,
  .cta,
  .case-button,
  .primary-button,
  .secondary-button,
  a[role="button"],
  .social-orbit-btn,
  .nav-links a {
    pointer-events: auto !important;
    touch-action: manipulation !important;
    position: relative !important;
    z-index: 99999 !important;
    min-height: 48px;
    cursor: pointer !important;
  }

  /* Specific fix for hero buttons */
  .hero-actions .btn {
    pointer-events: auto !important;
    z-index: 99999 !important;
  }

  /* Prevent elements from blocking clicks */
  .hero-video-wrapper,
  .hero-video,
  .case-media,
  .project-media,
  .overlay,
  .gradient-overlay,
  .motion-layer,
  .decorative-layer,
  .glow-layer,
  .bg-layer,
  .hero-video-overlay,
  video,
  picture,
  canvas {
    pointer-events: none !important;
  }
}

/* ---------- botão flutuante "Fale com a TOOC" ---------- */
.fab-contato {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 10px;
  border-radius: 999px;
  background: var(--color-surface-hover);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  animation: fabGlow 4.5s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease;
}
.fab-contato:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  background: var(--color-surface);
}
.fab-contato:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
.fab-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-text-main);
  color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fab-icon svg { width: 22px; height: 22px; }
.fab-text { text-align: left; line-height: 1.25; }
.fab-text strong { display: block; font-size: 14px; font-weight: 600; }
.fab-text span { display: block; font-size: 11.5px; color: var(--color-text-muted); letter-spacing: 0.04em; }

@keyframes fabGlow {
  0%, 100% { box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(244, 242, 234, 0.05), 0 0 20px 2px rgba(244, 242, 234, 0.08); }
  50% { box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(244, 242, 234, 0.08), 0 0 30px 6px rgba(244, 242, 234, 0.14); }
}

@media (max-width: 600px) {
  .fab-contato { right: 16px; bottom: 16px; padding: 8px 16px 8px 8px; gap: 10px; }
  .fab-icon { width: 38px; height: 38px; }
  .fab-text strong { font-size: 13px; }
  .fab-text span { font-size: 10.5px; }
}
