:root {
  color-scheme: dark;
  --ink: #09070f;
  --paper: #faf7ff;
  --muted: #c8bfd4;
  --accent: #df9bff;
  --outline: #49335d;
  --panel: #151020;
  --button: linear-gradient(105deg, #6328c8, #a425a8);
  --type-gradient: linear-gradient(106deg, #c687ff 3%, #f194ea 95%);
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.22,.72,.3,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 1rem/1.6 var(--body); }
a { color: inherit; }
:focus-visible { outline: 2px solid #f0bbff; outline-offset: 5px; }
.skip { position: fixed; z-index: 8; top: .5rem; left: .5rem; padding: .5rem 1rem; background: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(100% - 4rem, 72rem); margin-inline: auto; }
.top { background: #0e0a15; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #0b0813eb;
  border-bottom: 1px solid #a867ea33;
  backdrop-filter: blur(12px);
}
.top-inner { min-height: 4.65rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font: italic 900 1.65rem/.82 var(--display); }
.brand img { border-radius: .45rem; box-shadow: 0 0 1.15rem #a359ed40; }
.brand small { display: block; margin-bottom: .21rem; font: 700 .7rem/1 var(--body); letter-spacing: .24em; }
.brand-accent { color: var(--accent); }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); font-weight: 700; }
nav a, .social { color: var(--muted); text-decoration: none; transition: color .22s; }
nav a { position: relative; padding-block: .4rem; }
nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
nav a:hover, nav a:focus-visible, .social:hover { color: var(--paper); }
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); }
.reading-progress { position: absolute; inset: auto 0 -1px; height: 2px; background: var(--type-gradient); transform: scaleX(var(--reading-progress, 0)); transform-origin: left; }

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.45rem;
  padding: .85rem 1.3rem;
  border: 1px solid #e5b3ff70;
  border-radius: .65rem;
  background: var(--button);
  color: white;
  box-shadow: 0 6px 22px #792fb336;
  text-decoration: none;
  font: 700 1rem/1.25 var(--body);
  transition: transform .27s var(--ease), box-shadow .27s, border-color .27s, background-color .27s;
}
.button::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40% 0;
  background: linear-gradient(105deg, transparent 29%, #ffffff40 49%, transparent 69%);
  transform: translateX(-112%);
  transition: transform .58s var(--ease);
  pointer-events: none;
}
.button-small { min-height: 2.75rem; padding: .6rem 1rem; font-size: .9rem; }
.button-ghost { background: #1710219e; border-color: #a98bc990; box-shadow: none; }
.button:focus-visible { border-color: #f7d5ff; box-shadow: 0 0 1.4rem #c669ff6b; }
.button:focus-visible::after { transform: translateX(105%); }
@media (hover: hover) {
  .button:hover { transform: translateY(-3px); border-color: #f7d5ff; box-shadow: 0 9px 27px #b044e370; }
  .button:hover::after { transform: translateX(105%); }
  .button-ghost:hover { background-color: #301748; }
}
.button:active { transform: translateY(1px) scale(.98); box-shadow: 0 3px 12px #852bb35e; }

main section[id] { scroll-margin-top: 6.5rem; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(37rem, 54vw, 47rem);
  overflow: hidden;
  background: radial-gradient(ellipse at 73% 48%, #2b1048 0%, #120b20 43%, var(--ink) 70%);
}
.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0 max(0px, calc((100% - 1380px)/2)) 0 auto;
  margin: 0;
  width: min(59%, 49rem);
  overflow: hidden;
}
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transform: translateY(var(--photo-shift, 0px)) scale(1.06);
  filter: saturate(.82) brightness(.87);
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #10091c 0%, #10091c7c 21%, transparent 53%),
    linear-gradient(0deg, #10091c 0%, transparent 30%),
    linear-gradient(265deg, #1d083d91, transparent 29%);
}
.hero-energy { position: absolute; z-index: -1; inset: 0; pointer-events: none; overflow: hidden; }
.hero-energy i {
  position: absolute;
  right: max(2%, calc((100% - 1320px)/2));
  top: 12%;
  height: 56%;
  width: clamp(2.2rem, 5vw, 5rem);
  border: 2px solid #bb72ffad;
  box-shadow: 0 0 1.2rem #a35bffc9, inset 0 0 1rem #a35bff55;
  transform: skewX(-28deg);
  animation: neon-breathe 6s ease-in-out 3 alternate both;
}
.hero-energy i + i { top: 25%; right: max(7%, calc((100% - 1190px)/2)); height: 65%; opacity: .55; animation-delay: .5s; }
@keyframes neon-breathe { from { opacity: .45; } to { opacity: .92; } }
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 30%, #09070fe8 38%, transparent 67%),
    linear-gradient(0deg, #09070fdc, transparent 30%);
}
.hero-content { padding-block: clamp(4rem, 8vw, 6.4rem); }
.eyebrow { margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; color: var(--accent); font-weight: 700; letter-spacing: .105em; font-size: .875rem; line-height: 1.35; }
.eyebrow::before { content: ""; width: 1.4rem; height: 2px; background: #cb76ff; box-shadow: 0 0 .65rem #b45afa; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 1.35rem; font: italic 900 clamp(3.4rem, 7vw, 6.3rem)/.89 var(--display); letter-spacing: -.018em; }
.hero h1 { font-size: clamp(4.1rem, 8.1vw, 7.5rem); }
.hero h1 span, .hero h1 em { display: block; width: fit-content; }
h1 em, h2 em { color: var(--accent); font: inherit; background: var(--type-gradient); background-clip: text; -webkit-text-fill-color: transparent; padding-inline-end: .08em; }
.hero-copy { max-width: 28rem; color: #e2d9ec; font-size: clamp(1.03rem, 1.4vw, 1.17rem); margin-bottom: 1.55rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem .85rem; }
.hero-content > *, .hero h1 > * { animation: enter .64s var(--ease) backwards; }
.hero h1 > em { animation-delay: .12s; }
.hero-copy { animation-delay: .16s; }
.hero-actions { animation-delay: .24s; }
@keyframes enter { from { opacity: .38; translate: 0 1.15rem; } to { opacity: 1; translate: 0 0; } }
.section-divider { height: 2px; background: linear-gradient(90deg, #241635, #944ce2 56%, #ef83ef 79%, #291638); box-shadow: 0 0 1.25rem #ad52ef8f; }
.section { padding-block: clamp(3.6rem, 7.4vw, 6.4rem); }
.section-heading > p:last-child { max-width: 30rem; color: var(--muted); }
#objetivos .section-heading { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-areas: "label label" "title copy"; align-items: end; column-gap: 2rem; }
#objetivos .eyebrow { grid-area: label; }
#objetivos h2 { grid-area: title; margin-bottom: 0; }
#objetivos .section-heading > p:last-child { grid-area: copy; margin: 0; max-width: 25rem; }
.goal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.goal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  min-height: 11rem;
  padding: 1.25rem;
  border: 1px solid var(--outline);
  border-radius: .8rem;
  background: linear-gradient(155deg, #211331, #120e1c 76%);
  color: var(--muted);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.goal[aria-pressed="true"] { border-color: #b86cf5; box-shadow: inset 0 -3px #b86cf5, 0 0 1.25rem #8e45cf36; }
.goal:focus-visible { border-color: #db9fff; }
.goal strong, .steps h3 { font: 800 clamp(1.85rem, 3vw, 2.35rem)/1 var(--display); color: var(--paper); }
.goal-icon { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-bottom: .45rem; border: 1px solid #9c5ad684; border-radius: .5rem; color: var(--accent); background: #8e4ad320; font-size: 1.3rem; font-weight: 700; transition: transform .25s var(--ease), box-shadow .25s; }
@media (hover: hover) {
  .goal:hover { transform: translateY(-4px); border-color: #cb89ff; box-shadow: 0 .75rem 1.6rem #762cc84a; }
  .goal:hover .goal-icon { transform: scale(1.08); box-shadow: 0 0 .85rem #a660f28c; }
}
.goal-detail { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1rem; margin-top: 1rem; padding: .85rem 1.05rem; border: 1px solid var(--outline); border-radius: .75rem; background: var(--panel); }
.goal-detail[hidden] { display: none; }
.goal-detail p { margin: 0; color: var(--muted); }

.approach, .questions, .contact { border-block-start: 1px solid #48315d; }
.approach { background: radial-gradient(ellipse at 10% 80%, #250e3f, transparent 63%), #0e0a17; }
.approach-layout, .faq-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1rem, 6vw, 5rem); }
.steps { margin: 0; padding: .45rem 1.1rem; list-style: none; border: 1px solid var(--outline); border-radius: .9rem; background: #170e23; box-shadow: 0 0 2.4rem #672ba728; }
.steps li { position: relative; padding: 1.15rem 0 1.15rem 2.85rem; }
.steps li + li { border-top: 1px solid var(--outline); }
.steps h3 { margin-bottom: .34rem; }
.steps p, .faq p { margin-bottom: 0; color: var(--muted); }
.step-number { position: absolute; left: 0; top: 1.16rem; display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: .45rem; border: 1px solid #925ccc; color: var(--accent); background: #29183d; font-size: .9rem; font-weight: 700; }
.questions { background: #0c0914; }
.faq { border-top: 1px solid var(--outline); }
details { border-bottom: 1px solid var(--outline); }
summary { min-height: 3.65rem; padding: .85rem .25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 700; cursor: pointer; list-style: none; transition: color .25s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); line-height: 1; font-size: 1.45rem; transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
summary:hover, details[open] summary { color: var(--accent); }
.faq p { padding: 0 .25rem 1rem; }
details[open] p { animation: enter .32s var(--ease); }
.contact { background: radial-gradient(ellipse at 92% 55%, #492067 0%, #221035 44%, #110a1c 82%); }
.contact-layout { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2.6rem; min-height: 15rem; padding-block: 3rem; }
.contact h2 { margin: 0; }
.contact p { margin-bottom: .95rem; color: #e2d6ed; }
.arrived { animation: enter .6s var(--ease) backwards; }
.goal:nth-child(2).arrived { animation-delay: 85ms; }
.goal:nth-child(3).arrived { animation-delay: 170ms; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 2.25rem, 72rem); }
  .top-inner { min-height: 4.2rem; }
  .site-header .top-inner { flex-wrap: wrap; gap: .4rem 1rem; padding-block: .6rem .35rem; }
  .site-header nav { order: 1; justify-content: space-between; width: 100%; gap: .35rem; padding-top: .25rem; border-top: 1px solid var(--outline); font-size: .875rem; }
  main section[id] { scroll-margin-top: 7.15rem; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-art { position: relative; inset: auto; width: 100%; height: clamp(16rem, 66vw, 25rem); }
  .hero-art img { transform: none; object-position: 50% 42%; }
  .hero-art::after { background: linear-gradient(0deg, var(--ink), transparent 59%), linear-gradient(270deg, #2c0c50a3, transparent 37%); }
  .hero-energy i { top: 1.5rem; right: 8%; height: clamp(7rem, 30vw, 12rem); opacity: .72; animation: none; }
  .hero-energy i + i { top: 3.9rem; right: 13%; height: clamp(6rem, 30vw, 10rem); }
  .hero::after { content: none; }
  .hero-content { position: relative; margin-top: -1.3rem; padding-block: 0 2.8rem; }
  .hero h1 { font-size: clamp(3.1rem, 12vw, 5.6rem); }
  #objetivos .section-heading { display: block; }
  #objetivos h2 { margin-bottom: .85rem; }
  .goal-grid, .approach-layout, .faq-layout { grid-template-columns: 1fr; }
  .goal { min-height: 0; }
  .contact-layout { align-items: flex-start; flex-direction: column; justify-content: center; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 1.5rem); }
  .brand { font-size: 1.45rem; gap: .35rem; }
  .brand img { width: 34px; height: 34px; }
  h2 { font-size: 2.95rem; }
  .hero h1 { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-art img, .button:hover, .button:active, .goal:hover, .goal:hover .goal-icon { transform: none; }
  .reading-progress, .button::after { display: none; }
}
