@import url('../../assets/fonts/fonts.css');

:root {
  --canvas: #050505;
  --card-bg: rgba(18, 18, 20, 0.45);
  --glass-border-top: rgba(255, 255, 255, 0.2);
  --glass-border-left: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.05);
  --card-hover: rgba(30, 30, 35, 0.7);
  --red: #8c1a1a;
  --red-bright: #C8302A;
  --red-glow: rgba(200, 48, 42, 0.6);
  --text: #ffffff;
  --text-dim: #b8bcc0;
  --line: rgba(255, 255, 255, 0.08);

  /* Identidade visual oficial TecnoSimples */
  --ts-red: #7F0000;
  --ts-red-hover: #5C0000;
  --ts-gray: #808080;
  --ts-black: #000000;
  --ts-bg: #050505;
  --ts-white: #FFFFFF;

  /* Aliases para compatibilidade entre páginas */
  --surface: #0f0f11;
  --surface2: #1c1c1e;
  --muted: #b8bcc0;        /* alias para --text-dim */
  --border: rgba(255, 255, 255, 0.08); /* alias para --line */

  /* Novo: accent futurista para dados e tecnologia */
  --accent-data: #00d4ff;
  --accent-data-glow: rgba(0, 212, 255, 0.3);

  /* Fontes */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--canvas);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

/* Gradient mesh background sutil */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(ellipse at 15% 85%, rgba(230, 46, 46, 0.025) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(230, 46, 46, 0.018) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(100, 100, 120, 0.01) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.2;
}

h1 {
  line-height: 1.15;
}

p {
  line-height: 1.7;
}

/* Skip link de acessibilidade */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--red-bright);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* Classes utilitárias do Hero */
.hero-eyebrow {
  color: var(--red-bright);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  font-family: 'DM Sans', sans-serif;
}
.hero-headline {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.05;
  word-break: keep-all;
  hyphens: none;
  overflow-wrap: break-word;
}
.hero-sub {
  font-size: 1.3rem;
  color: var(--text-dim);
  max-width: 680px;
  margin-bottom: 3.5rem;
  line-height: 1.8;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}


/* Efeito de Texto Gradiente */
.text-gradient-red {
  background: linear-gradient(135deg, #e05555 0%, var(--red-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(230, 46, 46, 0.4);
}

.text-gradient-white {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* NAVBAR ULTRA GLASS */
nav.global-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 5%;
  background: rgba(5, 5, 5, 0.4);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

nav.global-nav .logo img {
  height: 112px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 0 transparent);
  image-rendering: -webkit-optimize-contrast;
}
nav.global-nav .logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.05em;
}

nav.global-nav .logo span {
  color: var(--red-bright);
}

nav.global-nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav.global-nav ul li a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav.global-nav ul li a:hover {
  color: #fff;
  text-shadow: 0 0 15px rgba(255,255,255,0.5);
}

nav.global-nav ul li a.active {
  color: #fff;
  font-weight: 700;
  position: relative;
}

nav.global-nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red-bright);
  border-radius: 2px;
}


/* BOTÕES PREMIUM */
.btn-primary {
  background-color: var(--ts-red);
  color: #fff !important;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255,100,100,0.3);
  box-shadow: 0 5px 20px rgba(127, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  display: inline-block;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Exceção: botões diretamente atrelados ao WhatsApp permanecem verdes */
a[href*="wa.me"].btn-primary {
  background-color: #25D366;
  border-color: rgba(37, 211, 102, 0.4);
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

a[href*="wa.me"].btn-primary:hover {
  background-color: #128C7E;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(230, 46, 46, 0.6), inset 0 1px 0 rgba(255,255,255,0.5);
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: #fff !important;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-block;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--red-bright);
  background: rgba(200, 48, 42, 0.08);
  box-shadow: 0 0 20px rgba(230, 57, 70, 0.15);
  color: #fff !important;
}

/* HERO SECTION - ASSIMÉTRICO ESQUERDA */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: flex-start;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  top: 0; right: 0;
  width: 55%; height: 100%;
  background-color: var(--canvas);
  background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?q=80&w=2034&auto=format&fit=crop');
  background-size: cover;
  background-position: left center;
  z-index: -2;
  mask-image: linear-gradient(to right, transparent 0%, black 50%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50%);
  opacity: 0.85;
}

/* Home: símbolo TS do logo como background do hero */
.hero-bg.home-brand {
  background-color: transparent !important;
  background-image: url('../../assets/images/logo-icon.png');
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0.12;
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

/* Red glow behind the text on the left */
.hero-glow-left {
  position: absolute;
  top: 50%; left: -10%;
  width: 600px; height: 600px;
  transform: translateY(-50%);
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 60%);
  z-index: -1;
  opacity: 0.5;
  filter: blur(60px);
}

.hero-grid {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  mask-image: linear-gradient(180deg, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 5% 0;
  animation: fadeRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Variant heights for different page types */
.hero-section.is-compact { min-height: 75vh; }
.hero-section.is-minimal { min-height: 65vh; }

/* Hero stats (e.g. BMS page) */
.hero-stats {
  margin-top: 5rem;
  padding-top: 3.5rem;
  padding-left: 5%;
  padding-right: 5%;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ts-red);
  line-height: 1;
}
.hero-stat-value span {
  color: var(--red-bright);
  font-size: 1rem;
  margin-left: 2px;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
  font-weight: 600;
}

/* TRUE GLASSMORPHISM CARDS COM SOMBRAS PROFUNDAS */
.glass-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(10,10,12,0.6) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  border-top: 1px solid var(--glass-border-top);
  border-left: 1px solid var(--glass-border-left);
  border-right: 1px solid rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(0,0,0,0.5);
  
  /* Sombras fortes exigidas pelo usuário */
  box-shadow: 0 25px 50px -12px rgba(0,0,0,1), 0 0 30px -5px rgba(230, 46, 46, 0.15), inset 0 0 0 1px var(--glass-highlight);
  
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px; width: 200px; height: 200px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  opacity: 0.3;
  transition: opacity 0.5s ease;
  z-index: 0;
  filter: blur(30px);
}

.glass-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: linear-gradient(135deg, var(--card-hover) 0%, rgba(20,20,22,0.8) 100%);
  border-top: 1px solid rgba(255,255,255,0.4);
  border-left: 1px solid rgba(255,255,255,0.2);
  /* Sombra intensificada no hover */
  box-shadow: 0 40px 70px -15px rgba(0,0,0,1), 0 0 50px rgba(230, 46, 46, 0.3);
}

.glass-card:hover::before {
  opacity: 0.8;
}

.glass-card h3, .glass-card p, .glass-card span {
  position: relative;
  z-index: 1;
}

/* Services Grid — reutilizável em todas as páginas */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* ─── BENTO BOX GRID (Home) ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2rem;
  min-height: 520px;
}
.bento-grid .glass-card {
  justify-content: space-between;
  padding-bottom: 2.5rem;
}
.bento-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.bento-large .bento-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-data);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.bento-medium:nth-of-type(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}
.bento-medium:nth-of-type(3) {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}
.bento-medium:nth-of-type(4) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
.bento-medium:nth-of-type(5) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }
  .bento-large {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .bento-medium:nth-of-type(2) {
    grid-column: 1 / 2;
    grid-row: auto;
  }
  .bento-medium:nth-of-type(3) {
    grid-column: 2 / 3;
    grid-row: auto;
  }
  .bento-medium:nth-of-type(4) {
    grid-column: 1 / 2;
    grid-row: auto;
  }
  .bento-medium:nth-of-type(5) {
    grid-column: 2 / 3;
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-large,
  .bento-medium:nth-of-type(2),
  .bento-medium:nth-of-type(3),
  .bento-medium:nth-of-type(4),
  .bento-medium:nth-of-type(5) {
    grid-column: 1 / 2;
  }
}

/* Card CTA link style */
.card-cta {
  margin-top: 2rem;
  color: var(--red-bright);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.glass-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.glass-card h3::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 15px var(--red-bright), 0 0 30px var(--red-bright);
}

.glass-card p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.85;
  flex-grow: 1;
}

/* CONTAINERS */
main.container {
  padding: 8rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  color: var(--red-bright);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(230, 46, 46, 0.3);
}

.section-subtitle {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 5rem;
  color: #fff;
}

/* SEÇÃO DE PROVA VISUAL */
.visual-proof {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
  margin-top: 10rem;
  margin-bottom: 8rem;
  background: rgba(10,10,12,0.4);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 5rem 4rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

/* BLOCO DE TESE / MANIFESTO (texto puro, sem imagem) */
.statement {
  display: block;
  text-align: center;
  margin-top: 6rem;
  margin-bottom: 6rem;
  background: rgba(10,10,12,0.4);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 5rem 4rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.statement::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
  opacity: 0.5;
}

.visual-proof::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
  opacity: 0.5;
}

.visual-proof-img-container {
  position: relative;
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  box-shadow: 0 30px 60px rgba(0,0,0,0.9);
}

.visual-proof-img {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.9);
}

/* KEYFRAMES */
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ────────────────────────────────
   FOOTER COMPLETO (padrão global)
   ──────────────────────────────── */
footer.global-footer {
  background: #020202;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 5% 3rem;
  align-items: start;
}

.footer-brand .logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.05em;
}

.footer-brand .logo img {
  height: 56px;
  width: auto;
}

.footer-brand .logo span { color: var(--red-bright); }

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.link-group { display: flex; flex-direction: column; gap: 0.8rem; }

.link-group h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.link-group a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.link-group a:hover { color: var(--red-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 5% 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

.footer-info {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-dim);
}

.footer-copy { color: var(--text-dim); }

/* ────────────────────────────────
   HAMBURGER MENU MOBILE
   ──────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: transparent;
  border: none;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animação X ao abrir */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ────────────────────────────────
   MEDIA QUERIES RESPONSIVOS
   ──────────────────────────────── */
@media (max-width: 1000px) {
  .hero-bg {
    width: 100%;
    mask-image: linear-gradient(180deg, transparent 0%, black 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 100%);
    opacity: 0.4;
  }
  .hero-content {
    text-align: center;
    padding-top: 4rem;
  }
  .hero-actions { justify-content: center; }
  .visual-proof {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 5% 2rem;
  }
}

/* ─── HERO MOBILE REDESENHADO ─── */
@media (max-width: 768px) {
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.hero-canvas.is-ready {
  opacity: 0.4;
}

.hero-section {
    min-height: auto;
    padding: 6rem 0 3rem;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
  }
  .hero-bg {
    position: relative;
    width: 100%;
    height: 280px;
    mask-image: none;
    -webkit-mask-image: none;
    opacity: 0.6;
    order: 2;
    margin-top: 2rem;
    border-radius: 16px;
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
  }
  .hero-glow-left {
    width: 300px;
    height: 300px;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
  }
  .hero-content {
    text-align: center;
    padding: 0 5%;
    order: 1;
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-headline {
    font-size: clamp(2.2rem, 8vw, 3rem) !important;
  }
  .hero-sub {
    font-size: 1.1rem;
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Nav mobile */
  .nav-toggle { display: flex; }

  nav.global-nav {
    padding: 0.7rem 5% !important;
  }

  nav.global-nav .logo img {
    height: 80px !important;
  }

  nav.global-nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: rgba(5,5,5,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 6rem 2rem 2rem;
    border-left: 1px solid var(--line);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
  }

  nav.global-nav ul.open { right: 0; }

  nav.global-nav ul li { width: 100%; }
  nav.global-nav ul li a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  nav.global-nav ul li:last-child a { border-bottom: none; margin-top: 1.5rem; }
  nav.global-nav ul li:last-child a.btn-primary { padding: 0.8rem 2rem !important; display: inline-block; }

  /* Overlay */
  .nav-overlay {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-overlay.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

/* ────────────────────────────────
   LEAD CAPTURE MODAL
   ──────────────────────────────── */
.lead-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lead-modal-overlay.open {
  display: flex;
}

.lead-modal {
  background: rgba(14, 14, 16, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 3rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(230, 46, 46, 0.08);
  animation: modalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lead-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
.lead-modal-close:hover { color: #fff; }

.lead-modal-eyebrow {
  color: var(--red-bright);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
}

.lead-modal h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.lead-modal .lead-sub {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.lead-form { display: flex; flex-direction: column; gap: 1rem; }

.lead-form input,
.lead-form select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.lead-form input::placeholder { color: var(--text-dim); }

.lead-form input:focus,
.lead-form select:focus {
  border-color: rgba(230, 46, 46, 0.6);
  box-shadow: 0 0 0 3px rgba(230, 46, 46, 0.12);
}

.lead-form select { cursor: pointer; }
.lead-form select option { background: #111; }

.lead-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.lead-form .btn-primary {
  width: 100%;
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lead-form .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lead-security-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Success state */
.lead-success {
  display: none;
  text-align: center;
  padding: 1rem 0;
}
.lead-success.show { display: block; }
.lead-success .success-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.lead-success h4 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.lead-success p { color: var(--text-dim); font-size: 0.95rem; }

@media (max-width: 600px) {
  .lead-modal { padding: 2rem 1.5rem; }
  .lead-form-row { grid-template-columns: 1fr; }
}

/* ────────────────────────────────
   UTILITÁRIAS PREMIUM
   ──────────────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mt-6 { margin-top: 6rem; }
.mt-8 { margin-top: 8rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-6 { margin-bottom: 6rem; }
.mb-8 { margin-bottom: 8rem; }
.py-8 { padding-top: 8rem; padding-bottom: 8rem; }
.px-5 { padding-left: 5%; padding-right: 5%; }
.max-w-600 { max-width: 600px; }
.max-w-800 { max-width: 800px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* ────────────────────────────────
   TIPOGRAFIA MONoespaçada
   ──────────────────────────────── */
.font-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ────────────────────────────────
   SCROLL-TRIGGERED REVEALS
   ──────────────────────────────── */
.reveal, .reveal-up, .reveal-fade, .reveal-scale {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-up {
  transform: translateY(40px);
}
.reveal-fade {
  transform: translateY(0);
}
.reveal-scale {
  transform: scale(0.96);
}
.reveal.is-visible,
.reveal-up.is-visible,
.reveal-fade.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays para grids */
.services-grid .reveal-up:nth-child(1) { transition-delay: 0ms; }
.services-grid .reveal-up:nth-child(2) { transition-delay: 100ms; }
.services-grid .reveal-up:nth-child(3) { transition-delay: 200ms; }
.services-grid .reveal-up:nth-child(4) { transition-delay: 300ms; }

/* ────────────────────────────────
   READING PROGRESS BAR
   ──────────────────────────────── */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-bright), var(--accent-data));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--red-glow);
}

/* ────────────────────────────────
   FLOATING WHATSAPP BUTTON
   ──────────────────────────────── */
.float-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 998;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}
.float-whatsapp.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}
.float-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}
.float-whatsapp::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: pulse-whatsapp 2s ease-out infinite;
}
@keyframes pulse-whatsapp {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ────────────────────────────────
   BREADCRUMB NAVIGATION
   ──────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}
.breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--accent-data);
}
.breadcrumb .sep {
  color: var(--red-bright);
  font-weight: 700;
}
.breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

/* ────────────────────────────────
   GRAIN TEXTURE OVERLAY
   ──────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: overlay;
}

/* ────────────────────────────────
   ACCENT DATA UTILITIES
   ──────────────────────────────── */
.text-data { color: var(--accent-data); }
.text-data-glow {
  color: var(--accent-data);
  text-shadow: 0 0 20px var(--accent-data-glow);
}
.border-data { border-color: var(--accent-data); }
.bg-data { background: var(--accent-data); }

/* ────────────────────────────────
   LIVe COUNTER ANIMATION
   ──────────────────────────────── */
.counter-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ────────────────────────────────
   LIVE DASHBOARD DEMO
   ──────────────────────────────── */
.dashboard-demo {
  background: linear-gradient(135deg, rgba(10,10,14,0.9) 0%, rgba(5,5,7,0.95) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.dashboard-demo::before {
  content: 'DEMONSTRAÇÃO INTERATIVA';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red-bright);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(230, 46, 46, 0.3);
}
.dashboard-demo::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-data), var(--red-bright), transparent);
  opacity: 0.6;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.dash-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.status-dot {
  width: 8px; height: 8px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 10px #25D366;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.dash-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
  transition: border-color 0.3s, background 0.3s;
}
.dash-card:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
}
.dash-wide {
  grid-column: 1 / 3;
}
.dash-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}
.dash-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  font-variant-numeric: tabular-nums;
}
.dash-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.dash-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s ease;
}
.dash-pills {
  display: flex;
  gap: 0.4rem;
}
.dash-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--text-dim);
}
.dash-pill.active {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
  color: #25D366;
}
.dash-event {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.dash-event-time {
  color: var(--accent-data);
  font-size: 0.75rem;
  white-space: nowrap;
  margin-top: 0.1rem;
}
@media (max-width: 768px) {
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .dash-wide { grid-column: 1 / 3; }
  .dashboard-demo { padding: 1.2rem; }
}
@media (max-width: 480px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-wide { grid-column: 1 / 2; }
}

/* ────────────────────────────────
   TESTIMONIAL CAROUSEL
   ──────────────────────────────── */
.testimonial-section { padding: 8rem 5%; border-top: 1px solid var(--line); }
.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-slide {
  min-width: 100%;
  padding: 2rem;
  box-sizing: border-box;
}
.testimonial-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(10,10,12,0.6) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-top: 1px solid var(--glass-border-top);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--red-bright);
  opacity: 0.2;
  line-height: 1;
}
.testimonial-quote {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}
.testimonial-info { text-align: left; }
.testimonial-name { font-weight: 700; color: #fff; font-size: 1rem; }
.testimonial-role { font-size: 0.85rem; color: var(--text-dim); }
.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.testimonial-dot.active { background: var(--red-bright); transform: scale(1.2); }
.testimonial-arrows {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.testimonial-arrow {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.testimonial-arrow:hover { border-color: var(--red-bright); background: rgba(230,46,46,0.1); }

/* ────────────────────────────────
   BEFORE / AFTER SLIDER
   ──────────────────────────────── */
.before-after {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
  user-select: none;
}
.before-after-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}
.before-after-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
}
.before-after-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.before-after-label {
  position: absolute;
  top: 1.5rem;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.before-after-label.before {
  left: 1.5rem;
  background: rgba(0,0,0,0.7);
  color: var(--text-dim);
  border: 1px solid var(--line);
}
.before-after-label.after {
  right: 1.5rem;
  background: rgba(230,46,46,0.15);
  color: var(--red-bright);
  border: 1px solid rgba(230,46,46,0.3);
}
.before-after-slider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--red-bright);
  cursor: ew-resize;
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(230,46,46,0.5);
}
.before-after-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--red-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(230,46,46,0.6);
  cursor: ew-resize;
}
.before-after-handle svg {
  width: 18px; height: 18px;
  stroke: #fff; stroke-width: 2.5;
}
@media (max-width: 768px) {
  .before-after-img { height: 350px; }
  .before-after-label { font-size: 0.6rem; padding: 0.3rem 0.7rem; }
}

/* ─── ACESSIBILIDADE: REDUCED MOTION ─── */
/* ── CARDS DE SERVIÇO / PILARES — HOVER EFFECT REFINADO ── */
.services-grid > .glass-card,
.bento-grid > .glass-card {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
  will-change: transform;
}

.services-grid > .glass-card:hover,
.bento-grid > .glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(230, 57, 70, 0.15);
  border-color: rgba(230, 57, 70, 0.25);
}

/* ========== MELHORAR LEGIBILIDADE DOS H1 DOS HEROS ========== */
.hero-headline,
.hero-section h1 {
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  transform: scaleX(1) !important;
  font-stretch: normal !important;
}

/* Remover gradiente de spans dentro do H1 do hero */
.hero-headline span,
.hero-section h1 span {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
}

/* Destaque em vermelho apenas em palavras-chave (.text-gradient-red, strong) */
.hero-headline .text-gradient-red,
.hero-section h1 .text-gradient-red,
.hero-headline strong,
.hero-section h1 strong {
  color: var(--red-bright) !important;
  -webkit-text-fill-color: var(--red-bright) !important;
  font-weight: 600 !important;
}

/* ========== REMOVER BOTAO "FALAR COM ESPECIALISTA" DO NAV ========== */
/* O botao flutuante de WhatsApp (.float-whatsapp) ja existe — este eh redundante */
nav.global-nav ul li:has(> a[href*="wa.me"]) {
  display: none !important;
}


/* Padronizar todos os ícones de check */
.impl-points li::before,
.check-icon,
.icon-check,
.check svg,
.check i,
.checkmark,
[class*="check"] svg,
[class*="check"] i,
ul li .icon {
  color: var(--red-bright) !important;
  fill: var(--red-bright) !important;
  stroke: var(--red-bright) !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-content { animation: none; opacity: 1; transform: none; }
  .reveal, .reveal-up, .reveal-fade, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
  .float-whatsapp::after { animation: none; }
}

/* === Sprint 2 — Sistema de ícones Phosphor === */
.ph,
i[class^="ph-"],
i[class*=" ph-"] {
  font-size: 2rem;
  color: var(--ts-red);
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

/* Tamanho compacto para listas de features */
.feature-list .ph,
.feature-list i[class^="ph-"] {
  font-size: 1.25rem;
}

/* Tamanho maior para diagramas e cards-âncora */
.diagram-icon .ph,
.diagram-icon i[class^="ph-"] {
  font-size: 2.5rem;
}

/* Variação neutra para ícones sem peso de alerta */
.ph.icon-neutral,
i[class^="ph-"].icon-neutral {
  color: var(--ts-gray);
}

/* === Sprint 2 — Link de texto no hero === */
.btn-link-arrow {
  background: none;
  border: none;
  padding: 0.5rem 0;
  color: var(--ts-white);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s ease;
}

.btn-link-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn-link-arrow:hover {
  opacity: 0.8;
}

.btn-link-arrow:hover::after {
  transform: translateX(4px);
}

/* === Sprint 2 — Hover state premium === */

/* Botão primário: elevação + brilho sutil + transição com easing */
.btn-primary {
  transition:
    background-color 0.25s ease-in-out,
    transform 0.25s ease-in-out,
    box-shadow 0.25s ease-in-out;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(127, 0, 0, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(127, 0, 0, 0.15);
}

/* Cards de solução: borda acende em vermelho + leve elevação */
.solucoes-grid .card,
.solucoes-grid a.card,
[class*="card-solucao"] {
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.solucoes-grid .card:hover,
.solucoes-grid a.card:hover,
[class*="card-solucao"]:hover {
  border-color: var(--ts-red);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* Indicador de clique nos cards: seta sutil */
.solucoes-grid .card::after,
[class*="card-solucao"]::after {
  content: "→";
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--ts-red);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.solucoes-grid .card:hover::after,
[class*="card-solucao"]:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Garantir position: relative nos cards para o ::after */
.solucoes-grid .card,
[class*="card-solucao"] {
  position: relative;
}

/* === Sprint 2 — Focus state premium === */

/* Reset do outline padrão em todos os elementos interativos */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
  outline: none;
}

/* Focus visível premium para navegação por teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ts-red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Em inputs de formulário, focus reforça borda em vez de outline */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ts-red);
  outline-offset: 0;
  border-color: var(--ts-red);
}

/* === Sprint 2 — Scroll reveals === */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

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

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

.form-helper-text {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--ts-gray);
  text-align: center;
  font-style: normal;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ts-red);
  font-style: italic;
}

/* === Sprint 2 patch — Grid 4 cards fixo === */
.cards-4-fixed {
  grid-template-columns: 1fr;
}

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

@media (min-width: 1280px) {
  .cards-4-fixed {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === S2-T15 — Telefone no footer === */
.footer-contact {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--ts-gray);
}

.footer-contact a {
  color: var(--ts-white);
  text-decoration: none;
  border-bottom: 1px solid var(--ts-red);
  padding-bottom: 1px;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--ts-red);
}

.footer-contact-phone {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--ts-gray);
}

.footer-contact-phone a {
  color: var(--ts-white);
  text-decoration: none;
  border-bottom: 1px solid var(--ts-red);
  padding-bottom: 1px;
  transition: color 0.2s ease;
}

.footer-contact-phone a:hover {
  color: var(--ts-red);
}

/* === Sprint 4 — BMS problems-footer === */
.problems-footer-headline {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #fff;
}

.problems-bridge {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  margin: 0 auto;
}


/* ═══════════════════════════════════════════════════════════════
   NOVA HOME — SEÇÕES ADICIONAIS (Brief 2026-05-14)
   ═══════════════════════════════════════════════════════════════ */

/* Container padronizado para seções da Home */
.home-section {
  padding: 8rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.home-section + .home-section {
  border-top: 1px solid var(--line);
}

.home-hero {
  isolation: isolate;
}



.hero-scope-line {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 700px;
  line-height: 1.75;
  font-weight: 400;
  text-wrap: pretty;
}

.home-section-title {
  margin-bottom: 1.5rem;
}

.home-section-title-wide {
  margin-bottom: 2rem;
}

.home-section-copy {
  font-size: 1.12rem;
  color: var(--text-dim);
  max-width: 820px;
  line-height: 1.85;
  margin-bottom: 4rem;
  text-wrap: pretty;
}

.home-section-copy-spacious {
  font-size: 1.15rem;
}

/* ─── SEÇÃO 2: POSICIONAMENTO TÉCNICO (5 PILARES) ─── */
/* Layout 3+2 centralizado em 6 colunas: 3 cards na linha 1, 2 cards centralizados na linha 2 */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.pilar-card {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(10,10,12,0.6) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem 1.8rem;
  border-radius: 16px;
  border-top: 1px solid var(--glass-border-top);
  border-left: 1px solid var(--glass-border-left);
  border-right: 1px solid rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(0,0,0,0.5);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8), inset 0 0 0 1px var(--glass-highlight);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pilar-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.pilar-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.pilar-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  opacity: 0.2;
  transition: opacity 0.5s ease;
  z-index: 0;
  filter: blur(30px);
}

.pilar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 60px -15px rgba(0,0,0,0.9), 0 0 40px rgba(200,48,42,0.15);
}

.pilar-card:hover::before {
  opacity: 0.6;
}

.pilar-card h3,
.pilar-card p {
  position: relative;
  z-index: 1;
}

.pilar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 1.25rem;
  overflow-wrap: break-word;
}

.pilar-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-bright);
}

.pilar-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

/* ─── SEÇÃO 3: VERTICAIS DE ATUAÇÃO ─── */
.verticais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.vertical-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(10,10,12,0.6) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  border-top: 1px solid var(--glass-border-top);
  border-left: 1px solid var(--glass-border-left);
  border-right: 1px solid rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(0,0,0,0.5);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8), inset 0 0 0 1px var(--glass-highlight);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.vertical-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(160deg, rgba(200,48,42,0.08) 0%, rgba(200,48,42,0) 38%),
    linear-gradient(340deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 34%);
  pointer-events: none;
}

.vertical-card::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px; width: 200px; height: 200px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  opacity: 0.15;
  transition: opacity 0.5s ease;
  z-index: 0;
  filter: blur(30px);
}

.vertical-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 40px 70px -15px rgba(0,0,0,0.9), 0 0 50px rgba(200,48,42,0.2);
}

.vertical-card:hover::before {
  opacity: 0.7;
}

.vertical-card h3,
.vertical-card p,
.vertical-card .card-cta {
  position: relative;
  z-index: 1;
}

/* Variantes de tamanho */
.vertical-large {
  grid-column: 1 / 3;
  padding: 3.5rem 3rem;
}

/* Segunda linha: Empresas e Residencial ocupam 2 colunas cada para preencher */
.vertical-small {
  grid-column: span 2;
}

.vertical-large h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
}

.vertical-large p {
  font-size: 1.1rem;
  line-height: 1.85;
}

.vertical-medium {
  padding: 2.5rem 2rem;
}

.vertical-medium h3 {
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  margin-bottom: 1rem;
}

.vertical-medium p {
  font-size: 1rem;
  line-height: 1.8;
}

.vertical-small {
  padding: 2rem 1.8rem;
}

.vertical-small h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.vertical-small p {
  font-size: 0.95rem;
  line-height: 1.75;
}

.vertical-card h3 {
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 1.5rem;
  overflow-wrap: break-word;
}

.vertical-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 15px var(--red-bright), 0 0 30px var(--red-bright);
}

.vertical-card p {
  color: var(--text-dim);
  flex-grow: 1;
  overflow-wrap: break-word;
}

.vertical-detail {
  margin-top: 0.9rem;
}

.vertical-detail-compact {
  margin-top: 0.55rem;
}

/* ─── SEÇÃO 4: DESTAQUE PREDIAL ─── */
.predial-destaque {
  background: linear-gradient(180deg, rgba(140,26,26,0.04) 0%, transparent 60%);
}

.predial-texto {
  max-width: 800px;
  margin-bottom: 4rem;
}

.predial-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.predial-bloco {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(10,10,12,0.6) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 16px;
  border-top: 1px solid var(--glass-border-top);
  border-left: 1px solid var(--glass-border-left);
  border-right: 1px solid rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(0,0,0,0.5);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8), inset 0 0 0 1px var(--glass-highlight);
  position: relative;
  overflow: hidden;
}

.predial-bloco h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.predial-bloco p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.8;
  overflow-wrap: break-word;
}

.predial-indicadores {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.predial-indicador {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.predial-indicador::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 8px var(--red-bright);
}

/* ─── SEÇÃO 5: DESTAQUE DRIVERS ─── */
.drivers-destaque {
  background: linear-gradient(180deg, transparent 0%, rgba(0,212,255,0.02) 50%, transparent 100%);
}

.drivers-texto {
  max-width: 800px;
  margin-bottom: 3rem;
}

.driver-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.driver-point {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(10,10,12,0.6) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 16px;
  border-top: 1px solid var(--glass-border-top);
  border-left: 1px solid var(--glass-border-left);
  border-right: 1px solid rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(0,0,0,0.5);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8), inset 0 0 0 1px var(--glass-highlight);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.driver-point::before,
.predial-bloco::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(200,48,42,0.55) 0%, rgba(200,48,42,0) 65%);
  pointer-events: none;
}

.driver-point:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 55px -12px rgba(0,0,0,0.9), 0 0 40px rgba(0,212,255,0.08);
}

.driver-point h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.driver-point p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

/* ─── SEÇÃO 6: ENTREGA TECNOSIMPLES ─── */
.entrega-section {
  background: linear-gradient(180deg, rgba(140,26,26,0.03) 0%, transparent 100%);
  position: relative;
}

.entrega-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--red-bright) 50%, transparent 100%);
}

.entrega-bullets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.entrega-bullet {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.entrega-bullet:hover {
  border-color: rgba(200,48,42,0.3);
  background: rgba(200,48,42,0.04);
  transform: translateY(-4px);
}

.entrega-bullet svg {
  width: 32px;
  height: 32px;
  stroke: var(--red-bright);
  stroke-width: 2.5;
  fill: none;
  filter: drop-shadow(0 0 8px rgba(200, 48, 42, 0.35));
}

.entrega-bullet span {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

/* ─── SEÇÃO 7: CTA FINAL ─── */
.cta-final {
  background: linear-gradient(180deg, transparent 0%, rgba(140, 26, 26, 0.08) 100%);
  text-align: center;
  padding: 8rem 5%;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: auto 50% -180px auto;
  width: 520px;
  height: 520px;
  transform: translateX(50%);
  background: radial-gradient(circle, rgba(200,48,42,0.18) 0%, rgba(200,48,42,0) 70%);
  filter: blur(20px);
  pointer-events: none;
}

.cta-final .reveal-up,
.cta-final .cta-microcopy {
  position: relative;
  z-index: 1;
}

.cta-final-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.cta-final-copy {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  text-wrap: pretty;
}

.cta-final .btn-primary {
  padding: 1.2rem 4rem;
  font-size: 1.1rem;
  box-shadow: 0 10px 40px rgba(127, 0, 0, 0.4);
}

.cta-final .cta-microcopy {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-final .cta-microcopy span {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── RESPONSIVIDADE DAS NOVAS SEÇÕES ─── */
@media (max-width: 1280px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pilar-card,
  .pilar-card:nth-child(4),
  .pilar-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 1100px) {
  .verticais-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .vertical-large {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .vertical-small {
    grid-column: auto;
  }
  .driver-points {
    grid-template-columns: 1fr;
  }
  .entrega-bullets {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-section {
    padding: 5rem 5%;
  }
  .hero-scope-line {
    font-size: 1rem;
    max-width: 100%;
  }
  .home-section-copy,
  .home-section-copy-spacious {
    font-size: 1rem;
    margin-bottom: 3rem;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .verticais-grid {
    grid-template-columns: 1fr;
  }
  .vertical-large,
  .vertical-medium,
  .vertical-small {
    grid-column: 1 / 2;
    padding: 2rem 1.5rem;
  }
  .vertical-large h3,
  .vertical-medium h3,
  .vertical-small h3 {
    font-size: 1.2rem;
  }
  .predial-subgrid {
    grid-template-columns: 1fr;
  }
  .driver-points {
    grid-template-columns: 1fr;
  }
  .entrega-bullets {
    grid-template-columns: 1fr;
  }
  .cta-final .cta-microcopy {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .cta-final-copy {
    font-size: 1.05rem;
  }
  .predial-indicadores {
    justify-content: center;
  }
}


/* ─── INDUSTRIAL: PROBLEMAS E SERVIÇOS ─── */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.problem-block {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(10,10,12,0.6) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem 1.8rem;
  border-radius: 16px;
  border-top: 1px solid var(--glass-border-top);
  border-left: 1px solid var(--glass-border-left);
  border-right: 1px solid rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(0,0,0,0.5);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8), inset 0 0 0 1px var(--glass-highlight);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-block::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  opacity: 0.2;
  transition: opacity 0.5s ease;
  z-index: 0;
  filter: blur(30px);
}

.problem-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 60px -15px rgba(0,0,0,0.9), 0 0 40px rgba(200,48,42,0.15);
}

.problem-block:hover::before {
  opacity: 0.6;
}

.problem-block h3,
.problem-block p {
  position: relative;
  z-index: 1;
}

.problem-block h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 1.25rem;
  overflow-wrap: break-word;
}

.problem-block h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-bright);
}

.problem-block p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.service-pilar {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(10,10,12,0.6) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem 1.8rem;
  border-radius: 16px;
  border-top: 1px solid var(--glass-border-top);
  border-left: 1px solid var(--glass-border-left);
  border-right: 1px solid rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(0,0,0,0.5);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8), inset 0 0 0 1px var(--glass-highlight);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-pilar::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  opacity: 0.2;
  transition: opacity 0.5s ease;
  z-index: 0;
  filter: blur(30px);
}

.service-pilar:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 60px -15px rgba(0,0,0,0.9), 0 0 40px rgba(200,48,42,0.15);
}

.service-pilar:hover::before {
  opacity: 0.6;
}

.service-pilar h3,
.service-pilar p {
  position: relative;
  z-index: 1;
}

.service-pilar h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 1.25rem;
  overflow-wrap: break-word;
}

.service-pilar h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-bright);
}

.service-pilar p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

@media (max-width: 1280px) {
  .service-pilar {
    grid-column: auto;
  }
}

@media (max-width: 1100px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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