/* ============================================================
   JUCELIA VARGAS — Landing Page · CSS Principal
   CRM Político · Campanha Deputada Federal SC 2026
   ============================================================ */

/* ---- TOKENS / VARIÁVEIS ----------------------------------- */
:root {
  --vermelho:        #C8102E;
  --vermelho-escuro: #8B0000;
  --vermelho-suave:  rgba(200,16,46,0.12);
  --preto:           #0C0C0C;
  --preto-suave:     #141414;
  --branco:          #FAFAF8;
  --creme:           #F2EDE4;
  --cinza:           #9A9A9A;
  --cinza-claro:     #D4D0C8;
}

/* ---- RESET ------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--preto);
  color: var(--branco);
  overflow-x: hidden;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 16px 6%;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s, border .3s;
}
nav.scrolled {
  background: rgba(12,12,12,0.97);
  border-bottom: 1px solid rgba(200,16,46,0.25);
  backdrop-filter: blur(10px);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--branco); letter-spacing: .5px;
}
.nav-logo span { color: var(--vermelho); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: .78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: rgba(255,255,255,.5);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--branco); }
.nav-cta-btn {
  font-family: 'Barlow', sans-serif; font-weight: 700;
  font-size: .78rem; letter-spacing: 2px; text-transform: uppercase;
  background: var(--vermelho); color: var(--branco) !important;
  padding: 9px 20px; border-radius: 2px; text-decoration: none;
  transition: opacity .2s;
}
.nav-cta-btn:hover { opacity: .85; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
}
.hamburger span { width: 24px; height: 2px; background: var(--branco); display: block; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
  padding-top: 72px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6vw), 0 100%);
  margin-bottom: -4vw; /* Puxa a seção de baixo para compensar o recorte */
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 6% 80px 8%;
  position: relative; z-index: 2;
}
.hero-right {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg,#1c0000 0%,#2a0505 40%,#180000 100%);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-right-photo {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding-bottom: 0;
}
  width: 100%; max-width: 600px;
}

/* Foto real da candidata — full bleed no hero */
.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  z-index: 0;
}

.hero-right-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--preto) 0%, transparent 40%),
    linear-gradient(180deg, transparent 50%, rgba(12,12,12,.55) 100%);
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .78rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--vermelho);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
  opacity: 0; animation: fadeUp .7s .1s ease forwards;
}
.hero-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--vermelho); }
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900; line-height: .95;
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 20px;
  opacity: 0; animation: fadeUp .7s .2s ease forwards;
}
.hero-h1 .line-a { color: var(--branco); display: block; }
.hero-h1 .line-b { color: var(--vermelho); display: block; font-style: italic; }
.hero-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  margin-bottom: 36px;
  opacity: 0; animation: fadeUp .7s .3s ease forwards;
}
.hero-historia {
  font-size: 1.05rem; line-height: 1.8;
  color: rgba(255,255,255,.7);
  max-width: 480px; margin-bottom: 44px;
  border-left: 3px solid rgba(200,16,46,.4);
  padding-left: 20px;
  opacity: 0; animation: fadeUp .7s .4s ease forwards;
}
.hero-historia em { color: var(--branco); font-style: normal; font-weight: 600; }
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 14px;
  opacity: 0; animation: fadeUp .7s .5s ease forwards;
}
.btn-red {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--vermelho); color: var(--branco);
  font-family: 'Barlow', sans-serif; font-weight: 700;
  font-size: .9rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 16px 30px; border-radius: 2px; text-decoration: none;
  box-shadow: 0 6px 28px rgba(200,16,46,.35);
  transition: transform .2s, box-shadow .2s;
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(200,16,46,.45); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: rgba(255,255,255,.7);
  font-family: 'Barlow', sans-serif; font-weight: 600;
  font-size: .9rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 15px 26px; border-radius: 2px; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.2);
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.6); color: var(--branco); }
.hero-scroll {
  position: absolute; bottom: 36px; left: 8%;
  display: flex; align-items: center; gap: 10px;
  font-size: .68rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,.2);
  opacity: 0; animation: fadeUp .7s .7s ease forwards;
}
.hero-scroll::before { content: ''; width: 1px; height: 40px; background: rgba(255,255,255,.15); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   STRIP / MARQUEE
   ============================================================ */
.strip {
  background: var(--vermelho);
  padding: 14px 0; overflow: hidden;
}
.strip-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: marquee 20s linear infinite;
}
.strip-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: .85rem;
  letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.9);
}
.strip-sep { color: rgba(255,255,255,.4); margin: 0 4px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SEÇÕES — BASE
   ============================================================ */
section { padding: 100px 8%; }
.s-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--vermelho);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.s-label::before { content: ''; width: 24px; height: 1.5px; background: var(--vermelho); }
.s-h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05; margin-bottom: 20px;
}
.s-h2 em { color: var(--vermelho); font-style: italic; }
.s-lead { font-size: 1rem; color: rgba(255,255,255,.55); line-height: 1.8; max-width: 600px; }

/* ============================================================
   SEÇÃO — HISTÓRIA
   ============================================================ */
#historia {
  background: var(--preto-suave);
  position: relative; overflow: hidden;
}
#historia::after {
  content: '';
  position: absolute; right: -120px; bottom: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(200,16,46,.05) 0%, transparent 70%);
  pointer-events: none;
}
.historia-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 80px; align-items: start; margin-top: 56px;
}
.historia-foto {
  position: sticky; top: 100px;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg,#1e0000,#2c0808);
  border: 1px solid rgba(200,16,46,.15);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  overflow: hidden;
  border-radius: 32px;
}
.historia-foto::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(0deg, rgba(12,12,12,.8), transparent);
}

/* Foto real — história */
.historia-foto img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}

.historia-foto .ph-i  { font-size: 3.5rem; opacity: .09; }
.historia-foto .ph-t  { font-size: .65rem; color: rgba(255,255,255,.12); text-transform: uppercase; letter-spacing: 2px; }
.historia-caption {
  position: absolute; bottom: 20px; left: 0; right: 0;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .75rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.25);
}
.historia-pull {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-style: italic; font-weight: 700;
  line-height: 1.4; color: var(--branco);
  border-left: 3px solid var(--vermelho);
  padding: 18px 0 18px 26px;
  margin-bottom: 32px;
}
.historia-p {
  font-size: 1rem; color: rgba(255,255,255,.65);
  line-height: 1.9; margin-bottom: 18px;
}
.historia-p strong { color: var(--branco); font-weight: 600; }
.historia-marcos {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; margin-top: 40px;
}
.marco {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  padding: 22px 20px;
}
.marco-titulo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: .85rem; letter-spacing: 1px;
  text-transform: uppercase; color: var(--branco);
  margin-bottom: 6px;
}
.marco-desc { font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.6; }

/* ============================================================
   SEÇÃO — CAUSAS
   ============================================================ */
#causas { background: var(--preto); }
.causas-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end; margin-bottom: 60px;
}
.causa-lead-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-style: italic;
  color: rgba(255,255,255,.5); line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
}
.causas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.causa {
  padding: 36px 26px 32px;
  background: var(--preto-suave);
  border-top: 2px solid transparent;
  transition: border-color .25s, background .25s;
  position: relative; overflow: hidden;
}
.causa::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,16,46,.04), transparent);
  opacity: 0; transition: opacity .3s;
}
.hero-right-overlay {
  display: none;
}
.causa:hover                { border-top-color: var(--vermelho); background: #181818; }
.causa:hover::after         { opacity: 1; }
.causa-icone {
  width: 44px; height: 44px;
  background: rgba(200,16,46,.12);
  border: 1px solid rgba(200,16,46,.2);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background .25s, border-color .25s;
}
.causa-icone svg {
  width: 22px; height: 22px;
  color: var(--vermelho);
  transition: color .25s;
}
.causa:hover .causa-icone {
  background: var(--vermelho);
  border-color: var(--vermelho);
}
.causa:hover .causa-icone svg {
  color: #fff;
}
.causa-nome {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: 1px;
  text-transform: uppercase; color: var(--branco); margin-bottom: 10px;
}
.causa-desc { font-size: .84rem; color: rgba(255,255,255,.5); line-height: 1.65; }

/* ============================================================
   SEÇÃO — VOZES / DEPOIMENTOS
   ============================================================ */
#vozes {
  background: var(--preto-suave);
  position: relative; overflow: hidden;
}
.vozes-bg-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: 20vw; font-weight: 900;
  color: rgba(200,16,46,.03);
  white-space: nowrap; pointer-events: none;
  user-select: none;
}
.vozes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3px; margin-top: 52px; position: relative; z-index: 1;
}
.voz {
  background: rgba(10,10,10,.85);
  border: 1px solid rgba(255,255,255,.07);
  padding: 36px 28px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  transition: background .2s;
}
.voz:hover { background: rgba(15,15,15,.95); }
.voz-aspas {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; line-height: .5;
  color: var(--vermelho); opacity: .5;
  margin-bottom: 16px; display: block;
}
.voz-texto {
  font-size: .92rem; color: rgba(255,255,255,.65);
  line-height: 1.7; font-style: italic;
  margin-bottom: 20px;
}
.voz-autor {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: .72rem; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.3);
}

/* ============================================================
   SEÇÃO — PARTICIPE (CTA Principal)
   ============================================================ */
#participe {
  background: var(--preto);
  position: relative; overflow: hidden;
}
#participe::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(90deg, rgba(200,16,46,.04), transparent);
}
.participe-wrap {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 96px; align-items: start; position: relative; z-index: 1;
}
.participe-emocionante {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-style: italic;
  line-height: 1.3; color: var(--branco);
  margin-bottom: 28px;
}
.participe-emocionante span { color: var(--vermelho); }
.participe-p {
  font-size: .98rem; color: rgba(255,255,255,.55);
  line-height: 1.8; margin-bottom: 28px;
}
/* Selos de social proof */
.participe-selos {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.selo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.selo-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--vermelho);
  line-height: 1;
}
.selo-txt {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.4;
  max-width: 140px;
}
.selo-div {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ---- Formulário ---- */
.form-titulo {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.6rem;
  color: var(--branco); margin-bottom: 28px;
}
.form-titulo em { color: var(--vermelho); font-style: italic; }
.fgroup { margin-bottom: 16px; }
.fgroup label {
  display: block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.8px;
  color: rgba(255,255,255,.35); margin-bottom: 7px;
}
.fgroup input,
.fgroup select,
.fgroup textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 2px; padding: 13px 15px;
  color: var(--branco); font-family: 'Barlow', sans-serif;
  font-size: .95rem; outline: none; transition: border-color .2s;
  appearance: none;
}
.fgroup input:focus,
.fgroup select:focus,
.fgroup textarea:focus {
  border-color: var(--vermelho);
  background: rgba(200,16,46,.04);
}
.fgroup select option { background: #1a0000; }
.fgroup textarea      { min-height: 84px; resize: vertical; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-btn {
  width: 100%;
  background: var(--vermelho); color: var(--branco);
  font-family: 'Barlow', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 17px; border: none; border-radius: 2px; cursor: pointer;
  box-shadow: 0 6px 28px rgba(200,16,46,.3);
  transition: opacity .2s, transform .2s;
  margin-top: 6px;
}
.form-btn:hover { opacity: .88; transform: translateY(-1px); }
.form-aviso {
  font-size: .7rem; color: rgba(255,255,255,.22);
  text-align: center; margin-top: 12px; line-height: 1.5;
}

/* ============================================================
   SEÇÃO — GALERIA
   ============================================================ */
#galeria { background: #101010; }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 160px;
  gap: 3px; margin-top: 52px;
}
.g-item {
  background: linear-gradient(135deg,#1a0000,#260404);
  border: 1px solid rgba(200,16,46,.06);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative; cursor: pointer;
}

/* Fotos reais na galeria */
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.g-item:hover img { transform: scale(1.05); }

.g-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.g-item:nth-child(2) { grid-column: span 4; grid-row: span 1; }
.g-item:nth-child(3) { grid-column: span 3; grid-row: span 1; }
.g-item:nth-child(4) { grid-column: span 4; grid-row: span 1; }
.g-item:nth-child(5) { grid-column: span 3; grid-row: span 1; }
.g-item:nth-child(6) { grid-column: span 4; grid-row: span 1; }
.g-item:nth-child(7) { grid-column: span 3; grid-row: span 1; }
.g-overlay {
  position: absolute; inset: 0; background: rgba(200,16,46,0);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; opacity: 0; transition: all .3s;
}
.g-item:hover .g-overlay { background: rgba(200,16,46,.25); opacity: 1; }
.g-ph { font-size: 1.5rem; opacity: .07; }

/* ============================================================
   SEÇÃO — REDES SOCIAIS
   ============================================================ */
#redes { background: var(--preto-suave); text-align: center; }
.redes-desc {
  font-size: .98rem; color: rgba(255,255,255,.5);
  max-width: 440px; margin: 0 auto 44px; line-height: 1.7;
}
.redes-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.r-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 2px;
  font-family: 'Barlow', sans-serif; font-weight: 700;
  font-size: .82rem; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; transition: transform .2s, opacity .2s;
}
.r-btn svg {
  flex-shrink: 0;
  display: block;
}
.r-btn:hover { transform: translateY(-2px); opacity: .9; }
.r-ig { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); color: #fff; }
.r-fb { background: #1877f2; color: #fff; }
.r-wa { background: #25d366; color: #fff; }
.r-yt { background: #ff0000; color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #060606;
  border-top: 1px solid rgba(200,16,46,.15);
  padding: 56px 8% 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 56px; margin-bottom: 44px;
}
.f-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--branco); margin-bottom: 12px;
}
.f-logo span { color: var(--vermelho); }
.f-p { font-size: .86rem; color: rgba(255,255,255,.35); line-height: 1.7; max-width: 320px; }
.f-col-h {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: .7rem; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--vermelho); margin-bottom: 16px;
}
.f-links { list-style: none; }
.f-links li { margin-bottom: 9px; }
.f-links a { font-size: .84rem; color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
.f-links a:hover { color: var(--branco); }
.footer-bottom {
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.f-legal { font-size: .72rem; color: rgba(255,255,255,.18); line-height: 1.6; }
.f-partido {
  font-family: 'Playfair Display', serif;
  font-size: .9rem; font-style: italic; color: rgba(200,16,46,.4);
}

/* ============================================================
   BOTÃO FLUTUANTE — WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  width: 54px; height: 54px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; text-decoration: none;
  box-shadow: 0 4px 18px rgba(37,211,102,.35);
  animation: wapulse 2.5s ease-in-out infinite;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wapulse {
  0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,.35), 0 0 0 0 rgba(37,211,102,.2); }
  60%      { box-shadow: 0 4px 18px rgba(37,211,102,.35), 0 0 0 12px rgba(37,211,102,0); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.rv  { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.rv.vis { opacity: 1; transform: none; }
.rv1 { transition-delay: .1s; }
.rv2 { transition-delay: .2s; }
.rv3 { transition-delay: .3s; }
.rv4 { transition-delay: .4s; }

/* ============================================================
   RESPONSIVO
   Breakpoints:
     --desktop-lg : > 1280px
     --tablet     : 768px – 1024px  → @media (max-width: 1024px)
     --mobile-lg  : 480px – 767px   → @media (max-width: 767px)
     --mobile-sm  : < 480px         → @media (max-width: 479px)
   ============================================================ */

/* ── 1. TABLET (≤ 1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {

  /* Seções */
  section { padding: 80px 6%; }

  /* Nav */
  .nav-links { gap: 20px; }
  .nav-links a { font-size: .72rem; letter-spacing: 1.5px; }

  /* Hero */
  #hero { min-height: auto; padding: 120px 6%; }
  .hero-h1   { font-size: clamp(2.6rem, 5vw, 4rem); }

  /* História */
  .historia-grid { gap: 48px; }
  .historia-pull { font-size: 1.3rem; }

  /* Causas */
  .causas-grid { grid-template-columns: repeat(4, 1fr); }
  .causa       { padding: 28px 18px 24px; }

  /* Vozes */
  .vozes-grid { gap: 3px; }

  /* Participe */
  .participe-wrap { gap: 56px; }

  /* Galeria */
  .galeria-grid    { grid-auto-rows: 130px; }

  /* Footer */
  .footer-top { gap: 36px; }
}

/* ── 2. MOBILE GRANDE (≤ 767px) ──────────────────────────── */
@media (max-width: 767px) {

  /* Seções */
  section { padding: 64px 5%; }

  /* ── Nav ── */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,10,10,.98);
    backdrop-filter: blur(12px);
    padding: 24px 6%;
    gap: 20px;
    border-bottom: 2px solid rgba(200,16,46,.25);
    box-shadow: 0 20px 40px rgba(0,0,0,.5);
  }
  .nav-links.open a {
    font-size: .9rem;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.7);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .nav-links.open .nav-cta-btn {
    margin-top: 8px;
    text-align: center;
    padding: 14px 20px;
    border-radius: 2px;
  }
  .hamburger { display: flex; }
  nav { padding: 14px 5%; }

  /* ── Hero ── */
  #hero {
    display: flex;
    flex-direction: column;
    padding: 100px 5% 40px;
    min-height: 100vh;
  }
  .hero-foto {
    object-position: center 10%;
  }
  .hero-left { max-width: 100%; text-align: center; margin-top: auto; padding-top: 180px; }
  .hero-eyebrow { justify-content: center; }
  .hero-right-overlay {
    background:
      linear-gradient(0deg, var(--preto) 0%, transparent 80%),
      linear-gradient(180deg, rgba(12,12,12,.8) 0%, transparent 50%);
  }
  .hero-h1 {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
    margin-bottom: 14px;
  }
  .hero-sub     { font-size: .95rem; margin-bottom: 24px; }
  .hero-historia {
    font-size: .95rem;
    margin-bottom: 32px;
    line-height: 1.75;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas   { gap: 10px; justify-content: center; }
  .btn-red, .btn-ghost {
    padding: 14px 22px;
    font-size: .82rem;
    width: 100%;
    max-width: 240px;
    justify-content: center;
  }
  .hero-scroll { display: none; }
  .hero-eyebrow { margin-bottom: 16px; }

  /* ── Strip ── */
  .strip { padding: 12px 0; }
  .strip-item { font-size: .78rem; }

  /* ── Títulos de seção ── */
  .s-h2  { font-size: clamp(1.8rem, 7vw, 2.6rem); margin-bottom: 14px; }
  .s-lead { font-size: .95rem; }

  /* ── História ── */
  .historia-grid  { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  .historia-foto {
    display: flex;
    position: relative;
    top: 0;
    max-width: 400px;
    margin: 0 auto;
  }
  .historia-pull  { font-size: 1.2rem; padding: 14px 0 14px 20px; margin-bottom: 24px; }
  .historia-p     { font-size: .95rem; line-height: 1.8; }
  .historia-marcos {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 28px;
  }
  .marco { padding: 18px 14px; }
  .marco-titulo { font-size: .78rem; }
  .marco-desc   { font-size: .76rem; }

  /* ── Causas ── */
  .causas-intro   { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .causa-lead-quote { font-size: 1.1rem; }
  .causas-grid    { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .causa          { padding: 26px 18px 22px; }
  .causa-icone    { font-size: 1.5rem; margin-bottom: 12px; }
  .causa-nome     { font-size: .9rem; }
  .causa-desc     { font-size: .8rem; }

  /* ── Vozes ── */
  .vozes-grid   { grid-template-columns: 1fr; gap: 3px; margin-top: 36px; }
  .voz          { padding: 28px 22px; }
  .voz-aspas    { font-size: 2.4rem; }
  .voz-texto    { font-size: .9rem; }
  .vozes-bg-text { font-size: 40vw; }

  /* ── Participe / Form ── */
  .participe-wrap { grid-template-columns: 1fr; gap: 40px; }
  .participe-emocionante { font-size: 1.35rem; }
  .participe-p    { font-size: .92rem; }
  .participe-tipos { gap: 8px; margin-top: 24px; }
  .tipo           { padding: 14px 16px; gap: 14px; }
  .tipo-txt strong { font-size: .88rem; }
  .tipo-txt span   { font-size: .74rem; }
  .form-titulo    { font-size: 1.4rem; margin-bottom: 20px; }
  .fgrid          { grid-template-columns: 1fr; }
  .fgroup input,
  .fgroup select,
  .fgroup textarea { font-size: 1rem; padding: 14px 14px; }
  .form-btn       { padding: 16px; font-size: .95rem; }

  /* ── Galeria ── */
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
    gap: 2px;
    margin-top: 36px;
  }
  .g-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .g-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }

  /* ── Redes ── */
  .redes-desc { font-size: .9rem; margin-bottom: 32px; }
  .redes-btns { gap: 8px; }
  .r-btn      { padding: 12px 18px; font-size: .78rem; }

  /* ── Footer ── */
  footer       { padding: 48px 5% 28px; }
  .footer-top  {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 32px;
  }
  .f-logo      { font-size: 1.3rem; }
  .f-p         { font-size: .84rem; max-width: 100%; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .f-legal     { font-size: .7rem; }

  /* ── WA Float ── */
  .wa-float {
    width: 50px; height: 50px;
    font-size: 1.3rem;
    bottom: 20px; right: 20px;
  }
}

/* ── 3. MOBILE PEQUENO (≤ 479px) ─────────────────────────── */
@media (max-width: 479px) {

  /* Seções */
  section { padding: 52px 4%; }

  /* Hero */
  .hero-right   { height: 75vw; }
  .hero-left    { padding: 28px 4% 48px; }
  .hero-h1      { font-size: clamp(2rem, 10vw, 2.6rem); }
  .hero-eyebrow { font-size: .68rem; }
  .hero-sub     { font-size: .85rem; letter-spacing: 2px; }
  .hero-historia { font-size: .88rem; line-height: 1.7; }
  .btn-red, .btn-ghost { font-size: .78rem; padding: 13px 18px; }

  /* Títulos */
  .s-h2   { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .s-lead { font-size: .88rem; }

  /* História */
  .historia-pull   { font-size: 1.05rem; }
  .historia-marcos { grid-template-columns: 1fr; }

  /* Causas */
  .causas-grid { grid-template-columns: 1fr; }
  .causa       { padding: 22px 16px 18px; }

  /* Participe */
  .participe-emocionante { font-size: 1.2rem; }
  .tipo-txt strong       { font-size: .82rem; }

  /* Galeria */
  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 100px;
  }

  /* Redes */
  .redes-btns { flex-direction: column; align-items: center; }
  .r-btn      { width: 100%; max-width: 280px; justify-content: center; }

  /* Footer */
  footer    { padding: 40px 4% 24px; }
  .f-logo   { font-size: 1.2rem; }

  /* Nav */
  .nav-logo { font-size: 1.05rem; }
  nav       { padding: 12px 4%; }
}

/* ── 4. PREFERÊNCIA: REDUCE MOTION ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .strip-track { animation: none; }
  .wa-float    { animation: none; }
}

/* ============================================================
   MODAL DIÁRIO
   ============================================================ */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 70vw;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-backdrop.show .modal-content {
  transform: scale(1);
}

.modal-content img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .modal-content {
    width: 90vw;
  }
}

/* Carousel e Avatares */
#vozes {
  position: relative;
}
#vozes::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 100%;
  max-width: 600px; /* Limita o tamanho para não cobrir tudo */
  background-image: url('../assets/img/ju-depoimentos.png');
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
  z-index: 0;
  opacity: 0.9;
}
#vozes > *:not(.vozes-bg-text) {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  #vozes {
    padding-top: 60px;
    padding-bottom: 40px; 
  }
  #vozes .carousel-container {
    margin-top: 320px; /* Cria o buraco no meio para o rosto da candidata */
  }
  #vozes::after {
    background-size: 95%;
    background-position: center bottom;
  }
}

.carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel-track .voz {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 0 15px;
}
@media (min-width: 768px) {
  .carousel-track .voz {
    flex: 0 0 50%;
  }
}
@media (min-width: 1024px) {
  .carousel-track .voz {
    flex: 0 0 33.333%;
  }
}

.voz-autor-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.voz-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--vermelho);
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active {
  background: var(--vermelho);
}

/* ============================================================
   LIGHTBOX DA GALERIA (Premium Lightbox Modal)
   ============================================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 6, 6, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  width: 90vw;
  max-width: 1100px;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lb-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 80px rgba(200, 16, 46, 0.15);
  transform: scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.show #lb-img {
  transform: scale(1);
}

/* Botão Fechar */
.lb-close {
  position: fixed;
  top: 30px;
  right: 35px;
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10002;
  transition: color 0.25s, transform 0.25s;
}

.lb-close:hover {
  color: var(--vermelho);
  transform: scale(1.1) rotate(90deg);
}

/* Botões de Navegação Lateral */
.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lb-prev {
  left: -76px;
}

.lb-next {
  right: -76px;
}

.lb-prev:hover,
.lb-next:hover {
  background: rgba(200, 16, 46, 0.8);
  border-color: var(--vermelho);
  color: #fff;
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.4);
}

.lb-prev:hover {
  transform: translateY(-50%) translateX(-4px) scale(1.05);
}

.lb-next:hover {
  transform: translateY(-50%) translateX(4px) scale(1.05);
}

.lb-prev:active,
.lb-next:active {
  transform: translateY(-50%) scale(0.95);
}

/* responsividade do Lightbox */
@media (max-width: 1250px) {
  .lb-prev {
    left: 20px;
    background: rgba(10, 10, 10, 0.75);
    border-color: rgba(255, 255, 255, 0.1);
  }
  .lb-next {
    right: 20px;
    background: rgba(10, 10, 10, 0.75);
    border-color: rgba(255, 255, 255, 0.1);
  }
  .lb-prev:hover {
    transform: translateY(-50%) scale(1.05);
  }
  .lb-next:hover {
    transform: translateY(-50%) scale(1.05);
  }
}

@media (max-width: 768px) {
  .lightbox-content {
    width: 95vw;
  }
  #lb-img {
    max-height: 80vh;
  }
  .lb-close {
    top: 20px;
    right: 20px;
    font-size: 2.8rem;
  }
  .lb-prev,
  .lb-next {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }
}
