/*
  BR101 Soluções de Engenharia — CSS completo melhorado
  Design: Industrial-Técnico | Barlow Condensed + DM Sans
  Estrutura:
  1.  Variáveis e reset
  2.  Tipografia
  3.  Componentes globais (botões, eyebrow, container)
  4.  Header e navegação
  5.  Hero
  6.  Trust Strip
  7.  Sobre
  8.  Capacidade Industrial
  9.  Feature Project (Grandes Projetos)
  10. Soluções / Carousel
  11. Processo / Showcase
  12. Galeria / Portfólio
  13. Contato
  14. Footer
  15. Floating WhatsApp
  16. Animações e microinterações
  17. Responsivo
*/

/* ==========================================================
   1. VARIÁVEIS E RESET
========================================================== */
:root {
  /* Cores base */
  --navy:        #0b1220;
  --navy-dark:   #07101c;
  --navy-mid:    #101928;
  --navy-soft:   #162238;
  --navy-card:   #1a2840;

  /* Paleta de marca */
  --blue:        #1687d9;
  --blue-strong: #1f65ff;
  --cyan:        #56c7ff;
  --orange:      #f4611a;
  --orange-dark: #c94e10;

  /* Texto / neutros */
  --white:       #ffffff;
  --bg:          #f4f7fb;
  --bg-soft:     #eef3fa;
  --text:        #111827;
  --muted:       #34465c;
  --line:        #dde8f5;

  /* Sombras */
  --shadow-sm:   0 8px 28px rgba(16,25,40,0.06);
  --shadow-md:   0 16px 48px rgba(16,25,40,0.09);
  --shadow-lg:   0 28px 72px rgba(16,25,40,0.16);

  /* Radii */
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   26px;

  /* Ease */
  --ease:        cubic-bezier(0.22, 0.9, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', 'Segoe UI', Arial, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}

body.mobile-nav-open {
  overflow: hidden;
  touch-action: none;
}

a  { color: inherit; text-decoration: none; }
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ==========================================================
   2. TIPOGRAFIA
========================================================== */
h1, h2, h3 {
  font-family: 'Barlow Condensed', 'Arial Narrow', 'Segoe UI', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.97;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  margin-bottom: 28px;
}

h1 em {
  font-style: normal;
  color: var(--cyan);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 20px;
  line-height: 1.02;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

p { margin-top: 0; }

.section-copy {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.lead {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.lead.dark { color: rgba(215, 230, 250, 0.95); }

/* ==========================================================
   3. COMPONENTES GLOBAIS
========================================================== */
.container {
  width: min(1300px, calc(100% - 44px));
  margin-inline: auto;
}

.section { padding: 96px 0; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

.eyebrow.light { color: var(--cyan); }

/* Section title wrapper */
.section-title {
  max-width: 800px;
  margin-bottom: 40px;
}

.section-title.compact { margin-bottom: 0; }

/* Buttons */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  max-width: 100%;
  text-align: center;
}

.btn span {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

/* Shimmer sweep */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: translateX(-130%);
  transition: transform 0.5s ease;
}

.btn:hover { transform: translateY(-3px); }
.btn:hover::before { transform: translateX(130%); }

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 16px 38px rgba(31,101,255,0.32);
}

.btn-primary:hover {
  box-shadow: 0 22px 48px rgba(31,101,255,0.42);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.56);
  background: rgba(255,255,255,0.13);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(86,199,255,0.9);
  background: rgba(86,199,255,0.18);
}

/* Tilt / magnetic helpers */
.tilt-card  { transform-style: preserve-3d; will-change: transform; }
.magnetic   { will-change: transform; }

/* ==========================================================
   4. HEADER E NAVEGAÇÃO
========================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 800;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* Top bar */
.header-top {
  background: linear-gradient(90deg, var(--navy-dark), var(--navy-mid));
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 9px 0;
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(220,232,248,0.92);
  gap: 16px;
}

.header-top-contacts {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-top-inner a {
  color: rgba(200,215,235,0.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.header-top-inner a:hover { color: var(--cyan); }

.top-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.15);
  margin: 0 12px;
  display: inline-block;
  vertical-align: middle;
}

/* Main nav */
.nav {
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(10, 16, 30, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 22px;
  max-width: 100%;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 96px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover img {
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 26px rgba(86,199,255,0.25));
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(14px);
}

.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(200,215,235,0.8);
  white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav-links a.active {
  color: var(--cyan);
  background: rgba(86,199,255,0.1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-social a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(210,228,248,0.92);
  font-size: 1rem;
  background: rgba(255,255,255,0.05);
  transition: color 0.22s, background 0.22s, transform 0.22s;
}

.header-social a:hover {
  color: var(--cyan);
  background: rgba(86,199,255,0.1);
  transform: translateY(-2px);
}

.nav-button {
  display: inline-flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 10px 28px rgba(22,135,217,0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.nav-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(22,135,217,0.48);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 0.25s;
  flex: 0 0 auto;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(200,215,235,0.9);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.22s;
}

.menu-toggle:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* ==========================================================
   5. HERO
========================================================== */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  overflow: hidden;
  padding-top: 122px; /* header-top + nav */
  background: #060d1a;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.1) saturate(1.1);
  transform: scale(1.04);
}

/* Blueprint grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(86,199,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86,199,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Gradient overlays */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 75% 25%, rgba(86,199,255,0.14), transparent 30%),
    linear-gradient(95deg, rgba(6,13,26,0.72) 0%, rgba(6,13,26,0.32) 55%, rgba(6,13,26,0.16) 100%),
    linear-gradient(0deg, rgba(6,13,26,0.45) 0%, transparent 40%);
}

/* Decorative stripe */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  z-index: 3;
  background: linear-gradient(to bottom, var(--cyan), transparent 60%);
  opacity: 0.6;
}

.orb {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  filter: blur(3px);
  animation: float 7s ease-in-out infinite;
}

.orb-1 {
  top: 28%; right: 14%;
  width: 160px; height: 160px;
  background: rgba(86,199,255,0.18);
  opacity: 0.5;
}

.orb-2 {
  bottom: 20%; right: 38%;
  width: 80px; height: 80px;
  background: rgba(31,101,255,0.22);
  opacity: 0.45;
  animation-delay: 1.2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 860px;
  padding: 80px 0 100px;
  color: var(--white);
}

/* Kicker line above h1 */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.9;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.6); }
}

.hero-text {
  max-width: 640px;
  margin-bottom: 36px;
  font-size: 1.12rem;
  line-height: 1.75;
  color: rgba(225,236,252,0.95);
}

/* Proof pills */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(220,235,255,0.95);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-scroll-indicator span:first-child {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(86,199,255,0.8), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { opacity: 0.6; transform: scaleY(1); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

.hi-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(86,199,255,0.85);
}

/* ==========================================================
   6. TRUST STRIP
========================================================== */
.trust-strip {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  padding: 36px 0;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 32px;
}

.trust-icon {
  font-size: 1.6rem;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-item strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 4px;
}

.trust-item span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(195,215,240,0.92);
}

.trust-divider {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ==========================================================
   7. SOBRE
========================================================== */
.about {
  background: var(--white);
}

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

.about h2 { color: var(--text); }
.about .lead { color: var(--muted); }

.about-cta {
  margin-top: 32px;
}

.about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 28px;
  transition: box-shadow 0.3s ease;
}

.about-card:hover {
  box-shadow: var(--shadow-lg);
}

.about-image {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  border-radius: var(--radius-md);
}

.about-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-card:hover .about-image img {
  transform: scale(1.05);
}

.about-image-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 10px 16px;
  background: rgba(10,16,30,0.85);
  border: 1px solid rgba(86,199,255,0.3);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  text-align: center;
  line-height: 1.3;
}

.about-card > p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.72;
  font-weight: 500;
  margin-bottom: 0;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.numbers div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s;
}

.numbers div:hover {
  transform: translateY(-4px);
  border-color: rgba(22,135,217,0.3);
}

.numbers strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}

.numbers span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================
   8. CAPACIDADE INDUSTRIAL
========================================================== */
.capability {
  background:
    radial-gradient(circle at 0% 50%, rgba(22,135,217,0.06), transparent 40%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.capability-copy h2 { color: var(--text); }

.capability-cards {
  display: grid;
  gap: 16px;
}

.capability-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s;
}

.capability-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.capability-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(22,135,217,0.2);
}

.capability-card:hover::before { transform: scaleX(1); }

.capability-card > span {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--blue);
  background: rgba(22,135,217,0.08);
  border: 1px solid rgba(22,135,217,0.15);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  transition: background 0.28s, color 0.28s;
}

.capability-card:hover > span {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
}

.capability-card h3 { color: var(--text); }
.capability-card p  { color: var(--muted); font-weight: 500; line-height: 1.7; }

/* ==========================================================
   9. FEATURE PROJECT (GRANDES PROJETOS)
========================================================== */
.feature-project {
  background: linear-gradient(135deg, #07101e 0%, #0d1927 60%, #131f32 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

/* Blueprint grid */
.feature-project::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244,97,26,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,97,26,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.fp-inner {
  position: relative;
  z-index: 1;
}

.fp-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  padding: 7px 18px;
  border: 1px solid rgba(244,97,26,0.35);
  border-radius: 4px;
  background: rgba(244,97,26,0.08);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f4611a;
}

.fp-label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f4611a;
  animation: pulse-dot 2s ease-in-out infinite;
}

.fp-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.fp-text h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin-bottom: 18px;
}

.fp-text p {
  color: rgba(205,220,245,0.95);
  font-size: 1.02rem;
  line-height: 1.78;
  margin-bottom: 28px;
}

.fp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.fp-tags span {
  padding: 5px 14px;
  border: 1px solid rgba(244,97,26,0.3);
  border-radius: 4px;
  background: rgba(244,97,26,0.08);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f4611a;
}

.fp-text .btn-primary {
  background: linear-gradient(135deg, #f4611a, #c94e10);
  box-shadow: 0 16px 38px rgba(244,97,26,0.3);
}

.fp-text .btn-primary:hover {
  box-shadow: 0 22px 48px rgba(244,97,26,0.42);
}

.fp-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 32px 72px rgba(0,0,0,0.4);
}

.fp-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.fp-visual:hover img { transform: scale(1.05); }

.fp-visual-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 12px 18px;
  background: rgba(10,16,30,0.88);
  border: 1px solid rgba(244,97,26,0.4);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f4611a;
  text-align: center;
  line-height: 1.4;
}

/* ==========================================================
   10. SOLUÇÕES / CAROUSEL
========================================================== */
.products {
  overflow: hidden;
  background: var(--white);
}

.carousel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.carousel-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  color: var(--blue);
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.carousel-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  opacity: 0;
  transition: opacity 0.22s;
}

.carousel-btn:hover {
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(31,101,255,0.28);
  transform: translateY(-2px);
}

.carousel-btn:hover::before { opacity: 1; }

.product-carousel {
  position: relative;
  overflow: hidden;
  padding: 8px 2px 24px;
  cursor: grab;
}

.product-carousel:active { cursor: grabbing; }

/* Edge fade */
.product-carousel::before,
.product-carousel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  z-index: 3;
  width: 80px;
  pointer-events: none;
}

.product-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), transparent);
}

.product-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), transparent);
}

.carousel-track {
  display: flex;
  align-items: stretch;
  gap: 22px;
  transition: transform 0.55s var(--ease);
  will-change: transform;
  min-width: 0;
}

.product-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 0 0 calc((100% - 44px) / 3);
  min-height: 400px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(210,226,245,0.9);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--white), var(--bg));
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.32s var(--ease), border-color 0.32s ease, transform 0.2s ease;
}

/* Accent bottom bar */
.product-card::after {
  content: '';
  position: absolute;
  inset: auto 20px 0;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}

.product-card:hover,
.product-card.is-active {
  border-color: rgba(22,135,217,0.35);
  box-shadow: 0 24px 64px rgba(16,25,40,0.13);
}

.product-card:hover::after { transform: scaleX(1); }

.product-card img {
  width: 100%;
  height: 230px;
  margin-bottom: 22px;
  padding: 14px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: radial-gradient(circle at center, var(--white), var(--bg-soft));
  box-shadow: inset 0 0 0 1px rgba(220,232,248,0.8);
  filter: drop-shadow(0 14px 22px rgba(16,25,40,0.08));
  transition: transform 0.38s ease, filter 0.38s ease;
}

.product-card:hover img,
.product-card.is-active img {
  transform: translateY(-8px) scale(1.07);
  filter: drop-shadow(0 24px 28px rgba(16,25,40,0.14));
}

.product-card > div > span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: var(--blue);
  background: rgba(22,135,217,0.08);
  border: 1px solid rgba(22,135,217,0.12);
  transition: background 0.28s, color 0.28s, transform 0.28s;
}

.product-card:hover > div > span {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  transform: rotate(-4deg) scale(1.08);
}

.product-card h3 { color: var(--text); }

.product-card p {
  color: #34465c;
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 500;
  margin: 0;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: width 0.28s ease, background 0.28s ease;
}

.carousel-dots button.active {
  width: 32px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

/* ==========================================================
   11. PROCESSO / SHOWCASE
========================================================== */
.showcase {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0c1524 0%, #152338 50%, #1a2d45 100%);
  color: var(--white);
}

/* Blueprint grid */
.showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.6;
}

/* Glow orb */
.showcase::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(86,199,255,0.12);
  filter: blur(8px);
}

.showcase-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.showcase-copy h2 { color: var(--white); }

.steps {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
}

.icon-step {
  position: relative;
  overflow: hidden;
}

.icon-step > div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  transition: background 0.3s ease, transform 0.3s ease;
}

.icon-step > div:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(8px);
}

.icon-step strong {
  display: grid;
  min-width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--cyan);
  background: rgba(86,199,255,0.1);
  flex-shrink: 0;
  transition: background 0.3s, transform 0.3s;
}

.icon-step > div:hover strong {
  background: rgba(86,199,255,0.18);
  transform: scale(1.08) rotate(-6deg);
}

.icon-step span {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.icon-step em {
  display: block;
  font-style: normal;
  font-size: 0.84rem;
  color: rgba(185,205,235,0.92);
  line-height: 1.5;
}

/* ==========================================================
   12. GALERIA / PORTFÓLIO
========================================================== */
.gallery {
  background:
    radial-gradient(circle at 95% 10%, rgba(22,135,217,0.06), transparent 30%),
    var(--bg);
  border-top: 1px solid var(--line);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 44px;
}

.gallery-subtitle {
  max-width: 320px;
  text-align: right;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #4a6280;
  font-weight: 500;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.03);
  transition: transform 0.42s ease, filter 0.42s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.14) contrast(1.07);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,16,30,0.75), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.gallery-cta {
  text-align: center;
}

/* ==========================================================
   13. CONTATO
========================================================== */
.contact {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact > .container > div > h2 { color: var(--text); }

.contact > .container > div > p {
  color: #34465c;
  font-size: 1rem;
  line-height: 1.75;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 28px;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.2s;
}

.contact-list a:hover { color: var(--blue); }

.contact-list i {
  color: var(--blue);
  width: 16px;
  text-align: center;
}

/* Contact badges */
.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34465c;
  background: var(--white);
}

.contact-badge i { color: var(--blue); }

/* Form */
.form {
  display: grid;
  gap: 18px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.form label {
  display: grid;
  gap: 7px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

input, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--bg);
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s;
}

input:focus, textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(22,135,217,0.12);
}

/* Honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.privacy-check {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: #34465c;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--blue);
}

.privacy-check a { color: var(--blue); font-weight: 700; }

.form-note {
  margin: 0;
  color: #34465c;
  font-size: 0.82rem;
  line-height: 1.55;
  font-family: 'DM Sans', sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.form-status {
  min-height: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.form-status.is-success { color: #0ea55b; }
.form-status.is-error   { color: #e53e3e; }
.form-status.is-loading { color: var(--blue); }

/* ==========================================================
   14. FOOTER
========================================================== */
.footer {
  position: relative;
  background: linear-gradient(170deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  color: var(--white);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86,199,255,0.4), transparent);
}

/* Footer CTA strip */
.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 64px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-cta .eyebrow { color: rgba(86,199,255,0.9); }
.footer-cta h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 0;
  max-width: 600px;
}

/* Footer main */
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 56px 0 48px;
}

.footer-brand img {
  width: 100px;
  height: auto;
  margin-bottom: 18px;
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.72;
  color: rgba(190,212,240,0.92);
  max-width: 300px;
  margin-bottom: 22px;
}

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

.footer-social a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(185,205,235,0.9);
  font-size: 0.95rem;
  transition: color 0.22s, border-color 0.22s, background 0.22s;
}

.footer-social a:hover {
  color: var(--cyan);
  border-color: rgba(86,199,255,0.35);
  background: rgba(86,199,255,0.08);
}

.footer-column h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(200,220,245,0.85);
  margin-bottom: 18px;
}

.footer-column a,
.footer-column span {
  display: block;
  font-size: 0.9rem;
  color: rgba(190,212,240,0.92);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-column a:hover { color: var(--cyan); }

.footer-highlight p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(185,205,235,0.88);
  margin-bottom: 14px;
}

.footer-link {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan) !important;
  margin-bottom: 8px !important;
  transition: opacity 0.2s;
}

.footer-link:hover { opacity: 0.75; }

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(175,198,228,0.88);
}

.footer-bottom a {
  color: rgba(86,199,255,0.8);
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--cyan); }

.back-to-top {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(185,205,235,0.9);
  font-size: 1rem;
  transition: border-color 0.22s, color 0.22s, transform 0.22s;
}

.back-to-top:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
}

/* ==========================================================
   15. FLOATING WHATSAPP
========================================================== */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0ea55b, #12c878);
  box-shadow: 0 16px 42px rgba(0,0,0,0.28);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.floating-whatsapp i { font-size: 1.2rem; }

.floating-whatsapp:hover {
  transform: translateY(-3px);
  filter: brightness(1.07);
}

/* ==========================================================
   16. ANIMAÇÕES E MICROINTERAÇÕES
========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

/* ==========================================================
   17. RESPONSIVO
========================================================== */

/* 1200px */
@media (max-width: 1200px) {
  .nav {
    gap: 14px;
    padding-inline: 16px;
  }

  .nav-links a {
    padding-inline: 12px;
  }

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

/* 1024px */
@media (max-width: 1024px) {
  .about-grid,
  .capability-grid,
  .contact-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .fp-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fp-visual img { height: 280px; }

  .footer-cta {
    flex-direction: column;
    text-align: center;
  }
}

/* 980px — Mobile menu threshold */
@media (max-width: 980px) {
  .site-header {
    background: rgba(10, 16, 30, 0.96);
  }

  .nav {
    height: 72px;
  }

  .trust-strip-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trust-divider { display: none; }

  .trust-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .trust-item:last-child { border-bottom: none; }

  .nav-center {
    position: fixed;
    inset: 0;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    padding: clamp(10px, 2.2vw, 22px);
    background: rgba(3, 8, 18, 0.68);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease;
  }

  .header-social { display: none; }
  .menu-toggle { display: flex; }

  .menu-toggle.open {
    position: fixed;
    top: max(18px, env(safe-area-inset-top));
    right: max(18px, env(safe-area-inset-right));
    z-index: 1010;
    background: rgba(255,255,255,0.1);
  }

  /* Mobile overlay menu */
  .nav-center.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    backdrop-filter: blur(10px);
  }

  .nav-center .nav-links {
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    width: min(100%, 430px);
    height: auto;
    min-height: 0;
    align-self: stretch;
    margin-left: auto;
    padding:
      max(82px, calc(env(safe-area-inset-top) + 70px))
      clamp(18px, 4vw, 30px)
      max(24px, env(safe-area-inset-bottom));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    background:
      linear-gradient(160deg, rgba(22,34,56,0.98), rgba(7,16,28,0.99));
    box-shadow: -20px 0 72px rgba(0,0,0,0.42);
    text-align: left;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.28s ease, transform 0.36s var(--ease);
  }

  .nav-center.open .nav-links {
    opacity: 1;
    transform: translateX(0);
  }

  .product-card {
    flex-basis: calc((100% - 22px) / 2);
  }

  .nav-center.open .nav-links a {
    display: flex;
    min-height: 54px;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    color: rgba(226,237,250,0.92);
    background: rgba(255,255,255,0.045);
    font-size: clamp(1.08rem, 3.2vw, 1.34rem);
    letter-spacing: 0.08em;
    white-space: normal;
  }

  .nav-center.open .nav-links a:hover {
    color: var(--cyan);
    background: rgba(86,199,255,0.08);
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.mobile-nav-open .floating-whatsapp {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
  }

  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-subtitle { text-align: left; max-width: 100%; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-cta h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }

  .header-top-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 0.68rem;
  }
}

/* 768px */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .container {
    width: min(100% - 32px, 1300px);
  }

  h1 { font-size: clamp(2.45rem, 10vw, 4.5rem); }
  h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); }

  .hero {
    min-height: auto;
    padding-top: 92px;
  }

  .hero-content {
    padding: 72px 0 80px;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-scroll-indicator { display: none; }

  .hero-proof span { font-size: 0.72rem; padding: 7px 12px; }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding-inline: 18px;
  }

  .carousel-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .gallery-item img { height: 220px; }

  .numbers { grid-template-columns: repeat(3, 1fr); }

  .fp-tags { gap: 6px; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .contact-grid { gap: 40px; }

  .form { padding: 24px; }

  .contact-badges { gap: 7px; }
  .contact-badge { font-size: 0.7rem; padding: 7px 12px; }
}

/* 640px */
@media (max-width: 640px) {
  .nav {
    gap: 10px;
    padding-inline: 14px;
  }

  .logo img {
    width: 82px;
  }

  .nav-button {
    display: none;
  }

  .product-carousel {
    padding-inline: 0;
  }

  .product-carousel::before,
  .product-carousel::after {
    width: 28px;
  }

  .product-card {
    flex-basis: 100%;
    min-height: 0;
    padding: 22px;
  }

  .product-card img {
    height: 190px;
  }

  .hero-proof span { width: 100%; justify-content: center; }

  .numbers { grid-template-columns: 1fr 1fr; }

  .trust-item { gap: 12px; }
  .trust-icon { font-size: 1.3rem; }

  .floating-whatsapp { right: 16px; bottom: 16px; padding: 12px 14px; }
  .floating-whatsapp span { display: none; }

  .about-image-badge { display: none; }
}

/* 480px */
@media (max-width: 480px) {
  .container {
    width: min(100% - 28px, 1300px);
  }

  .section { padding: 60px 0; }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.5rem);
    line-height: 0.98;
  }

  h2 {
    line-height: 1.05;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    padding-inline: 16px;
    white-space: normal;
  }

  .hero-content {
    padding: 64px 0 68px;
  }

  .hero-kicker {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-actions {
    gap: 10px;
  }

  .numbers { grid-template-columns: 1fr; }
  .fp-visual img { height: 220px; }
  .header-top { display: none; }
  .hero { padding-top: 80px; }

  .nav-center {
    padding: 8px;
  }

  .nav-center .nav-links {
    border-radius: 18px;
    padding-inline: 14px;
  }

  .about-card,
  .capability-card,
  .product-card,
  .form {
    border-radius: 14px;
  }

  .about-card,
  .capability-card {
    padding: 22px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    padding: 48px 0;
  }

  .footer-link {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(100% - 24px, 1300px);
  }

  .logo img {
    width: 76px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-proof span,
  .contact-badge {
    white-space: normal;
    text-align: center;
  }
}

/* ── CONTRASTE MELHORADO — correções adicionais ── */

/* Textos em seções navy que herdavam --muted (escuro demais) */
.showcase .icon-step em {
  color: #bfd3e6;
}

.trust-item span {
  color: #d7e6f7;
}

.hero-text {
  color: #eaf3ff;
}

/* Footer brand paragraph */
.footer-brand p {
  color: #bfd3e6;
}

/* Norm disclaimer */
.hvac-norm-disclaimer p {
  color: #162238;
}

/* Areas card paragraph text */
.hvac-area-card p {
  color: rgba(190, 212, 240, 0.92);
}

/* Capability lead text on light bg */
.capability .lead.dark {
  color: rgba(15, 23, 42, 0.72);
}

/* Feature project paragraph */
.fp-text p {
  color: #d7e6f7;
}

/* CTA section paragraph */
.hvac-cta p {
  color: rgba(210, 228, 252, 0.95);
}

/* Mini pill text */
.hvac-mini-pill span {
  color: rgba(215, 232, 255, 0.95);
}

/* Contact strip */
.hvac-contact-strip {
  color: #bfd3e6;
}

/* Icon step description text */
.icon-step div em {
  color: #bfd3e6;
}

/* Showcase section lead paragraph */
.showcase-grid p {
  color: #d7e6f7 !important;
}

/* Gallery subtitle */
.gallery-subtitle {
  color: #5a7290;
}

/* Norm card paragraph */
.hvac-norm-card p {
  color: #4a6280;
}

/* Footer highlight paragraph */
.footer-highlight p {
  color: #bfd3e6;
}

/* Sobrescritas finais de contraste */
.hvac-area-card p { color: rgba(190,212,240,0.92) !important; }
.hvac-cta p       { color: rgba(210,228,252,0.95) !important; }
.hvac-mini-pill span { color: rgba(215,232,255,0.95) !important; }
.hvac-mini-pill em   { color: #bfd3e6 !important; }
