:root {
    --ink: #1d1b19;
    --heading: #2a241e;
    --text: #5c534a;
    --gold: #c47a28;
    --gold-deep: #9a5c16;
    --paper: #f6f3ee;
    --line: #e5ddd2;
    --charcoal: #242220;
    --max: 1320px;
    --serif: Georgia, "Palatino Linotype", Palatino, serif;
    --sans: "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text);
    background: #fff;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.6;
}

main {
    flex: 1;
    animation: entrar .45s ease;
}

body.is-leaving main {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .28s ease, transform .28s ease;
}

@keyframes entrar {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

img { max-width: 100%; height: auto; }

a { color: #1c1b19; }

p { margin: 0 0 1rem; }

h1, h2, h3, strong {
    color: var(--heading);
    font-weight: 600;
}

h1, h2, .card strong {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -.02em;
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(29, 27, 25, .05);
}

.bar {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 104px;
}

.logo {
    min-width: 0;
    line-height: 0;
    flex: 0 0 auto;
}

.logo img {
    display: block;
    width: auto;
    height: 56px;
}

.nav { margin-left: auto; }

.menu, .submenu { list-style: none; margin: 0; padding: 0; }

.menu { display: flex; align-items: center; gap: 4px; }

.menu > li { position: relative; }

.menu > li > a {
    position: relative;
    display: inline-block;
    padding: 10px 12px 12px;
    color: #4d463f;
    text-decoration: none;
    font-size: .95rem;
}

.menu > li > a:hover,
.menu > li > a[aria-current="page"],
.has-sub.is-current > a { color: #1c1b19; }

.menu > li > a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background: #1c1b19;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .2s ease;
}

.menu > li > a:hover::after,
.menu > li > a[aria-current="page"]::after,
.has-sub.is-current > a::after,
.has-sub:hover > a::after { transform: scaleX(1); }

.submenu {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    min-width: 210px;
    padding: 8px 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(29, 27, 25, .08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.submenu a {
    display: block;
    padding: 9px 16px;
    color: var(--heading);
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.submenu a:hover,
.submenu a[aria-current="page"] { background: #eceae6; color: #1c1b19; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 0;
    background: #1c1b19;
    color: #fff;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.btn:hover { background: #3c3936; }

.btn-gold { background: #1c1b19; color: #fff; }

.btn-gold:hover { background: #3c3936; }

.btn-light { background: #fff; color: var(--ink); }

.btn-light:hover { background: #eceae6; color: #1c1b19; }

.seta {
    display: inline-block;
    transition: transform .2s ease;
}

.btn:hover .seta { transform: translateX(5px); }

.btn .wa,
.btn .dl {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    display: block;
}

.btn-line {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
}

.btn-line:hover { background: rgba(255, 255, 255, .12); }

.nav-cta, .nav-toggle, .nav-topo, .nav-fundo, .vitrine-controles { display: none; }

.header-cta,
.nav-cta {
    white-space: nowrap;
    padding: 11px 18px;
    border-radius: 8px;
}

.hero {
    position: relative;
    height: 560px;
    color: #fff;
    background: #101418;
    overflow: hidden;
}

.hero-foto {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 160%;
    object-fit: cover;
    object-position: center bottom;
    filter: brightness(.62) saturate(.85) contrast(1.05);
}

.hero-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 12, 18, .82) 0%, rgba(10, 16, 24, .62) 42%, rgba(8, 14, 20, .48) 100%);
}

.hero-align {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 640px;
}

.eyebrow {
    margin: 0 0 12px;
    color: #f0d3a4;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4.3rem);
    line-height: 1.05;
}

.hero p { max-width: 34rem; color: rgba(255, 255, 255, .88); }

.secao { padding: 76px 0; }

.secao .eyebrow { color: #5c564f; }

.secao-papel { background: var(--paper); }

.secao-topo {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 28px;
}

.secao h2 {
    margin: 0 0 8px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    max-width: 16ch;
}

.secao-topo p { max-width: 36ch; margin: 0; }

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    color: inherit;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: box-shadow .25s ease;
}

.card:hover {
    box-shadow: 0 16px 40px rgba(29, 27, 25, .08);
}

.card img {
    width: 100%;
    height: 168px;
    object-fit: cover;
}

.card-corpo {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 16px 16px 18px;
}

.card strong { font-size: 1.25rem; }

.card-corpo span { color: var(--text); font-size: .95rem; }

.card em {
    margin-top: auto;
    padding-top: 16px;
    color: #1c1b19;
    font-style: normal;
    font-weight: 700;
    font-size: .9rem;
}

.institucional {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #111;
    color: rgba(255, 255, 255, .86);
}

.institucional-texto, .institucional-foto { min-height: 460px; }

.institucional-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 48px 64px max(20px, calc(50vw - var(--max) / 2));
}

.institucional h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    max-width: none;
}

.institucional p { max-width: 38rem; }

.institucional .btn { align-self: flex-start; }

.institucional-foto {
    position: relative;
}

.institucional-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    display: block;
}

.institucional-foto::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 17, 17, .72) 0%, rgba(17, 17, 17, .22) 34%, rgba(17, 17, 17, 0) 68%);
}

.faixa {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 460px;
    background: #111;
    color: #fff;
}

.faixa-foto {
    position: relative;
    min-height: 460px;
    overflow: hidden;
}

.faixa-foto img {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 160%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

.faixa-foto::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(17, 17, 17, .72) 0%, rgba(17, 17, 17, .22) 34%, rgba(17, 17, 17, 0) 68%);
}

.faixa-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px max(20px, calc(50vw - var(--max) / 2)) 64px 48px;
}

.faixa h2 {
    margin: 8px 0 12px;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.faixa p { color: rgba(255, 255, 255, .84); }

.institucional .eyebrow,
.faixa .eyebrow,
.page-hero .eyebrow { color: rgba(255, 255, 255, .78); }

.acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.page-hero {
    background:
        linear-gradient(90deg, rgba(20, 22, 20, .88), rgba(20, 22, 20, .55)),
        url("../assets/img/planta-hero.jpg") center 40% / cover no-repeat;
    color: #fff;
    padding: 72px 0;
}

.page-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.conteudo { padding: 56px 0 80px; }

.abertura { font-size: 1.05rem; }

.bloco-fotos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 36px;
}

.foto-card h2 { margin: 0 0 12px; font-size: 1.6rem; }

.foto-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--line);
    margin-bottom: 12px;
}

.foto-card.centro { margin: 0; }

.painel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    margin: 22px 0 28px;
    overflow-x: auto;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    font-size: .92rem;
}

.spec-table th, .spec-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #efeae3;
}

.spec-table th {
    background: var(--charcoal);
    color: #fff;
    font-weight: 600;
}

.spec-table th:first-child,
.spec-table td:first-child { text-align: left; }

.spec-table tbody td:first-child {
    font-weight: 700;
    color: var(--heading);
    background: #faf7f2;
}

.spec-table tbody tr:nth-child(even) td { background: #f7f4ef; }

.spec-table tbody tr:nth-child(even) td:first-child { background: #f1ebe3; }

.spec-table tbody tr.fispq-linha td {
    background: #fff;
    border-bottom: 0;
    vertical-align: middle;
}

.spec-table tr.fispq-linha .btn {
    padding: 8px 12px;
    font-size: .85rem;
    gap: 6px;
    white-space: nowrap;
}

.spec-table tr.fispq-linha .dl { width: 15px; height: 15px; }

.grade-fispq { margin: 14px 0 6px; }

.spec-par { min-width: 0; }

.spec-par th, .spec-par td { text-align: left; }

.colas-par,
.tego-par {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.colas-par .painel,
.tego-par .painel { margin: 16px 0 0; }

.tego-foto {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--line);
    display: block;
}

.tego-nota { margin: 14px 0 0; }

.grades { display: none; }

.grade {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px 16px 12px;
    margin-bottom: 14px;
}

.grade h3 { margin: 12px 0 4px; font-size: 1.15rem; }

.grade div {
    display: grid;
    gap: 2px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.grade dt {
    margin: 0;
    color: #8d8174;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.grade dd { margin: 0; color: var(--heading); font-weight: 600; }

.fispq { display: flex; flex-wrap: wrap; gap: 12px; }

.ficha h2 { margin: 28px 0 10px; font-size: 1.35rem; }

.specs { max-width: 680px; margin: 8px 0 24px; }

.specs div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.specs dt { font-weight: 700; color: var(--heading); }

.specs dd { margin: 0; }

.grupo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 36px auto 0;
    text-align: center;
}

.grupo span {
    color: #5c564f;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.grupo img { width: min(200px, 70%); display: block; }

.conteudo.ficha:has(.grupo) { padding-bottom: 36px; }

.em-breve {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 320px;
    max-width: 640px;
}

.em-breve .eyebrow { color: #5c564f; }

.em-breve h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.contato {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 42px;
}

.contato h2 { margin: 0 0 8px; font-size: 1.7rem; }

label { display: block; margin: 14px 0 6px; color: var(--heading); font-weight: 600; }

input[type="email"],
input[type="text"],
input[type="tel"],
textarea {
    width: 100%;
    border: 1px solid #ddd4c8;
    background: #fff;
    color: var(--heading);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
}

textarea { min-height: 140px; resize: vertical; }

input:focus, textarea:focus {
    outline: none;
    border-color: #1c1b19;
    box-shadow: 0 0 0 3px rgba(28, 27, 25, .12);
}

.form-acoes { margin-top: 14px; }

.form-linha {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.campo-erro {
    margin: 6px 0 0;
    color: #792109;
    font-size: .82rem;
}

.campo.is-erro input,
.campo.is-erro textarea { border-color: #792109; }

.aviso {
    padding: 12px 14px;
    border-radius: 12px;
    background: #eef6ee;
    color: #27522a;
}

.aviso.is-erro { background: #fbf3f1; color: #792109; }

.dados {
    background: var(--paper);
    border-radius: 18px;
    padding: 22px;
}

.dados h2 { margin-top: 8px; font-size: 1.15rem; }

.dados-contatos { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

.dados-contatos a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
}

.dados-contatos a:hover { color: #1c1b19; }

.dados-contatos .ico { width: 16px; height: 16px; flex: 0 0 auto; }

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    background: #fff;
    color: #5c534a;
    border-top: 3px solid #1c1b19;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.15fr .8fr 1.15fr;
    align-items: start;
    gap: 32px;
    padding: 42px 0 28px;
}

.footer-logo-col { align-self: start; }

.footer-logo {
    display: block;
    height: 64px;
    width: auto;
    margin: 0;
}

.site-footer h2 {
    position: relative;
    margin: 0 0 14px;
    padding-top: 14px;
    color: #1c1b19;
    font-family: var(--sans);
    font-size: .95rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.site-footer h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #1c1b19;
}

.site-footer a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #3f3a36;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color .2s ease;
}

.site-footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease;
}

.site-footer a:hover { color: #111; }

.site-footer a:hover::after { transform: scaleX(1); }

.site-footer .ico {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.copy {
    margin: 0;
    padding: 14px 20px 18px;
    border-top: 1px solid #e7e1d8;
    color: #6f675f;
    text-align: center;
    font-size: .88rem;
}

@media (max-width: 980px) {
    .site-header { backdrop-filter: none; }

    .bar {
        min-height: 68px;
        gap: 12px;
    }

    .logo img { height: 42px; }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 42px;
        height: 42px;
        margin-left: auto;
        padding: 0;
        background: transparent;
        color: #1c1b19;
        border: 0;
        cursor: pointer;
    }

    .nav-toggle svg,
    .nav-fechar svg { width: 26px; height: 26px; display: block; }

    .header-cta { display: none; }

    body.menu-aberto { overflow: hidden; }

    .nav-fundo {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(17, 17, 17, .46);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 30;
        transition: opacity .35s ease, visibility 0s linear .35s;
    }

    body.menu-aberto .nav-fundo {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity .35s ease, visibility 0s;
    }

    .nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(320px, 86vw);
        margin: 0;
        padding: 18px 22px 28px;
        background: #fff;
        z-index: 40;
        overflow: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .35s;
    }

    .nav.is-open {
        transform: none;
        visibility: visible;
        box-shadow: -16px 0 40px rgba(29, 27, 25, .12);
        transition: transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s;
    }

    .nav-topo {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 8px;
    }

    .nav-fechar {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #1c1b19;
        cursor: pointer;
    }

    .menu { flex-direction: column; align-items: stretch; gap: 0; }

    .menu > li > a {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-size: 1.05rem;
    }

    .menu > li > a::after { display: none; }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 4px 0 8px 14px;
        background: transparent;
    }

    .submenu a { padding: 10px 0; }

    .nav-cta { display: inline-flex; margin-top: 22px; }

    .cards, .institucional, .faixa, .bloco-fotos, .contato, .footer-grid, .specs div {
        grid-template-columns: 1fr;
    }

    .foto-card.centro { max-width: none; }

    .secao-topo { flex-direction: column; align-items: flex-start; }

    .institucional-foto,
    .faixa-foto {
        order: -1;
        min-height: 230px;
        height: 230px;
    }

    .institucional-texto,
    .institucional-foto { min-height: 0; }

    .institucional-texto,
    .faixa-texto { padding: 36px 20px 42px; }

    .institucional-foto img,
    .faixa-foto img {
        height: 100%;
        object-position: center center;
    }

    .faixa { min-height: 0; }

    .faixa-foto img {
        position: absolute;
        height: 160%;
        object-position: center bottom;
    }

    .institucional-foto::after,
    .faixa-foto::after {
        background: linear-gradient(180deg, rgba(17, 17, 17, 0) 58%, #111 100%);
    }

    .hero { height: 480px; }

    .spec-table { display: none; }

    .spec-table.spec-par {
        display: table;
        min-width: 0;
    }

    .grades { display: block; }

    .painel { padding: 0; border: 0; background: transparent; }

    .colas-par,
    .tego-par { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .form-linha { grid-template-columns: 1fr; }

    .cards {
        display: flex;
        grid-template-columns: none;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .cards::-webkit-scrollbar { display: none; }

    .card {
        flex: 0 0 84%;
        scroll-snap-align: start;
        height: auto;
    }

    .vitrine-controles {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        margin-top: 14px;
    }

    .vitrine-seta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        color: #1c1b19;
        cursor: pointer;
    }

    .vitrine-seta svg { width: 18px; height: 18px; display: block; }

    .vitrine-seta:hover { background: #eceae6; }
}

@media (min-width: 721px) and (max-width: 980px) {
    .cards { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    main, .card, .btn, .submenu, .nav, .nav-fundo { animation: none; transition: none; }
    body.is-leaving main { opacity: 1; transform: none; }
}
