:root {
  --navy: #0B1325;
  --navy-soft: #131C33;
  --violet: #A5B4FF;
  --violet-dark: #6C7CE0;
  --teal: #7EE7E0;
  --ink: #12172B;
  --text-secondary: #5B6178;
  --text-muted: #8A90A6;
  --surface: #FFFFFF;
  --surface-alt: #F5F6FB;
  --border: rgba(11, 19, 37, 0.1);
  --radius: 16px;
  --max-width: 1120px;
  --shadow: 0 20px 60px rgba(11, 19, 37, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

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

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

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h1 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.12; }
h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; }
h3 { font-size: 19px; }

p { margin: 0 0 16px; color: var(--text-secondary); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* .kicker is inline-block, so margin:auto alone won't center it — force a table box */
.kicker.center { display: table; }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--violet-dark);
  background: rgba(165, 180, 255, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(90deg, var(--violet-dark), var(--teal));
  color: var(--navy);
  box-shadow: 0 12px 24px rgba(108, 124, 224, 0.28);
}

.btn-secondary {
  background: var(--surface-alt);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon { height: 30px; width: auto; }

.brand-text {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.lang-switch button {
  background: none;
  border: none;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.lang-switch button.active {
  background: var(--navy);
  color: #fff;
}

/* Hero */
.hero {
  padding: 72px 0 96px;
  background: radial-gradient(circle at 15% 20%, rgba(165, 180, 255, 0.14), transparent 45%),
              radial-gradient(circle at 85% 10%, rgba(126, 231, 224, 0.14), transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-subtitle { font-size: 18px; max-width: 480px; }

.hero-cta-row { margin: 8px 0 12px; }

.hero-note { font-size: 13px; color: var(--text-muted); margin: 0; }

.people-trust {
  display: flex;
  align-items: center;
  gap: 10px;
}

.people-trust-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border);
  flex-shrink: 0;
}

/* Mockup de iPhone con una conversación de WhatsApp */
.iphone-frame {
  background: #0a0a0a;
  border-radius: 52px;
  padding: 14px;
  max-width: 320px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  position: relative;
  border: 2px solid #232323;
}

.iphone-island {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000;
  border-radius: 14px;
  z-index: 5;
}

.iphone-home-indicator {
  width: 120px;
  height: 4px;
  background: #fff;
  border-radius: 4px;
  margin: 10px auto 2px;
  opacity: 0.9;
}

.iphone-screen {
  background: #ECE5DD;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 600px;
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 26px 4px;
  background: #fff;
  color: #000;
}

.status-time { font-size: 14px; font-weight: 600; }

.status-icons { display: flex; align-items: center; gap: 5px; }

.wa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 10px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.wa-back { flex-shrink: 0; }

.wa-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.wa-header-text { flex: 1; min-width: 0; }

.wa-name { font-size: 15px; font-weight: 600; color: #000; }
.wa-status { font-size: 12px; color: var(--text-muted); }

.wa-header-icons {
  display: flex;
  gap: 16px;
}

.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 10px;
  overflow-y: auto;
  background: #ECE5DD;
}

.wa-bubble {
  max-width: 78%;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(6px);
  animation: bubbleIn 0.3s ease forwards;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  position: relative;
}

@keyframes bubbleIn {
  to { opacity: 1; transform: translateY(0); }
}

.wa-bubble.out {
  align-self: flex-end;
  background: #D9FDD3;
  color: #111;
  border-bottom-right-radius: 2px;
}

.wa-bubble.in {
  align-self: flex-start;
  background: #fff;
  color: #111;
  border-bottom-left-radius: 2px;
}

.wa-text { display: block; margin-right: 6px; }

.wa-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  font-size: 10.5px;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 2px;
}

.wa-check { flex-shrink: 0; }

.wa-bubble.typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
}

.wa-bubble.typing .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  animation: dotPulse 1s infinite ease-in-out;
}

.wa-bubble.typing .dot:nth-child(2) { animation-delay: 0.15s; }
.wa-bubble.typing .dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes dotPulse {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

.wa-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #ECE5DD;
}

.wa-input-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.wa-mic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--violet-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Faja de credibilidad */
.credibility-strip {
  padding: 20px 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.credibility-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.credibility-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

.credibility-item svg { color: var(--violet-dark); flex-shrink: 0; }

/* Deslia section */
.deslia-section { padding: 96px 0; background: var(--surface-alt); }

.deslia-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  align-items: center;
}

/* ── Palco da Deslia: o personagem solto, sem moldura ──────────────
   A versao anterior recortava uma foto dentro de um circulo. Um
   personagem nao se recorta: ele flutua. O halo violeta atras dá
   profundidade sem prender a silhueta. */
.deslia-stage {
  position: relative;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

.deslia-stage::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%,
    rgba(108, 124, 224, 0.22) 0%,
    rgba(126, 231, 224, 0.14) 45%,
    rgba(108, 124, 224, 0) 72%);
}

.deslia-hero-art {
  position: relative;
  width: 100%;
  height: auto;
  /* As poses tem proporcoes diferentes das expressoes quadradas.
     O contain evita que a troca ao clicar mexa no layout. */
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(11, 19, 37, 0.16));
  transition: transform .45s cubic-bezier(.22,.9,.3,1);
}

.deslia-stage:hover .deslia-hero-art,
.deslia-stage:focus-visible .deslia-hero-art { transform: translateY(-8px) scale(1.04); }

.deslia-stage:focus-visible { outline: 2px solid var(--violet-dark); outline-offset: 8px; border-radius: 50%; }

.deslia-stage-hint {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 99px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.deslia-stage:hover .deslia-stage-hint { opacity: .92; }
.deslia-stage.is-played .deslia-stage-hint { display: none; }

/* Aviso de transparencia — exigencia do Artigo 50 do EU AI Act */
.deslia-disclosure {
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 14px;
  border-left: 2px solid var(--teal);
}

/* ── Deslia solta dentro das secoes ─────────────────────────────── */
.deslia-spot {
  position: absolute;
  width: 78px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 12px 22px rgba(11, 19, 37, 0.15));
}

.problem-visual, .decision-visual { position: relative; }

.deslia-spot-problem  { right: -10px; bottom: -18px; }
.deslia-spot-decision { left: -14px;  bottom: -20px; }

.feature-deslia {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 52px;
  height: auto;
  opacity: .85;
  transition: transform .4s cubic-bezier(.22,.9,.3,1), opacity .3s ease;
}

.feature-card { position: relative; }
.feature-card:hover .feature-deslia { transform: translateY(-4px) rotate(-6deg); opacity: 1; }

.deslia-inline {
  display: block;
  width: 84px;
  height: auto;
  margin: 0 auto 14px;
  filter: drop-shadow(0 10px 18px rgba(11, 19, 37, 0.12));
}

@media (max-width: 720px) {
  .deslia-spot { width: 58px; }
  .deslia-spot-problem  { right: -4px; bottom: -12px; }
  .deslia-spot-decision { left: -4px;  bottom: -12px; }
  .feature-deslia { width: 42px; }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--violet-dark), var(--teal));
}

.check-list li::after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 1px;
  font-size: 12px;
  color: var(--navy);
  font-weight: 700;
}

/* Features */
.features { padding: 96px 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
}

.mini-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 18px;
  min-height: 64px;
  display: flex;
  align-items: center;
}

.mini-bubble {
  background: #D9FDD3;
  color: #111;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 10px;
  border-bottom-right-radius: 2px;
  margin-left: auto;
}

.mini-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 13px;
}

.mini-cat-tag {
  background: rgba(165, 180, 255, 0.15);
  color: var(--violet-dark);
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 100px;
}

.mini-cat-amount { font-weight: 600; color: var(--ink); }

.mini-mock-summary {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.mini-summary-title { font-size: 12px; font-weight: 600; color: var(--text-secondary); }

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 32px;
}

.mini-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--violet-dark), var(--teal));
  border-radius: 3px;
}

.feature-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Pricing */
.pricing { padding: 96px 0; background: var(--navy); color: #fff; }

.pricing h2, .pricing .kicker + h2 { color: #fff; }

.pricing-note { color: rgba(255, 255, 255, 0.6); max-width: 460px; }

.payment-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
  margin-top: 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 48px auto 0;
}

.price-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
}

.price-card h3 { color: #fff; }
.price-card p { color: rgba(255, 255, 255, 0.6); }

.price-card.featured {
  border: 2px solid var(--teal);
  background: rgba(126, 231, 224, 0.06);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
}

.price-amount {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin: 12px 0;
}

.price-before {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
  margin-right: 8px;
}

.price-period {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 4px;
}

.price-card .btn { width: 100%; margin-top: 8px; }

/* FAQ */
.faq { padding: 96px 0; }

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
  background: var(--surface-alt);
}

summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  float: right;
  font-size: 20px;
  color: var(--violet-dark);
}

details[open] summary::after { content: "–"; }

details p { margin-top: 12px; margin-bottom: 0; }

/* Trust strip (debajo de los planes) */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  max-width: 720px;
  margin: 40px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
}

.trust-item svg { color: var(--teal); flex-shrink: 0; }

/* Contacto */
.contact {
  padding: 96px 0;
  background: linear-gradient(135deg, rgba(165, 180, 255, 0.12), rgba(126, 231, 224, 0.12));
}

.contact-inner { max-width: 560px; text-align: center; margin: 0 auto; }

.contact-avatar {
  /* A Deslia aparece solta: nada de borda ou recorte circular, que
     sobraram de quando aqui havia uma foto. */
  filter: drop-shadow(0 14px 24px rgba(11, 19, 37, 0.14));
  width: 110px;
  height: auto;
  margin: 0 auto 20px;
}

.contact-note { font-size: 13px; color: var(--text-muted); margin-top: 16px; }

/* Banner de cookies */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px 20px;
}

.cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner-inner p {
  flex: 1;
  min-width: 240px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* CTA fijo en mobile */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}

.sticky-cta .btn { width: 100%; }

.sticky-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sticky-cta-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 100px;
}

.footer-inner { text-align: center; }

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-icon {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-text {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.footer-tagline { color: #fff; font-weight: 500; }

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px 0;
}

.footer-tags span {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 12px;
  border-radius: 100px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
}

.footer-social a:hover { color: #fff; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 12px 0;
  font-size: 13px;
}

.footer-links a { color: rgba(255, 255, 255, 0.7); }
.footer-links a:hover { color: #fff; }

.footer-rights { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .deslia-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .trust-strip { flex-direction: column; align-items: center; gap: 14px; }
  .sticky-cta { display: block; }
  .site-footer { padding-bottom: 96px; }
  .cookie-banner { bottom: 78px; left: 12px; right: 12px; padding: 14px 16px; }
}

/* A Deslia laçando o WhatsApp, abrindo o "cómo funciona" */
.deslia-banner {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto 26px;
}

/* O laço das formigas é largo: precisa de mais espaço que uma expressão */
/* O laço das formigas é quase o dobro de largo que uma expressão.
   Sem largura extra as formigas viram três pontinhos ilegíveis. */
.feature-deslia-wide {
  width: 116px;
  top: 12px;
  right: 8px;
}

@media (max-width: 720px) {
  .deslia-banner { max-width: 260px; margin-bottom: 18px; }
  .feature-deslia-wide { width: 88px; }
}

/* A Deslia com o WhatsApp abrindo as perguntas frequentes */
.deslia-inline-wide {
  width: 200px;
  margin-bottom: 18px;
}

@media (max-width: 720px) {
  .deslia-inline-wide { width: 160px; }
}
