/* =========================================================
   GERAL
   ========================================================= */

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #2c2c2c;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: .05rem;
    text-transform: uppercase;
}

.nav-link {
    font-weight: 500;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

    .nav-link:hover {
        color: #0d6efd;
    }


/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    min-height: 780px;
    background-image: url('/images/cemiterio-guarda.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    min-height: 780px;
    background: linear-gradient( rgba(0,0,0,.45), rgba(0,0,0,.55) );
    display: flex;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    padding: .75rem 1.5rem;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .85rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-top: 1rem;
}

.hero-section .btn {
    min-width: 220px;
}


/* =========================================================
   ESTATÍSTICAS
   ========================================================= */

.mt-n5 {
    margin-top: -5rem;
}

.stats-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

    .stats-card .number {
        font-size: 2.5rem;
        font-weight: 700;
        color: #0d6efd;
    }

    .stats-card .label {
        color: #6c757d;
        font-size: .95rem;
    }


/* =========================================================
   SECÇÕES
   ========================================================= */

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}


/* =========================================================
   TEXTO INSTITUCIONAL
   ========================================================= */

.institutional-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.07);
}

    .institutional-card .card-body {
        padding: 3rem;
    }

    .institutional-card h2 {
        font-weight: 700;
        margin-bottom: 2rem;
    }

    .institutional-card p {
        line-height: 1.9;
        margin-bottom: 1.5rem;
    }

    .institutional-card .lead {
        font-size: 1.2rem;
        font-weight: 400;
    }


/* =========================================================
   CARTÕES PATRIMONIAIS
   ========================================================= */

.patrimony-card {
    border: none;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}

    .patrimony-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,.12);
    }

    .patrimony-card img {
        width: 100%;
        height: 260px;
        object-fit: cover;
    }

    .patrimony-card .card-body {
        padding: 2rem;
    }

    .patrimony-card h3 {
        color: #212529;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .patrimony-card p {
        color: #6c757d;
        margin-bottom: 0;
    }


/* =========================================================
   DESTAQUE
   ========================================================= */

.feature-section {
    background: #f1f3f5;
}

.feature-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,.1);
}

    .feature-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.feature-label {
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6c757d;
    font-size: .85rem;
}

.feature-title {
    font-size: 2rem;
    font-weight: 700;
    margin-top: .5rem;
}

.feature-text {
    font-size: 1.15rem;
    line-height: 1.8;
}

.feature-art {
    font-size: 4.5rem;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    margin-top: 4rem;
    border-top: 1px solid #dee2e6;
    background: #ffffff;
}

    footer .container-xl {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    footer h5 {
        margin-bottom: .5rem;
        font-weight: 600;
    }

    footer p {
        margin-bottom: 0;
    }


/* =========================================================
   ACESSIBILIDADE
   ========================================================= */

a:focus,
button:focus,
input:focus {
    outline: 3px solid #0d6efd;
    outline-offset: 3px;
}

.btn {
    min-height: 48px;
}

.card {
    border-radius: 12px;
}


/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 992px) {

    .hero-section,
    .hero-overlay {
        min-height: 650px;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .institutional-card .card-body {
        padding: 2rem;
    }

    .patrimony-card img {
        height: 220px;
    }
}

@media (max-width: 768px) {

    html {
        font-size: 15px;
    }

    .hero-section,
    .hero-overlay {
        min-height: 550px;
    }

    .display-1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .mt-n5 {
        margin-top: 0;
    }
}
