/* ==========================================================================
   Gilberto Figueiredo 10.222 — Site de Campanha
   Paleta e identidade visual extraídas do folheto oficial de campanha.
   ========================================================================== */

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/barlow-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/barlow-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/barlow-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/barlow-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/barlow-condensed-latin-800-normal.woff2') format('woff2');
}

:root {
  /* Paleta — extraída do folheto de campanha */
  --navy-deep:   #060324;   /* fundo profundo / rodapé */
  --navy:        #0A4A8C;   /* azul primário da marca */
  --navy-light:  #0F5EAE;   /* azul de apoio / hover */
  --yellow:      #FFDE15;   /* amarelo de destaque */
  --yellow-deep: #F2C700;   /* amarelo hover/active */
  --pink:        #E30047;   /* acento secundário (uso pontual) */
  --white:       #FFFFFF;
  --ink:         #0B2340;   /* texto escuro sobre fundo claro */
  --ink-soft:    #4A5B75;   /* texto secundário */
  --gray-bg:     #F4F6FA;   /* fundo claro alternado */
  --line:        #E3E8F0;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --container: 1180px;
  --radius: 10px;
  --shadow-soft: 0 10px 30px rgba(6, 3, 36, 0.10);
  --shadow-card: 0 16px 40px rgba(6, 3, 36, 0.16);
}

/* ---------------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); text-transform: uppercase; line-height: 1.05; letter-spacing: 0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
section { position: relative; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
}

/* Chevron — elemento assinatura, repetido no folheto original como marcador */
.chevron {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: none;
  background: currentColor;
  clip-path: polygon(0% 0%, 45% 0%, 100% 50%, 45% 100%, 0% 100%, 40% 50%);
}
.chevron--lg { width: 30px; height: 30px; }

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head .eyebrow { color: var(--navy-light); margin-bottom: 14px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--ink);
  font-weight: 800;
}
.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 560px;
}
.section-head.on-dark .eyebrow { color: var(--yellow); }
.section-head.on-dark h2 { color: var(--white); }
.section-head.on-dark p { color: rgba(255,255,255,0.72); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-yellow { background: var(--yellow); color: var(--navy-deep); box-shadow: var(--shadow-soft); }
.btn-yellow:hover { background: var(--yellow-deep); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { border-color: rgba(255,255,255,0.6); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: var(--white); color: var(--navy-deep); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--navy-deep); }
.btn-white:hover { background: var(--yellow); }

/* Textura de grade diagonal — do fundo azul do folheto */
.grid-texture {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: skewY(-6deg) scale(1.3);
  transform-origin: top left;
  pointer-events: none;
}

/* --------------------------------- Header -------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6, 3, 36, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 18px rgba(0,0,0,0.12);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
  padding: 16px 0;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  padding: 10px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 16px; }

/* Lockup — reconstrução fiel da marca do folheto:
   "DEPUTADO ESTADUAL / GILBERTO FIGUEIREDO / 10222" */
.lockup { display: flex; flex-direction: column; line-height: 1; }
.lockup-eyebrow {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.lockup-row { display: flex; align-items: flex-end; gap: 10px; }
.lockup-name {
  font-family: var(--font-display);
  color: var(--yellow);
  font-weight: 800;
  font-size: 20px;
  line-height: 0.92;
  text-transform: uppercase;
}
.lockup-number {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 800;
  font-size: 32px;
  line-height: 0.82;
  letter-spacing: -0.01em;
}

/* Versão grande — usada no hero e no rodapé, espelha a proporção do folheto
   onde o número é o elemento tipográfico mais dominante da marca. */
.lockup--lg .lockup-eyebrow { font-size: 15px; letter-spacing: 0.3em; margin-bottom: 8px; }
.lockup--lg .lockup-name { font-size: clamp(30px, 3.4vw, 42px); line-height: 0.95; }
.lockup--lg .lockup-row { align-items: flex-end; gap: 16px; }
.lockup--lg .lockup-number { font-size: clamp(56px, 7vw, 96px); line-height: 0.78; }

/* Selo do partido — extraído do folheto oficial, aplicado sobre chip claro */
.party-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  flex: none;
}
.party-badge img { height: 22px; width: auto; }
.party-badge .num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy-deep);
  font-size: 13px;
}
.hero-party-badge {
  position: absolute;
  top: 100px;
  left: 24px;
  z-index: 3;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 1024px) {
  .hero-party-badge { top: 88px; }
}

.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  display: inline-block;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.03em;
  position: relative;
  padding: 6px 2px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 3px; width: 0;
  background: var(--yellow);
  transition: width 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--yellow); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--white); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}
.hero-yellow-panel {
  position: absolute;
  inset: 0;
  width: 58%;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0% 100%);
}
.hero-navy-panel {
  position: absolute;
  inset: 0;
  left: 46.5%;
  background: var(--navy);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
}
.hero-navy-panel .grid-texture { transform: skewY(0deg) scale(1); }

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero-copy { max-width: 480px; }
.hero-copy .eyebrow { color: var(--navy); margin-bottom: 18px; }
.hero-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(50px, 7vw, 78px);
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.hero-copy h1 {
  color: var(--navy-deep);
  font-size: clamp(36px, 5.4vw, 58px);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-copy .lead {
  color: var(--navy-deep);
  font-size: 17px;
  font-weight: 500;
  opacity: 0.88;
  margin-bottom: 10px;
}
.hero-copy .sub {
  color: rgba(11,35,64,0.75);
  font-size: 15px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  padding-right: 10px;
}
.hero-visual .name-badge {
  position: absolute;
  top: 10%;
  right: 0;
  text-align: right;
  z-index: 3;
}
.hero-visual .name-badge .lockup { align-items: flex-end; }
.hero-visual .name-badge .lockup-row { justify-content: flex-end; }
.hero-visual img.portrait {
  position: relative;
  z-index: 2;
  max-height: 82vh;
  width: auto;
  animation: rise-in 1s ease 0.15s both;
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero-scroll-cue .chevron { animation: bob 1.6s ease-in-out infinite; transform: rotate(90deg); }
@keyframes bob { 0%,100% { transform: rotate(90deg) translateX(0); } 50% { transform: rotate(90deg) translateX(6px); } }

/* -------------------------------- Reveal --------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ------------------------------ Posicionamento ---------------------------- */
.positioning {
  padding: 90px 0;
  background: var(--white);
}
.positioning .container { display: flex; gap: 50px; align-items: flex-start; flex-wrap: wrap; }
.positioning-eyebrow { flex: none; display: flex; align-items: center; gap: 14px; color: var(--navy); }
.positioning-eyebrow .chevron--lg { color: var(--yellow); background: var(--navy); border-radius: 3px; padding: 6px; box-sizing: content-box; }
.positioning-eyebrow span { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 15px; }
.positioning-statement {
  flex: 1;
  min-width: 280px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 36px);
  color: var(--ink);
  line-height: 1.25;
  text-transform: none;
}

/* --------------------------------- Bandeiras ------------------------------ */
.bandeiras {
  padding: 90px 0 100px;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.bandeiras .grid-texture { transform: skewY(-4deg) scale(1.25); }
.bandeiras .container { position: relative; z-index: 2; }
.bandeira-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.bandeira-card {
  background: linear-gradient(165deg, var(--navy) 0%, #073469 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 30px 24px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
}
.bandeira-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  background: linear-gradient(165deg, var(--navy-light) 0%, var(--navy) 100%);
}
.bandeira-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--navy-deep);
  background: var(--yellow);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.bandeira-card h3 {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.bandeira-card p {
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  font-weight: 400;
  margin-bottom: 20px;
}
.bandeira-card a {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bandeira-card a .chevron { width: 10px; height: 10px; transition: transform 0.2s ease; }
.bandeira-card a:hover .chevron { transform: translateX(4px); }
.bandeiras-note {
  margin-top: 34px;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  max-width: 640px;
}

/* -------------------------------- Trajetória ------------------------------ */
.trajetoria {
  padding: 100px 0;
  background: var(--gray-bg);
}
.trajetoria-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.trajetoria-text p { color: var(--ink-soft); font-size: 16px; margin-bottom: 16px; }
.trajetoria-text .credentials {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}
.credential {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.credential .chevron { color: var(--navy); margin-top: 4px; flex: none; }
.credential h4 { font-family: var(--font-body); font-weight: 700; text-transform: none; font-size: 15.5px; color: var(--ink); }
.credential p { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }

.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 3px;
  background: linear-gradient(var(--navy), var(--yellow));
  border-radius: 3px;
}
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px; top: 4px;
  width: 18px; height: 18px;
  background: var(--yellow);
  border: 3px solid var(--navy-deep);
  border-radius: 50%;
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 4px;
}
.timeline-item h4 { font-family: var(--font-body); text-transform: none; font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.timeline-item .source { font-size: 12.5px; color: var(--ink-soft); opacity: 0.8; }

/* ----------------------------- Gestão pública ------------------------------ */
.gestao {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.gestao-bg-photo {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(100deg, var(--navy) 15%, rgba(10,74,140,0.55) 55%, rgba(10,74,140,0.25) 100%), url('../assets/hospital-central.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}
.gestao .container { position: relative; z-index: 2; }
.gestao-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 10px;
}
.gestao-card {
  background: rgba(6, 3, 36, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,222,21,0.25);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.gestao-card:hover { border-color: var(--yellow); transform: translateY(-6px); }
.gestao-card .chevron--lg { color: var(--yellow); margin-bottom: 18px; }
.gestao-card h3 { color: var(--white); font-size: 20px; margin-bottom: 10px; }
.gestao-card p { color: rgba(255,255,255,0.75); font-size: 14px; }

/* --------------------------------- Propostas ------------------------------- */
.propostas-cta {
  background: var(--yellow);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.propostas-cta::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  background: rgba(6,3,36,0.06);
  clip-path: polygon(0% 0%, 45% 0%, 100% 50%, 45% 100%, 0% 100%, 40% 50%);
}
.propostas-cta .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; z-index: 2; }
.propostas-cta h2 { font-size: clamp(24px, 3vw, 32px); color: var(--navy-deep); max-width: 620px; }
.propostas-cta p { margin-top: 10px; color: rgba(6,3,36,0.72); font-size: 15px; max-width: 560px; }

/* --------------------------------- Participe -------------------------------- */
.participe {
  background: var(--navy-deep);
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.participe .grid-texture { transform: skewY(3deg) scale(1.3); }
.participe .container { position: relative; z-index: 2; max-width: 720px; }
.participe .eyebrow { color: var(--yellow); justify-content: center; margin-bottom: 18px; }
.participe h2 { color: var(--white); font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 18px; }
.participe p { color: rgba(255,255,255,0.72); font-size: 16px; margin-bottom: 34px; }
.participe-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.participe .fine-print { margin-top: 22px; font-size: 13px; color: rgba(255,255,255,0.45); }

/* ---------------------------------- Footer ---------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding-top: 70px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .quote {
  font-family: var(--font-display);
  color: var(--yellow);
  font-size: 20px;
  font-weight: 700;
  max-width: 320px;
  line-height: 1.3;
  margin-bottom: 14px;
}
.footer-brand .party-badge { margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { background: var(--yellow); color: var(--navy-deep); border-color: var(--yellow); }

.footer-col h4 { font-family: var(--font-display); color: var(--white); font-size: 16px; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--yellow); }

.footer-legal {
  padding: 34px 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-legal strong { color: rgba(255,255,255,0.65); }

.footer-bottom {
  padding: 22px 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ------------------------------- Back to top -------------------------------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy-deep);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top .chevron { transform: rotate(-90deg); }

/* ----------------------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(78vw, 320px); background: var(--navy-deep); padding: 100px 30px 30px; transition: right 0.35s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.3); z-index: 1001; }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav-toggle { display: flex; z-index: 1002; }
  .header-cta { gap: 6px; }
  .header-cta .btn { display: none; }
  .brand .lockup-eyebrow { font-size: 9px; letter-spacing: 0.22em; }
  .brand .lockup-name { font-size: 15px; }
  .brand .lockup-number { font-size: 24px; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-yellow-panel, .hero-navy-panel { display: none; }
  .hero { min-height: auto; background: var(--navy-deep); }
  .hero-visual {
    order: -1;
    height: auto;
    background: var(--yellow);
    padding: 24px 24px 30px;
    margin: 0 -24px;
    display: flex;
    justify-content: center;
  }
  .hero-copy { background: var(--navy-deep); padding: 34px 0 10px; max-width: 100%; }
  .hero-copy .eyebrow { color: var(--yellow); }
  .hero-number { color: var(--yellow); }
  .hero-copy h1 { color: var(--white); }
  .hero-copy .lead { color: var(--white); opacity: 0.92; }
  .hero-copy .sub { color: rgba(255,255,255,0.7); }
  .btn-outline-navy { border-color: rgba(255,255,255,0.5); color: var(--white); }
  .btn-outline-navy:hover { background: var(--white); color: var(--navy-deep); }
  .hero-visual img.portrait { max-height: 46vh; }
  .hero-visual .name-badge { display: none; }
  .hero-scroll-cue { display: none; }
  .trajetoria-layout { grid-template-columns: 1fr; }
  .bandeira-grid { grid-template-columns: repeat(2, 1fr); }
  .gestao-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .positioning .container { flex-direction: column; gap: 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .bandeira-grid { grid-template-columns: 1fr; }
  .gestao-grid { grid-template-columns: 1fr; }
  .hero-copy .eyebrow { font-size: 12px; }
  .propostas-cta .container { flex-direction: column; align-items: flex-start; }
}
