/* ============================================================
   FINEAMIN DO BRASIL — Design System v1
   Paleta: azul profundo + neutros + vermelho suíço (CTA único)
   Tipografia: Sora (títulos) / Inter (corpo)
   ============================================================ */

:root {
  /* Cores */
  --navy-950: #071829;
  --navy-900: #0a2136;
  --navy-800: #0d2c48;
  --navy-700: #12395c;
  --blue-600: #1d6fb8;
  --blue-500: #2a85d0;
  --blue-100: #dcebf7;
  --accent: #da291c;          /* Vermelho suíço — apenas CTAs */
  --accent-dark: #b52217;
  --ink: #1e293b;
  --gray-700: #334155;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --gray-100: #eef1f4;
  --gray-50: #f6f8fa;
  --white: #ffffff;
  --green: #1a7f4e;

  /* Tipografia */
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(10, 33, 54, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 33, 54, 0.14);
  --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy-900);
}

/* ---------- Utilidades ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy-900); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: var(--gray-300); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.section--navy .eyebrow { color: var(--blue-500); }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 16px; }
.section-head p { color: var(--gray-500); font-size: 1.06rem; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--outline {
  border: 1.5px solid var(--gray-300);
  color: var(--navy-800);
  background: transparent;
}
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--blue-100); }
.btn--sm { padding: 10px 20px; font-size: 0.88rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--blue-600);
  transition: var(--transition);
}
.link-arrow:hover { gap: 12px; color: var(--navy-800); }

/* ---------- Header (2 níveis: logo em destaque + navbar fixa) ---------- */
.header__top { background: var(--white); }
.header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}
.header__logo img { height: 84px; width: auto; }

.header__contacts { display: flex; gap: 34px; align-items: center; }
.header__contacts a {
  display: flex;
  gap: 12px;
  align-items: center;
  transition: var(--transition);
}
.header__contacts a:hover { transform: translateY(-1px); }
.header__contacts svg {
  width: 38px; height: 38px;
  flex: none;
  padding: 9px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
}
.header__contacts small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
}
.header__contacts strong {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--navy-900);
  white-space: nowrap;
}

.header__navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  box-shadow: 0 4px 18px rgba(7, 24, 41, 0.25);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 24px;
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 19px 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: var(--transition);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.nav a.active { color: var(--white); font-weight: 600; border-bottom-color: var(--accent); }
.header .btn { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 1180px) {
  .header__contacts { display: none; }
  .header__top-inner { justify-content: center; padding: 16px 0; }
  .header__logo img { height: 64px; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .header .btn--primary { display: none; }
  .header__inner { height: 56px; }
  .nav {
    position: absolute;
    top: 56px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-900);
    padding: 8px 24px 24px;
    box-shadow: var(--shadow-lg);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.25s ease;
    gap: 0;
  }
  .nav.open { transform: scaleY(1); }
  .nav a { padding: 15px 12px; font-size: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -220px; top: -220px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 133, 208, 0.22) 0%, transparent 70%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 110px 0 120px;
  max-width: 760px;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-500);
  background: rgba(42, 133, 208, 0.12);
  border: 1px solid rgba(42, 133, 208, 0.35);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--blue-500); }
.hero p { font-size: 1.12rem; color: var(--gray-300); max-width: 620px; margin-bottom: 38px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Página interna — hero compacto */
.page-hero {
  background: linear-gradient(150deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 72px 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.page-hero p { color: var(--gray-300); max-width: 680px; font-size: 1.08rem; }
.breadcrumb { font-size: 0.85rem; color: var(--blue-500); margin-bottom: 18px; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Barra de métricas ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px 0;
}
.stats div { text-align: center; }
.stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--navy-900);
}
.stats span { color: var(--gray-500); font-size: 0.92rem; }
.section--navy .stats strong { color: var(--white); }
.section--navy .stats span { color: var(--gray-300); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-100); }
.card__icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--blue-100);
  color: var(--blue-600);
  margin-bottom: 22px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--gray-500); font-size: 0.95rem; }
.card .link-arrow { margin-top: 18px; font-size: 0.9rem; }

/* ---------- Split (imagem + texto) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split__media img, .split__media video {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.split h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 18px; }
.split p { color: var(--gray-500); margin-bottom: 16px; }
.split .checklist { margin: 22px 0 28px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 7px 0;
  color: var(--gray-700);
}
.checklist li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6fb8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.section--navy .checklist li { color: var(--gray-300); }

/* ---------- Acordeão ---------- */
.accordion { border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.accordion + .accordion { margin-top: 14px; }
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-900);
  text-align: left;
  transition: var(--transition);
}
.accordion__btn:hover { color: var(--blue-600); }
.accordion__btn::after {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: var(--transition);
}
.accordion.open .accordion__btn::after { transform: rotate(45deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion__content { padding: 0 26px 26px; color: var(--gray-500); }
.accordion__content p { margin-bottom: 12px; }

/* ---------- Tabs ---------- */
.tabs__nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}
.tabs__nav button {
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-500);
  background: var(--gray-100);
  transition: var(--transition);
}
.tabs__nav button:hover { color: var(--navy-900); }
.tabs__nav button.active { background: var(--navy-900); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Produtos ---------- */
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.product-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tag {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-600);
}
.tag--green { background: #dcf3e7; color: var(--green); }
.product-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.product-card .product-card__sub { color: var(--blue-600); font-weight: 600; font-size: 0.92rem; margin-bottom: 16px; }
.product-card > p { color: var(--gray-500); font-size: 0.96rem; margin-bottom: 14px; }
.product-card .checklist { margin: 6px 0 22px; font-size: 0.93rem; }
.product-card__docs {
  margin-top: auto;
  border-top: 1px solid var(--gray-100);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
  padding: 8px 14px;
  border-radius: 999px;
  transition: var(--transition);
}
.doc-link:hover { border-color: var(--blue-600); color: var(--blue-600); }
.doc-link svg { width: 15px; height: 15px; }

/* ---------- Tabela comparativa ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 640px;
}
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--gray-100); }
.compare thead th {
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
}
.compare thead th:nth-child(2) { background: var(--blue-600); }
.compare tbody th { font-weight: 600; color: var(--navy-900); font-size: 0.93rem; width: 26%; }
.compare td { color: var(--gray-500); font-size: 0.93rem; }
.compare td.good { color: var(--green); font-weight: 600; }
.compare td.bad { color: var(--accent); font-weight: 500; }
.compare tbody tr:hover { background: var(--gray-50); }

/* ---------- Steps / Infográfico ---------- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--gray-100);
}
.step:last-child { border-bottom: none; }
.step__num {
  counter-increment: step;
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--gray-500); font-size: 0.95rem; }

/* ---------- Certificações ---------- */
.cert-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: var(--transition);
}
.cert-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cert-card img { height: 84px; margin: 0 auto 18px; object-fit: contain; }
.cert-card h3 { font-size: 1rem; margin-bottom: 6px; }
.cert-card p { font-size: 0.86rem; color: var(--gray-500); margin-bottom: 14px; }

/* ---------- Segmentos ---------- */
.segment-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: var(--transition);
}
.segment-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.segment-card h3 { font-size: 1.06rem; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.segment-card h3 svg { width: 24px; height: 24px; color: var(--blue-600); flex: none; }
.segment-card p { font-size: 0.92rem; color: var(--gray-500); }

/* ---------- Representantes ---------- */
.rep-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius-sm);
  padding: 26px 26px;
  transition: var(--transition);
}
.rep-card:hover { box-shadow: var(--shadow); }
.rep-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.rep-card .rep-card__region {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.rep-card p { font-size: 0.92rem; color: var(--gray-500); }
.rep-card a { color: var(--navy-800); font-weight: 500; }
.rep-card a:hover { color: var(--blue-600); }

/* ---------- Formulário ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 44px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 30px 22px; } }

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(29, 111, 184, 0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--gray-500); }
.consent input { width: 17px; height: 17px; margin-top: 3px; flex: none; accent-color: var(--blue-600); }
.consent a { color: var(--blue-600); text-decoration: underline; }
.form-msg { margin-top: 16px; font-weight: 600; font-size: 0.95rem; display: none; }
.form-msg.success { display: block; color: var(--green); }
.form-msg.error { display: block; color: var(--accent); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ---------- CTA final ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
.cta-band p { color: var(--gray-300); max-width: 520px; }
@media (max-width: 640px) { .cta-band { padding: 44px 28px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--gray-300); padding: 72px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__brand img { height: 44px; margin-bottom: 20px; }
.footer__brand p { font-size: 0.92rem; max-width: 300px; }
.footer h4 {
  color: var(--white);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer li { margin-bottom: 11px; font-size: 0.92rem; }
.footer a:hover { color: var(--blue-500); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--blue-500); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--gray-500);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
}
.wa-float__btn {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}
.wa-float__btn:hover { transform: scale(1.08); }
.wa-float__btn svg { width: 32px; height: 32px; fill: var(--white); }
.wa-float__menu {
  position: absolute;
  bottom: 74px; right: 0;
  width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  display: none;
}
.wa-float__menu.open { display: block; animation: fadeIn 0.25s ease; }
.wa-float__menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-900);
  transition: var(--transition);
}
.wa-float__menu a:hover { background: var(--gray-50); }
.wa-float__menu svg { width: 22px; height: 22px; fill: #25d366; flex: none; }
.wa-float__menu span small { display: block; font-weight: 400; color: var(--gray-500); }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }


/* ---------- Vídeos ---------- */
.video-grid video { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* ---------- Página de texto (LGPD) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 14px; }
.prose p, .prose li { color: var(--gray-700); margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 24px; }

/* ============================================================
   INTERATIVIDADE — botões, cards e micro-animações
   ============================================================ */

/* Botões: brilho deslizante + resposta ao clique */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: none;
}
.btn:hover::after { left: 130%; transition: left 0.55s ease; }
.btn:active { transform: scale(0.96); }
.btn--primary:hover { box-shadow: 0 10px 26px rgba(218, 41, 28, 0.35); }
.btn--light:hover { box-shadow: 0 10px 26px rgba(255, 255, 255, 0.18); }

/* Navbar: sublinhado animado */
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 10px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.nav a:hover::after { transform: scaleX(1); }
@media (max-width: 1080px) { .nav a::after { display: none; } }

/* Cards: ícone reage ao hover */
.card__icon { transition: var(--transition); }
.card:hover .card__icon { background: var(--blue-600); color: var(--white); transform: scale(1.08) rotate(-4deg); }
.segment-card h3 svg { transition: var(--transition); }
.segment-card:hover h3 svg { transform: scale(1.15); }

/* Cartões de produto: barra superior que cresce no hover */
.product-card { position: relative; overflow: hidden; }
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover { transform: translateY(-4px); }

/* Doc-links: preenchem no hover */
.doc-link:hover { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); transform: translateY(-2px); }

/* Tags reagem levemente */
.tag { transition: var(--transition); }
.product-card:hover .tag { transform: translateY(-1px); }

/* Certificados: selo dá zoom suave */
.cert-card img { transition: transform 0.35s ease; }
.cert-card:hover img { transform: scale(1.08); }

/* Filtros/abas: efeito de pressão */
.tabs__nav button { transition: all 0.25s ease, transform 0.12s ease; }
.tabs__nav button:active { transform: scale(0.94); }

/* Acordeão: leve destaque no hover */
.accordion { transition: var(--transition); }
.accordion:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }

/* Contatos do header: ícone reage */
.header__contacts svg { transition: var(--transition); }
.header__contacts a:hover svg { background: var(--blue-600); color: var(--white); transform: rotate(-8deg) scale(1.06); }

/* WhatsApp flutuante: anel pulsante */
.wa-float__btn { position: relative; }
.wa-float__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(37, 211, 102, 0.55);
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
.wa-float__btn svg { width: 30px; height: 30px; }

/* Revelação em cascata dentro de grids */
.grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.grid .reveal:nth-child(5) { transition-delay: 0.1s; }
.grid .reveal:nth-child(6) { transition-delay: 0.18s; }

/* Botão voltar ao topo (injetado via JS) */
.to-top {
  position: fixed;
  right: 34px; bottom: 104px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--navy-900);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 89;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--blue-600); }
.to-top svg { width: 20px; height: 20px; }



/* ---------- Antes / Depois (fotos do catálogo) ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ba-grid figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.ba-grid img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.4s ease; }
.ba-grid figure:hover img { transform: scale(1.07); }
.ba-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  font-size: 0.84rem; font-weight: 600; color: var(--white);
  background: linear-gradient(transparent, rgba(7, 24, 41, 0.92));
}
.ba-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; color: var(--white); z-index: 1;
}
.ba-badge--sem { background: var(--accent); }
.ba-badge--com { background: var(--green); }
@media (max-width: 960px) { .ba-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ba-grid { grid-template-columns: 1fr; } }

/* ---------- Duas frentes lado a lado (Equipamentos) ---------- */
.duo-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .duo-col { grid-template-columns: 1fr; } }

/* ---------- Seletor de grupos (Tecnologia) ---------- */
.group-switch button {
  font-size: 1.02rem;
  padding: 15px 30px;
  font-family: var(--font-head);
}

.ba-badge--tempo { background: var(--blue-600); }

/* ---------- Representantes v2 ---------- */
.rep2 {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.rep2:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-100); }
.rep2__top { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.rep2__uf {
  flex: none;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy-800), var(--blue-600));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.02em;
}
.rep2 h3 { font-size: 1.04rem; line-height: 1.3; }
.rep2__role {
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--blue-600);
}
.rep2__city { font-size: 0.88rem; color: var(--gray-500); margin: 4px 0 14px; }
.rep2__contacts { display: grid; gap: 8px; margin-top: auto; }
.rep2__contacts a {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 500; color: var(--gray-700);
  padding: 9px 12px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.rep2__contacts a:hover { border-color: var(--blue-600); color: var(--blue-600); background: var(--gray-50); }
.rep2__contacts svg { width: 16px; height: 16px; flex: none; }
.rep2--hq { border-top: 4px solid var(--accent); }
.rep2--hq .rep2__uf { background: linear-gradient(140deg, var(--accent), var(--accent-dark)); }

/* ============================================================
   ANIMAÇÕES INTERATIVAS v2
   ============================================================ */

/* Barra de progresso de leitura */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue-600), var(--accent));
  z-index: 200;
}

/* Navbar ganha sombra mais forte ao rolar */
.header__navbar { transition: box-shadow 0.3s ease; }
.header__navbar.scrolled { box-shadow: 0 10px 30px rgba(7, 24, 41, 0.5); }

/* Bolhas de água flutuantes nos heros */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bubble {
  position: absolute; bottom: -70px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.30), rgba(42, 133, 208, 0.10));
  border: 1px solid rgba(255, 255, 255, 0.14);
  animation: bubbleUp linear infinite;
}
@keyframes bubbleUp {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 0.7; }
  100% { transform: translateY(-115vh) translateX(46px) scale(1.18); opacity: 0; }
}
.page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }

/* Círculo do hero respira suavemente */
.hero::after { animation: heroFloat 10s ease-in-out infinite alternate; }
@keyframes heroFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-50px, 36px) scale(1.08); }
}

/* Ripple ao clicar em botões */
.btn .ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: rippleGrow 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleGrow { to { transform: scale(4); opacity: 0; } }

/* Reveals laterais (splits deslizam das bordas) */
.reveal-left  { opacity: 0; transform: translateX(-44px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(44px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* Sublinhado que se desenha nos títulos de seção */
.section-head h2::after {
  content: "";
  display: block;
  width: 58px; height: 3px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.6s ease 0.25s;
}
.section-head.visible h2::after,
.section-head:not(.reveal) h2::after { transform: scaleX(1); }

/* Logo reage ao hover */
.header__logo img { transition: transform 0.3s ease; }
.header__logo:hover img { transform: scale(1.04); }

/* Vídeos dão zoom sutil */
.video-grid video { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.video-grid video:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }



/* ============================================================
   CORREÇÕES v2.1 — overflow lateral + transição entre páginas
   ============================================================ */

/* Os reveals laterais criavam barra de rolagem horizontal
   (deslocavam o layout). Isto trava a página na largura certa. */
html, body { overflow-x: hidden; }

/* Troca de página suave (View Transitions — Chrome/Edge) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: pageFadeOut 0.2s ease both; }
::view-transition-new(root) { animation: pageFadeIn 0.3s ease both; }
@keyframes pageFadeOut { to { opacity: 0; } }
@keyframes pageFadeIn { from { opacity: 0; } }

/* Fallback universal: conteúdo surge suavemente ao carregar */
body { animation: bodyIn 0.4s ease; }
@keyframes bodyIn { from { opacity: 0; } }



/* ============================================================
   v2.2 — remove efeito "zoom" na troca de página + reveals suaves
   ============================================================ */

/* O crossfade de página inteira causava sensação de zoom. Removido. */
@view-transition { navigation: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }

/* Fade de entrada mais curto e discreto */
body { animation-duration: 0.25s; }

/* Deslocamentos menores = entrada mais elegante, sem "pulo" */
.reveal { transform: translateY(14px); }
.reveal-left { transform: translateX(-24px); }
.reveal-right { transform: translateX(24px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { transform: none; }

/* ============================================================
   v2.3 — melhor enquadramento dos textos
   ============================================================ */

/* Títulos quebram linha de forma equilibrada (sem palavra sozinha) */
h1, h2, h3, .section-head h2 { text-wrap: balance; }

/* Parágrafos com quebras mais harmoniosas */
p, .hero p, .page-hero p { text-wrap: pretty; }

/* Hero da home: mais largura e título levemente menor = menos linhas */
.hero__inner { max-width: 840px; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }

/* Heros internos: texto de apoio melhor distribuído */
.page-hero p { max-width: 720px; }
.section-head p { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ============================================================
   v2.4 — correção: overflow-x "hidden" no body podia travar
   efeitos ligados à rolagem. "clip" corta sem criar rolagem.
   ============================================================ */
html, body { overflow-x: clip; }

/* ============================================================
   v3.0 — Seletor de idioma (PT | ES)
   ============================================================ */
.lang-switch { display: flex; gap: 6px; align-items: center; flex: none; }
.lang-switch a {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  border: 1.5px solid var(--gray-300);
  transition: var(--transition);
}
.lang-switch a.active { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.lang-switch a:hover:not(.active) { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-1px); }
@media (max-width: 1180px) {
  .header__top-inner { justify-content: space-between; }
}
