/* ===============================
   1. PALETA DE CORES / FONTES
================================== */
:root {
  /* Fontes padrão do projeto */
  --ff-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-display: "Antonio", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --black: #000;
  --soft-black: rgba(1, 1, 1, 0.2);
  --white: #fff;
  --green: #7ED957;
}

/* ===============================
   2. GLOBAIS / TIPOGRAFIA
================================== */
html,
body {
  font-family: var(--ff-sans);
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
  background: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Títulos globais */
h1,
h2,
h3 {
  font-family: var(--ff-display);
  letter-spacing: 0.2px;
}

/* Utilitárias de fonte */
.font-display {
  font-family: var(--ff-display);
}

.font-sans {
  font-family: var(--ff-sans);
}

.h1-hero {
  font-family: var(--ff-display);
  font-weight: 700; /* Antonio 100..700 */
}

.lead {
  font-family: var(--ff-sans);
  font-weight: 500; /* Montserrat 100..900 */
}

/* ========================================================
   HEADER BASE (COMUM HOME / SITE)
========================================================== */
.header {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: min(1320px, calc(100% - 100px));
  height: 60px;
  border-radius: 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 1000;
  font-size: 14px;
  box-sizing: border-box;
}

/* NAV ESQUERDA (DESKTOP / TABLET) */
.header__left {
  justify-self: start;
  padding-left: clamp(16px, 3vw, 40px);
  display: flex;
  gap: clamp(12px, 2.2vw, 30px);
}

/* LOGO CENTRAL */
.header__center {
  justify-self: center;
}

.header__center .logo {
  display: block;
  height: clamp(22px, 3vw, 28px);
  width: auto;
}

/* CTA DIREITA (DESKTOP / TABLET) */
.header__right {
  justify-self: end;
  padding-right: clamp(16px, 3vw, 40px);
}

.header__right .cta {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 clamp(10px, 2.4vw, 40px);
  background: var(--green);
  color: var(--black);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.header__right .cta:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.header__right .cta:active {
  transform: translateY(0);
  opacity: 0.9;
}

/* BOTÃO HAMBÚRGUER – ESCONDIDO EM DESKTOP/IPAD */
.header__hamburger {
  display: none;
  position: relative;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 4px;
  transition: 0.3s ease;
}

/* ESTADO ATIVO (X) */
.header__hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ========================================================
   HEADER HOME (FUNDO TRANSPARENTE)
========================================================== */
.header--home {
  background: var(--soft-black);
  backdrop-filter: saturate(100%) blur(2px);
  -webkit-backdrop-filter: saturate(100%) blur(2px);
}

/* Links da home */
.header--home .header__left a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.header--home .header__left a.active,
.header--home .header__left a:hover {
  color: var(--green);
  font-weight: 600;
}

/* Cor do hambúrguer na home */
.header--home .header__hamburger span {
  background: #ffffff;
}

/* ========================================================
   HEADER SITE (FUNDO SÓLIDO)
========================================================== */
.header--site {
  background: #000;
}

/* Links das internas */
.header--site .header__left a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.header--site .header__left a.active,
.header--site .header__left a:hover {
  color: var(--green);
  font-weight: 600;
}

.header--site .header__hamburger span {
  background: #ffffff;
}

/* ========================================================
   RESPONSIVIDADE HEADER
========================================================== */

/* Tablet (mantém layout de desktop, só ajusta dimensões) */
@media (max-width: 1024px) {
  .header {
    height: 56px;
    width: min(1320px, calc(100% - 60px));
  }

  .header__right .cta {
    height: 34px;
    padding: 0 24px;
    font-size: 13px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header {
    top: 12px;
    width: min(1320px, calc(100% - 24px));
    height: 54px;
    border-radius: 32px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* HAMBÚRGUER APARECE (ESQUERDA) */
  .header__hamburger {
    display: flex;
    order: 0;
  }

  /* LOGO CENTRAL */
  .header__center {
    order: 1;
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .header__center .logo {
    height: 22px;
  }

  /* CTA À DIREITA (CONTINUA VISÍVEL) */
  .header__right {
    order: 2;
    padding-right: 0;
  }

  .header__right .cta {
    font-size: 12px;
    height: 30px;
    padding: 0 14px;
  }

  /* NAV VIRA DROPDOWN ABAIXO DO HEADER */
  .header__left {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    transform: none;
    margin-top: 0;
    padding: 16px 50px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    flex-direction: column;
    gap: 12px;
    width: auto;
    max-width: calc(100% - 40px);
  }

  .header--home .header__left {
    background: rgba(0, 0, 0, 0.25);
  }

  .header--site .header__left {
    background: #000;
  }

  .header__left a {
    font-size: 16px;
  }

  /* estado aberto (classe aplicada pelo JS: .is-open) */
  .header__left.is-open {
    display: flex;
  }
}


/* ========================================================
   4. FOOTER - HOME (LANDING: .footer-main)
========================================================== */

/* Wrapper de fundo */
.footer-wrapper {
  width: 100%;
  background: #f2f2f2;
}

/* FOOTER PRINCIPAL */
.footer-main {
  width: 100%;
  border-top-left-radius: clamp(80px, 12vw, 100px);
  border-top-right-radius: clamp(80px, 12vw, 100px);
  background: #000000;
  color: #ffffff;
  font-family: var(--ff-sans);
}

/* BLOCO SUPERIOR */
.footer-main__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 100px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  column-gap: 80px;
  align-items: flex-start;
  box-sizing: border-box;
}

.footer-main__col {
  min-width: 0;
}

.footer-main__col--brand {
  max-width: 360px;
}

/* LOGO / TAGLINE */
.footer-main__logo {
  font-family: var(--ff-sans);
  font-size: 64px;
  font-weight: 800;
  color: #7ed957;
  margin-bottom: 20px;
}

.footer-main__logo span {
  color: #ffffff;
}

.footer-main__tagline {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
  margin: 0 0 40px;
}

/* REDES SOCIAIS */
.footer-main__social {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.footer-main__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ícones no tamanho original */
.footer-main__social-link img {
  display: block;
}

/* COLUNAS DE LINKS */
.footer-main__heading {
  font-family: var(--ff-display);
  font-size: 26px;
  text-transform: uppercase;
  color: #7ed957;
  margin: 20px 0 20px;
}

.footer-main__list {
  list-style: none;
    color: #ffffff;
  padding: 0;
  margin: 0;
}

.footer-main__list li + li {
  margin-top: 20px;
}

.footer-main__list a {
  font-size: 14px;
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-main__list a:hover {
  color: #7ed957;
}

/* BARRA INFERIOR */
.footer-main__bottom {
  border-top: 1px solid #161616;
  padding: 30px 24px;
  text-align: center;
}

.footer-main__copy {
  max-width: 1440px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: #f5f5f5;
}

.footer-main__rights a {
  color: #7ed957;
  text-decoration: none;
}

.footer-main__rights a:hover {
  text-decoration: underline;
}

/* RESPONSIVO FOOTER HOME */
/* Tablet mantém layout de desktop – não há quebra específica para 1024px */

@media (max-width: 768px) {
  .footer-main__inner {
    padding: 40px 24px 24px;
    grid-template-columns: 1fr;
    row-gap: 32px;
    text-align: center;
    justify-items: center;
  }

  .footer-main__col,
  .footer-main__col--brand {
    max-width: 100%;
  }

  .footer-main__logo {
    font-size: 40px;
  }

  .footer-main__social {
    justify-content: center;
  }

  .footer-main__heading {
    text-align: center;
  }

  .footer-main__list {
    text-align: center;
  }

  .footer-main__bottom {
    padding: 16px 16px 24px;
  }
}

/* ========================================================
   5. FOOTER - SITE (PÁGINAS INTERNAS: .footer-site)
========================================================== */

/* WRAPPER */
.footer-site-wrapper {
  width: 100%;
  background: #1e1e1e;
}

/* FOOTER */
.footer-site {
  width: 100%;
  border-top-left-radius: clamp(80px, 12vw, 100px);
  border-top-right-radius: clamp(80px, 12vw, 100px);
  background: #ffffff;
  color: #000000;
  font-family: var(--ff-sans);
}

/* GRID */
.footer-site__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 100px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  column-gap: 80px;
  align-items: flex-start;
  box-sizing: border-box;
}

.footer-site__col {
  min-width: 0;
}

.footer-site__col--brand {
  max-width: 360px;
}

/* LOGO */
.footer-site__logo {
  font-family: var(--ff-sans);
  font-size: 64px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 20px;
}

.footer-site__logo span {
  color: #000;
}

/* TAGLINE */
.footer-site__tagline {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
  margin: 0 0 40px;
}

/* SOCIAL */
.footer-site__social {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.footer-site__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ícones no tamanho original */
.footer-site__social-link img {
  display: block;
}

/* HEADINGS */
.footer-site__heading {
  font-family: var(--ff-display);
  font-size: 26px;
  text-transform: uppercase;
  color: var(--green);
  margin: 20px 0 20px;
}

/* LINKS */
.footer-site__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-site__list li + li {
  margin-top: 20px;
}

.footer-site__list a {
  font-size: 14px;
  font-weight: 300;
  color: #000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-site__list a:hover {
  opacity: 0.6;
}

/* BOTTOM LINE */
.footer-site__bottom {
  border-top: 1px solid #e1e1e1;
  padding: 30px 24px;
  text-align: center;
}

.footer-site__copy {
  max-width: 1440px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: #000;
}

.footer-site__rights a {
  color: var(--green);
  text-decoration: none;
}

.footer-site__rights a:hover {
  text-decoration: underline;
}

/* RESPONSIVO FOOTER SITE */
/* Tablet mantém layout de desktop – não há quebra específica para 1024px */

@media (max-width: 768px) {
  .footer-site__inner {
    padding: 40px 24px 24px;
    grid-template-columns: 1fr;
    row-gap: 32px;
    text-align: center;
    justify-items: center;
  }

  .footer-site__col,
  .footer-site__col--brand {
    max-width: 100%;
  }

  .footer-site__logo {
    font-size: 40px;
  }

  .footer-site__social {
    justify-content: center;
  }

  .footer-site__heading {
    text-align: center;
  }

  .footer-site__list {
    text-align: center;
  }

  .footer-site__bottom {
    padding: 16px 16px 24px;
  }
}

/* ============================================
   REVEAL ANIMATION (fade-up suave)
============================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
  will-change: opacity, transform;
}

/* Quando o elemento entra na tela */
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Opcional: variações de atraso para criar efeito em cascata */
[data-reveal-delay="1"] {
  transition-delay: 0.1s;
}
[data-reveal-delay="2"] {
  transition-delay: 0.2s;
}
[data-reveal-delay="3"] {
  transition-delay: 0.3s;
}
[data-reveal-delay="4"] {
  transition-delay: 0.4s;
}
[data-reveal-delay="5"] {
  transition-delay: 0.5s;
}

/* ============================
   REVEAL ANIMATIONS (GLOBAL)
============================ */

:root {
  --reveal-distance: 18px;
  --reveal-duration: 0.6s;
  --reveal-ease: cubic-bezier(0.19, 1, 0.22, 1);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

