/* ============================================================
   TELHA POLAR — Design System
   ============================================================ */

:root {
  --primary: #162b6f;
  --primary-dark: #0f1e50;
  --primary-light: #1e3a8a;
  --cta: #16a34a;
  --cta-hover: #15803d;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --radius: 10px;
  --radius-lg: 16px;
  --font: 'Inter', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --transition: all 0.3s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  /* NÃO usar overflow-x: hidden aqui — quebra position:fixed em mobile browsers */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip; /* clip nao quebra position:fixed como hidden */
  max-width: 100%;
  background: var(--white);
}

/* Impede scroll do body quando drawer está aberto */
body.drawer-open {
  overflow: hidden;
  /* SEM position:fixed aqui — quebraria position:fixed dos filhos */
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ============================================================
   CONTAINER
   ============================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ============================================================
   HEADER
   ============================================================ */

header {
  background: var(--primary);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  height: 48px;
  width: auto;
}

/* Desktop nav */
nav#main-nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
}

nav#main-nav ul li a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}

nav#main-nav ul li a:hover,
nav#main-nav ul li a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition);
}

.menu-toggle:hover {
  background: rgba(255,255,255,0.1);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  height: 88vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 22, 60, 0.60) 0%,
    rgba(14, 22, 60, 0.75) 100%
  );
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: '✓';
  font-size: 0.9rem;
  color: #4ade80;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  letter-spacing: 0.01em;
}

.hero h1 span {
  color: #86efac;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.warranty-seal {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 72px;
  z-index: 3;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  opacity: 0.95;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cta);
  color: var(--white);
  padding: 15px 36px;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.4);
}

.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(22, 163, 74, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  padding: 13px 28px;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-cta {
  background: var(--cta);
  color: var(--white);
  padding: 15px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.35);
  text-decoration: none;
}

.btn-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(22, 163, 74, 0.45);
}

/* ============================================================
   PROMO BAR
   ============================================================ */

.promo-bar {
  background: linear-gradient(90deg, #1e3a8a 0%, #162b6f 50%, #1e3a8a 100%);
  padding: 14px 0;
  text-align: center;
  overflow: hidden;
}

.promo-bar p {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.promo-bar p span {
  color: #86efac;
}

/* ============================================================
   BENEFITS
   ============================================================ */

.benefits {
  padding: 64px 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .eyebrow {
  display: inline-block;
  color: var(--cta);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

.section-title p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 1rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.benefit-card {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(22, 163, 74, 0.3);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--white);
}

.benefit-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

/* ============================================================
   GALLERY
   ============================================================ */

.gallery-section {
  padding: 64px 0;
  background: var(--bg-light);
}

.gallery-section.white {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ============================================================
   CATEGORIES
   ============================================================ */

.categories-section {
  padding: 72px 0;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.categories-section .section-title h2 {
  color: var(--white);
}

.categories-section .section-title .eyebrow {
  color: #86efac;
}

.models-image {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 48px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 12px;
  color: var(--text);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.category-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 14px;
}

.category-card h3 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--primary);
  line-height: 1.3;
}

/* ============================================================
   PARTNERS / LOGOS
   ============================================================ */

.partners-section {
  padding: 56px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.logo-grid img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: var(--transition);
}

.logo-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ============================================================
   PRESENCE
   ============================================================ */

.presence-section {
  padding: 72px 0;
  background: var(--bg-light);
  text-align: center;
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */

.product-section {
  padding: 80px 0;
  background: var(--white);
}

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

.product-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.product-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
}

.product-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.bullet-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.bullet-item::before {
  content: '✓';
  color: var(--cta);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
  padding: 72px 0;
  text-align: center;
  color: var(--white);
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: #0a1428;
  color: rgba(255,255,255,0.65);
  padding: 40px 0 24px;
  text-align: center;
}

footer .footer-logo {
  margin-bottom: 20px;
}

footer .footer-logo img {
  height: 42px;
  margin: 0 auto;
  opacity: 0.85;
}

footer p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 6px;
}

footer .footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

footer .footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  transition: var(--transition);
}

footer .footer-links a:hover {
  color: var(--white);
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 2000;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

/* ============================================================
   TEXT CENTER UTILITY
   ============================================================ */

.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ============================================================
   FAQ SECTION
   ============================================================ */

.faq-section {
  padding: 80px 0;
}

.faq-section.white {
  background: var(--white);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(0,0,0,0.02);
}

.faq-question i {
  color: var(--cta);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-bottom: 24px;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */

@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */

@media (max-width: 768px) {

  /* Header */
  .menu-toggle {
    display: flex;
  }

  nav#main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-dark);
    padding: 16px 20px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  nav#main-nav.active {
    display: block;
  }

  nav#main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  nav#main-nav ul li a {
    display: block;
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .logo img {
    height: 38px;
  }

  /* Hero */
  .hero {
    height: 100svh;
    min-height: 520px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.5rem);
    word-break: break-word;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-cta {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 320px;
  }

  .warranty-seal {
    width: 56px;
    bottom: 14px;
    right: 14px;
  }

  /* Promo */
  .promo-bar p {
    font-size: 0.82rem;
    padding: 0 10px;
  }

  /* Benefits */
  .benefits {
    padding: 48px 0;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .benefit-card {
    padding: 20px 12px;
  }

  /* Gallery */
  .gallery-section {
    padding: 48px 0;
  }

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

  /* Categories */
  .categories-section {
    padding: 56px 0;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 18px 10px;
  }

  .category-card img {
    width: 56px;
    height: 56px;
  }

  /* Partners */
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .logo-grid img {
    height: 36px;
  }

  /* Product */
  .product-section {
    padding: 56px 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .bullet-list {
    grid-template-columns: 1fr;
  }

  .bullet-item {
    text-align: left;
  }

  /* CTA Band */
  .cta-band {
    padding: 56px 0;
  }

  /* Container */
  .container {
    padding: 0 16px;
    max-width: 100%;
  }

  /* Section title */
  .section-title {
    margin-bottom: 36px;
  }
}

/* ============================================================
   FORM SECTION — CAPTADOR DE ORÇAMENTO INLINE
   ============================================================ */

.form-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
  text-align: center;
}

.form-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 2px solid #1d6dff;
  box-shadow:
    0 0 0 4px rgba(29, 109, 255, 0.15),
    0 0 32px rgba(29, 109, 255, 0.45),
    0 0 72px rgba(29, 109, 255, 0.20),
    0 16px 64px rgba(0,0,0,0.3);
}

.form-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.2;
}

.form-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.form-subtitle strong {
  color: var(--cta);
  font-weight: 700;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: var(--cta);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.form-input::placeholder {
  color: #b0bec5;
}

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.10);
}

.form-error {
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 600;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-phone-hint {
  font-size: 0.75rem;
  color: #16a34a;
  font-weight: 600;
  display: none;
  animation: hintSlide 0.25s ease;
}

.form-phone-hint.visible {
  display: block;
}

@keyframes hintSlide {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-submit {
  width: 100%;
  padding: 20px 24px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.45);
  margin-top: 8px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.55);
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-submit .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: formSpin 0.7s linear infinite;
}

.form-submit.loading .spinner { display: block; }
.form-submit.loading .btn-text { display: none; }

@keyframes formSpin {
  to { transform: rotate(360deg); }
}

.form-success {
  display: none;
  text-align: center;
  padding: 16px 0;
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #25d366, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  margin: 0 auto 20px;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 700;
}

.form-privacy {
  font-size: 0.72rem;
  color: #b0bec5;
  text-align: center;
  margin-top: 16px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .form-section { padding: 56px 0; }
  .form-wrapper { padding: 28px 20px; margin: 0 16px; }
  .form-title { font-size: 1.3rem; }
}

/* ============================================================
   BOTTOM DRAWER — CAPTADOR WHATSAPP
   ============================================================ */

/* Overlay suave */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9998; /* Abaixo do drawer mas acima de tudo */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Painel principal */
.lead-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%; /* Usar width ao inves de right:0 para mobile */
  background: var(--white);
  border-radius: 24px 24px 0 0;
  padding: 32px 20px 40px;
  z-index: 9999; /* z-index alto para garantir sobreposicao */
  box-shadow: 0 -8px 48px rgba(0, 0, 0, 0.22);
  transform: translateY(110%); /* 110% garante que fique totalmente fora da tela */
  transition: transform 0.40s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
  /* SEM max-width nem margin:auto — não funcionam com fixed em mobile */
}

.lead-drawer.active {
  transform: translateY(0);
}

/* Alça visual */
.drawer-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin: 0 auto 24px;
}

/* Botão fechar */
.drawer-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--bg-gray);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}

.drawer-close:hover {
  background: var(--border);
  color: var(--text);
}

/* Ícone WhatsApp no topo */
.drawer-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.40);
}

/* Textos */
.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 6px;
  line-height: 1.2;
}

.drawer-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

.drawer-subtitle strong {
  color: var(--cta);
  font-weight: 700;
}

/* Campos */
.drawer-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-input-group label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.drawer-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.drawer-input:focus {
  border-color: var(--cta);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.drawer-input::placeholder {
  color: #b0bec5;
}

.drawer-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.10);
}

.drawer-error-msg {
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 600;
  display: none;
}

.drawer-error-msg.visible {
  display: block;
}

/* Botão submit */
.drawer-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.40);
  margin-top: 4px;
}

.drawer-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(22, 163, 74, 0.50);
}

.drawer-submit:active {
  transform: translateY(0);
}

.drawer-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Estado de loading */
.drawer-submit .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: drawerSpin 0.7s linear infinite;
}

.drawer-submit.loading .spinner {
  display: block;
}

.drawer-submit.loading .btn-text {
  display: none;
}

@keyframes drawerSpin {
  to { transform: rotate(360deg); }
}

/* Sucesso */
.drawer-success {
  display: none;
  text-align: center;
  padding: 16px 0 8px;
}

.drawer-success.visible {
  display: block;
}

.drawer-success-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25d366, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.drawer-success h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.drawer-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Privacidade */
.drawer-privacy {
  font-size: 0.72rem;
  color: #b0bec5;
  text-align: center;
  margin-top: 12px;
  line-height: 1.4;
}

/* Botão WhatsApp capture (substitui o antigo link direto) */
.btn-whatsapp-capture {
  cursor: pointer;
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================ */

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

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

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

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

  .hero h1 {
    font-size: clamp(1.5rem, 6.5vw, 2.2rem);
  }

  .promo-bar p {
    font-size: 0.75rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 24px;
    bottom: 18px;
    right: 18px;
  }
}

/* ============================================================
   BLOG / SEO ARTICLES
   ============================================================ */

.blog-hero {
  padding: 80px 0 40px;
  background: var(--bg-light);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.blog-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.blog-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.blog-content {
  padding: 64px 0;
  background: var(--white);
}

.blog-container {
  max-width: 800px;
  margin: 0 auto;
}

.blog-featured-image {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  box-shadow: var(--shadow-lg);
}

.blog-video-container {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 9/16;
}

.blog-video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.blog-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
}

.blog-lead {
  font-size: 1.25rem !important;
  font-weight: 600;
  color: var(--primary) !important;
  line-height: 1.7 !important;
  border-left: 4px solid var(--cta);
  padding-left: 20px;
  margin-bottom: 40px !important;
}

.blog-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
  margin: 48px 0 24px;
  font-weight: 700;
}

.blog-cta-inline {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
  border: 2px dashed var(--cta);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin: 48px 0;
}

.blog-cta-inline h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.blog-cta-inline p {
  font-size: 1rem !important;
  margin-bottom: 24px !important;
}

.blog-separator {
  margin: 64px 0;
  border: 0;
  height: 1px;
  background: var(--border);
}

@media (max-width: 768px) {
  .blog-hero { padding: 56px 0 32px; }
  .blog-content { padding: 40px 0; }
  .blog-meta { flex-direction: column; gap: 8px; }
  .blog-cta-inline { padding: 24px; }
}

/* ============================================================
   BLOG PREVIEW (LPs)
   ============================================================ */
.blog-preview-section {
  padding: 80px 0;
  background: var(--bg-gray);
}
.blog-preview-section .section-title { margin-bottom:48px; }
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width:1200px;
  margin:0 auto;
}
.blog-preview-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.blog-preview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cta);
}
.blog-preview-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.blog-preview-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-preview-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}
.blog-preview-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}
.blog-preview-link {
  font-weight: 700;
  color: var(--cta);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-preview-link:hover {
  color: var(--cta-hover);
}
@media (max-width: 900px) {
  .blog-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }
}
