/* ============================================
   INOVAGRO — Soluções em Agricultura de Precisão
   Sistema de design v3 — Tipografia Inter, paleta refinada
   ============================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Design tokens ---------- */
:root {
  /* Marca */
  --navy: #0A2342;
  --navy-deep: #061760;
  --navy-darker: #03102E;
  --green: #5A7D3A;
  --green-bright: #6B9949;
  --green-leaf: #7DD647;
  --orange: #ED7D31;
  --orange-deep: #D26818;

  /* Neutros refinados */
  --paper: #FAFAF7;
  --cream: #F4F1EA;
  --cream-deep: #ECE6D9;
  --stone: #E5E0D5;
  --line: rgba(10, 35, 66, 0.10);
  --line-strong: rgba(10, 35, 66, 0.20);
  --ink: #0E1726;
  --ink-soft: #2A3445;
  --muted: #5B6577;

  /* Tipografia */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Espaço */
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 11vw, 9rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.25s;
  --t-med: 0.45s;
  --t-slow: 0.8s;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 999px;
}

/* ---------- Base ---------- */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11', 'cv02';
  position: relative;
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
}

::selection { background: var(--green); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.section { padding: var(--section) 0; }
.flex { display: flex; }
.center { display: flex; align-items: center; justify-content: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-feature-settings: 'ss01', 'ss03', 'cv11';
}

h1 { font-weight: 300; letter-spacing: -0.045em; }
h1 strong, h2 strong { font-weight: 600; color: var(--green); }

.display-1 {
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.display-2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.display-3 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.section-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--green);
}

p { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.55rem;
  border-radius: var(--r-full);
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  cursor: pointer;
}
.btn .arr {
  width: 16px; height: 16px;
  transition: transform var(--t-fast) var(--ease);
}
.btn:hover .arr { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--green); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(90,125,58,0.5); }

.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover { background: var(--green-bright); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(90,125,58,0.5); }

.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover { background: var(--green-leaf); color: var(--navy-darker); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn-ghost-light {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: all var(--t-med) var(--ease);
  background: transparent;
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,16,46,0.4) 0%, transparent 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity var(--t-med);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.header.solid {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
}
.header.solid::before { opacity: 0; }
.header:not(.solid) .nav-link { color: #fff; }
.header:not(.solid) .header-cta { background: rgba(255,255,255,0.98); color: var(--ink); }
.header:not(.solid) .mobile-btn { color: #fff; background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }

.logo {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--t-fast);
}
.logo:hover { opacity: 0.85; }
.logo img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: filter var(--t-med) var(--ease);
}
.header.solid .logo img {
  filter: none;
}
@media (max-width: 960px) {
  .logo img { height: 36px; }
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}
.nav-link {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--t-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transition: right var(--t-med) var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.nav-link.active { color: var(--green); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-cta {
  padding: 0.65rem 1.1rem;
  border-radius: var(--r-full);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--t-fast) var(--ease);
}
.header-cta:hover { background: var(--green); transform: translateY(-1px); }

.mobile-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  color: #fff;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.header.solid .mobile-btn {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.mobile-btn:active {
  transform: scale(0.95);
}

@media (max-width: 960px) {
  .nav-links, .header-cta { display: none; }
  .mobile-btn { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(100%, 380px);
  height: 100vh;
  height: 100svh; /* small viewport - sem barra do navegador */
  background: var(--ink);
  color: var(--paper);
  z-index: 99;
  padding: 5rem 1.5rem 1.5rem;
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: padding-left var(--t-fast) var(--ease), color var(--t-fast);
}
.mobile-menu a:hover, .mobile-menu a:active {
  padding-left: 0.5rem;
  color: var(--green-leaf);
}
.mobile-menu .btn {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  align-self: stretch;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-close {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  z-index: 2;
}
.mobile-close:hover, .mobile-close:active {
  background: rgba(255,255,255,0.15);
  transform: rotate(90deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh; /* fallback */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 4rem;
  overflow: hidden;
  background: var(--navy-darker);
}
@supports (min-height: 100svh) {
  .hero { min-height: 100svh; }
}
@media (max-width: 640px) {
  .hero { min-height: 92svh; padding-bottom: 2.5rem; padding-top: 6rem; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3.4rem) !important; line-height: 1.05; }
  .hero-lead { font-size: 0.96rem; }
  .hero-meta { display: none; }
  .hero-scroll { display: none; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenBurns 24s var(--ease) infinite alternate;
  will-change: transform;
}
@keyframes kenBurns {
  from { transform: scale(1.08) translate(0, 0); }
  to   { transform: scale(1.18) translate(-2%, -2%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3,16,46,0.65) 0%, rgba(3,16,46,0.55) 40%, rgba(3,16,46,0.95) 100%),
    linear-gradient(90deg, rgba(3,16,46,0.55) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 70% 25%, rgba(90,125,58,0.18), transparent 70%);
}
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.4'/></svg>");
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 3; color: #fff; width: 100%; }

.hero-meta {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  z-index: 3;
}
@media (max-width: 880px) { .hero-meta { display: none; } }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-full);
  margin-bottom: 2.2rem;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-leaf);
  box-shadow: 0 0 12px var(--green-leaf);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.8rem, 8.5vw, 7rem);
  font-weight: 200;
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin-bottom: 2rem;
  max-width: 18ch;
  color: #fff;
  text-shadow: 0 2px 24px rgba(3,16,46,0.5), 0 1px 4px rgba(0,0,0,0.3);
}
.hero h1 strong {
  font-weight: 500;
  color: var(--green-leaf);
  text-shadow: 0 2px 24px rgba(3,16,46,0.5), 0 1px 4px rgba(0,0,0,0.3);
}

.hero-slogan {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-leaf);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-slogan::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--green-leaf);
}

.hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.hero-lead {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
  max-width: 38ch;
  color: rgba(255,255,255,0.95);
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(3,16,46,0.5);
}
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-scroll-line {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, transparent, #fff, transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.2); transform-origin: top; opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Hero variants (interior pages) */
.hero-sm {
  min-height: 72vh;
  padding: 8rem 0 4rem;
}
.hero-sm h1 {
  font-size: clamp(2.2rem, 6.5vw, 5.2rem);
  margin-bottom: 1.5rem;
}
.hero-breadcrumb {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.hero-breadcrumb a:hover { color: var(--green-leaf); }
.hero-breadcrumb span { opacity: 0.5; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 1.5rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: scroll-x 40s linear infinite;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  align-items: center;
}
.marquee-track > span { display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track > span::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Manifesto/Intro section ---------- */
.intro {
  padding: var(--section) 0;
  background: var(--paper);
}
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.section-label .line {
  flex: 0 0 36px;
  height: 1px;
  background: var(--ink);
  opacity: 0.35;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 960px) {
  .intro-grid { grid-template-columns: 1fr; }
}

.intro-content > p + p { margin-top: 1.25rem; }
.intro-content p {
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
}

.pull-quote {
  margin-top: 2.5rem;
  padding: 2rem 0 0 2rem;
  border-left: 2px solid var(--green);
  font-weight: 300;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.025em;
  max-width: 48ch;
  position: relative;
}
.pull-quote::before {
  content: '"';
  position: absolute;
  top: -1rem; left: 1rem;
  font-size: 4rem;
  font-weight: 500;
  color: var(--green);
  line-height: 1;
}

/* ---------- Stats colossal ---------- */
.stats {
  background: var(--ink);
  color: var(--paper);
  padding: var(--section) 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 15% 100%, rgba(90,125,58,0.22), transparent 60%);
  pointer-events: none;
}
.stats .container { position: relative; z-index: 1; }
.stats .eyebrow { color: rgba(255,255,255,0.65); }
.stats .section-label .line { background: rgba(255,255,255,0.4); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 880px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat {
  padding: 2.5rem 1.5rem 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  border-right: 1px solid rgba(255,255,255,0.12);
  position: relative;
}
.stat:last-child { border-right: 0; }
@media (max-width: 880px) {
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(2n-1) { padding-right: 1.5rem; }
}

.stat-num {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--paper);
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.1em;
  font-variant-numeric: tabular-nums;
}
.stat-num .suffix {
  font-size: 0.4em;
  font-weight: 400;
  color: var(--green-leaf);
}
.stat-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  max-width: 20ch;
  line-height: 1.45;
}

/* ---------- Services grid editorial ---------- */
.services {
  padding: var(--section) 0;
  background: var(--cream);
}
.services-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}
@media (max-width: 880px) {
  .services-head { grid-template-columns: 1fr; gap: 1.5rem; }
}
.services-head h2 { max-width: 14ch; }
.services-head .lead { max-width: 36ch; }

.svc-row {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.svc-row.two-col { grid-template-columns: 1.5fr 1fr; }
.svc-row.three-col { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 880px) {
  .svc-row.two-col, .svc-row.three-col { grid-template-columns: 1fr; }
}

.svc-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.85rem;
  transition: transform var(--t-med) var(--ease);
  isolation: isolate;
  cursor: pointer;
}
.svc-card.large { aspect-ratio: auto; min-height: 520px; }
.svc-card-img {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.svc-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3,16,46,0.1) 0%, rgba(3,16,46,0.85) 100%);
}
.svc-card:hover { transform: translateY(-4px); }
.svc-card:hover .svc-card-img img { transform: scale(1.08); }

.svc-num {
  position: absolute;
  top: 1.5rem; left: 1.85rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}
.svc-icon-btn {
  position: absolute;
  top: 1.35rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  transition: all var(--t-fast) var(--ease);
  color: #fff;
}
.svc-card:hover .svc-icon-btn { background: var(--green); border-color: var(--green); transform: rotate(-45deg); }

.svc-card h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 0.6rem;
  max-width: 16ch;
}
.svc-card h3 strong { font-weight: 600; color: var(--green-leaf); }
.svc-card p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  max-width: 42ch;
}
.svc-tag {
  position: absolute;
  bottom: 1.85rem; right: 1.85rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* ---------- Process timeline ---------- */
.process {
  padding: var(--section) 0;
  background: var(--cream-deep);
}
.process h2 { max-width: 14ch; margin-bottom: 3.5rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.step {
  padding: 2.25rem 1.5rem 2.25rem 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
  transition: background var(--t-fast);
}
.step:last-child { border-right: 0; }
@media (max-width: 880px) { .step { border-right: 0; padding-right: 0; } }
.step:hover { background: rgba(255,255,255,0.3); }

.step-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  display: block;
}
.step h3 {
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.step p {
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 30ch;
}

/* ---------- Two col / split layouts ---------- */
.split {
  padding: var(--section) 0;
}
.split > .container > .split-grid,
.split.legacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split.reverse > .container > .split-grid,
.split.legacy.reverse {
  direction: rtl;
}
.split.reverse > .container > .split-grid > *,
.split.legacy.reverse > * {
  direction: ltr;
}
@media (max-width: 880px) {
  .split > .container > .split-grid,
  .split.legacy { grid-template-columns: 1fr; }
  .split.reverse > .container > .split-grid,
  .split.legacy.reverse { direction: ltr; }
}

.split-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split-img:hover img { transform: scale(1.05); }

.split-content h2 { margin-bottom: 1.5rem; }
.split-content .lead { margin-bottom: 1.5rem; }

@media (max-width: 880px) {
  .split-content { padding: 0; }
  .split-content h2 { margin-bottom: 1rem; }
}

.feature-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink);
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 0.5rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Service detail page specifics ---------- */
.svc-detail { padding: var(--section) 0; background: var(--paper); }
.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) { .svc-detail-grid { grid-template-columns: 1fr; } }

.svc-sidebar {
  position: sticky;
  top: 6rem;
  padding: 2rem;
  background: var(--cream);
  border-radius: var(--r-lg);
}
.svc-sidebar h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.svc-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 0.15rem; }
.svc-sidebar li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all var(--t-fast);
}
.svc-sidebar li a:hover { background: rgba(10,35,66,0.05); color: var(--ink); padding-left: 1.25rem; }
.svc-sidebar li a.active { background: var(--ink); color: var(--paper); }
.svc-sidebar li a.active:hover { background: var(--ink); }
.svc-sidebar li a .arr { width: 14px; opacity: 0.5; }

.svc-content h2 { margin-bottom: 1.25rem; }
.svc-content p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.svc-content h3 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; margin: 2.5rem 0; }
.gallery > div { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; }
.gallery > div img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery > div:hover img { transform: scale(1.05); }
@media (max-width: 880px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Pricing table ---------- */
.price-table {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  margin: 2rem 0;
}
.price-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 2fr;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background var(--t-fast);
}
.price-row:last-child { border-bottom: 0; }
.price-row.head {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.price-row:not(.head):hover { background: var(--cream); }
.price-row .grid-label { font-weight: 600; color: var(--ink); }
.price-row .price { font-weight: 500; color: var(--green); font-size: 1.05rem; }
.price-row .desc { font-size: 0.93rem; color: var(--ink-soft); }
@media (max-width: 880px) {
  .price-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .price-row.head { display: none; }
}

/* ---------- Page navigation (prev/next) ---------- */
.page-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: var(--section);
}
@media (max-width: 880px) { .page-nav { grid-template-columns: 1fr; } }
.page-nav a {
  background: var(--paper);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all var(--t-fast);
  position: relative;
}
.page-nav a:hover { background: var(--cream); }
.page-nav a.next { text-align: right; align-items: flex-end; }
.page-nav .nav-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.page-nav .nav-title {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: color var(--t-fast);
}
.page-nav a:hover .nav-title { color: var(--green); }

/* ---------- CTA dramatic ---------- */
.cta-band {
  position: relative;
  padding: var(--section) 0;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
}
.cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6); }
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(3,16,46,0.65) 0%, rgba(3,16,46,0.95) 100%);
}
.cta-band .container { position: relative; z-index: 2; text-align: center; }
.cta-band .eyebrow {
  color: var(--green-leaf);
  margin-bottom: 1.5rem;
  justify-content: center;
}
.cta-band .eyebrow::before { display: none; }
.cta-band h2 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 200;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--paper);
  max-width: 18ch;
  margin: 0 auto 2.5rem;
}
.cta-band h2 strong { color: var(--green-leaf); font-weight: 500; }
.cta-band .actions { display: inline-flex; gap: 0.85rem; flex-wrap: wrap; justify-content: center; }

/* ---------- Team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease);
}
.team-card:hover { transform: translateY(-4px); }
.team-avatar {
  aspect-ratio: 4 / 5;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--paper);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  position: relative;
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 1.35rem 1.5rem 1.6rem; }
.team-info h4 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.team-info .role {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

/* ---------- Values cards ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
@media (max-width: 880px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  padding: 2.25rem;
  border-radius: var(--r-lg);
  background: var(--cream);
  position: relative;
  border: 1px solid var(--line);
  transition: all var(--t-fast) var(--ease);
}
.value-card:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-4px); }
.value-card:hover h4, .value-card:hover p { color: inherit; }
.value-card:hover .value-num { color: var(--green-leaf); }
.value-num {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 1.5rem;
  display: block;
  letter-spacing: 0.08em;
}
.value-card h4 {
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 0.85rem;
  line-height: 1.15;
}
.value-card p { font-size: 0.96rem; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { padding: 2.5rem; background: var(--ink); color: var(--paper); border-radius: var(--r-lg); }
.contact-info h3 { color: #fff; font-size: 1.7rem; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.contact-info > p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-item:last-child { border-bottom: 0; }
.contact-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: var(--green-leaf);
}
.contact-item-text strong { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 0.3rem; }
.contact-item-text span { color: var(--paper); font-size: 1rem; }

.contact-form { background: var(--cream); border-radius: var(--r-lg); padding: 2.5rem; }
.form-row { margin-bottom: 1.15rem; }
.form-row label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(90,125,58,0.12);
}
.form-row textarea { resize: vertical; min-height: 120px; font-family: inherit; }

.map-wrap { aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 3rem; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.05); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 32px -10px rgba(37,211,102,0.5);
  z-index: 50;
  transition: transform var(--t-fast) var(--ease);
  animation: floatPulse 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 14px 32px -10px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 14px 32px -10px rgba(37,211,102,0.5), 0 0 0 20px rgba(37,211,102,0); }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-brand .logo { margin-bottom: 1.5rem; display: block; }
.footer-brand .logo img { height: 42px; filter: brightness(0) invert(1); }
.footer-tag { font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.65); max-width: 32ch; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.75);
  transition: all var(--t-fast);
}
.footer-social a:hover { background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  transition: color var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-col a:hover { color: var(--green-leaf); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

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

/* ============================================
   CALCULADORA ROI
   ============================================ */
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .roi-grid { grid-template-columns: 1fr; } }

.roi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  backdrop-filter: blur(20px);
}
.roi-control { margin-bottom: 1.5rem; }
.roi-control label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.65rem;
}
.roi-control input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
.roi-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green-leaf);
  border: 3px solid var(--ink);
  cursor: grab;
  transition: transform var(--t-fast);
  box-shadow: 0 4px 12px rgba(125,214,71,0.5);
}
.roi-control input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.roi-control input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.25); }
.roi-control input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green-leaf);
  border: 3px solid var(--ink);
  cursor: grab;
}
.roi-value {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--green-leaf);
  letter-spacing: -0.01em;
}

.roi-results {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.roi-result {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.roi-result:last-child { border-bottom: 0; }
.roi-result-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  max-width: 60%;
}
.roi-result-value {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.roi-result.highlight {
  margin: 0.5rem -1rem;
  padding: 1.1rem 1rem;
  background: linear-gradient(90deg, rgba(125,214,71,0.15) 0%, rgba(125,214,71,0.04) 100%);
  border-radius: var(--r-sm);
  border: 1px solid rgba(125,214,71,0.25);
}
.roi-result.highlight .roi-result-value {
  font-size: 1.45rem;
  color: var(--green-leaf);
  font-weight: 600;
}

/* ============================================
   SLIDER ANTES/DEPOIS (compare)
   ============================================ */
.compare {
  max-width: 1100px;
  margin: 0 auto;
}
.compare-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  background: var(--ink);
  box-shadow: 0 24px 60px -20px rgba(10,35,66,0.3);
}
.compare-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare-clip {
  position: absolute;
  top: 0; left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  will-change: width;
}
.compare-clip .compare-img {
  width: calc(100% / 0.5);
  max-width: none;
}
.compare-handle {
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  will-change: left;
  z-index: 2;
}
.compare-handle-line {
  position: absolute;
  inset: 0;
  background: #fff;
  box-shadow: 0 0 16px rgba(0,0,0,0.4);
}
.compare-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: grab;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: transform var(--t-fast);
}
.compare-handle-btn:hover { transform: translate(-50%,-50%) scale(1.1); }
.compare-handle-btn:active { cursor: grabbing; transform: translate(-50%,-50%) scale(0.95); }
.compare-tag {
  position: absolute;
  top: 1.25rem;
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  border-radius: var(--r-full);
  z-index: 3;
}
.compare-tag-left { left: 1.25rem; }
.compare-tag-right { right: 1.25rem; }

/* ============================================
   CARROSSEL DE DEPOIMENTOS
   ============================================ */
.testimonials {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}
.testimonial {
  display: none;
  text-align: center;
  padding: 0 1rem;
  animation: testiFade 0.6s var(--ease);
}
.testimonial.active { display: block; }
@keyframes testiFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.testimonial-quote {
  margin: 0 auto 1.5rem;
  display: block;
  opacity: 0.85;
}
.testimonial-text {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 2.5rem;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}
.testimonial-avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 500;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.testimonial-author strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.testimonial-author span {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}
.testimonial-nav {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
.testi-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--paper);
  display: grid;
  place-items: center;
  transition: all var(--t-fast) var(--ease);
}
.testi-btn:hover { background: var(--green); border-color: var(--green); transform: scale(1.05); }
.testi-dots {
  display: flex;
  gap: 0.5rem;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all var(--t-fast);
  border: 0;
  padding: 0;
}
.testi-dot.active { background: var(--green-leaf); width: 32px; border-radius: 999px; }

/* ============================================
   BLOG / CARDS DE ARTIGO
   ============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 880px) { .articles-grid { grid-template-columns: 1fr; } }

.article-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all var(--t-fast) var(--ease);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(10,35,66,0.18);
  border-color: var(--green);
}
.article-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.article-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.article-card:hover .article-img img { transform: scale(1.08); }
.article-body {
  padding: 1.75rem 1.85rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }
.article-cat { color: var(--green); font-weight: 600; }
.article-card h3 {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.article-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  flex: 1;
}
.article-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--t-fast);
}
.article-link:hover { gap: 0.75rem; }

/* Artigo individual */
.article-hero {
  padding: 9rem 0 5rem;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.article-hero .container { max-width: 820px; }
.article-hero .article-meta { margin-bottom: 1.5rem; justify-content: flex-start; }
.article-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.article-hero .lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.article-content { padding: 4rem 0; background: var(--paper); }
.article-content .container { max-width: 760px; }
.article-content > .container > * + * { margin-top: 1.5rem; }
.article-content h2 {
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 3rem !important;
}
.article-content h3 {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 2rem !important;
}
.article-content p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.article-content ul, .article-content ol { padding-left: 1.5rem; }
.article-content li { margin: 0.5rem 0; line-height: 1.7; color: var(--ink-soft); }
.article-content blockquote {
  border-left: 3px solid var(--green);
  padding: 1rem 0 1rem 1.5rem;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 2rem 0 !important;
}

/* ============================================
   GLOSSÁRIO
   ============================================ */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 880px) { .glossary-grid { grid-template-columns: 1fr; } }
.glossary-card {
  padding: 1.85rem 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease);
}
.glossary-card:hover { border-color: var(--green); background: #fff; transform: translateY(-2px); }
.glossary-card .term {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
  display: block;
}
.glossary-card h4 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.65rem;
}
.glossary-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.glossary-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.glossary-filter button {
  padding: 0.5rem 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all var(--t-fast);
  cursor: pointer;
}
.glossary-filter button:hover { background: var(--cream-deep); }
.glossary-filter button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ============================================
   CASES
   ============================================ */
.case-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 3rem;
}
@media (max-width: 640px) { .case-hero-stats { grid-template-columns: 1fr; } }
.case-stat {
  background: var(--cream);
  padding: 1.85rem 1.5rem;
}
.case-stat .num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.case-stat .label {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- FAQ details/summary ---------- */
details {
  transition: all var(--t-fast) var(--ease);
}
details:hover { border-color: var(--line-strong) !important; }
details[open] {
  background: #fff !important;
  border-color: var(--green) !important;
  box-shadow: 0 8px 24px -12px rgba(10, 35, 66, 0.15);
}
details summary {
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--green);
  transition: transform var(--t-fast) var(--ease);
}
details[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}

/* ============================================
   TICKER MERCADO & CLIMA (faixa horizontal)
   ============================================ */
.ticker-band {
  display: flex;
  align-items: stretch;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: background var(--t-fast);
}
.ticker-band:hover { background: var(--navy-darker); }
.ticker-fixed {
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  background: var(--green);
  flex-shrink: 0;
  z-index: 2;
}
.ticker-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  white-space: nowrap;
}
.ticker-scroll {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  display: flex;
  align-items: center;
  scrollbar-width: none;
}
.ticker-scroll::-webkit-scrollbar { display: none; }
.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
.ticker-item strong {
  color: #fff;
  font-weight: 600;
  font-family: var(--mono);
}
.ti-icon { font-size: 1rem; }
.ti-change {
  font-family: var(--mono);
  font-size: 0.76rem;
  padding: 0.1rem 0.4rem;
  border-radius: var(--r-full);
}
.ti-change.up { color: #7DD647; }
.ti-change.down { color: #FF8A7A; }
.ticker-sep { color: rgba(255,255,255,0.25); }
.ticker-cta {
  color: var(--green-leaf);
  font-weight: 500;
}
@media (max-width: 640px) {
  .ticker-label { font-size: 0.62rem; }
  .ticker-fixed { padding: 0 0.85rem; }
  .ticker-item { font-size: 0.8rem; }
}

/* ============================================
   WEATHER BLOCK ELEGANTE (página cotações)
   ============================================ */
.weather-block {
  max-width: 860px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.weather-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6BA6FF 0%, var(--green) 60%, var(--orange) 100%);
}
.weather-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.weather-block-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--green);
}
.weather-block-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: w-pulse 1.6s ease-in-out infinite;
}
@keyframes w-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(125,214,71,0.6); }
  50% { opacity: 0.7; transform: scale(0.85); box-shadow: 0 0 0 8px rgba(125,214,71,0); }
}
.weather-block-updated {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

/* Search field bonito */
.weather-search-pretty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  margin-bottom: 2rem;
  transition: all var(--t-fast);
}
.weather-search-pretty:focus-within {
  border-color: var(--green);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(125,214,71,0.1);
}
.weather-search-icon { color: var(--muted); flex-shrink: 0; }
.weather-search-pretty input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.7rem 0.5rem;
  outline: none;
  min-width: 0;
}
.weather-search-pretty input::placeholder { color: var(--muted); }
.weather-search-pretty button {
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.4rem;
  border-radius: var(--r-full);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.weather-search-pretty button:hover {
  background: var(--green);
}

/* Card principal do clima */
.weather-card-hero {
  background: linear-gradient(135deg, #F0F7FA 0%, rgba(125,214,71,0.06) 100%);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 640px) {
  .weather-card-hero { grid-template-columns: 1fr; gap: 1.25rem; }
}
.weather-card-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.weather-card-icon {
  font-size: 5rem;
  line-height: 1;
  flex-shrink: 0;
}
.weather-card-temp-block { min-width: 0; }
.weather-card-temp {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.weather-card-unit {
  font-size: 0.4em;
  font-weight: 400;
  margin-top: 0.3em;
  color: var(--ink-soft);
}
.weather-card-city {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.weather-card-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.weather-card-minmax {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255,255,255,0.6);
  border-radius: var(--r-md);
  backdrop-filter: blur(8px);
}
.wcm-item { display: flex; flex-direction: column; gap: 0.15rem; align-items: center; }
.wcm-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.wcm-value {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.wcm-divider {
  width: 1px;
  height: 30px;
  background: var(--line);
}

/* Semana */
.weather-week-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.weather-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}
.weather-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 0.4rem;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}
.weather-day:hover {
  background: var(--paper);
  border-color: var(--line);
  transform: translateY(-2px);
}
.weather-day-name {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.weather-day-icon { font-size: 1.45rem; line-height: 1; }
.weather-day-temp {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  line-height: 1.3;
}
.weather-day-rain {
  font-size: 0.65rem;
  color: #2563EB;
  font-family: var(--mono);
  font-weight: 500;
  min-height: 14px;
}
@media (max-width: 640px) {
  .weather-week { grid-template-columns: repeat(4, 1fr); }
  .weather-day:nth-child(n+5) { display: none; }
}

/* ============================================
   PÁGINA DE COTAÇÕES - DÓLAR CARD + FONTES
   ============================================ */

/* Card grande do dólar */
.dolar-card {
  background: linear-gradient(135deg, #0A2342 0%, #1a3e6b 60%, #2D7A2D 100%);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px -16px rgba(10,35,66,0.25);
}
.dolar-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(125,214,71,0.18), transparent 60%);
  pointer-events: none;
}
.dolar-card-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}
.dolar-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #7DD647;
  animation: dolar-pulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(125,214,71,0.6);
}
@keyframes dolar-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(125,214,71,0.6); }
  50% { opacity: 0.6; box-shadow: 0 0 0 10px rgba(125,214,71,0); }
}
.dolar-card-value {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.dolar-prefix {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
}
.dolar-amount {
  font-family: var(--sans);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.dolar-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.dolar-change {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0.8rem;
  background: rgba(255,255,255,0.12);
  border-radius: var(--r-full);
}
.dolar-change.up { color: #7DD647; background: rgba(125,214,71,0.18); }
.dolar-change.down { color: #FF8A7A; background: rgba(255,138,122,0.18); }
.dolar-updated {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.dolar-card-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
}
.dce-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.dce-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.dce-value {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 560px) {
  .dolar-card-extra { grid-template-columns: 1fr; gap: 0.5rem; }
  .dce-item { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .dce-item:last-child { border-bottom: 0; }
}

/* Blocos de fontes oficiais */
.fonte-bloco {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
}
.fonte-bloco-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.fonte-icon {
  font-size: 2.4rem;
  line-height: 1;
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border-radius: var(--r-md);
  flex-shrink: 0;
}
.fonte-bloco-header h3 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.1rem;
}
.fonte-bloco-header p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}
.fontes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
}
.fonte-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
  position: relative;
}
.fonte-card:hover {
  background: var(--paper);
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -12px rgba(10,35,66,0.15);
}
.fc-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.fc-desc {
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.45;
  flex: 1;
}
.fc-link {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green);
  margin-top: 0.3rem;
}
.fonte-card:hover .fc-link { color: var(--green-leaf); }

/* Aviso honesto */
.aviso-honesto {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, rgba(125,214,71,0.06) 0%, rgba(10,35,66,0.04) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-top: 1rem;
}
.aviso-icon {
  font-size: 1.8rem;
  font-family: serif;
  font-style: italic;
  font-weight: 700;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  flex-shrink: 0;
}
.aviso-conteudo strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.aviso-conteudo p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 560px) {
  .aviso-honesto { flex-direction: column; gap: 0.85rem; padding: 1.25rem; }
}

/* ============================================
   PÁGINA DE COTAÇÕES
   ============================================ */
.cotacoes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.cotacao-widget-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cotacao-widget-card .cwc-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cotacao-widget-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cwc-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  padding: 0.3rem 0.7rem;
  background: rgba(125,214,71,0.1);
  border-radius: var(--r-full);
}
.cotacao-widget-card .cwc-body { padding: 0; min-height: 200px; }
.tradingview-widget-container { width: 100%; }

/* ============================================
   MOBILE FIXES — não toque sem testar
   ============================================ */
@media (max-width: 880px) {
  /* Reduzir paddings absurdos em mobile */
  :root { --section: clamp(3.5rem, 9vw, 5rem); }
  
  /* Logo menor em mobile pra caber no header com botão menu */
  .header { padding: 0.75rem 0; }
  .logo img { height: 32px !important; }
  
  /* Botão menu sempre visível */
  .header-actions { gap: 0.5rem; }
  
  /* Garantir que cards não estouram a tela */
  .svc-card, .value-card, .article-card, .glossary-card, .testi-card {
    max-width: 100%;
  }
  
  /* Reduzir tamanho de números colossais */
  .stat-num { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .display-1 { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .display-2 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .display-3 { font-size: clamp(1.6rem, 6vw, 2.3rem); }
  
  /* ROI calculator compacta */
  .roi-card { padding: 1.5rem 1.25rem; }
  .roi-value { font-size: 1.15rem; }
  .roi-result-value { font-size: 0.98rem; }
  .roi-result.highlight .roi-result-value { font-size: 1.15rem; }
  .roi-result-label { font-size: 0.82rem; max-width: 55%; }
  
  /* Compare slider — bigger touch target */
  .compare-handle-btn { width: 60px; height: 60px; }
  .compare-tag { font-size: 0.62rem; padding: 0.4rem 0.7rem; top: 0.85rem; }
  .compare-tag-left { left: 0.85rem; }
  .compare-tag-right { right: 0.85rem; }
  
  /* Carrossel mobile */
  .testimonial-text { font-size: 1.1rem; line-height: 1.5; }
  
  /* Galeria stack */
  .gallery { grid-template-columns: 1fr !important; }
  
  /* Stats grid em 2 colunas em mobile, depois 1 */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr !important; }
  .case-hero-stats { grid-template-columns: 1fr !important; }
  .articles-grid { grid-template-columns: 1fr !important; }
  .values-grid { grid-template-columns: 1fr !important; }
  
  /* Marquee mais lento em telas pequenas */
  .marquee-track { font-size: 1.2rem; gap: 2rem; }
  
  /* FAQ mais compacto */
  details { padding: 1.15rem 1.25rem !important; }
  details summary { font-size: 1rem !important; }
  
  /* Botões full-width em mobile pra serem mais clicáveis */
  .hero-actions, .actions { width: 100%; }
  .hero-actions .btn, .actions .btn { flex: 1; justify-content: center; }
  
  /* Process steps com border-right removido em mobile */
  .step { border-right: 0 !important; padding-right: 0 !important; }
}

/* Touch device: desabilitar hovers pesados */
@media (hover: none) {
  .svc-card:hover .svc-card-img img { transform: none; }
  .split-img:hover img { transform: none; }
  .article-card:hover { transform: none; }
  .value-card:hover { transform: none; }
}

/* Reduzir animações Ken Burns em mobile (causa lag) */
@media (max-width: 880px) {
  .hero-bg img { animation: none !important; }
}
