/* =========================================================
   Rose Modesto 4444 — Deputada Federal · MS
   Paleta extraída do PDF oficial da campanha.
   Regra de contraste: NUNCA texto branco sobre amarelo (1.51:1).
   ========================================================= */

:root {
  /* marca */
  --amarelo:      #FFCC00;
  --azul:         #004887;
  --azul-alt:     #044E90;
  --azul-claro:   #57A0D6;
  --verde:        #209C4B;
  --grafite:      #373435;
  --branco:       #FFFFFF;

  /* derivadas */
  --azul-deep:    #00305C;
  --azul-noite:   #002144;
  --amarelo-luz:  #FFE066;
  --amarelo-esc:  #E6B800;
  --papel:        #FFF9EC;
  --zap:          #25D366;

  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-script: "Kaushan Script", cursive;

  --header-h: 68px;
  --container: 1240px;
  --radius: 16px;
}

@media (min-width: 768px) {
  :root { --header-h: 84px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.55;
  background: var(--amarelo);
  color: var(--azul-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 900; letter-spacing: -.02em; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.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: 1rem; top: -4rem;
  background: var(--branco);
  color: var(--azul-deep);
  padding: .75rem 1.25rem;
  border-radius: .5rem;
  font-weight: 800;
  z-index: 1000;
  transition: top 150ms ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--azul-deep);
  outline-offset: 3px;
  border-radius: 3px;
}
.section--blue :focus-visible,
.site-footer :focus-visible,
.stats :focus-visible { outline-color: var(--amarelo); }

[data-todo] {
  background: rgba(255, 204, 0, .25);
  border-bottom: 1px dashed currentColor;
  font-style: italic;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: clamp(.9rem, 1.1vw, 1rem);
  letter-spacing: .01em;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform 180ms ease, filter 180ms ease, background-color 180ms ease, color 180ms ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .85rem; }
.btn--sm svg { width: 19px; height: 19px; }

.btn--zap {
  background: var(--zap);
  color: #06301A;
  border-color: #0F9D48;
}
.btn--zap:hover, .btn--zap:focus-visible { filter: brightness(1.08); }

.btn--primary {
  background: var(--azul);
  color: var(--branco);
}

.btn--ghost {
  background: transparent;
  color: var(--azul-deep);
  border-color: var(--azul-deep);
}
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--azul-deep); color: var(--amarelo); }

.btn--ghost-light {
  color: var(--amarelo);
  border-color: var(--amarelo);
}
.btn--ghost-light:hover, .btn--ghost-light:focus-visible { background: var(--amarelo); color: var(--azul-deep); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.cta-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--azul-deep);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .18);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: clamp(120px, 14vw, 178px); height: auto; }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2vw, 2rem);
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--branco);
  font-weight: 800;
  font-size: clamp(.72rem, .92vw, .86rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 9px;
  height: 3px;
  background: var(--amarelo);
  transition: right 200ms ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  color: var(--amarelo);
  cursor: pointer;
  border-radius: 10px;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--amarelo);
  padding-top: clamp(1.75rem, 5vh, 3.25rem);
  display: flex;
  align-items: flex-end;
}

.hero__deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.deco { position: absolute; display: block; }
.deco--a {
  width: 62vw; height: 62vw;
  max-width: 760px; max-height: 760px;
  right: -22vw; top: -20vw;
  background: var(--amarelo-luz);
  border-radius: 50%;
  opacity: .6;
}
.deco--c {
  inset: auto 0 0 0;
  height: clamp(60px, 9vw, 130px);
  background: linear-gradient(180deg, transparent, rgba(0, 48, 92, .08));
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}

.hero__copy { text-align: center; padding-bottom: clamp(1.5rem, 4vh, 2.5rem); }

.hero__eyebrow {
  font-weight: 800;
  font-size: clamp(.7rem, 1.5vw, .9rem);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: clamp(1rem, 2.5vw, 1.65rem);
}

/* ---------- Lockup remontado em peças ----------
   Todas as peças ocupam 100% da largura da coluna, então as bordas ficam
   alinhadas. Os respiros entre elas são % da largura, para escalarem juntos.
   As proporções vêm do arquivo oficial: cargo/nome/MODESTO/coligação tinham
   ~86% da largura do "4444" — aqui todos vão a 100%, o que também aumenta a
   escala da tipografia. */
.lockup { display: block; width: 100%; }
.lockup .lk { display: block; width: 100%; height: auto; }
.lk--nome    { margin-top: 1.45%; }
.lk--modesto { margin-top: 2.6%; }
.lk--colig   { margin-top: .6%; }
.lk--num     { margin-top: 2.7%; }
/* o slogan é naturalmente menor que o resto do lockup (49,5% da largura no
   arquivo oficial) — precisa da mesma especificidade de .lockup .lk para vencer */
.lockup .lk--slogan { margin-top: 1.4%; width: 52%; margin-inline: auto; }

.hero__lockup {
  width: min(660px, 96%);
  margin-inline: auto;
}

.hero .cta-row { justify-content: center; }

/* retrato + disco */
.hero__foto {
  position: relative;
  width: fit-content;
  margin-inline: auto;
  line-height: 0;
}
.hero__foto picture { position: relative; z-index: 1; display: block; }
.hero__foto img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 14px 32px rgba(0, 33, 68, .3));
}
/* mapa de Mato Grosso do Sul em linha fina com traços internos.
   Contorno gerado da malha oficial do IBGE (estado 50, qualidade máxima). */
.hero__mapa {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 2%;
  height: 78%;
  aspect-ratio: .982;
  transform: translateX(-50%);
  background: url("../assets/mapa-ms.svg") center / contain no-repeat;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  color: var(--azul-deep);
  background: rgba(255, 255, 255, .55);
  animation: flutua 2.4s ease-in-out infinite;
}
.hero__scroll:hover, .hero__scroll:focus-visible { background: var(--branco); }

@keyframes flutua {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

/* ---------- Manifesto (2ª dobra) ---------- */
.manifesto {
  background: var(--azul-deep);
  color: var(--branco);
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.manifesto__eyebrow {
  font-weight: 800;
  font-size: clamp(.7rem, 1.4vw, .82rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amarelo);
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.manifesto__claim {
  font-size: clamp(1.55rem, 4.4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 24ch;
  margin-inline: auto;
  text-wrap: balance;
}
.manifesto__claim em { font-style: normal; color: var(--amarelo); }

.manifesto__texto {
  margin: clamp(1.15rem, 3vw, 1.75rem) auto 0;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
  max-width: 60ch;
}
.manifesto__texto strong { color: var(--amarelo); font-weight: 800; }

/* ---------- Stats ---------- */
.stats {
  background: var(--azul-deep);
  color: var(--branco);
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(2.75rem, 6vw, 4rem);
}
.stats ul {
  border-top: 2px solid rgba(255, 255, 255, .15);
  padding-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.stats li { display: flex; flex-direction: column; gap: .35rem; }
.stats b {
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  font-weight: 900;
  line-height: 1;
  color: var(--amarelo);
  letter-spacing: -.03em;
}
.stats span {
  font-size: clamp(.82rem, 1.15vw, .95rem);
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
  max-width: 26ch;
  margin-inline: auto;
}
.stats strong { color: var(--branco); font-weight: 800; }

/* ---------- Seções ---------- */
.section { padding-block: clamp(3.25rem, 8vw, 6rem); position: relative; }
.section--light { background: var(--papel); color: var(--azul-deep); }
.section--blue { background: var(--azul); color: var(--branco); }
.section--yellow { background: var(--amarelo); color: var(--azul-deep); }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 5vw, 3.25rem); }

.eyebrow {
  font-weight: 800;
  font-size: clamp(.7rem, 1.4vw, .82rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.section--light .eyebrow { color: var(--azul-claro); }
.section--blue .eyebrow { color: var(--amarelo); }
.section--yellow .eyebrow { color: var(--azul); }

.section__title {
  font-size: clamp(1.85rem, 4.8vw, 3.1rem);
  text-wrap: balance;
}
.section__lead {
  margin-top: clamp(.9rem, 2vw, 1.25rem);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  font-weight: 600;
}
.section--blue .section__lead { color: rgba(255, 255, 255, .9); }
.section--light .section__lead { color: var(--grafite); }

/* ---------- História + Timeline ---------- */
.historia {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
}

.historia__texto p {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--grafite);
}
.historia__texto p + p { margin-top: 1.1rem; }
.historia__texto strong { color: var(--azul-deep); font-weight: 800; }

/* ---------- Citação em destaque ---------- */
.citacao {
  position: relative;
  overflow: hidden;
  background: var(--amarelo);
  color: var(--azul-deep);
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
  text-align: center;
}

.citacao__aspas {
  position: absolute;
  top: clamp(.75rem, 2.5vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-script);
  font-size: clamp(9rem, 22vw, 17rem);
  line-height: .82;
  color: var(--azul);
  opacity: .11;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.citacao__bloco {
  position: relative;
  z-index: 1;
  margin: 0;
}

.citacao__bloco p {
  font-family: var(--font-script);
  font-size: clamp(1.75rem, 5.4vw, 3.75rem);
  line-height: 1.28;
  color: var(--azul);
  text-wrap: balance;
  /* o ch tem que ser medido AQUI, onde a fonte é grande — no blockquote
     ele seria calculado sobre 16px e a coluna sairia estreitíssima */
  max-width: 24ch;
  margin-inline: auto;
}

.citacao__bloco footer {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
}

.citacao__risco {
  display: block;
  width: clamp(34px, 6vw, 58px);
  height: 4px;
  border-radius: 4px;
  background: var(--azul-deep);
}

.citacao__bloco cite {
  font-style: normal;
  font-weight: 900;
  font-size: clamp(.8rem, 1.3vw, .95rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--azul-deep);
}

.timeline { position: relative; padding-left: 2.1rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--amarelo), var(--azul-claro));
  border-radius: 3px;
}
.timeline li { position: relative; padding-bottom: 1.9rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -2.1rem; top: .35rem;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--branco);
  border: 4px solid var(--azul);
}
.timeline__agora::before { border-color: var(--amarelo-esc); background: var(--amarelo); }

.timeline__ano {
  display: inline-block;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--azul-claro);
  margin-bottom: .3rem;
}
.timeline h3 { font-size: clamp(1.05rem, 1.9vw, 1.28rem); }
.timeline p {
  margin-top: .35rem;
  font-size: clamp(.9rem, 1.3vw, 1rem);
  font-weight: 600;
  color: var(--grafite);
}
.timeline strong { color: var(--azul-deep); font-weight: 800; }

.timeline li ul {
  margin-top: .6rem;
  display: grid;
  gap: .45rem;
}
.timeline li ul li {
  position: relative;
  padding: 0 0 0 1.05rem;
  font-size: clamp(.88rem, 1.25vw, .97rem);
  font-weight: 600;
  color: var(--grafite);
  line-height: 1.5;
}
.timeline li ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amarelo-esc);
  border: none;
}

.timeline__agora h3 { color: var(--azul); }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.card {
  background: rgba(255, 255, 255, .07);
  border: 2px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--amarelo);
  background: rgba(255, 255, 255, .11);
}

.card--destaque {
  background: var(--amarelo);
  color: var(--azul-deep);
  border-color: var(--amarelo);
}
.card--destaque:hover { background: var(--amarelo-luz); border-color: var(--branco); }

.card__tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(255, 204, 0, .18);
  color: var(--amarelo);
  margin-bottom: .9rem;
}
.card--destaque .card__tag { background: var(--azul-deep); color: var(--amarelo); }

.card h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
.card p {
  margin-top: .7rem;
  font-size: clamp(.9rem, 1.3vw, 1rem);
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
}
.card--destaque p { color: var(--grafite); }
.card strong { font-weight: 800; color: var(--branco); }
.card--destaque strong { color: var(--azul-deep); }

.nota {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: clamp(.88rem, 1.25vw, .98rem);
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  border-top: 2px solid rgba(255, 255, 255, .18);
  padding-top: 1.15rem;
  max-width: 78ch;
}
.nota strong { color: var(--amarelo); font-weight: 800; }

.fecho {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--branco);
  text-wrap: balance;
}
.fecho em { font-style: normal; color: var(--amarelo); }

/* ---------- Propostas ---------- */
.props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: start;
}
.prop {
  display: flex;
  gap: clamp(.9rem, 2vw, 1.35rem);
  align-items: flex-start;
}
.prop__num {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: .9;
  color: var(--azul);
  opacity: .3;
  flex: none;
  letter-spacing: -.05em;
}
.prop h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--azul-deep); }
.prop p {
  margin-top: .55rem;
  font-size: clamp(.92rem, 1.3vw, 1.02rem);
  font-weight: 600;
  color: var(--grafite);
}

/* ---------- CTA ---------- */
.cta {
  background: var(--azul-deep);
  color: var(--branco);
  padding-block: clamp(3.25rem, 8vw, 5.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta__inner { position: relative; z-index: 1; }

.cta__script {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  color: var(--amarelo);
  margin-bottom: .35rem;
}
.cta h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  max-width: 18ch;
  margin-inline: auto;
  text-wrap: balance;
}
.cta h2 em { font-style: normal; color: var(--amarelo); }
.cta__lead {
  margin-top: clamp(.9rem, 2vw, 1.25rem);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  max-width: 56ch;
  margin-inline: auto;
}
.cta__numero {
  width: min(380px, 72%);
  margin: clamp(2.25rem, 5vw, 3.25rem) auto 0;
  opacity: .95;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--azul-noite);
  color: var(--branco);
  padding-block: clamp(2.25rem, 5vw, 3.25rem);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.footer-logo__nome { width: clamp(200px, 24vw, 268px); }
.footer-logo__num  { width: clamp(140px, 17vw, 190px); }

.footer-meta {
  font-size: clamp(.82rem, 1.2vw, .92rem);
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  line-height: 1.7;
}
.footer-meta strong { color: var(--amarelo); font-weight: 800; }
.footer-coligacao {
  margin: .8rem auto 0;
  font-size: clamp(.74rem, 1.05vw, .82rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .75);
  max-width: 62ch;
}
.footer-coligacao strong { color: var(--amarelo); font-weight: 800; }

.footer-legal {
  margin-top: .9rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
}

.footer-social { display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.footer-social__label {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amarelo);
}
.footer-social ul { display: flex; gap: .35rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
}
.footer-social a:hover, .footer-social a:focus-visible {
  transform: translateY(-3px);
  background: var(--amarelo);
  color: var(--azul-deep);
}
.footer-social svg { width: 21px; height: 21px; }

/* ---------- WhatsApp flutuante ---------- */
.zap-float {
  position: fixed;
  right: clamp(.9rem, 3vw, 1.75rem);
  bottom: clamp(.9rem, 3vw, 1.75rem);
  z-index: 90;
  width: 58px; height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--zap);
  color: #06301A;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: transform 260ms ease, filter 200ms ease, opacity 260ms ease, visibility 260ms;
}
.zap-float svg { width: 31px; height: 31px; }
.zap-float.is-on { opacity: 1; visibility: visible; transform: none; }
.zap-float.is-on:hover, .zap-float.is-on:focus-visible { transform: scale(1.07); filter: brightness(1.07); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Breakpoints
   ========================================================= */

@media (min-width: 900px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
    padding-top: 0;
  }
  .hero__inner {
    max-width: min(1560px, 96vw);
    padding-inline: clamp(1rem, 2.5vw, 2rem);
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    align-items: end;
    gap: clamp(1.5rem, 3vw, 3rem);
    min-height: calc(100svh - var(--header-h));
  }
  /* foto à esquerda, texto à direita (DOM mantém o texto primeiro por acessibilidade).
     A foto sai do fluxo e preenche a metade esquerda inteira, da borda da tela à base. */
  .hero__foto {
    position: absolute;
    inset: auto auto 0 0;
    /* largura amarrada à altura disponível: o enquadramento (cabeça → mãos cruzadas)
       fica igual em qualquer tela, em vez de cortar no peito em telas baixas */
    width: min(46%, calc((100svh - var(--header-h)) * .66));
    /* a caixa segue a proporção da própria foto — sem isso, em telas altas ela fica
       mais estreita que a imagem e o object-fit:cover corta as laterais dando zoom */
    aspect-ratio: 1905 / 3035;
    height: auto;
    max-height: calc(100% - clamp(28px, 7vh, 88px));
    margin-inline: 0;
    z-index: 1;
  }
  .hero__foto picture { display: block; height: 100%; }
  .hero__foto img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: 50% 0%;
    filter: none;
  }
  /* mapa de MS atrás da candidata. Deslocado à direita do centro da foto para
     não sangrar na borda da tela em monitores de 1366px. */
  .hero__mapa {
    left: 54%;
    bottom: 17%;
    /* dimensionado pela LARGURA da foto, não pela altura: amarrado à altura ele
       crescia em telas altas e entrava por baixo da coluna de texto */
    width: 104%;
    height: auto;
    aspect-ratio: .982;
  }

  .hero__copy {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    align-self: center;
    padding-bottom: clamp(1.25rem, 4vh, 2.5rem);
  }
  .hero__lockup { margin-inline: 0; width: min(660px, 100%); }
  .hero__copy .lockup .lk--slogan,
  .footer-logo .lockup .lk--slogan { margin-inline: 0; }
  .hero .cta-row { justify-content: flex-start; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
  .hero__scroll { display: inline-flex; left: auto; right: 2%; transform: none; }
  @keyframes flutua {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
  }

  .historia { grid-template-columns: 1fr 1.05fr; align-items: start; }
  .historia__texto { position: sticky; top: calc(var(--header-h) + 2rem); }
  .card--destaque { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0 2rem; align-items: center; }
  .card--destaque .card__tag { margin-bottom: 0; grid-row: span 2; align-self: center; }
  .card--destaque h3 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
}

/* telas largas: teto para o hero não esticar demais */
@media (min-width: 1700px) {
  .hero__inner { max-width: 1620px; }
  .hero__lockup { width: min(680px, 100%); }
}

@media (max-width: 899.98px) {
  .cards { grid-template-columns: 1fr; }

  /* a 1ª dobra tem que caber na tela: lockup + CTAs + foto */
  .hero {
    min-height: calc(100svh - var(--header-h));
    padding-top: 1.35rem;
  }
  .hero__inner { gap: 1.15rem; }
  .hero__eyebrow { margin-bottom: .9rem; }
  .hero__lockup { width: min(320px, 76%); }
  .hero .cta-row { margin-top: 1.15rem; gap: .65rem; }
  .hero__copy { padding-bottom: .75rem; }
  .hero__foto img {
    max-height: 36svh;
    width: auto;
    max-width: 100%;
  }
}

/* celular de tela baixa (iPhone 14/SE com barras): comprime para a dobra fechar */
@media (max-width: 899.98px) and (max-height: 740px) {
  .hero { padding-top: .9rem; }
  .hero__inner { gap: .85rem; }
  .hero__lockup { width: min(268px, 70%); }
  .hero .cta-row { margin-top: .9rem; gap: .5rem; }
  .hero .cta-row .btn { min-height: 46px; padding-block: .6rem; }
  .hero__copy { padding-bottom: .35rem; }
  .hero__foto img { max-height: 32svh; }
}

@media (max-width: 767.98px) {
  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--azul-deep);
    border-top: 2px solid rgba(255, 255, 255, .12);
    box-shadow: 0 14px 26px rgba(0, 0, 0, .3);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .35rem clamp(1.15rem, 4vw, 2.5rem) 1.15rem;
  }
  .main-nav a {
    width: 100%;
    padding-block: .95rem;
    font-size: .92rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .main-nav a::after { display: none; }

  .btn--sm span { display: none; }
  .btn--sm { padding: .55rem; width: 44px; }

  .cta-row .btn { width: 100%; }

  .timeline__ano { font-size: .72rem; }
}
