/* ============================================================
   SHZ /v1 — main.css
   SaaS acessível e confiável: branco quente, cards arredondados
   com sombra suave, cor de marca como protagonista. Sem framework, sem build.
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-var.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-800.woff2") format("woff2");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

section { position: relative; padding-block: var(--space-2xl); }
section.section-alt { background: var(--bg-section-alt); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-orange-text);
  margin-bottom: var(--space-sm);
}
.label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange-text);
}

.section-head { max-width: 620px; margin-bottom: var(--space-xl); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .label { justify-content: center; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { color: var(--ink-soft); font-size: var(--fs-body-lg); margin-top: var(--space-sm); }

.text-accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Focus / a11y ---------- */
:focus-visible {
  outline: 3px solid var(--brand-orange-action);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-orange);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--fs-body);
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn--sm { padding: 0.6rem 1.25rem; font-size: var(--fs-small); }
.btn--primary { background: var(--brand-orange); color: #fff; box-shadow: 0 12px 24px -12px rgba(255, 107, 24, 0.6); }
.btn--primary:hover { background: var(--brand-orange-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(255, 107, 24, 0.6); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: var(--bg-card); }
.btn--ghost:hover { border-color: var(--brand-orange-action); color: var(--brand-orange-text); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

/* ---------- Brand mark (logo) ---------- */
.brand {
  display: inline-flex;
  align-items: center;
}
.brand__logo {
  display: block;
  height: 34px;
  width: auto;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  background: var(--brand-orange);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur-fast) var(--ease);
}
.navbar.scrolled { box-shadow: 0 4px 24px -10px rgba(20, 10, 0, 0.35); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.navbar__nav { display: flex; align-items: center; gap: var(--space-lg); }
.navbar__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #fff;
  transition: color var(--dur-fast) var(--ease);
}
.navbar__link:hover { color: #fff; }
.navbar__cta { margin-left: var(--space-md); }
.navbar .btn--primary.navbar__cta {
  background: #fff;
  color: var(--brand-navy);
  box-shadow: none;
}
.navbar .btn--primary.navbar__cta:hover { background: var(--bg-section-alt); color: var(--brand-navy); }
.navbar__toggle { display: none; z-index: 110; color: #fff; }
.navbar__toggle .icon { width: 24px; height: 24px; }
.navbar__toggle-close { display: none; }
.navbar__toggle[aria-expanded="true"] .navbar__toggle-open { display: none; }
.navbar__toggle[aria-expanded="true"] .navbar__toggle-close { display: block; }

.navbar__dropdown { position: relative; }
.navbar__dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-2xs);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
}
.navbar__dropdown.is-open .navbar__dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease);
}
.dropdown-item:hover { background: var(--bg-section-alt); }
.dropdown-item strong { display: block; font-size: var(--fs-body); }
.dropdown-item small { display: block; color: var(--ink-faint); font-size: 0.75rem; }
.dropdown-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.dropdown-item__icon .icon { width: 20px; height: 20px; }
.dropdown-item__icon--chat { background: rgba(23, 168, 82, 0.12); color: var(--accent-chat); }
.dropdown-item__icon--sind { background: rgba(71, 58, 194, 0.1); color: var(--accent-sind); }
.dropdown-item__icon--assina { background: rgba(212, 32, 139, 0.1); color: var(--accent-assina); }
.dropdown-item__icon--ped { background: rgba(202, 138, 4, 0.12); color: var(--accent-ped); }
.dropdown-item__icon--med { background: rgba(47, 111, 237, 0.1); color: var(--accent-med); }
.dropdown-item__icon--portal { background: rgba(13, 148, 136, 0.1); color: var(--accent-portal); }
.dropdown-item__icon--eleitor { background: rgba(52, 74, 154, 0.1); color: var(--accent-eleitor); }

.navbar__mobile {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--bg-page);
  z-index: 99;
  padding: var(--space-lg) var(--space-md);
  overflow-y: auto;
}
.navbar__mobile nav { display: flex; flex-direction: column; gap: var(--space-sm); width: 100%; }
.navbar__mobile a { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; }
.navbar__mobile.open { display: flex; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(76px + var(--space-xl)); padding-bottom: 0; }
.hero__content { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: var(--space-xl); }
.hero h1 { font-size: var(--fs-display); font-weight: 800; margin-bottom: var(--space-md); }
.hero__sub { font-size: var(--fs-body-lg); color: var(--ink-soft); max-width: 560px; margin: 0 auto var(--space-lg); }
.hero__actions { display: flex; justify-content: center; gap: var(--space-sm); flex-wrap: wrap; }

/* ---------- Banner rotativo do hero ---------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--brand-navy) 0%, var(--brand-navy-soft) 55%, var(--brand-orange-hover) 145%);
}
.hero-slider__viewport { overflow: hidden; }
.hero-slider__track { display: flex; transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1); }
@media (prefers-reduced-motion: reduce) { .hero-slider__track { transition: none; } }

.hero-slide { flex: 0 0 100%; min-width: 0; }
.hero-slide__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: var(--space-xl);
  padding-block: var(--space-2xl);
  min-height: 320px;
}
.hero-slide__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}
.hero-slide--chat .hero-slide__tag { background: var(--accent-chat); }
.hero-slide--portal .hero-slide__tag { background: var(--accent-portal); }
.hero-slide--assina .hero-slide__tag { background: var(--accent-assina); }
.hero-slide--sind .hero-slide__tag { background: var(--accent-sind); }
.hero-slide--eleitor .hero-slide__tag { background: var(--accent-eleitor); }

.hero-slide__text h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: var(--space-sm); }
.hero-slide__text p { color: rgba(255, 255, 255, 0.78); font-size: var(--fs-body-lg); max-width: 440px; margin-bottom: var(--space-md); }
.hero-slide__cta { background: #fff; color: var(--brand-navy); }
.hero-slide__cta:hover { background: var(--bg-section-alt); transform: translateY(-2px); }

.hero-slide__visual { position: relative; display: flex; align-items: center; justify-content: center; height: 220px; }
.hero-slide__visual--eleitor { overflow: hidden; align-self: center; height: 230px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: var(--radius-md); background: #f5f7fc; box-shadow: 0 20px 36px rgba(4, 9, 37, 0.28); }
.hero-slide__visual--eleitor img { display: block; width: 122%; max-width: none; height: auto; transform: translateY(-1%); }
.hero-slide__logo-wrap { position: relative; display: inline-block; max-width: 70%; }
.hero-slide__logo { display: block; width: 240px; max-width: 100%; height: auto; margin-inline: auto; filter: drop-shadow(0 20px 36px rgba(4, 9, 37, 0.28)); }
.hero-slide__partner-badge { position: absolute; right: -14px; bottom: -14px; height: 56px; width: auto; filter: drop-shadow(0 10px 20px rgba(4, 9, 37, 0.35)); }
.hero-slide__dot { position: absolute; width: 148px; height: 148px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.hero-slide__ring { position: absolute; width: 208px; height: 208px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.22); animation: heroRingSpin 16s linear infinite; }
.hero-slide__icon { position: relative; z-index: 2; width: 84px; height: 84px; color: #fff; stroke-width: 1.4; }
@keyframes heroRingSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-slide__ring { animation: none; } }

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background var(--dur-fast) var(--ease);
}
.hero-slider__arrow:hover { background: rgba(255, 255, 255, 0.28); }
.hero-slider__arrow .icon { width: 20px; height: 20px; }
.hero-slider__arrow--prev { left: var(--space-md); }
.hero-slider__arrow--prev .icon { transform: scaleX(-1); }
.hero-slider__arrow--next { right: var(--space-md); }

.hero-slider__rotation {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 800;
  transition: background var(--dur-fast) var(--ease);
}
.hero-slider__rotation:hover { background: rgba(255, 255, 255, 0.3); }
.hero-slider__rotation-play { display: none; font-size: 0.8rem; margin-left: 2px; }
.hero-slider__rotation.is-paused .hero-slider__rotation-pause { display: none; }
.hero-slider__rotation.is-paused .hero-slider__rotation-play { display: inline; }

.hero-slider__dots { position: absolute; bottom: var(--space-2xs); left: 50%; transform: translateX(-50%); display: flex; gap: 2px; z-index: 3; }
.hero-slider__dotbtn { position: relative; width: 28px; height: 28px; border-radius: 50%; }
.hero-slider__dotbtn::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); transition: background var(--dur-fast) var(--ease), inset var(--dur-fast) var(--ease); }
.hero-slider__dotbtn.is-active::before { inset: 10px 5px; background: #fff; border-radius: var(--radius-full); }

/* ---------- Produtos ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }

.card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-orange);
  background: rgba(255, 107, 24, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  width: fit-content;
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}
.card__icon .icon { width: 26px; height: 26px; }
.card--chat .card__icon { background: rgba(23, 168, 82, 0.12); color: var(--accent-chat); }
.card--sind .card__icon { background: rgba(71, 58, 194, 0.1); color: var(--accent-sind); }
.card--assina .card__icon { background: rgba(212, 32, 139, 0.1); color: var(--accent-assina); }
.card--ped .card__icon { background: rgba(202, 138, 4, 0.12); color: var(--accent-ped); }
.card--med .card__icon { background: rgba(47, 111, 237, 0.1); color: var(--accent-med); }
.card--portal .card__icon { background: rgba(13, 148, 136, 0.1); color: var(--accent-portal); }
.card--eleitor .card__icon { background: rgba(52, 74, 154, 0.1); color: var(--accent-eleitor); }
.card--chat .card__badge { color: var(--accent-chat); background: rgba(23, 168, 82, 0.1); }
.card--sind .card__badge { color: var(--accent-sind); background: rgba(71, 58, 194, 0.08); }
.card--assina .card__badge { color: var(--accent-assina); background: rgba(212, 32, 139, 0.08); }
.card--ped .card__badge { color: var(--accent-ped); background: rgba(202, 138, 4, 0.1); }
.card--med .card__badge { color: var(--accent-med); background: rgba(47, 111, 237, 0.08); }
.card--portal .card__badge { color: var(--accent-portal); background: rgba(13, 148, 136, 0.08); }
.card--eleitor .card__badge { color: var(--accent-eleitor); background: rgba(52, 74, 154, 0.08); }
.card--eleitor { grid-column: 2; }

.card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-2xs); }
.card__tagline { color: var(--ink-soft); font-size: var(--fs-small); margin-bottom: var(--space-md); }
.card__summary { color: var(--ink-soft); font-size: var(--fs-small); margin-bottom: var(--space-lg); flex-grow: 1; }
.card__partner-badge { display: block; height: 30px; width: auto; margin-bottom: var(--space-md); }
.card__list { display: flex; flex-direction: column; gap: var(--space-xs); margin-bottom: var(--space-lg); flex-grow: 1; }
.card__list li { display: flex; align-items: flex-start; gap: var(--space-2xs); font-size: var(--fs-small); color: var(--ink-soft); }
.card__list .icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--brand-orange); }

/* ---------- Diferenciais ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.diff-item {
  position: relative;
  overflow: hidden;
  text-align: left;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  padding-top: calc(var(--space-md) + 3px);
  box-shadow: var(--shadow-card);
}
.diff-item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-orange); }
.diff-item--chat::before { background: var(--accent-chat); }
.diff-item--sind::before { background: var(--accent-sind); }
.diff-item--assina::before { background: var(--accent-assina); }
.diff-item--ped::before { background: var(--accent-ped); }
.diff-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  color: var(--brand-orange);
  margin-bottom: var(--space-sm);
}
.diff-item--chat .diff-item__icon { background: rgba(23, 168, 82, 0.12); color: var(--accent-chat); }
.diff-item--sind .diff-item__icon { background: rgba(71, 58, 194, 0.1); color: var(--accent-sind); }
.diff-item--assina .diff-item__icon { background: rgba(212, 32, 139, 0.1); color: var(--accent-assina); }
.diff-item--ped .diff-item__icon { background: rgba(202, 138, 4, 0.12); color: var(--accent-ped); }
.diff-item__icon .icon { width: 24px; height: 24px; }
.diff-item h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.diff-item p { color: var(--ink-soft); font-size: var(--fs-small); }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.about-copy p { color: var(--ink-soft); font-size: var(--fs-body-lg); margin: var(--space-md) 0 var(--space-lg); }
.about-proof {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-soft));
  color: #fff;
  box-shadow: var(--shadow-card);
}
.about-proof__eyebrow { color: #d5d2e5; font-size: var(--fs-small); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.about-proof strong { display: block; margin-block: var(--space-xs); font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -0.05em; }
.about-proof p { color: #dedceb; max-width: 420px; }
.diff-grid--about { margin-top: var(--space-xl); }

.about-facts { display: flex; flex-direction: column; gap: var(--space-sm); }
.about-fact {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.about-fact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  color: var(--brand-orange);
  flex-shrink: 0;
}
.about-fact__icon .icon { width: 22px; height: 22px; }
.about-fact strong { display: block; font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; }
.about-fact span { color: var(--ink-soft); font-size: var(--fs-small); }

/* ---------- Páginas de produto ---------- */
.product-page--sind { --product-accent: var(--accent-sind); }
.product-page--assina { --product-accent: var(--accent-assina); }
.product-page--ped { --product-accent: var(--accent-ped); }
.product-page--med { --product-accent: var(--accent-med); }
.product-page--portal { --product-accent: var(--accent-portal); }
.product-page--eleitor { --product-accent: var(--accent-eleitor); }
.product-hero { padding-top: calc(76px + var(--space-2xl)); background: linear-gradient(180deg, var(--bg-section-alt), #fff); }
.product-hero__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: var(--space-2xl); align-items: center; }
.product-back { display: inline-flex; align-items: center; gap: var(--space-2xs); color: var(--ink-soft); font-size: var(--fs-small); font-weight: 700; margin-bottom: var(--space-lg); }
.product-back .icon { width: 16px; height: 16px; transform: scaleX(-1); }
.product-hero h1 { max-width: 760px; font-size: var(--fs-display); }
.product-hero__sub { max-width: 680px; color: var(--ink-soft); font-size: var(--fs-body-lg); margin-block: var(--space-md) var(--space-lg); }
.product-hero__visual { position: relative; display: grid; place-items: center; min-height: 320px; border-radius: var(--radius-lg); background: var(--brand-navy); overflow: hidden; }
.product-hero__visual::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--product-accent); opacity: 0.28; filter: blur(2px); }
.product-hero__ring { position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); }
.product-hero__icon { position: relative; width: 92px; height: 92px; color: #fff; stroke-width: 1.35; }
.product-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.product-feature-grid--extended { grid-template-columns: repeat(6, 1fr); }
.product-feature-grid--extended .product-feature { grid-column: span 2; }
.product-feature-grid--extended .product-feature:nth-last-child(2) { grid-column: 2 / span 2; }
.product-feature-grid--extended .product-feature:last-child { grid-column: 4 / span 2; }
.product-feature { padding: var(--space-lg); border-radius: var(--radius-lg); background: var(--bg-card); box-shadow: var(--shadow-card); }
.product-feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-md); margin-bottom: var(--space-md); background: var(--bg-panel); color: var(--product-accent); }
.product-feature__icon .icon { width: 26px; height: 26px; }
.product-feature h3 { margin-bottom: var(--space-2xs); }
.product-feature p { color: var(--ink-soft); }
.product-journey-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.product-journey { padding: var(--space-lg); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-card); box-shadow: var(--shadow-card); }
.product-journey > span { display: block; color: var(--ink-faint); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.product-journey h3 { margin-top: var(--space-2xs); font-size: 1.05rem; color: var(--ink-soft); }
.product-journey p { margin-top: var(--space-2xs); color: var(--ink); font-weight: 700; }
.product-journey__arrow { display: grid; place-items: center; width: 36px; height: 36px; margin-block: var(--space-sm); border-radius: 50%; background: color-mix(in srgb, var(--product-accent) 12%, white); color: var(--product-accent); }
.product-journey__arrow .icon { width: 18px; height: 18px; transform: rotate(90deg); }
.product-differentials { background: var(--brand-navy); color: #fff; }
.product-differentials__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--space-2xl); align-items: center; }
.product-differentials h2 { color: #fff; font-size: var(--fs-h2); }
.product-differentials .label { color: #ffc9aa; }
.product-differentials ul { display: grid; gap: var(--space-sm); }
.product-differentials li { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md); background: rgba(255,255,255,.06); font-weight: 700; }
.product-differentials li .icon { width: 20px; height: 20px; flex: 0 0 auto; color: #ffc9aa; }
.product-trust__grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: var(--space-xl); align-items: center; }
.product-trust h2 { font-size: var(--fs-h2); margin-bottom: var(--space-sm); }
.product-trust p { color: var(--ink-soft); max-width: 680px; font-size: var(--fs-body-lg); }
.product-trust__actions { display: flex; flex-direction: column; gap: var(--space-sm); }

/* ---------- Conteúdo legal ---------- */
.legal-page { padding-top: calc(76px + var(--space-xl)); }
.legal-content { max-width: 820px; }
.legal-content h1 { font-size: var(--fs-h2); margin-bottom: var(--space-xs); }
.legal-content__updated { color: var(--ink-faint); font-size: var(--fs-small); margin-bottom: var(--space-xl); }
.legal-content h2 { font-size: 1.35rem; margin: var(--space-lg) 0 var(--space-xs); }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.legal-content ul { list-style: disc; padding-left: var(--space-md); display: grid; gap: var(--space-2xs); }
.legal-content a { color: var(--brand-orange-text); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- CTA / Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-lg); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--fs-small); font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  background: var(--bg-page);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  transition: border-color var(--dur-fast) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-orange-action);
  outline: none;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.15);
}
.field [aria-invalid="true"] { border-color: #b42318; }
.field__error { color: #9f241b; font-size: 0.8125rem; font-weight: 600; }
.field textarea { resize: vertical; min-height: 120px; }
.field--honeypot { position: absolute; left: -9999px; opacity: 0; }

.contact-side { display: flex; flex-direction: column; gap: var(--space-sm); }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-fast) var(--ease);
}
.contact-info-item:hover { transform: translateY(-3px); }
.contact-info-item .card__icon { margin-bottom: 0; flex-shrink: 0; }
.contact-info-item strong { display: block; }
.contact-info-item span { color: var(--ink-soft); font-size: var(--fs-small); }
.contact-info-item__badge-img { height: 44px; width: auto; flex-shrink: 0; }
.contact-info-item--whatsapp .card__icon { background: rgba(23, 168, 82, 0.12); color: var(--accent-chat); }

.form-message { padding: var(--space-sm) var(--space-md); border-radius: var(--radius-sm); font-size: var(--fs-small); border: 1px solid; }
.form-message--success { background: rgba(23, 168, 82, 0.08); border-color: rgba(23, 168, 82, 0.3); color: #0f7a3c; }
.form-message--error { background: rgba(212, 32, 139, 0.06); border-color: rgba(212, 32, 139, 0.3); color: #a5176d; }
.form-message ul { margin: var(--space-2xs) 0 0 var(--space-md); list-style: disc; }
.form-privacy { color: var(--ink-soft); font-size: 0.8125rem; text-align: center; }
.form-privacy a { color: var(--brand-orange-text); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer ---------- */
.footer { padding-block: var(--space-2xl) var(--space-lg); background: var(--brand-navy); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-lg); margin-bottom: var(--space-xl); }
.footer__brand p { color: rgba(255, 255, 255, 0.74); font-size: var(--fs-small); max-width: 220px; margin-top: var(--space-sm); }
.footer__col h4 { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.72); margin-bottom: var(--space-sm); }
.footer__col a { display: block; color: rgba(255, 255, 255, 0.75); font-size: var(--fs-small); margin-bottom: var(--space-xs); transition: color var(--dur-fast) var(--ease); }
.footer__col a:hover { color: var(--brand-orange-soft); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: var(--space-md); color: rgba(255, 255, 255, 0.72); font-size: var(--fs-small); }

/* ---------- Botão flutuante do WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-chat);
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(11, 122, 57, 0.55);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 28px -6px rgba(11, 122, 57, 0.6); }
.whatsapp-float .icon { width: 28px; height: 28px; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .card--eleitor { grid-column: auto; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero-slide__inner { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-block: var(--space-xl); gap: var(--space-md); }
  .hero-slide__text p { margin-inline: auto; }
  .hero-slide__visual { height: 160px; order: -1; }
  .hero-slide__visual--eleitor { height: 190px; }
  .hero-slide__dot { width: 110px; height: 110px; }
  .hero-slide__ring { width: 154px; height: 154px; }
  .hero-slide__icon { width: 64px; height: 64px; }
  .hero-slide__partner-badge { height: 44px; right: -10px; bottom: -10px; }
  .product-hero__grid, .product-trust__grid { grid-template-columns: 1fr; }
  .product-feature-grid--extended { grid-template-columns: repeat(2, 1fr); }
  .product-feature-grid--extended .product-feature,
  .product-feature-grid--extended .product-feature:nth-last-child(2),
  .product-feature-grid--extended .product-feature:last-child { grid-column: auto; }
  .product-differentials__grid { grid-template-columns: 1fr; }
  .product-hero__visual { min-height: 240px; }
}

@media (max-width: 768px) {
  section { padding-block: var(--space-xl); }
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__toggle { display: block; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .contact-form { padding: var(--space-md); }
  .hero { padding-top: calc(76px + var(--space-lg)); }
  .hero__content { margin-bottom: var(--space-lg); }
  .hero-slide__visual { display: none; }
  .hero-slide__inner { padding-block: var(--space-lg) var(--space-xl); }
  .hero-slider__rotation { display: none; }
  .hero-slider__arrow { width: 36px; height: 36px; }
  .hero-slider__arrow--prev { left: var(--space-xs); }
  .hero-slider__arrow--next { right: var(--space-xs); }
  .product-feature-grid { grid-template-columns: 1fr; }
  .product-journey-grid { grid-template-columns: 1fr; }
  .product-hero { padding-top: calc(76px + var(--space-xl)); }
  .product-hero__visual { min-height: 200px; }
  .product-hero__ring { width: 150px; height: 150px; }
  .product-hero__icon { width: 68px; height: 68px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .diff-grid { grid-template-columns: 1fr; }
  .hero-slide__cta { width: 100%; }
}

/* Segurança: se a tela crescer além do breakpoint mobile com o menu ainda
   marcado como aberto (redimensionar janela, rotacionar tablet), nunca deixar
   o painel mobile sobrepor o layout desktop. */
@media (min-width: 769px) {
  .navbar__mobile.open { display: none; }
}
