/* ==========================================================================
   Diego Garcia 4400 — Deputado Federal — Landing Page
   ========================================================================== */

:root {
  --navy: #070b35;
  --navy-dark: #00031a;
  --navy-mid: #0d1455;
  --blue-royal: #101a68;
  --card-blue: #172276;
  --gold: #fdbe10;
  --yellow: #e5c50b;
  --gray-light: #f5f5f5;
  --gray-box: #d7d7d7;
  --gray-muted: #8a8a8a;
  --white: #ffffff;

  --font-display: 'Arial Black', Arial, Helvetica, sans-serif;
  --font: 'Inter', Arial, Helvetica, sans-serif;

  --container: 1160px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#home,
#conheca,
#causas,
#resultados,
#premios,
#campanha,
#curiosidades {
  scroll-margin-top: 68px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 5rem) 1.5rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.section-title .light {
  text-transform: uppercase;
}

.conheca .section-title,
.resultados__head .section-title,
.curiosidades .section-title,
.galeria__title {
  text-transform: uppercase;
}

/* ---------------- Top bar / nav ---------------- */
.topbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0.92;
  transition: opacity .2s;
}

.nav-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.nav-socials {
  list-style: none;
  display: flex;
  gap: 0.7rem;
  flex-shrink: 0;
}

.nav-socials img {
  width: 26px;
  height: 26px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  order: -1;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
/* Figma-accurate composition: the whole scene is authored on a 1920x1359
   canvas, so we pin that aspect ratio and size every element in vw (the hero
   is always full viewport width) — the composition scales fluidly and stays
   in the exact proportions/positions measured from the design at any width. */
.hero {
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
  aspect-ratio: 1920 / 1359;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.hero__content {
  position: absolute;
  left: 10.7%;
  right: 5.5%;
  top: 49.3%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__row {
  display: flex;
  align-items: center;
  gap: 3vw;
  flex-wrap: wrap;
}

.hero__logo {
  width: 45vw;
  max-width: 100%;
  flex-shrink: 0;
}

.hero__number {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--gold);
  font-size: 11.3vw;
  line-height: 0.9;
}

.hero__kicker {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--gold);
  font-size: 6.7vw;
  text-transform: uppercase;
  line-height: 1.05;
  margin-top: 1.8vw;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  color: #fff;
  font-size: 12.6vw;
  text-transform: uppercase;
  line-height: 0.95;
}

.hero__bar {
  height: 0.55vw;
  min-height: 4px;
  background: var(--gold);
  width: 27%;
  margin-top: 1.8cqw;
}

/* ---------------- Intro band: "Sou Diego Garcia" ---------------- */
.intro {
  background: var(--navy-dark);
  color: #fff;
  display: flex;
  justify-content: center;
}

.intro__inner {
  max-width: 1470px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5.5rem) 1.5rem;
}

.intro__video {
  flex: 0 0 320px;
  width: min(320px, 70vw);
  aspect-ratio: 626 / 928;
  border-radius: 1.5rem;
  background: #f4f4f5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  padding: 0;
}

.intro__video-play {
  width: 19.6%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #dcdcdc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}

.intro__video:hover .intro__video-play,
.intro__video:focus-visible .intro__video-play {
  background: #c9c9c9;
}

.intro__video-play svg {
  width: 38%;
  height: 38%;
  margin-left: 8%;
  fill: var(--navy);
}

.intro__text {
  flex: 1 1 480px;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
}

.intro__text p {
  margin-bottom: 1.25rem;
}

.intro__quote {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  margin-top: 0.5rem;
}

/* ---------------- Conheça o Diego ---------------- */
.conheca {
  background: var(--gray-light);
}

.conheca .section-title {
  color: var(--navy);
}

.conheca__rule {
  height: 4px;
  background: var(--yellow);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.conheca__row {
  display: flex;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.conheca__text {
  flex: 1 1 55%;
  font-size: clamp(0.92rem, 1.15vw, 1.1rem);
}

.conheca__text p {
  margin-bottom: 1.1rem;
}

.conheca__photo {
  flex: 0 1 42%;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 320px;
  align-self: stretch;
}

.conheca__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.conheca__cta {
  background: var(--yellow);
  color: var(--navy-mid);
  text-align: center;
  padding: clamp(1.75rem, 4vw, 3rem) 2rem;
}

.conheca__cta p {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  max-width: 1050px;
  margin: 0 auto;
}

/* ---------------- As Causas Que Me Movem ---------------- */
.causas {
  background: var(--blue-royal);
  color: #fff;
}

.causas .section-title .light {
  display: block;
  color: var(--gold);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  margin-bottom: 0.75rem;
}

.causas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.causa-card {
  background: var(--card-blue);
  border-radius: 0.9rem;
  padding: 1.75rem;
}

.causa-card__head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.causa-card__icon {
  width: 3.1rem;
  height: 3.1rem;
  object-fit: contain;
  flex-shrink: 0;
}

.causa-card h3 {
  color: var(--gold);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  text-transform: none;
}

.causa-card p {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.causa-card p:last-child {
  margin-bottom: 0;
}

/* ---------------- Resultados do Bom Combatente ---------------- */
.resultados {
  background: #fff;
}

.resultados__head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.resultados__head .section-title {
  margin-bottom: 0.5rem;
}

.resultados__subtitle {
  font-family: var(--font-display);
  font-weight: 900;
  color: #0616ba;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  text-transform: uppercase;
}

.resultados__highlight {
  background: var(--yellow);
  color: var(--navy);
  text-align: center;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.resultados__highlight p:first-child {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.6vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.resultados__highlight strong {
  font-size: 1.25em;
}

.resultados__highlight small {
  display: block;
  font-size: 0.85rem;
}

.resultados-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.resultado-stat {
  background: var(--gray-box);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 0.5rem;
}

.resultado-stat--wide {
  grid-column: 1 / -1;
}

.resultado-stat img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.resultado-stat__label {
  font-size: 1rem;
  text-transform: uppercase;
}

.resultado-stat__value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}

.resultados-legis {
  background: var(--yellow);
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.resultados-legis__list {
  flex: 1 1 380px;
  padding: clamp(1.75rem, 4vw, 3rem);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  list-style: disc;
  padding-left: clamp(2.5rem, 5vw, 3.5rem);
}

.resultados-legis__list li {
  margin-bottom: 1.1rem;
}

.resultados-legis__list li:last-child {
  margin-bottom: 0;
}

.resultados-legis__photo {
  flex: 1 1 320px;
  min-height: 300px;
}

.resultados-legis__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------- Prêmios que conquistei ---------------- */
.premios {
  background: var(--navy);
  color: #fff;
}

.premios .section-title .light {
  display: block;
  color: var(--gold);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  margin-bottom: 0.75rem;
}

.premios__row {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: flex-start;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.premios__list {
  flex: 1 1 420px;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  list-style: disc;
  padding-left: 1.6rem;
}

.premios__list li {
  margin-bottom: 1.1rem;
}

.premios__list strong {
  color: var(--gold);
}

.premios__photos {
  flex: 1 1 440px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.premios__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.premios__photo-main {
  grid-column: 1 / -1;
  aspect-ratio: 751 / 480;
}

.premios__photo-side {
  aspect-ratio: 366 / 235;
}

.premios__chart-title {
  text-align: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  margin-bottom: 1.5rem;
}

.premios__chart {
  background: #fff;
  border-radius: 0.75rem;
  padding: clamp(1rem, 2vw, 1.75rem);
}

.premios__chart img {
  width: 100%;
  height: auto;
}

/* ---------------- Entre Campanha ---------------- */
.campanha {
  background: var(--navy-mid);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: clamp(480px, 40vw, 700px);
}

.campanha__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) 1.5rem;
  position: relative;
  z-index: 1;
}

.campanha .section-title .light {
  display: block;
  color: var(--gold);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  margin-bottom: 0.75rem;
}

.campanha__text {
  max-width: 620px;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  margin-bottom: 1.75rem;
}

.campanha__number {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--gold);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.campanha__share {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.campanha__contacts-label {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
}

.campanha__rule {
  height: 6px;
  width: 260px;
  background: var(--yellow);
  margin-bottom: 1.5rem;
}

.campanha__socials {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.campanha__socials img {
  width: 44px;
  height: 44px;
}

.campanha__photo {
  position: absolute;
  right: 11%;
  top: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  aspect-ratio: 772 / 1034;
  z-index: 0;
  pointer-events: none;
}

.campanha__photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: bottom;
}

/* ---------------- Curiosidades ---------------- */
.curiosidades {
  background: var(--gray-light);
}

.curiosidades__banner {
  aspect-ratio: 1523 / 793;
  overflow: hidden;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.curiosidades__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curiosidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.curiosidade-card {
  background: var(--gray-box);
  padding: 1.5rem;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.curiosidade-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  text-transform: none;
}

.curiosidade-card p {
  font-size: 0.9rem;
}

.galeria__title {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.galeria__stage {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 1523 / 793;
  background: var(--gray-box);
  margin-bottom: 1.25rem;
}

.galeria__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s ease;
}

.galeria__slide.is-active {
  opacity: 1;
}

.galeria__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galeria__controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.galeria__count {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.3rem;
}

.galeria__track {
  flex: 1;
  height: 6px;
  background: var(--gray-box);
  position: relative;
  overflow: hidden;
}

.galeria__progress {
  position: absolute;
  inset: 0;
  width: 20%;
  background: var(--yellow);
  transition: width .3s ease, left .3s ease;
}

.galeria__nav {
  display: flex;
  gap: 0.75rem;
}

.galeria__nav button {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem;
}

.galeria__nav img {
  width: 100%;
  height: 100%;
}

.galeria__nav .prev img {
  transform: rotate(180deg);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy);
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.site-footer__logo {
  width: min(360px, 80vw);
  margin: 0 auto 2.25rem;
}

.site-footer__socials {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.site-footer__socials img {
  width: 48px;
  height: 48px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .intro__inner,
  .conheca__row,
  .premios__row,
  .galeria {
    flex-direction: column;
  }

  .conheca__photo {
    order: -1;
    width: 100%;
    flex: none;
    min-height: 260px;
  }

  .campanha {
    min-height: 0;
  }

  .campanha__photo {
    position: static;
    width: 100%;
    max-height: none;
    height: auto;
    margin-top: 2rem;
  }

  .campanha__photo img {
    height: auto;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    gap: 0.85rem;
    max-height: 0;
    padding-top: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .35s ease, opacity .25s ease, padding-top .35s ease;
  }

  .nav-links.is-open {
    max-height: 320px;
    padding-top: 1rem;
    opacity: 1;
  }

  .topbar__inner {
    flex-wrap: wrap;
  }

  .causas-grid,
  .resultados-grid,
  .curiosidades-grid {
    grid-template-columns: 1fr;
  }

  .resultado-stat {
    align-items: flex-start;
    text-align: left;
  }

  .premios__photos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section-title {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }
}

/* Animação de entrada dos cards */
.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-toggle span,
  .nav-links,
  .nav-links li,
  .galeria__slide {
    transition: none;
  }
}
