/* ================================================
   LAYOUT PRINCIPAL — SEÇÕES
   ================================================ */

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--color-navy);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--ease),
    background var(--ease);
}

.site-header.scrolled {
  background: rgba(29, 34, 94, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s4);
}

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.5px;
}

.logo-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-lilac);
  letter-spacing: 1px;
  opacity: 0.85;
}

/* Nav desktop */
.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--s4);
  margin-left: auto;
}

.nav-desktop a {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--ease);
}

.nav-desktop a:hover {
  color: var(--color-white);
}

.nav-cta {
  display: none;
  margin-left: var(--s2);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 4px;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .hamburger {
    display: none;
  }

  /* No desktop, os carrosséis viram grid — remover margem extra dos primeiros/últimos filhos */
  .reels .carousel-container > *:first-child,
  .reels .carousel-container > *:last-child,
  .news .carousel-container > *:first-child,
  .news .carousel-container > *:last-child {
    margin-left: 0;
    margin-right: 0;
  }
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--ease);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─────────────────────────────────────────────
   DRAWER MOBILE
───────────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--color-navy-dark);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  padding: var(--s5) var(--s5) var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

/* Botão X fechar */
.drawer-close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--ease),
    transform var(--ease);
  flex-shrink: 0;
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.drawer-nav a {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  padding: var(--s2) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color var(--ease);
}

.drawer-nav a:last-child {
  border-bottom: none;
}
.drawer-nav a:hover {
  color: var(--color-white);
}
.drawer-nav .btn {
  margin-top: var(--s4);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
  backdrop-filter: blur(2px);
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: var(--color-navy);
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: flex;
  flex-direction: column-reverse; /* foto acima no mobile */
  gap: var(--s5);
  padding-block: var(--s6) var(--s7);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* centraliza itens (inclusive a tag) no mobile */
  gap: var(--s3);
  text-align: center;
}

.hero-title {
  font-size: var(--font-display);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  justify-content: center;
  margin-top: var(--s1);
}

/* Imagem do hero */
.hero-image {
  display: flex;
  justify-content: center;
}

.hero-img-frame {
  position: relative;
  width: 260px;
  flex-shrink: 0;
}

.hero-img-shape {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 72%;
  height: 72%;
  background: var(--color-lilac);
  border-radius: var(--r-md);
  opacity: 0.22;
  z-index: 0;
}

.hero-img-shape-2 {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-green);
  border-radius: var(--r-sm);
  z-index: 0;
  opacity: 0.5;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--r-lg);
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
}

.hero-number-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  z-index: 2;
  background: var(--color-green);
  color: var(--color-navy);
  padding: 12px 16px;
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: 0 8px 28px rgba(6, 255, 0, 0.35);
  line-height: 1.1;
}

.hero-number-badge span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hero-number-badge strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
}
.hero-number-badge em {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  font-style: normal;
}

/* Faixa decorativa inferior */
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.18);
  padding: 12px 0;
  overflow: hidden;
}

.hero-ticker-inner {
  display: flex;
  animation: ticker-scroll 28s linear infinite;
  width: max-content;
}

.hero-ticker-inner span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  padding-right: 48px;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Desktop hero */
@media (min-width: 768px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s6);
    align-items: center;
    padding-block: var(--s8) var(--s9);
  }

  .hero-content {
    text-align: left;
    align-items: flex-start;
  }
  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-img-frame {
    width: 420px;
  }

  .hero-title {
    letter-spacing: -3px;
  }
}

/* ─────────────────────────────────────────────
   QUEM É ALINE
───────────────────────────────────────────── */
.about {
  background: var(--color-white);
  padding-block: var(--s7) 0;
  overflow: hidden;
}

.about-inner {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  padding-bottom: var(--s7);
}

/* Foto */
.about-image {
  position: relative;
  align-self: flex-start;
  margin: 0 auto;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 55%;
  height: 55%;
  background: var(--color-emerald);
  border-radius: var(--r-sm);
  z-index: 0;
  opacity: 0.25;
}

.about-photo {
  position: relative;
  z-index: 1;
  width: 300px;
  max-width: 100%;
  border-radius: var(--r-md);
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-md);
}

.about-img-badge {
  position: absolute;
  bottom: 28px;
  right: -12px;
  z-index: 2;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 160px;
  box-shadow: var(--shadow-sm);
}

/* Conteúdo */
.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s3);
}

.about-content h2 {
  font-size: var(--font-h2);
  color: var(--color-navy);
  line-height: 1.15;
}

.about-content p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.about-content strong {
  color: var(--color-navy);
  font-weight: 700;
}

.about-quote {
  border-left: 4px solid var(--color-green);
  padding-left: var(--s3);
  margin-block: var(--s2);
}

.about-quote p {
  font-size: 15px;
  font-style: italic;
  color: #3d4068;
  line-height: 1.7;
}

.about-quote cite {
  display: block;
  margin-top: var(--s1);
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  color: var(--color-gray);
  letter-spacing: 0.5px;
}

/* Expandível — "Leia mais" */
.about-expandable {
  display: none;
  flex-direction: column;
  gap: var(--s3);
}

.about-expandable.open {
  display: flex;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  cursor: pointer;
  transition: color var(--ease);
  align-self: flex-start;
}

.btn-read-more:hover {
  color: var(--color-emerald);
}

.btn-read-more .read-more-icon {
  transition: transform 0.3s ease;
}

.btn-read-more[aria-expanded='true'] .read-more-icon {
  transform: rotate(180deg);
}

/* Marquee */
.about-marquee {
  overflow: hidden;
  border-top: 1px solid var(--color-gray-light);
  border-bottom: 1px solid var(--color-gray-light);
  padding-block: 14px;
}

.about-marquee-inner {
  display: flex;
  animation: ticker-scroll 22s linear infinite;
  width: max-content;
}

.about-marquee span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-lilac);
  padding-right: 0;
  white-space: nowrap;
  filter: brightness(0.75);
}

@media (min-width: 768px) {
  .about-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--s7);
    align-items: start;
  }

  .about-image {
    margin: 0;
  }
  .about-photo {
    width: 360px;
  }
}

/* ─────────────────────────────────────────────
   INDICADORES
───────────────────────────────────────────── */
.stats {
  background: var(--color-navy);
  padding-block: var(--s7);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
  margin-top: 0;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: var(--s4) var(--s3);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  transition:
    border-color var(--ease),
    background var(--ease);
}

.stat-card:hover {
  border-color: rgba(231, 150, 248, 0.35);
  background: rgba(231, 150, 248, 0.04);
}

.stat-number {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: var(--color-green);
  line-height: 1;
  letter-spacing: -2px;
}

.stat-number sup {
  font-size: 0.45em;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: super;
}

.stat-number small {
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.45;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s3);
  }

  .stat-card {
    padding: var(--s5) var(--s4);
  }
}

/* ─────────────────────────────────────────────
   O QUE EU DEFENDO — PILARES
───────────────────────────────────────────── */
.pillars {
  background: var(--color-white);
  padding-block: var(--s7);
}

/* Intro alinhada à esquerda, largura total */
.section-head--left {
  text-align: left;
  align-items: flex-start;
  max-width: 100%;
  margin-inline: 0;
}

.pillars-intro {
  display: flex;
  flex-direction: column;
  /* gap: var(--s1); */
  /* max-width: 860px; */
}

.pillars-intro p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.82;
  margin-bottom: var(--s2);
}

.pillars-list {
  display: flex;
  flex-direction: column;
  margin-top: var(--s6);
}

.pillar-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s3);
  padding-block: var(--s6);
  border-top: 1px solid var(--color-gray-light);
}

.pillar-item:last-child {
  border-bottom: 1px solid var(--color-gray-light);
}

.pillar-lead {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.pillar-number {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  line-height: 1;
  color: var(--accent, var(--color-green));
  letter-spacing: -3px;
  display: block;
}

.pillar-title {
  font-size: var(--font-h3);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.pillar-body p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.82;
  margin-bottom: var(--s3);
}

.pillar-body p:last-child {
  margin-bottom: 0;
}

.pillar-body strong {
  color: var(--color-navy);
  font-weight: 700;
}

@media (min-width: 768px) {
  .pillar-item {
    grid-template-columns: 2fr 3fr;
    gap: var(--s6);
    align-items: start;
  }
}

/* ─────────────────────────────────────────────
   VÍDEO DESTAQUE
───────────────────────────────────────────── */
.featured-video {
  background: var(--color-off-white);
  padding-block: var(--s7);
}

.video-player-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-navy);
  box-shadow: var(--shadow-lg);
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform var(--ease),
    filter var(--ease);
  filter: brightness(0.75);
}

.video-placeholder:hover img {
  transform: scale(1.02);
  filter: brightness(0.6);
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: transform var(--ease);
}

.video-play-btn:hover {
  transform: scale(1.05);
}

.video-play-btn svg {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 8px 24px rgba(6, 255, 0, 0.4));
}

.video-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ─────────────────────────────────────────────
   REELS
───────────────────────────────────────────── */
.reels {
  background: var(--color-white);
  padding-block: var(--s7);
}

/* Primeiro e último card ganham margem lateral para "respirar" nas bordas */
.reels .carousel-container > *:first-child {
  margin-left: var(--s1);
}
.reels .carousel-container > *:last-child {
  margin-right: var(--s1);
}

/* ─────────────────────────────────────────────
   NOTÍCIAS
───────────────────────────────────────────── */
.news {
  background: var(--color-off-white);
  padding-block: var(--s7);
}

.news .carousel-container > *:first-child {
  margin-left: var(--s1);
}
.news .carousel-container > *:last-child {
  margin-right: var(--s1);
}

/* ─────────────────────────────────────────────
   CTA COMUNIDADE
───────────────────────────────────────────── */
.cta-community {
  background: var(--color-navy);
  padding-block: var(--s8);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-deco-star {
  position: absolute;
  font-size: 380px;
  line-height: 1;
  color: rgba(231, 150, 248, 0.05);
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  font-weight: 900;
}

.cta-deco-circle {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(6, 255, 0, 0.06);
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* tudo centralizado na CTA section */
  gap: var(--s3);
  max-width: 660px;
  margin: 0 auto;
}

/* Tag dentro de CTA centralizada */
.cta-content .tag {
  align-self: center;
}

.cta-content h2 {
  font-size: var(--font-h1);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   FORMULÁRIO / NEWSLETTER
───────────────────────────────────────────── */
.newsletter {
  background: var(--color-white);
  padding-block: var(--s7);
}

.newsletter-inner {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.newsletter-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s3);
}

.newsletter-content h2 {
  font-size: var(--font-h2);
  color: var(--color-navy);
  line-height: 1.15;
}

.newsletter-content p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.form-row {
  display: grid;
  gap: var(--s3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input {
  padding: 14px 18px;
  border: 1.5px solid var(--color-gray-light);
  border-radius: var(--r-sm);
  font-size: 15px;
  color: var(--color-navy);
  background: var(--color-off-white);
  transition:
    border-color var(--ease),
    background var(--ease);
  outline: none;
}

.form-group input:focus {
  border-color: var(--color-navy);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(29, 34, 94, 0.08);
}

.form-group input.error {
  border-color: #e53e3e;
}

.form-group input::placeholder {
  color: var(--color-gray);
}

.form-disclaimer {
  font-size: 12px;
  color: var(--color-gray);
  text-align: center;
  line-height: 1.5;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--s4);
  background: rgba(0, 211, 95, 0.08);
  border: 1.5px solid var(--color-emerald);
  border-radius: var(--r-md);
  color: #007a37;
  font-weight: 600;
  font-size: 15px;
}

@media (min-width: 768px) {
  .newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s7);
    align-items: start;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
  background: var(--color-navy-dark);
  padding-block: var(--s6) var(--s5);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.footer-brand .logo-name {
  font-size: 22px;
  letter-spacing: -0.5px;
}

.footer-tagline {
  font-size: 14px;
  color: white;
  line-height: 1.5;
  max-width: 580px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
}

.footer-nav a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--ease);
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-social p {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--s2);
  letter-spacing: 0.5px;
}

.social-links {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--ease);
}

.social-links a svg {
  width: 16px;
  height: 16px;
}

.social-links a:hover {
  background: var(--color-navy);
  border-color: var(--color-lilac);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.footer-legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1.5;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
  .footer-top {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: var(--s7);
    align-items: start;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: var(--s2);
  }
}
