/* Fontes do próprio site (sem pedir ao Google Fonts). */
@font-face{font-family:'Fredoka';font-style:normal;font-weight:500 700;font-display:swap;src:url(fonts/fredoka-latin.woff2) format('woff2')}
@font-face{font-family:'Nunito';font-style:normal;font-weight:500 800;font-display:swap;src:url(fonts/nunito-latin.woff2) format('woff2')}

/* Base das páginas estáticas (Nossos programas, Transparência). */
:root {
  --ink: #3a2410;
  --muted: #654f3d;
  --cream: #fff6e9;
  --paper: #fffdfa;
  --green: #166b3d;
  --green-soft: #e3f3e7;
  --coral: #d63a2d;
  --peach: #ffe4dc;
  --yellow: #ffc93c;
  --line: #eadfce;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Nunito, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
section[id], article[id] { scroll-margin-top: 110px; }
h1, h2, h3 { font-family: Fredoka, sans-serif; }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 100; padding: 12px 18px; border-radius: 14px; background: #fff; font-weight: 800; }
.skip-link:focus { top: 12px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

/* Cabeçalho e menu */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 16px 0; }
.nav { max-width: 1240px; min-height: 72px; margin: auto; padding: 8px 12px 8px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #f0e8dc; border-radius: 999px; background: rgba(255,255,255,.97); box-shadow: 0 12px 30px -20px rgba(88,54,25,.38); }
.brand { flex: 0 0 auto; }
.brand img { width: auto; height: 52px; }
.nav-links { display: flex; align-items: center; gap: 2px; font-size: 15.5px; font-weight: 800; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; white-space: nowrap; }
.nav-links a:hover { color: var(--green); background: var(--green-soft); }
.nav-links a[aria-current="page"] { color: var(--green); background: var(--green-soft); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: none; border-radius: 50%; background: #fff1c7; color: var(--ink); font-size: 22px; cursor: pointer; }
.mobile-menu { display: none; max-width: 1240px; margin: 10px auto 0; padding: 10px; border-radius: 28px; background: #fff; box-shadow: 0 18px 40px -14px rgba(150,80,30,.28); }
.mobile-menu a { display: flex; align-items: center; min-height: 52px; padding: 0 18px; border-radius: 18px; font: 600 19px Fredoka, sans-serif; }
.mobile-menu a[aria-current="page"], .mobile-menu a:hover { background: #fff1c7; }
.site-header.open .mobile-menu { display: block; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border-radius: 999px; font-family: Fredoka, sans-serif; font-size: 17px; font-weight: 600; text-align: center; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; border: none; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-green { background: var(--green); color: #fff; box-shadow: 0 12px 25px -14px rgba(22,107,61,.85); }
.button-green:hover { background: #105a33; }
.button-outline { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.button-outline:hover { background: #fff4d6; }
.button-coral { background: var(--coral); color: #fff; box-shadow: 0 12px 24px -14px rgba(217,63,45,.8); }
.button-coral:hover { background: #b92f20; }
.nav-cta { min-height: 46px; padding-inline: 22px; }

/* Cabeçalho de página */
.page-hero { position: relative; padding: clamp(56px, 7vw, 92px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 420px; height: 420px; right: -160px; top: -120px; border-radius: 50%; background: #d9f2e0; opacity: .8; }
.page-hero .wrap { position: relative; }
.eyebrow { width: fit-content; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #2fa84f; }
.page-hero h1 { max-width: 820px; margin: 20px 0 18px; font-size: clamp(40px, 5vw, 68px); line-height: 1.03; letter-spacing: -.02em; text-wrap: balance; }
.page-hero p { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }
.highlight { display: inline; padding: 0 6px; border-radius: 12px; background: var(--yellow); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.section { padding: clamp(64px, 8vw, 96px) 0; }
.section-head { max-width: 740px; margin-bottom: 32px; }
.section-head h2 { margin: 14px 0 13px; font-size: clamp(33px, 4vw, 52px); line-height: 1.07; text-wrap: balance; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.kicker { display: inline-block; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

/* Card de destaque do Diagnóstico */
.study-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(18px, 3vw, 34px); padding: clamp(24px, 3.5vw, 40px); border-radius: 36px; background: linear-gradient(135deg, #12573a, #1d7a4a); color: #fff; box-shadow: 0 30px 60px -30px rgba(18,87,58,.8); }
.study-icon { width: 84px; height: 104px; border-radius: 14px; background: #fff; color: var(--green); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 700 15px Fredoka, sans-serif; box-shadow: 8px 8px 0 rgba(255,201,60,.9); }
.study-icon b { font-size: 30px; line-height: 1; }
.study-badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.study-card h2, .study-card h3 { margin: 12px 0 8px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; color: #fff; }
.study-card p { margin: 0; color: #d9f2e0; font-size: 16.5px; line-height: 1.55; font-weight: 700; }
.study-meta { margin-top: 10px !important; color: #b8e0c6 !important; font-size: 14px !important; }
.study-card .button { background: #fff; color: var(--green); white-space: nowrap; }
.study-card .button:hover { background: #fff4d6; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--line); background: #fffdfa; }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 28px; align-items: start; padding: 32px 0 22px; }
.footer-brand img { height: 49px; width: auto; }
.footer-brand p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 280px; }
.footer-title { margin: 0 0 6px; font: 600 17px Fredoka, sans-serif; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 18px; font-size: 14px; font-weight: 800; }
.footer-links a, .footer-contact a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--green); }
.footer-contact { color: var(--muted); font-size: 14px; line-height: 1.5; }
.footer-contact a { font-weight: 800; color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 14px 0 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* WhatsApp sempre visível */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; background: #188345; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 27px; box-shadow: 0 16px 30px -8px rgba(24,131,69,.55); transition: transform .2s; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); }

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 760px) {
  .footer-main { grid-template-columns: 1fr; gap: 18px; }
  .study-card { grid-template-columns: 1fr; }
  .study-icon { width: 64px; height: 80px; }
  .study-icon b { font-size: 24px; }
}
@media (max-width: 650px) {
  .wrap { width: min(100% - 32px, 560px); }
  .site-header { padding: 10px 10px 0; }
  .nav { min-height: 64px; padding: 7px 9px 7px 12px; gap: 8px; }
  .brand img { height: 44px; }
  .nav-cta { min-height: 44px; padding: 9px 16px; font-size: 15px; }
  .section { padding: 60px 0; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 58px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .whatsapp-float { transition: none; }
}
