/* =====================
   VARIÁVEIS & RESET
   ===================== */
:root {
    --red: #CC2929;
    --red-dark: #A31F1F;
    --black: #1A1A1A;
    --white: #FFFFFF;
    --gray-light: #F5F4F2;
    --gray: #6B6B6B;
    --gray-mid: #D0D0D0;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --container: 1200px;
    --section-py: 88px;
    --radius: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* =====================
   UTILITÁRIOS
   ===================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-white { color: var(--white); }
.text-white-70 { color: rgba(255,255,255,0.75); }
.text-gray { color: #888; }

.label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red);
    margin-bottom: 12px;
}
.label-light { color: rgba(255,255,255,0.55); }

h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.08;
    margin-bottom: 14px;
    letter-spacing: 0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 540px;
    margin-bottom: 48px;
    line-height: 1.65;
}

/* =====================
   BOTÕES
   ===================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.93rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
    text-align: center;
}
.btn-red  { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--red); border-color: var(--white); }
.btn-white:hover { background: #f0f0f0; transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-full { width: 100%; }
.cta-center { text-align: center; margin-top: 16px; }

/* =====================
   NAVEGAÇÃO
   ===================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; padding: 18px 0;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.09);
    padding: 11px 0;
}

.nav-container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; }
.nav-logo .logo-img {
    height: 88px;
    width: auto;
    transition: height 0.3s ease;
}
/* topo (sobre fundo vermelho) = logo branca; ao rolar (fundo branco) = logo colorida */
.nav-logo .logo-cor { display: none; border-radius: 6px; }
.navbar.scrolled .nav-logo .logo-branca { display: none; }
.navbar.scrolled .nav-logo .logo-cor { display: block; }
.navbar.scrolled .nav-logo .logo-img { height: 70px; }

.nav-menu { display: flex; align-items: center; list-style: none; gap: 4px; }

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 8px 13px;
    border-radius: 6px;
    color: var(--white);
    transition: all 0.2s ease;
}
.navbar.scrolled .nav-menu a { color: var(--black); }
.nav-menu a:hover { background: rgba(255,255,255,0.15); }
.navbar.scrolled .nav-menu a:hover { background: var(--gray-light); color: var(--red); }

.btn-nav { background: var(--red) !important; color: var(--white) !important; font-weight: 700 !important; }
.btn-nav:hover { background: var(--red-dark) !important; }

.nav-toggle {
    display: none; flex-direction: column;
    background: none; border: none; cursor: pointer; gap: 5px; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s ease; }
.navbar.scrolled .nav-toggle span { background: var(--black); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================
   HERO
   ===================== */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(rgba(150,20,20,0.78), rgba(150,20,20,0.78)),
        var(--red) url('../assets/hero-casa.jpg') center 30% / cover no-repeat;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; overflow: hidden;
    padding: 110px 0 80px;
}
.hero::before {
    content: '';
    position: absolute; top: -30%; right: -10%;
    width: 600px; height: 600px;
    background: rgba(0,0,0,0.07);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; bottom: -20%; left: -5%;
    width: 400px; height: 400px;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 820px; }

.hero-eyebrow {
    font-size: 0.82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.16em;
    color: rgba(255,255,255,0.65); margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6.5vw, 5.2rem);
    line-height: 1.04;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}
.hero-title span { color: rgba(255,255,255,0.82); }

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.78);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.65;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Ticker */
.hero-ticker {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.22);
    overflow: hidden; padding: 11px 0;
    z-index: 2;
}
.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 28s linear infinite;
}
.ticker-track span {
    font-family: var(--font-display);
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0 48px;
    white-space: nowrap;
}
@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =====================
   SEÇÕES BASE
   ===================== */
.section { padding: var(--section-py) 0; }
.section-dark { background: var(--black); }
.section-red  { background: var(--red); }
.section-light { background: var(--gray-light); }

/* =====================
   QUEM SOMOS
   ===================== */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px; align-items: center;
}
.section-text p { color: var(--gray); margin-bottom: 16px; font-size: 1.03rem; }
.section-text .btn { margin-top: 8px; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.section-image img {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 14px 40px rgba(0,0,0,0.14);
    display: block;
}

/* Cards de Missão e Valores — destaque (sem ícones) */
.valores-grid { gap: 26px; }
.valor-card {
    position: relative;
    background: var(--white);
    text-align: left;
    padding: 38px 30px 34px;
    border: 1px solid var(--gray-mid);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
}
.valor-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 5px;
    background: var(--red);
}
.valor-card h3 {
    font-size: 1.45rem;
    line-height: 1.1;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.valor-card p { font-size: 0.92rem; }
.valor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 34px rgba(0,0,0,0.12);
    border-color: var(--red);
}

.value-card {
    background: var(--gray-light);
    padding: 22px 20px;
    border-radius: var(--radius);
    border-left: 3px solid var(--red);
}
.value-icon { font-size: 1.7rem; display: block; margin-bottom: 9px; }
.value-card h3 { font-size: 0.97rem; font-weight: 700; margin-bottom: 5px; }
.value-card p { font-size: 0.84rem; color: var(--gray); line-height: 1.5; }

/* =====================
   NÚMEROS
   ===================== */
.numbers-section { background: var(--red); padding: 52px 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: center; max-width: 640px; margin: 0 auto; }
.number { display: block; font-family: var(--font-display); font-size: 3.8rem; color: var(--white); line-height: 1; margin-bottom: 8px; }
.number-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.09em; font-weight: 600; }

/* =====================
   TIMELINE
   ===================== */
.timeline { position: relative; padding-left: 44px; margin-top: 52px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.12); }

.timeline-item {
    position: relative; margin-bottom: 40px;
    display: grid; grid-template-columns: 90px 1fr;
    gap: 28px; align-items: start;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute; left: -49px; top: 8px;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--red); border: 2px solid rgba(255,255,255,0.25);
}

.timeline-year { font-family: var(--font-display); font-size: 2.2rem; color: var(--red); line-height: 1; }
.timeline-content h3 { color: var(--white); font-size: 1.05rem; font-weight: 700; margin-bottom: 7px; }
.timeline-content p { color: #888; font-size: 0.92rem; line-height: 1.6; }

/* =====================
   MORADIA
   ===================== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 40px; }
.feature-card {
    background: var(--gray-light); padding: 28px 22px; border-radius: var(--radius);
    text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gray-mid); }
.feature-icon { font-size: 2.2rem; display: block; margin-bottom: 14px; }
.feature-card h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 9px; }
.feature-card p { font-size: 0.86rem; color: var(--gray); line-height: 1.6; }

/* =====================
   PROCESSO SELETIVO
   ===================== */
.processo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 44px; }
.processo-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 28px; border-radius: var(--radius);
}
.processo-card-full { grid-column: span 2; }
.processo-card h3 { color: var(--white); font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.processo-card ul { list-style: none; }
.processo-card ul li {
    color: rgba(255,255,255,0.82); font-size: 0.93rem;
    padding: 7px 0 7px 18px; border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
}
.processo-card ul li::before { content: '→'; position: absolute; left: 0; color: rgba(255,255,255,0.45); }
.processo-card p { color: rgba(255,255,255,0.82); font-size: 0.93rem; margin-bottom: 20px; line-height: 1.6; }
.processo-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.faq { margin-top: 8px; }
.faq h3 { color: var(--white); font-size: 1.25rem; font-weight: 700; margin-bottom: 18px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: var(--radius); overflow: hidden;
}
.faq-question {
    width: 100%; background: none; border: none;
    padding: 17px 20px; text-align: left;
    color: var(--white); font-family: var(--font-body);
    font-size: 0.93rem; font-weight: 600; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: background 0.2s ease;
}
.faq-question::after { content: '+'; font-size: 1.3rem; font-weight: 300; flex-shrink: 0; margin-left: 16px; transition: transform 0.3s ease; }
.faq-question.active::after { transform: rotate(45deg); }
.faq-question:hover { background: rgba(255,255,255,0.05); }
.faq-answer { display: none; padding: 0 20px 17px; }
.faq-answer p { color: rgba(255,255,255,0.72); font-size: 0.9rem; line-height: 1.65; }

/* =====================
   NOTÍCIAS
   ===================== */
.noticias-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.noticia-card {
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; border: 1px solid var(--gray-mid);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.noticia-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.noticia-thumb {
    background: var(--red); height: 160px;
    display: flex; align-items: center; justify-content: center;
}
.noticia-thumb span { font-size: 3rem; }
.noticia-body { padding: 22px; }
.noticia-tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--red); margin-bottom: 8px;
}
.noticia-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.noticia-body p { font-size: 0.86rem; color: var(--gray); line-height: 1.55; margin-bottom: 14px; }
.noticia-date { font-size: 0.78rem; color: var(--gray-mid); font-weight: 500; }
.noticias-cta { text-align: center; margin-top: 36px; }

/* =====================
   GALERIA
   ===================== */
.gallery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px; margin-bottom: 52px;
}
.gallery-item {
    background: rgba(0,0,0,0.02);
    border: 2px dashed var(--gray-mid);
    aspect-ratio: 4/3; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 20px;
    transition: border-color 0.2s ease;
}
.gallery-item:hover { border-color: var(--red); }
.gallery-item span { color: var(--gray); font-size: 0.82rem; line-height: 1.5; }

/* Fotos da Casa (página Moradia) */
.casa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.casa-foto {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 6px 22px rgba(0,0,0,0.10);
}
.casa-foto:first-child { grid-column: span 2; grid-row: span 2; }
.casa-foto img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.4s ease;
}
.casa-foto:hover img { transform: scale(1.05); }
@media (max-width: 768px) {
    .casa-grid { grid-template-columns: 1fr 1fr; }
    .casa-foto:first-child { grid-column: span 2; grid-row: auto; }
}

.docs-section h3 { color: var(--white); font-size: 1.3rem; font-weight: 700; margin-bottom: 22px; }
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 28px; }
.doc-video {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius); padding: 40px 24px;
    text-align: center; cursor: pointer;
    transition: background 0.2s ease;
}
.doc-video:hover { background: rgba(255,255,255,0.1); }
.doc-video .play { display: block; font-size: 3rem; color: var(--red); margin-bottom: 14px; }
.doc-video h4 { color: var(--white); font-weight: 600; margin-bottom: 6px; }
.doc-video small { color: #888; font-size: 0.84rem; }

/* Documentários embutidos (player do YouTube) */
.doc-embed { text-align: center; }
.doc-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
    background: #000;
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.doc-player iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
.doc-embed h4 { color: var(--white); font-weight: 600; margin-bottom: 6px; }
.doc-embed small { color: #888; font-size: 0.84rem; }

/* =====================
   APOIE
   ===================== */
.apoie-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 24px; }
.apoie-card {
    background: var(--gray-light); padding: 28px;
    border-radius: var(--radius); border: 1px solid var(--gray-mid);
}
.apoie-card-featured {
    border-color: var(--red); background: #fff6f6; position: relative;
}
.apoie-card-featured::before {
    content: 'Recomendado';
    position: absolute; top: -12px; left: 20px;
    background: var(--red); color: var(--white);
    font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; padding: 3px 10px;
    border-radius: 20px; letter-spacing: 0.08em;
}
.apoie-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 9px; }
.apoie-card > p { color: var(--gray); font-size: 0.93rem; margin-bottom: 14px; line-height: 1.55; }
.pix-box {
    background: var(--white); border: 1px solid var(--gray-mid);
    border-radius: 6px; padding: 12px 15px;
    font-size: 0.9rem; color: var(--black);
    margin-bottom: 10px; word-break: break-all;
    font-family: monospace;
}
.apoie-note { font-size: 0.78rem !important; color: var(--gray) !important; margin-bottom: 0 !important; }
.trans-aviso {
    background: var(--gray-light);
    padding: 15px 20px; border-radius: var(--radius);
    font-size: 0.9rem; color: var(--gray);
    border-left: 3px solid var(--red);
}
.trans-aviso a { color: var(--red); font-weight: 600; text-decoration: none; }
.trans-aviso a:hover { text-decoration: underline; }

/* =====================
   TRANSPARÊNCIA
   ===================== */
.trans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.trans-card h3, .trans-docs h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.trans-table { width: 100%; border-collapse: collapse; }
.trans-table tr { border-bottom: 1px solid var(--gray-mid); }
.trans-table td { padding: 10px 0; font-size: 0.88rem; }
.trans-table td:first-child { color: var(--gray); font-weight: 600; width: 42%; }

.docs-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.doc-link {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    background: var(--white); border: 1px solid var(--gray-mid);
    border-radius: 6px; text-decoration: none;
    color: var(--black); font-size: 0.88rem;
    transition: all 0.2s ease;
}
.doc-link:hover { border-color: var(--red); color: var(--red); }

.parceiros-section h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.parceiros-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.parceiro-tag {
    background: var(--white); border: 1px solid var(--gray-mid);
    padding: 6px 14px; border-radius: 20px;
    font-size: 0.83rem; font-weight: 600; color: var(--gray);
}

/* =====================
   CONTATO
   ===================== */
.contato-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
.contato-info { display: flex; flex-direction: column; gap: 26px; }
.contato-item { display: flex; gap: 15px; align-items: flex-start; }
.contato-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contato-item h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--red); margin-bottom: 4px; }
.contato-item a, .contato-item p { color: var(--gray); font-size: 0.93rem; text-decoration: none; line-height: 1.55; }
.contato-item a:hover { color: var(--red); }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a { font-weight: 600 !important; color: var(--red) !important; font-size: 0.88rem !important; }
.social-links a:hover { text-decoration: underline !important; }

.contato-form { display: flex; flex-direction: column; gap: 15px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.83rem; font-weight: 600; color: var(--black); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1.5px solid var(--gray-mid);
    border-radius: 6px;
    font-family: var(--font-body); font-size: 0.93rem;
    color: var(--black); background: var(--white);
    transition: border-color 0.2s ease; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; }

/* =====================
   FOOTER
   ===================== */
.footer { background: var(--black); padding: 64px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand img { margin-bottom: 16px; height: 56px; border-radius: 6px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.93rem; font-style: italic; margin-bottom: 4px; }
.footer-since { font-size: 0.78rem !important; color: rgba(255,255,255,0.35) !important; }

.footer-links h4, .footer-contact h4 { color: var(--white); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.11em; margin-bottom: 16px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links ul a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links ul a:hover { color: var(--white); }

.footer-contact p { color: rgba(255,255,255,0.5); font-size: 0.88rem; margin-bottom: 6px; line-height: 1.5; }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 6px;
    background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.65);
    text-decoration: none; font-size: 0.78rem; font-weight: 700;
    transition: all 0.2s ease;
}
.footer-social a:hover { background: var(--red); color: var(--white); }

.footer-bottom { padding: 20px 0; }
.footer-bottom p { color: rgba(255,255,255,0.25); font-size: 0.78rem; text-align: center; }

/* =====================
   PAGE HERO (páginas internas)
   ===================== */
.page-hero {
    background: var(--red);
    padding: 130px 0 64px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; top: -40%; right: -10%;
    width: 500px; height: 500px;
    background: rgba(0,0,0,0.07); border-radius: 50%;
    pointer-events: none;
}
.page-hero .page-eyebrow {
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: rgba(255,255,255,0.6); margin-bottom: 14px;
    display: block;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4rem);
    color: var(--white); line-height: 1.06;
    margin-bottom: 16px; letter-spacing: 0.01em;
}
.page-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 560px; line-height: 1.6;
}

/* =====================
   NAV ACTIVE STATE
   ===================== */
.nav-menu a.nav-active {
    color: var(--white) !important;
    background: rgba(255,255,255,0.15);
}
.navbar.scrolled .nav-menu a.nav-active {
    color: var(--red) !important;
    background: rgba(204,41,41,0.07);
}

/* =====================
   HOME — CARDS DE PÁGINAS
   ===================== */
.pages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 16px;
}
.page-card {
    background: var(--gray-light);
    border: 1px solid var(--gray-mid);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-decoration: none;
    color: var(--black);
    display: flex; flex-direction: column; gap: 10px;
    transition: all 0.2s ease;
}
.page-card:hover {
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.page-card-icon { font-size: 2rem; }
.page-card h3 { font-size: 1rem; font-weight: 700; }
.page-card p  { font-size: 0.84rem; color: var(--gray); line-height: 1.5; flex: 1; }
.page-card .card-link {
    font-size: 0.82rem; font-weight: 700;
    color: var(--red); text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* HOME — NOTICIAS PREVIEW */
.home-noticias { background: var(--gray-light); }

/* =====================
   RESPONSIVO
   ===================== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .numbers-grid  { grid-template-columns: repeat(2, 1fr); }
    .apoie-grid    { grid-template-columns: 1fr 1fr; }
    .pages-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-py: 60px; }

    .nav-toggle { display: flex; }
    .nav-menu {
        display: none; position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--black); flex-direction: column;
        justify-content: center; align-items: center;
        gap: 8px; z-index: 999;
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { font-size: 1.2rem !important; color: var(--white) !important; padding: 12px 24px !important; }

    .section-grid, .contato-grid, .trans-grid { grid-template-columns: 1fr; gap: 40px; }
    .values-grid   { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .processo-grid { grid-template-columns: 1fr; }
    .processo-card-full { grid-column: span 1; }
    .noticias-grid { grid-template-columns: 1fr; }
    .pages-grid    { grid-template-columns: 1fr; }
    .gallery-grid  { grid-template-columns: 1fr 1fr; }
    .docs-grid     { grid-template-columns: 1fr; }
    .apoie-grid    { grid-template-columns: 1fr; }
    .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
    .hero-actions  { flex-direction: column; align-items: flex-start; }
    .timeline      { padding-left: 28px; }
    .timeline-item { grid-template-columns: 72px 1fr; gap: 16px; }
}

@media (max-width: 480px) {
    .values-grid, .features-grid, .gallery-grid { grid-template-columns: 1fr; }
    .numbers-grid  { grid-template-columns: 1fr 1fr; }
}
