/* CSS Design System - Escritório Dalmolin (Identidade Oficial) */

:root {
  /* Brand Color Palette */
  --color-brand-red: #A03033;
  --color-brand-red-hover: #802224;
  --color-brand-red-light: rgba(160, 48, 51, 0.08);
  
  /* Neutral Color Palette */
  --color-bg-white: #FFFFFF;
  --color-bg-offwhite: #FAFAFB;
  --color-bg-lightgray: #F3F4F6;
  --color-bg-graphite: #2D3134;
  --color-bg-graphite-dark: #1E2022;
  
  --color-text-dark: #222528;
  --color-text-muted: #5E656B;
  --color-text-light: #F3F4F6;
  --color-text-light-muted: #B3B9C0;
  
  --color-border-light: #E5E7EB;
  --color-border-medium: #D1D5DB;
  --color-border-dark: #3F4448;
  
  /* System Colors */
  --color-success: #2E7D32;
  --color-info: #1565C0;
  
  /* Layout Tokens */
  --max-width: 1140px;
  --header-height: 90px;
  
  /* Minimal Editorial Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 6px;
  
  /* Transition speed */
  --transition-normal: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Simple Professional Shadows (Avoiding heavy 3D glows) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.05);
}

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

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

body {
  font-family: 'Axiforma', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rokkitt', serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-bg-graphite);
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

/* Global Grid Containers & Spacing */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

/* Scroll driven fade-in (discrete) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons (Editorial & Symmetrical style) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Axiforma', 'Inter', sans-serif;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: var(--transition-normal);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.95rem;
}

.btn-red {
  background-color: var(--color-brand-red);
  color: var(--color-bg-white);
  border-color: var(--color-brand-red);
}

.btn-red:hover {
  background-color: var(--color-brand-red-hover);
  border-color: var(--color-brand-red-hover);
}

.btn-gold {
  background-color: var(--color-bg-white);
  color: var(--color-brand-red);
  border-color: var(--color-brand-red);
}

.btn-gold:hover {
  background-color: var(--color-brand-red);
  color: var(--color-bg-white);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-border-medium);
  color: var(--color-text-dark);
}

.btn-outline:hover {
  border-color: var(--color-brand-red);
  color: var(--color-brand-red);
  background-color: rgba(160, 48, 51, 0.02);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-text-light);
}

.btn-outline-white:hover {
  border-color: var(--color-text-light);
  background-color: rgba(255, 255, 255, 0.05);
}

.w-full { width: 100%; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.text-center { text-align: center; }
.max-w-lg { max-width: 600px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Badge tag (Minimal & Serein) */
.badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background-color: var(--color-bg-lightgray);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  color: var(--color-bg-graphite);
  font-weight: 500;
  margin-bottom: 24px;
}

.badge-accent {
  color: var(--color-brand-red);
  font-weight: 700;
  margin-right: 6px;
}

/* Section Header styling (Editorial) */
.section-tag {
  display: block;
  font-family: 'Axiforma', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand-red);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-bg-graphite);
  margin-bottom: 20px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Top bar style */
.top-bar {
  background-color: var(--color-bg-graphite-dark);
  color: var(--color-text-light-muted);
  font-size: 0.75rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-dark);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-content span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}

.top-bar-content svg {
  color: var(--color-brand-red);
}

.top-bar-links {
  display: flex;
  gap: 24px;
}

.top-bar-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-bar-links a:hover {
  color: var(--color-text-light);
}

/* Header style */
.main-header {
  height: var(--header-height);
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--transition-normal);
}

.main-header.scrolled {
  height: 80px;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  object-fit: contain;
}

.logo-horizontal-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-horizontal-footer {
  height: 38px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: 'Rokkitt', serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: var(--color-bg-graphite);
  line-height: 1.1;
}

.logo-subtitle {
  font-family: 'Axiforma', 'Inter', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.desktop-nav ul {
  display: flex;
  gap: 36px;
}

.desktop-nav a {
  font-family: 'Axiforma', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--color-text-dark);
  position: relative;
  padding: 6px 0;
}

.desktop-nav a:hover {
  color: var(--color-brand-red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-menu-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: var(--color-bg-graphite);
  transition: var(--transition-normal);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  height: calc(100vh - 90px);
  background-color: var(--color-bg-white);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  padding: 40px 32px;
  border-top: 1px solid var(--color-border-light);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.mobile-nav a {
  font-family: 'Rokkitt', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.mobile-nav a:hover {
  color: var(--color-brand-red);
}

/* Hero Section */
.hero-section {
  background-color: var(--color-bg-offwhite);
  background-image: radial-gradient(circle, rgba(160, 48, 51, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  padding-top: 90px;
  padding-bottom: 90px;
  border-bottom: 1px solid var(--color-border-light);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--color-bg-graphite);
}

.highlight-red {
  color: var(--color-brand-red);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 540px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--color-border-light);
  padding-top: 32px;
}

.stat-num {
  font-family: 'Rokkitt', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-brand-red);
  line-height: 1.1;
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background-color: var(--color-border-medium);
}

/* Editorial Photo Container Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-md);
  max-width: 440px;
  width: 100%;
}

.hero-main-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-border-light);
}

.photo-caption {
  margin-top: 16px;
  border-top: 1px solid var(--color-border-light);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
}

.photo-caption strong {
  font-family: 'Rokkitt', serif;
  font-size: 1.15rem;
  color: var(--color-bg-graphite);
  font-weight: 600;
}

.photo-caption span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* PQC Trust Band styling */
.pqc-trust-section {
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border-light);
  padding: 60px 0;
}

.pqc-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pqc-header-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.pqc-badge-logo {
  flex-shrink: 0;
  background-color: var(--color-bg-offwhite);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--border-radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pqc-badge-logo img {
  object-fit: contain;
}

.pqc-text h3 {
  font-size: 1.5rem;
  color: var(--color-bg-graphite);
  margin-bottom: 8px;
}

.pqc-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.pqc-stars-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pqc-history-badge {
  background-color: var(--color-bg-offwhite);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
}

.pqc-history-badge.active {
  border-color: var(--color-brand-red);
  background-color: var(--color-brand-red-light);
}

.badge-year {
  font-family: 'Rokkitt', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-bg-graphite);
  margin-bottom: 12px;
}

.pqc-history-badge.active .badge-year {
  color: var(--color-brand-red);
}

.pqc-history-img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

/* Differentiators (Tech Section) */
.tech-section {
  background-color: var(--color-bg-offwhite);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.tech-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-sm);
  padding: 36px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.tech-card:hover {
  border-color: var(--color-brand-red);
  box-shadow: var(--shadow-md);
}

.tech-header-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.tech-icon-container {
  width: 48px;
  height: 48px;
  background-color: var(--color-brand-red-light);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-red);
  flex-shrink: 0;
}

.tech-card h3 {
  font-size: 1.25rem;
  color: var(--color-bg-graphite);
  font-weight: 600;
}

.tech-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.tech-tag-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-brand-red);
  background-color: var(--color-brand-red-light);
  padding: 3px 10px;
  border-radius: var(--border-radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Services Section */
.services-section {
  background-color: var(--color-bg-white);
}

.services-tabs {
  margin-top: 60px;
}

.tabs-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--color-border-medium);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  margin-bottom: 32px;
}

.tab-btn {
  background-color: var(--color-bg-offwhite);
  border: none;
  padding: 16px 20px;
  font-family: 'Axiforma', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-normal);
}

.tab-btn.active {
  background-color: var(--color-brand-red);
  color: var(--color-bg-white);
}

.tab-btn:not(.active):hover {
  background-color: var(--color-bg-white);
}

.tabs-content {
  background-color: var(--color-bg-offwhite);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
  padding: 48px;
}

.tab-panel.active {
  display: block;
}

.tab-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
}

.tab-info h3 {
  font-size: 1.65rem;
  color: var(--color-bg-graphite);
  margin-bottom: 16px;
  font-weight: 600;
}

.tab-description {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.tab-list-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab-list-items li {
  font-size: 0.9rem;
  color: var(--color-text-dark);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tab-list-items li::before {
  content: "—";
  color: var(--color-brand-red);
  font-weight: bold;
  margin-right: 4px;
}

.tab-sidebar-info {
  border-left: 1px solid var(--color-border-medium);
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar-info-block .info-block-title {
  display: block;
  font-family: 'Rokkitt', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-bg-graphite);
  margin-bottom: 8px;
}

.sidebar-info-block p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Calculator Section */
/* ── Calculadora de Economia Tributária ──────────────────────────────────── */
.calculator-section {
  background-color: var(--color-bg-graphite);
  color: var(--color-text-light);
}

.calc-eco-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.calc-eco-header .section-title { color: #fff; }
.calc-eco-header .section-subtitle { color: rgba(255,255,255,0.55); }
.calc-eco-header .section-subtitle strong { color: rgba(255,255,255,0.85); }

.calc-eco-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Steps (left column) */
.calc-eco-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-eco-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.calc-eco-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-brand-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.calc-eco-step-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-eco-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.4);
}

.calc-eco-fat-display {
  font-family: 'Rokkitt', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.calc-eco-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
  outline: none;
}

.calc-eco-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-brand-red);
  cursor: pointer;
  border: 2px solid #fff;
}

.calc-eco-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
}

.calc-eco-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-eco-opt {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.18s ease;
}

.calc-eco-opt:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.calc-eco-opt.active {
  background: var(--color-brand-red);
  border-color: var(--color-brand-red);
  color: #fff;
}

/* Result card (right column) */
.calc-eco-result {
  position: sticky;
  top: 100px;
}

.calc-eco-result-inner {
  background: var(--color-bg-white);
  border-radius: 14px;
  padding: 36px 32px;
  color: var(--color-text-dark);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.calc-eco-result-top {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border-light);
}

.calc-eco-result-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.calc-eco-result-big {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.calc-eco-curr {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-brand-red);
}

#eco-anual {
  font-family: 'Rokkitt', serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--color-brand-red);
  line-height: 1;
}

.calc-eco-result-sub {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* Comparison bars */
.calc-eco-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.calc-eco-bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 8px;
  align-items: center;
}

.calc-eco-bar-txt {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  grid-column: 1;
}

.calc-eco-bar-val {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-dark);
  grid-column: 2;
  grid-row: 1 / 3;
  white-space: nowrap;
}

.calc-eco-bar-track {
  height: 8px;
  background: var(--color-bg-offwhite);
  border-radius: 4px;
  overflow: hidden;
  grid-column: 1;
}

.calc-eco-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}

.calc-eco-bar-red  { background: var(--color-brand-red); }
.calc-eco-bar-green { background: #22c55e; }

/* ROI strip */
.calc-eco-roi-strip {
  display: flex;
  align-items: center;
  background: var(--color-bg-offwhite);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 20px;
  gap: 20px;
}

.calc-eco-roi-block { flex: 1; text-align: center; }

.calc-eco-roi-num {
  font-family: 'Rokkitt', serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-brand-red);
  line-height: 1;
}

.calc-eco-roi-lbl {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.calc-eco-roi-sep {
  width: 1px;
  height: 40px;
  background: var(--color-border-light);
}

.calc-eco-fine {
  text-align: center;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 10px;
  margin-bottom: 4px;
}

.calc-eco-disclaimer {
  font-size: 0.62rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: 8px;
  text-align: center;
}

/* About Section */
.about-section {
  background-color: var(--color-bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.history-badge-container {
  width: 100%;
  max-width: 380px;
  background-color: var(--color-bg-offwhite);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--border-radius-sm);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-logo-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.history-video-container {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  aspect-ratio: 9 / 16;
}

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

.history-sound-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s;
}

.history-sound-btn:hover {
  background: rgba(0,0,0,0.8);
}

.about-text .section-title {
  color: var(--color-bg-graphite);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.structure-tags {
  margin-top: 32px;
  border-top: 1px solid var(--color-border-light);
  padding-top: 24px;
}

.structure-title {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--color-bg-graphite);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-dark);
  background-color: var(--color-bg-lightgray);
  border: 1px solid var(--color-border-light);
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
}

/* Team section */
.team-section {
  background-color: var(--color-bg-offwhite);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.team-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.team-photo-container {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-medium);
  background-color: var(--color-bg-lightgray);
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.team-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-info h3 {
  font-size: 1.25rem;
  color: var(--color-bg-graphite);
  margin-bottom: 4px;
  font-weight: 600;
}

.team-role {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-brand-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.team-registration {
  display: block;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Client Section */
.clients-section {
  background-color: var(--color-bg-white);
}

/* ── SVH removed ── */

/* ── Logo Carousel ── */
.logos-carousel-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logos-track {
  display: flex;
  width: max-content;
  animation: logos-scroll 40s linear infinite;
}

.logos-track:hover {
  animation-play-state: paused;
}

.logos-slide {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
}

.logos-slide img {
  height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
  flex-shrink: 0;
}

.logos-slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Contact Section */
.contact-section {
  background-color: var(--color-bg-offwhite);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
}

.contact-form-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--border-radius-sm);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: 'Axiforma', 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-dark);
  letter-spacing: 0.05em;
}

.form-input, .form-textarea, .form-select {
  border: 1px solid var(--color-border-medium);
  border-radius: var(--border-radius-sm);
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  background-color: var(--color-bg-offwhite);
  transition: all var(--transition-normal);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-brand-red);
  background-color: var(--color-bg-white);
}

.form-status-msg {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 8px;
}

.form-status-msg.success { color: var(--color-success); }
.form-status-msg.error { color: var(--color-brand-red); }

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-tag {
  font-family: 'Rokkitt', serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-bg-graphite);
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 36px;
  height: 36px;
  background-color: var(--color-brand-red-light);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-red);
  flex-shrink: 0;
}

.info-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-dark);
  margin-bottom: 2px;
}

.info-text p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.hover-red:hover {
  color: var(--color-brand-red);
}

.map-container {
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-border-medium);
}

/* Onboarding CTA Banner */
.banner-cta-section {
  background-color: var(--color-bg-graphite);
  color: var(--color-text-light);
  padding: 48px 0;
  border-bottom: 4px solid var(--color-brand-red);
}

.banner-cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.banner-cta-text h2 {
  font-size: 1.65rem;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.banner-cta-text p {
  color: var(--color-text-light-muted);
  font-size: 0.9rem;
  max-width: 600px;
}

.banner-cta-btn-box {
  flex-shrink: 0;
}

/* Footer Section */
.main-footer {
  background-color: var(--color-bg-graphite-dark);
  color: var(--color-text-light);
  padding-top: 70px;
  border-top: 1px solid var(--color-border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border-dark);
}

.footer-col-about {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo-light {
  justify-content: flex-start;
}

.footer-desc {
  font-size: 0.8rem;
  color: var(--color-text-light-muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.footer-social-links a {
  width: 34px;
  height: 34px;
  background-color: var(--color-border-dark);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light-muted);
}

.footer-social-links a:hover {
  background-color: var(--color-brand-red);
  color: var(--color-bg-white);
}

.footer-col-nav h4 {
  font-family: 'Rokkitt', serif;
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--color-text-light);
}

.footer-col-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-nav a {
  font-size: 0.8rem;
  color: var(--color-text-light-muted);
}

.footer-col-nav a:hover {
  color: var(--color-brand-red);
}

.footer-bottom {
  padding: 24px 0;
  font-size: 0.7rem;
  color: var(--color-text-light-muted);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Floating WhatsApp Widget (Discrete) */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: var(--color-bg-white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 99;
}

.whatsapp-widget:hover {
  transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  
  .calc-eco-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .calc-eco-result { position: static; }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .tag-cloud {
    justify-content: center;
  }
  
  .about-visual {
    order: 2;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  #btn-seja-cliente-top {
    display: none;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  /* Coruja: reduz altura e centraliza no mobile */
  .hero-owl-wrap {
    height: 320px;
    max-width: 100%;
  }

  .hero-owl {
    max-width: 320px;
  }

  /* Vídeo história: altura menor no mobile */
  .history-video-container {
    max-width: 100%;
    aspect-ratio: 4 / 5;
  }

  /* Logo horizontal navbar: altura menor */
  .logo-horizontal-img {
    height: 36px;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }
  
  .pqc-header-row {
    flex-direction: column;
    text-align: center;
  }
  
  .pqc-stars-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .tabs-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tab-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .tab-sidebar-info {
    border-left: none;
    border-top: 1px solid var(--color-border-medium);
    padding-left: 0;
    padding-top: 24px;
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  
  .banner-cta-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  
  .stat-divider {
    display: none;
  }
  
  .tabs-list {
    grid-template-columns: 1fr;
  }
  
  .tab-panel {
    padding: 24px;
  }
  
  .calc-eco-result-inner {
    padding: 24px 20px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-card {
    padding: 24px;
  }
}

/* ========================
   PQC SECTION — REDESIGNED
   ======================== */

.pqc-trust-section {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-bottom: none;
}

/* Hero Block */
.pqc-hero-block {
  background-color: var(--color-bg-graphite);
  background-image:
    radial-gradient(ellipse at 85% 50%, rgba(160, 48, 51, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse at 10% 80%, rgba(160, 48, 51, 0.06) 0%, transparent 50%);
  padding: 84px 0;
  border-bottom: 1px solid var(--color-border-dark);
}

.pqc-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.pqc-unique-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(160, 48, 51, 0.14);
  border: 1px solid rgba(160, 48, 51, 0.3);
  color: #e89090;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.pqc-unique-pill svg { stroke: #e89090; flex-shrink: 0; }

.pqc-hero-title {
  font-family: 'Rokkitt', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 24px;
}

.pqc-stars-display {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 28px;
}

.pqc-stars-display span {
  font-size: 1.75rem;
  color: #f59e0b;
  line-height: 1;
}

.pqc-stars-display small {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 14px;
  align-self: center;
}

.pqc-hero-desc {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: 560px;
}

.pqc-hero-desc strong {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.pqc-hero-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.pqc-big-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 36px;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}

.pqc-big-badge:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.pqc-big-badge img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.5));
}

.pqc-sescon-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.25);
}

/* Pillars Block */
.pqc-pillars-block {
  background: var(--color-bg-offwhite);
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.pqc-pillars-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 36px;
}

.pqc-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pqc-pillar-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  padding: 32px 26px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.pqc-pillar-card:hover {
  border-color: var(--color-brand-red);
  box-shadow: 0 8px 28px rgba(160, 48, 51, 0.07);
  transform: translateY(-3px);
}

.pillar-num {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-brand-red);
  background: var(--color-brand-red-light);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 16px;
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  background: var(--color-brand-red-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-red);
  margin-bottom: 16px;
}

.pqc-pillar-card h4 {
  font-family: 'Rokkitt', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-bg-graphite);
  margin-bottom: 10px;
}

.pqc-pillar-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.72;
}

/* Timeline Block */
.pqc-timeline-block {
  background: var(--color-bg-white);
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.pqc-tl-header {
  text-align: center;
  margin-bottom: 44px;
}

.pqc-tl-header p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  max-width: 440px;
  margin: 10px auto 0;
  line-height: 1.6;
}

.pqc-timeline-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pqc-tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1;
  max-width: 180px;
}

.pqc-tl-badge {
  background: var(--color-bg-offwhite);
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  padding: 20px;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.pqc-tl-step:hover .pqc-tl-badge {
  border-color: var(--color-border-medium);
  background: var(--color-bg-white);
}

.pqc-tl-active .pqc-tl-badge {
  border-color: var(--color-brand-red);
  background: var(--color-brand-red-light);
  box-shadow: 0 8px 28px rgba(160, 48, 51, 0.1);
}

.pqc-tl-badge img {
  width: 80px;
  height: auto;
  object-fit: contain;
}

.pqc-tl-info { text-align: center; }

.pqc-tl-info strong {
  display: block;
  font-family: 'Rokkitt', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-bg-graphite);
  line-height: 1.2;
}

.pqc-tl-active .pqc-tl-info strong { color: var(--color-brand-red); }

.pqc-tl-info span {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.pqc-tl-active .pqc-tl-info span {
  color: var(--color-brand-red);
  font-weight: 600;
}

.pqc-tl-arrow { color: var(--color-border-medium); flex-shrink: 0; }

/* PQC Responsive */
@media (max-width: 1024px) {
  .pqc-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .pqc-hero-desc { margin: 0 auto; }
  .pqc-stars-display { justify-content: center; }
  .pqc-hero-badge-wrap { order: -1; }
  .pqc-big-badge { width: 200px; height: 200px; padding: 24px; }
}

@media (max-width: 768px) {
  .pqc-hero-title { font-size: 2rem; }
  .pqc-pillars-grid { grid-template-columns: 1fr; }
  .pqc-tl-badge { width: 88px; height: 88px; padding: 14px; }
  .pqc-tl-badge img { width: 54px; }
  .pqc-tl-arrow svg { width: 16px; height: 16px; }
  .pqc-timeline-row { gap: 6px; }
}

@media (max-width: 480px) {
  .pqc-tl-arrow { display: none; }
  .pqc-timeline-row { flex-wrap: wrap; gap: 16px; }
  .pqc-tl-step { max-width: 120px; }
}

/* =============================================
   MODERN ENHANCEMENTS — cursor, mosaic, marquee
   ============================================= */

/* --- Custom Cursor (desktop / precise pointer only) --- */
@media (pointer: fine) {
  body,
  a, button, [data-magnetic], input[type="range"], select, .regime-btn, .tab-btn, .tech-card, .team-card, .mosaic-item {
    cursor: none !important;
  }
}

.cursor-dot {
  position: fixed;
  top: -100px; left: -100px;
  width: 7px; height: 7px;
  background: var(--color-brand-red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: width 0.15s, height 0.15s, opacity 0.2s;
}

.cursor-ring {
  position: fixed;
  top: -100px; left: -100px;
  width: 38px; height: 38px;
  border: 1.5px solid var(--color-brand-red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  will-change: left, top;
  opacity: 0.55;
  transition: width 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              height 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.2s;
}

.cursor-dot.is-hovering {
  width: 5px; height: 5px;
  opacity: 0.7;
}

.cursor-ring.is-hovering {
  width: 56px; height: 56px;
  opacity: 0.25;
  border-color: var(--color-brand-red);
}

.cursor-dot.is-clicking {
  width: 10px; height: 10px;
  opacity: 1;
}

/* --- Hero Mosaic --- */
.hero-visual {
  position: relative;
}

.hero-mosaic-wrap {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 460px;
  height: 510px;
  margin-left: auto;
}

/* ── Coruja flutuante ── */
.hero-owl-wrap {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.hero-owl {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.18));
  animation: owl-float 4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
  will-change: transform;
}

@keyframes owl-float {
  from { transform: translateY(0px); }
  to   { transform: translateY(-22px); }
}

.mosaic-col-left {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
}

.mosaic-col-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mosaic-bottom-row {
  flex: 1;
  display: flex;
  gap: 8px;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--color-bg-lightgray);
  will-change: transform;
  transition: transform 0.12s ease-out, box-shadow 0.25s ease;
  flex: 1;
}

.mosaic-col-left .mosaic-item {
  height: 100%;
  flex: unset;
}

.mosaic-col-right > .mosaic-item {
  flex: 0 0 58%;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mosaic-item:hover img {
  transform: scale(1.05);
}

.mosaic-item:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.mosaic-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(18, 20, 23, 0.88) 0%, transparent 100%);
  padding: 32px 14px 14px;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.mosaic-item:hover .mosaic-label {
  transform: translateY(0);
}

.mosaic-label strong {
  display: block;
  font-family: 'Rokkitt', serif;
  font-size: 0.88rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
}

.mosaic-label span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.62);
}

/* Floating Badges */
.hero-value-pill {
  position: absolute;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-bg-graphite);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
}

.hv-1 { top: 12%;  left: 2%; }
.hv-2 { top: 6%;   right: 0%; }
.hv-3 { bottom: 12%; left: 8%; }

/* --- Marquee Strip --- */
.marquee-strip {
  background-color: var(--color-brand-red);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}

.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
}

.marquee-content span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.m-dot {
  opacity: 0.4 !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Card 3D tilt (applied via JS, but needs base style) --- */
.tech-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* --- Magnetic button transition base --- */
[data-magnetic] {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color var(--transition-normal),
              border-color var(--transition-normal),
              color var(--transition-normal);
}

/* --- Responsive mosaic --- */
@media (max-width: 1024px) {
  .hero-mosaic-wrap {
    max-width: 480px;
    height: 380px;
    margin: 0 auto;
  }

  .badge-pqc { right: 0; }
  .badge-anos { left: 0; }
}

@media (max-width: 600px) {
  .hero-mosaic-wrap {
    height: 260px;
    gap: 5px;
  }

  .mosaic-item { border-radius: 8px; }
  .hero-values { display: none; }
}

