/* =================================================================
   style.css — LP Dr. Fernanda | Campanha Eleitoral
   ================================================================= */

/* ---------------------------------------------------------------
   FONTES LOCAIS
   --------------------------------------------------------------- */
@font-face {
  font-family: 'Century Gothic';
  src: url('../fonts/century-gothic.ttf') format('truetype');
  font-weight: 400 600 700;
  font-display: swap;
}
@font-face {
  font-family: 'Cambria';
  src: url('../fonts/cambria.ttf') format('truetype');
  font-weight: 400 600 700;
  font-display: swap;
}

/* ---------------------------------------------------------------
   VARIÁVEIS GLOBAIS
   --------------------------------------------------------------- */
:root {
  /* Paleta oficial da campanha */
  --blue:        #5091CD;
  --blue-dark:   #3D81C2;
  --purple:      #7A75B5;
  --purple-dark: #5A58A4;
  --magenta:     #ED297C;
  --pink:        #D7296A;
  --yellow:      #FFCC29;
  --green:       #27A44F;

  /* Papéis de interface (derivados da paleta) */
  --primary:        #5A58A4;   /* roxo */
  --primary-light:  #7A75B5;
  --primary-dark:   #45447A;
  --secondary:      #FFCC29;   /* amarelo */
  --secondary-light:#FFD95C;
  --accent:         #ED297C;   /* magenta */
  --bg:             #F7F6FC;
  --surface:        #FFFFFF;
  --text:           #1E1B3A;
  --text-muted:     #6B7280;
  --border:         #E5E7EB;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.10);
  --shadow-md:      0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:      0 8px 32px rgba(0,0,0,.16);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      32px;
  --nav-h:          80px;
  --transition:     0.3s ease;
  --font-heading:   'Cambria', Georgia, 'Times New Roman', serif;
  --font-body:      'Century Gothic', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------------------------------------------------------------
   RESET & BASE
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding { padding: 96px 0; }

/* ---------------------------------------------------------------
   ANIMAÇÕES
   --------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate="fadeInLeft"]  { transform: translateX(-40px); }
[data-animate="fadeInRight"] { transform: translateX(40px); }
[data-animate="fadeInUp"]    { transform: translateY(40px); }
[data-animate].animated      { opacity: 1; transform: translate(0); }

/* ---------------------------------------------------------------
   TIPOGRAFIA UTILITÁRIA
   --------------------------------------------------------------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(106,13,173,.10);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title span { color: var(--primary); font-weight: 700; }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header-light .section-title { color: #fff; }
.section-header-light .section-subtitle { color: rgba(255,255,255,.8); }
.tag-light {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.title-light { color: #fff !important; }
.subtitle-light { color: rgba(255,255,255,.8) !important; }

/* ---------------------------------------------------------------
   BOTÕES
   --------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(106,13,173,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(106,13,173,.45);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 600;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: .9rem; }

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(220,39,67,.35);
}
.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220,39,67,.45);
}

.hidden { display: none !important; }

/* ---------------------------------------------------------------
   COOKIE BANNER
   --------------------------------------------------------------- */
/* Apenas o título da barra/modal de cookies usa a Inter (limpa, sem serifa) */
.cookie-text h3,
.cookie-modal-inner h3 {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 24px rgba(0,0,0,.12);
  z-index: 9999;
  border-top: 3px solid var(--primary);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), opacity var(--transition);
}
.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  flex-wrap: wrap;
}
.cookie-icon {
  font-size: 2rem;
  color: var(--secondary);
  flex-shrink: 0;
}
.cookie-text { flex: 1; min-width: 250px; }
.cookie-text h3 { font-size: 1rem; margin-bottom: 4px; }
.cookie-text p { font-size: .875rem; color: var(--text-muted); }
.cookie-text a { color: var(--primary); text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .875rem;
  transition: var(--transition);
}
.btn-cookie-accept:hover { background: var(--primary-light); }

.btn-cookie-essential {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  transition: var(--transition);
}
.btn-cookie-essential:hover { border-color: var(--primary); color: var(--primary); }

.btn-cookie-settings {
  background: transparent;
  color: var(--primary);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: underline;
  padding: 10px;
  transition: var(--transition);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.cookie-modal.hidden { display: none; }
.cookie-modal-inner {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.cookie-modal-inner h3 { font-size: 1.3rem; margin-bottom: 20px; }
.cookie-option {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cookie-option:last-of-type { border-bottom: none; }
.cookie-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 4px;
}
.cookie-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}
.cookie-option p { font-size: .875rem; color: var(--text-muted); margin-top: 4px; }
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* ---------------------------------------------------------------
   NAVBAR
   --------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: -0.7px;
  font-weight: 400;
  /* Escondido por padrão: só aparece ao sair do hero */
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(35,18,60,.30), rgba(28,14,50,.42)),
    url('../images/hero/Fundo degrade Minas.png') top center / cover no-repeat;
  background-color: var(--purple-dark);
  box-shadow: var(--shadow-md);
  transition: transform .35s ease, opacity .35s ease;
}
.navbar--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img { height: 52px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 500;
  font-size: .95rem;
  color: rgba(255,255,255,.9);
  transition: var(--transition);
}
.nav-link:not(.nav-cta):hover,
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.18);
}
.nav-cta {
  background: var(--secondary);
  color: rgb(255, 255, 255);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 5px;
}
.nav-cta:hover { background: var(--secondary-light); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger--open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger--open span:nth-child(2) { opacity: 0; }
.hamburger--open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------------------------------------------------------------
   HERO SECTION
   --------------------------------------------------------------- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--blue-dark) 0%, var(--purple-dark) 45%, var(--magenta) 100%);
}

/* Fundo: cidade + degradê */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
}

/* Logo do partido (canto superior direito) */
.hero-party-logo {
  position: absolute;
  top: clamp(18px, 3.5vh, 40px);
  right: clamp(24px, 4vw, 64px);
  width: clamp(100px, 10vw, 150px);
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.25));
}

/* Contexto de posicionamento da composição */
.hero-container {
  position: relative;
  z-index: 3;
  max-width: 1340px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

/* Coluna de texto (à esquerda, alinhada ao topo) */
.hero-content {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  top: clamp(36px, 7vh, 84px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2.6vh, 30px);
  max-width: 54%;
}
.hero-title { margin: 0; line-height: 0; }
.hero-name-logo {
  width: clamp(125px, 16.5vw, 230px);   /* 10% maior */
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.2));
}
.hero-cargo {
  width: clamp(112px, 15vw, 200px);   /* imagem "Pré-candidata" com a logo de Minas (mais 5% menor) */
  height: auto;
  display: block;
  margin: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.2));
}
.hero-frase {
  width: clamp(190px, 30vw, 400px);   /* um pouco maior */
  height: auto;
  display: block;
  margin: clamp(24px, 6vh, 70px) 0 0;  /* mais abaixo */
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.2));
}

.hero-social {
  display: flex;
  gap: 12px;
  margin-top: clamp(4px, 1.5vh, 16px);
}
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.social-icon:hover {
  background: rgba(255,255,255,.2);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Imagem das pessoas — ancorada no canto inferior direito da seção */
.hero-image {
  position: absolute;
  right: clamp(0px, 2vw, 48px);
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.hero-photo {
  width: auto;
  height: auto;
  max-height: 86vh;
  max-width: min(50vw, 840px);        /* ~30% maior */
  display: block;
  filter: drop-shadow(0 14px 40px rgba(0,0,0,.3));
}
.hero-apoio {
  position: absolute;
  top: clamp(24px, 16%, 150px);       /* ao lado do Maycon, à direita */
  right: clamp(16px, 2.5vw, 44px);
  left: auto;
  bottom: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding-left: clamp(20px, 3vw, 48px);
  gap: 2px;
  z-index: 4;
}
.hero-apoio span {
  color: #fff;
  line-height: 1.3;
  font-size: clamp(.74rem, .95vw, .9rem);   /* todas do mesmo tamanho */
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.hero-apoio-name {
  font-weight: 700;
  -webkit-text-stroke: 0.6px #fff;          /* reforça o peso do nome */
}

/* Tarja colorida inferior */
.hero-tarja {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(8px, 1.3vw, 16px);
  object-fit: fill;
  z-index: 5;
  display: block;
}

/* ---------------------------------------------------------------
   FAIXA DE PESSOAS (carrossel contínuo)
   --------------------------------------------------------------- */
.pessoas-band {
  width: 100%;
  overflow: hidden;
  background: var(--primary-dark);
  line-height: 0;
  display: block;
}
.pessoas-track {
  display: flex;
  width: max-content;
  animation: pessoasScroll 50s linear infinite;
}
.pessoas-track img {
  height: clamp(150px, 20vw, 250px);
  width: auto;
  display: block;
  flex: 0 0 auto;
}
.pessoas-band:hover .pessoas-track { animation-play-state: paused; }
@keyframes pessoasScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Tarja divisória entre seções */
.tarja-divider {
  display: block;
  width: 100%;
  height: clamp(10px, 1.4vw, 18px);
  object-fit: cover;
  object-position: center;
}

/* ---------------------------------------------------------------
   SOBRE SECTION
   --------------------------------------------------------------- */
.sobre-section {
  position: relative;
  background: var(--surface);
  overflow: hidden;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 0;
}

.sobre-content { max-width: 600px; }

.sobre-titulo {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--purple-dark);
  font-weight: 400;
  letter-spacing: -0.5px;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.12;
  margin-bottom: 6px;
}
.sobre-titulo strong { display: block; font-weight: 800; }

.sobre-nome {
  color: var(--magenta);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 24px;
}

.sobre-text {
  color: #46425e;
  line-height: 1.65;
  margin-bottom: 14px;
}

.sobre-quote {
  color: var(--purple-dark);
  font-weight: 600;
  font-style: italic;
  line-height: 1.6;
  border-left: 3px solid var(--magenta);
  padding-left: 18px;
  margin-top: 22px;
}

.sobre-image { display: flex; justify-content: center; }
.sobre-familia {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 50px rgba(0,0,0,.3));
}

/* ---------------------------------------------------------------
   TRAJETÓRIA / VALORES
   --------------------------------------------------------------- */
.trajetoria-section { background: var(--surface); }

.trajetoria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.trajetoria-quote {
  font-family: var(--font-heading);
  color: var(--magenta);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.15;
  margin-bottom: 28px;
}

.valores-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.valor-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  min-height: 94px;            /* todos do mesmo tamanho */
  border-radius: 8px;          /* levemente menor */
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.valor-ico {
  flex: 0 0 auto;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.valor-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.valor-card p { font-size: .92rem; line-height: 1.4; color: rgba(255,255,255,.93); }

.valor-roxo    { background: var(--purple); }
.valor-magenta { background: var(--magenta); }
.valor-azul    { background: var(--blue); }
.valor-indigo  { background: var(--purple-dark); }

.trajetoria-image { display: flex; justify-content: center; }
.trajetoria-clip {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 44px rgba(0,0,0,.18));
}

/* ---------------------------------------------------------------
   POR QUE DRA. FERNANDA
   --------------------------------------------------------------- */
.porque-section { background: var(--surface); }
.porque-titulo { text-align: left; margin-bottom: 36px; }

.porque-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.porque-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: var(--blue-dark);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.3;
  margin-bottom: 28px;
}

.porque-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.porque-list h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.porque-list p { color: #46425e; line-height: 1.55; }
.cor-magenta { color: var(--magenta); }
.cor-azul    { color: var(--blue); }
.cor-roxo    { color: var(--purple-dark); }

.porque-media {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.porque-clip {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 44px rgba(0,0,0,.18));
}
.porque-frase {
  width: 100%;
  background: linear-gradient(120deg, var(--blue-dark) 0%, var(--purple-dark) 50%, var(--magenta) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.35;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------------------------------------------------------------
   VIDEOS SECTION
   --------------------------------------------------------------- */
.videos-section {
  position: relative;
  background: var(--purple-dark);
}
.videos-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero/Fundo degrade Minas.png') center / cover no-repeat;
  z-index: 0;
}
.videos-section > .container { position: relative; z-index: 1; }
/* Cabeçalho claro sobre o fundo colorido */
.videos-section .section-title { color: #fff; }
.videos-section .section-title span { color: var(--yellow); }
.videos-section .section-subtitle { color: rgba(255,255,255,.85); }

/* Tarja colorida no topo e na base da seção */
.section-tarja {
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(8px, 1.3vw, 16px);
  object-fit: cover;
  object-position: center;
  z-index: 3;
  display: block;
  pointer-events: none;
}
.section-tarja--top { top: 0; }
.section-tarja--bottom { bottom: 0; }

.videos-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}

/* Otimização: isola o render de cada card e evita repaint do restante */
.video-card { contain: content; }
.video-wrapper video { background: #000; }
.videos-carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(.25,.8,.25,1);
  will-change: transform;
}

.video-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 177.77%; /* 9:16 aspect ratio para Shorts */
}
.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-info { padding: 16px; }
.video-info h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.video-info p { font-size: .875rem; color: var(--text-muted); margin-bottom: 8px; }
.video-date { font-size: .8rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  transition: var(--transition);
}
.carousel-btn:hover { background: var(--primary); color: #fff; }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.dot--active { background: var(--primary); transform: scale(1.3); }

/* ---------------------------------------------------------------
   NOTÍCIAS SECTION
   --------------------------------------------------------------- */
.noticias-section { background: var(--bg); }

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.noticia-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.noticia-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.noticia-img {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.noticia-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.noticia-card:hover .noticia-img img { transform: scale(1.05); }
.noticia-img.no-img { display: flex; align-items: center; justify-content: center; }
.noticia-img.no-img::after {
  content: '\f1ea';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 3rem;
  color: rgba(255,255,255,.3);
}

.noticia-categoria {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 4px 12px;
  border-radius: 100px;
}

.noticia-body { padding: 20px; }
.noticia-data {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}
.noticia-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.noticia-body p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.noticia-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
}
.noticia-link:hover { gap: 10px; }

.noticias-more { text-align: center; }
.noticias-hint { text-align: center; color: var(--text-muted); font-size: .875rem; margin-top: 16px; }

/* Loading state */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px;
  color: var(--text-muted);
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.spinner-small {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------
   INSTAGRAM SECTION
   --------------------------------------------------------------- */
.instagram-section {
  background: var(--surface);
}

/* Card de perfil do Instagram */
.insta-card {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px 32px;
}
.insta-avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.4rem;
  box-shadow: 0 8px 24px rgba(220,39,67,.35);
  transition: var(--transition);
}
.insta-avatar:hover { transform: translateY(-3px) scale(1.03); }
.insta-name {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.insta-handle {
  display: inline-block;
  color: var(--magenta);
  font-weight: 600;
  margin: 2px 0 16px;
}
.insta-handle:hover { text-decoration: underline; }
.insta-bio {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.instagram-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  background: var(--border);
}

.instagram-media-wrapper { position: relative; width: 100%; height: 100%; }
.instagram-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.instagram-card:hover .instagram-media { transform: scale(1.05); }

.insta-play {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,.6);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(106,13,173,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.instagram-card:hover .instagram-overlay { opacity: 1; }
.instagram-overlay-content {
  text-align: center;
  color: #fff;
  padding: 16px;
}
.instagram-overlay-content i { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.instagram-overlay-content p { font-size: .8rem; line-height: 1.4; }

.instagram-cta { text-align: center; }

/* Fallback */
.instagram-fallback {
  text-align: center;
  padding: 60px 24px;
  background: var(--bg);
  border-radius: var(--radius-xl);
  border: 2px dashed var(--border);
}
.instagram-fallback-icon {
  font-size: 4rem;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.instagram-fallback h3 { font-size: 1.5rem; margin-bottom: 8px; }
.instagram-fallback p { color: var(--text-muted); margin-bottom: 24px; }
.instagram-fallback code {
  background: var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .875rem;
}
.instagram-embed-hint {
  margin-top: 24px;
  font-size: .875rem;
  color: var(--text-muted);
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.instagram-embed-hint details { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 16px; }
.instagram-embed-hint summary { cursor: pointer; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.instagram-embed-hint ol { padding-left: 20px; }
.instagram-embed-hint li { margin-bottom: 6px; }

/* ---------------------------------------------------------------
   RECOMENDAÇÕES / DEPOIMENTOS
   --------------------------------------------------------------- */
.recomendacoes-section {
  background: linear-gradient(180deg, var(--bg), var(--surface));
}

.testimonials-carousel { overflow: hidden; }
.testimonials-track {
  display: flex;
  gap: 32px;
  transition: transform 0.5s cubic-bezier(.25,.8,.25,1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(50% - 16px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.testimonial-quote {
  font-size: 2rem;
  color: var(--primary);
  opacity: .2;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.testimonial-author strong { display: block; font-weight: 700; }
.testimonial-author span { font-size: .85rem; color: var(--text-muted); }
.testimonial-stars { color: var(--secondary); font-size: .9rem; display: flex; gap: 4px; }

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.testimonial-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(106,13,173,.08);
}
.testimonial-dots { display: flex; gap: 8px; }

.depoimento-cta {
  text-align: center;
  margin-top: 56px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(106,13,173,.05), rgba(201,162,39,.05));
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}
.depoimento-cta p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; }

/* ---------------------------------------------------------------
   CONTATO SECTION
   --------------------------------------------------------------- */
.contato-section {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}
.contato-bg { display: none; }
.contato-section .section-title { font-weight: 400; }
.contato-section .section-title span { color: var(--magenta); }

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  position: relative;
}

/* Info */
.contato-info h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 16px;
}
.contato-info > p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.contato-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contato-list li { display: flex; gap: 16px; align-items: flex-start; }
.contato-icon {
  width: 44px;
  height: 44px;
  background: rgba(90,88,164,.10);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contato-list strong { display: block; color: var(--text); font-size: .9rem; }
.contato-list span, .contato-list a {
  color: var(--text-muted);
  font-size: .95rem;
}
.contato-list a:hover { color: var(--magenta); }

.contato-social { display: flex; gap: 12px; }
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(90,88,164,.10);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Formulário */
.contato-form-wrapper {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(106,13,173,.15);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}
.input-error { border-color: #ef4444 !important; }
.form-error {
  display: none;
  font-size: .8rem;
  color: #ef4444;
  margin-top: 4px;
}

.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.5;
}
.form-checkbox input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--primary); }
.form-checkbox a { color: var(--primary); text-decoration: underline; }

.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  margin-top: 8px;
  box-shadow: 0 4px 20px rgba(106,13,173,.35);
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(106,13,173,.45);
}
.btn-submit:disabled { opacity: .7; cursor: not-allowed; }

.form-success {
  text-align: center;
  padding: 40px;
  color: #16a34a;
}
.form-success i { font-size: 3rem; margin-bottom: 12px; display: block; }
.form-success strong { display: block; font-size: 1.2rem; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

.form-error-global {
  text-align: center;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  color: #dc2626;
  font-size: .875rem;
  margin-top: 12px;
}

/* ---------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------- */
.footer {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(rgba(30,15,55,.42), rgba(25,12,48,.60)),
    url('../images/hero/Fundo degrade Minas.png') center / cover no-repeat;
  background-color: var(--purple-dark);
  color: rgba(255,255,255,.85);
  box-shadow: 0 -16px 40px rgba(0,0,0,.30);
  margin-top: -22px;
  overflow: hidden;
}

.footer-top { padding: 64px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-logo { height: 48px; width: auto; margin-bottom: 16px; }
.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-links h4 {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: .05em;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--secondary-light); padding-left: 4px; }

.footer-numero h4 {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .05em;
}
.urna-display {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: .2em;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(201,162,39,.4);
}
.footer-numero > p { font-size: .85rem; margin-bottom: 20px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; line-height: 1.7; }
.footer-disclaimer { margin-top: 4px; font-size: .75rem; opacity: .6; }
.footer-bottom a { color: var(--secondary-light); }

/* ---------------------------------------------------------------
   BOTÃO WHATSAPP FLUTUANTE
   --------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #fff;
  color: var(--text);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ---------------------------------------------------------------
   BOTÃO VOLTAR AO TOPO
   --------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  z-index: 998;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(106,13,173,.4);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover { background: var(--primary-light); transform: translateY(-3px); }

/* ---------------------------------------------------------------
   RESPONSIVO
   --------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-section { height: auto; min-height: 100vh; min-height: 100svh; }
  .hero-container {
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
    padding: clamp(96px, 20vw, 124px) clamp(20px, 5vw, 40px) 0;   /* acompanha a Podemos (vw) */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-content {
    position: static;
    top: auto;
    left: auto;
    max-width: 100%;
    align-items: center;
    gap: clamp(2px, 0.8vh, 7px);   /* logos coladas */
  }
  .hero-name-logo, .hero-cargo, .hero-frase { margin-left: auto; margin-right: auto; }
  .hero-frase { margin-top: 0; }
  .hero-social { justify-content: center; }
  .hero-image {
    position: relative;       /* contexto p/ o apoio à direita */
    right: auto;
    margin: auto auto 0;      /* pessoas centralizadas na base */
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  .hero-photo {
    max-height: none;
    max-width: min(82vw, 400px);
    margin: 0 auto clamp(-16px, -3vw, -8px);   /* sobrepõe a tarja (efeito colado/escondido) */
  }
  .hero-apoio {
    position: absolute;
    top: auto;
    left: auto;
    right: clamp(8px, 3.5vw, 20px);   /* afastado da borda, sem vazar */
    bottom: 34%;
    align-items: flex-end;
    text-align: right;
    padding-left: 0;
    margin: 0;
    max-width: 44%;
    gap: 1px;
    z-index: 4;
  }
  .hero-apoio span { font-size: clamp(.46rem, 1.9vw, .62rem); line-height: 1.2; }
  .hero-party-logo {
    width: clamp(68px, 14vw, 96px);
    top: clamp(64px, 13vw, 84px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);       /* centralizada no topo */
  }
  .hero-tarja { height: clamp(12px, 3.5vw, 22px); }

  .sobre-grid { grid-template-columns: 1fr; gap: 36px; }
  .sobre-content { max-width: 100%; order: 2; }
  .sobre-image { order: 1; }
  .sobre-familia { max-width: 360px; }

  .trajetoria-grid { grid-template-columns: 1fr; gap: 36px; }
  .trajetoria-content { order: 2; }
  .trajetoria-image { order: 1; }
  .trajetoria-clip { max-width: 420px; }

  .porque-grid { grid-template-columns: 1fr; gap: 36px; }
  .porque-clip { max-width: 380px; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .video-card { flex: 0 0 calc(50% - 12px); }
  .testimonial-card { flex: 0 0 calc(100% - 0px); }
}

@media (max-width: 768px) {
  :root { --nav-h: 70px; }

  .section-padding { padding: 64px 0; }

  .hamburger { display: flex; }

  .logo-img { height: 36px; max-height: calc(var(--nav-h) - 26px); }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--purple-dark) url('../images/hero/Fundo degrade Minas.png') center / cover no-repeat;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 18px;
    gap: 0;
    box-shadow: 0 24px 44px rgba(0,0,0,.30);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
  }
  .nav-links--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links li { width: 100%; }
  .nav-link {
    display: block;
    color: #fff !important;
    font-size: 1rem;
    letter-spacing: -0.3px;
    padding: 15px 10px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .nav-link.active,
  .nav-link:not(.nav-cta):hover { background: rgba(255,255,255,.14); }
  .nav-cta {
    background: var(--secondary);
    color: var(--text) !important;
    font-weight: 700;
    text-align: center;
    border-radius: 100px;
    border-bottom: none;
    margin-top: 12px;
  }

  .hero-photo {
    max-width: min(92vw, 450px);                    /* +20% */
    margin-bottom: clamp(-35px, -6vw, -16px);       /* desce mais / mais colada na tarja */
  }
  .hero-name-logo { width: min(46vw, 194px); }       /* -5% */
  .hero-cargo {
    width: min(42vw, 176px);
    margin-top: 0;                                    /* colada logo abaixo do nome */
  }
  .hero-frase {
    width: min(61vw, 289px);                         /* -15% */
    margin-top: clamp(12px, 3.5vh, 30px);            /* desce um pouco */
  }

  .instagram-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }

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

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

  .contato-form-wrapper { padding: 28px 20px; }

  .video-card { flex: 0 0 calc(85% - 12px); }

  .carousel-prev { left: 0; }
  .carousel-next { right: 0; }

  .cookie-content { flex-direction: column; gap: 12px; }
  .cookie-actions { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .noticias-grid { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .urna-display { font-size: 2.5rem; }
  .testimonial-card { padding: 24px; }
}

/* ---------------------------------------------------------------
   ACESSIBILIDADE
   --------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-animate] { opacity: 1 !important; transform: none !important; }
}
