/* ===================================================================
   main.css — Estilos da landing page principal
   Soluciona Atendimento · Ótima Inovações Digitais
   =================================================================== */

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

/* ── TOKENS ── */
:root {
  --green-dark:   #1b5e20;
  --green-mid:    #228542;
  --green-main:   #2e7d32;
  --green-bright: #43a047;
  --green-light:  #81c784;
  --green-pale:   #e8f5e9;
  --green-glow:   rgba(34,133,66,.22);
  --white:        #ffffff;
  --off-white:    #f8fbf8;
  --gray-50:      #f9fafb;
  --gray-100:     #f3f4f6;
  --gray-200:     #e5e7eb;
  --gray-400:     #9ca3af;
  --gray-500:     #666666;
  --gray-600:     #4b5563;
  --gray-700:     #374151;
  --gray-800:     #1f2937;
  --gray-900:     #111827;
  --ink:          #06111f;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;
  --radius-xl:    32px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.12);
  --shadow-xl:    0 24px 80px rgba(0,0,0,.14);
  --shadow-green: 0 8px 32px rgba(34,133,66,.28);
}

/* ── BASE ── */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── UTILITIES ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-pale); color: var(--green-mid);
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  padding: 5px 14px; border-radius: 99px;
  border: 1px solid rgba(34,133,66,.25);
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); }

.section-label { text-align: center; margin-bottom: 16px; }
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; color: var(--gray-900);
  line-height: 1.15; text-align: center;
}
.section-sub {
  font-size: 1.1rem; color: var(--gray-600);
  text-align: center; margin-top: 12px;
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.highlight { color: var(--green-mid); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .95rem; font-weight: 600;
  padding: 13px 28px; border-radius: 10px;
  border: none; cursor: pointer;
  text-decoration: none; transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-mid); color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { background: var(--green-main); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(34,133,66,.36); }
.btn-outline {
  background: transparent; color: var(--green-mid);
  border: 2px solid var(--green-mid);
}
.btn-outline:hover { background: var(--green-pale); transform: translateY(-2px); }
.btn-lg  { padding: 16px 36px; font-size: 1rem;   border-radius: 12px; }
.btn-xl  { padding: 18px 44px; font-size: 1.05rem; border-radius: 12px; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo img { height: 38px; display: block; }
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--gray-600);
  font-size: .9rem; font-weight: 500;
  padding: 6px 14px; border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--green-mid); background: var(--green-pale); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-mobile { display: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; flex-direction: column; gap: 5px; }
  .nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--gray-800); border-radius: 2px; }
  .nav-cta .btn-outline { display: none; }
  .nav-cta .btn-primary { padding: 5px 10px; font-size: 0.8rem; }
  .nav-mobile {
    display: none; flex-direction: column;
    background: white; border-top: 1px solid var(--gray-200);
    padding: 16px 24px; gap: 4px;
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a {
    text-decoration: none; color: var(--gray-700);
    font-size: .95rem; padding: 10px 12px; border-radius: 8px;
  }
  .nav-mobile a:hover { background: var(--green-pale); }
}

/* ── HERO ── */
.hero {
  background: linear-gradient(165deg, #f0faf0 0%, #ffffff 55%, #f0fdf4 100%);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34,133,66,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,133,66,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hero-orb-1 { width: 500px; height: 500px; background: rgba(34,133,66,.12); top: -100px; right: -100px; }
.hero-orb-2 { width: 300px; height: 300px; background: rgba(67,160,71,.10); bottom: 0; left: -50px; }

.hero-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow { margin-bottom: 20px; }
.hero-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900; line-height: 1.1;
  color: var(--gray-900); margin-bottom: 20px;
}
.hero-title .line-green { color: var(--green-mid); }
.hero-sub {
  font-size: 1.1rem; color: var(--gray-600);
  line-height: 1.7; margin-bottom: 36px; max-width: 500px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; color: var(--gray-600); font-weight: 500;
}
.hero-trust-item .icon { color: var(--green-mid); font-size: 1rem; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.hero-screen {
  width: 100%; max-width: 580px;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -4px 60px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.06);
  overflow: hidden; position: relative;
}
.hero-screen img { width: 100%; display: block; }
.hero-badge-float {
  position: absolute; background: white; border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 600;
}
.hbf-1 { top: 16%; left: -36px; animation: float1 4s ease-in-out infinite; }
.hbf-2 { top: 44%; right: -28px; animation: float2 5s ease-in-out infinite; }
.hbf-3 { top: 70%; left: -20px; animation: float1 6s ease-in-out infinite; }
.hbf-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.hbf-icon-green { background: var(--green-pale); }
.hbf-icon-blue  { background: #eff6ff; }
.hbf-icon-amber { background: #fffbeb; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)}  }

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { padding: 0 20px; }
  .hbf-1, .hbf-2, .hbf-3 { display: none; }
  .hero { padding: 56px 0 0; }
}

/* ── INTEGRATIONS BAR ── */
.integrations-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}
.int-label {
  font-size: .8rem; font-weight: 600; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: .1em;
  text-align: center; margin-bottom: 18px;
}
.int-logos { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.int-logos span { font-size: .9rem; font-weight: 700; color: var(--gray-400); letter-spacing: .02em; }

/* ── PAIN POINTS ── */
.pain {
  background: #f1f5f9;
  position: relative;
}
.pain::before {
  content: '';
  position: absolute; inset: 0;
  /* background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px); */
  background-size: 40px 40px;
  pointer-events: none;
}
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; position: relative; }
.pain-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #d7d7d7;
  border-radius: var(--radius-md); padding: 26px 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.pain-icon { margin-bottom: 14px; line-height: 1; }
.pain-card h3 { font-size: .95rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.pain-card p  { color: #64748b; line-height: 1.65; font-size: .875rem; }
@media (max-width: 768px) { .pain-grid { grid-template-columns: 1fr; } }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.feat-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 28px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(34,133,66,.3); }
.feat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.feat-card p  { color: var(--gray-600); line-height: 1.65; }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }

/* ── SHOWCASE ── */
.showcase { background: var(--gray-50); }
.showcase-tabs { display: flex; gap: 8px; justify-content: center; margin: 40px 0 32px; flex-wrap: wrap; }
.stab {
  padding: 9px 20px; border-radius: 99px;
  font-size: .875rem; font-weight: 600;
  cursor: pointer; border: 2px solid var(--gray-200);
  background: white; color: var(--gray-600); transition: all .2s;
}
.stab.active { background: var(--green-mid); color: white; border-color: var(--green-mid); }
.stab:hover:not(.active) { border-color: var(--green-mid); color: var(--green-mid); }
.showcase-panel { display: none; }
.showcase-panel.active { display: block; }
.showcase-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,.06);
}
.showcase-img-wrap img { width: 100%; display: block; }
.showcase-caption { text-align: center; margin-top: 20px; font-size: .9rem; color: var(--gray-600); }

/* ── USE CASES ── */
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.uc-card {
  border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 28px 22px; transition: all .2s;
}
.uc-card:hover { border-color: var(--green-bright); box-shadow: 0 0 0 3px var(--green-glow); }
.uc-icon { margin-bottom: 14px; }
.uc-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.uc-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.uc-card li { color: var(--gray-600); display: flex; align-items: flex-start; gap: 8px; }
.uc-card li::before { content: '✓'; color: var(--green-mid); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
@media (max-width: 900px) { .uc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .uc-grid { grid-template-columns: 1fr; } }

/* ── NUMBERS ── */
.numbers { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%); color: white; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 48px; text-align: center; }
.num-value { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1; }
.num-label { font-size: .9rem; opacity: .8; margin-top: 6px; line-height: 1.4; }
@media (max-width: 768px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

/* ── COMPARISON TABLE ── */
.comp-table-wrap {
  overflow-x: auto; margin-top: 48px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.comp-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 600px; }
.comp-table th {
  padding: 16px 20px; text-align: center;
  font-weight: 700; background: var(--gray-50); color: var(--gray-800);
}
.comp-table th:first-child { text-align: left; }
.comp-table th.highlight-col { background: var(--green-mid); color: white; }
.comp-table td { padding: 13px 20px; border-top: 1px solid var(--gray-100); text-align: center; vertical-align: middle; }
.comp-table td:first-child { text-align: left; font-weight: 500; color: var(--gray-700); }
.comp-table tr:hover td { background: var(--gray-50); }
.comp-table td.highlight-col { background: rgba(34,133,66,.05); }
.check   { color: var(--green-mid); font-size: 1.1rem; font-weight: 700; }
.cross   { color: #dc2626; font-size: 1.1rem; }
.partial { color: var(--gray-500); font-size: .82rem; }

@media (max-width: 640px) {
  .comp-table-wrap {
    overflow-x: visible;
    border: none; box-shadow: none; background: transparent;
    border-radius: 0; margin-top: 32px;
  }
  .comp-table { display: block; min-width: unset; }
  .comp-table thead { display: none; }
  .comp-table tbody { display: flex; flex-direction: column; gap: 10px; }
  .comp-table tr {
    display: flex; flex-wrap: wrap;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }
  .comp-table tr:hover td { background: transparent; }
  .comp-table td { border-top: none; padding: 0; }
  .comp-table td:first-child {
    width: 100%;
    padding: 13px 16px 11px;
    font-size: .88rem; font-weight: 600; color: var(--gray-800);
    border-bottom: 1px solid var(--gray-100);
  }
  .comp-table td:not(:first-child) {
    width: 50%;
    padding: 11px 8px 13px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; text-align: center; font-size: .95rem;
  }
  .comp-table td:nth-child(2) { border-right: 1px solid var(--gray-100); }
  .comp-table td[data-label]::before {
    content: attr(data-label);
    font-size: .65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--gray-400); display: block;
  }
  .comp-table td.highlight-col { background: rgba(34,133,66,.04); }
  .comp-table td.highlight-col[data-label]::before { color: var(--green-mid); }
}

/* ── BENEFITS GRID ── */
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 640px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ── BENEFÍCIOS (reseller section restyle) ── */
.reseller { background: var(--gray-900); color: white; }
.reseller-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.reseller h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.reseller p  { color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 28px; }
.rs-step { display: flex; align-items: flex-start; gap: 14px; }
.rs-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-mid); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; flex-shrink: 0;
}
.rs-step p { color: rgba(255,255,255,.75); margin: 0; font-size: .9rem; }
.rs-step strong { color: white; }
@media (max-width: 768px) { .reseller-inner { grid-template-columns: 1fr; } }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-bright) 100%);
  color: white; text-align: center; padding: 96px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px);
  background-size: 20px 20px;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; line-height: 1.15; margin-bottom: 14px; position: relative; }
.cta-band p  { font-size: 1.1rem; opacity: .9; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }
.cta-band .btn-white { background: white; color: var(--green-mid); font-weight: 700; box-shadow: 0 8px 30px rgba(0,0,0,.15); }
.cta-band .btn-white:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.2); }
.cta-note { font-size: .82rem; opacity: .7; margin-top: 14px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── FAQ ── */
.faq-list { max-width: 780px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--gray-200); overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: .95rem; font-weight: 600;
  color: var(--gray-800); text-align: left; gap: 12px;
}
.faq-q .arrow {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gray-100); display: flex; align-items: center;
  justify-content: center; font-size: .7rem; flex-shrink: 0;
  transition: transform .25s, background .2s;
}
.faq-item.open .faq-q .arrow { transform: rotate(180deg); background: var(--green-pale); color: var(--green-mid); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .2s; font-size: .9rem; color: var(--gray-600); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

/* ── FOOTER ── */
.footer { background: var(--gray-900); color: rgba(255,255,255,.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { height: 36px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: white; font-size: .875rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .875rem; transition: color .15s; }
.footer-col ul li a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.footer-bottom p   { font-size: .82rem; }
.footer-bottom a   { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--green-light); }
.footer-by a { color: var(--green-light); text-decoration: none; font-weight: 600; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 32px rgba(37,211,102,.5); }
.wa-float svg { width: 30px; height: 30px; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
