/*
Theme Name: Fortaleza de Cinema
Theme URI: https://fortalezadecinema.com/
Author: Fortaleza de Cinema
Description: Tema construído para o site do festival Fortaleza de Cinema.
Version: 1.0.0
Text Domain: fortaleza-de-cinema
*/

@font-face {
  font-family: "NeulisSans";
  src: url("fonts/NeulisSans-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Pressio";
  src: url("fonts/Pressio.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #10272e;
  --card: #006a94;
  --text: #f2f5f7;
  --muted: #f2b705;
  --accent: #f28705;
  --accent-2: #0389a6;
  --accent-3: #025e73;
  --accent-4: #a1dbf1;
  --danger: #f28705;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  margin-top: 136px;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  opacity: 0;
  transition: opacity 0.45s ease;
}

h1,
h2,
.stat-number,
.cta-button {
  font-family: "Pressio", "NeulisSans", sans-serif;
}

body.is-loaded {
  opacity: 1;
}

.container {
  width: min(92vw, 1200px);
  margin-inline: auto;
}

.container-small {
  width: min(92vw, 900px);
  margin-inline: auto;
}

.hero {
  width: 100%;
  height: calc(100vh - 136px);
  background-image: url("images/bg-yellow.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
	margin-top: 90px;
}

.hero-content {
  max-width: 620px;
  text-align: left;
  background: var(--card);
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.hero-content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--surface);
}

.hero-content p {
  margin: 0;
  color: var(--surface);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.sponsor-showcase {
  height: 300px;
  display: flex;
  align-items: center;
}

.sponsor-logos {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.sponsor-logos img {
  max-height: 64px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.sponsor-logos .logo-caixa {
  max-height: 52px;
}

.sponsor-logos img:hover {
  opacity: 1;
}

.cta-section {
  padding: 0 0 1.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 58px;
  padding: 0.95rem 1.8rem;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--surface);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  max-width: 60%;
  transition:
    background 0.2s ease,
    filter 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cta-button:hover {
  background: #d97800;
  color: var(--surface);
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(242, 135, 5, 0.35);
}

.cta-actions .cta-button:first-child {
  background: #d97800;
  box-shadow: 0 10px 22px rgba(242, 135, 5, 0.28);
}

.cta-actions .cta-button:first-child:hover {
  background: #d97800;
  color: var(--surface);
  filter: brightness(1.05);
}

.cta-actions .cta-button:nth-child(2) {
  border: 2px solid #d97800;
}

.cta-actions .cta-button:nth-child(2):hover {
  border: 2px solid transparent;
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  line-height: 1;
  vertical-align: middle;
}

.cta-icon {
  display: inline-flex;
  margin-left: 0.5rem;
  font-size: 1.1em;
  line-height: 1;
}

.stats-section {
  margin-top: 3rem;
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border-top: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
  min-height: 320px;
  padding: 1.8rem 1.2rem;
}

.stat-card:nth-child(1) {
  background: var(--accent-2);
}

.stat-card:nth-child(2) {
  background: var(--card);
}

.stat-card:nth-child(3) {
  background: var(--muted);
}

.stat-card:nth-child(4) {
  background: var(--accent);
}

.stat-card:nth-child(5) {
  background: var(--muted);
}

.stat-card p {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  color: var(--surface);
  line-height: 1.5;
}

.stat-number {
  color: var(--accent);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 0.95;
}

.stat-card:nth-child(1) .stat-number,
.stat-card:nth-child(2) .stat-number {
  color: var(--muted);
}

.stat-card:nth-child(4) .stat-number,
.stat-card:nth-child(5) .stat-number {
  color: var(--bg);
}

.stat-text {
  font-size: 1.25rem;
}

.stat-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--surface);
}

.stat-list li {
  margin: 0;
}

.stat-card:nth-child(5) p,
.stat-card:nth-child(5) .stat-list,
.stat-card:nth-child(5) .stat-number {
  color: var(--bg);
}

.stat-card:nth-child(3) p,
.stat-card:nth-child(3) .stat-list,
.stat-card:nth-child(3) .stat-number {
  color: var(--bg);
}

.stat-card:nth-child(4) p,
.stat-card:nth-child(4) .stat-list,
.stat-card:nth-child(4) .stat-number {
  color: var(--bg);
}

.awards-section {
  width: 100%;
  min-height: 340px;
  padding: 70px 0;
  display: grid;
  place-items: center;
  background: var(--card);
}

.awards-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.awards-icon {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
}

.awards-label-text,
.awards-subheading {
  margin: 0;
  max-width: 920px;
  margin-inline: auto;
  padding: 0;
  text-align: center;
  color: var(--surface);
}

.awards-label-text {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
}

.awards-subheading {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
}

.awards-highlight {
  color: var(--muted);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--accent-2);
  padding: 15px 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.subheader {
  position: fixed;
  top: 86px;
  left: 0;
  right: 0;
  min-height: 50px;
  background: var(--card);
  z-index: 1000;
}

.subheader .container {
  min-height: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.subheader-social {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.subheader-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  text-decoration: none;
}

.subheader-social a:hover {
  color: var(--muted);
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo img {
  display: block;
  height: 56px;
  width: auto;
}

.language {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

select {
  font: inherit;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  color: var(--text);
  background: var(--card);
  cursor: pointer;
}

.card {
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--card) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
}

.countdown-card {
  margin-top: 0;
  min-height: 55vh;
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: var(--accent);
  color: var(--bg);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown-card .container-small {
  width: min(92vw, 900px);
}

.countdown-card h1 {
  margin-bottom: 1.5rem;
  color: var(--bg);
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
}

.subtitle {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.year-highlight {
  color: var(--muted);
}

.hero .year-highlight {
  color: var(--muted);
}

.timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  gap: 0.8rem;
}

.time-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  border-bottom: 4px solid var(--bg);
  border-radius: 10px;
  padding: 1rem 0.6rem;
}

.time-box span {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--bg);
}

.time-box small {
  color: var(--bg);
  letter-spacing: 0.02em;
}

.message {
  min-height: 1.35rem;
  margin: 1rem 0 0;
  color: var(--surface);
}

.message.success {
  color: var(--bg);
}

.site-footer {
  background: var(--surface);
  color: var(--bg);
  min-height: 400px;
  padding: 3rem 0;
  margin-top: 0;
  margin-bottom: 0;
}

.site-footer .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.site-footer section {
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.site-footer h2 {
  margin: 0;
  font-size: 1.7rem;
  color: var(--bg);
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--card);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.logo-grid img {
  width: 100%;
}

.footer-partner-logo {
  max-width: 220px;
  width: 100%;
  justify-self: start;
  filter: brightness(0) saturate(100%) invert(12%) sepia(13%) saturate(1359%)
    hue-rotate(153deg) brightness(95%) contrast(92%);
  opacity: 0.95;
}

@media (max-width: 520px) {
  .hero {
    height: 500px;
  }

  .hero-content {
    max-width: 100%;
  }

  .sponsor-showcase {
    height: 240px;
  }

  .sponsor-logos {
    flex-direction: column;
    gap: 1.5rem;
  }

  .sponsor-logos img {
    max-height: 40px;
  }

  .cta-actions {
    flex-direction: column;
  }
	
.cta-button {
	max-width: initial;
	}

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 0;
  }

  .awards-section {
    min-height: 220px;
  }

  .language {
    width: 100%;
  }

  select {
    width: 100%;
  }

  .card {
    padding: 1.2rem;
  }

  .timer {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }

  .site-footer .container {
    grid-template-columns: 1fr;
  }
}

/* Scroll Reveal Animations */
@keyframes slideUpReveal {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.scroll-reveal.show {
  animation: slideUpReveal 0.8s ease forwards;
}
