@import url('https://fonts.googleapis.com/css2?family=Fauna+One&family=Syne:wght@400;700;800&display=swap');

:root {
    --cor-oliva: #3A4D28;
    --cor-terracota: #B83A23;
    --cor-fundo: #F7EFE0;
    --cor-card: #FAE9C6;
    --cor-branco: #ffffff;
    --sombra-suave: 0 10px 25px -5px rgba(58, 77, 40, 0.08), 0 8px 10px -6px rgba(58, 77, 40, 0.04);
    --sombra-media: 0 15px 35px -8px rgba(58, 77, 40, 0.12), 0 10px 15px -6px rgba(58, 77, 40, 0.06);
    --sombra-alta: 0 20px 50px -12px rgba(58, 77, 40, 0.18);
}

html {
    font-size: 110%;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 200px;
}

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--cor-fundo); }
::-webkit-scrollbar-thumb { background-color: var(--cor-oliva); border-radius: 8px; border: 3px solid var(--cor-fundo); }
::-webkit-scrollbar-thumb:hover { background-color: var(--cor-terracota); }

.container {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 20px;
    width: 100%;
}

#nossa-historia {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 5px 0 !important;
    margin-bottom: 20px !important;
    border-radius: 0 !important;
    text-align: center !important;
}
#nossa-historia p {
    font-size: 1.5rem !important;
    animation: surgirEsquerda 2s ease-out both;
    overflow: hidden;
}
@keyframes surgirEsquerda {
    0% { opacity: 0; clip-path: inset(0 0 100% 0); }
    100% { opacity: 1; clip-path: inset(0 0 0 0); }
}
#nossa-historia p:nth-child(1) { animation-delay: 0.1s; }
#nossa-historia p:nth-child(2) { animation-delay: 0.3s; }
#nossa-historia p:nth-child(3) { animation-delay: 0.5s; }
#nossa-historia::before { display: none !important; }
#nossa-historia:hover {
    transform: none !important;
    box-shadow: none !important;
}


.sobre-gaia, .doacao-rs {
    background: var(--cor-fundo);
    margin-bottom: 40px;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: var(--sombra-media);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(58, 77, 40, 0.06);
    position: relative;
    overflow: hidden;
}

.sobre-gaia::before, .doacao-rs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cor-oliva), var(--cor-terracota));
}

.sobre-gaia:hover, .doacao-rs:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-alta);
    border-color: rgba(58, 77, 40, 0.12);
}

.sobre-gaia h2, .doacao-rs h2 {
    font-family: 'Fauna One', serif;
    font-size: 2.2rem;
    color: var(--cor-oliva);
    margin-bottom: 25px;
    padding-left: 0;
    border-left: none;
    position: relative;
    display: inline-block;
}

.sobre-gaia h2::after, .doacao-rs h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--cor-terracota), var(--cor-oliva));
    border-radius: 4px;
    margin-top: 8px;
}

.sobre-gaia p, .doacao-rs p {
    font-weight: 400;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}


.missao-visao {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 10px;
}

.missao-visao div {
    background: linear-gradient(135deg, var(--cor-card) 0%, #f5e2c0 100%);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: var(--sombra-suave);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.5);
}

.missao-visao div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--cor-terracota), var(--cor-oliva));
    border-radius: 0 2px 2px 0;
}

.missao-visao div:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-alta);
}

.missao-visao h3 {
    font-family: 'Fauna One', serif;
    color: var(--cor-oliva);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.missao-visao p {
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.7;
}


.valores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 10px;
}

.visao-cartao {
    background: linear-gradient(135deg, var(--cor-card) 0%, #f5e2c0 100%);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--sombra-suave);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}

.visao-cartao::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cor-oliva), var(--cor-terracota));
}

.visao-cartao:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-media);
}

.visao-cartao h4 {
    font-family: 'Fauna One', serif;
    color: var(--cor-oliva);
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.visao-cartao p {
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.7;
}


.doacao-rs {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 20px 0 !important;
    margin-bottom: 40px;
    border-radius: 0 !important;
}

.doacao-rs::before { display: none !important; }

.doacao-rs:hover {
    transform: none !important;
    box-shadow: none !important;
}

.doacao-conteudo {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.doacao-texto {
    flex: 1;
    min-width: 0;
}

.doacao-conteudo .carrosel {
    flex: 1;
    min-width: 0;
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .doacao-conteudo {
        flex-direction: column;
    }
}


.carrosel {
    position: relative;
    border-radius: 20px;
    margin-top: 30px;
    margin-bottom: 25px;
    box-shadow: var(--sombra-alta);
    padding: 4px 0;
}

.slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.slides::-webkit-scrollbar { display: none; }

.slide {
    flex: 0 0 calc(100% - 80px);
    scroll-snap-align: center;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.carrosel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #333;
    border: none;
    font-size: 1.2rem;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.carrosel-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.carrosel-prev { left: 16px; }
.carrosel-next { right: 16px; }

.carrosel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.carrosel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cor-oliva);
    opacity: 0.25;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carrosel-dot.active {
    opacity: 1;
    transform: scale(1.3);
}

.carrosel-dot:hover {
    opacity: 0.6;
}


.apoiador {
    text-align: center;
    padding: 60px 40px 40px;
    margin-bottom: 40px;
}

.apoiador h2 {
    font-family: 'Fauna One', serif;
    font-size: 2.2rem;
    color: var(--cor-oliva);
    margin-bottom: 25px;
    display: inline-block;
}

.apoiador h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--cor-terracota), var(--cor-oliva));
    border-radius: 4px;
    margin: 8px auto 0;
}

.apoiador-conteudo {
    max-width: 700px;
    margin: 0 auto;
}

.apoiador-texto {
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.apoiador-email {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cor-terracota);
    text-decoration: none;
    padding: 12px 32px;
    border: 2px solid var(--cor-terracota);
    border-radius: 50px;
    transition: background 0.3s ease, color 0.3s ease;
}

.apoiador-email:hover {
    background: var(--cor-terracota);
    color: #fff;
}


.sobre-gaia a, .doacao-rs a {
    color: var(--cor-terracota);
    font-weight: 700;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.sobre-gaia a::after, .doacao-rs a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cor-terracota);
    transition: width 0.3s ease;
}

.sobre-gaia a:hover, .doacao-rs a:hover {
    color: #9c2e1b;
}

.sobre-gaia a:hover::after, .doacao-rs a:hover::after {
    width: 100%;
}


@media (max-width: 768px) {
    body { padding-top: 150px; }
    .container { padding: 20px 15px; }
    .sobre-gaia, .doacao-rs { padding: 35px 25px; }
    .sobre-gaia h2, .doacao-rs h2 { font-size: 1.8rem; }
    .sobre-gaia p, .doacao-rs p { font-size: 1rem; }
    .missao-visao { grid-template-columns: 1fr; gap: 20px; }
    .valores { grid-template-columns: 1fr; gap: 20px; }
    .apoiador { padding: 40px 20px 30px; }
    .apoiador h2 { font-size: 1.8rem; }
    .apoiador-texto { font-size: 1.05rem; }
    .apoiador-email { font-size: 1.1rem; padding: 10px 24px; }
}

@media (max-width: 480px) {
    body { padding-top: 130px; }
    .container { padding: 15px 10px; }
    .sobre-gaia, .doacao-rs { padding: 25px 18px; }
    .sobre-gaia h2, .doacao-rs h2 { font-size: 1.5rem; }
    .apoiador { padding: 30px 15px 20px; }
    .apoiador h2 { font-size: 1.5rem; }
    .apoiador-texto { font-size: 1rem; }
    .apoiador-email { font-size: 1rem; padding: 8px 20px; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}