/* =========================================================
   VIBE CODING NA PRÁTICA — Landing Page
   Estilo: Luxury Tech Clean / Publicidade Premium
   ========================================================= */

:root {
  --ivory: #FAF7F2;
  --lavender: #EDE7F6;
  --purple: #5B2A6E;
  --purple-dark: #3E1B4D;
  --emerald: #0E997C;
  --emerald-dark: #0B7A62;
  --gold: #C9A86A;
  --gold-light: #E3CFA0;
  --pink: #C2298A;
  --magenta: #7B0A6C;
  --white: #FFFFFF;
  --text: #2A1533;
  --muted: #6D5E7C;

  --grad-impact: linear-gradient(115deg, #3E1B4D 0%, #7B0A6C 35%, #C2298A 65%, #C9A86A 100%);
  --grad-button: linear-gradient(135deg, #5B2A6E 0%, #C2298A 100%);
  --grad-purple-emerald: linear-gradient(135deg, #5B2A6E 0%, #0E997C 100%);

  --shadow-sm: 0 2px 10px rgba(62, 27, 77, 0.06);
  --shadow-md: 0 12px 32px rgba(62, 27, 77, 0.10);
  --shadow-lg: 0 24px 60px rgba(62, 27, 77, 0.18);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1180px;

  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--purple-dark);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1.display {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.narrow { max-width: 780px; margin-inline: auto; }

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

/* ---------- Eyebrow / Badges ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}
.eyebrow.gold { color: var(--gold); }
.eyebrow.center { display: block; text-align: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-gold {
  background: rgba(201, 168, 106, 0.15);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 106, 0.4);
}
.badge-purple {
  background: rgba(91, 42, 110, 0.08);
  color: var(--purple);
  border: 1px solid rgba(91, 42, 110, 0.15);
}
.badge-inline { margin-left: 10px; }

/* Workshop Gratuito destaque */
.workshop-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, #C9A86A 0%, #E3CFA0 50%, #C9A86A 100%);
  color: var(--purple-dark);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px -10px rgba(201, 168, 106, 0.6);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.workshop-tag strong {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.workshop-tag svg { color: var(--purple-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border-radius: 10px;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease, background .25s;
  will-change: transform;
}
.btn-pill { border-radius: var(--radius-pill); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.cta-header { white-space: nowrap; padding: 10px 22px; font-size: 0.88rem; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-gradient {
  background: var(--grad-button);
  color: var(--white);
  box-shadow: 0 12px 26px -8px rgba(194, 41, 138, 0.55);
}
.btn-gradient:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 18px 34px -10px rgba(194, 41, 138, 0.6); }

/* Botão tricolor: roxo → rosa → verde (usado no CTA do header) */
.btn-tricolor {
  background: linear-gradient(120deg, #5B2A6E 0%, #C2298A 55%, #0E997C 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(91, 42, 110, 0.5);
  transition: background-position .6s ease, transform .25s, box-shadow .25s;
}
.btn-tricolor:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -8px rgba(14, 153, 124, 0.5);
}

/* Botão dourado com brilho (no estilo da pastilha 'Workshop Gratuito' do hero) */
.btn-gold-glow {
  background: linear-gradient(120deg, #C9A86A 0%, #E3CFA0 50%, #C9A86A 100%);
  color: var(--purple-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 34px -10px rgba(201, 168, 106, 0.65), inset 0 0 0 1px rgba(255,255,255,0.3);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-gold-glow:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 20px 40px -12px rgba(201, 168, 106, 0.8), inset 0 0 0 1px rgba(255,255,255,0.4);
}
.btn-white { background: var(--white); color: var(--purple); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(255,255,255,.3); }
.btn-gold { background: var(--gold); color: var(--purple-dark); }
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.03); }
.btn-ghost {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid var(--purple);
}
.btn-ghost:hover { background: var(--purple); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(62, 27, 77, 0.08);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(250, 247, 242, 0.96);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Navegação principal */
.nav-main {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.nav-main a {
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--purple-dark);
  border-radius: 8px;
  transition: background .2s, color .2s;
  position: relative;
}
.nav-main a:hover { background: rgba(91, 42, 110, 0.08); color: var(--purple); }
.nav-main a::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: var(--grad-button);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.nav-main a:hover::after { transform: scaleX(1); }
.nav-main a.active { color: var(--purple); }
.nav-main a.active::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(62, 27, 77, 0.15);
  gap: 4px;
  flex-direction: column;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--purple-dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600;
  color: var(--purple-dark);
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-button);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(194, 41, 138, 0.5);
}
.brand-text { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.01em; }
.brand-text em { font-style: italic; font-weight: 400; color: var(--purple); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 140px 0 100px;
  background: radial-gradient(120% 100% at 100% 0%, #7B0A6C 0%, #5B2A6E 45%, #3E1B4D 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}
.glow-a {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #C2298A 0%, transparent 60%);
  top: -120px; right: -80px;
}
.glow-b {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #C9A86A 0%, transparent 60%);
  bottom: -160px; left: -100px;
  opacity: 0.35;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero-copy h1, .hero-copy p { color: var(--white); }
.hero-copy h1 { margin-top: 22px; }
.text-gold-gradient {
  background: linear-gradient(120deg, #E3CFA0 0%, #C9A86A 55%, #C2298A 120%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.lead {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 560px;
  margin-bottom: 28px;
}
.hero .lead { color: rgba(255,255,255,0.85); }
.section .lead.center { max-width: 720px; margin-inline: auto; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 32px;
}
.meta-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.92rem;
  backdrop-filter: blur(8px);
}
.meta-chip strong { color: var(--gold-light); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero-note { font-size: 0.88rem; color: rgba(255,255,255,0.7); }

/* Hero visual — foto Thayane */
.hero-visual { position: relative; }
.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin-inline: auto;
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute; inset: 0;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 24px;
  font-size: 0.9rem;
  line-height: 1.6;
  background:
    radial-gradient(80% 60% at 50% 40%, rgba(194,41,138,0.25), transparent 70%),
    linear-gradient(135deg, rgba(91,42,110,0.4) 0%, rgba(14,153,124,0.25) 100%);
}
.hero-photo-fallback code {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,0.3);
  color: var(--gold-light);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 0.82rem;
}
.photo-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.photo-decor-a {
  width: 120px; height: 120px;
  top: -30px; right: -30px;
  background: radial-gradient(circle, rgba(201,168,106,0.5) 0%, transparent 70%);
  filter: blur(20px);
}
.photo-decor-b {
  width: 160px; height: 160px;
  bottom: -40px; left: -40px;
  background: radial-gradient(circle, rgba(194,41,138,0.5) 0%, transparent 70%);
  filter: blur(24px);
}

/* Hero card / terminal (mantido para eventual reuso) */
.hero-card { position: relative; }
.card-holo {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
  overflow: hidden;
}
.card-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.15);
}
.card-header .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-red { background: #FF6058; } .dot-yellow { background: #FEBD2E; } .dot-green { background: #29CA41; }
.card-title { margin-left: 12px; font-family: 'SF Mono', 'Menlo', monospace; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.card-body { padding: 22px 22px 26px; font-family: 'SF Mono', 'Menlo', monospace; font-size: 0.9rem; }
.card-line { margin: 0 0 10px; color: rgba(255,255,255,0.85); }
.card-line .prompt { color: var(--gold); margin-right: 8px; }
.card-line.accent { color: var(--gold-light); }
.card-line.typing { opacity: 0; animation: fadeUp .6s ease forwards; animation-delay: var(--d, 0s); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Section base ---------- */
.section { padding: 90px 0; position: relative; }
.section-alt { background: var(--ivory); }
.section-lavender { background: var(--lavender); }
.section-purple {
  background: radial-gradient(120% 100% at 100% 0%, #7B0A6C 0%, #5B2A6E 45%, #3E1B4D 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-purple::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}
.section-purple::after {
  content: '';
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,41,138,0.35) 0%, transparent 65%);
  filter: blur(80px);
  top: -140px; right: -80px;
  pointer-events: none;
}
.section-purple h2, .section-purple h3 { color: var(--white); }
.section-purple .muted { color: rgba(255,255,255,0.7); }
.section-purple .container { position: relative; z-index: 1; }
.section-dark {
  background: linear-gradient(160deg, #2A0F35 0%, #3E1B4D 60%, #4A1E5D 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  pointer-events: none;
}
.section-dark::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,106,0.15) 0%, transparent 65%);
  filter: blur(60px);
  top: -80px; right: -100px;
  pointer-events: none;
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .muted { color: rgba(255,255,255,0.65); }
.section-emerald {
  background: var(--emerald);
  color: var(--white);
}
.section-emerald h2, .section-emerald h3 { color: var(--white); }
.section-emerald .muted { color: rgba(255,255,255,0.75); }
.section-gradient {
  background: var(--grad-impact);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-gradient::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.section-gradient h2, .section-gradient h3 { color: var(--white); }
.section-final {
  background: linear-gradient(140deg, #3E1B4D 0%, #5B2A6E 45%, #0E997C 100%);
  color: var(--white);
}
.section-final h2, .section-final h3 { color: var(--white); }

.section-head { margin-bottom: 50px; }
.section-head.center h2 { max-width: 720px; margin-inline: auto; }
.section-head.light h2 { color: var(--white); }
.section-head p { max-width: 640px; }
.section-head.center p { margin-inline: auto; }
.lead-light { color: rgba(255,255,255,0.85); font-size: 1.05rem; }

/* ---------- Form ---------- */
.section-form {
  background: var(--ivory);
  padding: 60px 0 80px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.form-wrap {
  max-width: 620px;
  margin-inline: auto;
}
.form-head { text-align: center; margin-bottom: 30px; }
.form-card {
  background: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.form-card-dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  backdrop-filter: blur(14px);
  max-width: 560px;
  margin: 40px auto 0;
}
.field {
  display: flex; flex-direction: column;
  margin-bottom: 18px;
}
.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-card-dark .field label { color: rgba(255,255,255,0.75); }
.field input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(62, 27, 77, 0.12);
  background: var(--ivory);
  font-size: 1rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
  font-family: inherit;
}
.form-card-dark .field input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}
.form-card-dark .field input::placeholder { color: rgba(255,255,255,0.4); }
.field input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(91, 42, 110, 0.12);
  background: var(--white);
}
.form-card-dark .field input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(201, 168, 106, 0.2);
  background: rgba(255,255,255,0.12);
}
.form-card .btn { margin-top: 10px; }
.form-disclaimer {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.form-disclaimer svg { color: var(--emerald); flex-shrink: 0; margin-top: 2px; }
.form-disclaimer-light { color: rgba(255,255,255,0.75); justify-content: center; text-align: center; }

.form-success {
  display: flex; align-items: center; gap: 14px;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(14, 153, 124, 0.1);
  border: 1px solid rgba(14, 153, 124, 0.3);
  color: var(--emerald-dark);
}
.form-card-dark .form-success {
  background: rgba(201, 168, 106, 0.15);
  border-color: rgba(201, 168, 106, 0.4);
  color: var(--gold-light);
}
.success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--emerald); color: var(--white);
  flex-shrink: 0;
}
.form-card-dark .success-icon { background: var(--gold); color: var(--purple-dark); }
.form-success strong { display: block; font-size: 1.02rem; }
.form-success p { margin: 2px 0 0; font-size: 0.9rem; opacity: 0.85; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  border: 0.5px solid var(--gold-light);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card.soft {
  background: var(--lavender);
  border: 0.5px solid rgba(201, 168, 106, 0.35);
}
.card-highlight {
  background: var(--grad-purple-emerald) !important;
  color: var(--white);
  border: 0;
}
.card-highlight h3 { color: var(--white); }
.card-highlight p { color: rgba(255,255,255,0.85); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
  font-weight: 600;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(227, 207, 160, 0.4);
  padding-bottom: 2px;
  transition: gap .25s;
}
.link-arrow::after { content: '→'; transition: transform .25s; }
.link-arrow:hover { gap: 10px; }

.ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.ico-purple { background: rgba(91, 42, 110, 0.1); color: var(--purple); }
.ico-gold { background: rgba(201, 168, 106, 0.18); color: var(--gold); }
.ico-gold-solid { background: var(--gold); color: var(--purple-dark); }

/* ---------- Story / callout ---------- */
.story p { font-size: 1.05rem; }
.story p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3rem;
  float: left;
  line-height: 0.9;
  margin: 6px 12px 0 0;
  color: var(--purple);
}
.callout {
  margin-top: 40px;
  padding: 32px 36px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(91, 42, 110, 0.06) 0%, rgba(14, 153, 124, 0.06) 100%);
  border-left: 3px solid var(--gold);
}
.callout p { font-size: 1.03rem; }

/* ---------- Learn cards ---------- */
.learn-grid { margin-top: 30px; }
.card.learn { padding: 34px; }
.card-topline {
  height: 3px; width: 60px;
  background: var(--grad-button);
  border-radius: 3px;
  margin-bottom: 16px;
}
.list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.55;
}
.list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  box-shadow: 0 0 0 3px rgba(91, 42, 110, 0.08);
}

/* ---------- Benefits glass cards ---------- */
.card.glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 168, 106, 0.15), 0 12px 30px -12px rgba(0,0,0,0.25);
  color: var(--white);
}
.card.glass p { color: rgba(255,255,255,0.85); }
.card.glass:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold-light);
  box-shadow: 0 0 0 1px rgba(227, 207, 160, 0.35), 0 18px 40px -12px rgba(0,0,0,0.35);
}

/* ---------- Outline (Entregáveis) ---------- */
.card.outline {
  border: 1px solid var(--gold-light);
  background: var(--white);
  padding-top: 40px;
}
.card.outline .num {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.7;
}

/* ---------- Format Grid ---------- */
.format-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.format-item {
  display: flex; gap: 18px;
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 0.5px solid var(--gold-light);
  box-shadow: var(--shadow-sm);
}
.format-item h3 { margin-bottom: 6px; }
.format-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 30px;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(201, 168, 106, 0.12);
  border: 1px solid rgba(201, 168, 106, 0.3);
  color: var(--purple-dark);
}
.notice svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.notice p { margin: 0; font-size: 0.95rem; }
.notice-dark {
  background: rgba(0,0,0,0.2);
  border-color: rgba(201, 168, 106, 0.35);
  color: var(--white);
}
.notice-dark svg { color: var(--gold-light); }

/* ---------- Apps grid ---------- */
.apps-grid { margin-top: 20px; }
.app-card {
  padding: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 168, 106, 0.15), 0 12px 30px -12px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  color: var(--white);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s;
}
.app-card:hover {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 1px rgba(227, 207, 160, 0.35), 0 18px 40px -12px rgba(0,0,0,0.35);
}
.app-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
}
.app-card h3 {
  font-size: 1.35rem;
  margin: 14px 0 12px;
}
.app-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 22px;
  flex: 1;
}
.app-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  align-self: flex-start;
  box-shadow: 0 6px 16px -4px rgba(0,0,0,0.3);
}
.thumb-a { background: linear-gradient(135deg, #5B2A6E 0%, #C2298A 100%); }
.thumb-b { background: linear-gradient(135deg, #C9A86A 0%, #7B0A6C 100%); }
.thumb-c { background: linear-gradient(135deg, #0B7A62 0%, #3E1B4D 100%); }
.thumb-d { background: linear-gradient(135deg, #3E1B4D 0%, #C9A86A 100%); }
.app-card .btn-gold {
  align-self: flex-start;
  background: var(--gold);
  color: var(--purple-dark);
}
.app-card .btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 24px -8px rgba(201, 168, 106, 0.6);
}

.apps-note {
  text-align: center;
  margin-top: 40px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  font-style: italic;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}
.about-photo { position: relative; text-align: center; }
.photo-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  margin: 0 auto 20px;
  border-radius: 24px;
  background: var(--grad-purple-emerald);
  padding: 4px;
  box-shadow: var(--shadow-lg);
}
.photo-image {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.photo-inner {
  width: 100%; height: 100%;
  border-radius: 20px;
  background: linear-gradient(135deg, #7B0A6C 0%, #3E1B4D 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  overflow: hidden;
  position: relative;
}
.photo-inner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.photo-initials { position: relative; z-index: 1; }
.photo-ring {
  position: absolute;
  inset: -12px;
  border: 1px dashed rgba(201, 168, 106, 0.4);
  border-radius: 32px;
}
.about-badge { margin-top: 10px; }
.about-copy h2 { margin-bottom: 20px; }
.edu {
  margin-top: 30px;
  padding: 24px;
  background: var(--lavender);
  border-radius: var(--radius);
  border: 0.5px solid var(--gold-light);
}
.edu h4 {
  color: var(--purple);
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.edu ul li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(91, 42, 110, 0.08);
  font-size: 0.95rem;
}
.edu ul li:last-child { border-bottom: 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.stat {
  padding: 30px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 0.5px solid var(--gold-light);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-wide { grid-column: span 4; background: var(--grad-purple-emerald); color: var(--white); border: 0; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-wide .stat-num { color: var(--gold-light); }
.stat-label {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}
.stat-wide .stat-label { color: rgba(255,255,255,0.9); font-size: 0.98rem; }

/* ---------- Chip Cloud (O que você pode criar) ---------- */
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 40px auto 20px;
  max-width: 960px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(62, 27, 77, 0.25);
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
  cursor: default;
}
.chip:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 14px 26px -8px rgba(62, 27, 77, 0.4);
}
.chip-purple  { background: linear-gradient(135deg, #5B2A6E 0%, #7B0A6C 100%); }
.chip-emerald { background: linear-gradient(135deg, #0E997C 0%, #0B7A62 100%); }
.chip-gold    { background: linear-gradient(135deg, #E3CFA0 0%, #C9A86A 100%); color: var(--purple-dark); box-shadow: 0 8px 22px -8px rgba(201, 168, 106, 0.6); }

/* ---------- Mistake grid (O maior erro) ---------- */
.mistake-grid {
  margin-top: 40px;
  gap: 18px !important;
}
.mistake-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201, 168, 106, 0.25);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  transition: border-color .3s, background .3s, transform .3s;
}
.mistake-card:hover {
  border-color: rgba(201, 168, 106, 0.5);
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}
.mistake-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, #B08F52 100%);
  color: var(--purple-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.mistake-card p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.98rem;
  line-height: 1.4;
}

.mistake-final {
  text-align: center;
  margin-top: 50px;
  padding: 30px 30px 0;
  border-top: 1px solid rgba(201, 168, 106, 0.3);
}
.final-headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.mistake-final .lead-light strong { color: var(--white); }

/* ---------- Story headline (na seção Da frustração) ---------- */
.story-headline {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-top: 24px;
  color: var(--purple);
  text-align: center;
}
.story-headline strong { color: var(--purple-dark); }

/* ---------- Section CTA ---------- */
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

/* ---------- Vídeo Thayane ---------- */
.video-block {
  margin-top: 70px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(91, 42, 110, 0.06) 0%, rgba(14, 153, 124, 0.06) 100%);
  border: 0.5px solid var(--gold-light);
}
.video-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}
.video-head h3 { font-size: 1.4rem; margin-bottom: 8px; }
.video-head p { margin: 0; }
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Card de vídeo (abre no YouTube) */
.video-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #3E1B4D 0%, #5B2A6E 45%, #0E997C 100%);
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  color: var(--white);
  text-decoration: none;
}
.video-card:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -20px rgba(62, 27, 77, 0.45); }

.video-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.video-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.video-bg-glow-a {
  width: 320px; height: 320px;
  top: -80px; right: -60px;
  background: radial-gradient(circle, #C2298A 0%, transparent 60%);
}
.video-bg-glow-b {
  width: 280px; height: 280px;
  bottom: -80px; left: -40px;
  background: radial-gradient(circle, #C9A86A 0%, transparent 60%);
  opacity: 0.4;
}
.video-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.video-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px;
  text-align: center;
  z-index: 2;
}
.video-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.video-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 24px;
  line-height: 1.2;
  max-width: 520px;
}
.video-play-wrap { display: inline-flex; }
.video-play {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--grad-button);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(194, 41, 138, 0.6), 0 0 0 8px rgba(255,255,255,0.15);
  transition: transform .3s ease, box-shadow .3s ease;
}
.video-play svg { margin-left: 5px; }
.video-card:hover .video-play {
  transform: scale(1.08);
  box-shadow: 0 18px 40px -10px rgba(194, 41, 138, 0.75), 0 0 0 12px rgba(255,255,255,0.2);
}
.video-badge {
  position: absolute;
  left: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.4);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.video-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #FF0033;
}

/* ---------- Bonus ---------- */
.bonus-grid { margin-top: 40px; }
.card.bonus {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  backdrop-filter: blur(10px);
  padding: 32px;
}
.card.bonus h3 { color: var(--white); }
.card.bonus p { color: rgba(255,255,255,0.85); margin: 0; }
.bonus-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

/* ---------- Final ---------- */
.final-inner {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.final-inner h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 20px; }
.strike { text-decoration: line-through; opacity: 0.55; }
.form-card-dark .form-disclaimer { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-dark);
  color: rgba(255,255,255,0.85);
  padding: 70px 0 24px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-top: 12px; }
.brand-link {
  color: var(--gold-light);
  border-bottom: 1px dashed rgba(227, 207, 160, 0.4);
  transition: color .2s;
}
.brand-link:hover { color: var(--gold); }
.footer-col h4 { color: var(--gold-light); font-size: 0.82rem; margin-bottom: 14px; }
.footer-col p { font-size: 0.95rem; margin-bottom: 8px; color: rgba(255,255,255,0.75); }
.socials { display: flex; gap: 12px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--gold-light);
  transition: background .25s, transform .25s;
}
.socials a:hover { background: rgba(201, 168, 106, 0.2); transform: translateY(-2px); }
.footer-link {
  color: var(--gold-light);
  border-bottom: 1px dashed rgba(227, 207, 160, 0.4);
  transition: color .2s;
}
.footer-link:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}
.footer-legal { margin-top: 10px; font-size: 0.82rem; }

/* Páginas legais (política e termos) */
.legal-page {
  padding-top: 20px;
}
.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 6px 0 20px;
}
.legal-page h2 {
  font-size: 1.2rem;
  color: var(--purple);
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal-page p, .legal-page li {
  color: var(--text);
  line-height: 1.7;
}
.legal-page ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 16px;
}
.legal-page ul li {
  margin-bottom: 6px;
}
.legal-page a {
  color: var(--purple);
  border-bottom: 1px solid rgba(91, 42, 110, 0.3);
}
.legal-page a:hover { color: var(--purple-dark); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--purple) !important;
  font-weight: 500;
  border-bottom: 0 !important;
}
.legal-back:hover { color: var(--purple-dark) !important; }

/* ---------- Chat Widget ---------- */
.chat-widget {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  font-family: var(--font-sans);
}
.chat-launcher {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px;
  border-radius: var(--radius-pill);
  background: var(--grad-button);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 20px 40px -12px rgba(194, 41, 138, 0.55), 0 0 0 4px rgba(255,255,255,0.08);
  transition: transform .3s, box-shadow .3s;
}
.chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -12px rgba(194, 41, 138, 0.7), 0 0 0 4px rgba(255,255,255,0.12); }
.chat-launcher-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.chat-launcher-pulse {
  position: absolute; inset: 0;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(194, 41, 138, 0.6);
  animation: chatPulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes chatPulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.25); opacity: 0; }
}

.chat-window {
  position: absolute;
  bottom: 0; right: 0;
  width: 380px;
  max-width: calc(100vw - 40px);
  max-height: min(640px, calc(100vh - 40px));
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gold-light);
  box-shadow: 0 40px 80px -20px rgba(62, 27, 77, 0.4);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
}
.chat-window.is-open {
  display: flex;
  animation: chatOpen .3s ease;
}
@keyframes chatOpen {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
  color: var(--white);
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad-button);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.chat-title { flex: 1; line-height: 1.2; }
.chat-title strong { display: block; font-size: 0.98rem; }
.chat-title span { font-size: 0.78rem; color: rgba(255,255,255,0.7); }
.chat-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  color: var(--white);
  transition: background .2s;
}
.chat-close:hover { background: rgba(255,255,255,0.15); }

.chat-body {
  flex: 1;
  padding: 20px 18px;
  overflow-y: auto;
  background: var(--ivory);
  min-height: 220px;
  max-height: 340px;
  scroll-behavior: smooth;
}
.chat-msg {
  margin-bottom: 14px;
  animation: msgIn .3s ease;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.chat-msg p {
  margin: 0 0 6px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 88%;
  word-wrap: break-word;
}
.chat-msg p:last-child { margin-bottom: 0; }
.chat-msg.bot p {
  background: var(--white);
  color: var(--purple-dark);
  border: 1px solid rgba(62, 27, 77, 0.08);
  border-bottom-left-radius: 4px;
  margin-right: auto;
}
.chat-msg.user p {
  background: var(--grad-button);
  color: var(--white);
  border-bottom-right-radius: 4px;
  margin-left: auto;
}
.chat-msg.bot a {
  color: var(--purple);
  font-weight: 600;
  border-bottom: 1px solid rgba(91, 42, 110, 0.4);
}
.chat-typing p {
  display: inline-flex; gap: 4px;
  padding: 14px 16px !important;
  background: var(--white);
  border: 1px solid rgba(62, 27, 77, 0.08);
}
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple);
  animation: dot 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-suggestions {
  padding: 10px 14px;
  border-top: 1px solid rgba(62, 27, 77, 0.06);
  background: var(--white);
  display: flex; flex-wrap: wrap;
  gap: 6px;
  max-height: 110px;
  overflow-y: auto;
}
.chat-suggestions button {
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--lavender);
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 500;
  transition: background .2s, transform .2s;
  border: 1px solid rgba(91, 42, 110, 0.1);
}
.chat-suggestions button:hover { background: var(--purple); color: var(--white); transform: translateY(-1px); }

.chat-input {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: var(--white);
  border-top: 1px solid rgba(62, 27, 77, 0.08);
}
.chat-input input {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(62, 27, 77, 0.12);
  background: var(--ivory);
  font-size: 0.92rem;
  color: var(--text);
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.chat-input input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(91, 42, 110, 0.1);
}
.chat-input button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-button);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
  flex-shrink: 0;
}
.chat-input button:hover { transform: scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav-main { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-main.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid rgba(62, 27, 77, 0.08);
    box-shadow: 0 20px 40px -20px rgba(62, 27, 77, 0.2);
  }
  .nav-main.open a {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(62, 27, 77, 0.06);
    text-align: left;
  }
  .nav-main.open a::after { display: none; }
  .cta-header { display: none; }
}

@media (max-width: 960px) {
  .hero { padding: 120px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 480px; margin-inline: auto; }
  .hero-visual { max-width: 380px; margin-inline: auto; }
  .video-block { padding: 24px; }
  .section { padding: 70px 0; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 320px; margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-wide { grid-column: span 2; }

  .format-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .hero { padding: 110px 0 70px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .form-card { padding: 28px 22px; }
  .form-card-dark { padding: 28px 22px; }

  .brand-text { font-size: 1rem; }
  .btn-lg { padding: 15px 26px; font-size: 1rem; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-wide { grid-column: span 1; }

  .callout { padding: 24px 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; }

  .chat-widget { right: 16px; bottom: 16px; }
  .chat-launcher { padding: 12px 18px 12px 14px; font-size: 0.88rem; }
  .chat-launcher-text { display: none; }
  .chat-window { width: calc(100vw - 32px); }
}
