@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Lato:wght@300;400;700;900&display=swap');

:root {
  --background: hsl(216, 75%, 32%);
  --foreground: hsl(0, 0%, 98%);
  --card: hsl(216, 70%, 28%);
  --card-foreground: hsl(0, 0%, 98%);
  --primary: hsl(38, 93%, 54%);
  --primary-foreground: hsl(216, 75%, 32%);
  --secondary: hsl(210, 100%, 39%);
  --muted: hsl(216, 65%, 35%);
  --muted-foreground: hsl(210, 20%, 75%);
  --accent: hsl(195, 100%, 44%);
  --gold: hsl(38, 93%, 54%);
  --gold-light: hsl(40, 95%, 65%);
  --gold-dark: hsl(36, 80%, 42%);
  --border-gold: hsla(38, 93%, 54%, 0.3);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.text-center { text-align: center; }

.section-padding { padding: 5rem 1rem; }

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.bg-gradient-dark { background: linear-gradient(180deg, hsl(216, 75%, 28%), hsl(216, 75%, 35%)); }
.bg-gradient-royal { background: linear-gradient(180deg, hsl(216, 75%, 32%), hsl(210, 100%, 39%)); }

.gold-divider {
  width: 5rem; height: 2px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  margin: 0 auto 2rem;
}

/* ===== Animations ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity 0.7s ease; }
.fade-in.visible { opacity: 1; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, hsla(216,75%,32%,0.85), hsla(216,75%,32%,0.65), var(--background));
}
.hero-content { position: relative; z-index: 10; text-align: center; max-width: 64rem; padding: 0 1rem; }
.hero-content .subtitle {
  color: var(--primary); font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.875rem; margin-bottom: 1.5rem;
}
.hero-content .logo-img { margin: 0 auto 2rem; width: 18rem; }
.hero-content .tagline {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.25rem; color: hsla(0,0%,98%,0.8); margin-bottom: 1rem;
}
.hero-content .description { color: var(--muted-foreground); font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 48rem; margin-left: auto; margin-right: auto; }
.hero-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-bottom: 3rem; color: hsla(0,0%,98%,0.9); }
.hero-info div { display: flex; align-items: center; gap: 0.5rem; }
.hero-info .emoji { font-size: 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--primary-foreground); font-family: var(--font-body); font-weight: 700;
  padding: 1rem 2rem; border-radius: 0.5rem; font-size: 1.125rem;
  border: none; cursor: pointer; transition: opacity 0.3s;
}
.btn-gold:hover { opacity: 0.9; }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--border-gold); color: var(--foreground);
  font-family: var(--font-body); font-weight: 700;
  padding: 1rem 2rem; border-radius: 0.5rem; font-size: 1.125rem;
  background: transparent; cursor: pointer; transition: background 0.3s;
}
.btn-outline:hover { background: hsla(38,93%,54%,0.1); }

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 1.5rem; height: 2.5rem; border: 2px solid hsla(38,93%,54%,0.4); border-radius: 9999px;
  display: flex; justify-content: center; padding-top: 0.5rem;
}
.scroll-indicator .dot {
  width: 6px; height: 6px; background: var(--primary); border-radius: 50%;
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ===== ABOUT ===== */
.about p { color: hsla(0,0%,98%,0.8); font-size: 1.125rem; line-height: 1.8; max-width: 48rem; margin: 0 auto; }
.about .highlight { color: var(--primary); font-family: var(--font-display); font-style: italic; font-size: 1.25rem; margin-top: 2rem; }

/* ===== NUMBERS ===== */
.numbers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 64rem; margin: 0 auto; }
.stat-card {
  background: var(--card); border: 1px solid var(--border-gold); border-radius: 0.75rem;
  padding: 1.5rem; text-align: center; transition: border-color 0.3s;
}
.stat-card:hover { border-color: var(--primary); }
.stat-card .icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.stat-card .value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; }
.stat-card .label { color: var(--muted-foreground); font-size: 0.875rem; }

/* ===== ENTITIES ===== */
.entities-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.entity-card {
  display: flex; align-items: center; gap: 0.75rem;
  background: hsla(216,70%,28%,0.5); border: 1px solid hsla(38,93%,54%,0.1);
  border-radius: 0.5rem; padding: 1rem; transition: border-color 0.3s;
}
.entity-card:hover { border-color: hsla(38,93%,54%,0.3); }
.entity-card .marker { color: var(--primary); font-size: 1.125rem; }
.entity-card span:last-child { color: hsla(0,0%,98%,0.9); font-size: 0.875rem; }
.entities-total { text-align: center; margin-top: 2.5rem; font-family: var(--font-display); font-size: 1.25rem; color: var(--primary); font-style: italic; }

/* ===== REALIZAÇÃO ===== */
.realizacao-box {
  background: #fff; border-radius: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  padding: 2.5rem 4rem; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 3rem; max-width: 56rem; margin: 0 auto;
}
.realizacao-box img { height: 10rem; width: auto; object-fit: contain; max-width: 40%; }

/* ===== ORGANIZAÇÃO ===== */
.organizacao-box {
  background: #fff; border-radius: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  padding: 2.5rem 4rem; display: flex; align-items: center;
  justify-content: center; max-width: 40rem; margin: 0 auto;
}
.organizacao-box img { height: 10rem; width: auto; object-fit: contain; }

/* ===== PATROCINADORES ===== */
.sponsor-tier { margin-bottom: 3rem; }
.sponsor-tier-header {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.5rem;
}
.sponsor-tier-header .medal { font-size: 2.5rem; }
.sponsor-tier-header h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: hsla(0,0%,98%,0.95);
}
.sponsor-logos {
  background: #ffffff; border: 1px solid hsla(38,93%,54%,0.15);
  border-radius: 1rem; padding: 2rem 3rem; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: 2rem;
}
.sponsor-logos img { height: 5rem; width: auto; object-fit: contain; }
.sponsor-empty {
  background: hsla(0,0%,100%,0.05); border: 1px dashed hsla(38,93%,54%,0.2);
  border-radius: 1rem; padding: 2rem 3rem; text-align: center;
}
.sponsor-empty p { color: var(--muted-foreground); font-family: var(--font-body); font-style: italic; }

/* ===== WHY SUPPORT ===== */
.reasons-grid { display: grid; gap: 2rem; max-width: 64rem; margin: 0 auto; }
.reason-card {
  background: var(--card); border: 1px solid hsla(38,93%,54%,0.15); border-radius: 1rem;
  padding: 2rem; text-align: center; transition: all 0.3s;
}
.reason-card:hover { border-color: hsla(38,93%,54%,0.4); transform: translateY(-4px); }
.reason-card .icon-circle {
  width: 4rem; height: 4rem; background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
}
.reason-card .icon-circle svg { width: 1.75rem; height: 1.75rem; color: var(--primary-foreground); }
.reason-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.reason-card p { color: var(--muted-foreground); line-height: 1.7; }

/* ===== SPONSORSHIP ===== */
.tiers-grid { display: grid; gap: 2rem; max-width: 72rem; margin: 0 auto; align-items: start; }
.tier-card {
  background: var(--card); border: 1px solid hsla(38,93%,54%,0.15); border-radius: 1rem;
  padding: 2rem; position: relative;
}
.tier-card.featured {
  background: linear-gradient(to bottom, hsla(38,93%,54%,0.15), var(--card));
  border: 2px solid hsla(38,93%,54%,0.4);
}
.tier-badge {
  position: absolute; top: -1rem; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--primary-foreground); font-family: var(--font-body); font-weight: 700;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.375rem 1rem; border-radius: 9999px;
}
.tier-card .medal { font-size: 3rem; text-align: center; }
.tier-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; text-align: center; margin-top: 1rem; }
.tier-card .price { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: var(--primary); text-align: center; margin-top: 0.5rem; }
.tier-card ul { list-style: none; margin: 1.5rem 0 2rem; }
.tier-card ul li { display: flex; align-items: flex-start; gap: 0.5rem; color: hsla(0,0%,98%,0.8); font-size: 0.875rem; margin-bottom: 0.75rem; }
.tier-card ul li .check { color: var(--primary); margin-top: 2px; }
.tier-card .btn-tier { display: block; width: 100%; text-align: center; font-weight: 700; padding: 0.75rem; border-radius: 0.5rem; cursor: pointer; transition: all 0.3s; }
.tier-card.featured .btn-tier { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--primary-foreground); border: none; }
.tier-card:not(.featured) .btn-tier { background: transparent; border: 1px solid hsla(38,93%,54%,0.4); color: var(--primary); }
.tier-card .btn-tier:hover { opacity: 0.9; }

/* ===== IMPACT QUOTE ===== */
.impact blockquote {
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: 1.875rem; line-height: 1.3; margin-bottom: 2rem;
}
.impact p { color: hsla(0,0%,98%,0.7); font-size: 1.125rem; max-width: 42rem; margin: 0 auto; }

/* ===== GALLERY ===== */
.gallery-slider { position: relative; overflow: hidden; }
.gallery-track { display: flex; gap: 1rem; transition: transform 0.5s ease; }
.gallery-track img {
  width: 100%; height: 13rem; object-fit: cover; border-radius: 0.75rem;
  border: 1px solid hsla(38,93%,54%,0.1); flex: 0 0 85%;
}
.gallery-nav { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.gallery-nav button {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--card); border: 1px solid hsla(38,93%,54%,0.2);
  color: var(--foreground); cursor: pointer; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center; transition: background 0.3s;
}
.gallery-nav button:hover { background: hsla(38,93%,54%,0.1); }

/* ===== CONTACT ===== */
.contact-card {
  background: var(--card); border: 1px solid hsla(38,93%,54%,0.15); border-radius: 1rem;
  padding: 2rem; max-width: 36rem; margin: 0 auto; text-align: center;
}
.contact-card .name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-card .role { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.contact-card .info { display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: hsla(0,0%,98%,0.8); margin-bottom: 0.5rem; }
.contact-card .info svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.contact-card .btn-gold { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.75rem; }

/* ===== FOOTER ===== */
footer { border-top: 1px solid hsla(38,93%,54%,0.1); padding: 2.5rem 1rem; text-align: center; }
footer .brand { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
footer .details { color: var(--muted-foreground); font-size: 0.875rem; margin-bottom: 0.25rem; }
footer .socials { display: flex; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
footer .socials a { color: var(--muted-foreground); transition: color 0.3s; }
footer .socials a:hover { color: var(--primary); }
footer .socials svg { width: 1.375rem; height: 1.375rem; }
footer .copy { color: hsla(210,20%,75%,0.6); font-size: 0.75rem; margin-top: 1.5rem; }

/* ===== WHATSAPP ===== */
.whatsapp-btn {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  width: 3.5rem; height: 3.5rem; background: #25D366; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); transition: transform 0.3s;
}
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn svg { width: 1.75rem; height: 1.75rem; }

/* ===== MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.6); align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--card); border: 1px solid hsla(38,93%,54%,0.2);
  border-radius: 1rem; padding: 2rem; width: 90%; max-width: 28rem;
}
.modal h3 { font-family: var(--font-display); font-size: 1.5rem; text-align: center; margin-bottom: 1.5rem; }
.modal label { display: block; color: hsla(0,0%,98%,0.9); font-size: 0.875rem; margin-bottom: 0.5rem; }
.modal input, .modal textarea {
  width: 100%; background: hsla(216,75%,32%,0.5); border: 1px solid hsla(38,93%,54%,0.2);
  border-radius: 0.5rem; color: var(--foreground); padding: 0.75rem; font-size: 1rem;
  font-family: var(--font-body); margin-bottom: 1rem; outline: none;
}
.modal input:focus, .modal textarea:focus { border-color: var(--primary); }
.modal textarea { min-height: 100px; resize: vertical; }
.modal .btn-gold { width: 100%; text-align: center; }
.modal .close-btn {
  position: absolute; top: 1rem; right: 1rem; background: none; border: none;
  color: var(--muted-foreground); font-size: 1.5rem; cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .entities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-track img { flex: 0 0 calc(50% - 0.5rem); height: 16rem; }
}
@media (min-width: 768px) {
  .hero-content .subtitle { font-size: 1rem; }
  .hero-content .logo-img { width: 28rem; }
  .hero-content .tagline { font-size: 1.5rem; }
  .hero-content .description { font-size: 1.25rem; }
  .numbers-grid { grid-template-columns: repeat(5, 1fr); }
  .reasons-grid { grid-template-columns: repeat(3, 1fr); }
  .tiers-grid { grid-template-columns: repeat(3, 1fr); }
  .tiers-grid .featured { margin-top: -1rem; margin-bottom: -1rem; }
  .impact blockquote { font-size: 3rem; }
  .realizacao-box img { height: 15rem; }
  .organizacao-box img { height: 15rem; }
  .section-padding { padding: 7rem 1rem; }
}
@media (min-width: 1024px) {
  .hero-content .subtitle { font-size: 1.125rem; }
  .hero-content .logo-img { width: 36rem; }
  .hero-content .tagline { font-size: 1.875rem; }
  .entities-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-track img { flex: 0 0 calc(33.333% - 0.667rem); }
  .impact blockquote { font-size: 3.75rem; }
}
@media (min-width: 1280px) {
  .hero-content .logo-img { width: 42rem; }
}
