/* Variáveis de cores */
:root {
    --cor1: #E8DA99;
    --cor2: #FFE178;
    --cor3: #FFF5B5;
    --cor4: #E8DD65;
    --cor5: #FFF857;
    --texto-escuro: #333;
    --texto-claro: #fff;
    --sombra: rgba(0, 0, 0, 0.1);
    --destaque: #FFD700;
    --emergencia: #FF9800;
    --lighter-bg: #fffdf0;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Estilos gerais */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--texto-escuro);
    background-color: var(--lighter-bg);
    position: relative;
    overflow-x: hidden;
}

/* Fita Amarela - Símbolo do Setembro Amarelo */
.ribbon-top, .ribbon-left, .ribbon-right, .ribbon-bottom, .ribbon-loop {
    position: fixed;
    background-color: var(--destaque);
    z-index: -1;
}

.ribbon-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
}

.ribbon-left {
    top: 0;
    left: 0;
    width: 15px;
    height: 100%;
}

.ribbon-right {
    top: 0;
    right: 0;
    width: 15px;
    height: 100%;
}

.ribbon-bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
}

.ribbon-loop {
    bottom: 15px;
    right: 15px;
    width: 100px;
    height: 100px;
    border-radius: 50% 0 50% 50%;
    border: 15px solid var(--destaque);
    background-color: transparent;
    transform: rotate(45deg);
}

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

/* Cabeçalho */
header {
    background-color: var(--cor2);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px var(--sombra);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--texto-escuro);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--texto-escuro);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--cor5);
}

/* Seção Hero */
.hero {
    background-color: var(--cor1);
    padding: 100px 0;
    text-align: center;
    background-image: linear-gradient(to bottom, var(--cor2), var(--cor3));
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--texto-escuro);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--texto-escuro);
}

.motivational-quote {
    margin: 30px auto;
    max-width: 80%;
}

.motivational-quote blockquote {
    font-style: italic;
    font-size: 1.4rem;
    color: var(--texto-escuro);
    position: relative;
    padding: 0 20px;
}

.motivational-quote blockquote::before,
.motivational-quote blockquote::after {
    content: '"';
    font-size: 2rem;
    color: var(--cor5);
}

.btn {
    display: inline-block;
    background-color: var(--cor5);
    color: var(--texto-escuro);
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px var(--sombra);
    text-decoration: none;
}

.btn:hover {
    background-color: var(--cor4);
    transform: translateY(-3px);
}

/* Seção O que é */
.about {
    background-color: var(--cor3);
    padding: 80px 0;
}

.about h2, .awareness h2, .support h2, .history h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--texto-escuro);
    position: relative;
}

.about h2::after, .awareness h2::after, .support h2::after, .history h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--cor5);
    margin: 15px auto 0;
    border-radius: 2px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
}

.about-img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 6px 12px var(--sombra);
}

/* Seção Conscientização */
.awareness {
    background-color: var(--cor1);
    padding: 80px 0;
}

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

.awareness-card {
    background-color: var(--cor3);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 12px var(--sombra);
    transition: transform 0.3s, box-shadow 0.3s;
}

.awareness-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px var(--sombra);
}

.awareness-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--cor5);
}

.awareness-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--texto-escuro);
}

.awareness-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Seção Canais de Apoio */
.support {
    background-color: var(--cor3);
    padding: 80px 0;
}

.support-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.support-card {
    background-color: var(--cor1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 12px var(--sombra);
    transition: transform 0.3s;
}

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

.support-card.emergency {
    background-color: var(--cor5);
    border: 2px solid var(--emergencia);
    margin-bottom: 20px;
}

.support-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--texto-escuro);
}

.support-card .phone {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--texto-escuro);
    margin: 10px 0;
}

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

.support-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--texto-escuro);
    font-weight: bold;
    text-decoration: underline;
}

/* Seção História */
.history {
    background-color: var(--cor1);
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--cor5);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-date {
    position: absolute;
    width: 80px;
    height: 40px;
    background-color: var(--cor5);
    top: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -40px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -40px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--cor3);
    border-radius: 10px;
    box-shadow: 0 6px 12px var(--sombra);
}

.timeline-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Seção Citação */
.quote-section {
    background-color: var(--cor2);
    padding: 60px 0;
    text-align: center;
}

.quote-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--cor3);
    border-radius: 10px;
    box-shadow: 0 6px 12px var(--sombra);
}

.quote-box blockquote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--texto-escuro);
    position: relative;
}

.quote-box blockquote::before,
.quote-box blockquote::after {
    content: '"';
    font-size: 3rem;
    color: var(--cor5);
    position: absolute;
    opacity: 0.5;
}

.quote-box blockquote::before {
    top: -20px;
    left: -10px;
}

.quote-box blockquote::after {
    bottom: -40px;
    right: -10px;
}

/* Rodapé */
footer {
    background-color: var(--cor2);
    color: var(--texto-escuro);
    padding: 40px 0 20px;
    box-shadow: 0 -2px 5px var(--sombra);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-info {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: var(--texto-escuro);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--cor5);
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer .credits {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #000;
    text-align: center;
}

footer .credits a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .credits a:hover {
    color: #333;
    text-decoration: underline;
}

/* Campo de Girassóis */
.sunflower-field {
    background-color: var(--cor3);
    padding: 80px 0;
    background-image: linear-gradient(to bottom, var(--cor3), var(--cor1));
}

.sunflower-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.sunflower-interactive {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.sunflower-background {
    width: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px var(--sombra);
    margin-bottom: 20px;
}

.sunflower-bg-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.sunflower-garden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
    cursor: pointer;
}

.sunflower {
    position: relative;
    width: 80px;
    height: 120px;
    margin: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.sunflower-head {
    width: 60px;
    height: 60px;
    background-color: var(--cor5);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 10px;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.sunflower-center {
    width: 30px;
    height: 30px;
    background-color: #654321;
    border-radius: 50%;
}

.sunflower-petals {
    position: absolute;
    width: 80px;
    height: 80px;
    top: -10px;
    left: 0;
    z-index: 1;
}

.petal {
    position: absolute;
    width: 25px;
    height: 40px;
    background-color: var(--cor5);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform-origin: center bottom;
}

.sunflower-stem {
    width: 8px;
    height: 80px;
    background-color: #228B22;
    position: absolute;
    bottom: 0;
    left: 36px;
    z-index: 0;
}

.sunflower-leaf {
    width: 30px;
    height: 15px;
    background-color: #32CD32;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    bottom: 30px;
    left: 40px;
    transform: rotate(30deg);
    z-index: 1;
}

.planting-area {
    margin-top: 20px;
    text-align: center;
}

.message-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.message-content {
    background-color: var(--cor3);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 3px solid var(--cor5);
}

.message-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--texto-escuro);
}

.message-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Responsividade */
@media (max-width: 900px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-date {
        left: -10px !important;
        right: auto !important;
    }
    
    .sunflower-garden {
        min-height: 250px;
    }
    
    .sunflower {
        width: 70px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        flex: none;
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .motivational-quote blockquote {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .about h2, .awareness h2, .support h2, .history h2 {
        font-size: 2rem;
    }
    
    .quote-box blockquote {
        font-size: 1.2rem;
    }
}