/* ================================
   VARIABLES & RESET
   ================================ */
:root {
  --bg:       #0c0810;
  --bg2:      #130d18;
  --bg3:      #1a1022;
  --gold:     #c9a96e;
  --gold-lt:  #e8c98a;
  --rose:     #e8748a;
  --rose-lt:  #f5a5b4;
  --cream:    #f5e6d3;
  --cream-dim:#c8b5a0;
  --border:   rgba(201, 169, 110, 0.22);
  --panel:    rgba(255, 255, 255, 0.045);
  --radius:   20px;
  --font-s:   'Playfair Display', Georgia, serif;
  --font-b:   'Montserrat', 'Segoe UI', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { 
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-b);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

/* ================================
   CANVAS PETALS
   ================================ */
#petalsCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ================================
   NAV DOTS
   ================================ */
.dots-nav {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.25);
  border: 1px solid rgba(201, 169, 110, 0.5);
  cursor: pointer;
  transition: background 300ms, box-shadow 300ms;
}

.dot.active {
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

/* ================================
   LAYOUT
   ================================ */
.container {
  width: min(960px, 90vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.s-pad {
  padding: 8rem 0;
  position: relative;
}

/* ================================
   TYPOGRAPHY UTILS
   ================================ */
.label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}

.s-title {
  font-family: var(--font-s);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 3rem;
  line-height: 1.2;
}

/* ================================
   HERO
   ================================ */
.full-screen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.full-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232, 116, 138, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(201, 169, 110, 0.08) 0%, transparent 55%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.hero-title {
  font-family: var(--font-s);
  font-size: clamp(4.5rem, 14vw, 10rem);
  font-weight: 400;
  line-height: 0.9;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.amp {
  display: block;
  font-style: italic;
  font-size: 0.5em;
  color: var(--rose);
  line-height: 1.6;
}

.hero-sub {
  margin-top: 2rem;
  color: var(--cream-dim);
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-date {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  opacity: 0.75;
  display: block;
}

.scroll-cue {
  display: block;
  width: 30px;
  height: 50px;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 15px;
  margin: 2.8rem auto 0;
  text-decoration: none;
  position: relative;
}

.scroll-cue span {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  animation: scrollDot 2s ease infinite;
}

@keyframes scrollDot {
  0%   { top: 8px;  opacity: 1; }
  100% { top: 28px; opacity: 0; }
}

/* Hero entrance */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.9s forwards;
}
.d1 { animation-delay: 0.3s; }
.d2 { animation-delay: 0.6s; }
.d3 { animation-delay: 0.9s; }
.d4 { animation-delay: 1.1s; }
.d5 { animation-delay: 1.4s; }

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* ================================
   COUNTER
   ================================ */
#counter {
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(201, 169, 110, 0.04), transparent);
}

.cnt-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin: 1.6rem 0;
}

.cnt-unit { text-align: center; }

.cnt-unit span {
  display: block;
  font-family: var(--font-s);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 40px rgba(201, 169, 110, 0.4);
}

.cnt-unit small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 0.4rem;
}

.cnt-sep {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.32;
  padding-top: 0.1rem;
}

.cnt-sub {
  color: var(--cream-dim);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ================================
   INFOGRÁFICO
   ================================ */
#carta { text-align: center; }

.infographic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.5rem 1.8rem;
  text-align: center;
  transition: all 350ms ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(232, 116, 138, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 350ms ease;
}

@media (hover: hover) {
  .stat-card:hover {
    transform: translateY(-6px);
    border-color: var(--rose);
    box-shadow: 
      0 20px 50px rgba(232, 116, 138, 0.15),
      0 0 60px rgba(232, 116, 138, 0.08);
  }

  .stat-card:hover::before {
    opacity: 1;
  }
}

.stat-number {
  font-family: var(--font-s);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 40px rgba(201, 169, 110, 0.3);
  position: relative;
}

.stat-label {
  font-family: var(--font-b);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.stat-desc {
  font-size: 0.88rem;
  color: var(--cream-dim);
  line-height: 1.6;
  font-style: italic;
}

.stat-infinity {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(232, 116, 138, 0.12), rgba(201, 169, 110, 0.08));
  border-color: var(--rose);
  padding: 3rem 2rem;
}

.stat-infinity .stat-number {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--rose);
  text-shadow: 0 0 60px rgba(232, 116, 138, 0.5);
}

.stat-infinity .stat-label {
  font-size: 1.4rem;
  color: var(--rose-lt);
}

.stat-infinity .stat-desc {
  font-size: 1rem;
  color: var(--cream);
  margin-top: 0.8rem;
}

/* ================================
   TIMELINE
   ================================ */
#timeline {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(13, 9, 17, 0.85) 20%,
    rgba(13, 9, 17, 0.85) 80%,
    transparent
  );
}

.tl {
  list-style: none;
  padding: 0;
  position: relative;
}

.tl::before {
  content: '';
  position: absolute;
  left: 1.15rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--gold) 10%,
    var(--gold) 90%,
    transparent
  );
  opacity: 0.35;
}

.tl-item {
  display: flex;
  gap: 1.8rem;
  margin-bottom: 2.8rem;
  padding-left: 3.2rem;
  position: relative;
  align-items: flex-start;
}

.tl-item:last-child { margin-bottom: 0; }

.tl-icon {
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.4rem;
  line-height: 1;
  background: var(--bg2);
  padding: 2px 4px;
}

.tl-body {
  flex: 1;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  transition: border-color 300ms, box-shadow 300ms;
}

.tl-body:hover {
  border-color: rgba(232, 116, 138, 0.25);
  box-shadow: 0 8px 30px rgba(232, 116, 138, 0.07);
}

.tl-body h3 {
  font-family: var(--font-s);
  font-size: 1.18rem;
  font-weight: 400;
  color: var(--rose-lt);
  margin-bottom: 0.5rem;
}

.tl-body p {
  color: var(--cream-dim);
  font-size: 0.96rem;
  margin: 0;
}

.tl-body strong { color: var(--gold); font-weight: 600; }

/* ================================
   MOTIVOS
   ================================ */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1rem;
}

.reason {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform 250ms, border-color 250ms, box-shadow 250ms;
}

.reason::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(232, 116, 138, 0.05), transparent 70%);
}

.reason:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.rnum {
  display: block;
  font-family: var(--font-s);
  font-size: 2.4rem;
  color: var(--rose);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.6rem;
  font-style: italic;
}

.reason p {
  color: var(--cream-dim);
  font-size: 0.95rem;
  position: relative;
}

/* ================================
   MEMÓRIAS
   ================================ */
.mem-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.mem-tab {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--cream-dim);
  font-family: var(--font-b);
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: all 220ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.mem-tab:hover,
.mem-tab.active {
  background: linear-gradient(120deg, rgba(232, 116, 138, 0.18), rgba(201, 169, 110, 0.13));
  border-color: var(--rose);
  color: var(--cream);
}

.mem-tab:active {
  transform: scale(0.97);
}

.mem-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  min-height: 130px;
  transition: opacity 260ms ease, transform 260ms ease;
}

.mem-panel h3 {
  font-family: var(--font-s);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--rose-lt);
  margin-bottom: 0.8rem;
}

.mem-panel p {
  color: var(--cream-dim);
  line-height: 1.75;
  margin: 0;
}

/* ================================
   QUIZ
   ================================ */
.quiz-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.q-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}

.q-text {
  font-family: var(--font-s);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1.6rem;
  line-height: 1.4;
}

.q-opts {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.q-opts button {
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  color: var(--cream-dim);
  font-family: var(--font-b);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 200ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.q-opts button:hover:not(:disabled) {
  background: rgba(232, 116, 138, 0.1);
  border-color: var(--rose);
  color: var(--cream);
}

.q-opts button:active:not(:disabled) {
  transform: scale(0.98);
}

.q-opts button.correct {
  background: rgba(100, 200, 140, 0.12);
  border-color: #64c88c;
  color: #a8e8c0;
}

.q-opts button.wrong {
  background: rgba(232, 116, 138, 0.1);
  border-color: var(--rose);
  color: var(--rose-lt);
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold), #b8883e);
  color: var(--bg);
  border: 0;
  border-radius: 12px;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(201, 169, 110, 0.3);
  transition: transform 200ms, box-shadow 200ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(201, 169, 110, 0.45);
}

.btn-gold:active {
  transform: translateY(0);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.35);
}

/* ================================
   FOOTER
   ================================ */
.footer {
  padding: 7rem 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--gold));
  opacity: 0.35;
}

.ft-big {
  font-family: var(--font-s);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  color: var(--cream);
  line-height: 1.3;
}

.ft-italic {
  font-style: italic;
  color: var(--rose-lt);
}

.ft-sig {
  margin-top: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
}

/* ================================
   SCROLL REVEAL
   ================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ================================
   RESPONSIVE
   ================================ */

/* Tablets e telas médias */
@media (max-width: 860px) {
  .container {
    width: min(760px, 92vw);
  }
  
  .s-pad {
    padding: 6rem 0;
  }
  
  .hero-title {
    font-size: clamp(3.5rem, 12vw, 8rem);
  }
  
  .cnt-grid {
    gap: 2rem 1.5rem;
  }
  
  .cnt-unit span {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
  }
  
  .infographic {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
  }
  
  .stat-number {
    font-size: clamp(3rem, 7vw, 5rem);
  }
  
  .mem-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .mem-tab {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* Mobile landscape e small tablets */
@media (max-width: 640px) {
  .dots-nav { 
    display: none; 
  }
  
  .container {
    width: 94vw;
  }
  
  .s-pad { 
    padding: 5rem 0; 
  }
  
  .s-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 2rem;
  }
  
  .hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
  }
  
  .hero-sub {
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    max-width: 100%;
  }
  
  .cnt-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
  
  .cnt-sep { 
    display: none; 
  }
  
  .cnt-unit span {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  
  .cnt-unit small {
    font-size: 0.62rem;
  }
  
  .infographic {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-card {
    padding: 2rem 1.5rem;
  }
  
  .stat-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
  
  .stat-label {
    font-size: 1rem;
  }
  
  .stat-desc {
    font-size: 0.85rem;
  }
  
  .stat-infinity {
    padding: 2.5rem 1.5rem;
  }
  
  .stat-infinity .stat-number {
    font-size: clamp(3rem, 8vw, 5rem);
  }
  
  .stat-infinity .stat-label {
    font-size: 1.2rem;
  }
  
  .tl::before { 
    left: 0.6rem; 
  }
  
  .tl-item { 
    padding-left: 2.4rem; 
  }
  
  .tl-icon { 
    left: -0.3rem; 
    font-size: 1.1rem; 
  }
  
  .tl-date {
    font-size: 0.7rem;
  }
  
  .tl-title {
    font-size: 1.3rem;
  }
  
  .tl-text {
    font-size: 0.9rem;
  }
  
  .reasons { 
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .reason-card {
    padding: 1.8rem 1.2rem;
  }
  
  .reason-card h3 {
    font-size: 1.3rem;
  }
  
  .reason-card p {
    font-size: 0.88rem;
  }
  
  .mem-tabs {
    gap: 0.4rem;
  }
  
  .mem-tab {
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }
  
  .mem-content {
    padding: 1.8rem 1.2rem;
  }
  
  .mem-title {
    font-size: 1.4rem;
  }
  
  .mem-text {
    font-size: 0.92rem;
  }
  
  .quiz-card { 
    padding: 1.5rem 1.2rem; 
  }
  
  .q-text {
    font-size: 1.1rem;
  }
  
  .qbtn {
    padding: 0.8rem 1.2rem;
    font-size: 0.88rem;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .s-pad {
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 9vw, 5rem);
  }
  
  .amp {
    font-size: 0.6em;
  }
  
  .hero-eyebrow {
    font-size: 0.7rem;
  }
  
  .hero-date {
    font-size: 0.72rem;
  }
  
  .cnt-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .cnt-unit span {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }
  
  .stat-card {
    padding: 1.8rem 1.2rem;
  }
  
  .reasons { 
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .mem-tabs {
    flex-direction: column;
  }
  
  .mem-tab {
    width: 100%;
    text-align: center;
  }
  
  .quiz-card {
    padding: 1.3rem 1rem;
  }
}

/* Mobile muito pequeno */
@media (max-width: 360px) {
  .container {
    width: 96vw;
  }
  
  .s-pad {
    padding: 3.5rem 0;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
  }
  
  .hero-sub {
    font-size: 0.88rem;
  }
  
  .stat-card {
    padding: 1.5rem 1rem;
  }
  
  .stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .stat-label {
    font-size: 0.95rem;
  }
  
  .stat-desc {
    font-size: 0.8rem;
  }
  
  .reason-card {
    padding: 1.5rem 1rem;
  }
  
  .mem-content {
    padding: 1.5rem 1rem;
  }
  
  .quiz-card {
    padding: 1.2rem 0.9rem;
  }
  
  .qbtn {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
}

