/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --blue:        #0047AB;
  --blue-dark:   #002E7A;
  --blue-deeper: #001D52;
  --blue-light:  #1565C0;
  --green:       #2E8B22;
  --green-dark:  #1B5E14;
  --gold:        #F5C518;
  --gold-dark:   #C9A000;
  --gold-light:  #FFF8D6;
  --white:       #FFFFFF;
  --off-white:   #F5F4F0;
  --text-dark:   #0D1117;
  --text-medium: #4A4A5A;
  --text-light:  #8A8A9A;
  --font-serif:  'Syne', sans-serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container:   1200px;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:   0 16px 48px rgba(0,0,0,.16);
  --ease:        0.3s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }

/* ============================================================
   CUSTOM SCROLLBAR — desktop only
   ============================================================ */
@media (min-width: 768px) {
  ::-webkit-scrollbar              { width: 6px; }
  ::-webkit-scrollbar-track        { background: var(--blue-deeper); }
  ::-webkit-scrollbar-thumb        { background: var(--gold); border-radius: 3px; }
  ::-webkit-scrollbar-thumb:hover  { background: var(--gold-dark); }
  /* Firefox */
  * { scrollbar-width: thin; scrollbar-color: var(--gold) var(--blue-deeper); }
}
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

/* ============================================================
   SHARED SECTION ELEMENTS
   ============================================================ */
.section-badge {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-light);
  border-left: 3px solid var(--gold);
  padding: .3rem .875rem;
  margin-bottom: .875rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: .75rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-medium);
  max-width: 540px;
}

.section-header { margin-bottom: 3.5rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .9375rem;
  padding: .875rem 1.5rem;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
@media (min-width: 480px) {
  .btn { font-size: 1rem; padding: .9375rem 2rem; }
}

.btn--gold {
  background: var(--gold);
  color: var(--text-dark);
}
.btn--gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,160,0,.45);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  /* transition removida — GSAP controla a animação */
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  padding-block: 1.125rem;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.nav.scrolled {
  background: var(--blue-deeper);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
  padding-block: .6875rem;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}
.nav__logo-sub {
  font-size: .625rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .07em;
  text-transform: uppercase;
  display: none;
}
@media (min-width: 375px) {
  .nav__logo-sub {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
  }
}
@media (min-width: 768px) {
  .nav__logo-sub { max-width: none; }
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .375rem;
  z-index: 110;
}
.nav__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Backdrop */
.nav__backdrop {
  visibility: hidden;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 99;
  opacity: 0;
  transition: opacity .3s ease, visibility .3s ease;
}
.nav__backdrop.open {
  visibility: visible;
  opacity: 1;
}

/* Mobile menu drawer — desce do topo */
.nav__menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-height: 100dvh;
  overflow-y: auto;
  background: var(--blue-deeper);
  padding: 4.5rem 1.5rem 2rem;
  gap: 0;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  z-index: 105;
  border-bottom: 2px solid rgba(245,197,24,.22);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.nav__menu.open { transform: translateY(0); }

.nav__link {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  padding: .9375rem .5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s ease, background .2s ease, padding-left .2s ease;
}
.nav__link:last-child { border-bottom: none; }
.nav__link:hover,
.nav__link:active { color: var(--gold); padding-left: .75rem; }

.nav__link--cta {
  display: block;
  margin-top: 1rem;
  background: var(--gold);
  color: var(--text-dark);
  text-align: center;
  padding: .875rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .03em;
  border-bottom: none;
}
.nav__link--cta:hover,
.nav__link--cta:active {
  background: var(--gold-dark);
  color: var(--text-dark);
  padding-left: 1.5rem;
}

@media (min-width: 768px) {
  .nav__backdrop { display: none !important; }
  .nav__hamburger { display: none; }
  .nav__menu {
    position: static;
    flex-direction: row;
    align-items: center;
    width: auto;
    max-height: none;
    overflow: visible;
    background: none;
    padding: 0;
    gap: .125rem;
    border: none;
    box-shadow: none;
    transform: none;
    transition: none;
  }
  .nav__link {
    font-size: .9375rem;
    padding: .5rem 1rem;
    border: none;
    border-radius: 4px;
    color: rgba(255,255,255,.8);
  }
  .nav__link:hover { padding-left: 1rem; }
  .nav__link--cta {
    display: inline-block;
    margin-top: 0;
    padding: .5rem 1.25rem;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  background: var(--blue-deeper);
  overflow: hidden;
  padding-bottom: 5rem;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}
@media (max-width: 767px) {
  .hero {
    height: calc(100dvh + env(safe-area-inset-bottom, 0px));
    height: calc(100lvh + env(safe-area-inset-bottom, 0px));
    min-height: calc(100dvh + env(safe-area-inset-bottom, 0px));
    padding-bottom: calc(2.75rem + env(safe-area-inset-bottom, 0px));
  }
  .hero .hero__overlay { background: linear-gradient(180deg, rgba(0,5,20,.65) 0%, transparent 20%); }
  .hero__img { object-position: 50% 25%; }
  /* Badge — rótulo pequeno, claramente uma tag */
  .hero__badge  { font-size: .42rem; letter-spacing: .12em; padding: .12rem .4rem; margin-bottom: .625rem; border-color: rgba(245,197,24,.18); background: rgba(0,5,20,.35); }
  .hero__title  { font-size: 3.5rem; line-height: 1.0; letter-spacing: -.04em; margin-bottom: .625rem; }
  /* Slogan — subtítulo secundário, visivelmente menor que o título */
  .hero__slogan { font-size: clamp(.9rem, 4vw, 1.0625rem); line-height: 1.4; margin-bottom: 1.5rem; padding-left: .875rem; }
}
/* Desktop: empurra imagem para a direita aumentando a escala horizontal */
@media (min-width: 768px) {
  .hero__img { 
    width: 116%; 
    max-width: none;
    object-position: 0% 25%; 
  }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    /* Vinheta nas bordas — centro aberto para o rosto */
    radial-gradient(ellipse at 50% 26%, transparent 26%, rgba(0,5,20,.60) 82%),
    /* Brilho quente no rosto */
    radial-gradient(ellipse at 50% 22%, rgba(245,175,30,.26) 0%, transparent 38%),
    /* Reflexo dourado suave lateral */
    radial-gradient(ellipse at 50% 40%, rgba(245,140,10,.08) 0%, transparent 26%),
    /* Scrim inferior para legibilidade do texto */
    linear-gradient(180deg, transparent 0%, rgba(0,5,20,.18) 48%, rgba(0,5,20,.96) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  width: 100%;
}

.hero__body { max-width: 660px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(245,197,24,.35);
  padding: .375rem .875rem;
  border-radius: 2px;
  margin-bottom: 1.375rem;
  line-height: 1.5;
}
@media (min-width: 560px) {
  .hero__badge { white-space: nowrap; }
}
.hero__badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 6.5vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: normal;
  font-weight: 800;
  color: var(--gold);
}

.hero__slogan {
  font-family: var(--font-sans);
  font-size: clamp(1.125rem, 3vw, 1.625rem);
  font-weight: 400;
  color: rgba(255,255,255,.82);
  line-height: 1.45;
  margin-bottom: 2.75rem;
  padding-left: 1.125rem;
  border-left: 3px solid var(--gold);
  letter-spacing: .01em;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.4);
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 1;
  writing-mode: horizontal-tb;
}
.hero__scroll-hint svg {
  width: 1.125rem;
  height: 1.125rem;
  animation: nudge 2.2s ease-in-out infinite;
}
@keyframes nudge {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* Flag strip at bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 33%, var(--green) 33% 66%, var(--gold) 66%);
  z-index: 2;
}

@media (min-width: 768px) {
  .hero { align-items: center; padding-bottom: 0; }
  .hero__content { padding-top: 0; }
  /* Texto na esquerda, rosto visível à direita */
  .hero__body { max-width: min(440px, 42vw); }
  .hero__overlay {
    background:
      /* Vinheta global — profundidade cinematográfica */
      radial-gradient(ellipse at 70% 42%, transparent 20%, rgba(0,5,20,.70) 90%),
      /* Brilho quente principal no rosto */
      radial-gradient(ellipse at 73% 28%, rgba(245,175,30,.26) 0%, transparent 36%),
      /* Reflexo dourado suave abaixo */
      radial-gradient(ellipse at 67% 62%, rgba(245,140,10,.10) 0%, transparent 28%),
      /* Scrim esquerda para legibilidade do texto */
      linear-gradient(90deg, rgba(0,10,40,.97) 0%, rgba(0,20,70,.88) 26%, rgba(0,15,55,.08) 44%, transparent 55%),
      /* Base escura vertical */
      linear-gradient(180deg, rgba(0,15,55,.22) 0%, rgba(0,5,20,.62) 100%);
  }
}

/* ============================================================
   PROPOSALS
   ============================================================ */
.proposals {
  background: var(--blue-deeper);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.proposals::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,.06) 0%, transparent 70%);
  pointer-events: none;
}

.proposals .section-badge {
  background: rgba(245,197,24,.12);
  color: var(--gold);
  border-left-color: var(--gold);
}
.proposals .section-title  { color: var(--white); }
.proposals .section-subtitle { color: rgba(255,255,255,.6); }

.proposals__intro {
  max-width: 780px;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,.65);
}
.proposals__intro strong,
.edu-highlight {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .04em;
}

.proposals__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
}
@media (min-width: 640px) {
  .proposals__grid { grid-template-columns: 1fr 1fr; gap: 1.375rem; }
}
.proposal-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background var(--ease), transform var(--ease), border-color var(--ease);
}
.proposal-card:hover {
  background: rgba(255,255,255,.07);
  transform: translateY(-4px);
  border-color: rgba(245,197,24,.3);
}

.proposal-card__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: rgba(245,197,24,.15);
  border: 1px solid rgba(245,197,24,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proposal-card__icon svg {
  width: 1.375rem;
  height: 1.375rem;
  stroke: var(--gold);
}

.proposal-card__title {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .375rem;
  line-height: 1.2;
}
.proposal-card__text {
  font-size: .9375rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}


.proposal-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.proposal-card__list li {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.proposal-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: .05em;
  color: var(--gold);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1;
}

@media (min-width: 768px) { .proposals { padding: 7rem 0; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--off-white);
  padding: 5rem 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about { padding: 7rem 0; }
  .about__grid {
    grid-template-columns: 340px 1fr;
    gap: 4.5rem;
    margin-bottom: 6rem;
  }
}
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 400px 1fr; }
}

/* Photo */
.about__photo-wrap {
  position: relative;
  max-width: 400px;
  margin-inline: auto;
}
@media (min-width: 768px) { .about__photo-wrap { margin-inline: 0; } }

.about__photo-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
}
.about__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about__photo-deco {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  width: 55%;
  aspect-ratio: 1;
  background: var(--blue);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: .18;
}
.about__photo-deco2 {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 40%;
  aspect-ratio: 1;
  background: var(--gold);
  border-radius: 50%;
  z-index: 0;
  opacity: .1;
}

/* Bio */
.about__bio .section-title { color: var(--blue-dark); }

.about__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.about__text p {
  font-size: 1.0625rem;
  color: var(--text-medium);
  line-height: 1.8;
}

/* ============================================================
   TRAJECTORY
   ============================================================ */
.trajectory {
  background: var(--blue-deeper);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.trajectory::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 55% at 50% 0%, rgba(0,71,171,.35) 0%, transparent 70%);
  pointer-events: none;
}

.trajectory .section-title  { color: var(--white); }
.trajectory .section-subtitle { color: rgba(255,255,255,.62); }

.trajectory__list {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  margin-inline: auto;
}

.trajectory__item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0 1.75rem;
}
.trajectory__item:last-child .trajectory__line { display: none; }

/* Node column */
.trajectory__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.25rem;
}
.trajectory__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue-deeper);
  border: 2.5px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(245,197,24,.14);
  flex-shrink: 0;
}
.trajectory__line {
  flex: 1;
  width: 2px;
  min-height: 2rem;
  background: linear-gradient(to bottom, rgba(245,197,24,.45), rgba(245,197,24,.06));
  margin-top: .375rem;
}

/* Card */
.trajectory__card {
  padding: 1.125rem 1.5rem 2.75rem;
  border-left: 2px solid rgba(245,197,24,.18);
  transition: border-color .25s ease;
}
.trajectory__item:hover .trajectory__card { border-left-color: rgba(245,197,24,.5); }
.trajectory__item:last-child .trajectory__card { padding-bottom: 0; }

/* Year badge */
.trajectory__year {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245,197,24,.1);
  border: 1px solid rgba(245,197,24,.22);
  border-radius: 999px;
  padding: .2rem .7rem;
  margin-bottom: .75rem;
}

.trajectory__title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.trajectory__desc {
  font-size: .9375rem;
  color: rgba(255,255,255,.58);
  line-height: 1.72;
}

/* Featured: 2026 */
.trajectory__item--featured .trajectory__dot {
  background: var(--gold);
  width: 18px;
  height: 18px;
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(245,197,24,.2), 0 0 24px rgba(245,197,24,.45);
  animation: pulse-traj 2.5s ease-in-out infinite;
}
@keyframes pulse-traj {
  0%, 100% { box-shadow: 0 0 0 5px rgba(245,197,24,.2),  0 0 24px rgba(245,197,24,.45); }
  50%       { box-shadow: 0 0 0 10px rgba(245,197,24,.1), 0 0 40px rgba(245,197,24,.65); }
}
.trajectory__item--featured .trajectory__card {
  border-left-color: rgba(245,197,24,.5);
}
.trajectory__item--featured .trajectory__year {
  background: rgba(245,197,24,.18);
  border-color: rgba(245,197,24,.45);
}
.trajectory__item--featured .trajectory__title {
  font-size: 1.1875rem;
  color: var(--gold);
}
.trajectory__item--featured .trajectory__desc {
  color: rgba(255,255,255,.8);
}

/* ============================================================
   ABOUT — FAMÍLIA & LATTES
   ============================================================ */
.about__family {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.about__family-photo {
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about__family-caption {
  font-family: var(--font-sans);
  font-size: .8125rem;
  color: var(--text-light);
  font-style: italic;
  padding-left: .25rem;
}

.about__lattes {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: .5rem 1rem;
  border-radius: 4px;
  transition: background var(--ease), color var(--ease);
  width: fit-content;
}
.about__lattes svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.about__lattes .icon-ext { width: .875rem; height: .875rem; opacity: .6; }
.about__lattes:hover {
  background: var(--blue);
  color: var(--white);
}
.about__lattes:hover .icon-ext { opacity: 1; }

/* ============================================================
   BOOKS
   ============================================================ */
.books { }

.books__heading {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.books__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 540px) { .books__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .books__grid { grid-template-columns: repeat(3, 1fr); } }

.book-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
}
.book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.book-card__cover {
  aspect-ratio: 7 / 10;
  overflow: hidden;
}
.book-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.book-card:hover .book-card__img { transform: scale(1.05); }

.book-card__info { padding: 1.25rem; flex: 1; }

.book-card__title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.book-card__desc {
  font-size: .875rem;
  color: var(--text-medium);
  line-height: 1.65;
}

/* ============================================================
   SUPPORT — PARTY & SUPPORTERS
   ============================================================ */
.support {
  background: var(--off-white);
  padding: 5rem 0;
}

.party-block {
  background: var(--blue-deeper);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  margin-bottom: 4rem;
  text-align: center;
}
@media (min-width: 768px) {
  .party-block { padding: 4rem 3.5rem; }
}

.party-block__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.party-block__logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .92;
}
@media (min-width: 768px) {
  .party-block__logo { height: 80px; }
}

.party-block__desc {
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  max-width: 600px;
  font-size: .9375rem;
}

.party-block__pillars {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 600px) {
  .party-block__pillars { grid-template-columns: repeat(3, 1fr); }
}

.party-pillar {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.party-pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(245,197,24,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.party-pillar__icon svg { width: 20px; height: 20px; }

.party-pillar__title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
}

.party-pillar__desc {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}

.party-block__cta { text-align: center; }

.btn--outline-blue {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
}
.btn--outline-blue:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.supporters-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .supporters-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .supporters-grid { grid-template-columns: repeat(4, 1fr); }
}

.supporter-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.supporter-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
}
.supporter-card__icon svg { width: 22px; height: 22px; }
.supporter-card__title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .5rem;
}
.supporter-card p {
  font-size: .9375rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.support__cta {
  text-align: center;
  margin-top: 3.5rem;
}
.support__cta-text {
  font-size: 1.0625rem;
  color: var(--text-medium);
  margin-bottom: 1.25rem;
}

.featured-supporter {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--blue-deeper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .featured-supporter { grid-template-columns: 340px 1fr; }
  .featured-supporter--reverse { grid-template-columns: 1fr 340px; }
  .featured-supporter--reverse .featured-supporter__photo-wrap { order: 2; }
  .featured-supporter--reverse .featured-supporter__body { order: 1; }
}

.featured-supporter__photo-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .featured-supporter__photo-wrap { height: 100%; min-height: 400px; }
}
.featured-supporter__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.featured-supporter__body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .875rem;
}
@media (min-width: 1024px) {
  .featured-supporter__body { padding: 3.5rem; }
}

.featured-supporter__label {
  display: inline-block;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(245,197,24,.35);
  padding: .2rem .65rem;
  border-radius: 2px;
  width: fit-content;
}

.featured-supporter__name {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0;
}
.featured-supporter__name em {
  font-style: normal;
  color: var(--gold);
}

.featured-supporter__role {
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.featured-supporter__desc {
  font-size: .9375rem;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  max-width: 480px;
}

.featured-supporter__stats {
  display: flex;
  gap: 2rem;
  padding-top: .5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.feat-stat__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.feat-stat__label {
  display: block;
  font-size: .6875rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: .25rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060E1D;
  padding: 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 33%, var(--green) 33% 66%, var(--gold) 66%);
}

.footer__main {
  padding: 4.5rem 0 3.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }
}

/* Coluna marca */
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}
.footer__party-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-bottom: .375rem;
}
.footer__name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
}
.footer__mandate {
  font-size: .6875rem;
  color: rgba(255,255,255,.36);
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.65;
  margin-bottom: .375rem;
}
.footer__tagline {
  font-size: .9375rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: .875rem;
}
.footer__cta {
  font-size: .875rem;
  padding: .65rem 1.25rem;
}
.footer__cta--secondary {
  margin-top: .625rem;
  background: transparent;
  color: #25D366;
  border: 1.5px solid rgba(37,211,102,.5);
}
.footer__cta--secondary:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}

/* Coluna navegação */
.footer__col-title {
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 1.125rem;
}
.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.footer__nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .9375rem;
  color: rgba(255,255,255,.5);
  transition: color .2s ease;
}
.footer__nav-link:hover { color: var(--gold); }
.footer__nav-link--ext svg { width: .625rem; height: .625rem; opacity: .6; }

/* Coluna social */
.footer__social {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer__social-link {
  display: flex;
  align-items: center;
  gap: .875rem;
  color: rgba(255,255,255,.5);
  transition: color .2s ease;
}
.footer__social-link:hover { color: var(--gold); }
.footer__social-link svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}
.footer__social-link span {
  font-size: .9375rem;
}

.footer__qr-wrap {
  margin-top: 1.75rem;
}

.footer__qr-grid {
  display: flex;
  gap: 1rem;
}

.footer__qr-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.footer__qr-card {
  border-radius: 10px;
  padding: 2px;
  background: rgba(255,255,255,.15);
  transition: transform .25s ease, background .25s ease;
}

.footer__qr-item:hover .footer__qr-card {
  transform: translateY(-3px);
  background: rgba(255,255,255,.28);
}

.footer__qr-inner {
  background: #fff;
  border-radius: 8px;
  padding: 7px;
}

.footer__qr-img {
  width: 128px;
  height: 128px;
  display: block;
  border-radius: 3px;
  object-fit: contain;
}

/* Barra legal inferior */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
}
.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  text-align: center;
}
.footer__bottom-inner p {
  font-size: .625rem;
  color: rgba(255,255,255,.22);
  line-height: 1.65;
  letter-spacing: .03em;
}

/* ============================================================
   RESPONSIVE — MISC
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
