/* ---------- Tokens ---------- */
:root {
  --bg: #0a0e0f;
  --bg-alt: #0f1513;
  --surface: #131a18;
  --surface-2: #182220;
  --border: #223330;
  --text: #eef4f2;
  --text-dim: #a9b8b4;
  --text-faint: #6f8480;
  --accent: #39ffb0;
  --accent-2: #1fd9c6;
  --accent-soft: rgba(57, 255, 176, 0.12);
  --whatsapp: #25d366;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-glow: 0 0 40px rgba(57, 255, 176, 0.12);
  --max-width: 1160px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; color: var(--text-dim); }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #04140f;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

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

section { padding: 88px 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }
h2.center { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04140f;
  box-shadow: 0 8px 24px rgba(57, 255, 176, 0.25);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(57, 255, 176, 0.38); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--accent); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 15, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 14, 15, 0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { border-radius: 8px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.nav { display: flex; gap: 32px; }
.nav a {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 96px;
  background:
    radial-gradient(600px 400px at 85% 10%, var(--accent-soft), transparent 60%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: stretch;
}
.hero-copy { display: flex; flex-direction: column; padding-top: 12px; }
.hero-copy h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.08rem;
  max-width: 540px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 14px; }
.hero-note { font-size: 0.85rem; color: var(--text-faint); margin-top: auto; padding-top: 18px; }

/* Phone / chat mockup */
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.phone {
  position: relative;
  width: 320px;
  max-width: 100%;
  background: #05070a;
  border-radius: 42px;
  padding: 14px;
  box-shadow: var(--shadow-glow), 0 30px 60px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 22px;
  background: #05070a;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.chat-app {
  background: #efe6d9;
  border-radius: 30px;
  overflow: hidden;
  height: 560px;
  display: flex;
  flex-direction: column;
}
.chat-header {
  background: #f4f1ea;
  color: #101312;
  padding: 14px 14px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 30px;
}
.chat-back { font-size: 1.2rem; color: #1fbf8f; }
.chat-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04140f;
  font-weight: 700;
  font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
}
.chat-title { display: flex; flex-direction: column; font-size: 0.85rem; }
.chat-title strong { font-size: 0.86rem; }
.chat-title small { color: #6b7a76; display: flex; align-items: center; gap: 5px; font-size: 0.72rem; }
.dot-online { width: 6px; height: 6px; border-radius: 50%; background: #2fbf71; display: inline-block; }

.chat-body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
}
.bubble {
  max-width: 78%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #101312;
  opacity: 0;
  transform: translateY(6px);
  animation: bubble-in 0.4s ease forwards;
}
.bubble.in { background: #ffffff; align-self: flex-start; border-bottom-left-radius: 3px; }
.bubble.out { background: #d5fdd1; align-self: flex-end; border-bottom-right-radius: 3px; }
.bubble.typing {
  align-self: flex-start;
  background: #ffffff;
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  border-bottom-left-radius: 3px;
}
.bubble.typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #9aa39f;
  animation: typing-dot 1.1s infinite ease-in-out;
}
.bubble.typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes bubble-in { to { opacity: 1; transform: translateY(0); } }
@keyframes typing-dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.chat-inputbar {
  background: #f4f1ea;
  padding: 10px 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #8b968f;
}
.chat-placeholder {
  flex: 1;
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
}
.visual-caption {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.82rem;
  color: var(--text-faint);
  text-align: center;
}

/* ---------- Pain ---------- */
.pain { background: var(--bg-alt); }
.pain h2 {
  max-width: 620px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 44px;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.pain-icon { font-size: 1.8rem; display: block; margin-bottom: 14px; }
.pain-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pain-card p { margin: 0; font-size: 0.94rem; }

/* ---------- How ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.how-card {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), transparent);
}
.how-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.how-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.how-card p { font-size: 0.9rem; margin: 0; }

/* ---------- Calendar (Google Calendar integration) ---------- */
.calendar-section { background: var(--bg-alt); }
.calendar-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.calendar-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  max-width: 480px;
}
.calendar-sub { max-width: 460px; }
.calendar-points { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.calendar-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-dim);
}
.calendar-points li span {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.calendar-visual { display: flex; justify-content: center; }
.calendar-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  color: #1f2937;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow), 0 30px 60px rgba(0,0,0,0.45);
  border: 1px solid var(--border);
}
.calendar-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 16px 18px;
  border-bottom: 1px solid #e8eaed;
}
.calendar-dot { width: 10px; height: 10px; border-radius: 50%; }
.calendar-dot.red { background: #ef5350; }
.calendar-dot.yellow { background: #fbc02d; }
.calendar-dot.green { background: #43a047; }
.calendar-month {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #3c4043;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px 18px 22px;
  gap: 0 10px;
}
.calendar-day-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #70757a;
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
}
.calendar-day-label small { font-size: 0.95rem; font-weight: 700; color: #3c4043; }
.calendar-day-active { color: #1a73e8; border-bottom-color: #1a73e8; }
.calendar-day-active small { color: #1a73e8; }
.calendar-col { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }
.calendar-slot {
  height: 30px;
  border-radius: 6px;
  background: #f1f3f4;
}
.calendar-col-active .calendar-slot { background: #f1f3f4; }
.calendar-event {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04140f;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: scale(0.9);
  opacity: 0;
  animation: calendar-pop 0.5s ease forwards;
  animation-delay: 0.6s;
  box-shadow: 0 8px 18px rgba(57, 255, 176, 0.35);
}
.calendar-event strong { font-size: 0.74rem; font-family: var(--font-display); }
.calendar-event span { font-size: 0.66rem; opacity: 0.85; }

@keyframes calendar-pop {
  0% { transform: scale(0.85); opacity: 0; }
  70% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.calendar-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 18px 18px;
  padding: 10px 14px;
  background: #202124;
  color: #fff;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  transform: translateY(10px);
  opacity: 0;
  animation: calendar-toast-in 0.45s ease forwards;
  animation-delay: 1.1s;
}
.calendar-toast-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #04140f;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
@keyframes calendar-toast-in { to { transform: translateY(0); opacity: 1; } }

/* ---------- Services ---------- */
.services { background: var(--bg-alt); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 48px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
}
.service-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
}
.service-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}
.service-badge--alt { background: var(--surface-2); color: var(--text-dim); }
.service-card h3 { font-size: 1.35rem; }
.service-list { margin: 18px 0 26px; display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  font-size: 0.92rem;
  color: var(--text-dim);
  padding-left: 24px;
  position: relative;
}
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.service-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Audience ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.audience-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  background: var(--surface);
}
.audience-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.audience-card h3 { font-size: 1.1rem; }
.audience-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Stats ---------- */
.stats {
  background: linear-gradient(135deg, var(--accent-soft), transparent 70%), var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 20px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-family: var(--font-display);
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--accent);
  font-size: 1.3rem;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; font-size: 0.92rem; }

/* ---------- CTA final ---------- */
.cta-final {
  background: radial-gradient(700px 300px at 50% 0%, var(--accent-soft), transparent 70%), var(--bg-alt);
  text-align: center;
}
.cta-final-inner { max-width: 640px; margin: 0 auto; }
.cta-final h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-tagline { font-size: 0.9rem; max-width: 380px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-dim); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.78rem; color: var(--text-faint); margin: 8px 0 0; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: var(--text-faint); font-size: 0.78rem; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- Legal pages (Privacidade / Termos) ---------- */
.legal-page { padding: 64px 0 100px; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.legal-back:hover { color: var(--accent); }
.legal-header h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.3rem);
  margin-bottom: 6px;
}
.legal-updated { color: var(--text-faint); font-size: 0.85rem; margin-bottom: 44px; }
.legal-content { max-width: 720px; }
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 0.96rem; line-height: 1.75; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.legal-content li { font-size: 0.96rem; line-height: 1.7; color: var(--text-dim); margin-bottom: 6px; }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--accent); text-decoration: underline; }

/* ---------- WhatsApp float button ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.4);
  z-index: 90;
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .calendar-inner { grid-template-columns: 1fr; }
  .calendar-visual { order: -1; }
  .pain-grid, .how-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 15, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 18px 24px;
    gap: 18px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { padding: 9px 14px; font-size: 0.82rem; }
  .pain-grid, .how-grid, .audience-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .phone { width: 100%; }
  .chat-app { height: 480px; }
}
