/*
Theme Name: Barros Munhoz - Mogi Mirim
Theme URI: https://barrosmunhoz.com.br
Author: Gabinete Deputado Barros Munhoz
Author URI: https://barrosmunhoz.com.br
Description: Tema institucional e de conversão para o mandato do Deputado Estadual Barros Munhoz, direcionado ao município de Mogi Mirim/SP. Paleta azul marinho + amarelo ouro + verde campo. Mobile-first, focado em captura de leads.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: barros-munhoz
Tags: political, landing-page, one-page, responsive, custom-colors
*/

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #1A1A1A;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; color: #0A2A5E; line-height: 1.15; margin: 0; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; }

:root {
  --navy: #0A2A5E;
  --navy-deep: #071E42;
  --navy-mid: #1E4A8C;
  --gold: #F5B700;
  --gold-soft: #FFD34D;
  --green: #2E7D32;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --cloud: #F5F7FA;
  --border: #E0E4EB;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy);
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--navy);
  padding: 16px 32px; border-radius: 8px;
  font-weight: 700; font-family: 'Montserrat', sans-serif;
  box-shadow: 0 10px 30px -8px rgba(245,183,0,.6);
  transition: all .3s;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--gold-soft); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #071E42 0%, #0A2A5E 45%, #1E4A8C 100%);
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background:
    radial-gradient(circle at 20% 20%, #F5B700 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, #2E7D32 0%, transparent 40%);
}
.hero__wrap {
  position: relative; display: flex; flex-direction: column-reverse;
  gap: 40px; padding: 64px 0; min-height: auto;
}
@media (min-width: 900px) {
  .hero__wrap { flex-direction: row; align-items: center; gap: 32px; padding: 100px 0; min-height: 92vh; }
}
.hero__text { flex: 1; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  padding: 8px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
}
.hero__title {
  font-size: clamp(36px, 5vw, 56px); margin-top: 24px; color: #fff;
}
.hero__title span { color: var(--gold); }
.hero__sub {
  margin-top: 20px; max-width: 560px; font-size: 19px;
  color: rgba(255,255,255,.85); line-height: 1.6;
}
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.hero__scroll {
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9);
  display: inline-flex; align-items: center; gap: 6px;
}
.hero__scroll:hover { color: var(--gold); text-decoration: underline; }
.hero__image { flex: 1; position: relative; }
.hero__image::before {
  content: ''; position: absolute; top: 16px; right: 16px;
  width: 85%; height: 85%; background: var(--gold); border-radius: 24px;
}
.hero__image img {
  position: relative; z-index: 1; margin: 0 auto;
  max-width: 440px; width: 100%; border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

/* ---------- CONEXAO ---------- */
.conexao { background: #fff; padding: 80px 0; }
@media (min-width: 900px) { .conexao { padding: 112px 0; } }
.conexao__grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .conexao__grid { grid-template-columns: 1.2fr 1fr; } }
.conexao__title { font-size: clamp(28px, 4vw, 40px); margin-top: 12px; }
.conexao__text { margin-top: 24px; color: var(--ink-soft); font-size: 18px; }
.conexao__text p + p { margin-top: 20px; }
.conexao__img { height: 240px; border-radius: 16px; object-fit: cover; box-shadow: 0 8px 24px rgba(10,42,94,.15); }
.stats {
  margin-top: 20px; padding: 32px;
  background: var(--cloud); border-left: 4px solid var(--gold); border-radius: 16px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.stat { text-align: center; }
.stat__n { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 28px; color: var(--navy); }
.stat__l { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- PILARES ---------- */
.pilares { background: var(--cloud); padding: 80px 0; }
@media (min-width: 900px) { .pilares { padding: 112px 0; } }
.pilares__head { max-width: 720px; margin: 0 auto; text-align: center; }
.pilares__title { font-size: clamp(28px, 4vw, 40px); margin-top: 12px; }
.pilares__sub { margin-top: 16px; color: var(--ink-soft); font-size: 18px; }
.pilares__grid {
  margin-top: 56px; display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .pilares__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pilares__grid { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff; border-radius: 16px; padding: 32px;
  box-shadow: 0 4px 24px rgba(10,42,94,.08);
  border-top: 4px solid var(--navy);
  transition: all .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(10,42,94,.15); }
.card--green { border-top-color: var(--green); }
.card--gold { border-top-color: var(--gold); }
.card--mid { border-top-color: var(--navy-mid); }
.card__icon {
  width: 56px; height: 56px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 26px;
  background: rgba(10,42,94,.08); color: var(--navy);
}
.card--green .card__icon { background: rgba(46,125,50,.1); color: var(--green); }
.card--gold  .card__icon { background: rgba(245,183,0,.15); color: var(--gold); }
.card--mid   .card__icon { background: rgba(30,74,140,.1); color: var(--navy-mid); }
.card h3 { font-size: 20px; }
.card p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- FORMULARIO ---------- */
.formulario {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0A2A5E 0%, #071E42 100%);
  padding: 80px 0; color: #fff;
}
@media (min-width: 900px) { .formulario { padding: 112px 0; } }
.formulario__glow-a, .formulario__glow-b {
  position: absolute; width: 384px; height: 384px; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.formulario__glow-a { top: -120px; right: -120px; background: rgba(245,183,0,.1); }
.formulario__glow-b { bottom: -120px; left: -120px; background: rgba(46,125,50,.15); }
.formulario__grid { position: relative; display: grid; gap: 48px; }
@media (min-width: 900px) { .formulario__grid { grid-template-columns: 1fr 1.1fr; align-items: center; } }
.formulario__eyebrow { color: var(--gold); }
.formulario__title { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-top: 12px; }
.formulario__title span { color: var(--gold); }
.formulario__desc { margin-top: 20px; color: rgba(255,255,255,.85); font-size: 18px; }
.formulario__perks { margin-top: 24px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: rgba(255,255,255,.8); }
.formulario__perks li::before { content: '✓ '; color: var(--gold); font-weight: 700; margin-right: 4px; }

.form-card {
  background: #fff; border-radius: 16px; padding: 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--ink);
}
@media (min-width: 640px) { .form-card { padding: 40px; } }
.form-card h3 { font-size: 22px; }
.field { margin-top: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 15px; font-family: inherit; color: var(--ink);
  outline: none; transition: all .2s; background: #fff;
}
.field input:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,183,0,.25);
}
.field textarea { resize: vertical; min-height: 100px; }
.consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 12px; color: var(--ink-soft); }
.consent input { margin-top: 3px; accent-color: var(--navy); }
.form-card button[type="submit"] {
  width: 100%; margin-top: 16px; background: var(--gold); color: var(--navy);
  padding: 16px; border-radius: 8px; font-weight: 700; font-size: 16px;
  font-family: 'Montserrat', sans-serif; transition: all .2s;
}
.form-card button[type="submit"]:hover { background: var(--gold-soft); }
.form-privacy {
  margin-top: 12px; text-align: center; font-size: 12px; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.form-success {
  text-align: center; padding: 32px 0; color: var(--ink);
}
.form-success .check { font-size: 48px; color: var(--green); }
.form-success h3 { margin-top: 12px; }
.form-success p { margin-top: 8px; color: var(--ink-soft); }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.85); padding-top: 64px; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 40px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer__brand { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 18px; color: #fff; line-height: 1.3; }
.footer__brand span { color: var(--gold); display: block; }
.footer__desc { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.7); }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; margin-top: 16px; }
.footer__col a:hover { color: var(--gold); }
.footer__socials { display: flex; gap: 12px; margin-top: 16px; }
.footer__socials a {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.25); transition: all .2s;
}
.footer__socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0; font-size: 12px; color: rgba(255,255,255,.55);
  display: flex; flex-direction: column; gap: 12px; justify-content: space-between;
}
@media (min-width: 900px) { .footer__bottom { flex-direction: row; } }
.footer__bottom .links { display: flex; gap: 16px; }
.footer__bottom a:hover { color: var(--gold); }

/* ---------- STICKY WHATSAPP ---------- */
.sticky-whats {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.5);
  transition: transform .2s; font-size: 26px;
}
.sticky-whats:hover { transform: scale(1.1); }

/* ---------- ELEMENTOR/EDITOR ---------- */
.entry-content { padding: 40px 0; }
