/**
 * ================================================================================
 * GUIA DE PESQUISA - Landing Page
 * ================================================================================
 * Folha de estilos principal do site. Contém todos os estilos de design,
 * layout e responsividade da página.
 * 
 * Organização: Variáveis → Base → Componentes Globais → Seções → Design Responsivo
 */

/* ============================================================================
   1. SISTEMA DE DESIGN - VARIÁVEIS CSS
   ============================================================================
   Define todas as cores, tipografia e sombras usadas no site.
   Usar variáveis CSS facilita manutenção e mudanças de tema.
*/

:root {
    /* Paleta de Cores Principal - 6 cores pop vibrantes */
    --rosa-forte: #dd2f54;        /* Rosa vibrante - cor primária */
    --verde-claro: #91dd36;       /* Verde neon - cor secundária */
    --coral-claro: #ff7777;       /* Coral suave - cor destaque */
    --roxo-escuro: #401b47;       /* Roxo profundo - cor neutra escura */
    --amarelo-claro: #ffffc5;     /* Amarelo pálido - cor de fundo */
    --azul-petroleo: #198faf;     /* Azul petróleo - cor terciária */

    /* Apelidos de Cores para Semântica */
    --primary-color: #dd2f54;     /* Cor primária (rosa) */
    --primary-dark: #401b47;      /* Versão escura da primária */
    --primary-light: #ff7777;     /* Versão clara da primária */
    --secondary-color: #91dd36;   /* Cor secundária (verde) */
    --tertiary-color: #198faf;    /* Cor terciária (azul) */

    /* Cores Neutras */
    --text-dark: #401b47;         /* Cor do texto (roxo escuro) */
    --text-light: #666666;        /* Cor de texto secundário */
    --bg-light: #ffffc5;          /* Fundo claro (amarelo) */
    --bg-white: #ffffff;          /* Fundo branco */
    --border-color: #e5e7eb;      /* Cor de bordas */

    /* Sombras Predefinidas */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);           /* Sombra pequena */
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);         /* Sombra média */
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);       /* Sombra grande */

    /* Tipografia */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 1rem;       /* Tamanho padrão */
    --font-size-sm: 0.875rem;     /* Tamanho pequeno */
    --font-size-lg: 1.125rem;     /* Tamanho grande */
}

/* Scroll-to-top button */
.scroll-top-btn {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 3px solid var(--roxo-escuro);
    background-color: var(--rosa-forte);
    color: white;
    font-size: 1.45rem;
    cursor: pointer;
    box-shadow: 0 6px 0 rgba(64, 27, 71, 0.35);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background-color 0.2s ease;

    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn i {
    display: block;
    line-height: 1;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--azul-petroleo);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 0 rgba(64, 27, 71, 0.35);
}

.scroll-top-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 rgba(64, 27, 71, 0.35);
}

@media (max-width: 480px) {
    .scroll-top-btn {
        right: 1rem;
        bottom: 1rem;
        width: 48px;
        height: 48px;
        font-size: 1.7rem;
    }
}

/* ============================================================================
   2. RESET E ESTILOS BASE
   ============================================================================
   Remove estilos padrão dos navegadores (margins, paddings) e define
   estilos base para toda a página.
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Inclui border e padding no tamanho total */
}

html {
    scroll-behavior: smooth;     /* Rolagem suave ao clicar em âncoras */
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;          /* Remove scroll horizontal */
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;            /* Altura de linha para melhor legibilidade */
    color: var(--text-dark);
    background-color: var(--amarelo-claro);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-top: 80px;           /* Espaço para o header fixo */
}

section {
    padding: 5rem 0;             /* Espaçamento interno das seções */
}

/* ============================================================================
   3. COMPONENTES GLOBAIS
   ============================================================================
   Estilos reutilizáveis aplicados em múltiplas seções do site.
*/

/* Animação de Revelação ao Rolar */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal-visible {
    opacity: 1;
    transform: translateY(0);    /* Remove a translação quando visível */
}

/* Container - Centraliza e limita largura do conteúdo */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilidades de Tipografia */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--roxo-escuro);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--roxo-escuro);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--roxo-escuro);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* ============================================================================
   4. BOTÕES E ELEMENTOS INTERATIVOS
   ============================================================================
   Estilos para todos os botões do site. Possuem efeito 3D com sombra
   dinâmica que muda ao passar o mouse ou clicar.
*/

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    border: 3px solid;
    cursor: pointer;
    font-size: var(--font-size-base);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 0 rgba(64, 27, 71, 0.3); /* Sombra cria efeito 3D */
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

/* Estado hover (passar mouse) */
.btn:hover {
    transform: translateY(-2px); /* Levanta o botão */
    box-shadow: 0 8px 0 rgba(64, 27, 71, 0.3); /* Aumenta a sombra */
}

/* Estado ativo (clicado) */
.btn:active {
    transform: translateY(4px); /* Desce o botão */
    box-shadow: 0 2px 0 rgba(64, 27, 71, 0.3); /* Reduz a sombra */
}

/* Botão Primário (Rosa) */
.btn-primary {
    background-color: var(--rosa-forte);
    color: white;
    border-color: var(--roxo-escuro);
    font-weight: 800;
}

.btn-primary:hover {
    background-color: var(--roxo-escuro);
    border-color: var(--rosa-forte);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(221, 47, 84, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(221, 47, 84, 0.25);
}

/* Botão Grande - usado em destaque */
.btn-lg {
    padding: 1.25rem 3.5rem;
    font-size: var(--font-size-lg);
    min-width: 200px;
    text-align: center;
}

/* Botão Pequeno - usado em menus */
.btn-sm {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    min-width: auto;
    border-radius: 0.5rem;
    border-width: 2.5px;
}

/* Tags/Labels - usado para categorias e destaques */
.tag {
    display: inline-block;
    background-color: var(--verde-claro);
    color: var(--roxo-escuro);
    border: 2px solid var(--roxo-escuro);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

/* ============================================================================
   5. HEADER (CABEÇALHO)
   ============================================================================
   Barra fixa no topo com logo, menu de navegação e menu hamburger móvel.
   O header compacta quando o usuário rola a página (classe .scrolled).
*/

.header {
    position: fixed;       /* Fixo no topo mesmo ao rolar */
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--roxo-escuro);
    border-bottom: 4px solid var(--rosa-forte);
    padding: 0.95rem 0;    /* Padding padrão */
    z-index: 1000;         /* Fica acima de todo conteúdo */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Header após o usuário fazer scroll (classe adicionada por JS) */
.header.scrolled {
    padding: 0.75rem 0;    /* Padding reduzido para economizar espaço */
    box-shadow: 0 6px 18px rgba(64, 27, 71, 0.25);
}

/* Conteúdo interno do header */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Logo e título do site */
.header-logo {
    flex-shrink: 0;
}

.header-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.header-logo-img {
    display: block;
    height: 32px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: var(--font-size-lg);
    color: white;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Menu de Navegação (desktop) */
.header-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

/* Links de navegação individual */
.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0.5rem 0;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--amarelo-claro);
    transform: translateY(-2px);
}

.nav-link:active {
    transform: translateY(0);
}

/* Botão Menu Hamburger (mobile) */
.menu-toggle {
    display: none;              /* Invisível por padrão (desktop) */
    flex-direction: column;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;             /* Acima do menu */
}

/* Linhas do menu hamburger */
.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animação do menu hamburger - primeira linha rotaciona */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

/* Animação do menu hamburger - linha do meio desaparece */
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

/* Animação do menu hamburger - última linha rotaciona */
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================================================
   6. SEÇÃO HERO
   ============================================================================
   Primeira seção visível com imagem do guia, título e chamada para ação.
   Fundo azul com elemento decorativo circular.
*/

.hero {
    background-color: var(--azul-petroleo);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 96%); /* Cria diagonal na base */
}

/* Elemento decorativo circular atrás (::before) */

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-image {
    text-align: center;
}

.guide-cover {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* Logo no espaço da capa do guia */
/* Logos no espaço da capa do guia */
.hero-logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.hero-logo-img {
    display: block;
    height: auto;
    object-fit: contain;
}

.hero-logo-mirante {
    max-width: 330px;
}

.hero-logo-quebra-cabeca {
    max-width: 185px;
}

/* ============================================================================
   LOGO QUEBRA CABEÇA EM SEÇÕES
   ============================================================================ */

.section-logo-badge {
    width: fit-content;
    max-width: 190px;
    margin: 0 auto 1.4rem;
    padding: 0.85rem 1.1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-logo-badge-dark {
    background-color: var(--amarelo-claro);
    border: 3px solid var(--roxo-escuro);
    box-shadow: 7px 7px 0 rgba(64, 27, 71, 0.28);
}

.section-logo-badge-light {
    background-color: white;
    border: 3px solid var(--roxo-escuro);
    box-shadow: 7px 7px 0 rgba(64, 27, 71, 0.18);
}

.section-logo-img {
    display: block;
    max-width: 135px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ============================================================================
   LOGO NO FOOTER
   ============================================================================ */

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-logo-wrap {
    background-color: var(--amarelo-claro);
    border: 3px solid var(--roxo-escuro);
    border-radius: 1rem;
    padding: 0.85rem 1.1rem;
    box-shadow: 6px 6px 0 rgba(64, 27, 71, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    display: block;
    max-width: 125px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-text,
.footer-credit {
    margin: 0;
}

/* ============================================================================
   7. ABOUT SECTION
   ============================================================================ */

.about-project {
    background-color: var(--amarelo-claro);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
    margin-top: -4rem;
}

.about-project::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--coral-claro);
    top: -50px;
    right: -80px;
    z-index: 0;
    opacity: 0.7;
}

.about-project::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--verde-claro);
    bottom: -75px;
    left: -75px;
    z-index: 0;
    opacity: 0.6;
}

.about-project .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-text h2 {
    color: var(--roxo-escuro);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 800;
}

.about-paragraph {
    font-size: var(--font-size-lg);
    color: var(--roxo-escuro);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.pillar-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 3px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 8px 8px 0 rgba(64, 27, 71, 0.3);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 rgba(64, 27, 71, 0.4);
}

.pillar-card.pillar-1 {
    background-color: var(--rosa-forte);
    color: white;
    border-color: #b81a3a;
}

.pillar-card.pillar-2 {
    background-color: var(--azul-petroleo);
    color: white;
    border-color: #0f6278;
}

.pillar-card.pillar-3 {
    background-color: var(--verde-claro);
    color: var(--roxo-escuro);
    border-color: #7ab02b;
}

.pillar-card.pillar-4 {
    background-color: var(--coral-claro);
    color: white;
    border-color: #e55555;
}

.pillar-mascot-wrap {
    width: 115px;
    height: 115px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-mascot {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.pillar-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pillar-description {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
}

.highlight-box {
    background-color: var(--rosa-forte);
    color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.6;
}

/* ============================================================================
   8. GUIDE CONTENT SECTION
   ============================================================================ */

.guide-content {
    background-color: var(--verde-claro);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 100%);
    margin-top: -4rem;
}

.guide-content::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--rosa-forte);
    top: -60px;
    left: -60px;
    z-index: 0;
    opacity: 0.5;
}

.guide-content::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--azul-petroleo);
    bottom: -30px;
    right: -60px;
    z-index: 0;
    opacity: 0.4;
}

.guide-content .container {
    position: relative;
    z-index: 1;
}

.guide-content .section-title {
    color: var(--roxo-escuro);
    margin-bottom: 1rem;
}

.guide-content .section-subtitle {
    color: var(--roxo-escuro);
    margin-bottom: 3rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--amarelo-claro);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 3px solid var(--rosa-forte);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 8px 8px 0 rgba(221, 47, 84, 0.2);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card:nth-child(2) { border-color: var(--azul-petroleo); }
.card:nth-child(3) { border-color: var(--coral-claro); }
.card:nth-child(4) { border-color: var(--rosa-forte); }
.card:nth-child(5) { border-color: var(--azul-petroleo); }
.card:nth-child(6) { border-color: var(--coral-claro); }

.card-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    z-index: 2;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}

.card:nth-child(1) .card-number { background-color: var(--rosa-forte); }
.card:nth-child(1) .card-number::before { content: '1'; }
.card:nth-child(2) .card-number { background-color: var(--azul-petroleo); }
.card:nth-child(2) .card-number::before { content: '2'; }
.card:nth-child(3) .card-number { background-color: var(--verde-claro); }
.card:nth-child(3) .card-number::before { content: '3'; }
.card:nth-child(4) .card-number { background-color: var(--coral-claro); }
.card:nth-child(4) .card-number::before { content: '4'; }
.card:nth-child(5) .card-number { background-color: var(--roxo-escuro); }
.card:nth-child(5) .card-number::before { content: '5'; }
.card:nth-child(6) .card-number { background-color: var(--rosa-forte); }
.card:nth-child(6) .card-number::before { content: '6'; }

.card::after {
    content: attr(data-number);
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(221, 47, 84, 0.08);
    pointer-events: none;
    line-height: 1;
}

.card:nth-child(2)::after { color: rgba(25, 143, 175, 0.08); }
.card:nth-child(3)::after { color: rgba(145, 221, 54, 0.08); }
.card:nth-child(4)::after { color: rgba(255, 119, 119, 0.08); }
.card:nth-child(5)::after { color: rgba(64, 27, 71, 0.08); }

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
    color: var(--roxo-escuro);
    padding-right: 70px;
}

.card-description {
    color: var(--roxo-escuro);
    font-size: var(--font-size-base);
    line-height: 1.6;
    font-weight: 500;
    flex-grow: 1;
}

/* ============================================================================
   9. DONATIONS SECTION
   ============================================================================ */

.donations {
    background-color: var(--azul-petroleo);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
    margin-top: -4rem;
}

.donations::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background-color: var(--rosa-forte);
    top: -90px;
    left: -110px;
    z-index: 0;
    opacity: 0.16;
}

.donations::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background-color: var(--verde-claro);
    bottom: -70px;
    right: -90px;
    z-index: 0;
    opacity: 0.14;
}

.donations .container {
    position: relative;
    z-index: 1;
}

.donations-header {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donations-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background-color: var(--verde-claro);
    color: var(--roxo-escuro);
    border: 2px solid var(--roxo-escuro);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.donations .section-title {
    color: white;
    margin-bottom: 1rem;
}

.donations .section-description {
    color: white;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.donations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.donation-card {
    min-height: 385px;
    background-color: var(--amarelo-claro);
    color: var(--roxo-escuro);
    border: 3px solid var(--roxo-escuro);
    border-radius: 1rem;
    padding: 1.9rem 1.6rem 1.6rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 8px 8px 0 rgba(64, 27, 71, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.donation-card::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 8px;
    background-color: var(--rosa-forte);
}

.donation-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 rgba(64, 27, 71, 0.34);
}

.donation-card:focus-visible {
    outline: 4px solid rgba(255, 255, 197, 0.55);
    outline-offset: 4px;
}

.donation-card-instagram::before {
    background-color: var(--rosa-forte);
}

.donation-card-volunteer::before {
    background-color: var(--verde-claro);
}

.donation-card-pix::before {
    background-color: var(--coral-claro);
}

.donation-card-instagram:hover {
    border-color: var(--rosa-forte);
}

.donation-card-volunteer:hover {
    border-color: var(--verde-claro);
}

.donation-card-pix:hover {
    border-color: var(--coral-claro);
}


.donation-card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
    height: 100%;
}

.donation-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--roxo-escuro);
    margin: 0;
}

.donation-card-text {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--roxo-escuro);
    font-weight: 500;
    margin: 0;
}

/* Botões internos dos cards de doação */
.donation-card-button {
    margin-top: auto;
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    border: 3px solid var(--roxo-escuro);
    color: white;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    box-shadow: 0 5px 0 rgba(64, 27, 71, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    font-family: inherit;
}

.donation-card-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(64, 27, 71, 0.28);
}

.donation-card-button:active {
    transform: translateY(2px);
    box-shadow: 0 3px 0 rgba(64, 27, 71, 0.28);
}

.donation-card-button-arrow {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.donation-card-button-instagram {
    background-color: var(--rosa-forte);
}

.donation-card-button-instagram:hover {
    background-color: var(--roxo-escuro);
}

.donation-card-button-volunteer {
    background-color: var(--azul-petroleo);
}

.donation-card-button-volunteer:hover {
    background-color: var(--roxo-escuro);
}

.donation-card-button-pix {
    background-color: var(--coral-claro);
}

.donation-card-button-pix:hover {
    background-color: var(--roxo-escuro);
}

.pix-box {
    background-color: white;
    border: 2px solid var(--roxo-escuro);
    border-radius: 0.85rem;
    padding: 0.75rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.donation-card-note {
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
}

.pix-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pix-key {
    font-size: 0.98rem;
    color: var(--roxo-escuro);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.donation-card-note {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
}

.donations-footer {
    margin: 2.25rem auto 0;
    max-width: 760px;
    padding: 0;
    text-align: center;
    color: white;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.donations-footer-text {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    font-weight: 500;
    margin: 0 0 1.75rem;
    color: white;
}

.donations-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================================================
   10. CONTACT SECTION
   ============================================================================ */

.contact {
    background-color: var(--amarelo-claro);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 100%);
    margin-top: -4rem;
}

.contact::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: var(--rosa-forte);
    top: -70px;
    right: -70px;
    z-index: 0;
    opacity: 0.22;
}

.contact::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--azul-petroleo);
    bottom: -90px;
    left: -90px;
    z-index: 0;
    opacity: 0.16;
}

.contact .container {
    position: relative;
    z-index: 1;
}

/* Layout geral da seção */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Cabeçalho da seção */
.contact-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background-color: rgba(221, 47, 84, 0.12);
    color: var(--rosa-forte);
    border: 2px solid var(--rosa-forte);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact .section-title {
    color: var(--roxo-escuro);
    margin-bottom: 0;
    text-align: center;
}

.contact-description {
    font-size: var(--font-size-lg);
    color: var(--roxo-escuro);
    line-height: 1.8;
    font-weight: 500;
    max-width: 680px;
    margin: 0;
}

/* Botão principal da seção */
.contact .btn-contact {
    background-color: var(--rosa-forte);
    color: white;
    border: 3px solid var(--roxo-escuro);
    box-shadow: 0 6px 0 rgba(64, 27, 71, 0.28);
    padding: 0.95rem 2.4rem;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
}

.contact .btn-contact:hover {
    background-color: var(--roxo-escuro);
    border-color: var(--rosa-forte);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(64, 27, 71, 0.25);
}

/* Grid com os três canais */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Card base */
.contact-card {
    min-height: 245px;
    background-color: var(--bg-white);
    color: var(--roxo-escuro);
    border: 3px solid var(--roxo-escuro);
    border-radius: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 8px 8px 0 rgba(64, 27, 71, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 7px;
    background-color: var(--rosa-forte);
}

.contact-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 rgba(64, 27, 71, 0.24);
}

.contact-card:focus-visible {
    outline: 4px solid rgba(25, 143, 175, 0.35);
    outline-offset: 4px;
}

/* Variações dos cards */
.contact-card-instagram::before {
    background-color: var(--rosa-forte);
}

.contact-card-personal-email::before {
    background-color: var(--azul-petroleo);
}

.contact-card-ong-email::before {
    background-color: var(--verde-claro);
}

.contact-card-instagram:hover {
    border-color: var(--rosa-forte);
}

.contact-card-personal-email:hover {
    border-color: var(--azul-petroleo);
}

.contact-card-ong-email:hover {
    border-color: var(--verde-claro);
}

/* Ícones dos cards */
.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--amarelo-claro);
    color: var(--roxo-escuro);
    border: 2px solid var(--roxo-escuro);
    font-size: 1.6rem;
    font-weight: 800;
    flex-shrink: 0;
}

.contact-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.contact-card-title {
    font-size: 1.18rem;
    font-weight: 800;
    margin: 0;
    color: var(--roxo-escuro);
}

.contact-card-text {
    font-size: 1rem;
    font-weight: 800;
    color: var(--roxo-escuro);
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

/* ============================================================================
   CONTACT RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }

    .contact-wrapper {
        gap: 2.5rem;
    }

    .contact-content {
        max-width: 100%;
    }

    .contact-description {
        font-size: var(--font-size-base);
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-card {
        min-height: auto;
        padding: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero-logos {
        flex-direction: row;
        gap: 1rem;
        padding: 0;
        border-radius: 0;
        background: none;
        border: none;
        box-shadow: none;
    }

    .hero-logo-mirante {
        max-width: 58%;
    }

    .hero-logo-quebra-cabeca {
        max-width: 32%;
    }

    .contact {
        padding: 3.5rem 0;
    }

    .contact::before {
        width: 90px;
        height: 90px;
        right: -45px;
        top: -45px;
    }

    .contact::after {
        width: 110px;
        height: 110px;
        left: -55px;
        bottom: -55px;
    }

    .contact-eyebrow {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
    }

    .contact .btn-contact {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.25rem;
    }

    .contact-card {
        padding: 1.25rem;
        border-radius: 0.85rem;
        box-shadow: 6px 6px 0 rgba(64, 27, 71, 0.16);
    }

    .contact-card:hover {
        transform: translate(-2px, -2px);
        box-shadow: 8px 8px 0 rgba(64, 27, 71, 0.22);
    }

    .contact-card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .contact-card-text {
        font-size: 0.92rem;
    }
}

@media (max-width: 480px) {
    .guide-content {
        clip-path: none;
        margin-top: -2rem;
        padding-bottom: 7rem;
        position: relative;
        overflow: hidden;
    }

    .guide-content .container {
        position: relative;
        z-index: 1;
    }

    .guide-content::after {
        content: "";
        position: absolute;
        left: -10%;
        right: -10%;
        bottom: -55px;
        height: 130px;
        background-color: var(--azul-petroleo);
        transform: skewY(-8deg);
        transform-origin: right top;
        border-radius: 0;
        opacity: 1;
        z-index: 0;
    }

    .donations {
        clip-path: none;
        margin-top: -1px;
        padding-top: 4rem;
    }
}

/* ============================================================================
   11. FINAL CTA SECTION
   ============================================================================ */

.final-cta {
    background-color: var(--rosa-forte);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 100%);
    margin-top: -4rem;
}

.final-cta .container {
    position: relative;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: var(--font-size-lg);
    margin-bottom: 2rem;
    opacity: 0.98;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .btn-primary {
    background-color: var(--azul-petroleo);
    border-color: var(--azul-petroleo);
}

.final-cta .btn-primary:hover {
    background-color: #146a85;
    border-color: #146a85;
}

/* ============================================================================
   12. FOOTER
   ============================================================================ */

.footer {
    background-color: var(--roxo-escuro);
    color: white;
    text-align: center;
    padding: 2rem 0;
    font-size: var(--font-size-sm);
    border-top: none;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 100%);
    margin-top: -4rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.footer-social-link {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.footer-social-link:hover {
    background-color: white;
    color: var(--roxo-escuro);
    transform: translateY(-3px);
    box-shadow: 0 6px 0 rgba(64, 27, 71, 0.12);
}

.footer-social-link:active {
    transform: translateY(0);
}

/* ============================================================================
   13. RESPONSIVE DESIGN - TABLET (768px and below)
   ============================================================================ */

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Header */
    .header {
        padding: 1rem 0;
    }

    .header-content {
        gap: 1.5rem;
    }

    .header-logo-img {
        height: 28px;
        max-width: 130px;
    }

    .logo-text {
        font-size: 1.05rem;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--roxo-escuro);
        padding: 1.5rem;
        gap: 1rem;
        align-items: stretch;
        justify-content: flex-start;
        border-bottom: 4px solid var(--rosa-forte);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .header-nav.active {
        display: flex;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        text-align: left;
        border-radius: 0.5rem;
        transition: all 0.2s ease;
    }

    .nav-link:hover {
        background-color: rgba(255, 255, 197, 0.1);
    }

    .menu-toggle {
        display: flex;
    }

    /* Decorative Elements */
    .about-project::before {
        width: 140px;
        height: 140px;
        right: -50px;
        top: 0px;
    }

    .about-project::after {
        width: 100px;
        height: 100px;
        left: -50px;
        bottom: -50px;
    }

    .guide-content::before {
        width: 80px;
        height: 80px;
        left: -40px;
        top: -40px;
    }

    .guide-content::after {
        width: 120px;
        height: 120px;
        right: -40px;
    }

    .donations::before {
        width: 180px;
        height: 180px;
        left: -70px;
        opacity: 0.1;
    }

    .donations::after {
        width: 150px;
        height: 150px;
        right: -60px;
        opacity: 0.08;
    }

    .contact::before {
        width: 100px;
        height: 100px;
        right: -50px;
        top: -50px;
        opacity: 0.2;
    }

    .contact::after {
        width: 120px;
        height: 120px;
        left: -60px;
        bottom: -60px;
        opacity: 0.15;
    }

    /* Donations */
    .donations {
        padding: 4rem 0;
    }

    .donations::before {
        width: 180px;
        height: 180px;
        left: -70px;
        opacity: 0.1;
    }

    .donations::after {
        width: 150px;
        height: 150px;
        right: -60px;
        opacity: 0.08;
    }

    .donations-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .donation-card {
        min-height: auto;
        padding: 1.4rem;
    }

    .donation-card-button {
        margin-top: 1rem;
    }

    .donations-footer {
        padding: 1.5rem;
    }

    .donations-actions {
        flex-direction: column;
    }

    .donations-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* Contact */
    .contact {
        padding: 4rem 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-methods {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .contact-card {
        padding: 1.75rem;
    }
}

/* ============================================================================
   14. RESPONSIVE DESIGN - MOBILE (480px and below)
   ============================================================================ */

@media (max-width: 480px) {
    body {
        padding-top: 80px;
    }

    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Typography */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: var(--font-size-sm);
        margin-bottom: 2rem;
    }

    .section-description {
        font-size: var(--font-size-base);
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-sm);
    }

    .btn-lg {
        padding: 1rem 2rem;
        font-size: var(--font-size-base);
        display: inline-block;
        width: auto;
        min-width: 220px;
        max-width: 100%;
        text-align: center;
    }

    /* Hero */
    .hero {
        padding: 3rem 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
    }

    /* Mobile: gentler diagonals to avoid aggressive clipping */
    .hero {
        clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
    }

    .about-project,
    .guide-content,
    .donations,
    .contact,
    .final-cta,
    .footer {
        clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 100%);
        margin-top: -2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    /* About */
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-text h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .about-paragraph {
        font-size: var(--font-size-base);
    }

    .about-highlight {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pillar-card {
        padding: 1rem;
    }

    .pillar-mascot-wrap {
        width: 85px;
        height: 85px;
    }

    .pillar-title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .pillar-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .highlight-box {
        min-height: auto;
        padding: 1.5rem;
    }

    .highlight-text {
        font-size: 1rem;
    }

    /* Decorative Elements */
    .about-project::before {
        width: 100px;
        height: 100px;
        right: -30px;
        top: 20px;
        opacity: 0.3;
    }

    .about-project::after {
        width: 80px;
        height: 80px;
        left: -40px;
        bottom: -40px;
        opacity: 0.2;
    }

    .guide-content::before {
        width: 60px;
        height: 60px;
        left: -30px;
        top: -30px;
        opacity: 0.3;
    }

    .guide-content::after {
        width: 90px;
        height: 90px;
        right: -45px;
        opacity: 0.2;
    }

    .donations::before {
        display: none;
    }

    .donations::after {
        display: none;
    }

    .contact::before {
        width: 80px;
        height: 80px;
        right: -40px;
        top: -40px;
        opacity: 0.15;
    }

    .contact::after {
        width: 100px;
        height: 100px;
        left: -50px;
        bottom: -50px;
        opacity: 0.1;
    }

    /* Cards Grid */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 1.5rem;
        transform: none;
    }

    .card:hover {
        transform: translateY(-8px);
    }

    .card-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        top: 1rem;
        right: 1rem;
    }

    .card-title {
        padding-right: 60px;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .card-description {
        font-size: var(--font-size-sm);
        line-height: 1.5;
    }

    /* Contact */
    .contact {
        padding: 3rem 0;
    }

    .contact .section-title {
        font-size: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-description {
        font-size: var(--font-size-base);
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-card-title {
        font-size: 1rem;
    }

    .contact-card-text {
        font-size: var(--font-size-sm);
    }

    /* CTA */
    .cta-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 68px;
    }

    .hero {
        margin-top: 0;
        padding-top: 3.5rem;
        clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
    }
}

/* Transição limpa verde -> azul no mobile */
@media (max-width: 480px) {
    .guide-content {
        background-color: var(--verde-claro) !important;
        clip-path: none !important;
        margin-top: -2rem !important;
        padding-bottom: 4rem !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .guide-content::after {
        display: none !important;
    }

    .donations {
        clip-path: none !important;
        margin-top: 0 !important;
        padding-top: 7rem !important;
        position: relative !important;
        overflow: hidden !important;

        background:
            linear-gradient(
                to bottom right,
                var(--verde-claro) 0%,
                var(--verde-claro) 49%,
                var(--azul-petroleo) 50%,
                var(--azul-petroleo) 100%
            ) top / 100% 90px no-repeat,
            var(--azul-petroleo) !important;
    }

    .donations::before,
    .donations::after {
        display: none !important;
    }
}
