/* =========================================================
   Leo Goleiro - Campanha 2026
   Identidade: verde profundo + amarelo + branco
   ========================================================= */

:root {
  --green-950: #052a13;
  --green-900: #073d1d;
  --green-800: #0a5a26;
  --green-700: #0e7732;
  --green-600: #12943d;
  --green-500: #18a84a;

  --yellow-500: #e6bd00;
  --yellow-400: #ffd100;
  --yellow-300: #ffe266;

  --red-700: #a41f1f;
  --red-500: #d13b3b;
  --red-100: #fdeceb;

  --ink: #0d1a12;
  --body: #40584a;
  --line: #dfe8e1;
  --soft: #f1f6f1;
  --white: #ffffff;

  --shell: min(1140px, calc(100% - 2.5rem));
  --radius: 1rem;
  --radius-lg: 1.75rem;
  --shadow-sm: 0 8px 24px rgba(5, 42, 19, 0.08);
  --shadow-md: 0 20px 50px rgba(5, 42, 19, 0.14);
  --shadow-lg: 0 32px 80px rgba(5, 42, 19, 0.22);

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

/* Garante que [hidden] vence os display definidos em componentes. */
[hidden] {
  display: none !important;
}

a {
  color: var(--green-700);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

h1, h2, h3 {
  color: var(--ink);
  margin: 0;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--yellow-400);
  color: var(--green-950);
  font-weight: 800;
  padding: 0.85rem 1.25rem;
  border-radius: 0 0 0.75rem 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--yellow-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-solid {
  background: rgba(5, 42, 19, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(5, 42, 19, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: block;
  line-height: 0;
}

.brand img {
  width: auto;
  height: 2.65rem;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.is-active {
  color: var(--yellow-400);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--yellow-400);
  border-radius: 2px;
}

.nav-cta {
  margin-left: 0.6rem;
  background: var(--yellow-400);
  color: var(--green-950);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.nav-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  border: 0;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  padding: 0.75rem 0.7rem;
}

.nav-toggle .bar {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle .bar + .bar {
  margin-top: 5px;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem 1.5rem;
  background: rgba(5, 42, 19, 0.98);
  backdrop-filter: blur(12px);
}

.menu-mobile a {
  color: var(--white);
  font-weight: 700;
  padding: 0.75rem 0.25rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-mobile a.is-active {
  color: var(--yellow-400);
}

.menu-mobile-cta {
  margin-top: 0.75rem;
  color: var(--yellow-400) !important;
  border-bottom: 0 !important;
}

/* ---------------------------------------------------------
   Hero (home)
   --------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 54rem);
  padding: 8rem 0 5rem;
  background:
    radial-gradient(90% 70% at 15% 10%, var(--green-700) 0%, transparent 60%),
    radial-gradient(70% 60% at 90% 90%, var(--green-600) 0%, transparent 55%),
    linear-gradient(160deg, var(--green-900) 0%, var(--green-950) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-art,
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero--art {
  padding: 0;
  background:
    radial-gradient(55% 70% at 78% 55%, rgba(20, 108, 67, 0.55) 0%, transparent 62%),
    linear-gradient(145deg, #064a24 0%, #052a13 48%, #031c0d 100%);
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid transparent;
}

.hero-ring--yellow {
  width: min(78vw, 46rem);
  height: min(78vw, 46rem);
  right: -12%;
  top: 8%;
  border-color: rgba(255, 209, 0, 0.55);
  box-shadow:
    0 0 0 18px rgba(255, 209, 0, 0.06),
    inset 0 0 0 1px rgba(255, 209, 0, 0.15);
  animation: heroPulse 14s ease-in-out infinite alternate;
}

.hero-ring--lime {
  width: min(58vw, 34rem);
  height: min(58vw, 34rem);
  right: 2%;
  top: 22%;
  border-width: 2px;
  border-color: rgba(70, 180, 90, 0.35);
  animation: heroPulse 11s ease-in-out infinite alternate-reverse;
}

.hero-ring--soft {
  width: min(92vw, 56rem);
  height: min(92vw, 56rem);
  right: -22%;
  bottom: -28%;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.08);
}

.hero-disc {
  position: absolute;
  width: min(42vw, 24rem);
  height: min(42vw, 24rem);
  right: 8%;
  top: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 209, 0, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 60% 70%, rgba(24, 168, 74, 0.28) 0%, transparent 55%);
  filter: blur(2px);
}

.hero-word {
  position: absolute;
  right: -2vw;
  bottom: -4vh;
  font-family: var(--display);
  font-size: clamp(10rem, 28vw, 26rem);
  line-height: 0.78;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.07);
  user-select: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: -18%;
  right: -8%;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 0, 0.18) 0%, transparent 64%);
  animation: float 12s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 44rem;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr);
  gap: 1rem 1rem;
  align-items: end;
  min-height: min(94svh, 52rem);
}

.hero--art .hero-inner {
  padding: 8.5rem 0 4.5rem;
  max-width: 44rem;
}

.hero--art .hero-title {
  max-width: 18ch;
  font-size: clamp(2.85rem, 7vw, 5.35rem);
}

.hero--art .hero-lead {
  max-width: 40rem;
}

.hero-shot {
  position: relative;
  z-index: 2;
  margin: 0;
  align-self: end;
  justify-self: end;
  width: min(108%, 42rem);
  margin-right: -2rem;
  filter:
    drop-shadow(0 0 1px rgba(3, 28, 13, 0.95))
    drop-shadow(0 0 2px rgba(3, 28, 13, 0.75))
    drop-shadow(0 28px 50px rgba(0, 0, 0, 0.35));
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(94svh, 54rem);
  object-fit: contain;
  object-position: bottom center;
}

@keyframes heroPulse {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.04) translate3d(-1.5%, 1%, 0); }
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: none;
}

.section-head-row .section-text {
  margin-bottom: 0;
}

.blog-list {
  display: grid;
  gap: 1rem;
}

.blog-row {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.blog-row:first-child {
  padding-top: 0;
}

.blog-row h2,
.blog-row h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin: 0.35rem 0 0.55rem;
}

.blog-row h2 a,
.blog-row h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-row h2 a:hover,
.blog-row h3 a:hover {
  color: var(--green-700);
}

.cta-simple {
  max-width: 40rem;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 8.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title em {
  display: block;
  font-style: normal;
  color: var(--yellow-400);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-facts dt {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-400);
  margin-bottom: 0.3rem;
}

.hero-facts dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

/* ---------------------------------------------------------
   Page hero (internas)
   --------------------------------------------------------- */

.page-hero,
.vote-hero {
  padding: 9rem 0 4.5rem;
  background:
    radial-gradient(80% 80% at 10% 0%, var(--green-700) 0%, transparent 60%),
    linear-gradient(150deg, var(--green-900) 0%, var(--green-950) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::after,
.vote-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -30%;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 0, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.page-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6.5vw, 4.5rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--white);
  max-width: 20ch;
  margin-bottom: 1.25rem;
}

.page-lead {
  position: relative;
  z-index: 1;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 42rem;
}

.page-hero--split {
  padding-bottom: 0;
}

.page-hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem 3rem;
  align-items: end;
}

.page-hero-copy {
  padding-bottom: 4.5rem;
}

.page-hero--split .page-title {
  max-width: 14ch;
}

.page-hero-photo {
  margin: 0;
  justify-self: end;
  width: min(100%, 28rem);
}

.page-hero-photo img {
  width: 100%;
  height: auto;
  max-height: 28rem;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 1.25rem 1.25rem 0 0;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

/* ---------------------------------------------------------
   Faixa da federacao
   --------------------------------------------------------- */

.party-bar {
  background: var(--green-950);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.party-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  text-align: center;
}

.party-label,
.party-note {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.party-logo {
  width: auto;
  height: 2.6rem;
}

.party-card {
  display: grid;
  grid-template-columns: minmax(0, 22rem) 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.party-card img {
  width: 100%;
  height: auto;
}

.party-card p {
  font-size: 1.02rem;
}

.ballot-party {
  width: auto;
  height: 2rem;
  margin-top: 1.25rem;
}

.footer-party {
  width: auto;
  height: 2rem;
  margin-top: 1.5rem;
}

/* ---------------------------------------------------------
   Marquee
   --------------------------------------------------------- */

.stripe {
  background: var(--yellow-400);
  overflow: hidden;
  padding: 0.85rem 0;
}

.stripe-track {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-950);
}

.stripe-track .dot {
  color: var(--green-700);
}

/* ---------------------------------------------------------
   Sections
   --------------------------------------------------------- */

.section {
  padding: 5.5rem 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  background:
    radial-gradient(70% 70% at 85% 15%, var(--green-800) 0%, transparent 55%),
    linear-gradient(160deg, var(--green-900) 0%, var(--green-950) 100%);
  color: rgba(255, 255, 255, 0.85);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 3rem;
}

.kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.75rem;
}

.kicker-light {
  color: var(--yellow-400);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.section-title-light {
  color: var(--white);
}

.section-text {
  font-size: 1.05rem;
  max-width: 40rem;
}

.section-text-light {
  color: rgba(255, 255, 255, 0.82);
}

.section-note {
  margin-top: 2.5rem;
  font-size: 0.92rem;
  color: var(--body);
}

.section-note-light {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.75rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-yellow {
  background: var(--yellow-400);
  color: var(--green-950);
}

.btn-yellow:hover {
  filter: brightness(1.06);
}

.btn-green {
  background: var(--green-700);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-600);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-outline-green {
  border-color: var(--green-700);
  color: var(--green-700);
  background: transparent;
}

.btn-outline-green:hover {
  background: var(--green-700);
  color: var(--white);
}

/* ---------------------------------------------------------
   Grids
   --------------------------------------------------------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Pilares */

.pillar-card {
  position: relative;
  padding: 2.25rem 1.75rem 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--yellow-400), var(--green-600));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.pillar-card:hover::before {
  transform: scaleY(1);
}

.pillar-index {
  display: block;
  font-family: var(--display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--yellow-400);
  margin-bottom: 0.75rem;
}

.pillar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

/* Compromissos */

.commit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.commit-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  transition: background 0.3s ease, transform 0.3s ease;
}

.commit-item:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}

.commit-number {
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--yellow-400);
}

.commit-item h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.commit-item p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.97rem;
}

/* Timeline */

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: marco;
}

.timeline-item {
  position: relative;
  padding: 1.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-soft .timeline-item {
  background: var(--white);
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.timeline-date {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--green-700);
  margin-bottom: 0.6rem;
}

.timeline-item p {
  font-size: 0.92rem;
}

/* ---------------------------------------------------------
   Sobre
   --------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}

.about-copy .section-text + .section-text {
  margin-top: 1rem;
}

.about-figure {
  margin: 0;
  position: relative;
}

.about-figure img {
  width: 100%;
  max-height: 32rem;
  object-fit: cover;
  object-position: center top;
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-figure figcaption {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-700);
}

/* Trajetoria */

.path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.path-item {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--yellow-400);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.path-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.path-phase {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.75rem;
}

.path-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.path-item p {
  font-size: 0.95rem;
}

/* Valores */

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.values li {
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.quote {
  margin: 0;
  padding: 2.5rem;
  border-left: 5px solid var(--yellow-400);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote p {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.quote cite {
  font-style: normal;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow-400);
}

/* ---------------------------------------------------------
   Regras
   --------------------------------------------------------- */

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.rules-col {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.rules-col--yes {
  background: linear-gradient(180deg, #eef8f0 0%, var(--white) 45%);
  border-color: #cfe7d6;
}

.rules-col--no {
  background: linear-gradient(180deg, var(--red-100) 0%, var(--white) 45%);
  border-color: #f0d3d1;
}

.rules-head {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-items: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid currentColor;
}

.rules-col--yes .rules-head {
  border-bottom-color: #cfe7d6;
}

.rules-col--no .rules-head {
  border-bottom-color: #f0d3d1;
}

.rules-badge {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.rules-badge--yes {
  background: var(--green-700);
}

.rules-badge--no {
  background: var(--red-500);
}

.rules-head h2 {
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  align-self: end;
}

.rules-col--yes .rules-head h2 {
  color: var(--green-800);
}

.rules-col--no .rules-head h2 {
  color: var(--red-700);
}

.rules-head p {
  font-size: 0.9rem;
  align-self: start;
}

.rules-list {
  display: grid;
  gap: 1.1rem;
}

.rules-list li {
  position: relative;
  padding-left: 1.5rem;
}

.rules-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.rules-col--yes .rules-list li::before {
  background: var(--green-600);
}

.rules-col--no .rules-list li::before {
  background: var(--red-500);
}

.rules-list h3 {
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}

.rules-list p {
  font-size: 0.93rem;
}

/* Dia da eleicao */

.day-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.day-card h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.day-card--yes h3 {
  color: var(--yellow-400);
}

.day-card--no h3 {
  color: #ff9d9d;
}

.day-card ul {
  display: grid;
  gap: 0.85rem;
}

.day-card li {
  position: relative;
  padding-left: 1.6rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.97rem;
}

.day-card li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}

.day-card--yes li::before {
  content: "\2713";
  color: var(--yellow-400);
}

.day-card--no li::before {
  content: "\2717";
  color: #ff9d9d;
}

/* Aviso */

.notice {
  margin-top: 3rem;
  padding: 2.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow-400);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

.notice h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.notice p {
  margin-bottom: 1.5rem;
  max-width: 46rem;
}

/* ---------------------------------------------------------
   Votar
   --------------------------------------------------------- */

.vote-hero-inner {
  max-width: 48rem;
}

.ballot {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.ballot-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow-400);
  margin-bottom: 0.85rem;
}

.ballot-digits {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.digit {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3.75rem;
  background: var(--white);
  color: var(--green-950);
  border-radius: 0.5rem;
  font-family: var(--display);
  font-size: 2rem;
  box-shadow: inset 0 -4px 0 rgba(5, 42, 19, 0.15);
}

.digit--empty {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.ballot-note {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Motivos */

.reason-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.reason-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
  color: var(--green-800);
}

/* Passos */

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.step {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.step-number {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--yellow-400);
  color: var(--green-950);
  font-family: var(--display);
  font-size: 1.35rem;
}

.step h3 {
  font-size: 1.12rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.step p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
}

/* Ajudar */

.help-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border-bottom: 4px solid var(--green-600);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.help-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.help-index {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: var(--green-600);
  opacity: 0.35;
  margin-bottom: 0.6rem;
}

.help-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.share {
  margin-top: 3rem;
  padding: 2.25rem;
  background: var(--white);
  border: 1px dashed var(--green-600);
  border-radius: var(--radius);
  text-align: center;
}

.share > p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.35rem;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.share-feedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-700);
  min-height: 1.35rem;
}

/* ---------------------------------------------------------
   CTA band
   --------------------------------------------------------- */

.cta-band {
  padding: 5rem 0;
  background:
    radial-gradient(60% 100% at 20% 0%, rgba(255, 209, 0, 0.18) 0%, transparent 60%),
    linear-gradient(140deg, var(--green-700) 0%, var(--green-900) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
  max-width: 24ch;
  margin: 0 auto 1rem;
}

.cta-inner p {
  max-width: 38rem;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  width: auto;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  border-radius: 0;
  background: transparent;
}

.footer-brand p {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--yellow-400);
  max-width: 16ch;
}

.footer-nav,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav h2,
.footer-social h2 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.footer-nav a,
.footer-social a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-social a:hover {
  color: var(--yellow-400);
}

.footer-legal {
  padding-top: 1.75rem;
  display: grid;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
}

/* ---------------------------------------------------------
   Moldura (gerador de foto de perfil)
   --------------------------------------------------------- */

.frame-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

.frame-stage {
  position: sticky;
  top: 7rem;
}

.frame-canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: #0a4a22;
  box-shadow: var(--shadow-md);
  touch-action: none;
}

.frame-stage.has-photo .frame-canvas {
  cursor: grab;
}

.frame-stage.has-photo .frame-canvas.is-dragging {
  cursor: grabbing;
}

.frame-hint {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.88rem;
  max-width: 30rem;
  margin-inline: auto;
}

.frame-steps {
  counter-reset: none;
}

.frame-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.15rem;
  padding-bottom: 1.9rem;
  margin-bottom: 1.9rem;
  border-bottom: 1px solid var(--line);
}

.frame-step:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.frame-step-index {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--green-700);
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1;
}

.frame-step h2 {
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 0.9rem;
}

.frame-note {
  margin-top: 0.9rem;
  font-size: 0.88rem;
}

.frame-note strong {
  color: var(--green-800);
}

.dropzone {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
  padding: 1.9rem 1.25rem;
  border: 2px dashed rgba(14, 119, 50, 0.4);
  border-radius: var(--radius);
  background: var(--soft);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dropzone:hover,
.dropzone.is-over {
  border-color: var(--green-600);
  background: #e7f2ea;
}

.dropzone:focus-within {
  outline: 3px solid var(--yellow-400);
  outline-offset: 3px;
}

.dropzone-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--green-700);
  color: var(--white);
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1;
}

.dropzone-title {
  font-weight: 800;
  color: var(--ink);
}

.dropzone-text {
  font-size: 0.85rem;
  max-width: 22rem;
}

.frame-status {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-700);
  min-height: 1.3rem;
}

.frame-status.is-error {
  color: var(--red-700);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.chip span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.7rem 1.15rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--body);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.chip input:checked + span {
  border-color: var(--green-700);
  background: var(--green-700);
  color: var(--white);
}

.chip-amarelo input:checked + span {
  border-color: var(--yellow-500);
  background: var(--yellow-400);
  color: var(--green-950);
}

.chip input:focus-visible + span {
  outline: 3px solid var(--yellow-400);
  outline-offset: 3px;
}

.range-row {
  display: grid;
  gap: 0.55rem;
}

.range-row > span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-800);
}

.range-row input[type="range"] {
  width: 100%;
  accent-color: var(--green-700);
  cursor: pointer;
}

.btn-ghost {
  margin-top: 1rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 800;
  color: var(--green-700);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-ghost:hover {
  color: var(--green-600);
}

.frame-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.frame-actions .btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.frame-privacy {
  margin-top: 1.1rem;
  font-size: 0.85rem;
}

.net-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.net-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.net-card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}

.net-card p {
  font-size: 0.95rem;
}

.promo {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3.5rem;
  align-items: center;
}

.promo-text .frame-actions {
  margin-top: 2rem;
}

.promo-art {
  margin: 0;
}

.promo-art img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.frame-tips {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

.tip-list {
  display: grid;
  gap: 0.9rem;
}

.tip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1.1rem 1.35rem;
  background: var(--soft);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--ink);
}

.tip-mark {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: var(--green-700);
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1;
}

.notice h2 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.share-feedback-light {
  color: var(--yellow-400);
}

/* ---------------------------------------------------------
   Blog
   --------------------------------------------------------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.blog-grid--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  overflow: hidden;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.blog-card--featured .blog-card-media {
  aspect-ratio: auto;
  min-height: 100%;
}

.blog-card--featured .blog-card-media img {
  min-height: 100%;
}

.blog-grid--home .blog-card-media {
  aspect-ratio: 16 / 10;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.65rem;
}

.blog-card h2,
.blog-card h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.blog-card h2 a,
.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card h2 a:hover,
.blog-card h3 a:hover {
  color: var(--green-700);
}

.blog-card-body > p {
  font-size: 0.97rem;
  margin-bottom: 0.85rem;
}

.blog-card-link {
  font-weight: 800;
  color: var(--green-700);
  text-decoration: none;
}

.blog-card-link:hover {
  text-decoration: underline;
}

.blog-empty {
  text-align: center;
  padding: 3rem 1rem;
}

.post-hero {
  padding: 9rem 0 3rem;
  background:
    radial-gradient(80% 80% at 10% 0%, var(--green-700) 0%, transparent 60%),
    linear-gradient(150deg, var(--green-900) 0%, var(--green-950) 100%);
  color: var(--white);
}

.post-hero .kicker a {
  color: var(--yellow-400);
  text-decoration: none;
}

.post-hero .page-title {
  max-width: 22ch;
}

.post-author {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.post-cover {
  margin: -2rem auto 0;
  position: relative;
  z-index: 2;
}

.post-cover img {
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.post-content {
  max-width: 42rem;
  margin-inline: auto;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--body);
}

.post-content p + p {
  margin-top: 1.1rem;
}

.post-content a {
  font-weight: 700;
}

.post-share,
.blog-share {
  margin-top: 2.5rem;
}

.post-share {
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.frame-social-share {
  margin-top: 1.35rem;
}

.cta-social {
  margin-top: 1.75rem;
  width: min(100%, 40rem);
}

.social-share {
  display: grid;
  gap: 0.85rem;
}

.social-share-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-800);
}

.social-share-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-share-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.55rem;
  padding: 0.55rem 0.9rem;
  border: 1.5px solid rgba(14, 119, 50, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--green-900);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-share-btn:hover,
.social-share-btn:focus-visible {
  background: var(--yellow-400);
  border-color: var(--yellow-400);
  color: var(--green-950);
  transform: translateY(-1px);
}

.social-share-icon {
  display: inline-grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
}

.social-share-icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.social-share-btn--whatsapp:hover,
.social-share-btn--whatsapp:focus-visible {
  background: #25d366;
  border-color: #25d366;
  color: #052a13;
}

.social-share-btn--facebook:hover,
.social-share-btn--facebook:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.social-share-btn--x:hover,
.social-share-btn--x:focus-visible {
  background: #111;
  border-color: #111;
  color: #fff;
}

.social-share-btn--linkedin:hover,
.social-share-btn--linkedin:focus-visible {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #fff;
}

.social-share-btn--telegram:hover,
.social-share-btn--telegram:focus-visible {
  background: #229ed9;
  border-color: #229ed9;
  color: #fff;
}

.social-share-feedback {
  margin: 0;
  min-height: 1.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-700);
}

.social-share--compact .social-share-btn {
  min-height: 2.35rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
}

.social-share--light .social-share-label {
  color: var(--yellow-400);
}

.social-share--light .social-share-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.social-share--light .social-share-btn:hover,
.social-share--light .social-share-btn:focus-visible {
  background: var(--yellow-400);
  border-color: var(--yellow-400);
  color: var(--green-950);
}

.social-share--light .social-share-feedback {
  color: var(--yellow-300);
}

.post-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-bottom: 4rem;
}

/* ---------------------------------------------------------
   Agenda
   --------------------------------------------------------- */

.phase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.phase-card {
  position: relative;
  padding: 1.75rem 1.35rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.phase-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow-400), var(--green-600));
}

.phase-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.phase-number {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: var(--yellow-400);
  margin-bottom: 0.55rem;
}

.phase-period {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.65rem;
}

.phase-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.phase-card p {
  font-size: 0.92rem;
}

.cal-export {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}

.cal-export-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
}

.cal-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cal-export-actions .btn {
  min-width: 3.4rem;
  padding-inline: 0.85rem;
}

.agenda-month + .agenda-month {
  margin-top: 3.5rem;
}

.agenda-month-head {
  margin-bottom: 1.5rem;
  max-width: 44rem;
}

.agenda-month-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #1b5e3b;
  margin-bottom: 0.65rem;
}

.agenda-month-head p {
  font-size: 1rem;
}

.cal-legend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.cal-legend li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.cal-days {
  display: grid;
  gap: 0.85rem;
}

.cal-day {
  border: 1px solid #d0d7de;
  border-radius: 0.35rem;
  overflow: hidden;
  background: var(--white);
  box-shadow: none;
}

.cal-day:hover {
  box-shadow: var(--shadow-sm);
}

.cal-day--passado {
  opacity: 0.68;
}

.cal-day--hoje {
  outline: 2px solid var(--yellow-400);
  outline-offset: 2px;
}

.cal-day-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.75rem 1rem;
  background: #1b5e3b;
  color: var(--white);
}

.cal-day--fimsemana .cal-day-head {
  background: #146c43;
}

.cal-day--inicio .cal-day-head,
.cal-day--vespera .cal-day-head {
  background: #0b3d5c;
}

.cal-day--eleicao .cal-day-head {
  background: #9b1c1c;
}

.cal-day-head time {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem;
}

.cal-day-num {
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.cal-day-week {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.cal-day-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.cal-day-phase {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow-400);
}

.cal-day .agenda-now,
.cal-day .agenda-done {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.cal-day .agenda-now {
  color: var(--yellow-400);
}

.cal-day .agenda-done {
  color: rgba(255, 255, 255, 0.7);
}

.cal-items {
  display: grid;
  gap: 0;
}

.cal-item {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-top: 1px solid #eef2f5;
}

.cal-item--politico { background: #e7f0f6; }
.cal-item--social { background: #fbf5e3; }
.cal-item--comunidade,
.cal-item--fase { background: #e8f3ec; }
.cal-item--alerta { background: #fdecec; }

.cal-item p {
  font-size: 0.92rem;
  color: #1f2937;
  line-height: 1.45;
  margin: 0;
}

.cal-day-note {
  margin: 0;
  padding: 0.55rem 0.95rem;
  border-top: 1px solid #d0d7de;
  background: #f7f8fa;
  color: #4a5568;
  font-size: 0.8rem;
  font-style: italic;
}

.agenda-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.55rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.agenda-tag--politico {
  background: #e7f0f6;
  color: #0b3d5c;
}

.agenda-tag--social {
  background: #fbf5e3;
  color: #8a6d12;
}

.agenda-tag--comunidade {
  background: #e8f3ec;
  color: var(--green-700);
}

.agenda-tag--fase {
  background: #dff3e6;
  color: var(--green-800);
}

.agenda-tag--alerta {
  background: var(--red-100);
  color: var(--red-700);
}

.agenda-tag--marco {
  background: rgba(11, 61, 92, 0.12);
  color: #0b3d5c;
}

.agenda-tag--rua {
  background: rgba(18, 148, 61, 0.14);
  color: var(--green-700);
}

.agenda-tag--eleicao {
  background: var(--red-100);
  color: var(--red-700);
}

.agenda-now,
.agenda-done {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.agenda-now {
  color: var(--green-700);
}

.agenda-done {
  color: var(--body);
}

/* ---------------------------------------------------------
   Motion
   --------------------------------------------------------- */

/* Sem JS o conteudo permanece visivel. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

@keyframes float {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-3rem, 2rem, 0); }
}

/* ---------------------------------------------------------
   Responsivo
   --------------------------------------------------------- */

@media (max-width: 1000px) {
  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blog-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cal-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .path,
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .menu-mobile.is-open {
    display: flex;
  }

  .grid-3,
  .grid-2,
  .commit-list,
  .steps,
  .rules-grid,
  .about-grid,
  .party-card,
  .frame-studio,
  .frame-tips,
  .promo,
  .blog-grid,
  .blog-grid--home,
  .blog-card--featured,
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero--art .hero-inner {
    padding: 7rem 0 1.25rem;
    max-width: none;
  }

  .hero--art .hero-title {
    max-width: none;
  }

  .hero-shot {
    width: min(100%, 26rem);
    margin-right: 0;
    justify-self: center;
  }

  .hero-shot img {
    max-height: 32rem;
  }

  .hero-ring--yellow {
    right: -28%;
    top: 20%;
  }

  .hero-word {
    font-size: clamp(8rem, 42vw, 14rem);
    right: -6vw;
  }

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

  .cal-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero-split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .page-hero-copy {
    padding-bottom: 0;
  }

  .page-hero-photo {
    justify-self: center;
    width: min(100%, 22rem);
  }

  .promo-art {
    max-width: 22rem;
    margin-inline: auto;
  }

  .frame-stage {
    position: static;
    max-width: 26rem;
    margin-inline: auto;
  }

  .party-card {
    gap: 1.5rem;
    padding: 1.75rem;
  }

  .party-card img {
    max-width: 20rem;
  }

  .about-figure img {
    max-height: 26rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 7rem;
    min-height: auto;
  }

  .hero-facts {
    gap: 1.75rem;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: min(1140px, calc(100% - 1.75rem));
  }

  .timeline,
  .path,
  .values,
  .phase-grid,
  .cal-legend {
    grid-template-columns: 1fr;
  }

  .cal-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .cal-day-head {
    padding: 0.85rem 1rem;
  }

  .cal-item {
    padding: 0.75rem 1rem;
  }

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

  .page-hero,
  .vote-hero {
    padding: 7.5rem 0 3.5rem;
  }

  .page-hero--split {
    padding-bottom: 0;
  }

  .page-hero-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .page-hero-copy {
    padding-bottom: 0;
  }

  .page-hero--split .page-title,
  .page-hero--split .page-lead {
    margin-inline: auto;
  }

  .page-hero-photo {
    justify-self: center;
    width: min(100%, 20rem);
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .share-actions .btn,
  .frame-actions .btn {
    width: 100%;
  }

  .social-share-btn {
    flex: 1 1 calc(50% - 0.55rem);
    justify-content: center;
  }

  .frame-step {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .digit {
    width: 2.5rem;
    height: 3.25rem;
    font-size: 1.6rem;
  }

  .rules-col,
  .notice,
  .share,
  .quote {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .stripe-track,
  .hero-glow,
  .hero-ring {
    animation: none;
  }
}
