/* ==========================================================================
   Oliveira Conversores — Landing Page
   Design system industrial: preto, vermelho, off-white
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Cores */
  --color-primary: #E30613;
  --color-primary-dark: #B8050F;
  --color-primary-light: #FF1F2E;
  --color-dark: #0A0A0A;
  --color-secondary: #1A1A1A;
  --color-surface: #FFFFFF;
  --color-light: #F5F5F5;
  --color-border: #E5E5E5;
  --color-text: #1F1F1F;
  --color-text-light: #FFFFFF;
  --color-muted: #6B6B6B;
  --color-success: #16A34A;
  --color-warning: #F59E0B;
  --color-error: #DC2626;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;

  /* Tipografia */
  --font-display: 'Oswald', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Tamanhos */
  --container-max: 1200px;
  --container-padding: clamp(1rem, 4vw, 2rem);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Espaçamento */
  --section-py: clamp(3.5rem, 8vw, 6rem);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-red: 0 8px 24px rgba(227, 6, 19, 0.32);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--color-primary); color: #FFF; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); letter-spacing: 0; }
h4 { font-size: 1.125rem; letter-spacing: 0; }
p { font-size: 1rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--color-muted); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}
.section { padding-block: var(--section-py); }
.section-dark { background: var(--color-dark); color: var(--color-text-light); }
.section-secondary { background: var(--color-secondary); color: var(--color-text-light); }
.section-light { background: var(--color-light); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header h2 .accent { color: var(--color-primary); }
.section-dark .section-header h2 .accent { color: var(--color-primary-light); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  min-height: 48px;
  text-align: center;
}
.btn:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 3px;
}
/* Em mobile permitimos que o texto quebre — evita botão estourando o container */
@media (max-width: 480px) {
  .btn {
    white-space: normal;
    letter-spacing: 0.5px;
    padding: 0.95rem 1.25rem;
  }
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary);
  color: #FFF;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: 0 12px 32px rgba(227, 6, 19, 0.48); }

.btn-secondary {
  background: transparent;
  color: #FFF;
  border: 2px solid #FFF;
}
.btn-secondary:hover { background: #FFF; color: var(--color-dark); }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #FFF;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.32);
}
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); }

.btn-dark { background: var(--color-dark); color: #FFF; }
.btn-dark:hover { background: var(--color-secondary); }

.btn-block { width: 100%; }
.btn-lg { padding: 1.25rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.65rem 1.25rem; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--t-base);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}
.site-logo img { height: 44px; width: auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  transition: color var(--t-fast);
  position: relative;
}
.site-nav a:hover { color: var(--color-primary); }
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--t-base);
}
.site-nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-dark);
  position: relative;
  transition: transform var(--t-base), top var(--t-base);
}
.menu-toggle span::before { content: ''; position: absolute; top: -7px; left: 0; }
.menu-toggle span::after { content: ''; position: absolute; top: 7px; left: 0; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 780px);
  display: flex;
  align-items: center;
  color: #FFF;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img,
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.72) 50%, rgba(10,10,10,0.55) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.85) 100%);
  z-index: -1;
}
.hero-content {
  max-width: 720px;
  padding-block: 4rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(227, 6, 19, 0.15);
  border: 1px solid rgba(227, 6, 19, 0.4);
  color: #FF8A91;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary-light);
  box-shadow: 0 0 12px var(--color-primary-light);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero h1 .accent { color: var(--color-primary-light); }
.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 600px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}
.hero-trust-item svg {
  width: 22px; height: 22px;
  color: var(--color-primary-light);
  flex-shrink: 0;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--color-primary);
  color: #FFF;
  padding: 1rem 0;
  font-weight: 600;
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  text-align: center;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.trust-bar-item svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Cards (Problema / Serviços / Diferenciais) ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(227, 6, 19, 0.1);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--color-muted); font-size: 0.95rem; }

.card-pain {
  background: var(--color-dark);
  color: #FFF;
  border: 1px solid var(--color-secondary);
}
.card-pain p { color: rgba(255,255,255,0.75); }
.card-pain:hover { border-color: var(--color-primary); }
.card-pain .card-icon { background: rgba(227, 6, 19, 0.2); color: var(--color-primary-light); }

.card-service {
  position: relative;
}
.card-service::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.card-service:hover::before { transform: scaleX(1); }

/* ---------- Processo (timeline) ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-primary) 0 12px, transparent 12px 24px);
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-step-number {
  width: 72px; height: 72px;
  background: var(--color-primary);
  color: #FFF;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  border: 6px solid var(--color-dark);
  box-shadow: var(--shadow-red);
  counter-increment: step;
}
.section-light .process-step-number { border-color: var(--color-light); }
.process-step h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.process-step p { color: var(--color-muted); font-size: 0.92rem; }

/* ---------- Galeria Antes/Depois ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--color-dark);
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-base);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7));
}
.gallery-item-label {
  position: absolute;
  bottom: 1rem; left: 1rem; right: 1rem;
  color: #FFF;
  z-index: 1;
  font-weight: 600;
}
.gallery-item-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--color-primary);
  color: #FFF;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

/* ---------- Diferenciais (stats) ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-lg);
  color: #FFF;
  box-shadow: var(--shadow-lg);
  margin-top: 3rem;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.95rem;
  opacity: 0.92;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Vídeo ---------- */
.video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-dark);
}
.video-wrap iframe,
.video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #FFF;
  background-image:
    linear-gradient(rgba(10,10,10,0.6), rgba(10,10,10,0.6)),
    url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?w=1200&q=70');
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: background-color var(--t-base);
}
.video-placeholder:hover { filter: brightness(1.1); }
.video-play-btn {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-red);
  transition: transform var(--t-base);
}
.video-placeholder:hover .video-play-btn { transform: scale(1.1); }
.video-play-btn svg { width: 32px; height: 32px; color: #FFF; margin-left: 4px; }

/* ---------- Marcas ---------- */
.brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  align-items: center;
}
.brand-item {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  transition: all var(--t-base);
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.brand-item:hover {
  border-color: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Depoimentos ---------- */
.testimonial {
  background: #FFF;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem; right: 1.25rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.15;
}
.testimonial-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.testimonial-text {
  color: var(--color-text);
  font-size: 0.98rem;
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex; align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #FFF;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.testimonial-author-info strong { display: block; font-size: 0.95rem; }
.testimonial-author-info span { color: var(--color-muted); font-size: 0.85rem; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: #FFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-base);
}
.faq-item[open] { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--color-light); }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-primary);
  transition: transform var(--t-base);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ---------- CTA Section (WhatsApp) ---------- */
.cta-section {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.94) 0%, rgba(26,26,26,0.94) 100%),
    url('https://images.unsplash.com/photo-1581094289810-adf5d25690e3?w=1600&q=60');
  background-size: cover;
  background-position: center;
  color: #FFF;
  position: relative;
}

.cta-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(135deg, var(--color-primary), transparent 40%, var(--color-whatsapp));
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.4;
}
.cta-card-content { position: relative; z-index: 1; }

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #5DECA0;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.cta-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  box-shadow: 0 0 10px var(--color-whatsapp);
  animation: pulse 2s ease-in-out infinite;
}

.cta-card h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #FFF;
  margin-bottom: 0.75rem;
}
.cta-card h3 em { color: var(--color-primary-light); font-style: normal; }
.cta-card > .cta-card-content > p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-big-btn {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  padding: 1.4rem 2rem;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  letter-spacing: 0.5px;
}

.cta-disclaimer {
  margin-top: 1.25rem !important;
  font-size: 0.88rem !important;
  color: rgba(255,255,255,0.7) !important;
}

/* Contact info cards (4 cards abaixo do CTA principal) */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}
.contact-cards li > a,
.contact-cards li > div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: #FFF;
  transition: all var(--t-fast);
  height: 100%;
}
.contact-cards li > div { cursor: default; }
.contact-cards li > a:hover {
  background: rgba(227, 6, 19, 0.15);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.contact-cards li > a:focus-visible { outline: 2px solid var(--color-primary-light); outline-offset: 2px; }
.contact-card-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(227, 6, 19, 0.2);
  color: var(--color-primary-light);
  border-radius: var(--radius-sm);
  margin-bottom: 0.4rem;
}
.contact-card-icon svg { width: 22px; height: 22px; }
.contact-card-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
}
.contact-card-value {
  font-weight: 600;
  font-size: 0.98rem;
  color: #FFF;
  word-break: break-word;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #050505;
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 60px; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  color: #FFF;
  transition: background var(--t-fast);
}
.footer-social a:hover { background: var(--color-primary); }
.footer-social a:focus-visible { outline: 2px solid var(--color-primary-light); outline-offset: 3px; }
.footer-social svg { width: 20px; height: 20px; }
.footer-col h4 {
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { transition: color var(--t-fast); }
.footer-col a:hover { color: var(--color-primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- WhatsApp Floating ---------- */
.wa-float {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  right: max(20px, env(safe-area-inset-right, 0px));
  width: 60px; height: 60px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: transform var(--t-base);
  animation: waBounce 3s ease-in-out 2;
}
.wa-float:hover { transform: scale(1.1); animation: none; }
.wa-float:focus-visible { outline: 3px solid #FFF; outline-offset: 3px; }
.wa-float svg { width: 32px; height: 32px; color: #FFF; }
.wa-float::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  opacity: 0;
  animation: waPulse 2s ease-out 3;
}
@keyframes waPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}
@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  10% { transform: translateY(-6px); }
  20% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
  40% { transform: translateY(0); }
}

/* ---------- Animações de scroll ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
}
.lightbox.show { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #FFF;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  line-height: 1;
}
.lightbox-close:hover { background: var(--color-primary); }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #FFF;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 1.5rem 0;
    /* Estado fechado: invisível, sem captura de clique, fora do fluxo visual */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
  }
  .site-nav[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 0s;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--container-padding);
  }
  .site-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    display: block;
  }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-card { padding: 1.75rem 1.25rem; }
  .stats { padding: 1.75rem; }
  .hero-trust { gap: 1rem 1.5rem; }
  .trust-bar .container { gap: 0.75rem 1.5rem; }

  /* Header CTA continua visível no mobile, mas vira ícone-only (≥44x44) */
  .header-cta { display: inline-flex; padding: 0; width: 44px; height: 44px; min-height: 44px; }
  .header-cta svg { width: 22px; height: 22px; margin: 0; }
  .header-cta .header-cta-label { display: none; }

  /* Hero CTAs ficam full-width empilhados em telas estreitas */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }

  /* Hero: reduzir tamanho e espaçamento + remover br forçado */
  .hero { min-height: 0; }
  .hero-content { padding-block: 2.5rem 2rem; }
  .hero h1 br { display: none; }
  .hero h1 {
    font-size: clamp(1.25rem, 5.5vw, 1.7rem);
    letter-spacing: -0.02em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }
  .hero-sub { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .hero-badge { font-size: 0.7rem; letter-spacing: 0.5px; padding: 0.35rem 0.8rem; }

  /* Trust items: deixar wrappar bonito sem cortar texto */
  .hero-trust-item { font-size: 0.85rem; min-width: 0; flex-basis: calc(50% - 0.75rem); }
  .hero-trust-item span { min-width: 0; overflow-wrap: break-word; }

  /* Indicador "Role para baixo" só atrapalha em mobile */
  .hero-scroll { display: none; }

  /* Trust bar: items full-width empilhados pra não estourar */
  .trust-bar { padding: 0.75rem 0; }
  .trust-bar .container { flex-direction: column; gap: 0.6rem; }
  .trust-bar-item { font-size: 0.88rem; min-width: 0; }
  .trust-bar-item span { min-width: 0; overflow-wrap: break-word; }

  /* Marcas: evitar overflow com nomes longos */
  .brands { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .brand-item { padding: 1rem 0.5rem; font-size: 0.82rem; letter-spacing: 0.3px; min-width: 0; overflow-wrap: anywhere; }

  /* Seções: padding interno menor pra ganhar área útil */
  .section { padding-block: 3rem; }
  .section-header { margin-bottom: 2rem; }
  .section-header .eyebrow { font-size: 0.75rem; letter-spacing: 2px; }

  /* CTA button gigante: padding menor pra texto não estourar */
  .cta-big-btn { padding: 1.1rem 1rem; font-size: 0.92rem; gap: 0.4rem; }
  .cta-big-btn svg { width: 22px; height: 22px; }

  /* Cards: padding menor */
  .card { padding: 1.5rem; }

  /* Stats: 2 colunas */
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding: 1.5rem 1rem; }
  .stat-num { font-size: 2.25rem; }
  .stat-label { font-size: 0.8rem; }

  /* Container padding um pouco menor pra ganhar largura */
  :root { --container-padding: 1rem; }

  /* Headings mobile: respeitar whitespace e não quebrar palavras no meio */
  h1, h2, h3 { overflow-wrap: normal; word-break: normal; hyphens: manual; }
  h2 { font-size: clamp(1.3rem, 5.8vw, 1.8rem); letter-spacing: -0.01em; }
  h3 { font-size: clamp(1.05rem, 4.2vw, 1.35rem); }

  /* CTA section: h3 e copy menor pra não estourar */
  .cta-card h3 { font-size: clamp(1.1rem, 5vw, 1.55rem); }
}

/* Telas muito pequenas (≤360px) */
@media (max-width: 380px) {
  .hero-trust-item { flex-basis: 100%; }
  .stats { grid-template-columns: 1fr; }
  .brand-item { font-size: 0.78rem; padding: 0.85rem 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
