/* ============================================================
   AtendExpress · Landing page v2 ("natural / aquecida")
   Azul da marca + superfícies quentes (creme/pêssego), Poppins,
   cantos macios e faixas animadas. Sem dependências externas
   além do Google Fonts. Sem travessões nos textos.
   ============================================================ */

:root {
  --brand:        #1E5FA5;
  --brand-hover:  #17497F;
  --brand-soft:   #E7F0FA;
  --brand-ink:    #123A63;

  --ink:          #1B2430;
  --soft:         #5A6777;
  --hint:         #93A0AE;
  --on-brand:     #FFFFFF;

  --bg:           #FFFFFF;
  --cream:        #FBF6EF;   /* seção quente clara */
  --peach:        #FDF0E4;   /* seção quente pêssego */
  --card:         #FFFFFF;
  --line:         rgba(27, 36, 48, 0.09);
  --line-strong:  rgba(27, 36, 48, 0.16);

  --warm:         #E8834F;   /* acento quente, uso pontual (estrela, dots) */
  --ok:           #1D9E75;

  --shadow-sm:    0 2px 10px rgba(27, 36, 48, 0.05);
  --shadow-md:    0 14px 40px rgba(27, 36, 48, 0.10);
  --shadow-warm:  0 18px 50px rgba(197, 120, 66, 0.14);

  --display: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1120px;
  --radius:    16px;
  --radius-lg: 24px;
  --pill:      999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .display { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.12; margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 600; border-radius: var(--pill);
  border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { font-size: 14.5px; padding: 9px 18px; }
.btn-md { font-size: 16px; padding: 14px 26px; }
.btn-lg { font-size: 17px; padding: 16px 30px; }

.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 20px rgba(30, 95, 165, 0.25); }
.btn-primary:hover { background: var(--brand-hover); box-shadow: 0 12px 26px rgba(30, 95, 165, 0.32); }

.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-soft); }

.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #f2f6fb; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand-logo { height: 30px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: 8px; }
.nav-links a { font-size: 15px; color: var(--soft); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--cream) 0%, #fff 92%); overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(10px); z-index: 0;
}
.hero::before { width: 520px; height: 520px; background: radial-gradient(circle, rgba(30,95,165,0.10), transparent 62%); top: -180px; right: -120px; }
.hero::after  { width: 460px; height: 460px; background: radial-gradient(circle, rgba(232,131,79,0.12), transparent 62%); bottom: -220px; left: -140px; }
.hero-grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center; padding: 76px 0 84px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600;
  font-size: 13px; color: var(--brand-ink); background: #fff; border: 1px solid var(--line);
  padding: 7px 14px; border-radius: var(--pill); box-shadow: var(--shadow-sm);
}
.eyebrow svg { color: var(--warm); }
.hero-title { font-size: clamp(34px, 5vw, 52px); font-weight: 600; margin: 22px 0 18px; }
.hero-title .accent { color: var(--brand); }
.hero-sub { font-size: 19px; color: var(--soft); max-width: 34ch; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-note { font-size: 14px; color: var(--hint); }

/* Mock (chat) */
.mock-wrap { position: relative; }
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-warm); overflow: hidden; transform: rotate(0.4deg);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #FBFAF8; border-bottom: 1px solid var(--line); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-url { margin-left: 10px; font-size: 12.5px; color: var(--hint); }
.mock-body { padding: 18px; }
.chat-head { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 15px; }
.chat-name { font-weight: 600; font-size: 15px; }
.chat-meta { font-size: 12.5px; color: var(--hint); }
.chat-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 5px 11px; border-radius: var(--pill); }
.chat-stream { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.bubble { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.bubble-in { align-self: flex-start; background: #F1F3F6; border-bottom-left-radius: 5px; }
.bubble-out { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.agent-tag { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; opacity: 0.9; margin-bottom: 4px; }
.chat-done { display: inline-flex; align-self: flex-end; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ok); background: rgba(29,158,117,0.10); padding: 6px 12px; border-radius: var(--pill); }
.float-card {
  position: absolute; left: -18px; bottom: 30px; display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 15px; box-shadow: var(--shadow-md);
}
.float-card-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }

/* ---------- Marquee ---------- */
.marquee { background: var(--brand); color: #fff; overflow: hidden; padding: 15px 0; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 500; font-size: 15px; padding: 0 26px; opacity: 0.95; }
.marquee-track span::after { content: "•"; margin-left: 26px; opacity: 0.5; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Seções ---------- */
.section { padding: 84px 0; }
.section-cream { background: var(--cream); }
.section-peach { background: var(--peach); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-title { font-size: clamp(28px, 3.6vw, 38px); font-weight: 600; }
.section-sub { font-size: 18px; color: var(--soft); margin: 14px 0 0; }

/* Cards genéricos */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.card-title { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.card-text { color: var(--soft); font-size: 15.5px; margin: 0; }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--display); font-weight: 600; display: grid; place-items: center; margin-bottom: 18px; }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-row + .feature-row { margin-top: 72px; }
.feature-tag { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 12.5px; padding: 5px 13px; border-radius: var(--pill); margin-bottom: 14px; }
.feature-tag-ok { color: var(--ok); background: rgba(29,158,117,0.12); }
.feature-tag-brand { color: var(--brand); background: var(--brand-soft); }
.feature-title { font-size: 27px; font-weight: 600; margin: 0 0 12px; }
.feature-text { color: var(--soft); font-size: 16.5px; margin: 0 0 18px; }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-item { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; }
.check-item svg { flex: 0 0 auto; margin-top: 2px; }
.feature-img img { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); }

/* Nichos */
.niches { text-align: center; }
.niches-label { font-family: var(--display); font-weight: 500; color: var(--hint); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 22px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: var(--pill); padding: 9px 18px; font-size: 14.5px; font-weight: 500; color: var(--soft); }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 22px; box-shadow: var(--shadow-sm); }
.plan-featured { border-color: var(--brand); box-shadow: var(--shadow-md); position: relative; }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-family: var(--display); font-weight: 600; font-size: 12px; padding: 5px 14px; border-radius: var(--pill); }
.plan-name { font-family: var(--display); font-weight: 600; font-size: 20px; }
.plan-price-row { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; }
.plan-price { font-family: var(--display); font-weight: 700; font-size: 38px; }
.plan-period { color: var(--hint); font-size: 15px; }
.plan-desc { color: var(--soft); font-size: 14.5px; margin-top: 4px; }
.plan-features { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.plan-feature svg { flex: 0 0 auto; margin-top: 2px; }
.plan-btn { display: block; text-align: center; font-family: var(--display); font-weight: 600; padding: 13px; border-radius: var(--pill); background: var(--brand-soft); color: var(--brand); transition: background-color .15s ease, color .15s ease; }
.plan-btn:hover { background: var(--brand); color: #fff; }
.plan-featured .plan-btn { background: var(--brand); color: #fff; }
.plan-featured .plan-btn:hover { background: var(--brand-hover); }
.plans-note { text-align: center; color: var(--hint); font-size: 14px; margin: 34px 0 0; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--display); font-weight: 500; font-size: 16.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { transition: transform .2s ease; flex: 0 0 auto; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-text { color: var(--soft); font-size: 15.5px; margin: 0 0 18px; }

/* CTA final */
.cta-block { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-ink) 100%); color: #fff; border-radius: 28px; padding: 60px 40px; text-align: center; box-shadow: var(--shadow-md); }
.cta-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 600; }
.cta-sub { font-size: 18px; opacity: 0.9; max-width: 52ch; margin: 14px auto 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Footer */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: 56px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer-about p { color: var(--soft); font-size: 15px; max-width: 32ch; margin: 14px 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-family: var(--display); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.footer-col a { color: var(--soft); font-size: 14.5px; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { max-width: var(--container); margin: 40px auto 0; padding: 22px 24px 0; border-top: 1px solid var(--line); color: var(--hint); font-size: 13.5px; }

/* Reveal on scroll */
.anim-ready [data-reveal], .anim-ready [data-reveal-group] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.anim-ready [data-reveal].is-in, .anim-ready [data-reveal-group].is-in > * { opacity: 1; transform: none; }
.anim-ready [data-reveal-group].is-in > *:nth-child(2) { transition-delay: .08s; }
.anim-ready [data-reveal-group].is-in > *:nth-child(3) { transition-delay: .16s; }
.anim-ready [data-reveal-group].is-in > *:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .anim-ready [data-reveal], .anim-ready [data-reveal-group] > * { opacity: 1; transform: none; }
}

/* ---------- Modal de captura de lead ---------- */
.lead-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(20, 24, 34, 0.55); padding: 20px; }
.lead-modal[hidden] { display: none; }
.lead-modal__box { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 34px 30px 30px; width: 100%; max-width: 420px; box-shadow: var(--shadow-md); max-height: 92vh; overflow-y: auto; }
.lead-modal__x { position: absolute; top: 14px; right: 16px; border: none; background: transparent; font-size: 18px; color: var(--hint); cursor: pointer; line-height: 1; }
.lead-modal__x:hover { color: var(--ink); }
.lead-modal__title { font-family: var(--display); font-weight: 600; font-size: 22px; }
.lead-modal__sub { color: var(--soft); font-size: 15px; margin: 8px 0 22px; }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-field { display: flex; flex-direction: column; gap: 6px; }
.lead-field span { font-family: var(--display); font-weight: 500; font-size: 13.5px; color: var(--ink); }
.lead-field input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; font-family: var(--body); font-size: 15px; color: var(--ink); background: #fff; transition: border-color .15s ease; }
.lead-field input:focus { outline: none; border-color: var(--brand); }
.lead-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--soft); line-height: 1.45; cursor: pointer; }
.lead-consent input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--brand); }
.lead-submit { width: 100%; margin-top: 4px; }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 52px 0 60px; }
  .hero-sub { max-width: none; }
  .mock-wrap { max-width: 440px; margin: 0 auto; }
  .cards-grid, .plans { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row .feature-img { order: -1; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .header-cta .nav-links { display: none; }
  body { font-size: 16px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .site-header .container { gap: 10px; }
  .header-cta { gap: 8px; }
  .header-cta .btn-sm { padding: 8px 14px; font-size: 13.5px; }
  .brand-logo { height: 26px; }
  .section { padding: 60px 0; }
}
