/* Paleta de cores baseada nas imagens fornecidas */
:root {
    --primary-red: #E01102;
    --secondary-red: #DF3B13;
    --dark-red: #8B0000;
    --medium-red: #C41E3A;
    --light-red: #E16002;
    --bright-red: #FF0000;
    --heart-red: #FF3B30;
    --blood-red: #8A0303;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #f5f5f5;
    --light-gray: #D3D3D3;
    --dark-gray: #333333;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Cabeçalho */
header {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--gray);
    text-decoration: underline;
}

/* Seção Hero */
.hero {
    background-color: var(--dark-red);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-image {
    margin-bottom: 30px;
    max-width: 100%;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-text {
    position: relative;
    z-index: 1;
}

/* Imagem em seções padrão */
.section-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 30px;
}

.section-image img {
    max-width: 100%;
    height: auto;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-red);
}

.btn:hover {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Seções gerais */
.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary-red);
    position: relative;
    padding-bottom: 15px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-red);
}

.bg-light {
    background-color: var(--gray);
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.content-wrapper.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.text-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Estilos para as paletas de cores */
.color-palette, .hero-color-palette, .cta-color-palette {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    height: 100%;
    min-height: 250px;
    flex: 1;
}

.color-box {
    width: 100%;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.primary-red {
    background-color: var(--primary-red);
}

.dark-red {
    background-color: var(--dark-red);
}

.medium-red {
    background-color: var(--medium-red);
}

.light-red {
    background-color: var(--light-red);
}

.bright-red {
    background-color: var(--bright-red);
}

.heart-red {
    background-color: var(--heart-red);
}

.blood-red {
    background-color: var(--blood-red);
}

.white {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
}

.light-gray {
    background-color: var(--light-gray);
}

/* Ajustes para as seções específicas */
.hero-color-palette {
    min-height: 300px;
}

.hero-color-palette .color-box {
    height: 200px;
    width: 100%;
}

.cta-color-palette {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.cta-color-palette .color-box {
    width: 30%;
    height: 120px;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-red);
}

/* Locais de doação */
.section-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.location-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-red);
}

.location-card h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.location-card p {
    margin-bottom: 10px;
}

.more-info {
    text-align: center;
    margin-top: 40px;
}

.more-info a {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
}

.more-info a:hover {
    text-decoration: underline;
}

/* Curiosidades */
.curiosities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.curiosity {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    opacity: 0.8;
    line-height: 1;
}

.curiosity-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-red);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 80px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text {
    flex: 1;
    text-align: center;
}

/* Imagem inserida junto ao título da CTA */
.cta-inline-image {
    max-width: 100%;
    height: auto;
    margin: 16px 0 24px;
    border-radius: 8px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background-color: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--white);
}

.cta-section .btn:hover {
    background-color: transparent;
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-red);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-red);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsividade */
@media (max-width: 992px) {
    .content-wrapper,
    .content-wrapper.reverse {
        flex-direction: column;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .curiosity {
        flex-direction: column;
        gap: 10px;
    }
    
    .number {
        font-size: 2rem;
    }
    
    .color-palette, .hero-color-palette, .cta-color-palette {
        min-height: 200px;
    }
    
    .hero-color-palette .color-box {
        height: 150px;
    }
    
    .cta-content {
        flex-direction: column;
    }
    
    .cta-color-palette {
        flex-direction: column;
    }
    
    .cta-color-palette .color-box {
        width: 100%;
        height: 60px;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .section h2 {
        font-size: 1.6rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
}