/* Reset básico moderno */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--white);
    min-height: 100vh;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== ESTILOS GERAIS ===== */

/* Cabeçalho moderno */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
}

.menu a:hover {
    color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.1);
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.menu a:hover::after {
    width: 80%;
}

/* Hero Section moderna */
.hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.7)),
                url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 10rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
    color: var(--white);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Seções modernas */
.sobre {
    padding: 6rem 2rem;
    background: var(--white);
}

.sobre h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    color: var(--text-color);
    position: relative;
}

.sobre h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.sobre-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.sobre-content article {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.sobre-content article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.sobre-content article:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.sobre-content h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.sobre-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contato moderno */
.contato {
    background: linear-gradient(135deg, var(--primary-color), #34495e);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
}

.contato h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contato address {
    font-style: normal;
}

.contato address p {
    margin: 1rem 0;
    font-size: 1.2rem;
    opacity: 0.9;
    transition: var(--transition);
}

.contato address p:hover {
    opacity: 1;
    transform: translateX(10px);
}

/* Rodapé moderno */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* ===== ESTILOS PARA PROJETOS.HTML ===== */
.projetos-hero {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.8), rgba(46, 204, 113, 0.7)),
                url('../images/projetos-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
}

.projetos-hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.projetos-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.voluntariado, .doacoes {
    padding: 6rem 2rem;
    background: var(--white);
}

.voluntariado h2, .doacoes h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--text-color);
    position: relative;
}

.voluntariado h2::after, .doacoes h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--success-color), #2ecc71);
    border-radius: 2px;
}

.projetos-grid, .metodos-doacao {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projeto-card, .metodo-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.projeto-card::before, .metodo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
}

.metodo-card::before {
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
}

.projeto-card:hover, .metodo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.projeto-card h3, .metodo-card h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.projeto-card ul {
    list-style: none;
    margin: 2rem 0;
}

.projeto-card li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
}

.projeto-card li::before {
    content: '✓';
    color: var(--success-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.btn-voluntario {
    background: linear-gradient(135deg, var(--success-color), #2ecc71);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-voluntario:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.metodo-card {
    text-align: center;
}

.metodo-card p {
    color: var(--text-light);
    margin: 0.8rem 0;
    line-height: 1.6;
}

/* ===== ESTILOS PARA CADASTRO.HTML ===== */
.cadastro-hero {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.8), rgba(142, 68, 173, 0.7)),
                url('../images/cadastro-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
}

.cadastro-hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cadastro-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.formulario-cadastro {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.form-container {
    background: var(--white);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.form-group {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    background: var(--bg-light);
    transition: var(--transition);
}

.form-group:hover {
    border-color: var(--secondary-color);
}

.form-group legend {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.3rem;
    padding: 0 1.5rem;
    background: var(--white);
    border-radius: 25px;
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow);
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    font-family: inherit;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

/* Checkbox personalizado moderno */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.checkbox-label:hover {
    border-color: var(--secondary-color);
    transform: translateX(5px);
}

.checkbox-label input[type="checkbox"] {
    margin-right: 1rem;
    transform: scale(1.3);
    accent-color: var(--secondary-color);
}

/* Botões do formulário modernos */
.form-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--success-color), #2ecc71);
    color: var(--white);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: var(--white);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Validação moderna */
input:valid {
    border-color: var(--success-color);
}

input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: var(--accent-color);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivo moderno */
@media (max-width: 768px) {
    .menu {
        gap: 1.5rem;
    }
    
    .hero h2, .projetos-hero h2, .cadastro-hero h2 {
        font-size: 2.2rem;
    }
    
    .input-row {
        grid-template-columns: 1fr;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-group {
        padding: 2rem 1.5rem;
    }
    
    .projetos-grid, .metodos-doacao {
        grid-template-columns: 1fr;
    }
    
    .sobre-content, .projetos-grid, .metodos-doacao {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .menu {
        gap: 1rem;
    }
    
    .hero, .projetos-hero, .cadastro-hero {
        padding: 6rem 1rem;
    }
    
    .hero h2, .projetos-hero h2, .cadastro-hero h2 {
        font-size: 1.8rem;
    }
}