/*
 * XBEE Capital — site.css
 * Organização: tokens · base · layout · componentes (reveal, button, nav, lang-switcher, cta, footer) · utilitários ·
 * vídeo de fundo · globo · text-reveal · abas · página home (hero, globo, setores, abordagem).
 * Valores portados de site-protótipo/css/xbeecapital-site.webflow.css.
 * Breakpoints: 479 · 767 · 991 · 1280 · 1920.
 */

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
    --gold: #AA9568;
    --gold-dark: #7C7058;
    --gold-light: #DACAA7;
    --gold-pale: #E9E1D0;
    --accent: #2DB4CC;
    --accent-dark: #0A7285; /* texto em ciano sobre fundo claro (contraste AA ≥ 4,5:1) */
    --ink: #051215;
    --ink-2: #1D5963;
    --muted: #585858;
    --white: #FFFFFF;

    --text: #333333;
    --text-strong: #222222;
    --surface-dark: #012122;
    --line: rgba(0, 0, 0, 0.1);
    --line-strong: rgba(0, 0, 0, 0.2);

    --font: "Clarity City", sans-serif;
    --container: 100rem;
    --gutter: 5%;
    --radius: 0.5rem;
    --ease-reveal: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html.nav-open {
    overflow: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--white);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    line-height: 20px;
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 10px;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin: 0 0 10px;
}

a {
    color: inherit;
    text-decoration: inherit;
}

img,
svg,
video {
    max-width: 100%;
    vertical-align: middle;
}

img {
    display: inline-block;
}

button {
    font: inherit;
    color: inherit;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

address {
    font-style: normal;
}

/* Anel de foco (WCAG 1.4.11, ≥ 3:1): ciano escuro nas superfícies claras; ciano claro sobre o hero escuro. */
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 2px;
}

.hero :where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
    outline-color: var(--accent);
}

.hero .contact__card :where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
    outline-color: var(--accent-dark);
}

.main:focus {
    outline: none;
}

/* ==========================================================================
   Layout
   ========================================================================== */

/* .padding-global (5%) + .container-large (100rem) do protótipo, num elemento só. */
.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}

.section {
    padding-block: 6rem;
}

@media screen and (max-width: 767px) {
    .section {
        padding-block: 4rem;
    }
}

/* ==========================================================================
   Componente: cortina de entrada (reveal)
   ========================================================================== */

.page-reveal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    overflow: hidden;
    pointer-events: none;
}

.js:not(.no-reveal) .page-reveal {
    display: flex;
}

.page-reveal__column {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    background: var(--gold);
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
    animation: reveal-column 500ms var(--ease-reveal) forwards;
    animation-delay: calc(var(--index) * 25ms);
}

@keyframes reveal-column {
    from {
        transform: scaleX(1.02);
    }

    to {
        transform: scaleX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-reveal {
        display: none !important;
    }
}

/* ==========================================================================
   Componente: botões
   ========================================================================== */

.btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.625rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn__icon {
    flex: none;
    width: auto;
    max-width: none;
    height: 2rem;
}

.btn__label {
    font-size: 1rem;
    line-height: 1;
}

.btn--primary {
    padding: 0.25rem 0.25rem 0.25rem 0.5rem;
    border-color: var(--line);
    background-color: var(--surface-dark);
    color: var(--white);
}

.btn--primary:hover {
    border-color: var(--gold-light);
    background-color: #3F3829;
}

.btn--secondary {
    padding: 0.25rem 0.25rem 0.25rem 1rem;
    border-color: #D4DFDE;
    background-color: var(--white);
    color: #000000;
}

.btn--secondary:hover {
    background-color: #E2E2E2;
}

.btn--contact {
    padding: 0.25rem 1rem 0.25rem 0.5rem;
    border-color: var(--line);
    background-color: var(--white);
    color: #5F5B52;
}

.btn--contact:hover,
.btn--contact[aria-current="page"] {
    background-color: #EBE9E2;
    color: var(--surface-dark);
}

/* Seta em caixa dourada; a segunda seta entra pela esquerda no hover. */
.btn__arrow {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
    border-radius: 4px;
    background-color: var(--gold-dark);
    color: var(--white);
}

.btn__arrow svg {
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    transition: transform 0.35s ease;
}

.btn__arrow svg + svg {
    position: absolute;
    top: 10px;
    left: 10px;
    transform: translateX(-200%);
}

.btn:hover .btn__arrow svg:first-child {
    transform: translateX(200%);
}

.btn:hover .btn__arrow svg + svg {
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .btn__arrow svg {
        transition: none;
    }
}

@media screen and (max-width: 479px) {
    .btn--primary,
    .btn--secondary,
    .btn--contact {
        padding-left: 0.8rem;
    }

    .btn__icon {
        height: 1.8rem;
    }

    .btn__label {
        font-size: 0.9rem;
        letter-spacing: 0;
    }
}

/* ==========================================================================
   Componente: navegação
   ========================================================================== */

.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line-strong);
    background-color: var(--white);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 4rem;
    padding-left: 2rem;
}

.nav__logo {
    display: inline-flex;
    flex: none;
}

.nav__logo-img {
    width: auto;
    height: 2.2rem;
}

.nav__content {
    display: flex;
    align-self: stretch;
    align-items: stretch;
}

.nav__menu {
    display: flex;
    align-items: center;
    padding-right: 1rem;
}

.nav__link {
    padding: 0.5rem 1rem;
    color: var(--text-strong);
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
    color: #000000;
}

.nav__divider {
    display: none;
    width: 100%;
    height: 1px;
    background-color: var(--line);
}

.nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    margin: 0 1rem 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav__toggle-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: -0.5rem;
}

.nav__toggle-icon span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle-icon span + span {
    margin-top: 6px;
}

.nav.is-open .nav__toggle-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav.is-open .nav__toggle-icon span:nth-child(2) {
    opacity: 0;
}

.nav.is-open .nav__toggle-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media screen and (min-width: 1920px) {
    .nav__container {
        padding-top: 0.5rem;
        padding-bottom: 0.25rem;
    }

    .nav__logo-img {
        height: 2.6rem;
    }
}

@media screen and (max-width: 991px) {
    .nav__container {
        min-height: 0;
        padding: 0.5rem 0 0.5rem var(--gutter);
    }

    /* Sem JS o menu fica visível, empilhado; com JS vira o painel do botão. */
    .js .nav__menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        height: 100vh;
        height: 100dvh;
        overflow: auto;
        padding: 1rem var(--gutter) 15rem;
        border-bottom: 1px solid #000000;
        background-color: var(--white);
    }

    .js .nav.is-open .nav__menu {
        display: flex;
    }

    .js .nav__toggle {
        display: flex;
    }

    .nav__link {
        padding: 0.75rem 0;
        font-size: 1.125rem;
    }

    .nav__divider {
        display: block;
    }

    .nav__menu .btn--contact {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 479px) {
    .nav__container {
        padding-top: 0;
        padding-bottom: 0;
    }

    .nav__logo-img {
        height: 2rem;
    }

    .nav__toggle-icon {
        width: 43px;
        height: 57px;
    }
}

/* ==========================================================================
   Componente: seletor de idioma (<details>)
   ========================================================================== */

.lang-switcher {
    position: relative;
    display: flex;
}

.lang-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    margin-right: 1rem;
    padding: 1rem;
    border-left: 1px solid var(--line);
    background-color: var(--white);
    color: var(--text-strong);
    font-weight: 600;
    list-style: none;
    cursor: pointer;
    transition: background-color 0.325s;
}

.lang-switcher__toggle::-webkit-details-marker {
    display: none;
}

.lang-switcher__toggle:hover,
.lang-switcher[open] .lang-switcher__toggle {
    background-image: linear-gradient(87deg, #D8D8D8, var(--white));
}

.lang-switcher__flag {
    display: block;
    width: 2rem;
    height: 2rem;
}

.lang-switcher__item-flag {
    flex: none;
    width: 1.3rem;
    height: 1.3rem;
}

/* Idioma criado no painel sem bandeira enviada: a sigla no lugar da imagem. */
.lang-switcher__flag--text,
.lang-switcher__item-flag--text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--gold-pale);
    color: var(--ink);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

.lang-switcher__item-flag--text {
    font-size: 0.55rem;
}

.lang-switcher__list {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    background-color: var(--white);
    box-shadow: inset 0 2px 5px var(--line-strong), 0 8px 16px var(--line);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.lang-switcher__list li + li {
    border-top: 1px solid var(--line);
}

.lang-switcher__link {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 210px;
    padding: 14px 20px;
    color: #292929;
    font-weight: 400;
    text-decoration: none;
}

.lang-switcher__link:hover,
.lang-switcher__link[aria-current="true"] {
    color: #000000;
}

.lang-switcher__link[aria-current="true"] {
    font-weight: 600;
}

@media screen and (max-width: 991px) {
    .lang-switcher__toggle {
        margin-right: 0;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        border-right: 1px solid #C9C9C9;
    }

    .lang-switcher__list {
        right: 0;
        border-radius: 0;
    }

    .lang-switcher__link {
        width: 140px;
    }
}

@media screen and (max-width: 767px) {
    .lang-switcher__toggle {
        padding-left: 0.5rem;
        border-left-style: none;
    }
}

@media screen and (max-width: 479px) {
    .lang-switcher__toggle {
        padding: 0.5rem;
    }
}

/* ==========================================================================
   Componente: CTA
   ========================================================================== */

.cta {
    position: relative;
    width: 100%;
    margin-top: 8rem;
}

.cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-block: 4rem;
    border-radius: 8px;
    background-image: url("../img/cta-globe.jpg");
    background-image: image-set(url("../img/cta-globe.webp") type("image/webp"), url("../img/cta-globe.jpg") type("image/jpeg"));
    /* Tamanho explícito = o do protótipo (arte de 1847×654), sem depender do arquivo servido. */
    background-position: 50% 50%;
    background-size: 1847px 654px;
    background-repeat: no-repeat;
    text-align: center;
    text-wrap: balance;
}

.cta__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 17px;
    width: 60%;
    padding-bottom: 29px;
}

.cta__title {
    margin: 0;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.cta__text {
    margin: 0;
    font-size: 1.125rem;
    line-height: 160%;
}

@media screen and (max-width: 991px) {
    .cta__title {
        font-size: 2.75rem;
    }
}

@media screen and (max-width: 767px) {
    .cta__inner {
        padding-block: 2rem;
    }

    .cta__content {
        width: 90%;
    }

    .cta__title {
        font-size: 2.25rem;
    }
}

@media screen and (max-width: 479px) {
    .cta {
        margin-top: 4rem;
    }

    .cta__content {
        width: 80%;
    }

    .cta__title {
        font-size: 2.1rem;
    }
}

/* ==========================================================================
   Componente: rodapé
   ========================================================================== */

.footer {
    position: relative;
    z-index: 50;
    width: 100%;
    margin-top: 4rem;
    overflow: hidden;
}

.footer__main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem 4rem;
    align-items: center;
    padding-block: 3rem;
    border-top: 1px solid var(--line);
}

.footer__logo img {
    width: auto;
    height: 2.2rem;
}

.footer__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
}

.footer__contact .footer__list {
    flex-direction: column;
    gap: 0.5rem;
}

.footer__link {
    color: var(--text-strong);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__nav .footer__link {
    text-transform: uppercase;
}

.footer__link:hover {
    color: var(--gold-dark);
}

.footer__address {
    color: var(--muted);
}

/* Arte decorativa: marca XBEE em largura total e retrato ancorado à direita (oculto no mobile). */
.footer__art {
    position: relative;
}

.footer__mark {
    display: block;
    width: 100%;
    height: auto;
    padding-top: 12rem;
}

.footer__portrait {
    position: absolute;
    right: 16%;
    bottom: 0;
    z-index: 70;
    width: auto;
    max-width: none;
    height: 100%;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 10px;
    background-color: var(--gold-pale);
    color: var(--muted);
}

.footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 0.25rem;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
}

.footer__copyright,
.footer__credits {
    margin: 0;
}

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

.footer__studio {
    width: auto;
    height: 0.8rem;
}

@media screen and (min-width: 1280px) {
    .footer {
        background-color: #F5F5F5;
    }
}

@media screen and (min-width: 1920px) {
    .footer {
        margin-top: 8rem;
        background-color: var(--white);
    }
}

@media screen and (max-width: 991px) {
    .footer {
        margin-top: 0;
    }

    .footer__main {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 767px) {
    .footer__bottom {
        font-size: 12px;
    }

    .footer__portrait {
        display: none;
    }

    .footer__mark {
        padding-top: 4rem;
    }
}

@media screen and (max-width: 479px) {
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__copyright {
        width: 50%;
    }

    .footer__studio {
        height: 0.6rem;
    }
}

/* ==========================================================================
   Utilitários
   ========================================================================== */

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    background-color: var(--surface-dark);
    color: var(--white);
    font-weight: 500;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow {
    color: var(--gold-dark);
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
}

@media screen and (max-width: 991px) {
    .hide-tablet {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    .hide-mobile-landscape {
        display: none !important;
    }
}

@media screen and (max-width: 479px) {
    .hide-mobile {
        display: none !important;
    }
}

/* ==========================================================================
   Componente: vídeo de fundo
   ========================================================================== */

.video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.video-bg__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-bg__toggle {
    position: absolute;
    right: var(--gutter);
    bottom: 1rem;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--white);
    border-radius: 50%;
    background: rgb(0 0 0 / 0.45);
    cursor: pointer;
}

.video-bg__toggle:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.video-bg__icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0.9rem;
    height: 0.9rem;
    border-inline: 0.3rem solid var(--white);
}

.video-bg__toggle[aria-pressed="true"] .video-bg__icon {
    width: 0;
    height: 0;
    border-inline: 0;
    border-block: 0.5rem solid transparent;
    border-left: 0.8rem solid var(--white);
    margin-left: 0.9rem;
}

/* ==========================================================================
   Componente: globo (canvas desenhado por globe.js)
   ========================================================================== */

.globe {
    position: relative;
    width: 100%;
    max-width: 760px;
    aspect-ratio: 1;
    margin: auto;
    overflow: hidden;
    background: var(--white);
}

.globe canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: pan-y;
}

.globe canvas:active {
    cursor: grabbing;
}

/* ==========================================================================
   Componente: text-reveal (palavras escurecem no scroll; spans criados por text-reveal.js)
   ========================================================================== */

/* Cinza inicial com contraste ≥ 3:1 (texto grande) — o protótipo usava #D3D3D3 (1,5:1). */
.text-reveal__word {
    color: #8C8C8C;
    transition: color 0.18s linear;
}

.text-reveal__word.is-active {
    color: #091619;
}

@media (prefers-reduced-motion: reduce) {
    .text-reveal__word {
        transition: none;
    }
}

/* ==========================================================================
   Componente: títulos e textos de seção
   ========================================================================== */

.section-title {
    margin: 0 0 10px;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.text-large {
    font-size: 20px;
    line-height: 160%;
}

.link-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 2em;
    color: var(--accent-dark);
    font-weight: 500;
    text-transform: uppercase;
}

@media screen and (max-width: 991px) {
    .section-title {
        font-size: 2.75rem;
    }

    .text-large {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 767px) {
    .section-title {
        font-size: 2.25rem;
    }

    .link-more {
        padding-top: 1em;
    }
}

@media screen and (max-width: 479px) {
    .section-title {
        font-size: 2.1rem;
    }

    .text-large {
        font-size: 15px;
        line-height: 150%;
    }
}

/* ==========================================================================
   Página: home — hero
   ========================================================================== */

.hero {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 90vh;
    overflow: hidden;
    background-color: #000000;
    color: var(--white);
}

/* Camada escura sobre o vídeo (dentro do .video-bg, abaixo do botão de pausa). */
.hero .video-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: rgb(0 0 0 / 0.5);
    pointer-events: none;
}

/* O conteúdo cobre o hero; só os links recebem clique, para o botão de pausa continuar acessível. */
.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 57px;
    min-height: 90vh;
    padding-block: 4rem;
    pointer-events: none;
}

.hero__content a {
    pointer-events: auto;
}

.hero__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    width: 60%;
    text-wrap: balance;
}

.hero__title {
    margin: 0;
    color: var(--white);
    font-size: 5.1rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.1rem;
    text-align: left;
}

.hero__footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 16px;
}

.hero__explore {
    display: flex;
    align-items: center;
    justify-self: start;
    gap: 8px;
    /* 0.85: contraste AA (≥ 4.5:1) mesmo no quadro mais claro do vídeo sob o overlay de 50%. */
    color: rgb(255 255 255 / 0.85);
    text-decoration: none;
}

.hero__explore:hover {
    color: var(--white);
    text-decoration: underline;
}

.hero__explore-icon {
    width: 2rem;
    height: 2rem;
}

.hero__explore-label {
    font-weight: 700;
}

.hero__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.hero__subtitle {
    margin: 20px 0 10px;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
}

@media screen and (min-width: 1280px) {
    .hero__title {
        font-size: 4.4rem;
    }
}

@media screen and (min-width: 1920px) {
    .hero .video-bg::after {
        background-color: transparent;
        background-image: linear-gradient(rgb(0 0 0 / 0.34), rgb(0 0 0 / 0.66) 80%);
    }

    .hero__title {
        font-size: 6rem;
    }
}

@media screen and (max-width: 991px) {
    .hero__content {
        padding-bottom: 2rem;
        text-wrap: balance;
    }

    .hero__title {
        font-size: 3rem;
        font-weight: 500;
    }
}

@media screen and (max-width: 767px) {
    .hero__content {
        gap: 35px;
    }

    .hero__title {
        letter-spacing: 0;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 479px) {
    .hero__content {
        gap: 10px;
        min-height: 80vh;
        padding-top: 0;
    }

    .hero__heading {
        width: 100%;
    }

    .hero__title {
        margin-top: 10px;
        font-size: 2.6rem;
        line-height: 1.2;
        letter-spacing: -0.09rem;
    }

    .hero__footer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__explore-label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .hero__aside {
        align-items: flex-start;
        text-align: left;
    }
}

/* ==========================================================================
   Página: home — globo + texto
   ========================================================================== */

.globe-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem 5rem;
    padding-block: 6rem;
}

.globe-section .text-reveal {
    margin: 0 0 1.5rem;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 115%;
    letter-spacing: -1px;
    text-wrap: balance;
}

@media screen and (min-width: 1920px) {
    .globe-section__grid {
        padding-top: 10rem;
        padding-bottom: 4rem;
    }

    .globe-section .text-reveal {
        font-size: 2.7rem;
        line-height: 140%;
    }
}

@media screen and (max-width: 991px) {
    .globe-section__grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
}

@media screen and (max-width: 767px) {
    .globe-section__grid {
        row-gap: 3rem;
    }

    .globe-section__content {
        order: -1;
    }
}

@media screen and (max-width: 479px) {
    .globe-section__media {
        order: -1;
    }
}

/* ==========================================================================
   Página: home — setores
   ========================================================================== */

.sectors-home {
    padding-top: 4rem;
    background-color: #F7F7F7;
}

.sectors-home > .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 46px;
}

.sectors-home__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 5rem;
    width: 100%;
    padding-bottom: 2rem;
    text-wrap: balance;
}

.sector-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 100%;
}

.sector-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
    background-color: #F0F0F0;
    transition: background-color 0.25s ease;
}

.sector-card:hover {
    background-color: #E9E9E9;
}

/* O vídeo fica acima do link esticado só para o botão de pausa receber clique. */
.sector-card__media {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    pointer-events: none;
}

.sector-card__media .video-bg__toggle {
    pointer-events: auto;
}

.sector-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sector-card__link {
    display: flex;
    flex: 1;
    width: 100%;
    text-decoration: none;
}

/* Link esticado: o card inteiro é clicável. */
.sector-card__link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.sector-card__link:focus-visible {
    outline: none;
}

.sector-card__link:focus-visible::after {
    outline: 2px solid var(--accent-dark);
    outline-offset: 2px;
}

.sector-card__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 2rem 2rem 1rem;
}

.sector-card__title {
    margin: 0 0 10px;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.sector-card__text {
    margin: 0 0 10px;
}

@media screen and (max-width: 991px) {
    .sector-grid {
        grid-template-columns: 1fr;
    }

    .sector-card__title {
        font-size: 2.25rem;
    }
}

@media screen and (max-width: 767px) {
    .sectors-home {
        padding-bottom: 4rem;
    }

    .sectors-home__intro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sector-grid {
        gap: 1rem;
    }

    .sector-card__title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 479px) {
    .sectors-home {
        padding-block: 1rem;
    }

    .sectors-home > .container {
        gap: 0;
    }

    .sectors-home__intro {
        padding-bottom: 0;
    }

    .sector-card__body {
        padding-top: 0;
        padding-left: 1rem;
    }

    .sector-card__title {
        font-size: 1.7rem;
    }
}

/* ==========================================================================
   Página: home — abordagem (abas)
   ========================================================================== */

.approach {
    padding-top: 4rem;
}

.approach__intro {
    width: 100%;
    max-width: 48rem;
    margin-bottom: 5rem;
}

.approach__intro .section-title {
    margin-bottom: 1.5rem;
}

.approach__lead {
    margin: 0;
    color: var(--muted);
    font-size: 1.125rem;
    line-height: 160%;
}

.approach__component {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem 5rem;
}

.approach__tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem 1rem;
}

.approach__tab {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 0 0 2rem;
    border: 0;
    border-left: 2px solid transparent;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.25s ease;
}

.approach__tab[aria-selected="true"] {
    border-left-color: var(--gold);
}

.approach__tab-title {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.3;
}

.approach__tab-text {
    display: block;
    color: var(--muted);
}

.approach__panel {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.approach__panel[hidden] {
    display: none;
}

.approach__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (min-width: 1920px) {
    .approach__intro,
    .approach__lead {
        text-wrap: balance;
    }
}

@media screen and (max-width: 991px) {
    .approach__intro {
        margin-bottom: 4.5rem;
    }

    .approach__component {
        column-gap: 3rem;
    }

    .approach__tab-title {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 767px) {
    .approach {
        padding-top: 0;
    }

    .approach__intro {
        margin-bottom: 3rem;
    }

    .approach__lead {
        font-size: 1rem;
    }

    .approach__component {
        grid-template-columns: 1fr;
        gap: 3rem 0;
    }

    .approach__tabs {
        row-gap: 1rem;
    }

    .approach__tab-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }
}

@media screen and (max-width: 479px) {
    .approach__intro {
        margin-bottom: 1rem;
    }

    .approach__tab {
        padding-left: 1rem;
    }
}

/* ==========================================================================
   Página: home — localizações globais (cards + globo que voa até o escritório)
   ========================================================================== */

.offices {
    padding-block: 7rem;
    background-color: var(--white);
}

.offices__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 4rem;
}

.offices__intro {
    max-width: 44rem;
    margin-bottom: 3.5rem;
    text-wrap: balance;
}

.offices__intro .text-large {
    margin: 0;
    color: var(--muted);
}

.office-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.office-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-bottom: 1px solid var(--line);
}

/* Traço que cresce sob o card selecionado. */
.office-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background-color: var(--accent-dark);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.7s var(--ease-reveal);
}

.office-card.is-active::after {
    transform: scaleX(1);
}

.office-card__media {
    aspect-ratio: 16 / 9;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background-color: #F0F0F0;
}

.office-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-reveal);
}

.office-card.is-active .office-card__image {
    transform: scale(1.04);
}

.office-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1.5rem;
}

.office-card__select {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.office-card__select:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 4px;
}

.office-card__region {
    color: var(--gold-dark);
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.office-card__name {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 2rem;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.office-card__name::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--accent);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.office-card.is-active .office-card__name {
    color: var(--accent-dark);
}

.office-card.is-active .office-card__name::after {
    transform: scale(1);
}

.office-card__address {
    margin: 1rem 0 1.25rem;
    color: var(--muted);
    font-style: normal;
    line-height: 1.6;
}

.office-card__map {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    color: var(--accent-dark);
    font-weight: 500;
    text-decoration: none;
    text-underline-offset: 6px;
}

.office-card__map svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.office-card__map:hover,
.office-card__map:focus-visible {
    text-decoration: underline;
}

.office-card__map:hover svg {
    transform: translate(2px, -2px);
}

.offices__aside {
    align-self: stretch;
}

.offices__sticky {
    position: sticky;
    top: calc(var(--offices-sticky-top, 66px) + 2rem);
}

.offices-globe {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    cursor: grab;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.offices-globe.is-dragging {
    cursor: grabbing;
}

.offices-globe.is-pointing {
    cursor: pointer;
}

.offices-globe canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.offices-panel {
    min-height: 7.75rem;
    margin-top: 1.5rem;
    padding: 0.25rem 0 0.25rem 1.25rem;
    border-left: 1px solid var(--line-strong);
}

.offices-panel p {
    margin: 0;
}

.offices-panel__hint {
    color: var(--muted);
}

.offices-panel__label {
    color: var(--gold-dark);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.offices-panel__name {
    margin-top: 0.35rem !important;
    font-size: 1.5rem;
    line-height: 1.3;
}

.offices-panel__meta {
    margin-top: 0.25rem !important;
    color: var(--muted);
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.offices-panel__resume {
    margin-top: 1rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent-dark);
    font: inherit;
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 6px;
    cursor: pointer;
}

.offices-panel__resume:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 4px;
}

@media screen and (max-width: 1279px) {
    .office-card__name {
        font-size: 1.75rem;
    }
}

/* Celular e tablet: o globo fica preso no alto da seção e o card que passa pelo meio da tela é o selecionado. */
@media screen and (max-width: 991px) {
    .offices {
        padding-block: 4.5rem;
    }

    .offices__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .offices__content {
        display: contents;
    }

    .offices__intro {
        order: 1;
        margin-bottom: 1.5rem;
    }

    .offices__aside {
        order: 2;
        position: sticky;
        top: var(--offices-sticky-top, 58px);
        z-index: 3;
        align-self: start;
        margin-inline: calc(var(--gutter) * -1);
        padding: 0.5rem var(--gutter) 1rem;
        background: linear-gradient(to bottom, var(--white) 85%, rgba(255, 255, 255, 0));
    }

    .offices__sticky {
        position: static;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 1rem;
    }

    .offices-globe {
        order: 2;
        width: min(36vh, 44vw);
    }

    .offices-panel {
        order: 1;
        min-height: 0;
        margin-top: 0;
    }

    .offices-panel__name {
        font-size: 1.25rem;
    }

    .offices-panel__resume {
        display: none;
    }

    .office-list {
        order: 3;
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
        margin-top: 1rem;
    }
}

@media screen and (max-width: 479px) {
    .offices-globe {
        width: min(30vh, 46vw);
    }

    .offices-panel {
        padding-left: 0.85rem;
    }

    .offices-panel__hint,
    .offices-panel__meta {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .office-card::after,
    .office-card__image,
    .office-card__name,
    .office-card__name::after,
    .office-card__map svg {
        transition: none;
    }
}

/* ==========================================================================
   Páginas: sobre, atuação e privacidade
   ========================================================================== */

.eyebrow--strong {
    font-weight: 700;
}

.eyebrow--light {
    color: var(--gold-light);
}

p.eyebrow {
    margin: 0 0 0.75rem;
}

.page-header {
    padding-top: 9rem;
}

.page-header__title {
    max-width: 22ch;
    margin: 0 0 1.5rem;
    font-size: 4.4rem;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.1rem;
    text-wrap: balance;
}

.page-header__text {
    max-width: 48rem;
    margin: 0;
    color: var(--muted);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
}

.hero--page .hero__heading {
    align-items: flex-start;
    justify-content: flex-end;
    flex: 1;
    width: 70%;
}

.split-section {
    padding-block: 5rem;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem 5rem;
}

.split--reverse .split__content {
    order: 2;
}

.split__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.split__content .eyebrow,
.split__content .text-large {
    margin: 0;
}

.split__title {
    margin: 0;
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.2;
    text-wrap: balance;
}

.split__content .btn {
    margin-top: 1rem;
}

.split__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background-color: var(--surface-dark);
}

.split__media .video-bg,
.split__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steps-section {
    padding-block: 5rem 6rem;
    background-color: #F7F7F7;
}

.steps-section__intro {
    max-width: 48rem;
    margin-bottom: 3.5rem;
}

.steps-section__intro .text-large {
    margin: 0;
    color: var(--muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps__media {
    aspect-ratio: 1;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: var(--radius);
}

.steps__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steps__number {
    color: var(--gold-dark);
    font-weight: 600;
}

.steps__title {
    margin: 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 500;
}

.steps__text {
    margin: 0;
    color: var(--muted);
    line-height: 160%;
}

.prose {
    max-width: 52rem;
    padding-top: 5rem;
    line-height: 165%;
}

.prose h2,
.prose h3 {
    margin: 2.5rem 0 0.75rem;
    font-weight: 600;
}

.prose a {
    color: var(--accent-dark);
    text-decoration: underline;
}

@media screen and (max-width: 991px) {
    .page-header__title {
        font-size: 3rem;
    }

    .split,
    .steps {
        grid-template-columns: 1fr;
    }

    .split--reverse .split__content {
        order: 0;
    }

    .split-section {
        padding-block: 3rem;
    }
}

@media screen and (max-width: 479px) {
    .page-header {
        padding-top: 6rem;
    }

    .page-header__title {
        font-size: 2.4rem;
        letter-spacing: -0.05rem;
    }

    .page-header__text {
        font-size: 1.25rem;
    }

    .hero--page .hero__heading {
        width: 100%;
    }

    .split__title {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   Páginas: projetos (lista e detalhe)
   ========================================================================== */

.hero--compact,
.hero--compact .hero__content {
    min-height: 60vh;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    background-color: var(--surface-dark);
    color: var(--gold-light);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.projects-section {
    padding-block: 4rem 6rem;
}

.filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter__item {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    color: var(--text-strong);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
}

.filter__item:hover,
.filter__item[aria-current="true"] {
    border-color: var(--surface-dark);
    background-color: var(--surface-dark);
    color: var(--white);
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem 5rem;
}

.project-card--reverse .project-card__media {
    order: 2;
}

.project-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background-color: var(--surface-dark);
}

.project-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card__media .tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.project-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.project-card__title {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    text-wrap: balance;
}

.project-card__title a {
    color: inherit;
    text-decoration: none;
}

.project-card__text {
    margin: 0;
    color: var(--muted);
    font-size: 1.25rem;
    line-height: 1.6;
}

.projects-empty {
    margin: 0;
    padding-block: 3rem;
    color: var(--muted);
}

.hero--project .hero__heading {
    justify-content: flex-end;
    flex: 1;
    align-items: flex-start;
    width: 70%;
}

.hero--project .hero__subtitle {
    max-width: 48rem;
    text-align: left;
}

.hero__cover {
    position: absolute;
    inset: 0;
}

.hero__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgb(0 0 0 / 0.5);
}

.hero__cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag--static {
    border: 1px solid var(--gold-light);
}

.project-detail {
    padding-block: 4rem 6rem;
}

.project-detail__meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 0 0 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line-strong);
}

.project-detail__meta dt {
    margin-bottom: 0.5rem;
    color: var(--gold-dark);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.project-detail__meta dd {
    margin: 0;
    color: var(--text-strong);
    font-size: 1.25rem;
    font-weight: 500;
}

.project-detail__body {
    max-width: 52rem;
    font-size: 1.25rem;
    line-height: 1.6;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.project-gallery__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    object-fit: cover;
}

.project-detail__back {
    margin-top: 3rem;
}

@media screen and (max-width: 991px) {
    .project-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-card--reverse .project-card__media {
        order: 0;
    }

    .project-list {
        gap: 3rem;
    }

    .project-detail__meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero--project .hero__heading {
        width: 100%;
    }
}

@media screen and (max-width: 479px) {
    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-card__title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Página: contato — formulário, campos e checkboxes
   ========================================================================== */

.hero--contact,
.hero--contact .hero__content {
    min-height: 100vh;
}

.hero--contact .hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 33rem);
    align-items: center;
    gap: 3rem 5rem;
    padding-block: 8rem 4rem;
}

.contact__intro {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-wrap: balance;
}

.contact__intro .hero__subtitle {
    margin: 0;
}

.contact__card {
    padding: 2rem;
    border-radius: var(--radius);
    background-color: var(--white);
    color: var(--text);
    pointer-events: auto;
}

.contact__card-title {
    margin: 0 0 0.5rem;
    color: var(--text-strong);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.contact__card-text {
    margin: 0 0 1.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 150%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.field__label,
.field__legend {
    padding: 0;
    color: var(--text-strong);
    font-size: 0.875rem;
    font-weight: 500;
}

.field__input {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background-color: var(--white);
    color: var(--text-strong);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.field__input:hover {
    border-color: var(--gold);
}

.field__input[aria-invalid="true"] {
    border-color: #b3261e;
}

.field__input--area {
    min-height: 6.5rem;
    resize: vertical;
}

.field__error {
    margin: 0;
    color: #b3261e;
    font-size: 0.85rem;
    line-height: 140%;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1rem;
}

.check {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 140%;
}

/* O input nativo fica visualmente oculto, mas continua focável e operável por teclado. */
.check__input {
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.check__box {
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid var(--gold-dark);
    border-radius: 0.25rem;
    background-color: var(--white);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 0.8rem;
    transition: background-color 0.2s ease;
}

.check__input:checked + .check__box {
    background-color: var(--gold-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.5'/%3E%3C/svg%3E");
}

.check__input:focus-visible + .check__box {
    outline: 2px solid var(--accent-dark);
    outline-offset: 2px;
}

.check__input[aria-invalid="true"] + .check__box {
    border-color: #b3261e;
}

.check--consent {
    font-size: 0.85rem;
    color: var(--muted);
}

.contact-form__link {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* Honeypot: fora da tela, nunca display:none (bots ignoram campos escondidos assim). */
.contact-form__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Botão de envio em largura total como no protótipo (e alvo de toque ≥ 44px). */
.contact-form__submit {
    justify-content: center;
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border: 0;
    font-weight: 600;
    cursor: pointer;
}

.contact-form__submit:disabled {
    opacity: 0.7;
    cursor: progress;
}

.contact-form__alert {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    background-color: #fdecea;
    color: #7a1a14;
    font-size: 0.9rem;
}

.contact-form__status {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem;
    border-radius: var(--radius);
    background-color: var(--gold-pale);
    color: var(--text-strong);
    line-height: 150%;
}

.error-page {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    min-height: 50vh;
    padding-top: 10rem;
}

@media screen and (max-width: 991px) {
    .hero--contact .hero__content {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 7rem;
    }
}

@media screen and (max-width: 479px) {
    .contact__card {
        padding: 1.25rem;
    }

    .check-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Página livre criada no painel: imagem de destaque entre o topo e o texto. */
.page-custom__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}
