/* ===== VARIABLES ===== */
:root {
  --primary: #187792;
  --primary-light: #1da8cc;
  --dark: #045066;
  --darker: #02303e;
  --brand-gradient: linear-gradient(135deg, #045066 0%, #187792 50%, #2295b8 100%);
  --brand-gradient-soft: linear-gradient(135deg, #187792 0%, #2295b8 100%);
  --darkest: #011a24;
  --bg-alt: #021520;
  --white: #ffffff;
  --muted: rgba(255,255,255,0.55);
  --glass-bg: rgba(255,255,255,0.055);
  --glass-bg-hover: rgba(255,255,255,0.09);
  --glass-border: rgba(255,255,255,0.1);
  --blur: blur(28px) saturate(180%);
  --blur-sm: blur(16px) saturate(180%);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
  --glass-shadow-sm: 0 4px 16px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.06);
  --font: 'Poppins', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --ease: all 0.28s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; }
body { font-family:var(--font); background:var(--darkest); color:var(--white); overflow-x:hidden; line-height:1.6; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
button { font-family:var(--font); }

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

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ===== CONTAINER ===== */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }

/* ===== SECTION TAG ===== */
.section-tag {
  display: inline-block;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 16px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-header p { color:var(--muted); font-size:1.05rem; max-width:560px; }

.section-header.center { text-align:center; margin-bottom:56px; }
.section-header.center p { margin:0 auto; }

/* ===== REVEAL ===== */
.reveal { opacity:0; transform:translateY(28px); transition:opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--ease);
}

.navbar.scrolled {
  background: rgba(1, 20, 28, 0.3);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 12px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height:46px; width:auto; object-fit:contain; filter:brightness(1.15); }

.nav-links { display:flex; align-items:center; gap:36px; }
.nav-links a { font-size:0.875rem; font-weight:500; color:rgba(255,255,255,0.8); transition:color 0.2s; letter-spacing:0.02em; }
.nav-links a:hover { color:#fff; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 10px 22px;
  font-size: 0.85rem !important;
  transition: opacity 0.2s, transform 0.2s !important;
}
.nav-cta svg { width:16px; height:16px; }
.nav-cta:hover { opacity:0.88; transform:translateY(-1px); }

.nav-toggle { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; }
.nav-toggle span { display:block; width:24px; height:2px; background:#fff; transition:var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity:0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-beams {
  position: absolute;
  inset: 0;
  background: #0a0a0a; /* neutral-950 — base behind the beams */
  overflow: hidden;
  contain: strict;
}
.hero-beams canvas {
  position: absolute;
  inset: 0;
  display: block;
  filter: blur(15px);
}
.hero-beams-veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.05);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  animation: heroVeilPulse 10s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroVeilPulse {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.15; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(1,20,28,0.0) 0%,
    rgba(1,20,28,0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 140px 48px 56px;
}

.hero-content-panel {
  max-width: 800px;
  padding: 52px 56px;
}

.hero-content h1 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  max-width: 680px;
}

.hero-content h1 span {
  background: var(--brand-gradient-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-content p {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.75;
}

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

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 15px 30px;
  transition: var(--ease);
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-family: var(--font-heading);
}
.btn-primary svg { width:19px; height:19px; flex-shrink:0; }
.btn-primary:hover { background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%); transform:translateY(-2px); box-shadow:0 8px 24px rgba(34,197,94,0.4); }
.btn-primary.large { font-size:1rem; padding:18px 40px; }
.btn-primary.large svg { width:22px; height:22px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.09);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: var(--glass-shadow-sm);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 15px 30px;
  transition: var(--ease);
  font-family: var(--font-heading);
}
.btn-ghost:hover { background:rgba(255,255,255,0.16); transform:translateY(-2px); }

/* ===== HERO STATS ===== */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(1,20,28,0.3);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.stat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-card:last-child { border-right:none; }

.stat-num {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  background: var(--brand-gradient-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== ABOUT ===== */
.about {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  color: #0f172a;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "header images"
    "body   images";
  align-items: center;
  column-gap: 72px;
  row-gap: 0;
}

.about .section-tag { background: var(--brand-gradient); color: #fff; }

.about-header { grid-area: header; }
.about-body { grid-area: body; }
.about-images { grid-area: images; }

.about-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #0f172a;
}

.about-body p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  margin-top: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 62px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  padding-bottom: 28px;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-year {
  min-width: 46px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  text-align: right;
  line-height: 1.6;
  letter-spacing: 0.03em;
  padding-top: 2px;
}

.timeline-dot {
  width: 13px;
  height: 13px;
  background: var(--primary);
  border: 3px solid #ffffff;
  border-radius: 50%;
  flex-shrink: 0;
  margin: 4px 18px 0 10px;
  z-index: 1;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-text {
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.6;
  padding-top: 2px;
}

.about-images { display:flex; flex-direction:column; gap:10px; }

.glass-frame { border:1px solid rgba(0,0,0,0.1); overflow:hidden; }

.img-main { aspect-ratio:1/1; max-width:460px; align-self:center; }
.img-main img { width:100%; height:100%; object-fit:cover; object-position:center center; transition:transform 0.6s ease; }
.img-main:hover img { transform:scale(1.03); }

.img-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.img-small { aspect-ratio:1; cursor:pointer; }
.img-small img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s ease; }
.img-small:hover img { transform:scale(1.06); }

/* ===== SUPPLIERS ===== */
.suppliers {
  padding: 100px 0;
  background: #f8fafc;
  position: relative;
  color: #0f172a;
}

.suppliers .section-header h2 { color: #0f172a; }
.suppliers .section-header p { color: #475569; }
.suppliers .section-tag { background: var(--brand-gradient); color: #fff; }

.suppliers::after {
  content:'';
  position:absolute;
  bottom:0; left:0; right:0;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--primary),transparent);
}

.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.supplier-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 20px;
  background: transparent;
  transition: var(--ease);
}
.supplier-card:hover { background: rgba(24,119,146,0.06); }

.supplier-card img {
  max-height: 56px;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: var(--ease);
}
.supplier-card:hover img {
  opacity: 1;
  filter: none;
}

/* ===== PRODUCTS ===== */
.products {
  padding: 120px 0;
  background: var(--bg-alt);
  position: relative;
}

.products::before {
  content:'';
  position:absolute;
  top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg,transparent,var(--primary),transparent);
}

.product-tabs {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-sm);
  padding: 4px;
  width: fit-content;
  margin: 0 auto 44px;
}

.tab-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 11px 26px;
  cursor: pointer;
  transition: var(--ease);
  letter-spacing: 0.02em;
  font-family: var(--font);
}
.tab-btn:hover { color:#fff; background:rgba(255,255,255,0.05); }
.tab-btn.active {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -1px 0 rgba(255,255,255,0.06),
    0 4px 16px rgba(24,119,146,0.18);
}

.tab-content { display:none; }
.tab-content.active { display:block; animation:fadeIn 0.3s ease; }

@keyframes fadeIn {
  from { opacity:0; transform:translateY(8px); }
  to   { opacity:1; transform:translateY(0); }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 56px;
}

.product-grid > .product-card { grid-column: span 2; }

/* Última linha com apenas 1 card → ocupa a linha inteira */
.product-grid > .product-card:nth-child(3n+1):nth-last-child(1) {
  grid-column: span 6;
}

/* Última linha com apenas 2 cards → cada um ocupa metade da linha */
.product-grid > .product-card:nth-child(3n+1):nth-last-child(2),
.product-grid > .product-card:nth-child(3n+1):nth-last-child(2) ~ .product-card {
  grid-column: span 3;
}

.product-grid.two-col {
  grid-template-columns: 1fr 1fr;
}
.product-grid.two-col > .product-card { grid-column: auto; }
.product-grid.two-col > .product-card:only-child { grid-column: 1 / -1; }

.product-card {
  position: relative;
  padding: 36px 30px;
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  transition: var(--ease);
  isolation: isolate;
}
.product-card:hover { background:var(--glass-bg-hover); }

/* ===== GLOW BORDER (conic-gradient arc follows pointer) ===== */
.glow-card {
  --start: 0;
  --active: 0;
  --spread: 42;
  --bw: 1.5px;
}
.glow-card .glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
}
.glow-card .glow::after {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--bw));
  border: var(--bw) solid transparent;
  border-radius: inherit;
  background:
    conic-gradient(from 90deg at 50% 50%,
      #1da8cc 0%,
      #66e2f5 18%,
      #b8f1ff 32%,
      #ffffff 50%,
      #b8f1ff 68%,
      #66e2f5 82%,
      #1da8cc 100%);
  opacity: var(--active);
  transition: opacity 280ms ease;
  -webkit-mask:
    linear-gradient(#0000, #0000) padding-box,
    conic-gradient(from calc((var(--start) - var(--spread)) * 1deg) at 50% 50%,
      #0000 0deg, #fff, #0000 calc(var(--spread) * 2deg)) border-box;
          mask:
    linear-gradient(#0000, #0000) padding-box,
    conic-gradient(from calc((var(--start) - var(--spread)) * 1deg) at 50% 50%,
      #0000 0deg, #fff, #0000 calc(var(--spread) * 2deg)) border-box;
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.glow-card > *:not(.glow) {
  position: relative;
  z-index: 1;
}

/* buttons that opt into the glow border */
.nav-cta.glow-card,
.btn-primary.glow-card,
.btn-ghost.glow-card,
.tab-btn.glow-card,
.cities-toggle.glow-card {
  position: relative;
  isolation: isolate;
}

.product-icon {
  width: 34px;
  height: 34px;
  color: var(--primary-light);
  margin-bottom: 18px;
  opacity: 0.92;
}
.product-icon svg { width: 100%; height: 100%; display: block; }

.product-card h3 { font-size:1.05rem; font-weight:700; margin-bottom:10px; letter-spacing:0.01em; }

.product-card p { font-size:0.85rem; color:rgba(255,255,255,0.58); line-height:1.65; }

.product-card ul { display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:14px; }
.product-card ul li { font-size:0.85rem; color:rgba(255,255,255,0.65); padding-left:12px; position:relative; }
.product-card ul li::before { content:'•'; position:absolute; left:0; color:var(--primary-light); font-size:0.9rem; top:0; line-height:1.4; }

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

/* ===== AREAS ===== */
.areas {
  padding: 120px 0;
  background: #F8FAFC;
}

.areas-units {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}

.unit-card {
  position: relative;
  padding: 36px 30px;
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--ease);
  isolation: isolate;
}
.unit-card:hover { background:var(--glass-bg-hover); }
.unit-card h3 { font-size:1.05rem; font-weight:700; }

.unit-badge {
  display: inline-block;
  background: rgba(24,119,146,0.18);
  border: 1px solid rgba(24,119,146,0.38);
  color: var(--primary-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  width: fit-content;
}

.cities-section { text-align:center; }

.cities-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-sm);
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 14px 28px;
  cursor: pointer;
  transition: var(--ease);
  font-family: var(--font);
}
.cities-toggle:hover { background:rgba(255,255,255,0.09); color:#fff; }
.cities-toggle svg { width:17px; height:17px; transition:transform 0.3s ease; flex-shrink:0; }
.cities-toggle.open svg { transform:rotate(180deg); }

.cities-grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--glass-border);
  border-top: none;
  overflow: hidden;
  text-align: left;
}
.cities-grid.open { display:grid; animation:fadeIn 0.3s ease; }

.cities-grid span {
  padding: 15px 22px;
  font-size:0.85rem;
  color:rgba(255,255,255,0.65);
  background:var(--glass-bg);
  border-right:1px solid var(--glass-border);
  border-bottom:1px solid var(--glass-border);
  transition:var(--ease);
}
.cities-grid span:hover { background:var(--glass-bg-hover); color:#fff; }

/* Areas light-bg overrides */
.areas { color: #1a3040; }
.areas h2 { color: #023040; }
.areas .section-header p { color: #4a6070; }
.areas-units { border-color: rgba(0,0,0,0.08); }
.areas .unit-card { background: #fff; border-color: rgba(0,0,0,0.08); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.areas .unit-card:hover { background: #f0f7fa; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.areas .unit-card h3 { color: #023040; }
.cities-toggle { color: #1a3040; background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); }
.cities-toggle:hover { background: rgba(0,0,0,0.08); color: #023040; }
.cities-grid { border-color: rgba(0,0,0,0.08); }
.cities-grid span { color: #334d5c; background: #fff; border-color: rgba(0,0,0,0.07); }
.cities-grid span:hover { background: #e8f4f8; color: #023040; }

/* ===== CONTACT ===== */
.contact {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.contact-bg { position:absolute; inset:0; }
.contact-bg img { width:100%; height:100%; object-fit:cover; }

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1,20,28,0.65) 0%, rgba(4,80,102,0.55) 100%);
  backdrop-filter: none;
}

.contact .container { position:relative; z-index:2; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.contact-card {
  position: relative;
  padding: 36px 28px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  transition: var(--ease);
  isolation: isolate;
}
.contact-card:hover { background:rgba(255,255,255,0.17); }

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.contact-info a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  word-break: break-all;
}
.contact-info a:hover { color:#fff; }

.contact-wa {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: #25D366 !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  word-break: normal !important;
}
.contact-wa svg { width:16px; height:16px; flex-shrink:0; }
.contact-wa:hover { color:#1fba58 !important; }

/* ===== FOOTER ===== */
.footer {
  background: rgba(0,8,12,1);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-brand img { height:44px; width:auto; object-fit:contain; margin-bottom:18px; filter:brightness(1.15); }
.footer-brand p { font-size:0.85rem; color:rgba(255,255,255,0.45); line-height:1.7; max-width:300px; }

.footer-links h4, .footer-social h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}

.footer-links ul { display:flex; flex-direction:column; gap:11px; }
.footer-links ul li a { font-size:0.875rem; color:rgba(255,255,255,0.55); transition:color 0.2s; }
.footer-links ul li a:hover { color:#fff; }

.social-links { display:flex; flex-direction:column; gap:12px; }
.social-link { display:inline-flex; align-items:center; gap:10px; font-size:0.875rem; color:rgba(255,255,255,0.55); transition:color 0.2s; }
.social-link svg { width:17px; height:17px; flex-shrink:0; }
.social-link:hover { color:#fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size:0.78rem; color:rgba(255,255,255,0.3); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float svg { width:28px; height:28px; fill:#fff; }
.whatsapp-float:hover { transform:scale(1.1); box-shadow:0 8px 28px rgba(37,211,102,0.55); }

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
  .suppliers-grid { grid-template-columns:repeat(3,1fr); }

  /* 2 colunas em tablet — recalcula órfãos */
  .product-grid > .product-card { grid-column: span 3; }
  .product-grid > .product-card:nth-child(3n+1):nth-last-child(1),
  .product-grid > .product-card:nth-child(3n+1):nth-last-child(2),
  .product-grid > .product-card:nth-child(3n+1):nth-last-child(2) ~ .product-card { grid-column: span 3; }
  .product-grid > .product-card:nth-child(2n+1):nth-last-child(1) { grid-column: span 6; }

  .about-grid { gap:48px; }
}

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

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(1,15,22,0.98);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 28px;
    transition: right 0.3s ease;
  }
  .nav-links.open { right:0; }
  .nav-links a { font-size:1rem; }
  .nav-cta { padding:12px 22px !important; }

  .hero-stats { flex-direction:column; }
  .stat-card { border-right:none; border-bottom:1px solid rgba(255,255,255,0.08); padding:24px; }
  .stat-card:last-child { border-bottom:none; }

  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "images"
      "body";
    gap: 32px;
  }
  .about-header h2 { margin-bottom: 0; }
  .img-main { aspect-ratio: 1/1; }
  .img-grid { grid-template-columns:repeat(2,1fr); }

  .suppliers-grid { grid-template-columns:repeat(2,1fr); }
  .supplier-card { border-bottom:1px solid rgba(0,0,0,0.08); }

  .product-tabs {
    flex-wrap: nowrap;
    justify-content: stretch;
    width: 100%;
    max-width: 100%;
    padding: 3px;
  }
  .product-tabs .tab-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 9px 4px;
    font-size: 0.72rem;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
  }
  .product-grid { grid-template-columns:1fr; }
  .product-grid > .product-card,
  .product-grid > .product-card:nth-child(n),
  .product-grid > .product-card:nth-child(3n+1):nth-last-child(1),
  .product-grid > .product-card:nth-child(3n+1):nth-last-child(2),
  .product-grid > .product-card:nth-child(3n+1):nth-last-child(2) ~ .product-card,
  .product-grid > .product-card:nth-child(2n+1):nth-last-child(1) { grid-column: 1 / -1; }
  .product-grid.two-col { grid-template-columns:1fr; }

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

  .contact-grid { grid-template-columns:1fr; }
  .contact-card { border-right:none; }

  .footer-grid { grid-template-columns:1fr; gap:36px; }
  .footer-bottom { flex-direction:column; gap:8px; text-align:center; }

  .hero-content { padding: 110px 24px 48px; }
  .hero-content-panel { padding: 36px 32px; text-align: center; }
  .hero-content-panel h1 { text-wrap: balance; }
  .hero-actions { justify-content: center; }
  .timeline::before { left: 62px; }

  /* Subtítulo redundante com o botão logo abaixo */
  .areas .section-header.center > p { display: none; }
}

@media (max-width:480px) {
  .hero-content-panel { padding: 28px 22px; }
  .hero-actions { flex-direction:column; }
  .btn-primary, .btn-ghost { justify-content:center; }
  .areas-units { grid-template-columns:1fr; }
  .suppliers-grid { grid-template-columns:repeat(2,1fr); }
  .section-header.center { margin-bottom:40px; }
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox-overlay.open { display:flex; animation:fadeIn 0.25s ease; }

.lightbox-inner {
  position: relative;
  max-width: 880px;
  width: 100%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.12);
  overflow: hidden;
}

.lightbox-inner img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  font-family: var(--font);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
