@import url("./variables.css");
@import url("./animations.css");
@import url("./header.css");
@import url("./hero.css");
@import url("./manifesto.css");
@import url("./sections.css");
@import url("./footer.css");
@import url("./responsive.css");
/* ==========================================================
   SPLASH
========================================================== */

#splash-screen {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .60)),
        url("../assets/imagens/splash.webp") center center / cover no-repeat;

    z-index: 9999;

    opacity: 1;
    visibility: visible;

    transition:
        opacity .8s ease,
        visibility .8s ease;
}

#splash-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .15);
}

.splash-content {
    position: relative;
    z-index: 2;

    width: min(90%, 720px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 2rem;

    text-align: center;

    padding: 2rem;
}

.splash-seal {
    width: min(260px, 65vw);
    height: auto;

    opacity: 0;

    animation: splashSeal 1.8s ease forwards;
}

.splash-message {
    max-width: 640px;

    color: #fff;

    font-size: 1.2rem;
    line-height: 1.8;

    opacity: 0;

    animation: splashText 1.8s ease forwards;
    animation-delay: .8s;
}

/* ==========================================================
   SITE
========================================================== */

#site {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease;
}

#site.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================
   ANIMAÇÕES
========================================================== */

@keyframes splashSeal {

    from {
        opacity: 0;
        transform: scale(.82);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}

@keyframes splashText {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* ==========================================================
   RESPONSIVO
========================================================== */

@media (max-width: 768px) {

    .splash-seal {
        width: 180px;
    }

    .splash-message {
        font-size: 1rem;
        line-height: 1.6;
    }

}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #0b0f0d;
}

#site {
    display: block;
    min-height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease;
}

#site.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================
   GALERIA
========================================================== */

#galeria-piata {
    padding: 8rem 0;
    background: #0f1512;
    color: #fff;
}

#galeria-piata .container {
    width: min(1200px, 90%);
    margin: auto;
}

#galeria-piata h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.vertical {
    grid-row: span 2;
}

/* ==========================================================
   LIGHTBOX
========================================================== */

#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 9999;
}

#lightbox.active {
    opacity: 1;
    visibility: visible;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

#lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
}

/* ==========================================================
   SISTEMA TURÍSTICO
========================================================== */

#sistema-turistico {
    padding: 8rem 0;
    background: #0f1512;
    color: #fff;
}

#sistema-turistico .container {
    width: min(1200px, 90%);
    margin: auto;
}

#sistema-turistico h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.system-intro {
    max-width: 800px;
    margin-bottom: 4rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,.75);
}

/* ==========================================================
   GRID
========================================================== */

.system-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

/* ==========================================================
   CARD
========================================================== */

.system-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;

    padding: 2rem;
    border-radius: 18px;

    text-decoration: none;
    color: #fff;

    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);

    transition: transform .3s ease, background .3s ease, border .3s ease;
}

.system-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.2);
}

/* ==========================================================
   ÍCONES
========================================================== */

.system-card img {
    width: 44px;
    height: 44px;

    object-fit: contain;
    flex-shrink: 0;

    border-radius: 12px;

    background: rgba(255,255,255,.10);
    padding: 8px;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ==========================================================
   TEXTO DO CARD
========================================================== */

.system-card h3 {
    margin-bottom: .4rem;
    font-size: 1.2rem;
}

.system-card p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,.7);
    line-height: 1.6;
}

/* ==========================================================
   RESPONSIVO
========================================================== */

@media (max-width: 900px) {
    .system-grid {
        grid-template-columns: 1fr;
    }
}

#ecossistema-alta-piata {
    padding: 8rem 0;
    background: #0b0f0d;
    color: #fff;
}

#ecossistema-alta-piata .container {
    width: min(1200px, 90%);
    margin: auto;
}

.ecosystem-intro {
    max-width: 850px;
    margin-bottom: 4rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,.75);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ecosystem-card {
    padding: 2rem;
    border-radius: 18px;

    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);

    transition: transform .3s ease, background .3s ease;
}

.ecosystem-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.07);
}

.ecosystem-card h3 {
    margin-bottom: .6rem;
    font-size: 1.3rem;
}

.ecosystem-card p {
    margin: 0;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }
}

.ecosystem-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;

    margin-bottom: 2rem;
}

.ecosystem-header img {
    width: 140px;
    height: auto;

    object-fit: contain;

    filter: drop-shadow(0 10px 25px rgba(0,0,0,.4));
}

#uvt {
    padding: 8rem 0;
    background: #0a0d0c;
    color: #fff;
}

#uvt .container {
    width: min(1100px, 90%);
    margin: auto;
}

/* =========================
   TIPOGRAFIA PADRÃO
========================= */

#uvt h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.uvt-intro {
    max-width: 850px;
    margin-bottom: 3rem;

    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,.75);
}

/* =========================
   IMAGEM PROMOCIONAL
========================= */

.uvt-promo {
    width: 100%;
    margin: 3rem 0 4rem;

    border-radius: 20px;
    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}

.uvt-promo img {
    width: 100%;
    height: auto;
    display: block;

    object-fit: contain;
}

/* =========================
   GRID
========================= */

.uvt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.uvt-card {
    padding: 2rem;
    border-radius: 18px;

    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);

    transition: transform .3s ease, background .3s ease;
}

.uvt-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.07);
}

.uvt-card h3 {
    margin-bottom: .6rem;
    font-size: 1.3rem;
}

.uvt-card p {
    margin: 0;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
}

/* =========================
   CTA
========================= */

.uvt-cta {
    margin-top: 3rem;
    text-align: center;
}

.uvt-cta a {
    display: inline-block;

    padding: 1rem 2.2rem;
    border-radius: 999px;

    background: #fff;
    color: #0a0d0c;

    text-decoration: none;
    font-weight: 600;

    transition: transform .3s ease, opacity .3s ease;
}

.uvt-cta a:hover {
    transform: translateY(-3px);
    opacity: .85;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 900px) {
    .uvt-grid {
        grid-template-columns: 1fr;
    }
}

#footer {
    padding: 6rem 0 3rem;
    background: #070a09;
    color: #fff;
}

#footer .container {
    width: min(1200px, 90%);
    margin: auto;
}

/* =========================
   TOPO
========================= */

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    max-width: 320px;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
}

/* =========================
   ECOSSISTEMA BLOCO
========================= */

.footer-eco {
    max-width: 320px;
}

.footer-eco h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-eco p {
    color: rgba(255,255,255,.7);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.footer-eco a {
    color: #fff;
    text-decoration: none;

    border-bottom: 1px solid rgba(255,255,255,.3);

    transition: opacity .2s ease;
}

.footer-eco a:hover {
    opacity: .6;
}

/* =========================
   DIVISOR
========================= */

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 3rem 0;
}

/* =========================
   BASE
========================= */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;

    color: rgba(255,255,255,.6);
    font-size: .95rem;
}

.footer-signature {
    color: rgba(255,255,255,.4);
}