/* ===== Pleno Chat — Landing Page =====
   Cores da marca: azul #0052CC + laranja #F37021 */

:root {
  --blue: #0052CC;
  --blue-dark: #003d99;
  --blue-light: #e8f0ff;
  --orange: #F37021;
  --orange-dark: #d85d10;
  --ink: #0f172a;
  --muted: #5b6577;
  --line: #e6eaf2;
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 82, 204, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .btn { font-family: "Plus Jakarta Sans", sans-serif; }

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

.container { width: min(1140px, 92%); margin: 0 auto; }
.container.narrow { width: min(760px, 92%); }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 700; cursor: pointer; border: none;
  border-radius: 12px; padding: 12px 22px; font-size: 15px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0,82,204,.28); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,82,204,.34); }

.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(243,112,33,.3); }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn-ghost { background: #fff; color: var(--blue); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }

.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand-logo { height: 42px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-weight: 600; color: var(--muted); font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--blue); }
.nav .nav-login { color: var(--ink); }
.nav .btn { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); padding: 70px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.badge {
  display: inline-block; background: var(--blue-light); color: var(--blue);
  font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.grad { background: linear-gradient(90deg, var(--blue), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: 18px; margin: 20px 0 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; list-style: none; margin-top: 26px; flex-wrap: wrap; }
.hero-points li { color: var(--muted); font-weight: 600; font-size: 14px; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-glow { position: absolute; inset: 0; margin: auto; width: 320px; height: 320px; background: radial-gradient(circle, rgba(0,82,204,.25), transparent 60%); filter: blur(20px); }
.chat-card {
  position: relative; width: min(380px, 100%); background: #fff; border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 20px; border: 1px solid var(--line);
}
.chat-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.chat-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.bubble { padding: 11px 15px; border-radius: 14px; margin-bottom: 10px; font-size: 14.5px; max-width: 85%; }
.bubble.in { background: #f1f4fa; color: var(--ink); border-bottom-left-radius: 4px; }
.bubble.out { background: var(--blue); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.out b { color: #ffd9b8; }
.typing { display: inline-flex; gap: 4px; padding: 12px 16px; background: #f1f4fa; border-radius: 14px; border-bottom-left-radius: 4px; }
.typing span { width: 7px; height: 7px; background: var(--muted); border-radius: 50%; opacity: .5; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,60%,100%{opacity:.3;transform:translateY(0)} 30%{opacity:1;transform:translateY(-3px)} }

/* ===== Stats ===== */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 28px 0; text-align: center; }
.stat strong { display: block; font-family: "Plus Jakarta Sans"; font-size: 28px; color: var(--blue); }
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.kicker { color: var(--orange); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 12px 0; letter-spacing: -.02em; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-light); }
.feature-ico { width: 52px; height: 52px; display: grid; place-items: center; font-size: 24px; background: var(--blue-light); border-radius: 14px; margin-bottom: 16px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ===== Planos ===== */
.section-plans { background: var(--bg-soft); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; align-items: stretch; }
.plan-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 18px;
  padding: 28px 24px; display: flex; flex-direction: column; position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.plan-card.popular { border-color: var(--orange); box-shadow: 0 18px 44px rgba(243,112,33,.18); }
.plan-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-size: 12px; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; letter-spacing: .03em; white-space: nowrap;
}
.plan-name { font-family: "Plus Jakarta Sans"; font-size: 19px; font-weight: 700; color: var(--ink); }
.plan-price { margin: 14px 0 4px; }
.plan-price .cur { font-size: 18px; font-weight: 700; vertical-align: top; }
.plan-price .val { font-size: 40px; font-weight: 800; font-family: "Plus Jakarta Sans"; color: var(--blue); letter-spacing: -.02em; }
.plan-price .per { color: var(--muted); font-size: 15px; }
.plan-feats { list-style: none; margin: 20px 0 24px; display: grid; gap: 11px; }
.plan-feats li { font-size: 14.5px; color: var(--ink); display: flex; align-items: flex-start; gap: 9px; }
.plan-feats li::before { content: "✓"; color: var(--orange); font-weight: 800; }
.plan-feats li b { color: var(--blue); }
.plan-card .btn { margin-top: auto; }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 30px; }

/* ===== FAQ ===== */
.section-faq { background: #fff; }
.faq details { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; transition: border-color .2s; }
.faq details[open] { border-color: var(--blue); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* ===== CTA final ===== */
.cta-final { padding: 70px 0; }
.cta-box {
  background: linear-gradient(120deg, var(--blue), var(--blue-dark));
  border-radius: 26px; text-align: center; padding: 60px 30px; color: #fff;
  position: relative; overflow: hidden;
}
.cta-box::after { content: ""; position: absolute; top: -60px; right: -40px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(243,112,33,.45), transparent 70%); }
.cta-box h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); position: relative; }
.cta-box p { opacity: .92; margin: 12px 0 26px; font-size: 18px; position: relative; }
.cta-box .btn { position: relative; }

/* ===== Footer ===== */
.site-footer { background: #0b1b35; color: #c7d2e6; padding: 50px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { height: 40px; background: #fff; padding: 6px 10px; border-radius: 10px; }
.footer-brand p { margin-top: 14px; max-width: 280px; font-size: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: #c7d2e6; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; font-size: 13px; color: #8a9bba; flex-wrap: wrap; gap: 8px; }
.footer-bottom a:hover { color: #fff; }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; }
.modal.open { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(11,27,53,.6); backdrop-filter: blur(3px); }
.modal-card {
  position: relative; background: #fff; border-radius: 20px; padding: 34px 30px;
  width: min(440px, 92%); box-shadow: var(--shadow-lg); animation: pop .25s ease;
}
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.modal-card h3 { font-size: 20px; }
.modal-card h3 span { color: var(--blue); }
.modal-price { margin: 6px 0 18px; }
.modal-price span { font-size: 36px; font-weight: 800; font-family: "Plus Jakarta Sans"; color: var(--orange); }
.modal-price small { color: var(--muted); font-weight: 600; }
.modal-list { list-style: none; margin: 0 0 22px; display: grid; gap: 10px; }
.modal-list li { font-size: 14.5px; display: flex; gap: 9px; }
.modal-list li::before { content: "✓"; color: var(--blue); font-weight: 800; }
.modal-help { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; background: #fff; padding: 20px; gap: 16px; border-bottom: 1px solid var(--line); transform: translateY(-150%); transition: transform .25s ease; }
  .nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .footer-inner { flex-direction: column; }
}
