:root {
  --ink: #031827;
  --deep: #042f4a;
  --ocean: #0077b6;
  --teal: #0693f5;
  --aqua: #20f4ff;
  --mint: #9ff7f2;
  --gold: #f4c46b;
  --muted: #587587;
  --line: #d8edf4;
  --paper: #f3fbfe;
  --white: #ffffff;
  --brand: #20f4ff;
  --brand-dark: #0077b6;
  --shadow: 0 22px 70px rgba(3, 24, 39, .16);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Rubik, Arial, Helvetica, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: clamp(64px, 8vw, 108px) 0; position: relative; }
.section.alt { background: linear-gradient(180deg, #eaf8fc, #ffffff); }
.section.dark { background: radial-gradient(circle at 18% 18%, rgba(32,244,255,.12), transparent 30%), #031827; color: #fff; }
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eyebrow { color: var(--brand-dark); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 24, 39, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 900; }
.brand img { width: 108px; max-height: 60px; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(0,0,0,.25)); }
.nav-links { display: flex; align-items: center; gap: 19px; color: #fff; font-size: .95rem; }
.nav-links a { opacity: .86; transition: color .2s ease, opacity .2s ease; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--brand); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,.14); }
.btn.primary { background: linear-gradient(135deg, var(--teal), var(--brand)); color: #02131e; }
.btn.outline { border-color: rgba(0,119,182,.22); background: #fff; color: var(--ink); }
.btn.ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.20); }

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: clamp(76px, 10vw, 132px) 0 clamp(86px, 12vw, 150px);
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3,24,39,.92), rgba(3,24,39,.50), rgba(0,119,182,.18)),
    var(--hero-image) center/cover fixed;
  animation: heroBgSwap 18s ease-in-out infinite;
}
.hero.compact { min-height: 64vh; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(32,244,255,.28) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 36px 36px, 92px 92px;
  opacity: .22;
  animation: drift 26s linear infinite;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  right: -16vw;
  bottom: -20vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32,244,255,.28), transparent 68%);
  filter: blur(22px);
  animation: heroGlow 11s ease-in-out infinite;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.45rem, 6vw, 5.8rem); line-height: .96; margin: 18px 0; max-width: 960px; letter-spacing: 0; }
.hero p { font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 760px; color: rgba(255,255,255,.90); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.stat {
  min-width: 146px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
}
.stat strong { display: block; font-size: 1.6rem; color: var(--brand); line-height: 1; }

@keyframes drift { to { background-position: 36px 36px, -92px 92px; } }
@keyframes heroBgSwap {
  0%, 43% { background-image: linear-gradient(90deg, rgba(3,24,39,.92), rgba(3,24,39,.50), rgba(0,119,182,.18)), var(--hero-image); }
  50%, 93% { background-image: linear-gradient(90deg, rgba(3,24,39,.92), rgba(3,24,39,.50), rgba(0,119,182,.18)), var(--hero-image-alt, var(--hero-image)); }
  100% { background-image: linear-gradient(90deg, rgba(3,24,39,.92), rgba(3,24,39,.50), rgba(0,119,182,.18)), var(--hero-image); }
}
@keyframes heroGlow {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: .55; }
  50% { transform: translate3d(-26px,-20px,0) scale(1.16); opacity: .95; }
}

.section-title { max-width: 800px; margin-bottom: 34px; }
.section-title h2, .content-copy h2 { font-size: clamp(2rem, 3.6vw, 3.75rem); line-height: 1.03; margin: 8px 0 14px; letter-spacing: 0; }
.section-title p, .content-copy p { color: var(--muted); font-size: 1.06rem; }
.dark .section-title p, .dark .content-copy p { color: rgba(255,255,255,.78); }
.content-copy .lead { font-size: 1.22rem; color: var(--deep); }
.dark .content-copy .lead { color: #fff; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(3,24,39,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 54px rgba(3,24,39,.12); border-color: rgba(32,244,255,.55); }
.card-body { padding: 24px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.card h3 { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.2; }
.card p { margin: 0 0 18px; color: var(--muted); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card .btn { margin-top: auto; }
.tag { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #dffaff; color: #005e88; font-size: .78rem; font-weight: 900; margin-bottom: 12px; }
.feature-list { display: grid; gap: 12px; padding: 0; margin: 20px 0; list-style: none; }
.feature-list li { padding-left: 28px; position: relative; }
.feature-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); position: absolute; left: 4px; top: .62em; box-shadow: 0 0 0 5px rgba(32,244,255,.14); }

.speaker { background: linear-gradient(135deg, #e8fbff, #fff 54%, #f7fdff); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portrait { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #dff6fb; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait.speaker-photo { aspect-ratio: 4/5; max-height: 680px; }
.portrait.stage-photo { aspect-ratio: 4/5; }
.portrait.stage-photo img { object-position: center top; }
.video-frame, .embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #111; box-shadow: var(--shadow); }
.video-frame iframe, .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.type-map { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.type-dot {
  min-height: 90px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(223,250,255,.86));
  border: 1px solid var(--line);
  font-weight: 900;
  color: var(--deep);
}
.type-dot span { display: block; font-size: 1.55rem; color: var(--ocean); line-height: 1; }
.timeline { display: grid; gap: 16px; counter-reset: step; }
.timeline-item {
  position: relative;
  padding: 20px 20px 20px 58px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.timeline-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #02131e;
  font-weight: 900;
}

.parallax-band {
  min-height: 470px;
  display: flex;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3,24,39,.88), rgba(3,24,39,.24)),
    var(--band-image) center/cover fixed;
}
.parallax-band .container { padding-bottom: clamp(44px, 7vw, 86px); }
.parallax-band h2 { font-size: clamp(2.2rem, 5vw, 5rem); line-height: 1; max-width: 820px; margin: 12px 0; }
.parallax-band p { max-width: 700px; color: rgba(255,255,255,.88); }

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .92rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d5dde6;
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }
.form-note.ok { color: #187a42; }
.form-note.err { color: #9a3412; }

.instagram-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.insta-tile { aspect-ratio: 1; position: relative; overflow: hidden; border-radius: var(--radius); background: #ddd; box-shadow: 0 16px 40px rgba(3,24,39,.10); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.insta-tile:hover img { transform: scale(1.07); filter: saturate(1.12); }

.wv-section, .api-slot {
  width: min(1180px, calc(100% - 32px));
  margin: 56px auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(3,24,39,.08);
}
.wv-feature, .content-highlight {
  padding: clamp(22px, 4vw, 42px);
  margin: 34px auto;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(6,147,245,.12), rgba(32,244,255,.12));
  border: 1px solid rgba(0,119,182,.18);
  box-shadow: 0 18px 52px rgba(3,24,39,.10);
}
.wv-columns { display: grid; gap: 22px; }
.wv-columns.cols-1 { grid-template-columns: 1fr; }
.wv-columns.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wv-columns.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wv-columns.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wv-col {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.76);
}
.wv-media-section {
  width: min(1180px, calc(100% - 32px));
  min-height: 440px;
  margin: 56px auto;
  padding: clamp(30px, 6vw, 72px);
  display: flex;
  align-items: end;
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3,24,39,.88), rgba(3,24,39,.24)),
    var(--wv-bg, none) center/cover;
  box-shadow: var(--shadow);
}
.wv-media-section.wv-parallax { background-attachment: fixed; }
.wv-slider {
  display: flex;
  gap: 16px;
  margin-top: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}
.wv-slide {
  flex: 0 0 min(360px, 86vw);
  scroll-snap-align: start;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e8fbff;
  border: 1px solid var(--line);
}
.wv-slide img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.wv-slide figcaption { padding: 10px 12px; font-size: .85rem; color: var(--muted); }

.personality-result { padding: 20px; border-radius: var(--radius); background: #e8fbff; border: 1px solid #a9ecf6; margin-top: 18px; display: none; }
.site-footer { background: #031827; color: #fff; padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.footer-logo { width: 140px; margin-bottom: 16px; }
.footer-grid p { color: rgba(255,255,255,.72); }
.footer-grid a { color: rgba(255,255,255,.78); display: block; margin: 8px 0; }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-size: .9rem; }

.whatsapp-float, .chat-launcher {
  position: fixed;
  right: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 60;
  border: 0;
  box-shadow: 0 18px 38px rgba(0,0,0,.22);
}
.whatsapp-float { bottom: 88px; background: #25d366; color: #fff; font-weight: 900; }
.whatsapp-float svg { width: 31px; height: 31px; fill: currentColor; }
.chat-launcher { bottom: 20px; background: linear-gradient(135deg, var(--teal), var(--brand)); color: #02131e; cursor: pointer; font-size: 1.2rem; }
.butterfly-launcher {
  animation: butterflyPulse 2.4s ease-in-out infinite;
}
.butterfly-launcher svg {
  width: 34px;
  height: 34px;
  overflow: visible;
  filter: drop-shadow(0 5px 8px rgba(3,24,39,.16));
}
.butterfly-wing {
  fill: rgba(255,255,255,.95);
  stroke: rgba(3,24,39,.24);
  stroke-width: 1.1;
  transform-box: fill-box;
  transform-origin: center right;
  animation: wingLeft 1.55s ease-in-out infinite;
}
.butterfly-wing.right {
  transform-origin: center left;
  animation-name: wingRight;
}
.butterfly-wing.lower { fill: rgba(159,247,242,.92); }
.butterfly-body { fill: #04324e; }
.butterfly-antenna { fill: none; stroke: #04324e; stroke-width: 1.6; stroke-linecap: round; }
@keyframes butterflyPulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 18px 38px rgba(0,0,0,.22), 0 0 0 0 rgba(32,244,255,.34); }
  50% { transform: translateY(-2px) scale(1.06); box-shadow: 0 20px 42px rgba(0,0,0,.24), 0 0 0 12px rgba(32,244,255,0); }
}
@keyframes wingLeft {
  0%, 100% { transform: rotateY(0deg) rotate(-1deg); }
  50% { transform: rotateY(34deg) rotate(3deg); }
}
@keyframes wingRight {
  0%, 100% { transform: rotateY(0deg) rotate(1deg); }
  50% { transform: rotateY(-34deg) rotate(-3deg); }
}
.chatbot {
  position: fixed;
  right: 18px;
  bottom: 88px;
  width: min(360px, calc(100vw - 36px));
  max-height: 540px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  z-index: 70;
  display: none;
  overflow: hidden;
}
.chatbot.open { display: grid; grid-template-rows: auto 1fr auto; }
.chat-head { background: var(--ink); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.chat-head button { border: 0; background: none; color: #fff; font-size: 1.3rem; cursor: pointer; }
.chat-body { padding: 14px; overflow: auto; display: grid; gap: 10px; align-content: start; }
.bubble { max-width: 86%; padding: 10px 12px; border-radius: 8px; background: #f0f3f6; }
.bubble.bot { justify-self: start; }
.bubble.user { justify-self: end; background: #fff2da; }
.chat-actions { padding: 12px; display: grid; gap: 8px; border-top: 1px solid var(--line); }
.chat-actions button, .chat-actions a { border: 1px solid var(--line); background: #fff; padding: 10px 12px; border-radius: var(--radius); text-align: left; cursor: pointer; font-weight: 700; }

.reveal, .fade-up, .zoom-in { opacity: 0; transform: translateY(24px); transition: opacity .72s ease, transform .72s ease; }
.zoom-in { transform: scale(.96); }
.reveal.visible, .fade-up.visible, .zoom-in.visible { opacity: 1; transform: none; }
.home-hero { --hero-image: url("../../assets/images/palestra1.png"); --hero-image-alt: url("../../assets/images/palco.png"); background-position: center 28%, center 28%; }
.eneagrama-hero { --hero-image: url("../../assets/images/bussolade9pontas.png"); }
.course-hero { --hero-image: url("../../assets/images/Curso-Lajeado.jpg"); }
.download-hero { --hero-image: url("../../assets/images/ebook-eneagrama.png"); }
.video-hero { --hero-image: url("../../assets/images/curso-eneagrama.jpg"); }
.about-hero { --hero-image: url("../../assets/images/palco1.png"); --hero-image-alt: url("../../assets/images/palestrante.png"); background-position: center 30%, center 18%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero, .parallax-band, .wv-media-section.wv-parallax { background-attachment: scroll; }
}

@media (max-width: 980px) {
  .type-map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    background: rgba(3,24,39,.98);
  }
  .nav-links.open { display: flex; }
  .grid.two, .grid.three, .grid.four, .footer-grid, .instagram-grid, .wv-columns { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero, .parallax-band, .wv-media-section { min-height: 72vh; background-attachment: scroll; }
  .hero { padding-bottom: 88px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.2rem, 13vw, 4rem); }
}

@media (max-width: 520px) {
  .container { width: min(100% - 24px, 1180px); }
  .hero-actions .btn { width: 100%; }
  .hero-stats { display: grid; grid-template-columns: 1fr; }
  .type-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand span { display: none; }
}
