/* ==========================================================================
   SNACKS & CIA - CSS MERGE
   ========================================================================== */

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

:root {
  /* Fundos */
  --bg-page: #F5F5F7;
  --bg-card: #FFFFFF;

  /* Textos */
  --text-primary: #1D1D1F;
  --text-secondary: #59595E;

  /* Cores da Marca */
  --primary: #1D1D1F;
  --accent: #0071E3;
  --accent-hover: #0077ED;

  /* Elementos */
  --border-light: #D2D2D7;
  --radius-lg: 24px;
  --radius-md: 12px;
  --radius-sm: 8px;

  /* Sombras */
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.02);
  --shadow-md: 0 8px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);

  /* Espaçamento */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 64px;
  --spacing-2xl: 96px;

  --font: 'Inter', Arial, -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   FONT AWESOME OTIMIZADO (COM MAPA DE ÍCONES)
   ========================================== */

@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src:
    url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2) format("woff2"),
    url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.ttf) format("truetype");
}

@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2) format("woff2"),
    url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.ttf) format("truetype");
}

.fa,
.fas,
.fab {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.fas { font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.fab { font-family: 'Font Awesome 6 Brands'; font-weight: 400; }

/* Ícones - Brands */
.fa-whatsapp::before    { content: "\f232"; }
.fa-instagram::before   { content: "\f16d"; }
.fa-facebook-f::before  { content: "\f39e"; }
.fa-linkedin-in::before { content: "\f0e1"; }

/* Ícones - Solid */
.fa-clock::before         { content: "\f017"; }
.fa-dollar-sign::before   { content: "\f155"; }
.fa-bolt::before          { content: "\f0e7"; }
.fa-envelope::before      { content: "\f0e0"; }
.fa-map-marker-alt::before{ content: "\f3c5"; }
.fa-chevron-down::before  { content: "\f078"; }
.fa-arrow-right::before   { content: "\f061"; }
.fa-spinner::before       { content: "\f110"; }

.fa-spin {
  animation: fa-spin 2s infinite linear;
}
@keyframes fa-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================
   BASE
   ========================================== */

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, p, a, span, li {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

/* ==========================================
   TIPOGRAFIA GLOBAL
   ========================================== */

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--spacing-2xl) var(--spacing-md);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--spacing-xl);
}

.section-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.1;
}

.section-subtitle {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   HEADER & NAV
   ========================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: rgba(247, 255, 247, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 120px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-cta {  
  background: var(--text-primary);
  color: #FFFFFF !important;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);    
}

/* Toggle Mobile */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  display: block;
  transition: all 0.3s ease;
}

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

.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--bg-page);
  overflow: hidden;
  padding-top: 90px;
}

.hero-container {
  display: contents;
}

.hero-content {
  padding: var(--spacing-xl);
  padding-left: 10%;
}

.hero-title {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.hero-title .highlight {
  color: var(--accent);
  display: block;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  max-width: 540px;
}

.hero-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 20px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.badge i {
  color: var(--accent);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text-primary);
  color: #ffffff;
  border-radius: 30px;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 113, 227, 0.3);
}

.hero-image {
  height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.6s ease;
}

/* ==========================================
   BENEFÍCIOS
   ========================================== */

.benefits-section {
  padding: 120px 0;
  background: var(--bg-page);
  overflow: hidden;
}

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 140px;
  margin-top: 60px;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  max-width: 480px;
}

.feature-content h3 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.feature-lead {
  font-size: 21px;
  line-height: 1.5;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 32px;
}

.clean-list {
  list-style: none;
  margin-top: 24px;
}

.clean-list li {
  font-size: 17px;
  margin-bottom: 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.clean-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230071E3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.feature-image {
  flex: 1;
  position: relative;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-row:hover .feature-image img {
  transform: scale(1.02) translateY(-10px);
}

/* ==========================================
   COMO FUNCIONA
   ========================================== */

.how-works {
  background: var(--bg-card);
  padding: var(--spacing-2xl) 0;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto var(--spacing-lg);
}

.step {
  text-align: center;
  padding: var(--spacing-lg);
}

.step-number {
  font-size: 56px;
  font-weight: 700;
  color: #0071E3;
  letter-spacing: -0.02em;
  opacity: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.steps-note {
  text-align: center;
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: var(--spacing-lg);
}

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

.faq {
  background: var(--bg-page);
  padding: var(--spacing-2xl) 0;
}

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

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.faq-question i {
  font-size: 14px;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.faq-answer[hidden] {
  display: none;
}

.faq-cta {
  text-align: center;
  margin-top: 60px;
}

.faq-cta p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

/* ==========================================
   CONTATO
   ========================================== */

.contact-section {
  background: var(--bg-card);
  padding: var(--spacing-2xl) 0;
}

.contact-form-centered {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-page);
  border-radius: var(--radius-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.form-group {
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  border-color: #A1A1A6;
  font-size: 16px;
  font-family: var(--font);
  background: white;
  transition: all 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-group label {
  position: absolute;
  left: 16px;
  top: 16px;
  color: var(--text-secondary);
  font-size: 16px;
  pointer-events: none;
  transition: all 0.2s;
  padding: 0 4px;
  background: transparent;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: -10px;
  left: 12px;
  font-size: 12px;
  color: var(--accent);
  background: white;
  font-weight: 600;
}

.btn-submit-large {
  width: 100%;
  padding: 18px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-submit-large:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.form-note {
  text-align: center;
  color: #59595E;
  font-size: 14px;
  margin-top: 24px;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

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

.footer {
  background: #F5F5F7;
  color: var(--text-primary);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-light);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-col-logo {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 5px;
  text-align: center;
}

.footer-logo {
  height: auto;
  width: 120px;
  max-width: 80%;
  margin-top: 0;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
}

.footer-col {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.footer-col-logo p {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  max-width: 260px;
  margin: 0;
  line-height: 1.4;
}

.footer-col h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1;
  font-weight: 600;
}

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

.footer-col li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

.footer-col li i {
  width: 20px;
  text-align: center;
  color: var(--accent);
  font-size: 16px;
}

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

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 0;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #F5F5F7;
  color: var(--text-secondary);
  border-radius: 50%;
  font-size: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-decoration: none;
  box-shadow: none;
}

.social-links a:hover {
  background: var(--bg-card);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 113, 227, 0.25);
  border-color: transparent;
}

.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  text-align: center;
  color: #59595E;
  font-size: 13px;
}

.footer-bottom p {
  font-size: 13px;
  color: #59595E;
  opacity: 1;
}

/* ==========================================
   WHATSAPP & NOTIFICAÇÕES & UTILS
   ========================================== */

.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  border: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
  color: white;
  text-decoration: none;
}

.whatsapp-btn:focus-visible {
  outline: 3px solid rgba(0,113,227,.75);
  outline-offset: 4px;
}

/* Notificações (migradas do JS) */
.notification {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 10000;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  font-family: var(--font);
  font-weight: 500;
  color: #fff;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.notification.is-visible {
  transform: translateX(0);
}

.notification.success {
  background: #0071E3;
}

.notification.error {
  background: #FF3B30;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  z-index: 10000;
}

.skip-link:focus {
  top: 0;
}

/* ==========================================
   RESPONSIVO (GERAL) - ÚNICO BLOCO
   ========================================== */

@media (max-width: 768px) {

  .header {
    height: 70px;
  }

  .logo img {
    height: 50px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
    text-align: center;
  }

  .hero-content {
    padding: 20px;
    order: 1;
  }

  .hero-image {
    order: 2;
    height: 50vh;
    padding: 20px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-badges {
    justify-content: center;
  }

  .feature-row,
  .feature-row.reverse {
    flex-direction: column-reverse;
    gap: 40px;
    text-align: center;
  }

  .feature-content h3 {
    font-size: 36px;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

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

  .contact-form-centered {
    padding: 24px;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  }

  .mobile-toggle {
    display: flex;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 50px;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-col li {
    justify-content: center;
  }

  .footer-logo {
    margin: 0 auto 20px;
  }

  .social-links {
    justify-content: center;
  }
}

/* Correção de contraste para placeholders */
::placeholder {
  color: #59595E;
  opacity: 0.8;
}
