/*
Theme Name: Zé Dirceu - Plenária
Theme URI: https://zedirceuoficial.com.br/
Author: Equipe Zé Dirceu
Description: Landing page do Zap/Plenária do Zé Dirceu — hero em carrossel, formulário de inscrição (salvo no WordPress) e grupo do WhatsApp.
Version: 1.9
License: GNU General Public License v2 or later
Text Domain: ze-dirceu
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; background: #fff; }
#masthead { display: none !important; }

/* full bleed — quebra qualquer container do WordPress */
.wp-block-html {
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.entry-content, .post-content, .wp-block-post-content,
.site-main, #main, #content, .content-area,
.wp-block-group__inner-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
img { display: block; }
.wp-block-paragraph:empty { display: none !important; }
.wp-block-paragraph:empty::before { content: none !important; }
footer#colophon, footer#colophon .footer-width-fixer { display: none !important; }
a { text-decoration: none; outline: none; }
header, .slider, .historia, footer { display: block; }
section { display: block; }

:root {
  --rosa:    #E0175C;
  --verde:   #37DB2A;
  --amarelo: #F5C200;
  --escuro:  #111111;
  --branco:  #FFFFFF;
}

header {
  position: sticky; top: 0; z-index: 999;
  background: var(--rosa);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 48px; gap: 16px;
}
.logo {
  display: flex; align-items: center;
  justify-content: flex-start;
  min-width: 140px;
}
.logo img {
  width: auto !important;
  max-width: none !important;
  height: 46px !important;
}
.logo-nome {
  font-family: 'Oswald', sans-serif; font-weight: 900;
  font-size: 20px; color: #fff; text-transform: uppercase; letter-spacing: 1px;
}
.logo-sub {
  font-family: 'Roboto', sans-serif; font-size: 8.5px;
  color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px;
}
nav {
  display: flex; gap: 32px;
  justify-content: center;
  align-items: center;
}
nav a {
  font-family: 'Roboto', sans-serif; font-size: 13px; font-weight: 500;
  color: #fff; text-transform: uppercase; letter-spacing: 1px; transition: opacity .2s;
  white-space: nowrap;
}
nav a:hover { opacity: .7; }

.header-btns {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  grid-column: 3;
}

/* botão hambúrguer — escondido no desktop */
.hamburger {
  display: none;
  width: 42px; height: 42px; padding: 9px;
  background: transparent; border: none; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.hamburger span {
  display: block; height: 3px; width: 100%;
  background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s;
}
body.menu-open .hamburger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Roboto', sans-serif; font-weight: 700;
  font-size: clamp(9px, 1vw, 11.5px);
  text-transform: uppercase; letter-spacing: .4px;
  padding: clamp(6px, 0.8vw, 9px) clamp(10px, 1.4vw, 16px);
  border-radius: 4px; cursor: pointer; border: none;
  white-space: nowrap; min-width: 0; transition: opacity .2s, transform .1s;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-verde   { background: #09bb4a; color: #fff; }
.btn-amarelo { background: var(--amarelo); color: var(--escuro); }

.slider {
  position: relative; overflow: hidden;
  background: var(--rosa);
  line-height: 0;
}
.slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .8s ease; pointer-events: none;
}
.slide.active {
  position: relative; opacity: 1; pointer-events: auto;
}
/* slide inativo NUNCA ocupa espaço — fica sobreposto e invisível
   (sobrepõe o position:relative !important do .slide-1) */
.slide:not(.active) {
  position: absolute !important; inset: 0; opacity: 0; pointer-events: none;
}

.slide-1 {
  display: flex; align-items: flex-end;
  min-height: 560px; overflow: hidden;
  position: relative !important;
}
.s1-bg {
  position: absolute; inset: 0;
  background: url('https://zedirceuoficial.com.br/wp-content/uploads/2026/05/bg-hero.jpg') center/cover no-repeat;
}
.s1-inner {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 0 60px;
  min-height: 560px;
}
.s1-images {
  position: absolute !important; 
  bottom: 0 !important; 
  left: 60px;
  right: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end !important;
  gap: 16px;
  z-index: 1;
}
.hero-logo-img {
  width: 400px; height: auto;
  flex-shrink: 0;
  margin-inline-end: 20px;
  margin-bottom: 0 !important;
  transform: translateY(-32px) !important;
  display: block;
}
.s1-foto {
  flex-shrink: 0;
  width: clamp(340px, 46vw, 560px);   /* mesmo padrão do banner azul */
  align-self: flex-end;
  line-height: 0;
  margin-bottom: 0 !important;
  transform: translateY(0) !important;
}
.s1-foto img { width: 100%; height: auto; display: block; margin-bottom: 0 !important; }

.s1-texto {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  width: calc(100% - 120px);
  margin: 0 auto;
  padding: 0 60px;
  color: #fff;
  text-align: center;
}
.s1-texto h2 {
  font-family: 'Oswald', sans-serif; font-weight: 900;
  font-size: 64px; line-height: 1.15;
  text-transform: uppercase; letter-spacing: 2px;
  text-shadow: 2px 2px 14px rgba(0,0,0,.45);
  color: #fff;
  margin: 0;
}
.s1-texto .btn {
  display: inline-flex;
  font-size: 18px;
  padding: 18px 28px;
  line-height: 1.2;
  letter-spacing: .6px;
  white-space: normal;
  text-align: center;
  width: auto;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.slide-2 {
  display: flex; align-items: flex-end;
  min-height: 560px; overflow: hidden;
}
.s2-bg {
  position: absolute; inset: 0;
  background: url('https://zedirceuoficial.com.br/wp-content/uploads/2026/05/bg-historia.jpg') center/cover no-repeat;
}
.s2-bg::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,.52);
}
.s2-inner {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 0 60px;
  min-height: 560px;
}
.s2-texto {
  display: flex; flex-direction: column; justify-content: center;
  padding-bottom: 50px; flex: 1;
}
.s2-texto h2 {
  font-family: 'Oswald', sans-serif; font-weight: 900;
  font-size: 76px; color: #fff; text-transform: uppercase;
  line-height: 1.15; text-shadow: 2px 2px 8px rgba(0,0,0,.55);
  margin-bottom: 32px; letter-spacing: 2px;
}
.s2-foto {
  flex-shrink: 0; width: 540px; overflow: hidden;
  align-self: flex-end;
  line-height: 0;
  margin-bottom: 0;
}
.s2-foto img { width: 100%; height: auto; display: block; margin-top: -60px; }

.arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,.35); border: 2px solid rgba(255,255,255,.45);
  color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; user-select: none;
}
.arrow:hover { background: rgba(0,0,0,.65); }
.arrow-prev { left: 14px; }
.arrow-next { right: 14px; }

.dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 20;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer; transition: background .3s;
}
.dot.on { background: #fff; }

.historia {
  background: #fff;
  padding: 80px 60px;
  border-top: 5px solid var(--verde);
  border-bottom: 5px solid var(--verde);
}
.historia-in {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 38% 1fr; gap: 60px; align-items: start;
}
.h-esq h2 {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400;
  font-size: clamp(70px, 6vw, 96px) !important;
  color: #545454; text-transform: uppercase;
  line-height: 1; margin-bottom: 36px;
}
.h-esq .stack {
  display: flex; flex-direction: column; gap: 14px; align-items: stretch;
}
.h-esq .btn {
  font-size: 14px; font-weight: 700;
  padding: 18px 24px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .6px;
  border-radius: 5px;
  width: 100%;
}
.h-dir p {
  font-family: 'RAG 123', sans-serif;
  font-size: 17px;
  color: #333; line-height: 1.85; margin-bottom: 16px;
}
.h-dir .rag-text {
  font-family: 'RAG 123', sans-serif;
  font-size: 17px;
}

.btn-zap  { background: #25D366; color: #fff; }
.btn-azul { background: #1D5FD0; color: #fff; }

/* ===== BANNER AZUL PLENÁRIA (slide 2 do hero) ===== */
.slide-plenaria {
  min-height: 560px; overflow: hidden;
  align-items: flex-end;
}
.slide-plenaria.active { display: flex; }
.pb-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(24,72,196,.88) 0%, rgba(30,86,210,.82) 55%, rgba(36,96,220,.74) 100%),
    url('assets/banner-bg.jpg') center/cover no-repeat;
}
.pb-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 60px; min-height: 560px;
}
.pb-texto { flex: 1; align-self: flex-end; padding-bottom: 80px; }
.pb-texto h2 {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: clamp(34px, 4.8vw, 62px); line-height: 1.16; color: #fff;
  text-transform: uppercase; letter-spacing: .5px; white-space: nowrap;
  text-shadow: 2px 2px 12px rgba(0,0,0,.4); margin-bottom: 26px;
}
.pb-btn {
  display: inline-block; background: var(--amarelo); color: #555555;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(18px, 1.8vw, 26px);
  text-transform: uppercase; letter-spacing: 2px;
  padding: clamp(15px, 1.5vw, 20px) clamp(36px, 3.4vw, 52px);
  border-radius: 3px; transition: opacity .2s, transform .1s;
}
.pb-btn:hover { opacity: .9; transform: translateY(-1px); }
.pb-foto {
  align-self: flex-end; flex-shrink: 0; margin-bottom: 0;
  width: clamp(340px, 46vw, 560px);   /* mesmo padrão do banner vermelho */
  line-height: 0;
}
.pb-foto img { width: 100%; height: auto; display: block; }  /* fluxo normal: gruda embaixo, ombros inteiros */

/* ===== FORMULÁRIO PLENÁRIA — modal no PC ===== */
.plenaria-modal {
  position: fixed; inset: 0; z-index: 1500;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 88px 20px 16px;   /* afasta do header fixo no topo */
  overflow: hidden;
}
.plenaria-modal[hidden] { display: none; }
.pm-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.65); backdrop-filter: blur(2px);
}
.pm-dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px; overflow: visible;
  border-radius: 6px; animation: pm-in .25s ease;
}
.pm-dialog .pf-card { margin: 0 auto; transform-origin: top center; }
.pm-dialog .pf-body { padding: 20px 26px 12px; }
.pm-dialog .pf-form { gap: 6px 12px; }
.pm-dialog .pf-body h3 { font-size: 22px; }
.pm-dialog .pf-sub { font-size: 14px; margin-bottom: 8px; }
.pm-dialog .pf-form > label input { padding: 7px 11px; }
header { z-index: 1600; }   /* header continua visível por cima do modal */

/* ===== MOBILE: hero visível e compacto ===== */
@media (max-width: 900px) {
  #home { display: block !important; }
}
@keyframes pm-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.pf-head-wrap { position: relative; line-height: 0; }
.pf-card {
  max-width: 560px; margin: 0 auto;
  background: #FCFDED; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.3);
  line-height: 0;
}
.pf-head, .pf-foot { width: 100%; height: auto; display: block; }
.pf-body { padding: 22px 30px 14px; line-height: 1.3; }
.pf-body h3 {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: clamp(20px, 3vw, 26px); color: #333; text-align: center;
  text-transform: uppercase; letter-spacing: .5px; line-height: 1.05;
}
.pf-sub {
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 19px;
  color: var(--rosa); text-align: center; text-transform: uppercase; margin-bottom: 12px;
}
.pf-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px;
  align-items: end;
}
.pf-form .full { grid-column: 1 / -1; }
.pf-form > label {
  display: flex; flex-direction: column; gap: 3px;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 13px;
  color: #333; text-transform: uppercase; letter-spacing: .5px;
}
.pf-form > label input[type="text"],
.pf-form > label input[type="tel"],
.pf-form > label input[type="email"] {
  width: 100%; padding: 9px 12px; border: 1px solid #999; border-radius: 7px;
  background: #fff; font-family: 'Roboto', sans-serif; font-size: 15px; color: #222;
}
.pf-form input:focus { outline: 2px solid #1D5FD0; }
.pf-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pf-radio {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 14px;
  color: #333; text-transform: uppercase; letter-spacing: .5px; margin-top: 8px;
}
.pf-radio .pf-radio-opts { display: inline-flex; align-items: center; gap: 18px; }
.pf-radio label {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; cursor: pointer;
}
/* grupo dos checkboxes — alinhados à esquerda, um embaixo do outro */
.pf-checks {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 10px; max-width: 380px; margin: 10px auto 0;
}
.pf-check {
  display: flex; flex-direction: row !important; align-items: center; gap: 9px;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 13px;
  color: #1b7a2e; text-transform: uppercase; letter-spacing: .5px; cursor: pointer;
  text-align: left;
}

/* ----- radio e checkbox customizados (padrão verde da página) ----- */
.pf-radio input[type="radio"],
.pf-check  input[type="checkbox"],
.pf-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; margin: 0; flex-shrink: 0;
  width: 18px; height: 18px; border: 2px solid #9aa0a6; background: #fff;
  cursor: pointer; position: relative; transition: border-color .15s, background .15s;
}
.pf-radio input[type="radio"] { border-radius: 50%; }
.pf-check  input[type="checkbox"],
.pf-consent input[type="checkbox"] { border-radius: 5px; }

.pf-radio input[type="radio"]:hover,
.pf-check  input[type="checkbox"]:hover,
.pf-consent input[type="checkbox"]:hover { border-color: var(--verde); }

/* selecionado */
.pf-radio input[type="radio"]:checked { border-color: var(--verde); }
.pf-radio input[type="radio"]:checked::after {
  content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--verde);
}
.pf-check  input[type="checkbox"]:checked,
.pf-consent input[type="checkbox"]:checked { background: var(--verde); border-color: var(--verde); }
.pf-check  input[type="checkbox"]:checked::after,
.pf-consent input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.pf-radio input:focus-visible,
.pf-check input:focus-visible,
.pf-consent input:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; }
.pf-consent {
  display: flex; flex-direction: row !important; align-items: center; gap: 9px;
  font-weight: 700 !important; text-transform: uppercase !important;
  font-family: 'Oswald', sans-serif !important; font-size: 13px !important; color: #444;
  letter-spacing: .5px !important; line-height: 1.2;
  cursor: pointer; text-align: left; margin: 0;
}
.pf-consent input { flex-shrink: 0; }
.pf-enviar {
  justify-self: center; margin-top: 10px; min-width: 220px;
  background: var(--verde); color: #fff; border: none; cursor: pointer;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 17px;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 12px 52px; border-radius: 6px; transition: opacity .2s, transform .1s;
}
.pf-enviar:hover { opacity: .9; transform: translateY(-1px); }
.pf-enviar:disabled { cursor: default; }
.pf-enviar--ok { background: #1b7a2e; opacity: 1 !important; }
.pf-enviar--ok::before { content: "\2714  "; }
.pf-erro {
  font-family: 'Roboto', sans-serif; font-size: 13px; font-weight: 700;
  color: #c0162f; text-align: center; margin: 0;
}

/* botão "Ler os termos de uso" (estilo pílula contornada) */
.pf-termos-link {
  justify-self: center; margin: 10px auto 2px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: #fff; color: var(--rosa);
  border: 1.5px solid var(--rosa); border-radius: 999px; cursor: pointer;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 9px 22px; transition: background .2s, color .2s;
}
.pf-termos-link svg { width: 15px; height: 15px; color: currentColor; flex-shrink: 0; }
.pf-termos-link:hover { background: var(--rosa); color: #fff; }

/* modal dos termos */
.termos-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.termos-modal[hidden] { display: none; }
.tm-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.tm-dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 10px; padding: 32px 30px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35); animation: pm-in .25s ease;
}
.tm-close {
  position: absolute; top: 12px; right: 16px; border: none; background: none;
  font-size: 28px; line-height: 1; color: #999; cursor: pointer;
}
.tm-close:hover { color: #555; }
.tm-dialog h3 {
  font-family: 'Oswald', sans-serif; font-weight: 900;
  font-size: clamp(18px, 2.4vw, 22px); color: var(--rosa);
  text-transform: uppercase; line-height: 1.2; margin-bottom: 16px; padding-right: 24px;
}
.tm-dialog p {
  font-family: 'Roboto', sans-serif; font-size: 14.5px; color: #444;
  line-height: 1.55; margin-bottom: 14px;
}
.tm-ok {
  display: block; margin: 6px auto 0;
  background: var(--rosa); color: #fff; border: none; cursor: pointer;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 13px 40px; border-radius: 8px; transition: opacity .2s;
}
.tm-ok:hover { opacity: .9; }
.pf-fechar {
  justify-self: center; margin-top: 8px; min-width: 220px;
  background: transparent; color: #666; border: 1px solid #bbb; cursor: pointer;
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 14px;
  text-transform: uppercase; letter-spacing: .8px;
  padding: 8px 40px; border-radius: 6px; transition: background .2s, color .2s, border-color .2s;
}
.pf-fechar:hover { background: #efefef; color: #333; border-color: #888; }
.pf-sucesso {
  text-align: center; margin-top: 18px; padding-top: 20px;
  border-top: 1px dashed #c9c9a8;
}
.pf-check-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--verde); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.pf-check-icon svg { width: 40px; height: 40px; }
.pf-sucesso h4 {
  font-family: 'Oswald', sans-serif; font-weight: 900;
  font-size: clamp(22px, 3vw, 28px); color: var(--rosa);
  text-transform: uppercase; letter-spacing: .5px; line-height: 1.1; margin-bottom: 14px;
}
.pf-sucesso-txt {
  font-family: 'Roboto', sans-serif; font-size: 16px; color: #333;
  line-height: 1.4; margin-bottom: 10px;
}
.pf-sucesso-hint {
  font-family: 'Roboto', sans-serif; font-size: 13px; color: #9a9a9a;
  margin-bottom: 18px;
}
.pf-sucesso-btn {
  display: block; width: 100%;
  background: var(--rosa); color: #fff;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 17px;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 16px 20px; border-radius: 8px;
  transition: opacity .2s, transform .1s;
}
.pf-sucesso-btn:hover { opacity: .92; transform: translateY(-1px); }

@media (max-width: 700px) {
  .pf-body { padding: 8px 20px 18px; }
}

footer {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 5px solid var(--verde);
  border-bottom: 5px solid var(--verde);
}
.f-esq {
  background: var(--rosa); padding: 36px 48px;
  display: flex; align-items: center;
}
.f-dir {
  background: var(--rosa); padding: 36px 48px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 18px;
}
.f-dir h3 {
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 17px;
  color: #fff; text-transform: uppercase; letter-spacing: 1px; text-align: center;
}
.social { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.social a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  opacity: .85; transition: opacity .2s, transform .2s;
  color: #fff;
}
.social a:hover { opacity: 1; transform: scale(1.2); }
.social svg { width: 26px; height: 26px; fill: #fff; color: #fff; }

body .bloco-iframe iframe {
  height: 1150px !important;
}

/* =========================================
   MEDIA QUERIES - MOBILE E TABLET
   ========================================= */
@media (max-width: 900px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 8px;
    gap: 6px;
  }
  nav { display: none; }
  .logo { min-width: auto; flex-shrink: 0; }
  .logo img { height: 32px !important; }

  /* mostra o hambúrguer */
  .hamburger { display: flex !important; }

  /* menu vira dropdown escondido por padrão */
  .header-btns {
    display: none !important;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px;
    background: var(--rosa);
    padding: 12px 16px 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,.25);
    z-index: 998;
  }
  body.menu-open .header-btns { display: flex !important; }
  .header-btns .btn {
    font-size: 14px !important;
    padding: 13px 16px !important;
    white-space: normal !important;
    line-height: 1.2 !important;
    text-align: center !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
  }

  /* Hero vermelho no mobile — compacto e organizado */
  .slide-1 {
    min-height: 320px !important;
    height: auto !important;
    position: relative !important;
    overflow: hidden;
    align-items: flex-end !important;
  }

  .s1-inner {
    position: relative !important;
    padding: 16px 16px 0 !important;
    min-height: 320px !important;
    height: auto !important;
    width: 100%;
    max-width: 100%;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0 !important;
    overflow: hidden;
  }

  .s1-images {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 5;
  }

  .hero-logo-img {
    flex: 0 0 auto;
    width: auto;
    max-width: 200px;
    margin-bottom: 12px !important;
    transform: none !important;
    align-self: center;
  }
  .s1-foto {
    flex: 0 0 auto;
    width: clamp(200px, 60vw, 280px);
    margin-bottom: 0 !important;
    transform: none !important;
    align-self: center;
  }
  .s1-foto img { width: 100% !important; height: auto !important; }

  .s1-bg {
    background-position: center center;
  }

  /* slide azul (PLENÁRIA) no mobile — mesma altura, foto colada embaixo */
  .pb-inner {
    min-height: 200px; height: 200px;
    padding: 0 16px;
    justify-content: center;       /* texto/botão perto da foto */
    align-items: flex-end;
    gap: 6px;
  }
  .pb-texto { flex: 0 1 auto; padding-bottom: 18px; align-self: flex-end; }
  .pb-texto h2 { font-size: clamp(20px, 5.4vw, 30px); margin-bottom: 10px; }
  .pb-btn { font-size: 11px; padding: 8px 14px; letter-spacing: 1px; }
  .pb-foto { width: clamp(150px, 46vw, 200px); align-self: flex-end; }
  .pb-foto img { width: 100%; height: auto; }

  .s2-inner {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    min-height: auto;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    padding: 0 20px;
    gap: 16px;
  }
  .s2-texto {
    flex: 1;
    padding-bottom: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .s2-texto h2 {
    font-size: clamp(22px, 5.5vw, 42px);
    letter-spacing: 0;
    margin-bottom: 0;
    line-height: 1.1;
  }
  .s2-foto {
    width: 40%;
    flex-shrink: 0;
    align-self: flex-end;
    overflow: hidden;
    line-height: 0;
  }
  .s2-foto img { margin-top: 0; width: 100%; height: auto; display: block; }

  .historia { padding: 50px 20px; }
  .historia-in { grid-template-columns: 1fr; gap: 32px; }
  .h-esq h2 { font-size: clamp(56px, 7vw, 72px) !important; }
  footer { grid-template-columns: 1fr; }
  .f-esq, .f-dir { padding: 28px 20px; }

  body .bloco-iframe iframe {
    height: 1080px !important; 
  }
}

@media (max-width: 1100px) {
  .hero-logo-img { max-width: 150px; transform: translateY(-26px) !important; }
  .s1-texto { max-width: 240px; width: min(100%, 240px); }
}

@media (max-width: 1000px) {
  .hero-logo-img { max-width: 150px; transform: translateY(-26px) !important; }
  .s1-texto { max-width: 240px; width: min(100%, 240px); }
}

@media (max-width: 700px) {
  .hero-logo-img { max-width: 170px; transform: none !important; }
  .s1-foto { max-width: 240px; }
}

@media (max-width: 560px) {
  .hero-logo-img { max-width: 150px; transform: none !important; }
  .s1-foto { max-width: 200px; }
}

@media (max-width: 480px) {
  .hero-logo-img { max-width: 130px; transform: none !important; }
  .s1-foto { max-width: 180px; }
  .s1-texto { padding: 0 8px 0; }
  
  body .bloco-iframe iframe {
    height: 1120px !important; 
  }
}

@media (max-width: 375px) {
  .logo img { height: 26px !important; }
  .header-btns { gap: 3px; }
  .header-btns .btn {
    font-size: 7.5px !important;
    padding: 4px !important;
    min-height: 32px !important;
  }
  .s2-texto h2 { font-size: 24px; }

  .slide-1 { min-height: 280px !important; }
  .s1-inner { padding: 12px 12px 0 !important; min-height: 280px !important; }

  .hero-logo-img { max-width: 110px; transform: none !important; }

  .s2-inner { padding: 16px 12px 0; }
  .s1-foto { width: 150px; max-width: 150px; }
  .s2-foto { width: 160px; max-width: 160px; }
}