@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

/* Barlow (Família Principal) */
@font-face {
  font-family: "Barlow";
  src: url("/fonts/Barlow/Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Barlow";
  src: url("/fonts/Barlow/Barlow-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Barlow";
  src: url("/fonts/Barlow/Barlow-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Barlow";
  src: url("/fonts/Barlow/Barlow-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Barlow";
  src: url("/fonts/Barlow/Barlow-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Barlow";
  src: url("/fonts/Barlow/Barlow-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

/* RL Aqva (Exclusiva para a chamada "Vem Pro Time do Lula!") */
@font-face {
  font-family: "RL Aqva";
  src: url("/fonts/RL Aqva/rl_aqva.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/* ==========================================================================
   IDENTIDADE VISUAL OFICIAL 
   ========================================================================== */

:root {
  --brand-vinho: #560808;
  --brand-vinho-dark: #3f0404;
  --brand-vermelho: #dd2828;
  --brand-amarelo: #ff9d00;
  --brand-amarelo-dark: #e08b00;
  --brand-bg: #faf7f2;
  --brand-card-bg: #fffdfa;
  --brand-dark: #221e1f;
  --brand-white: #ffffff;
  --brand-gray: #655e5e;
  --brand-gray-light: #ebe5dc;

  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  --border-radius-pill: 50px;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 12px rgba(86, 8, 8, 0.06);
  --shadow-md: 0 8px 24px rgba(86, 8, 8, 0.12);
  --shadow-lg: 0 16px 40px rgba(86, 8, 8, 0.2);

  --nav-menu-btn-h: 30px; /* Botão Hamburger (imagem PNG) */
  --nav-apoie-btn-h: 27px; /* Botão "Apoie" (imagem PNG) */
  --nav-material-btn-h: 27px; /* Botão "Quero Material" (imagem PNG) */
  --nav-logo-h: 60px; /* Logo Central (imagem PNG) */
  --nav-social-size: 20px; /* Tamanho dos ícones sociais */
}

/* Reset & Basic Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", sans-serif;
  background-color: var(--brand-white);
  color: var(--brand-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  letter-spacing: -0.3px;
}

@media (min-width: 768px) and (max-width: 991px) {
  :root {
    /* --- 📱 TABLET --- */
    --nav-menu-btn-h: 36px;
    --nav-apoie-btn-h: 34px;
    --nav-material-btn-h: 34px;
    --nav-logo-h: 90px;
    --nav-social-size: 15px;
  }
}

@media (max-width: 767px) {
  :root {
    /* --- 📱 MOBILE / CELULAR --- */
    --nav-menu-btn-h: 32px;
    --nav-apoie-btn-h: 28px;
    --nav-material-btn-h: 28px;
    --nav-logo-h: 80px;
    --nav-social-size: 15px;
  }
}

/* ==========================================================================
   HEADER / NAVEGAÇÃO DINÂMICA (TRANSPARENTE NO TOPO -> GLASS AO ROLAR)
   ========================================================================== */

header {
  position: fixed; /* Fixa no topo absoluto da tela */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  /* Estado Inicial: 100% Transparente sobre o pôr do sol */
  background-color: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 2px solid transparent;
  box-shadow: none;

  /* Transição suave ao rolar a página */
  transition:
    background-color 0.35s ease,
    backdrop-filter 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Estado Ativo (adicionado via JavaScript ao rolar > 40px) */
header.scrolled {
  background-color: rgba(63, 4, 4, 0.65); /* Vinho escuro com transparência */
  backdrop-filter: blur(14px) saturate(160%); /* Efeito vidro do nav-drawer */
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 2px solid var(--brand-amarelo);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "left logo right";
  align-items: center;
  position: relative;
}

/* --- Bloco Esquerdo --- */
.header-left {
  grid-area: left;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
}

.mobile-menu-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-nav-img {
  height: var(--nav-menu-btn-h);
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.15s ease;
}

.mobile-menu-btn:active .btn-nav-img {
  transform: scale(0.92);
}

/* --- Bloco Central (Logo) --- */
.header-logo-box {
  grid-area: logo;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  justify-self: center;
}
.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo-img {
  height: var(--nav-logo-h) !important;
  width: auto;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}

/* --- Bloco Direito --- */
.header-right {
  grid-area: right;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
}

/* --- Botões de Imagem Genéricos (Apoie / Material) --- */
.custom-img-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  user-select: none;
}

.custom-img-btn img {
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.15s ease;
}

.apoie-btn img {
  height: var(--nav-apoie-btn-h);
}

.quero-material-btn img {
  height: var(--nav-material-btn-h);
}

.custom-img-btn .btn-img-hold {
  display: none;
}

.custom-img-btn:hover img {
  transform: translateY(-1px);
}

.custom-img-btn:active .btn-img-default,
.custom-img-btn.is-held .btn-img-default {
  display: none !important;
}

.custom-img-btn:active .btn-img-hold,
.custom-img-btn.is-held .btn-img-hold {
  display: block !important;
  transform: scale(0.96);
}

/* --- Redes Sociais com Imagem PNG --- */
.header-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-icon-img {
  height: var(--nav-social-size);
  width: auto;
  display: block;
  object-fit: contain;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.header-social-links a:hover .social-icon-img {
  transform: translateY(-2px) scale(1.1);
  opacity: 0.85;
}

.header-social-links a:active .social-icon-img {
  transform: scale(0.92);
}

/* --- Menu Dropdown / Drawer (Oculto por padrão, abre via JS) --- */
/* --- Menu Dropdown / Drawer com Transparência e Blur --- */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 1rem;
  min-width: 260px;

  /* Fundo translúcido (opacidade em 0.72) */
  background-color: rgba(50, 3, 3, 0.5);

  /* Efeito de desfoque e saturação no conteúdo atrás do menu */
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);

  /* Borda sutil para acabamento */
  border: 1px solid rgba(255, 157, 0, 0.25);
  border-top: 2px solid var(--brand-amarelo);
  border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);

  padding: 0.75rem 0.5rem;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  z-index: 999;
}

.mobile-nav-drawer.active {
  display: flex !important;
}

.mobile-nav-item {
  color: var(--brand-white);
  text-decoration: none;
  font-family: "Barlow", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.mobile-nav-item:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--brand-amarelo);
}

.mobile-nav-item.highlight {
  color: var(--brand-amarelo);
}

/* ==========================================
   MAIN CONTENT LAYOUT
   ========================================== */

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

/* BLOCO 1: HERO & FORM */
.hero-section {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.slogan-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3.8;
  overflow: hidden;
  background-color: var(--brand-gray-light);
  border-radius: var(--border-radius-lg);
}

.hero-image-wrapper picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 95%;
  display: block;
}

.curved-border {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 55px;
  z-index: 5;
  pointer-events: none;
}

.slogan-content {
  position: relative;
  width: 100%;
  padding: 0.5rem 1rem 1rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.slogan-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  object-fit: contain;
}

.slogan-badge-skew,
.slogan-title-dark {
  display: none;
}

.form-card {
  margin-bottom: 3rem;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row.split-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-family: "Barlow", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-vinho);
  text-transform: uppercase;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--brand-gray-light);
  border-radius: var(--border-radius-pill);
  background-color: #fcfbfa;
  font-family: inherit;
  font-size: 0.9rem;
}

.submit-btn {
  background-color: var(--brand-vinho);
  color: var(--brand-white);
  border: 2px solid var(--brand-amarelo);
  border-radius: var(--border-radius-pill);
  padding: 0.9rem 1.5rem;
  font-family: "Barlow", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 0.5rem;
}

/* ==========================================
   DIVISOR BARRA DE CAQUINHOS
   ========================================== */

.divider-caquinhos-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  display: block;
}

.divider-caquinhos-img {
  width: 100%;
  height: auto;
  margin-top: -10px;
  display: block;
  object-fit: cover;
}

/* ==========================================
   SEÇÃO SOBRE MIM (QUEM SOU EU)
   ========================================== */

.about-section {
  max-width: 1080px; /* Aumentado para acomodar confortavelmente as duas colunas */
  margin: 40px auto;
  padding: 0 1rem;
  background-color: transparent;
  box-shadow: none;
}

/* Imagem de Título */
.about-header-img-wrapper {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 25px auto;
  text-align: center;
}

.about-header-img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- NAVEGAÇÃO DE ABAS --- */
.about-tabs-nav {
  display: flex;
  align-items: flex-end;
  position: relative;
  z-index: 2;
  padding-left: 1rem;
}

.about-tab-btn {
  border: none;
  font-family: "Barlow", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 0.85rem 1.6rem 0.75rem 1.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.about-tab-btn:nth-child(2) {
  margin-left: -18px;
  padding-left: 2.2rem;
}

.about-tab-btn:not(.active) {
  background: linear-gradient(135deg, #ff9d00 0%, #e08b00 100%);
  color: var(--brand-vinho-dark);
  border-radius: 18px 22px 0 0;
  z-index: 1;
}

.about-tab-btn:not(.active):hover {
  background: #ff9d00;
  transform: translateY(-2px);
}

.about-tab-btn.active {
  background-color: var(--brand-white);
  color: var(--brand-vinho-dark);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
  z-index: 10;
}

/* --- CONTAINER E CONTEÚDO DAS ABAS --- */
.about-tabs-container {
  background-color: transparent;
  box-shadow: none;
  padding: 0;
  margin-top: -1px;
}

.about-tab-content {
  display: none;
  background-color: var(--brand-white);
  border-radius: 0 var(--border-radius-lg) var(--border-radius-lg)
    var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: 35px 40px;
  opacity: 0;
  transform: translateY(12px);
  will-change: opacity, transform;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-tab-content.active {
  display: block;
}

.about-tab-content.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- GRID 50% / 50% --- */
.about-grid-50 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* Inverte no Desktop (Texto na Esquerda / Foto na Direita) */
.about-grid-50.reverse-layout .about-col-img {
  order: 2;
}

.about-grid-50.reverse-layout .about-col-text {
  order: 1;
}

/* Garante que no Mobile a foto continue em cima do texto */
@media (max-width: 767px) {
  .about-grid-50.reverse-layout .about-col-img {
    order: 1 !important;
  }
  .about-grid-50.reverse-layout .about-col-text {
    order: 2 !important;
  }
}

.about-col-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-profile-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-sm);
}

/* --- ESTILOS DE TEXTO --- */
.about-col-text p {
  font-family: "Barlow", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--brand-dark);
  margin-bottom: 1rem;
  text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.about-col-text p:last-child {
  margin-bottom: 0;
}

.about-col-text strong {
  font-weight: 800;
  color: var(--brand-vinho-dark);
}

/* ==========================================
   BLOCO 3: 13 COMPROMISSOS
   ========================================== */

.commitments-section {
  background-color: #ffffff;
  padding: 2.5rem 1rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-lg);
}

.commitments-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  width: 100%;
}

/* Padrão Desktop */
.commitments-title-desktop {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
}

/* Esconde a versão dividida mobile no Desktop/Tablet */
.commitments-title-mobile-wrapper {
  display: none;
}

.commitments-title-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  object-fit: contain;
}

.commitments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.commitment-card {
  position: relative;
  background-color: var(--brand-white);
  padding: 1.5rem 1.25rem 1.25rem 1.25rem;
  border-radius: var(--border-radius-md);
  border: 2px solid var(--brand-amarelo);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.commitment-card h3 {
  font-family: "Barlow", sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brand-vermelho);
}

.card-num-img {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 48px;
  height: 48px;
  object-fit: contain;
  z-index: 10;
}

.commitment-card p {
  font-size: 0.9rem;
  color: var(--brand-dark);
}

/* CARD 13 (DESTAQUE ESPECIAL) */
.commitment-card-featured {
  background-color: var(--brand-white);
  padding: 1.75rem 2.5rem;
  border-radius: var(--border-radius-lg);
  border: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: fit-content;
  max-width: 90%;
  margin: 1.5rem auto 0 auto;
  box-shadow: var(--shadow-lg);
}

.card-num-large-img {
  position: static;
  width: 130px;
  height: 130px;
  object-fit: contain;
  flex-shrink: 0;
  padding-right: 1.5rem;
  border-right: 2px dotted var(--brand-vermelho);
}

.commitment-card-featured .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  text-align: left;
}

.commitment-card-featured .commitment-title {
  font-family: "Barlow", sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--brand-vermelho);
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
}

.commitment-card-featured p {
  font-size: 1rem;
  color: var(--brand-dark);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

/* ==========================================
   BLOCO 4 E 5: ATUAÇÃO E PARLAMENTAR
   ========================================== */

.atuacao-section,
.parliamentary-section {
  margin-bottom: 2.5rem;
}

.atuacao-banner-img-wrapper {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 1.5rem auto;
  text-align: center;
}

.atuacao-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.atuacao-mosaico-wrapper {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: none;
  background-color: transparent;
}

.atuacao-mosaico-img {
  width: 100%;
  height: auto;
  display: block;
}

.atuacao-linha-dados-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
}

.atuacao-linha-dados-img {
  width: 100%;
  height: auto;
  display: block;
}

.parliamentary-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.parl-filter-btn {
  background-color: var(--brand-white);
  color: var(--brand-vinho);
  border: 1px solid var(--brand-vermelho);
  padding: 0.45rem 0.9rem;
  border-radius: var(--border-radius-pill);
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.parl-filter-btn.active,
.parl-filter-btn:hover {
  background-color: var(--brand-vermelho);
  color: var(--brand-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.project-card {
  background-color: var(--brand-white);
  padding: 1.1rem 1rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--brand-gray-light);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

/* Efeito Hover nos cards clicáveis */
.project-card:not(.no-link):hover {
  transform: translateY(-4px);
  border-color: var(--brand-vermelho);
  box-shadow: var(--shadow-md);
}

.project-title {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--brand-vermelho);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.project-star {
  color: var(--brand-amarelo);
  font-size: 0.8rem;
  flex-shrink: 0;
}
/* Ícone indicando link externo */
.project-external-icon {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--brand-gray);
  opacity: 0.6;
  transition: var(--transition);
}

.project-card:hover .project-external-icon {
  color: var(--brand-vermelho);
  opacity: 1;
}
/* Estilo para PLs ainda sem link (manutenção fácil) */
.project-card.no-link {
  cursor: default;
  opacity: 0.95;
}

.project-card.no-link:hover {
  transform: none;
  border-color: var(--brand-gray-light);
  box-shadow: var(--shadow-sm);
}
.project-desc {
  font-size: 0.82rem;
  color: var(--brand-dark);
  line-height: 1.4;
}

.section-action-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.material-pill-btn {
  background-color: var(--brand-vermelho);
  color: var(--brand-white);
  padding: 0.85rem 2rem;
  border-radius: var(--border-radius-pill);
  text-decoration: none;
  font-weight: 800;
  font-family: "Barlow", sans-serif;
  text-transform: uppercase;
  transition: var(--transition);
}

.material-pill-btn:hover {
  background-color: var(--brand-amarelo);
  color: var(--brand-vinho-dark);
}
/* Badges de Identificação da Categoria no Topo do Card */
.project-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: "Barlow", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

/* Cores temáticas harmonizadas com a identidade */
.tag-educacao {
  background-color: #fef08a;
  color: #854d0e;
}

.tag-pcds {
  background-color: #dbeafe;
  color: #1e40af;
}

.tag-mulheres {
  background-color: #fce7f3;
  color: #9d174d;
}

.tag-cultura {
  background-color: #f3e8ff;
  color: #6b21a8;
}

.tag-meio-ambiente {
  background-color: #dcfce7;
  color: #166534;
}

.tag-ciencia {
  background-color: #ffedd5;
  color: #9a3412;
}

/* ==========================================
   BLOCO 6: NOSSOS MATERIAIS
   ========================================== */

.materiais-section {
  margin: 3.5rem auto;
  padding: 1rem 0 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.materiais-header {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 2.5rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.materiais-title-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.materiais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  align-items: center;
  justify-items: center;
}

.material-card {
  display: block;
  text-decoration: none;
  background: transparent;
  transition: var(--transition);
  cursor: pointer;
  max-width: 320px;
  width: 100%;
}

.material-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.material-card.coming-soon {
  cursor: default;
}

.material-card.coming-soon:hover {
  transform: none;
}

.material-cover-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.15));
  transition: var(--transition);
}

.material-card:hover .material-cover-img {
  filter: drop-shadow(0 16px 26px rgba(86, 8, 8, 0.25));
}

/* ==========================================
   AJUSTES RESPONSIVOS PARA MATERIAIS
   ========================================== */

@media (max-width: 991px) {
  .materiais-grid {
    gap: 1.5rem;
  }
}

/* ==========================================================================
   FOOTER SECTION OFICIAL (DESKTOP: BOTÕES -> LULA -> ELIKA -> BENÉ -> CONTATO)
   ========================================================================== */

footer {
  width: 100%;
  background-color: var(--brand-vinho-dark);
  color: var(--brand-white);
  padding: 1.75rem 1rem 1rem 1rem;
  border-top: 3px solid var(--brand-amarelo);
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Linha Principal do Desktop: Grade simétrica de 5 colunas */
.footer-main-row {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr) minmax(0, 1fr) auto minmax(0, 1fr)
    minmax(0, 1.2fr);
  grid-template-areas: "buttons lula elika bene contatos";
  align-items: center;
  justify-items: center;
  gap: 1rem;
  width: 100%;
}

/* 1. Coluna de Botões (Esquerda) */
.footer-col-buttons {
  grid-area: buttons;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.footer-btn img {
  height: 25px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* 2, 3 e 4. Colunas das Logos */
.footer-col-lula {
  grid-area: lula;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-col-logo-center {
  grid-area: elika;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
}

.footer-col-bene {
  grid-area: bene;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-logo-partner {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-main {
  height: 90px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* 5. Coluna de Contatos Sozinho (Direita) */
.footer-col-contatos {
  grid-area: contatos;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-contatos-inline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-contatos-inline .contatos-title {
  color: var(--brand-amarelo);
  font-family: "Barlow", sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.footer-contatos-inline .contatos-icons {
  display: flex;
  gap: 0.5rem;
}

.footer-contatos-inline .contatos-icons a {
  color: var(--brand-white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-contatos-inline .contatos-icons a:hover {
  background-color: var(--brand-amarelo);
  color: var(--brand-vinho-dark);
  transform: translateY(-2px);
}

/* Linha de Copyright */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ==========================================
   AJUSTES TABLET ( 768px até 991px )
   ========================================== */
@media (max-width: 991px) and (min-width: 768px) {
  .footer-logo-partner {
    height: 40px;
  }
  .footer-logo-main {
    height: 70px;
  }
  .footer-btn img {
    height: 28px;
  }
}
/* ==========================================
   TABLET E DESKTOP INTERMEDIÁRIO ( >= 768px )
   ========================================== */

@media (min-width: 768px) {
  .footer-logo-box .logo-img {
    height: 72px;
  }

  .slogan-title-dark {
    font-size: 2.8rem;
  }

  .slogan-badge-skew {
    font-size: 1.5rem;
  }

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

  .commitments-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 20px;
    margin-right: 20px;
  }

  .commitment-card-featured.full-width {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ==========================================
   DESKTOP LARGE ( >= 992px )
   ========================================== */

@media (min-width: 992px) {
  main {
    padding-top: 0 !important;
  }

  .nav-container {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "left logo right";
    row-gap: 0;
    padding: 0.6rem 1rem;
  }

  .header-social-links {
    grid-area: auto;
    margin-left: 0.5rem;
  }

  .mobile-nav-drawer {
    left: 1rem;
    right: auto;
    width: max-content;
    min-width: 260px;
    max-width: 320px;
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
  }

  .header-logo-box {
    grid-area: logo;
    justify-self: center;
    position: static;
    transform: none;
  }

  .header-right {
    grid-area: right;
    justify-self: end;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .mobile-nav-item {
    padding: 0.6rem 1rem;
    white-space: nowrap;
    transition: var(--transition);
  }

  .mobile-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
  }

  /* Hero Full Width */
  .hero-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-image: url("/imgs/sunset_background.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    margin-top: 0;
    margin-bottom: 0 !important; /* ZERA O ESPAÇO COM OS CAQUINHOS */
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    gap: 2rem;
    min-height: 580px;
    height: auto;
    overflow: hidden;
    padding: 5.5rem calc((100vw - 1200px) / 2 + 1rem) 0 !important;
  }

  /* Divisor 100vw em fluxo normal colado logo abaixo do Hero */
  .divider-caquinhos-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0 !important; /* Encosta imediatamente na base do pôr do sol */
    margin-bottom: 2.5rem !important; /* Espaço para a seção seguinte */
    height: auto;
    overflow: hidden;
  }

  .divider-caquinhos-img {
    width: 100%;
    max-height: 85px;
    object-fit: cover;
    object-position: top center;
  }

  .curved-border {
    display: none;
  }

  .hero-left-col {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
  }

  .slogan-container,
  .hero-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
  }

  .hero-image-wrapper picture {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .hero-image {
    position: relative;
    display: block;
    bottom: 0;
    width: 100%;
    max-width: 720px;
    height: auto !important;
    object-fit: contain;
    object-position: bottom center;
    transform: scale(1.75);
    transform-origin: bottom center;
    margin-bottom: -18px;
  }

  .form-card {
    z-index: 10;
    margin-top: 1rem;
    margin-bottom: 2rem !important;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.96);
    padding: 1.5rem 1.75rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 16px 40px rgba(86, 8, 8, 0.2);
    max-width: 480px;
    justify-self: center;
    width: 100%;
  }
  .slogan-content {
    padding: 0;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slogan-img {
    max-width: 280px;
  }

  .slogan-badge-skew {
    margin-top: 0;
    font-size: 1.2rem;
    padding: 0.15rem 1.2rem;
  }

  .slogan-title-dark {
    font-size: 2.2rem;
  }

  .form-grid {
    gap: 0.65rem;
  }

  .form-group {
    margin-top: 0;
    gap: 0.2rem;
  }

  .form-group label {
    font-size: 0.75rem;
  }

  .form-group input,
  .form-group select {
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
  }

  .submit-btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.95rem;
    margin-top: 0.25rem;
  }

  .commitments-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================
   AJUSTES EXCLUSIVOS PARA MOBILE ( < 768px )
   ========================================== */

@media (max-width: 767px) {
  /* --- 1. CONTROLE DE TAMANHOS NO CELULAR --- */
  :root {
    --nav-menu-btn-h: 30px;
    --nav-apoie-btn-h: 26px;
    --nav-logo-h: 38px;
  }

  main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* --- 2. HEADER MOBILE 100% CENTRALIZADO --- */
  .nav-container {
    display: grid !important;
    /* Coluna esquerda e direita com largura idêntica travada em 1fr */
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    grid-template-areas: "left logo right" !important;
    align-items: center !important;
    padding: 0.4rem 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Bloco Esquerdo: alinhado à esquerda */
  .header-left {
    grid-area: left !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 0 !important;
  }
  .form-group label {
    font-size: 0.9rem;
  }

  .header-left .apoie-btn {
    display: none !important;
  }

  /* Logo Central: fixada exatamente no meio da tela */
  .header-logo-box {
    grid-area: logo !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 0.5rem !important;
    margin: 0 !important;
  }

  .logo-img {
    height: var(--nav-logo-h) !important;
    max-height: 44px !important;
    width: auto !important;
    display: block !important;
    object-fit: contain !important;
  }

  /* Bloco Direito: alinhado à direita */
  .header-right {
    grid-area: right !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 0 !important;
  }

  .header-right .quero-material-btn {
    display: none !important;
  }

  /* Redes Sociais compactas no mobile */
  .header-social-links {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.4rem !important;
  }

  .social-icon-img {
    height: var(--nav-social-size) !important;
    width: auto !important;
  }

  /* Ajuste no Menu Drawer Suspenso */
  .mobile-nav-drawer {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg) !important;
    padding: 1.25rem 1rem !important;
  }
  /* --- 3. DEMAIS SEÇÕES MOBILE (MANTIDAS) --- */
  .hero-section {
    position: relative;
    margin-top: 0;
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
    margin-bottom: 0 !important;
  }

  .divider-caquinhos-wrapper {
    display: none !important;
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
  }

  .divider-caquinhos-img {
    width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: cover;
  }

  .hero-image-wrapper {
    aspect-ratio: 4/3.8;
    border-radius: 0;
  }

  .hero-image {
    object-position: center 130%;
  }

  .slogan-container {
    border-radius: 0;
  }

  .form-card {
    padding: 0 1.25rem;
    position: relative;
    z-index: 20;
  }

  .slogan-content {
    margin-top: -80px;
    margin-bottom: 1.9rem;
    padding: 0;
  }

  .slogan-img {
    max-width: 350px;
  }

  /* --- SEÇÃO SOBRE MIM NO MOBILE --- */
  .about-section {
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
    padding: 0 0.75rem;
  }

  .about-header-img-wrapper {
    max-width: 85%;
  }

  .about-tabs-nav {
    flex-direction: row;
    align-items: flex-end;
    padding-left: 0.5rem;
    gap: 0;
  }

  .about-tab-btn {
    font-size: 0.85rem;
    padding: 0.6rem 0.85rem 0.5rem 0.85rem;
    justify-content: center;
    border-radius: 12px 14px 0 0 !important;
  }

  .about-tab-btn:nth-child(2) {
    margin-left: -12px;
    padding-left: 1.2rem;
    border-radius: 12px 16px 0 0 !important;
  }

  .about-tab-content {
    padding: 20px 16px;
    border-radius: 0 12px 12px 12px;
    margin-top: 0;
  }

  .about-grid-50 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-profile-img {
    max-width: 100%;
  }

  /* Demais seções mobile */
  .commitments-section {
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 2.5rem 1.25rem;
  }

  .commitments-grid {
    padding-left: 0;
  }

  .commitments-title-img {
    max-width: 90%;
  }
  /* --- TÍTULO 13 COMPROMISSOS DIVIDIDO NO MOBILE (COLADO) --- */
  .commitments-title-desktop {
    display: none !important;
  }

  .commitments-title-mobile-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .commitments-title-part {
    display: block !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .commitments-title-part.part-top {
    max-width: 82% !important;
    margin-bottom: 0 !important;
  }

  .commitments-title-part.part-bottom {
    position: relative !important;
    max-width: 42% !important;
    margin-top: -28px !important; /* Ajuste aqui: quanto mais negativo (-20px, -30px, -40px), mais colado fica */
  }

  .atuacao-mosaico-wrapper {
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
    border-radius: 0;
  }

  .commitment-card-featured {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1.5rem;
    gap: 0.85rem;
    width: 100%;
    max-width: 100%;
  }

  .card-num-large-img {
    width: 60px;
    height: 60px;
    padding-right: 0;
    padding-bottom: 0.5rem;
    border-right: none;
    border-bottom: 2px dotted var(--brand-vermelho);
  }

  .commitment-card-featured .card-content {
    text-align: center;
  }

  .commitment-card-featured .commitment-title {
    font-size: 1.4rem;
  }

  .commitment-card-featured p {
    font-size: 0.9rem;
  }

  .materiais-section {
    margin: 2.5rem 0 1.5rem 0;
  }

  .materiais-header {
    max-width: 80%;
    margin-bottom: 1.5rem;
  }

  .materiais-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
    padding: 0 0.5rem !important;
    width: 100% !important;
  }

  .material-card {
    max-width: 100% !important;
  }

  /* --- FOOTER MOBILE (3 LOGOS NA MESMA LINHA -> BOTÕES -> CONTATOS) --- */
  .footer-main-row {
    display: grid !important;
    /* 3 colunas para acomodar: Lula (esq) | Elika (centro) | Bené (dir) */
    grid-template-columns: 1fr auto 1fr !important;
    grid-template-areas:
      "lula elika bene"
      "buttons buttons buttons"
      "contatos contatos contatos" !important;
    gap: 1.25rem 0.6rem !important;
    align-items: center !important;
    justify-items: center !important;
    width: 100% !important;
    padding: 0.5rem 0 !important;
  }

  /* 1. Logo Lula (Esquerda da trinca) */
  .footer-col-lula {
    grid-area: lula !important;
    justify-self: center !important;
    width: 100% !important;
  }

  /* 2. Logo Elika (Centro da trinca) */
  .footer-col-logo-center {
    grid-area: elika !important;
    justify-self: center !important;
    padding: 0 0.25rem !important;
  }

  /* 3. Logo Benedita (Direita da trinca) */
  .footer-col-bene {
    grid-area: bene !important;
    justify-self: center !important;
    width: 100% !important;
  }

  /* Aplicação das variáveis de controle */
  .footer-logo-main {
    height: 55px;
    width: auto !important;
    max-width: 130px !important;
  }

  .footer-logo-partner {
    height: 40px !important;
    width: auto !important;
    max-width: 95px !important;
  }

  /* 4. Coluna de Botões (Abaixo das 3 logos) */
  .footer-col-buttons {
    grid-area: buttons !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .footer-btn img {
    height: 30px !important;
    max-width: 90vw !important;
  }

  /* 5. Contatos Sozinho na Base */
  .footer-col-contatos {
    grid-area: contatos !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 0.2rem !important;
  }

  .footer-contatos-inline {
    justify-content: center !important;
  }
}
