@font-face {
  font-family: 'Grama';
  src: url('../../fonts/Grama-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Grama';
  src: url('../../fonts/Grama-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Grama';
  src: url('../../fonts/Grama-Black.otf') format('opentype');
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --purple: #821187;
  --pink: #f5268d;
  --yellow: #ffc400;
  --green: #3d5700;
  --cream: #f4e9cb;
  --charcoal: #262626;
  --brown: #6a3700;
  --header-height: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--charcoal); background: var(--cream); font-family: 'Inter', sans-serif; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: white; transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { min-height: var(--header-height); padding: 15px clamp(20px, 5vw, 82px); display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--purple); color: var(--yellow); position: relative; z-index: 20; }
.brand { flex: 0 1 315px; }
.brand img { width: min(315px, 100%); }
.main-nav { display: flex; gap: clamp(24px, 4vw, 62px); align-items: center; font: 900 clamp(1rem, 1.7vw, 1.35rem)/1 'Grama', sans-serif; }
.main-nav a, .main-nav span { text-decoration: none; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: white; }
.nav-pending { cursor: default; opacity: .95; }
.menu-toggle { display: none; width: 46px; height: 42px; padding: 8px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; height: 3px; margin: 5px 0; background: var(--yellow); }

.hero-home { min-height: min(760px, calc(100svh - var(--header-height))); position: relative; display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: center; padding: clamp(50px, 8vw, 90px) clamp(20px, 5vw, 60px); color: white; background: var(--charcoal); overflow: hidden; }
.hero-video, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; opacity: .78; }
.hero-shade { background: linear-gradient(90deg, rgba(24,24,24,.50) 0%, rgba(24,24,24,.28) 45%, rgba(24,24,24,.06) 100%); }
.hero-copy { position: relative; z-index: 1; max-width: 610px; width: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; align-self: center; margin: auto 0; }
.hero-form { position: relative; z-index: 1; align-self: center; background: rgba(255,255,255,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: white; border-radius: 10px; padding: 20px; box-shadow: 0 8px 32px rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.28); scroll-margin-top: 100px; }
.hero-form .form-content { display: flex; flex-direction: column; gap: 10px; }
.hero-form h3 { margin: 0; color: white; font: 900 1.25rem/1 'Grama', sans-serif; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.hero-form .form-content > p { margin: 0 0 2px; font-size: .88rem; line-height: 1.3; color: rgba(255,255,255,.92); }
.hero-form input, .hero-form select { width: 100%; padding: 10px 12px; border: 2px solid var(--purple); border-radius: 7px; background: rgba(255,255,255,.92); font: 400 .92rem/1 'Inter', sans-serif; color: var(--charcoal); }
.hero-form input:focus, .hero-form select:focus { outline: none; border-color: var(--pink); }
.hero-form .form-row { display: grid; grid-template-columns: 90px 1fr; gap: 10px; }
.hero-form .form-check { display: flex; align-items: center; gap: 8px; font-size: .8rem; line-height: 1.2; cursor: pointer; color: rgba(255,255,255,.95); }
.hero-form .form-check input { width: auto; }
.hero-form .form-privacy { font-size: .72rem; line-height: 1.3; opacity: .85; color: rgba(255,255,255,.9); }
.hero-form .form-privacy a { color: var(--yellow); text-decoration: underline; }
.hero-form button[type='submit'] { margin-top: 2px; padding: 12px 18px; background: var(--purple); color: var(--yellow); border: none; border-radius: 7px; font: 900 .95rem/1 'Grama', sans-serif; text-transform: uppercase; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.hero-form button[type='submit']:hover { background: var(--pink); color: white; transform: translateY(-1px); }
.hero-form .resposta { text-align: center; padding: 16px; background: var(--green); color: white; border-radius: 8px; font: 700 1rem/1.2 'Inter', sans-serif; }
.hero-title { margin: 0 0 20px; width: min(520px, 100%); display: flex; flex-direction: column; gap: 8px; }
.hero-title img { display: block; width: 100%; height: auto; object-fit: contain; }
.hero-title img:first-child { max-width: 360px; }
.hero-title img:last-child { max-width: 400px; }
.hero-copy p { max-width: 510px; margin: 0 0 28px; font-size: clamp(1rem, 1.6vw, 1.35rem); font-weight: 700; line-height: 1.17; text-align: left; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 25px; color: var(--charcoal); background: var(--yellow); text-decoration: none; font: 900 1rem/1 'Grama', sans-serif; border: 2px solid transparent; transition: transform .2s ease, background-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); background: white; }

.candidate { min-height: calc(max(500px, 53vw) - 20px); position: relative; display: flex; align-items: center; overflow: hidden; background: #9aaab0; }
.candidate-photo { position: absolute; inset: 0; overflow: hidden; }
/*
 * A foto da Keka existe uma única vez. O sol usa um canvas de 4801x2731
 * idêntico ao da foto e já vem recortado pela silhueta dela; por isso ele
 * aparenta estar atrás da cabeça sem precisar sobrepor uma segunda Keka.
 * Cena e sol recebem exatamente o mesmo sizing/position em qualquer viewport.
 * No desktop, a seção cresce com a largura da tela em vez de parar em 760px;
 * isso mantém a Keka grande, preenchendo a área, sem o corte excessivo em telas largas.
 */
.candidate-scene,
.candidate-sun { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center top; }
.candidate-scene { z-index: 0; }
.candidate-sun { z-index: 1; pointer-events: none; }
.candidate-copy { width: 47%; margin-left: auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(40px, 5vw, 80px); position: relative; z-index: 3; }
.candidate-copy h2 { margin: 0 0 18px; color: var(--yellow); text-transform: uppercase; font: 400 clamp(3.8rem, 7.5vw, 7.6rem)/.72 'Grama', sans-serif; letter-spacing: -.045em; }
.candidate-copy h2 strong { font-weight: 700; }
.candidate-copy p { max-width: 570px; margin: 0 0 25px; color: var(--cream); font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.25; }
.candidate-copy .button { font-weight: 400; }

.contribute { padding: clamp(80px, 9vw, 145px) 20px; background: var(--purple); color: var(--cream); text-align: center; margin-top: -20px; }
.section-kicker { margin: 0; color: var(--yellow); text-transform: uppercase; font: 400 clamp(2rem, 4vw, 3.4rem)/1 'Grama', sans-serif; }
.contribute h2 { margin: 0 auto 18px; text-transform: uppercase; font: 400 clamp(3rem, 7vw, 7.2rem)/.76 'Grama', sans-serif; letter-spacing: -.04em; }
.contribute h2 strong { font-weight: 900; }
.contribute > p:not(.section-kicker) { max-width: 660px; margin: 0 auto 24px; font-size: clamp(1.1rem, 1.8vw, 1.5rem); }
.amount { display: flex; flex-direction: column; color: var(--yellow); }
.amount strong { font: 900 clamp(3.2rem, 7vw, 6.8rem)/.9 'Grama', sans-serif; }
.amount span { margin-bottom: 24px; font: 700 1.25rem/1 'Grama', sans-serif; }
.pattern-divider { height: clamp(135px, 18vw, 260px); background: var(--green) url('../pagina-inicial/Ativo%209siteinical.webp') center/cover no-repeat; }

.causes { padding: clamp(65px, 8vw, 120px) clamp(20px, 6vw, 90px); background: var(--green); text-align: center; }
.causes h2 { margin: 0 0 45px; color: var(--yellow); text-transform: uppercase; font: 900 clamp(3.4rem, 7vw, 7rem)/.8 'Grama', sans-serif; }
.cause-grid { max-width: 1320px; margin: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 3vw, 42px); }
.cause-grid img { width: clamp(135px, 16vw, 220px); aspect-ratio: 1; object-fit: contain; }

.support { padding: clamp(75px, 8vw, 125px) clamp(20px, 4vw, 60px); background: var(--cream); text-align: center; }
.support-title { width: min(720px, 90%); margin: 0 auto 25px; }
.support .button { font-weight: 400; }
.supporters { max-width: 1280px; margin: 20px auto 40px; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 2vw, 30px); }
.supporters span { display: block; aspect-ratio: 1; border-radius: 50%; background: var(--purple); }

.site-footer { color: var(--yellow); background: var(--pink); }
.footer-pattern { height: 44px; background: url('../pagina-inicial/Ativo%2022siteinical.webp') center/cover no-repeat; }
.footer-content { min-height: 400px; padding: 48px clamp(24px, 8vw, 120px); display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; background: url('../pagina-inicial/Ativo%2022siteinical.webp') center/cover no-repeat; }
.footer-social { display: flex; flex-direction: column; gap: 22px; }
.footer-social p { margin: 12px 0 0; color: var(--yellow); text-transform: uppercase; font: 900 clamp(3.4rem, 7vw, 7rem)/.8 'Grama', sans-serif; letter-spacing: -.04em; }
.footer-content > img { width: min(250px, 32vw); max-height: 320px; object-fit: contain; }
.social-links { display: flex; flex-direction: row; align-items: center; gap: 32px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: clamp(56px, 5.8vw, 70px); height: clamp(56px, 5.8vw, 70px); background: var(--yellow); color: var(--purple); border-radius: 50%; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.social-links a:hover, .social-links a:focus-visible { background: white; color: var(--purple); transform: translateY(-3px); }
.social-links svg { width: clamp(26px, 3vw, 32px); height: clamp(26px, 3vw, 32px); }
.footer-legal { padding: 18px 24px 24px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 24px; background: var(--purple); color: white; font-size: .78rem; text-align: center; }
.footer-legal a { display: inline-flex; color: white; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--yellow); }
.footer-legal a img { width: auto; height: 14px; filter: brightness(0) invert(1); }

.privacy-hero { padding: 72px 20px 36px; background: var(--cream); text-align: center; }
.privacy-hero h1 { margin: 0 0 8px; color: var(--purple); text-transform: uppercase; font: 900 clamp(2.6rem, 6vw, 4.5rem)/.9 'Grama', sans-serif; letter-spacing: -.04em; }
.privacy-updated { margin: 0; color: var(--charcoal); font: 700 1rem/1.2 'Inter', sans-serif; opacity: .7; }
.privacy-content { background: var(--cream); }
.privacy-content h2 { margin: 36px 0 12px; color: var(--purple); font: 900 1.5rem/1.1 'Grama', sans-serif; }
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.6; color: var(--charcoal); }
.privacy-content ul { margin: 0 0 18px 20px; padding: 0; font-size: 1.05rem; line-height: 1.6; }
.privacy-content ul ul { margin-top: 8px; }
.privacy-content li { margin-bottom: 6px; }
.privacy-content a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.privacy-content a:hover, .privacy-content a:focus-visible { color: var(--pink); }
.privacy-content strong { font-weight: 700; }

.news-list { background: var(--cream); }
.news-card { display: grid; grid-template-columns: 340px 1fr; gap: 28px; padding: 28px; background: white; border: 2px solid var(--purple); margin-bottom: 24px; align-items: start; }
.news-card img { width: 100%; height: 220px; object-fit: cover; background: var(--cream); }
.news-card time { display: block; margin-bottom: 6px; color: var(--purple); font: 700 .85rem/1 'Grama', sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.news-card h2 { margin: 0 0 10px; font: 900 1.35rem/1.15 'Grama', sans-serif; }
.news-card h2 a { color: var(--purple); text-decoration: none; }
.news-card h2 a:hover { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.news-card p { margin: 0 0 12px; font-size: 1rem; line-height: 1.5; color: var(--charcoal); }
.news-link { font: 700 .95rem/1 'Grama', sans-serif; color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.news-link:hover { color: var(--pink); }
.news-source { margin-top: 18px; font-size: .9rem; opacity: .7; text-align: center; }
.news-source a { color: var(--purple); }
.programa-content .eixo { margin: 40px 0; padding: 28px; background: white; border-left: 6px solid var(--purple); }
.programa-content .eixo h2 { margin: 0 0 14px; color: var(--purple); font: 900 1.4rem/1.1 'Grama', sans-serif; text-transform: uppercase; }
.programa-content .eixo p { margin: 0 0 12px; }
.programa-content .eixo ul { margin: 12px 0 0 18px; }

.about-hero { min-height: max(420px, 43.6vw); position: relative; display: flex; align-items: center; overflow: hidden; background: #9aaab0; }
.about-hero-photo { position: absolute; inset: 0; overflow: hidden; }
.about-hero-scene,
.about-hero-sun { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center top; }
.about-hero-scene { z-index: 0; }
.about-hero-sun { z-index: 1; pointer-events: none; }
.about-hero h1 { width: 47%; margin: 0 3% 0 auto; position: relative; z-index: 3; color: var(--yellow); text-transform: uppercase; font: 400 clamp(4.4rem, 9vw, 9rem)/.72 'Grama', sans-serif; letter-spacing: -.045em; }
.about-hero h1 strong { font-weight: 900; }
.about-hero-title { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; width: min(520px, 100%); }
.about-hero-title span { color: var(--yellow); text-transform: uppercase; font: 400 clamp(4.2rem, 8.5vw, 7rem)/.72 'Grama', sans-serif; letter-spacing: -.045em; width: 100%; }
.about-hero-title img { display: block; width: 100%; height: auto; object-fit: contain; }
.about-hero-title img:nth-of-type(1) { max-width: 360px; }
.about-hero-title img:nth-of-type(2) { max-width: 400px; }
.text-band { padding: 35px 20px 42px; background: var(--cream); }
.reading-width { width: min(1120px, 100%); margin: auto; }
.roots h2 { margin: 0 0 8px; color: var(--purple); font: 900 1.35rem/1 'Grama', sans-serif; }
.roots p { margin: 0; font-size: clamp(1rem, 1.45vw, 1.3rem); line-height: 1.18; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; background: var(--green); color: var(--cream); }
.split-section img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.split-section > div { padding: clamp(50px, 7vw, 100px); align-self: center; }
.split-section p { margin: 0 0 20px; font-size: clamp(1rem, 1.45vw, 1.25rem); line-height: 1.35; }
.history-block { padding: clamp(80px, 10vw, 145px) 25px; }
.history-block h2 { margin: 0 0 20px; text-transform: uppercase; font: 700 clamp(3rem, 6vw, 6rem)/.82 'Grama', sans-serif; letter-spacing: -.035em; }
.history-block p { max-width: 1040px; margin: 0 0 15px; font-size: clamp(1rem, 1.45vw, 1.25rem); line-height: 1.27; }
.history-yellow { background: var(--yellow); color: var(--purple); }
.history-yellow p { color: var(--charcoal); }
.history-brown { background: var(--brown); color: var(--yellow); }
.history-brown p { color: var(--cream); }
.history-green { background: var(--green); color: var(--cream); }
.closing-statement { min-height: clamp(680px, 68vw, 980px); display: flex; align-items: stretch; color: white; background: #565343 url('../conheca/foto-3.webp') center 39%/cover no-repeat; overflow: hidden; position: relative; }
.closing-statement::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(41,42,31,.88) 0%, rgba(41,42,31,.58) 29%, rgba(41,42,31,.08) 52%, transparent 72%); }
.closing-copy { width: min(47%, 720px); display: flex; align-items: center; padding: clamp(45px, 6vw, 90px); position: relative; z-index: 1; }
.closing-copy p { margin: 0; text-transform: uppercase; text-wrap: balance; font: 700 clamp(2rem, 3.9vw, 4.25rem)/.88 'Grama', sans-serif; letter-spacing: -.025em; }
.closing-copy strong { font-weight: 900; }

@media (max-width: 820px) {
  :root { --header-height: 74px; }
  .site-header { min-height: var(--header-height); padding: 12px 18px; }
  .brand { flex-basis: 205px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .main-nav { display: none; position: fixed; inset: var(--header-height) 0 0; padding: 55px 30px; flex-direction: column; justify-content: flex-start; background: var(--purple); font-size: 2rem; }
  .menu-open .main-nav { display: flex; }
  .hero-home { min-height: 680px; padding: 70px 25px; grid-template-columns: 1fr; gap: 28px; place-items: start; justify-items: stretch; align-items: start; }
  .hero-copy { align-self: start; margin: 0; }
  .hero-form { width: 100%; max-width: 360px; margin: 0 auto; padding: 18px; }
  .hero-shade { background: linear-gradient(0deg, rgba(24,24,24,.72) 0%, rgba(24,24,24,.28) 58%, rgba(24,24,24,.04) 78%); }
  .hero-video { object-position: 62% center; opacity: .72; }
  .hero-title img:first-child { max-width: 250px; }
  .hero-title img:last-child { max-width: 280px; }
  .candidate { min-height: 740px; align-items: flex-end; }
  .candidate-scene,
  .candidate-sun { width: 160%; left: -30%; object-fit: cover; object-position: center; }
  .candidate-copy { width: 100%; margin: 0; padding: 360px 25px 55px; background: none; }
  .candidate-copy h2 { font-size: clamp(4rem, 18vw, 6.7rem); }
  .news-card { grid-template-columns: 1fr; padding: 20px; }
  .news-card img { height: 200px; }
  .cause-grid img { width: clamp(120px, 27vw, 190px); }
  .supporters { grid-template-columns: repeat(3, 1fr); }
  .footer-content { min-height: 310px; flex-direction: column; align-items: flex-start; padding: 36px 25px 40px; gap: 28px; }
  .footer-social { gap: 20px; }
  .footer-social p { font-size: clamp(3rem, 12vw, 4.2rem); }
  .social-links { gap: 20px; }
  .social-links a { width: 58px; height: 58px; }
  .social-links svg { width: 28px; height: 28px; }
  .about-hero { min-height: 680px; align-items: flex-end; }
  .about-hero-scene,
  .about-hero-sun { width: 160%; left: -30%; object-fit: cover; object-position: center; }
  .about-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(38,38,38,.75), transparent 65%); }
  .about-hero h1 { width: 100%; margin: 0; padding: 45px 25px; z-index: 4; font-size: clamp(4.3rem, 19vw, 7rem); }
  .about-hero-title span { font-size: clamp(3.8rem, 16vw, 6.2rem); line-height: .72; }
  .about-hero-title img:nth-of-type(1) { max-width: 250px; }
  .about-hero-title img:nth-of-type(2) { max-width: 280px; }
  .split-section { grid-template-columns: 1fr; }
  .split-section img { min-height: 360px; }
  .split-section > div { padding: 45px 25px 55px; }
  .history-block { padding: 70px 25px; }
  .history-block h2 { font-size: clamp(2.8rem, 12vw, 4.7rem); }
  .closing-statement { min-height: 860px; background-position: 56% center; }
  .closing-statement::before { background: linear-gradient(90deg, rgba(25,25,20,.9) 0%, rgba(25,25,20,.58) 58%, rgba(25,25,20,.06) 100%); }
  .closing-copy { width: 72%; align-items: flex-start; padding: 60px 25px; }
  .closing-copy p { font-size: clamp(2.15rem, 8.5vw, 3.3rem); }
}

@media (max-width: 480px) {
  .hero-title { gap: 6px; }
  .contribute h2 { font-size: 3.3rem; }
  .causes h2 { font-size: 4rem; }
  .cause-grid { gap: 10px; }
  .footer-content > img { width: 42vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .button { transition: none; }
}
