:root {
  --teal: #01a1a4;
  --teal-dark: #018386;
  --teal-light: #e6f7f7;
  --teal-glow: rgba(1, 161, 164, 0.25);
  --teal-nav-hover: #45dfe2;
  --dark: #555555;
  --dark-deep: #444444;
  --dark-light: #666666;
  --gradient-dark: linear-gradient(135deg, #666666 0%, #555555 48%, #444444 100%);
  --gradient-dark-reverse: linear-gradient(135deg, #444444 0%, #555555 52%, #666666 100%);
  --gray-900: #1a1f2e;
  --gray-700: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset, 13px);
}

section[id] {
  scroll-margin-top: var(--scroll-offset, 13px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--gradient-dark);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.header::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.7;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}

.logo img {
  height: 54px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:not(.btn):hover {
  color: var(--teal-nav-hover);
  text-decoration: none;
}

/* Páginas legais — um único link “Voltar” no header, sem menu hamburger */
.nav-legal {
  display: flex !important;
  position: static;
  flex-direction: row;
  background: none;
  padding: 0;
  box-shadow: none;
}

.nav-legal a {
  font-size: 0.9rem;
  white-space: nowrap;
}

.header-legal .header-inner {
  flex-wrap: nowrap;
}

.header .menu-toggle {
  color: #fff;
}

.header .btn-primary {
  box-shadow: 0 2px 8px var(--teal-glow);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 4px 16px var(--teal-glow);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn-outline:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.menu-toggle {
  display: none;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  line-height: 0;
  min-width: 2.25rem;
  min-height: 2.25rem;
}

.menu-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.5rem;
  height: 1.15rem;
}

.menu-toggle-icon span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.2s ease, width 0.3s ease;
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  flex-shrink: 0;
}

.header-login-mobile {
  color: var(--teal-nav-hover);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.header-login-mobile:hover {
  color: var(--white);
  text-decoration: none;
}

.header-actions .menu-toggle {
  margin-left: 0.15rem;
}

/* ── Hero ── */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, #ececec 0%, var(--white) 40%, var(--teal-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid rgba(1, 161, 164, 0.2);
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--gray-900);
}

.hero h1 span {
  color: var(--teal);
}

.hero-tagline {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0 0 1rem;
  max-width: 540px;
  line-height: 1.4;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin: 0 0 1rem;
  max-width: 540px;
}

.hero-solutions-note {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin: 0 0 1.75rem;
  max-width: 540px;
  padding: 0.85rem 1rem;
  background: rgba(1, 161, 164, 0.08);
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  line-height: 1.55;
}

.hero-solutions-note a {
  color: var(--teal-dark);
  font-weight: 600;
}

.hero-solutions-note a:hover {
  color: var(--teal);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  transition: transform 0.25s;
}

.hero-card:hover {
  transform: translateY(-4px);
}

.hero-card h3 {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.stat {
  padding: 1rem;
  background: var(--gray-100);
  border-radius: 8px;
  border-left: 3px solid var(--teal);
  transition: background 0.2s;
}

.stat:hover {
  background: var(--teal-light);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--teal);
}

.stat span {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.35;
}

/* ── Sections ── */
section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 0.5rem auto 0;
}

.section-title p {
  color: var(--gray-500);
  margin: 0.75rem 0 0;
  max-width: 560px;
  margin-inline: auto;
}

/* ── Products ── */
.products {
  background: var(--gray-100);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(1, 161, 164, 0.3);
}

.product-card-highlight {
  border-top: 4px solid var(--teal);
  background: linear-gradient(160deg, var(--teal-light) 0%, var(--white) 55%);
}

.product-card-highlight:hover {
  border-color: rgba(1, 161, 164, 0.45);
}

.product-card-top {
  text-align: center;
  margin-bottom: 1rem;
}

.product-icon {
  width: 72px;
  height: 72px;
  background: var(--teal-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  box-shadow: 0 2px 10px rgba(1, 161, 164, 0.15);
}

.product-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.product-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.product-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-light);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.product-card-top h3 {
  margin: 0;
}

.product-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  margin: 0 0 1rem;
  flex: 1;
}

.product-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-200);
  padding-top: 0.85rem;
}

.product-card li {
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.product-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

.product-proprietarios {
  margin-top: 2rem;
}

.product-proprietarios-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

.product-proprietarios-inner {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.product-proprietarios-inner h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  color: var(--gray-900);
}

.product-proprietarios-inner p {
  margin: 0 0 1.15rem;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 720px;
}

.product-proprietarios-inner .btn {
  width: auto;
}

@media (max-width: 900px) {
  .product-proprietarios-inner .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Automação ── */
.automacao-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--teal-light) 100%);
  border-top: 1px solid var(--gray-200);
}

.automacao-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.automacao-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.automacao-item:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 161, 164, 0.35);
}

.automacao-icon {
  font-size: 2rem;
  margin-bottom: 0.65rem;
}

.automacao-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--gray-900);
}

.automacao-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.5;
}

/* ── Módulos ── */
.modulos-section {
  background: var(--gray-100);
}

.modulos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.modulo-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.modulo-card-highlight {
  border-top: 4px solid var(--teal);
  background: linear-gradient(160deg, var(--teal-light) 0%, var(--white) 55%);
}

.modulo-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.modulo-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.modulo-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--gray-900);
}

.modulo-card > p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.55;
  flex: 1;
}

.modulo-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--gray-700);
  border-top: 1px solid var(--gray-200);
  padding-top: 0.85rem;
}

.modulo-card li {
  padding: 0.28rem 0 0.28rem 1.2rem;
  position: relative;
  color: var(--gray-700);
}

.modulo-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

/* ── Soluções sob medida ── */
.solucoes-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
  border-top: 1px solid var(--gray-200);
}

.solucoes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.solucao-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.solucao-card:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 161, 164, 0.35);
}

.solucao-card-highlight {
  border-top: 4px solid var(--teal);
  background: linear-gradient(160deg, var(--teal-light) 0%, var(--white) 55%);
}

.solucao-card-highlight:hover {
  border-color: rgba(1, 161, 164, 0.45);
}

.solucao-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.solucao-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--gray-900);
}

.solucao-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--gray-700);
  line-height: 1.6;
  text-align: left;
}

.solucoes-cta {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.solucoes-cta p {
  color: var(--gray-700);
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
}

/* ── Diferenciais destaque ── */
.diferencial-destaque {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 1100px) {
  .diferencial-destaque {
    grid-template-columns: repeat(3, 1fr);
  }
}

.destaque-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.destaque-card-primary {
  border-top: 4px solid var(--teal);
  background: linear-gradient(160deg, var(--teal-light) 0%, var(--white) 60%);
}

.destaque-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  background: rgba(1, 161, 164, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.destaque-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--gray-900);
}

.destaque-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-item {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 161, 164, 0.35);
}

.feature-item .icon {
  font-size: 2.2rem;
  margin-bottom: 0.65rem;
}

.feature-item h4 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: var(--gray-900);
}

.feature-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-grid p {
  color: var(--gray-700);
  margin: 0 0 1rem;
}

.section-title-left {
  text-align: left;
  margin-bottom: 1.5rem;
}

.section-title-left h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
}

.section-title-left h2::after {
  margin: 0.5rem 0 0;
}

.company-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
}

.company-info dl {
  margin: 0;
}

.company-info dt {
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin-top: 0.85rem;
}

.company-info dt:first-child {
  margin-top: 0;
}

.company-info dd {
  margin: 0.15rem 0 0;
  color: var(--gray-900);
}

/* ── WhatsApp info ── */
.whatsapp-section {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.whatsapp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.whatsapp-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
}

.whatsapp-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--gray-900);
}

.whatsapp-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.55;
}

.whatsapp-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.whatsapp-card li {
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
}

.whatsapp-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

.whatsapp-policy-link {
  margin-top: 1rem;
  width: 100%;
  font-size: 0.88rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--teal-nav-hover);
  text-decoration: none;
}

/* ── FAQ ── */
.faq-section {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.faq-item dt {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.faq-item dd {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.65;
  font-size: 0.95rem;
}

.faq-item dd a {
  color: var(--teal);
}

/* ── Contact ── */
.contact {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--teal-light) 100%);
}

.btn-whatsapp {
  display: flex;
  width: 100%;
  margin-bottom: 0;
  background: #25d366;
  color: var(--white);
  font-size: 1.05rem;
  padding: 0.95rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1da851;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.contact-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.contact-box form {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(1, 161, 164, 0.15);
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.75rem;
  text-align: center;
}

.form-group-consent {
  margin-top: 0.25rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.5;
  cursor: pointer;
  font-weight: normal;
}

.consent-label input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--teal);
}

.consent-label a {
  color: var(--teal);
  font-weight: 500;
}

/* ── LGPD bar ── */
.lgpd-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 250;
  background: var(--gradient-dark);
  color: var(--white);
  padding: 1rem 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lgpd-bar[hidden] {
  display: none;
}

.lgpd-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.lgpd-bar p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
  min-width: 220px;
}

.lgpd-bar a {
  color: var(--teal-nav-hover);
  text-decoration: underline;
}

.lgpd-bar .btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
}

body.has-lgpd-bar .fab-whatsapp {
  bottom: 5.5rem;
}

body.has-lgpd-bar .fab-top {
  bottom: calc(5.5rem + 56px + 0.75rem);
}

@media (max-width: 600px) {
  .lgpd-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .lgpd-bar .btn-sm {
    width: 100%;
  }

  body.has-lgpd-bar .fab-whatsapp {
    bottom: 7.5rem;
  }

  body.has-lgpd-bar .fab-top {
    bottom: calc(7.5rem + 56px + 0.75rem);
  }
}

/* ── Footer ── */
.footer {
  background: var(--gradient-dark-reverse);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 0;
  font-size: 0.9rem;
  position: relative;
}

.footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.7;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.footer-brand p {
  margin: 0.75rem 0 0;
  line-height: 1.55;
  max-width: 320px;
}

.footer h4 {
  color: var(--white);
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 0.45rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--teal-nav-hover);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-logo {
  height: 68px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  margin-bottom: 0.25rem;
}

/* ── Floating back to top ── */
.fab-top {
  position: fixed;
  bottom: calc(1.5rem + 56px + 0.75rem);
  right: 1.5rem;
  z-index: 200;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--gradient-dark);
  color: var(--teal-nav-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s, box-shadow 0.2s, color 0.2s;
}

.fab-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-top:hover {
  color: var(--white);
  box-shadow: 0 6px 22px rgba(69, 223, 226, 0.4);
  transform: translateY(-2px);
}

.fab-top.visible:hover {
  transform: translateY(-2px);
}

.fab-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ── Floating WhatsApp ── */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.fab-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
  text-decoration: none;
}

.fab-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .about-grid .btn,
  .solucoes-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .nav:not(.nav-legal).open .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

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

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

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

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin-inline: auto;
  }

  .footer-logo {
    margin-inline: auto;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions {
    display: flex;
  }

  .nav:not(.nav-legal) .btn-primary {
    display: inline-flex;
  }

  .nav:not(.nav-legal) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--gradient-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    padding: 0 1rem;
    transition:
      max-height 0.4s ease,
      opacity 0.3s ease,
      transform 0.35s ease,
      visibility 0.4s ease,
      padding 0.35s ease;
  }

  .nav:not(.nav-legal).open {
    max-height: 28rem;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 1rem;
    pointer-events: auto;
  }

  .nav.open a {
    color: rgba(255, 255, 255, 0.9);
  }

  .header-inner {
    position: relative;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.85rem 0;
  }

  .logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .logo img {
    height: 48px;
    max-width: 100%;
  }

  .header-login-mobile {
    font-size: 0.85rem;
  }
}

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

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .header-inner {
    gap: 0.4rem;
    padding: 0.75rem 0;
  }

  .logo img {
    height: 42px;
  }

  .header-login-mobile {
    font-size: 0.82rem;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  section {
    padding: 3rem 0;
  }

  .footer-logo {
    height: 56px;
  }
}
