/* styles.css | Styling, animations, and design system | 2026-05-07 */

:root {
  --light: #EFF3FF;
  --cobalt: #1E5BFF;
  --cobalt-deep: #0A2E9E;
  --lavender: #B8B5FF;
  --pink: #FFB8DC;
  --aqua: #9FE6FF;
  --cream: #FFF7E8;
  --holo: linear-gradient(135deg,
      #FF3B30 0%,
      #FF9500 16%,
      #FFCC00 33%,
      #34C759 50%,
      #00C7FF 66%,
      #5856D6 83%,
      #AF52DE 100%);

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--light);
  color: var(--cobalt-deep);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   HERO — full-bleed cinematic canvas with sticky overlay
   ========================================================= */
#hero {
  position: relative;
  height: 300vh;
  width: 100%;
}

#hero-canvas {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 1;
  background: var(--cobalt);
}

.hero-overlay {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  margin-top: -100vh;
  z-index: 2;
  pointer-events: none;
}

.hero-eyebrow {
  position: absolute;
  top: 120px;
  left: 80px;
  font-weight: 600;
  font-size: 11px;
  color: var(--cream);
  text-shadow: 0 2px 12px rgba(10, 46, 158, 0.4);
  pointer-events: auto;
}

.hero-bottom-content {
  position: absolute;
  bottom: 25%;
  left: 80px;
  max-width: 800px;
  pointer-events: auto;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 247, 232, 0.9);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  pointer-events: auto;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: rgba(255, 247, 232, 0.6);
  overflow: hidden;
  pointer-events: none;
}

.scroll-dot {
  width: 100%;
  height: 12px;
  background: var(--cream);
  animation: scrollDown 2s var(--ease-cinematic) infinite;
}

@keyframes scrollDown {
  0% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(48px);
  }
}

/* =========================================================
   TEXTURE OVERLAY
   ========================================================= */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 9999;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
  opacity: 0.03;
}

/* =========================================================
   TYPOGRAPHY BASE
   ========================================================= */
h1,
h2,
h3,
.footer-logo,
.grid-num {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
}

.section-eyebrow,
.card-title,
.hero-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.20em;
}

.font-italic {
  font-style: italic;
}

.holo-text-inline {
  background: var(--holo);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s linear infinite;
  font-style: italic;
}

.holo-bg {
  background: var(--holo);
  background-size: 200% auto;
  animation: gradientShift 8s linear infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* =========================================================
   NAV
   ========================================================= */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 50;
  background: rgba(239, 243, 255, 0.100);
  backdrop-filter: blur(05px) saturate(100%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(10, 46, 158, 0.01);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--cobalt-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}

.holo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--holo);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--cobalt-deep);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--holo);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  display: inline-block;
  background: var(--cobalt);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.4s var(--ease-cinematic);
}

.btn-nav:hover {
  transform: scale(1.03);
}

/* =========================================================
   MOBILE MENU
   ========================================================= */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 101;
}

.hamburger {
  width: 100%;
  height: 1.5px;
  background: var(--cobalt-deep);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1.5px;
  background: var(--cobalt-deep);
  left: 0;
  transition: transform 0.4s var(--ease-cinematic);
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  bottom: -6px;
}

.menu-toggle.open .hamburger {
  background: transparent;
}

.menu-toggle.open .hamburger::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open .hamburger::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(239, 243, 255, 0.95);
  backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-cinematic);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--cobalt-deep);
  text-decoration: none;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cobalt-deep);
  color: #fff;
  border-radius: 30px;
  height: 56px;
  padding: 0 32px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.4s var(--ease-cinematic);
}

.btn-primary-solid:hover {
  transform: scale(1.03);
}

.btn-text-white {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 4px;
}

.btn-text-white::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  transition: transform 0.4s var(--ease-cinematic);
  transform-origin: right;
}

.btn-text-white:hover::after {
  transform: scaleX(0);
  transform-origin: left;
}

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto {
  position: relative;
  z-index: 3;
  background: var(--cobalt);
  height: 70vh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
}

.manifesto-text {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--cream);
  text-align: center;
  max-width: 900px;
  line-height: 1.2;
  margin-bottom: 48px;
}

.manifesto-line {
  width: 80px;
  height: 1px;
  background: var(--holo);
}

.word {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-cinematic), transform 0.8s var(--ease-cinematic);
  display: inline-block;
  white-space: pre;
}

/* Palavras-chave em holográfico — destaque editorial */
.word.holo {
  background: var(--holo);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  animation: gradientShift 8s linear infinite;
}


.word.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   HIGHLIGHTS GRID
   ========================================================= */
.highlights {
  position: relative;
  z-index: 3;
  padding: 120px 32px;
  max-width: 1440px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-eyebrow {
  color: var(--cobalt);
  font-weight: 600;
  font-size: 11px;
  margin-bottom: 16px;
}

.section-title {
  color: var(--cobalt-deep);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(10, 46, 158, 0.12);
  border-left: 1px solid rgba(10, 46, 158, 0.12);
}

.grid-cell {
  padding: 64px 48px;
  border-right: 1px solid rgba(10, 46, 158, 0.12);
  border-bottom: 1px solid rgba(10, 46, 158, 0.12);
  display: flex;
  flex-direction: column;
}

.grid-num {
  font-size: 96px;
  color: var(--cobalt);
  margin-bottom: 24px;
  line-height: 1;
}

.grid-title {
  font-weight: 600;
  font-size: 18px;
  color: var(--cobalt-deep);
  margin-bottom: 12px;
}

.grid-desc {
  font-weight: 400;
  font-size: 15px;
  color: rgba(10, 46, 158, 0.75);
  line-height: 1.5;
}

.grid-line {
  margin-top: auto;
  padding-top: 48px;
  width: 24px;
  height: 1px;
  background: var(--holo);
}

/* =========================================================
   RITUAL
   ========================================================= */
.ritual {
  position: relative;
  z-index: 3;
  background: var(--cobalt);
  padding: 120px 32px;
  color: var(--cream);
}

.ritual .section-eyebrow {
  color: var(--lavender);
}

.ritual .section-title {
  color: var(--cream);
  font-style: italic;
}

.ritual-steps {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  position: relative;
}

.ritual-connect {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--holo);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--cream);
  margin-bottom: 16px;
  background: var(--cobalt);
  display: inline-block;
  padding-right: 16px;
}

.step-desc {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 247, 232, 0.8);
}

/* =========================================================
   OFFER (PRICING)
   ========================================================= */
.offer {
  position: relative;
  z-index: 3;
  padding: 120px 32px;
  background: var(--light);
}

.pricing-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 40px;
  flex: 1;
  max-width: 380px;
  box-shadow: 0 24px 60px rgba(30, 91, 255, 0.08);
  transition: all 0.4s var(--ease-cinematic);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(30, 91, 255, 0.16);
}

.card.highlight {
  position: relative;
  overflow: hidden;
  padding: 2px;
  background: transparent;
  transform: scale(1.05);
}

.card.highlight::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, var(--lavender), var(--pink), var(--aqua), var(--cream), var(--lavender));
  animation: rotateBorder 8s linear infinite;
  z-index: -1;
}

@keyframes rotateBorder {
  100% {
    transform: rotate(360deg);
  }
}

.card-inner {
  background: #FFF;
  border-radius: 22px;
  padding: 38px;
  height: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.card.highlight:hover {
  transform: scale(1.05) translateY(-8px);
}

.card-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--cobalt);
  color: #fff;
  font-weight: 600;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 20px;
  z-index: 2;
}

.card-icon {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  height: 24px;
  align-items: center;
}

.cluster-1 {
  width: 8px;
}

.cluster-3 {
  width: 24px;
  flex-wrap: wrap;
}

.cluster-6 {
  width: 36px;
  flex-wrap: wrap;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.card-title {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--cobalt-deep);
  margin-bottom: 16px;
}

.card-original {
  font-size: 16px;
  color: rgba(10, 46, 158, 0.5);
  text-decoration: line-through;
  margin-bottom: 8px;
}

.card-sale {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--cobalt-deep);
  margin-bottom: 4px;
  line-height: 1;
}

.card-micro {
  font-weight: 500;
  font-size: 13px;
  color: var(--cobalt);
  margin-bottom: 32px;
}

.card-perks {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.card-perks li {
  font-size: 14px;
  color: var(--cobalt-deep);
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.perk-star {
  color: var(--lavender);
  font-size: 12px;
  margin-top: 2px;
}

.btn-card {
  background: var(--cobalt);
  color: #fff;
  width: 100%;
  height: 52px;
  border-radius: 26px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-card:hover {
  background: var(--cobalt-deep);
}

/* =========================================================
   REVIEWS MARQUEE
   ========================================================= */
.reviews {
  position: relative;
  z-index: 3;
  background: var(--cobalt-deep);
  color: var(--cream);
  padding: 80px 0;
  overflow: hidden;
}

.marquee-wrapper {
  display: flex;
  width: max-content;
}

.marquee {
  display: flex;
  align-items: center;
  animation: scrollMarquee 40s linear infinite;
  width: max-content;
}

.marquee-wrapper:hover .marquee {
  animation-play-state: paused;
}

.review-item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  padding: 0 40px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 40px;
}

.review-star {
  font-size: 20px;
  font-style: normal;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  position: relative;
  z-index: 3;
  padding: 120px 32px;
  max-width: 1440px;
  margin: 0 auto;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(10, 46, 158, 0.1);
}

.faq-header {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 18px;
  color: var(--cobalt-deep);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform 0.4s var(--ease-cinematic);
  color: var(--cobalt);
  font-weight: 300;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  overflow: hidden;
  height: 0;
  transition: height 0.4s var(--ease-cinematic);
}

.faq-inner {
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(10, 46, 158, 0.7);
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  position: relative;
  z-index: 3;
  background: var(--cobalt);
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.final-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vh;
  height: 60vh;
  border-radius: 50%;
  background: var(--holo);
  filter: blur(120px);
  opacity: 0.4;
  animation: rotateOrb 60s linear infinite;
  pointer-events: none;
}

@keyframes rotateOrb {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.final-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.final-title {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--cream);
  margin-bottom: 16px;
}

.final-subtitle {
  font-size: 16px;
  color: rgba(255, 247, 232, 0.8);
  margin-bottom: 40px;
}

.btn-huge {
  background: #FFF;
  color: var(--cobalt-deep);
  font-weight: 600;
  font-size: 16px;
  height: 64px;
  padding: 0 48px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.4s var(--ease-cinematic);
}

.btn-huge:hover {
  transform: scale(1.03);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  z-index: 3;
  background: var(--cobalt-deep);
  color: var(--cream);
  padding: 80px 32px 32px;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 80px;
}

.footer-logo {
  font-size: 24px;
  margin-bottom: 8px;
}

.footer-credits {
  font-size: 13px;
  color: rgba(255, 247, 232, 0.6);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col.center {
  align-items: center;
}

.footer-col.right {
  align-items: flex-end;
}

.footer a {
  color: var(--cream);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer a:hover {
  opacity: 1;
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 32px;
  font-size: 12px;
  color: rgba(255, 247, 232, 0.6);
  text-align: center;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--holo);
  opacity: 0.5;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */
@media (max-width: 1024px) {
  .pricing-wrapper {
    flex-direction: column;
  }

  .card,
  .card.highlight {
    width: 100%;
    max-width: 400px;
    transform: scale(1);
  }

  .card.highlight:hover {
    transform: translateY(-8px);
  }

  .ritual-connect {
    display: none;
  }

  .ritual-steps {
    flex-direction: column;
    gap: 64px;
  }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */
@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  /* HERO MOBILE — alinhamento à esquerda, padding de 24px, tipografia ajustada */
  .hero-eyebrow {
    top: 96px;
    left: 24px;
    font-size: 10px;
  }

  .hero-bottom-content {
    bottom: 15%;
    left: 24px;
    right: 24px;
    max-width: none;
    text-align: left;
  }

  .hero-title {
    font-size: clamp(2.25rem, 9vw, 3.5rem);
    line-height: 1;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 28px;
    max-width: 320px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .hero-actions .btn-primary-solid {
    width: 100%;
    justify-content: center;
    height: 52px;
  }

  .hero-actions .btn-text-white {
    align-self: flex-start;
    padding-left: 4px;
  }

  /* Demais seções */
  .highlights {
    padding: 80px 16px;
  }

  .grid-container {
    grid-template-columns: 1fr;
    border-left: none;
    border-top: none;
  }

  .grid-cell {
    border-left: none;
    border-right: none;
    padding: 48px 0;
  }

  .grid-cell:first-child {
    border-top: 1px solid rgba(10, 46, 158, 0.12);
  }

  .ritual,
  .offer,
  .faq {
    padding: 80px 16px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-col.center,
  .footer-col.right {
    align-items: center;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {

  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .card.highlight::before,
  .final-orb,
  .holo-bg,
  .holo-text-inline,
  .scroll-dot {
    animation: none !important;
  }
}