/* ============================================================
   reunia — home de marketing
   Mobile-first. Breakpoints min-width: 600 / 768 / 980.
   ============================================================ */

:root {
  /* Cores da marca */
  --navy: #071829;
  --navy-soft: #0c2233;
  --teal: #14b8a6;
  --teal-bright: #2dd4bf;
  --teal-dim: rgba(20, 184, 166, 0.12);
  --white: #ffffff;
  --text: #e9eef0;
  --muted: #9fb1b7;
  --muted-dim: #6f8087;
  --wa: #25d366;
  --danger: #f87171;

  /* Seções claras (intercaladas com o navy para dar ritmo à página) */
  --light-bg: #eef4f5;
  --light-text: #33454b;
  --light-muted: #5b6b70;
  --light-muted-dim: #7c8c91;
  --light-teal-text: #0d7d70;

  /* Layout */
  --maxw: 1120px;
  --radius: 14px;
  --radius-lg: 22px;
  --gap: 1.25rem;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Tipografia (mobile-first) ---------- */
h1, h2, h3 { line-height: 1.15; color: var(--white); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }
p { color: var(--text); }
.muted { color: var(--muted); }

/* ---------- Container / seções ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
section { padding: 3.5rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--muted); margin-top: 0.75rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal); background: var(--teal-dim);
  padding: 0.3rem 0.7rem; border-radius: 100px; margin-bottom: 0.9rem;
}

/* ---------- Botões (alvos de toque >=44px) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8rem 1.4rem; border-radius: 100px;
  font-size: 1rem; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  width: 100%; justify-content: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: var(--teal-bright); box-shadow: 0 10px 28px rgba(20,184,166,0.3); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.18); }
.btn-ghost:hover { border-color: var(--teal); color: var(--white); }
.btn-wa { background: var(--wa); color: #06231a; }
.btn-wa:hover { background: #1fc35c; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,24,41,0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20,184,166,0.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.55rem; }
.brand img { width: 30px; height: 30px; }
.logo { font-size: 1.4rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.logo .ia { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-actions .btn { width: auto; min-height: 40px; padding: 0.5rem 1rem; font-size: 0.9rem; }
.nav-login { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.nav-login:hover { color: var(--teal); }

/* ---------- Hero ---------- */
.hero { padding: 3rem 0 2.5rem; text-align: center; }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .hl { color: var(--teal); }
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin: 0 auto 1.8rem; }
.hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; max-width: 340px; margin: 0 auto 1rem; }
.hero-note { font-size: 0.85rem; color: var(--muted-dim); }
.hero-figure { margin-top: 2.5rem; }

/* ---------- Placeholder de imagem (proporção reservada, evita CLS) ---------- */
figure.shot { margin: 0; }
.ph {
  width: 100%; aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(45deg, rgba(20,184,166,0.05) 0 12px, transparent 12px 24px),
    var(--navy-soft);
  border: 1.5px dashed rgba(20,184,166,0.4); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; text-align: center; padding: 1.5rem; color: var(--muted);
}
.ph svg { width: 34px; height: 34px; opacity: 0.6; }
.ph .ph-label { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.ph .ph-hint { font-size: 0.8rem; color: var(--muted-dim); }
figcaption { text-align: center; font-size: 0.85rem; color: var(--muted-dim); margin-top: 0.75rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1rem; }
.card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 1.5rem;
}
.card .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--teal-dim);
  display: grid; place-items: center; margin-bottom: 1rem; color: var(--teal);
}
.card .ic svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

.step-num {
  width: 36px; height: 36px; border-radius: 100px; background: var(--teal); color: var(--navy);
  font-weight: 700; display: grid; place-items: center; margin-bottom: 1rem;
}

/* ---------- Lista de benefícios ---------- */
.checklist { list-style: none; display: grid; gap: 0.9rem; max-width: 640px; margin: 0 auto; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist .ck {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 100px; background: var(--teal-dim);
  display: grid; place-items: center; color: var(--teal); margin-top: 2px;
}
.checklist .ck svg { width: 14px; height: 14px; }

/* ---------- Bloco alternado (texto + imagem) ---------- */
.feature { display: grid; gap: 1.5rem; align-items: center; }
.feature .feature-text h2 { margin-bottom: 0.8rem; }
.feature .feature-text p { color: var(--muted); }
.feature .mini-list { list-style: none; margin-top: 1rem; display: grid; gap: 0.5rem; }
.feature .mini-list li { display: flex; gap: 0.5rem; color: var(--text); font-size: 0.95rem; }
.feature .mini-list li::before { content: "›"; color: var(--teal); font-weight: 700; }

/* ---------- Privacidade ---------- */
.privacy-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(20,184,166,0.2);
  border-radius: var(--radius-lg); padding: 1.75rem; max-width: 760px; margin: 0 auto;
}
.privacy-card ul { list-style: none; display: grid; gap: 0.9rem; }
.privacy-card li { display: flex; gap: 0.7rem; color: var(--muted); }
.privacy-card li strong { color: var(--text); }
.note {
  margin-top: 1.5rem; padding: 1rem 1.1rem; border-radius: var(--radius);
  background: var(--teal-dim); border-left: 3px solid var(--teal); font-size: 0.92rem; color: var(--text);
}

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final .card { max-width: 680px; margin: 0 auto; padding: 2.5rem 1.5rem; border-color: rgba(20,184,166,0.25); }
.cta-final h2 { margin-bottom: 0.7rem; }
.cta-final p { color: var(--muted); margin-bottom: 1.6rem; }
.cta-final .hero-ctas { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255,255,255,0.08); padding: 2.5rem 0; color: var(--muted); }
.footer-inner { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.footer-links a:hover { color: var(--teal); }
.footer-small { font-size: 0.85rem; color: var(--muted-dim); }

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 58px; height: 58px; border-radius: 100px; background: var(--wa); border: none; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,0.4);
}
.wa-fab svg { width: 30px; height: 30px; color: #fff; }
.wa-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 100px;
  background: var(--wa); opacity: 0.35; animation: ping 2s cubic-bezier(0,0,0.2,1) infinite; z-index: -1;
}
@keyframes ping { 75%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Modal WhatsApp ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,10,18,0.7); backdrop-filter: blur(4px); }
.modal-dialog {
  position: relative; width: 100%; max-width: 440px; margin: 0 auto;
  background: var(--navy-soft); border: 1px solid rgba(20,184,166,0.3);
  border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
  position: absolute; left: 0; right: 0; bottom: 0;
  transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  max-height: 92vh; overflow-y: auto;
}
.modal.open .modal-dialog { transform: translateY(0); }
.modal-head { padding: 1.5rem 1.5rem 1rem; }
.modal-head h2 { font-size: 1.3rem; }
.modal-head p { color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 100px;
  background: rgba(255,255,255,0.08); border: none; color: var(--text); cursor: pointer; font-size: 1.2rem;
}
.modal-form { padding: 0 1.5rem 1.5rem; display: grid; gap: 0.9rem; }
.field label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; border-radius: 12px;
  background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.12);
  color: var(--white); font-size: 1rem; font-family: inherit; outline: none;
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); }
.field .err { color: var(--danger); font-size: 0.8rem; margin-top: 0.3rem; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.modal-disclaimer { font-size: 0.78rem; color: var(--muted-dim); display: flex; gap: 0.5rem; }
.modal-actions { display: flex; gap: 0.6rem; margin-top: 0.3rem; }
.modal-actions .btn { min-height: 48px; }

/* ---------- Seções claras (alternância de ritmo visual) ---------- */
.section-light { background: var(--light-bg); }
.section-light h1, .section-light h2, .section-light h3 { color: var(--navy); }
.section-light p { color: var(--light-text); }
.section-light .muted,
.section-light .card p,
.section-light .feature .feature-text p { color: var(--light-muted); }
.section-light .hero-note, .section-light .ph .ph-hint { color: var(--light-muted-dim); }
.section-light .eyebrow { color: var(--light-teal-text); background: rgba(20,184,166,0.14); }
.section-light .card .ic { color: var(--light-teal-text); }
.section-light .feature .mini-list li,
.section-light .card li { color: var(--light-text); }
.section-light .card {
  background: var(--white); border-color: rgba(7,24,41,0.08);
  box-shadow: 0 1px 3px rgba(7,24,41,0.06);
}
.section-light .ph {
  background:
    repeating-linear-gradient(45deg, rgba(20,184,166,0.07) 0 12px, transparent 12px 24px),
    var(--white);
  border-color: rgba(20,184,166,0.4);
}
.section-light .ph .ph-label { color: var(--light-text); }

/* ---------- Scroll reveal ---------- */
.reveal, .reveal-l, .reveal-r { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-l { transform: translateX(-24px); }
.reveal-r { transform: translateX(24px); }
.reveal.in, .reveal-l.in, .reveal-r.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-l, .reveal-r { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Breakpoints (min-width, escalando para cima)
   ============================================================ */
@media (min-width: 600px) {
  .hero-ctas { flex-direction: row; max-width: none; justify-content: center; }
  .hero-ctas .btn { width: auto; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .modal-dialog { border-radius: 22px; bottom: auto; top: 50%; transform: translate(0, -45%); position: relative; margin: 5vh auto; }
  .modal.open .modal-dialog { transform: translateY(0); }
}

@media (min-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  .hero { padding: 4.5rem 0 3rem; }
  .hero .lead { font-size: 1.2rem; }
  section { padding: 4.5rem 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 1fr 1fr; }
  .feature.reverse .feature-text { order: 2; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 980px) {
  h1 { font-size: 3.2rem; }
  .hero h1 { max-width: 820px; margin-left: auto; margin-right: auto; }
}
