/* ==========================================================
CEV WEBSITE

areas.css

CSS EXCLUSIVO:

/areas
/areas/{slug}

Responsabilidades:

- Hero da listagem
- Listagem de áreas
- Toolbar
- Busca
- Cards
- Empty state
- CTA da listagem
- Hero da área individual
- Conteúdo da área individual
- Características
- Especificações
- Galeria
- CTA da área individual
- Responsividade específica

NÃO RESPONSABILIDADES:

- Reset
- Variáveis globais
- Body global
- Container global
- Tipografia global
- Botões globais
- Header
- Menu
- Footer

Esses elementos pertencem a:

assets/css/style.css

========================================================== */


/* ==========================================================
VARIÁVEIS EXCLUSIVAS
========================================================== */

body.page-areas {

    --areas-green:
        #0D5C57;

    --areas-green-dark:
        #083F3C;

    --areas-green-light:
        #EAF5F4;

    --areas-red:
        #C63C35;

    --areas-red-dark:
        #A72F2A;

    --areas-title:
        #17322F;

    --areas-text:
        #454545;

    --areas-muted:
        #69757A;

    --areas-light:
        #F6F7F8;

    --areas-border:
        #E5E5E5;

    --areas-card-radius:
        22px;

    --areas-image-radius:
        18px;

    --areas-shadow:
        0 15px 45px rgba(0, 0, 0, .08);

    --areas-shadow-hover:
        0 22px 55px rgba(0, 0, 0, .12);

    --area-detail-max-width:
        1200px;

    --area-detail-content-width:
        820px;

    --area-detail-gap:
        42px;

    --area-detail-radius:
        22px;

    --area-detail-radius-small:
        16px;

    --area-detail-border:
        #E5E9E9;

    --area-detail-muted:
        #59666C;

    --area-detail-soft:
        #F7F9F9;

}


/* ==========================================================
PAGE HERO — LISTAGEM
========================================================== */

body.page-areas .page-hero {

    position:
        relative;

    display:
        flex;

    align-items:
        center;

    min-height:
        720px;

    overflow:
        hidden;

    padding-top:
        84px;

    isolation:
        isolate;

    background:
        var(--areas-green);

}


/* ==========================================================
HERO — BACKGROUND
========================================================== */

body.page-areas .page-hero-background {

    position:
        absolute;

    inset:
        0;

    z-index:
        -3;

    width:
        100%;

    height:
        100%;

}


body.page-areas .page-hero-background img {

    display:
        block;

    width:
        100%;

    height:
        100%;

    max-width:
        none;

    object-fit:
        cover;

    object-position:
        center;

}


/* ==========================================================
HERO — COMPATIBILIDADE
========================================================== */

body.page-areas .page-hero-image {

    position:
        absolute;

    inset:
        0;

    z-index:
        -3;

    width:
        100%;

    height:
        100%;

    max-width:
        none;

    object-fit:
        cover;

    object-position:
        center;

}


/* ==========================================================
HERO — OVERLAY
========================================================== */

body.page-areas .page-hero-overlay {

    position:
        absolute;

    inset:
        0;

    z-index:
        -2;

    background:
        linear-gradient(
            90deg,
            rgba(6, 35, 32, .92),
            rgba(6, 35, 32, .62) 48%,
            rgba(6, 35, 32, .25)
        );

}


/* ==========================================================
HERO — CONTAINER
========================================================== */

body.page-areas .page-hero-container {

    position:
        relative;

    z-index:
        2;

    display:
        flex;

    align-items:
        center;

    width:
        min(
            92%,
            var(--container)
        );

    margin-inline:
        auto;

}


/* ==========================================================
HERO — CONTENT
========================================================== */

body.page-areas .page-hero-content {

    width:
        100%;

    max-width:
        620px;

    padding:
        80px 0;

}


/* ==========================================================
HERO — TAG
========================================================== */

body.page-areas .page-hero-tag {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        8px 20px;

    margin-bottom:
        26px;

    border-radius:
        999px;

    background:
        var(--areas-red);

    color:
        #FFF;

    font-size:
        .75rem;

    font-weight:
        800;

    letter-spacing:
        .15em;

    line-height:
        1.2;

    text-transform:
        uppercase;

}


/* ==========================================================
HERO — TITLE
========================================================== */

body.page-areas .page-hero-content h1 {

    max-width:
        620px;

    margin-bottom:
        28px;

    color:
        #FFF;

    font-size:
        clamp(
            3rem,
            5vw,
            4.8rem
        );

    font-weight:
        900;

    line-height:
        .95;

    letter-spacing:
        -2px;

}


/* ==========================================================
HERO — TEXT
========================================================== */

body.page-areas .page-hero-content p {

    max-width:
        540px;

    margin-bottom:
        40px;

    color:
        rgba(255, 255, 255, .92);

    font-size:
        1.05rem;

    line-height:
        1.7;

}


/* ==========================================================
HERO — ACTIONS
========================================================== */

body.page-areas .page-hero-actions,
body.page-areas .page-hero-buttons {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        18px;

}


/* ==========================================================
HERO — AJUSTE DOS BOTÕES
========================================================== */

body.page-areas .page-hero-actions .btn,
body.page-areas .page-hero-buttons .btn {

    min-width:
        190px;

}


/* ==========================================================
AREAS LISTING
========================================================== */

body.page-areas .areas-listing {

    padding:
        95px 0;

    background:
        var(--areas-light);

}


/* ==========================================================
LISTING HEADER
========================================================== */

body.page-areas .areas-listing-header {

    width:
        100%;

    max-width:
        760px;

    margin:
        0 auto 60px;

    text-align:
        center;

}


body.page-areas .areas-listing-header h2 {

    margin-bottom:
        20px;

    color:
        var(--areas-title);

    font-size:
        clamp(
            2rem,
            4vw,
            3.2rem
        );

}


body.page-areas .areas-listing-header .section-description {

    color:
        var(--areas-text);

    font-size:
        1rem;

    line-height:
        1.8;

}


/* ==========================================================
AREAS GRID
========================================================== */

body.page-areas .areas-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap:
        34px;

    align-items:
        stretch;

}


body.page-areas .areas-grid > * {

    min-width:
        0;

}


/* ==========================================================
AREA CARD
========================================================== */

body.page-areas .area-card {

    position:
        relative;

    height:
        100%;

    padding:
        30px;

    border:
        1px solid transparent;

    border-radius:
        var(--areas-card-radius);

    background:
        #FFF;

    box-shadow:
        var(--areas-shadow);

    animation:
        areaFadeUp .45s ease both;

    transition:
        transform .30s ease,
        box-shadow .30s ease,
        border-color .30s ease;

}


body.page-areas .area-card:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(13, 92, 87, .08);

    box-shadow:
        var(--areas-shadow-hover);

}


/* ==========================================================
CARD LINK
========================================================== */

body.page-areas .area-card-link {

    display:
        flex;

    flex-direction:
        column;

    width:
        100%;

    height:
        100%;

    color:
        inherit;

    text-decoration:
        none;

}


body.page-areas .area-card-link:hover {

    color:
        inherit;

}


/* ==========================================================
CARD IMAGE
========================================================== */

body.page-areas .area-card-image {

    display:
        flex;

    align-items:
        stretch;

    justify-content:
        stretch;

    width:
        100%;

    aspect-ratio:
        16 / 10;

    margin-bottom:
        24px;

    overflow:
        hidden;

    border-radius:
        var(--areas-image-radius);

    background:
        #ECECEC;

    line-height:
        0;

}


body.page-areas .area-card-image img {

    display:
        block;

    width:
        100%;

    height:
        100%;

    max-width:
        none;

    object-fit:
        cover;

    object-position:
        center;

    transition:
        transform .45s ease;

}


body.page-areas .area-card:hover
.area-card-image img {

    transform:
        scale(1.08);

}


/* ==========================================================
CARD PLACEHOLDER
========================================================== */

body.page-areas .area-card-placeholder {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        100%;

    height:
        100%;

    background:
        #ECECEC;

    color:
        #777;

    font-size:
        .85rem;

    font-weight:
        700;

    text-align:
        center;

}


/* ==========================================================
CARD CONTENT
========================================================== */

body.page-areas .area-card-content {

    display:
        flex;

    flex-direction:
        column;

    flex:
        1;

    min-width:
        0;

}


/* ==========================================================
CARD TYPE
========================================================== */

body.page-areas .area-card-type {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    align-self:
        flex-start;

    max-width:
        100%;

    padding:
        7px 14px;

    margin-bottom:
        16px;

    border-radius:
        999px;

    background:
        var(--areas-green-light);

    color:
        var(--areas-green);

    font-size:
        .70rem;

    font-weight:
        800;

    letter-spacing:
        .13em;

    line-height:
        1.2;

    text-transform:
        uppercase;

}


/* ==========================================================
CARD TITLE
========================================================== */

body.page-areas .area-card-content h2,
body.page-areas .area-card-content h3 {

    margin-bottom:
        10px;

    color:
        var(--areas-title);

    font-size:
        1.22rem;

    font-weight:
        800;

    line-height:
        1.25;

}


/* ==========================================================
CARD DESCRIPTION
========================================================== */

body.page-areas .area-description {

    flex:
        1;

    margin-bottom:
        24px;

    color:
        var(--areas-text);

    font-size:
        .90rem;

    line-height:
        1.65;

}


/* ==========================================================
CARD BUTTON
========================================================== */

body.page-areas .area-card-button {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    margin-top:
        auto;

    color:
        var(--areas-red);

    font-size:
        .88rem;

    font-weight:
        800;

}


body.page-areas .area-card-button::after {

    content:
        "→";

    transition:
        transform .30s ease;

}


body.page-areas .area-card:hover
.area-card-button::after {

    transform:
        translateX(6px);

}


/* ==========================================================
TOOLBAR
========================================================== */

body.page-areas .areas-toolbar {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    flex-wrap:
        wrap;

    gap:
        30px;

    margin-bottom:
        60px;

}


body.page-areas .areas-search {

    flex:
        1;

    min-width:
        320px;

}


body.page-areas .areas-search input {

    width:
        100%;

    height:
        58px;

    padding:
        0 24px;

    border:
        1px solid #E8ECEC;

    border-radius:
        999px;

    outline:
        none;

    background:
        #FFF;

    color:
        var(--areas-title);

    font:
        inherit;

    font-size:
        1rem;

    transition:
        border-color .30s ease,
        box-shadow .30s ease;

}


body.page-areas .areas-search input::placeholder {

    color:
        #9AA4AA;

    opacity:
        1;

}


body.page-areas .areas-search input:focus {

    border-color:
        var(--areas-green);

    box-shadow:
        0 0 0 4px
        rgba(13, 92, 87, .12);

}


body.page-areas .areas-counter {

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    white-space:
        nowrap;

}


body.page-areas .areas-counter strong {

    color:
        var(--areas-red);

    font-size:
        1.5rem;

    font-weight:
        900;

}


body.page-areas .areas-counter span {

    color:
        #6D757B;

    font-weight:
        700;

}


/* ==========================================================
EMPTY STATE
========================================================== */

body.page-areas .empty-state {

    width:
        100%;

    padding:
        90px 50px;

    border:
        1px solid var(--areas-border);

    border-radius:
        var(--areas-card-radius);

    background:
        #FFF;

    text-align:
        center;

}


body.page-areas .empty-state h2 {

    margin-bottom:
        20px;

    color:
        var(--areas-title);

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

}


body.page-areas .empty-state p {

    max-width:
        680px;

    margin-inline:
        auto;

    color:
        var(--areas-muted);

    font-size:
        1.05rem;

    line-height:
        1.8;

}


/* ==========================================================
CTA LISTAGEM
========================================================== */

body.page-areas .page-cta,
body.page-areas .areas-cta {

    width:
        100%;

    margin:
        0;

    padding:
        62px 0;

    overflow:
        hidden;

    background:
        linear-gradient(
            135deg,
            var(--areas-red),
            var(--areas-red-dark)
        );

    color:
        #FFF;

}


body.page-areas .page-cta-container {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    width:
        min(
            92%,
            var(--container)
        );

    margin-inline:
        auto;

    gap:
        60px;

}


body.page-areas .page-cta-content {

    flex:
        1;

    min-width:
        0;

    max-width:
        850px;

}


body.page-areas .page-cta-content h2 {

    margin:
        0 0 18px;

    color:
        #FFF;

    font-size:
        clamp(
            2rem,
            3.6vw,
            3rem
        );

    font-weight:
        800;

    line-height:
        1.12;

    text-align:
        left;

}


body.page-areas .page-cta-content p {

    max-width:
        760px;

    color:
        rgba(255, 255, 255, .94);

    font-size:
        1rem;

    line-height:
        1.65;

    text-align:
        left;

}


body.page-areas .page-cta-actions {

    display:
        flex;

    align-items:
        center;

    justify-content:
        flex-end;

    flex-shrink:
        0;

}


body.page-areas .page-cta-actions .btn {

    min-width:
        208px;

    min-height:
        64px;

    padding:
        0 32px;

    background:
        #FFF;

    color:
        var(--areas-green);

}


body.page-areas .page-cta-actions .btn:hover {

    background:
        var(--areas-green-dark);

    color:
        #FFF;

}


/* ==========================================================
=============================================================
ÁREA INDIVIDUAL
/areas/{slug}
=============================================================
========================================================== */


/* ==========================================================
CONTAINER DO DETALHE

O detalhe possui container próprio para garantir que as
sections internas não sejam afetadas pela estrutura global.
========================================================== */

body.page-areas .area-detail {

    width:
        100%;

    overflow:
        hidden;

    background:
        #FFF;

    color:
        var(--areas-text);

}


body.page-areas .area-detail .container {

    width:
        min(
            92%,
            var(--area-detail-max-width)
        );

    max-width:
        var(--area-detail-max-width);

    margin-inline:
        auto;

}


/* ==========================================================
HERO DA ÁREA INDIVIDUAL
========================================================== */

body.page-areas .area-detail-hero {

    position:
        relative;

    width:
        100%;

    min-height:
        520px;

    overflow:
        hidden;

    isolation:
        isolate;

    background:
        linear-gradient(
            135deg,
            #083F3C 0%,
            #0D5C57 48%,
            #08736B 100%
        );

}


/* ==========================================================
DECORAÇÃO HERO
========================================================== */

body.page-areas .area-detail-hero::before {

    content:
        "";

    position:
        absolute;

    z-index:
        0;

    top:
        -300px;

    right:
        -190px;

    width:
        560px;

    height:
        560px;

    border-radius:
        50%;

    background:
        rgba(255, 255, 255, .055);

    pointer-events:
        none;

}


body.page-areas .area-detail-hero::after {

    content:
        "";

    position:
        absolute;

    z-index:
        0;

    left:
        -170px;

    bottom:
        -190px;

    width:
        310px;

    height:
        310px;

    border-radius:
        50%;

    background:
        rgba(198, 60, 53, .13);

    pointer-events:
        none;

}


/* ==========================================================
HERO GRID
========================================================== */

body.page-areas .area-detail-hero-grid {

    position:
        relative;

    z-index:
        2;

    display:
        grid;

    grid-template-columns:
        minmax(0, .82fr)
        minmax(0, 1.18fr);

    align-items:
        center;

    min-height:
        520px;

    gap:
        48px;

}


body.page-areas .area-detail-hero-grid > * {

    min-width:
        0;

}


/* ==========================================================
HERO CONTENT
========================================================== */

body.page-areas .area-detail-hero-content {

    position:
        relative;

    min-width:
        0;

    padding:
        0;

}


/* ==========================================================
BOTÃO VOLTAR
========================================================== */

body.page-areas .area-detail-back {

    display:
        flex;

    align-items:
        center;

    width:
        fit-content;

    max-width:
        100%;

    margin:
        0 0 15px;

    padding:
        0;

    color:
        rgba(255, 255, 255, .92);

    font-size:
        .78rem;

    font-weight:
        800;

    line-height:
        1.3;

    text-decoration:
        none;

    white-space:
        nowrap;

    transition:
        color .25s ease,
        transform .25s ease;

}


body.page-areas .area-detail-back:hover {

    color:
        #FFF;

    transform:
        translateX(-4px);

}


/* ==========================================================
TIPO DA ÁREA
========================================================== */

body.page-areas .area-detail-type {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        fit-content;

    max-width:
        100%;

    margin:
        0 0 16px;

    padding:
        7px 14px;

    border:
        1px solid rgba(255, 255, 255, .22);

    border-radius:
        999px;

    background:
        rgba(255, 255, 255, .12);

    color:
        #FFF;

    font-size:
        .64rem;

    font-weight:
        900;

    letter-spacing:
        .14em;

    line-height:
        1.2;

    text-transform:
        uppercase;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, .08);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

}


/* ==========================================================
TÍTULO DO DETALHE
========================================================== */

body.page-areas .area-detail-hero-content h1 {

    position:
        relative;

    max-width:
        620px;

    margin:
        0 0 18px;

    color:
        #FFF;

    font-size:
        clamp(
            3rem,
            5vw,
            4.7rem
        );

    font-weight:
        900;

    line-height:
        .96;

    letter-spacing:
        -2.7px;

    overflow-wrap:
        break-word;

}


body.page-areas .area-detail-hero-content h1::after {

    content:
        "";

    display:
        block;

    width:
        54px;

    height:
        5px;

    margin-top:
        20px;

    border-radius:
        999px;

    background:
        var(--areas-red);

}


/* ==========================================================
INTRO DO DETALHE
========================================================== */

body.page-areas .area-detail-intro {

    max-width:
        570px;

    color:
        rgba(255, 255, 255, .86);

    font-size:
        .96rem;

    line-height:
        1.7;

}


body.page-areas .area-detail-intro p {

    margin:
        0;

    color:
        inherit;

}


/* ==========================================================
IMAGEM PRINCIPAL DO DETALHE
========================================================== */

body.page-areas .area-detail-hero-image {

    position:
        relative;

    align-self:
        center;

    justify-self:
        stretch;

    width:
        100%;

    height:
        390px;

    overflow:
        hidden;

    border:
        4px solid rgba(255, 255, 255, .14);

    border-radius:
        22px;

    background:
        #E9EDED;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .28),
        0 5px 18px rgba(0, 0, 0, .12);

    line-height:
        0;

}


body.page-areas .area-detail-hero-image::after {

    content:
        "";

    position:
        absolute;

    z-index:
        2;

    inset:
        0;

    pointer-events:
        none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 62%,
            rgba(0, 0, 0, .12) 100%
        );

}


body.page-areas .area-detail-hero-image img {

    display:
        block;

    width:
        100%;

    height:
        100%;

    max-width:
        none;

    object-fit:
        cover;

    object-position:
        center;

    transition:
        transform .6s ease;

}


body.page-areas .area-detail-hero-image:hover img {

    transform:
        scale(1.025);

}


/* ==========================================================
CONTEÚDO PRINCIPAL DO DETALHE
========================================================== */

body.page-areas .area-detail-content {

    width:
        100%;

    padding:
        34px 0 44px;

    background:
        #FFF;

}


body.page-areas .area-detail-content > .container {

    display:
        flex;

    flex-direction:
        column;

    gap:
        0;

    padding:
        0;

}


/* ==========================================================
PROTEÇÃO CONTRA CSS GLOBAL

CRÍTICO:

O style.css possui:

section {
    padding: 90px 0;
}

As sections internas do detalhe NÃO podem receber esse
espaçamento global.

========================================================== */

body.page-areas .area-detail-content > .container > section {

    width:
        100%;

    min-height:
        0;

    height:
        auto;

    margin:
        0;

    padding:
        0;

}


/* ==========================================================
ESPAÇAMENTO ENTRE SEÇÕES DO DETALHE
========================================================== */

body.page-areas
.area-detail-content
> .container
> section
+ section {

    margin-top:
        var(--area-detail-gap);

}


/* ==========================================================
CABEÇALHO DAS SEÇÕES DO DETALHE
========================================================== */

body.page-areas .area-detail-section-heading {

    margin:
        0 0 22px;

    padding:
        0;

}


body.page-areas .area-detail-eyebrow {

    display:
        block;

    margin:
        0 0 8px;

    color:
        var(--areas-red);

    font-size:
        .62rem;

    font-weight:
        900;

    letter-spacing:
        .16em;

    line-height:
        1.3;

    text-transform:
        uppercase;

}


body.page-areas .area-detail-section-heading h2 {

    margin:
        0;

    color:
        var(--areas-title);

    font-size:
        clamp(
            1.9rem,
            3vw,
            2.65rem
        );

    font-weight:
        800;

    line-height:
        1.1;

    letter-spacing:
        -.8px;

}


/* ==========================================================
DESCRIÇÃO DA ÁREA
========================================================== */

body.page-areas .area-detail-description {

    width:
        100%;

    max-width:
        var(--area-detail-content-width);

}


body.page-areas .area-detail-description-text {

    width:
        100%;

    max-width:
        790px;

    color:
        var(--area-detail-muted);

    font-size:
        .98rem;

    line-height:
        1.78;

}


/* ==========================================================
CARACTERÍSTICAS
========================================================== */

body.page-areas .area-detail-features {

    width:
        100%;

    margin:
        0;

}


body.page-areas .area-characteristics-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap:
        18px;

}


body.page-areas .area-characteristic {

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    min-height:
        118px;

    padding:
        23px 25px;

    border:
        1px solid var(--area-detail-border);

    border-radius:
        var(--area-detail-radius-small);

    background:
        #FFF;

    box-shadow:
        0 8px 28px rgba(0, 0, 0, .045);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

}


body.page-areas .area-characteristic:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(13, 92, 87, .28);

    box-shadow:
        0 18px 50px rgba(0, 0, 0, .08);

}


body.page-areas .area-characteristic h3 {

    margin:
        0 0 7px;

    color:
        var(--areas-title);

    font-size:
        .78rem;

    font-weight:
        800;

    line-height:
        1.35;

}


body.page-areas .area-characteristic p {

    margin:
        0;

    color:
        var(--areas-green);

    font-size:
        1.18rem;

    font-weight:
        900;

    line-height:
        1.25;

}


/* ==========================================================
ESPECIFICAÇÕES
========================================================== */

body.page-areas .area-detail-specifications {

    width:
        100%;

    max-width:
        900px;

    margin:
        0;

}


body.page-areas .area-specifications {

    overflow:
        hidden;

    border:
        1px solid var(--area-detail-border);

    border-radius:
        var(--area-detail-radius-small);

    background:
        #FFF;

}


body.page-areas .area-specification-row {

    display:
        grid;

    grid-template-columns:
        minmax(190px, .8fr)
        minmax(0, 1.4fr);

    min-height:
        60px;

    border-bottom:
        1px solid var(--area-detail-border);

}


body.page-areas .area-specification-row:last-child {

    border-bottom:
        0;

}


body.page-areas .area-specification-label {

    display:
        flex;

    align-items:
        center;

    padding:
        15px 21px;

    background:
        #F6F8F8;

    color:
        var(--areas-title);

    font-size:
        .84rem;

    font-weight:
        800;

}


body.page-areas .area-specification-value {

    display:
        flex;

    align-items:
        center;

    padding:
        15px 21px;

    color:
        var(--area-detail-muted);

    font-size:
        .9rem;

    line-height:
        1.5;

    overflow-wrap:
        anywhere;

}


/* ==========================================================
GALERIA
========================================================== */

body.page-areas .area-detail-gallery {

    width:
        100%;

    margin:
        0;

}


body.page-areas .area-gallery-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap:
        12px;

}


body.page-areas .area-gallery-item {

    position:
        relative;

    min-width:
        0;

    margin:
        0;

    overflow:
        hidden;

    border-radius:
        var(--area-detail-radius-small);

    background:
        #E9EDED;

    box-shadow:
        0 7px 24px rgba(0, 0, 0, .055);

    line-height:
        0;

}


body.page-areas .area-gallery-item img {

    display:
        block;

    width:
        100%;

    height:
        250px;

    max-width:
        none;

    object-fit:
        cover;

    object-position:
        center;

    transition:
        transform .5s ease;

}


body.page-areas .area-gallery-item:hover img {

    transform:
        scale(1.045);

}


/* ==========================================================
EMPTY DETAIL
========================================================== */

body.page-areas .area-detail-empty {

    width:
        100%;

    margin:
        0;

}


body.page-areas .area-detail-empty .empty-state {

    padding:
        64px 40px;

    border:
        1px solid var(--area-detail-border);

    background:
        var(--area-detail-soft);

}


/* ==========================================================
CTA DA ÁREA INDIVIDUAL
========================================================== */

body.page-areas .area-detail-cta {

    width:
        100%;

    padding:
        58px 0;

    background:
        linear-gradient(
            135deg,
            var(--areas-red),
            var(--areas-red-dark)
        );

    color:
        #FFF;

}


body.page-areas .area-detail-cta-inner {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        50px;

}


body.page-areas .area-detail-cta-inner > div {

    min-width:
        0;

    max-width:
        780px;

}


body.page-areas .area-detail-cta .area-detail-eyebrow {

    margin-bottom:
        10px;

    color:
        rgba(255, 255, 255, .76);

}


body.page-areas .area-detail-cta h2 {

    margin:
        0;

    color:
        #FFF;

    font-size:
        clamp(
            1.9rem,
            3.4vw,
            2.85rem
        );

    font-weight:
        800;

    line-height:
        1.12;

    letter-spacing:
        -.8px;

}


body.page-areas .area-detail-cta-button {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    flex-shrink:
        0;

    min-width:
        205px;

    min-height:
        56px;

    padding:
        0 28px;

    border-radius:
        999px;

    background:
        #FFF;

    color:
        var(--areas-green);

    font-size:
        .86rem;

    font-weight:
        800;

    text-decoration:
        none;

}


body.page-areas .area-detail-cta-button::after {

    content:
        "→";

    margin-left:
        8px;

    transition:
        transform .25s ease;

}


body.page-areas .area-detail-cta-button:hover {

    background:
        var(--areas-green-dark);

    color:
        #FFF;

    transform:
        translateY(-3px);

}


body.page-areas .area-detail-cta-button:hover::after {

    transform:
        translateX(4px);

}


/* ==========================================================
ACESSIBILIDADE
========================================================== */

body.page-areas a:focus-visible,
body.page-areas button:focus-visible,
body.page-areas input:focus-visible {

    outline:
        3px solid var(--areas-red);

    outline-offset:
        3px;

}


/* ==========================================================
ANIMAÇÃO
========================================================== */

@keyframes areaFadeUp {

    from {

        opacity:
            0;

        transform:
            translateY(32px);

    }

    to {

        opacity:
            1;

        transform:
            translateY(0);

    }

}


/* ==========================================================
TABLET — 1100px
========================================================== */

@media (max-width: 1100px) {

    body.page-areas .areas-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

    }


    body.page-areas .area-detail-hero {

        min-height:
            500px;

    }


    body.page-areas .area-detail-hero-grid {

        grid-template-columns:
            minmax(0, .9fr)
            minmax(0, 1.1fr);

        min-height:
            500px;

        gap:
            38px;

    }


    body.page-areas .area-detail-hero-image {

        height:
            370px;

    }


    body.page-areas .area-detail-hero-content h1 {

        font-size:
            clamp(
                2.7rem,
                5vw,
                4rem
            );

    }


    body.page-areas .area-characteristics-grid {

        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

    }


    body.page-areas .area-gallery-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

    }

}


/* ==========================================================
TABLET MENOR — 900px
========================================================== */

@media (max-width: 900px) {

    /* ------------------------------------------------------
       HERO LISTAGEM
    ------------------------------------------------------ */

    body.page-areas .page-hero {

        min-height:
            620px;

        padding:
            90px 0 60px;

    }


    /* ------------------------------------------------------
       TOOLBAR
    ------------------------------------------------------ */

    body.page-areas .areas-toolbar {

        flex-direction:
            column;

        align-items:
            stretch;

    }


    body.page-areas .areas-search {

        min-width:
            100%;

    }


    body.page-areas .areas-counter {

        justify-content:
            flex-end;

    }


    /* ------------------------------------------------------
       HERO DETALHE
    ------------------------------------------------------ */

    body.page-areas .area-detail-hero {

        min-height:
            auto;

        padding:
            44px 0 46px;

    }


    body.page-areas .area-detail-hero-grid {

        grid-template-columns:
            1fr;

        min-height:
            auto;

        gap:
            30px;

    }


    body.page-areas .area-detail-hero-content {

        max-width:
            760px;

    }


    body.page-areas .area-detail-hero-content h1 {

        max-width:
            760px;

        font-size:
            clamp(
                2.8rem,
                7vw,
                4rem
            );

    }


    body.page-areas .area-detail-hero-image {

        align-self:
            center;

        width:
            100%;

        height:
            min(
                54vw,
                430px
            );

    }


    /* ------------------------------------------------------
       CARACTERÍSTICAS
    ------------------------------------------------------ */

    body.page-areas .area-characteristics-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

    }


    /* ------------------------------------------------------
       CTA LISTAGEM
    ------------------------------------------------------ */

    body.page-areas .page-cta-container {

        gap:
            40px;

    }


    /* ------------------------------------------------------
       CTA DETALHE
    ------------------------------------------------------ */

    body.page-areas .area-detail-cta {

        padding:
            52px 0;

    }


    body.page-areas .area-detail-cta-inner {

        gap:
            32px;

    }

}


/* ==========================================================
MOBILE — 700px
========================================================== */

@media (max-width: 700px) {

    /* ------------------------------------------------------
       HERO LISTAGEM
    ------------------------------------------------------ */

    body.page-areas .page-hero {

        min-height:
            560px;

        padding:
            75px 0 50px;

    }


    body.page-areas .page-hero-content {

        padding:
            50px 0;

    }


    body.page-areas .page-hero-content h1 {

        font-size:
            2.2rem;

    }


    body.page-areas .page-hero-actions,
    body.page-areas .page-hero-buttons {

        flex-direction:
            column;

        align-items:
            stretch;

    }


    body.page-areas .page-hero-actions .btn,
    body.page-areas .page-hero-buttons .btn {

        width:
            100%;

    }


    /* ------------------------------------------------------
       LISTAGEM
    ------------------------------------------------------ */

    body.page-areas .areas-listing {

        padding:
            70px 0;

    }


    body.page-areas .areas-grid {

        grid-template-columns:
            1fr;

        gap:
            22px;

    }


    body.page-areas .area-card {

        padding:
            22px;

    }


    /* ------------------------------------------------------
       TOOLBAR
    ------------------------------------------------------ */

    body.page-areas .areas-toolbar {

        margin-bottom:
            40px;

    }


    body.page-areas .areas-counter {

        justify-content:
            center;

    }


    /* ------------------------------------------------------
       CTA LISTAGEM
    ------------------------------------------------------ */

    body.page-areas .page-cta,
    body.page-areas .areas-cta {

        padding:
            55px 0;

    }


    body.page-areas .page-cta-container {

        flex-direction:
            column;

        align-items:
            center;

        justify-content:
            center;

        gap:
            28px;

        text-align:
            center;

    }


    body.page-areas .page-cta-content {

        width:
            100%;

        max-width:
            620px;

        text-align:
            center;

    }


    body.page-areas .page-cta-content h2 {

        font-size:
            2rem;

        text-align:
            center;

    }


    body.page-areas .page-cta-content p {

        margin-inline:
            auto;

        text-align:
            center;

    }


    body.page-areas .page-cta-actions {

        justify-content:
            center;

        width:
            100%;

    }


    body.page-areas .page-cta-actions .btn {

        width:
            100%;

        min-width:
            0;

    }


    /* ------------------------------------------------------
       HERO DETALHE
    ------------------------------------------------------ */

    body.page-areas .area-detail-hero {

        min-height:
            auto;

        padding:
            38px 0 42px;

    }


    body.page-areas .area-detail-hero-grid {

        grid-template-columns:
            1fr;

        min-height:
            auto;

        gap:
            25px;

    }


    /* ------------------------------------------------------
       BOTÃO VOLTAR
    ------------------------------------------------------ */

    body.page-areas .area-detail-back {

        display:
            flex;

        width:
            fit-content;

        margin-bottom:
            13px;

        font-size:
            .75rem;

    }


    /* ------------------------------------------------------
       TIPO
    ------------------------------------------------------ */

    body.page-areas .area-detail-type {

        display:
            inline-flex;

        margin-bottom:
            13px;

    }


    /* ------------------------------------------------------
       TÍTULO
    ------------------------------------------------------ */

    body.page-areas .area-detail-hero-content h1 {

        max-width:
            100%;

        margin-bottom:
            16px;

        font-size:
            clamp(
                2.25rem,
                11vw,
                3.25rem
            );

        line-height:
            .98;

        letter-spacing:
            -1.6px;

    }


    body.page-areas .area-detail-hero-content h1::after {

        width:
            44px;

        height:
            4px;

        margin-top:
            17px;

    }


    body.page-areas .area-detail-intro {

        font-size:
            .90rem;

        line-height:
            1.7;

    }


    /* ------------------------------------------------------
       IMAGEM DETALHE
    ------------------------------------------------------ */

    body.page-areas .area-detail-hero-image {

        align-self:
            center;

        width:
            100%;

        height:
            auto;

        aspect-ratio:
            16 / 10;

        border-width:
            3px;

        border-radius:
            17px;

    }


    body.page-areas .area-detail-hero-image img {

        width:
            100%;

        height:
            100%;

        min-height:
            0;

        max-height:
            none;

    }


    /* ------------------------------------------------------
       CONTEÚDO DETALHE
    ------------------------------------------------------ */

    body.page-areas .area-detail-content {

        padding:
            30px 0 44px;

    }


    body.page-areas
    .area-detail-content
    > .container
    > section
    + section {

        margin-top:
            34px;

    }


    /* ------------------------------------------------------
       CABEÇALHOS
    ------------------------------------------------------ */

    body.page-areas .area-detail-section-heading {

        margin-bottom:
            18px;

    }


    body.page-areas .area-detail-eyebrow {

        margin-bottom:
            7px;

        font-size:
            .60rem;

    }


    body.page-areas .area-detail-section-heading h2 {

        font-size:
            1.78rem;

    }


    /* ------------------------------------------------------
       DESCRIÇÃO
    ------------------------------------------------------ */

    body.page-areas .area-detail-description-text {

        font-size:
            .88rem;

    }


    /* ------------------------------------------------------
       CARACTERÍSTICAS
    ------------------------------------------------------ */

    body.page-areas .area-characteristics-grid {

        grid-template-columns:
            1fr;

        gap:
            10px;

    }


    body.page-areas .area-characteristic {

        min-height:
            104px;

        padding:
            20px 21px;

        border-radius:
            14px;

    }


    body.page-areas .area-characteristic p {

        font-size:
            1.08rem;

    }


    /* ------------------------------------------------------
       ESPECIFICAÇÕES
    ------------------------------------------------------ */

    body.page-areas .area-specification-row {

        grid-template-columns:
            1fr;

    }


    body.page-areas .area-specification-label {

        min-height:
            43px;

        padding:
            11px 15px;

        font-size:
            .76rem;

    }


    body.page-areas .area-specification-value {

        padding:
            12px 15px;

        font-size:
            .84rem;

    }


    /* ------------------------------------------------------
       GALERIA
    ------------------------------------------------------ */

    body.page-areas .area-gallery-grid {

        grid-template-columns:
            1fr;

        gap:
            10px;

    }


    body.page-areas .area-gallery-item {

        border-radius:
            14px;

    }


    body.page-areas .area-gallery-item img {

        width:
            100%;

        height:
            auto;

        aspect-ratio:
            16 / 10;

        min-height:
            0;

        max-height:
            none;

        object-fit:
            cover;

    }


    /* ------------------------------------------------------
       CTA DETALHE
    ------------------------------------------------------ */

    body.page-areas .area-detail-cta {

        padding:
            46px 0;

    }


    body.page-areas .area-detail-cta-inner {

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            24px;

    }


    body.page-areas .area-detail-cta-inner > div {

        max-width:
            100%;

    }


    body.page-areas .area-detail-cta h2 {

        font-size:
            1.8rem;

    }


    body.page-areas .area-detail-cta-button {

        width:
            100%;

        min-width:
            0;

    }

}


/* ==========================================================
MOBILE PEQUENO — 480px
========================================================== */

@media (max-width: 480px) {

    body.page-areas .page-hero {

        min-height:
            530px;

        padding:
            70px 0 40px;

    }


    body.page-areas .page-hero-content {

        padding:
            40px 0;

    }


    body.page-areas .page-hero-content h1 {

        font-size:
            2rem;

    }


    body.page-areas .page-hero-content p {

        font-size:
            .90rem;

    }


    body.page-areas .area-card {

        padding:
            20px;

        border-radius:
            18px;

    }


    body.page-areas .area-card-image {

        aspect-ratio:
            16 / 10;

        border-radius:
            15px;

    }


    body.page-areas .area-card-type {

        padding:
            6px 11px;

        font-size:
            .64rem;

    }


    body.page-areas .area-card-content h2,
    body.page-areas .area-card-content h3 {

        font-size:
            1.12rem;

    }


    body.page-areas .area-description {

        font-size:
            .86rem;

    }


    body.page-areas .empty-state {

        padding:
            50px 20px;

        border-radius:
            18px;

    }


    /* ------------------------------------------------------
       DETALHE
    ------------------------------------------------------ */

    body.page-areas .area-detail-hero {

        padding:
            34px 0 38px;

    }


    body.page-areas .area-detail-hero-grid {

        gap:
            22px;

    }


    body.page-areas .area-detail-back {

        margin-bottom:
            12px;

        font-size:
            .72rem;

    }


    body.page-areas .area-detail-type {

        margin-bottom:
            11px;

        padding:
            6px 10px;

        font-size:
            .56rem;

    }


    body.page-areas .area-detail-hero-content h1 {

        font-size:
            2.12rem;

        letter-spacing:
            -1.2px;

    }


    body.page-areas .area-detail-hero-content h1::after {

        width:
            38px;

        height:
            3px;

        margin-top:
            15px;

    }


    body.page-areas .area-detail-intro {

        font-size:
            .86rem;

    }


    body.page-areas .area-detail-hero-image {

        width:
            100%;

        aspect-ratio:
            16 / 10;

        border-width:
            3px;

        border-radius:
            15px;

    }


    body.page-areas .area-detail-content {

        padding:
            28px 0 42px;

    }


    body.page-areas
    .area-detail-content
    > .container
    > section
    + section {

        margin-top:
            30px;

    }


    body.page-areas .area-detail-section-heading {

        margin-bottom:
            17px;

    }


    body.page-areas .area-detail-section-heading h2 {

        font-size:
            1.62rem;

    }


    body.page-areas .area-detail-description-text {

        font-size:
            .86rem;

    }


    body.page-areas .area-gallery-item img {

        aspect-ratio:
            16 / 10;

        height:
            auto;

        min-height:
            0;

        max-height:
            none;

    }


    body.page-areas .area-detail-cta {

        padding:
            42px 0;

    }


    body.page-areas .area-detail-cta h2 {

        font-size:
            1.58rem;

    }

}


/* ==========================================================
ACESSIBILIDADE — MOVIMENTO REDUZIDO
========================================================== */

@media (prefers-reduced-motion: reduce) {

    body.page-areas .area-card,
    body.page-areas .area-detail-hero-image img,
    body.page-areas .area-gallery-item img,
    body.page-areas .area-characteristic,
    body.page-areas .area-detail-back,
    body.page-areas .area-detail-cta-button {

        animation:
            none !important;

        transition:
            none !important;

    }

}