/* ===== Tokens ===== */
:root {
  --bg: #080808;
  --surface: #141414;
  --surface-2: #1b1915;
  --yellow: #ffde00;
  --gold: #d6a436;
  --gold-soft: rgba(214, 164, 54, 0.32);
  --white: #ffffff;
  --text-2: #d3cdc0;
  --radius: 22px;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Great Vibes", "Brush Script MT", cursive;
}

@property --ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(214, 164, 54, 0.10), transparent 60%),
    var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.page {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 14px 28px;
  overflow-x: clip;
}

/* ===== Topo ===== */
.hero {
  position: relative;
  padding-top: 18px;
  text-align: center;
}

.hero__stage {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
}

.hero__glow {
  position: absolute;
  inset: -4% -18% 10%;
  background:
    radial-gradient(closest-side at 50% 34%, rgba(255, 222, 0, 0.34), rgba(214, 164, 54, 0.16) 52%, transparent 100%);
  filter: blur(8px);
  pointer-events: none;
}

.hero__ring {
  position: absolute;
  left: 50%;
  top: 2%;
  width: 70%;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  border: 1px solid rgba(214, 164, 54, 0.55);
  box-shadow: 0 0 22px rgba(214, 164, 54, 0.25), inset 0 0 22px rgba(214, 164, 54, 0.12);
  -webkit-mask: linear-gradient(to bottom, #000 30%, transparent 72%);
  mask: linear-gradient(to bottom, #000 30%, transparent 72%);
  pointer-events: none;
}

.hero__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 860 / 934;
  -webkit-mask: linear-gradient(to bottom, #000 64%, transparent 97%);
  mask: linear-gradient(to bottom, #000 64%, transparent 97%);
}

.hero__decor {
  position: absolute;
  top: 11%;
  margin: 0;
  max-width: 31%;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero__decor--left {
  left: 0;
  max-width: none;
  white-space: nowrap;
  text-align: left;
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(9px, 2.4vw, 12px);
  letter-spacing: 0.22em;
  line-height: 2.05;
  text-transform: uppercase;
  color: #f3efe6;
}
.hero__decor--left::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.hero__decor--left span { display: block; }

.hero__swoosh {
  position: absolute;
  inset: 0 -14px auto;
  width: calc(100% + 28px);
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(255, 222, 0, 0.7));
}

.hero__text {
  position: relative;
  z-index: 2;
  margin-top: -16%;
  padding: 0 6px;
}

.hero__name {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 100%;
  white-space: nowrap;
  font-size: clamp(30px, 8.6vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}
.hero__name .accent {
  color: var(--yellow);
  text-shadow: 0 0 26px rgba(255, 222, 0, 0.28), 0 4px 24px rgba(0, 0, 0, 0.7);
}

.hero__sub {
  margin: 14px auto 0;
  max-width: 30ch;
  font-size: clamp(16px, 4.3vw, 18px);
  font-weight: 500;
  color: #ece7dc;
  text-wrap: balance;
}

.glow-line {
  height: 1px;
  width: 28%;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--yellow) 50%, var(--gold) 70%, transparent);
  box-shadow: 0 0 10px rgba(214, 164, 54, 0.7);
}

/* ===== Banners ===== */
.links {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-radius: var(--radius);
  border: 1px solid rgba(214, 164, 54, 0.62);
  background:
    radial-gradient(90% 70% at 85% 30%, rgba(214, 164, 54, 0.10), transparent 70%),
    linear-gradient(150deg, var(--surface-2), var(--surface) 45%, #0d0d0d);
  box-shadow: 0 0 22px -8px rgba(255, 222, 0, 0.35), 0 20px 40px -28px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 220ms ease-out, border-color 220ms ease-out, box-shadow 220ms ease-out;
}

.banner:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 222, 0, 0.8);
  box-shadow: 0 0 28px -6px rgba(255, 222, 0, 0.45), 0 24px 50px -24px rgba(214, 164, 54, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.banner:active { transform: scale(0.985); transition-duration: 90ms; }
.banner:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

/* Luz percorrendo a borda */
.ring {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  z-index: 3;
  background: conic-gradient(from var(--ang),
      transparent 0deg 292deg,
      rgba(214, 164, 54, 0.55) 318deg,
      var(--yellow) 343deg,
      #fff7c2 350deg,
      transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation:
    ring-spin 7s linear infinite,
    ring-pulse 3.8s ease-in-out infinite;
  animation-delay: var(--delay, 0s), var(--delay, 0s);
}
.ring--glow {
  inset: -5px;
  padding: 6px;
  filter: blur(5px);
  opacity: 0.8;
  z-index: 2;
}

@keyframes ring-spin { to { --ang: 360deg; } }
@keyframes ring-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.banner__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 22px 24px;
}

.banner__tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border: 1px solid rgba(255, 222, 0, 0.75);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.banner__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 105%;
  font-size: clamp(25px, 6.8vw, 30px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.banner__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

.banner__cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--yellow);
  color: #0b0b0b;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px -10px rgba(255, 222, 0, 0.55);
  transition: box-shadow 220ms ease-out, background-color 220ms ease-out;
}
.banner__cta svg { width: 18px; height: 18px; transition: transform 220ms ease-out; }
.banner:hover .banner__cta { background: #ffe633; box-shadow: 0 10px 30px -8px rgba(255, 222, 0, 0.7); }
.banner:hover .banner__cta svg { transform: translateX(3px); }

.banner__media {
  position: relative;
  z-index: 0;
  order: -1;
  display: grid;
  place-items: center;
  padding: 18px 14px 6px;
}
.banner__media::before {
  content: "";
  position: absolute;
  inset: 14% 10% 6%;
  background: radial-gradient(closest-side, rgba(255, 222, 0, 0.30), rgba(214, 164, 54, 0.12) 55%, transparent 100%);
  filter: blur(10px);
  pointer-events: none;
}
.banner__media img {
  position: relative;
  width: 100%;
  transition: transform 320ms ease-out;
}
.banner:hover .banner__media img { transform: scale(1.02); }

/* Banner 3 — foto + painel decorativo */
.banner--gestao .banner__media { padding: 18px 14px 0; }
.banner--gestao .banner__media { justify-items: start; }
.banner--gestao .banner__media img {
  width: 74%;
  margin: 0 0 0 4%;
  -webkit-mask: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.deco-panel {
  position: absolute;
  inset: 8% 2% 12%;
  width: 96%;
  height: 80%;
  margin: auto;
  pointer-events: none;
  color: var(--gold);
}

/* Lado a lado quando há espaço */
@media (min-width: 560px) {
  .page { padding: 0 20px 32px; }
  .banner { grid-template-columns: minmax(0, 1fr) 44%; align-items: center; min-height: 250px; }
  .banner__body { padding: 28px 8px 28px 28px; }
  .banner__media { order: 0; padding: 18px 14px 18px 0; height: 100%; }
  .banner__title { font-size: 28px; }
  .banner--gestao .banner__media { padding: 14px 12px 0 0; align-self: end; }
  .banner--gestao .banner__media img { width: 80%; margin: 0; }
}

/* ===== Rodapé ===== */
.footer {
  margin-top: 30px;
  text-align: center;
}

.insta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border: 1.5px solid var(--yellow);
  border-radius: 16px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 220ms ease-out, box-shadow 220ms ease-out, transform 220ms ease-out;
}
.insta svg { width: 22px; height: 22px; flex: none; color: var(--yellow); }
.insta .sep { width: 1px; height: 22px; background: rgba(255, 255, 255, 0.35); }
.insta .arrow { transition: transform 220ms ease-out; }
.insta:hover { background: rgba(255, 222, 0, 0.08); box-shadow: 0 0 24px -6px rgba(255, 222, 0, 0.45); }
.insta:hover .arrow { transform: translateX(3px); }
.insta:active { transform: scale(0.985); }
.insta:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }

.sign {
  margin: 18px 0 0;
  font-size: 14px;
  color: #bdb6a8;
  letter-spacing: 0.02em;
}

.spark {
  position: relative;
  width: 180px;
  height: 18px;
  margin: 14px auto 0;
}
.spark::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 8px var(--gold);
}
.spark::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 6px;
  translate: -50% -50%;
  border-radius: 50%;
  background: #fff3b0;
  box-shadow: 0 0 6px 2px var(--yellow), 0 0 18px 6px rgba(214, 164, 54, 0.55);
}

/* ===== Entrada suave ===== */
@keyframes rise {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes photo-in {
  from { opacity: 0; transform: translateY(26px) scale(0.96); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes glow-in {
  from { opacity: 0; transform: scale(0.75); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: none; }
}
@keyframes word-in {
  from { opacity: 0; transform: translateY(55%); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes line-in {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}
.hero__glow { animation: glow-in 1400ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__ring { animation: fade-in 1200ms 350ms ease-out both; }
.hero__swoosh { animation: fade-in 1600ms 500ms ease-out both; }
.hero__photo { animation: photo-in 1000ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__decor--left { animation: slide-in 700ms 650ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__name .w { display: inline-block; animation: word-in 800ms 600ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__name .w.accent { animation-delay: 780ms; }
.glow-line { animation: line-in 700ms 1000ms ease-out both; }
.hero__sub { animation: rise 700ms 1100ms ease-out both; }
.links > li { animation: rise 600ms ease-out both; }
.links > li:nth-child(1) { animation-delay: 1250ms; }
.links > li:nth-child(2) { animation-delay: 1350ms; }
.links > li:nth-child(3) { animation-delay: 1450ms; }

/* ===== Movimento reduzido ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .ring { display: none; }
  .banner { border-color: rgba(214, 164, 54, 0.75); }
  .banner:hover, .banner:active { transform: none; }
}
