﻿:root {
    --area-radius-xl: 28px;
    --area-radius-lg: 22px;
    --area-radius-md: 16px;
    --area-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
    --area-shadow-hover: 0 18px 40px rgba(15, 23, 42, 0.14);
    --area-text: #0f172a;
    --area-muted: #64748b;
    --area-bg-soft: #f5f7fb;
    --turismo: #0ea5e9;
}

/* HERO SIMPLES */
.area-hero-simples {
    position: relative;
    min-height: 460px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.area-hero-simples__overlay {
    position: absolute;
    inset: 0;
}

.area-hero-simples__content {
    position: relative;
    z-index: 2;
    padding: 96px 0 76px 0;
}
.area-breadcrumb {
    color: rgba(255,255,255,.9);
    font-size: .95rem;
}
.area-breadcrumb {
    margin-bottom: 14px;
}
.area-badge-lg {
    margin-bottom: 14px;
}
.area-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    font-weight: 600;
    color: #fff;
}

.area-hero-simples__title {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 14px;
}

.area-hero-simples__subtitle {
    max-width: 640px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255,255,255,.92);
    margin-bottom: 0;
}

.area-hero-btn,
.area-hero-btn-outline {
    min-height: 48px;
    font-weight: 700;
    transition: .25s ease;
}

    .area-hero-btn:hover,
    .area-hero-btn-outline:hover {
        transform: translateY(-2px);
    }

/* SOBRE */
.area-sobre-section {
    padding: 72px 0;
    background: #f8fafc;
}

.area-sobre-card {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
    overflow: hidden;
}

.area-sobre-card__media {
    height: 100%;
}

.area-sobre-card__image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.area-sobre-card__body {
    padding: 48px;
}

.area-descricao {
    font-size: 1.03rem;
    line-height: 1.9;
    color: #334155;
}

    .area-descricao p:last-child {
        margin-bottom: 0;
    }

/* SEÇÕES */
.section-block {
    padding: 72px 0;
}

.section-soft {
    background: var(--area-bg-soft);
}

.section-white {
    background: #fff;
}

.section-dark {
    background: linear-gradient(135deg, #3f5161 0%, #6D6F70 100%);
}

.section-edital {
    background: linear-gradient(135deg, #3d4e61 0%, #536779 100%);
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-kicker {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 8px;
}

.section-heading {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 800;
    color: var(--area-text);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.section-text {
    margin: 0;
    color: var(--area-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* LINKS / CTAS */
.section-link,
.section-link-mobile,
.section-link-light {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .25s ease;
}

.section-link {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    color: var(--area-text);
    box-shadow: var(--area-shadow-soft);
}

    .section-link:hover {
        transform: translateY(-2px);
        color: var(--area-text);
    }

.section-link-light {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
}

    .section-link-light:hover {
        color: #fff;
        transform: translateY(-2px);
        background: rgba(255,255,255,.12);
    }

.section-link-mobile {
    background: #fff;
    color: var(--area-text);
    border: 1px solid rgba(15,23,42,.08);
}

/* CARDS */
.section-carousel-wrap,
.area-carousel {
    margin-top: 10px;
}

.area-card-link {
    text-decoration: none;
    color: inherit;
}

.area-card {
    border: 0;
    border-radius: var(--area-radius-lg);
    overflow: hidden;
    box-shadow: var(--area-shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease;
    background: #fff;
    height: 100%;
}

    .area-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--area-shadow-hover);
    }

.area-card--dark {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: none;
}

    .area-card--dark:hover {
        background: rgba(255,255,255,.10);
        box-shadow: var(--area-shadow-hover);
    }

.area-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.area-card__body {
    padding: 18px;
}

.area-card__meta {
    font-size: .88rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.area-card__title {
    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 700;
    margin: 0;
    color: var(--area-text);
}

/* EDITAIS */
.card-edital-modern {
    border: 0;
    border-radius: var(--area-radius-lg);
    overflow: hidden;
    box-shadow: var(--area-shadow-soft);
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .card-edital-modern:hover {
        transform: translateY(-6px);
        box-shadow: var(--area-shadow-hover);
    }

.card-edital-modern__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 0 18px;
}

.card-edital-modern__numero {
    font-weight: 800;
    font-size: .92rem;
    color: var(--area-text);
}

.card-edital-modern__title {
    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 800;
    color: var(--area-text);
    margin-bottom: 14px;
}

.font-size-12 {
    font-size: .9rem;
    line-height: 1.6;
    color: #334155;
}

/* RESPONSIVO */
@media (max-width: 991.98px) {
    .area-hero-simples {
        min-height: 380px;
    }

    .area-hero-simples__content {
        padding-top: 110px;
        padding-bottom: 48px;
    }

    .area-sobre-card__body {
        padding: 28px;
    }

    .area-sobre-card__image {
        min-height: 280px;
    }

    .section-header {
        flex-direction: column;
        align-items: start;
        margin-bottom: 22px;
    }

    .section-link {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .section-block,
    .area-sobre-section {
        padding: 52px 0;
    }

    .area-hero-simples__title {
        font-size: 2.2rem;
    }

    .area-hero-simples__subtitle,
    .section-text,
    .area-descricao {
        font-size: .98rem;
    }

    .area-card__img {
        height: 200px;
    }
}

.area-title-seo {
    position: absolute;
    left: -9999px;
}

.area-badge-lg {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(6px);
    font-size: 1.15rem;
    font-weight: 700;
}

    .area-badge-lg i {
        font-size: 1.3rem;
    }


.bg-turismo-gradiente {
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
}

.btn-area-turismo {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
    border: none;
}

    .btn-area-turismo:hover {
        background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
        color: #fff;
    }

.area-sobre-card,
.area-card,
.card-edital-modern {
    border-radius: 24px;
    overflow: hidden;
}

.area-sobre-card {
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.area-card,
.card-edital-modern {
    transition: transform .25s ease, box-shadow .25s ease;
}

    .area-card:hover,
    .card-edital-modern:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    }

.section-block {
    padding: 72px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 28px;
}

.section-title {
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.02em;
}

.section-text {
    max-width: 640px;
    color: #64748b;
}

.area-breadcrumb a,
.area-breadcrumb span {
    color: rgba(255,255,255,.95);
    font-size: .95rem;
    text-decoration: none;
}

.area-badge-lg {
    padding: 12px 20px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

#section-turismo .section-block,
#section-turismo .container {
    padding-top: 0;
}

/* ==============================
   DARK MODE
   ============================== */
@media (prefers-color-scheme: dark) {
    :root {
        --area-text: #e2e8f0;
        --area-muted: #94a3b8;
        --area-bg-soft: #0f172a;
    }

    /* Seções */
    .section-soft  { background: #0f172a; }
    .section-white { background: #1e293b; }

    /* Sobre */
    .area-sobre-section { background: #1e293b; }
    .area-sobre-card    { background: #273548; }
    .area-descricao     { color: #cbd5e1; }

    /* Títulos e textos gerais */
    .section-heading,
    .section-title,
    .area-card__title      { color: #e2e8f0; }
    .section-text          { color: #94a3b8; }
    .font-size-12          { color: #94a3b8; }

    /* Cards de conteúdo */
    .area-card             { background: #1e293b; }
    .card-edital-modern    { background: #1e293b; }
    .card-edital-modern__numero,
    .card-edital-modern__title { color: #e2e8f0; }

    /* Botões de navegação */
    .section-link,
    .section-link-mobile {
        background: #1e293b;
        border-color: rgba(255,255,255,.1);
        color: #e2e8f0;
    }
    .section-link:hover,
    .section-link-mobile:hover { color: #e2e8f0; }

    /* Cards WhatsApp */
    .area-whatsapp-card {
        background: #1e293b !important;
        color: #e2e8f0;
    }

    .area-whatsapp-card h5 { color: #e2e8f0; }

    .area-whatsapp-card .text-muted { color: #94a3b8 !important; }

    .area-whatsapp-card .bg-success-subtle {
        background-color: rgba(34, 197, 94, 0.15) !important;
    }

    .area-whatsapp-card .btn-outline-secondary {
        color: #cbd5e1;
        border-color: #475569;
    }
    .area-whatsapp-card .btn-outline-secondary:hover {
        background-color: #334155;
        border-color: #64748b;
        color: #f1f5f9;
    }

    .area-whatsapp-card .badge.bg-secondary {
        background-color: #334155 !important;
        color: #94a3b8;
    }
}