/* ===== VERCCI — Estilos Gerais ===== */


/* ----- Fundo contínuo da página (ver verci-design-system.md seção 3) -----
   Usa um elemento position:fixed em vez de background-attachment:fixed:
   attachment:fixed força repaint do fundo a cada frame de scroll (trava a
   rolagem, principalmente com o Lenis); um layer fixed é só compositado. */
body {
    background-color: var(--wt-bg);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-color: var(--wt-bg);
    background-image:
        /* halo dourado na base da tela */
        radial-gradient(120% 80% at 50% 100%, rgba(180,143,85,0.16) 0%, rgba(180,143,85,0.05) 32%, rgba(8,11,17,0) 70%),
        /* escurecimento no topo — invertido junto com o halo, senão brigaria com ele */
        linear-gradient(0deg, rgba(8,11,17,0) 60%, rgba(5,7,11,0.9) 100%),
        url('../images/noise.png');
    background-repeat: no-repeat, no-repeat, repeat;
    background-size: auto, auto, 180px 180px;
    background-blend-mode: normal, normal, overlay;
}

.wt-container {
    max-width: var(--wt-container-width);
    margin-inline: auto;
    padding-inline: var(--wt-container-gutter);
}

/* ----- Animações de entrada (fade + subida curta) -----
   Por animation, não por transition: .wt-card e .wt-obra declaram transition
   própria com a mesma especificidade (0,1,0) e, por virem depois na cascata,
   substituíam a lista inteira — o opacity/transform daqui era descartado e o
   card entrava seco, sem animação. Como animation é outra propriedade, os dois
   convivem: o card mantém o hover de fundo/borda e o reveal mantém a entrada. */
[data-reveal] {
    opacity: 0;
}

[data-reveal].is-visible {
    /* both: durante o atraso do stagger o elemento segura o estado inicial */
    animation: wt-reveal 700ms ease-in-out both;
}

@keyframes wt-reveal {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; }
    [data-reveal].is-visible { animation: none; }
}


/* ============ BOTÕES ============ */
.wt-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    /* 4px: "a arquitetura pede aresta, não bolha" (design system seção 4) */
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: background-color 180ms ease-in-out, border-color 180ms ease-in-out, color 180ms ease-in-out;
}

.wt-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.wt-btn--primary {
    background: var(--wt-gold-btn);
    color: var(--wt-text-on-gold);
    border: 1px solid var(--wt-gold-btn);
}

.wt-btn--primary:hover {
    background: var(--wt-gold-btn-hover);
    border-color: var(--wt-gold-btn-hover);
}

.wt-btn--outline {
    background: transparent;
    color: var(--wt-text-primary);
    border: 1px solid #FFFFFF;
}

.wt-btn--outline:hover {
    border-color: var(--wt-gold-btn);
    color: var(--wt-gold-btn);
}

/* No mobile o botão ocupa a linha inteira. A hero é a exceção e sobrescreve
   isso mais adiante, para os dois CTAs dividirem a largura. */
@media (max-width: 600px) {
    .wt-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============ HERO ============
   Slideshow ocupa a tela inteira como fundo; o conteúdo fica centralizado por
   cima, sobre um véu escuro. */
.wt-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh; /* evita o corte pela barra do navegador no mobile */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Padding curto de propósito: o conteúdo já é centrado pelo justify-content
       e a seção tem 100svh de altura mínima. Com os 128px das demais seções, o
       bloco passava de 830px e jogava os CTAs para fora da primeira tela. */
    padding-block: var(--wt-space-5);
    /* espaço para a seta de rolagem não encostar no conteúdo */
    padding-bottom: calc(var(--wt-space-5) + 48px);
    overflow: clip;
    isolation: isolate;
}

/* ----- Fundo ----- */
.wt-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.wt-hero__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* fade bem menor que o intervalo de 3s, senão a imagem nunca assenta */
    transition: opacity 1000ms ease-in-out;
}

.wt-hero__bg img.is-active { opacity: 1; }

/* Véu escuro: precisa segurar o texto branco sobre qualquer um dos quatro
   slides, então é generoso nas bordas e mais leve no centro, onde a foto
   aparece. Sem ele o contraste dependeria de qual imagem está no ar. */
.wt-hero__veu {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(0deg, rgba(8, 11, 17, 0.92) 0%, rgba(8, 11, 17, 0.5) 45%, rgba(8, 11, 17, 0.8) 100%),
        radial-gradient(75% 60% at 50% 50%, rgba(8, 11, 17, 0.3) 0%, rgba(8, 11, 17, 0.68) 100%);
}

/* ----- Conteúdo ----- */
.wt-hero__inner { width: 100%; }

.wt-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--wt-space-3);
}

/* Logo do site — vive no Hero (context.md seção 4.2), não há header/nav */
.wt-hero__logo {
    display: block;
    margin-bottom: var(--wt-space-1);
}

.wt-hero__logo img {
    height: 72px;
    width: auto;
}

.wt-hero__title {
    font-size: clamp(1.75rem, 3.2vw, 3rem);
    /* 500 é o teto: a Inter Tight é carregada na faixa 300–500 e acima disso o
       navegador engorda a fonte por conta própria (faux bold), que borra o
       traço. O design system §1 também para em 500. */
    font-weight: 500;
    /* mais respiro que o 1.05 global: o H1 aqui tem várias linhas */
    line-height: 1.25;
    max-width: 26ch;
}

.wt-hero__desc {
    margin-top: var(--wt-space-1);
    max-width: 40ch;
}

.wt-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--wt-space-2);
    margin-top: var(--wt-space-1);
}

/* ----- Seta de rolagem (sem rótulo) ----- */
.wt-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: color 180ms ease-in-out;
}

.wt-hero__scroll:hover { color: var(--wt-gold); }

.wt-hero__scroll svg {
    width: 28px;
    height: 28px;
    animation: wt-scroll-hint 2.4s ease-in-out infinite;
}

@keyframes wt-scroll-hint {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(5px); }
}

@media (prefers-reduced-motion: reduce) {
    .wt-hero__scroll svg { animation: none; }
}

@media (max-width: 600px) {
    .wt-hero { padding-block: 64px; padding-bottom: 104px; }
    .wt-hero__logo img { height: 56px; }
    .wt-hero__title { max-width: none; }
    .wt-btn { padding: 14px 22px; font-size: 0.875rem; }

    /* Os dois CTAs da hero dividem a linha em vez de empilhar. nowrap no
       container é obrigatório: com o wrap padrão o segundo botão cairia para
       baixo assim que o primeiro pedisse largura. */
    .wt-hero__actions {
        flex-wrap: nowrap;
        width: 100%;
    }

    .wt-hero__actions .wt-btn {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        /* padding menor e rótulo quebrável: em 320px sobram ~68px para o texto
           e "Fale Conosco" mede 84px — sem isso ele vazaria do botão */
        padding-inline: 16px;
        white-space: normal;
    }
}

/* ============ SEÇÕES — BASE ============ */
.wt-section {
    padding-block: var(--wt-section-pad);
}

/* Mobile: 128px entre seções vira rolagem vazia depois que tudo empilha.
   Redefinir o TOKEN (e não o padding) mantém em passo tudo que deriva dele —
   caso do `calc(var(--wt-section-pad) * 2)` do bloco Administração de Obras. */
@media (max-width: 900px) {
    :root { --wt-section-pad: 64px; }
}

/* Justificação de descrições — context.md 4.6 (serviços/sobre).
   O Hero saiu daqui: com o texto centralizado, o justify abriria rios.
   Escopado em .wt-body de propósito: pegando todo `p` do split-head, a regra
   justificava também os subtítulos em .wt-lead (ver regra logo abaixo). */
.wt-split-head__desc .wt-body,
.wt-item-card__desc {
    text-align: justify;
    /* hifenização evita os "rios" de espaço que o justify abre em coluna estreita */
    hyphens: auto;
}

/* Subtítulos do split-head ("Vantagens técnicas de…", "Na Vercci, procuramos…")
   ficam centralizados: são chamada curta, não corpo de texto — justificar uma
   frase de duas linhas só abre buraco entre as palavras. */
.wt-split-head__desc .wt-lead {
    text-align: center;
}

.wt-section__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--wt-space-2);
    text-align: center;
    max-width: 900px;
    margin-inline: auto;
    margin-bottom: var(--wt-space-5);
}

/* Fica entre duas seções, que já trazem o respiro no próprio padding — daí margin 0.
   Filete em gradiente: some nas duas pontas, cheio no centro.
   Precisa ser background (não border), senão não há como aplicar gradiente. */
.wt-divider {
    border: none;
    height: 1px;
    margin-block: 0;
    background: linear-gradient(
        90deg,
        rgba(180, 143, 85, 0) 0%,
        rgba(180, 143, 85, 0.33) 50%,
        rgba(180, 143, 85, 0) 100%
    );
}

.wt-card {
    background: var(--wt-card-bg);
    border: 1px solid var(--wt-card-border);
    border-radius: 4px;
    padding: var(--wt-card-pad);
    transition: background 180ms ease-in-out, border-color 180ms ease-in-out;
}

.wt-card:hover {
    background: var(--wt-card-bg-hover);
    border-color: var(--wt-card-border-hover);
}

/* ============ DEPOIMENTOS ============ */
.wt-depoimentos__widget {
    width: 100%;
}

.wt-reviews__cta {
    text-align: center;
    margin-top: 32px;
}

/* ===== PRÉVIA do widget Trustindex (placeholder — ver depoimentos-mockup.php) ===== */
.wt-ti__grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--wt-space-4);
    align-items: center;
}

/* ---- resumo (coluna esquerda) ---- */
.wt-ti__resumo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.wt-ti__nota-label {
    font-weight: 500;
    font-size: 1.125rem;
    letter-spacing: 0.06em;
    color: var(--wt-text-primary);
}

.wt-ti__estrelas {
    display: inline-flex;
    gap: 2px;
    color: #FBBC05;
}

.wt-ti__estrelas svg { width: 20px; height: 20px; }

.wt-ti__base {
    font-size: 0.875rem;
    color: var(--wt-text-secondary);
}

.wt-ti__base strong { color: var(--wt-text-primary); font-weight: 500; }

.wt-ti__google {
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* ---- carrossel (coluna direita) ---- */
.wt-ti__carrossel {
    position: relative;
    /* sem isso o min-width:auto do item de grid deixa o track esticar
       até caber todos os cards, vazando do container e matando o scroll */
    min-width: 0;
}

.wt-ti__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-block: 4px;
}

.wt-ti__track::-webkit-scrollbar { display: none; }

.wt-ti__card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* mais apertado que os demais cards, imitando o widget real do Trustindex */
    padding: var(--wt-space-3);
    border: 1px solid var(--wt-card-border);
    background: var(--wt-card-bg);
    border-radius: 4px;
    min-height: 210px;
}

.wt-ti__card-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wt-ti__avatar {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #fff;
}

.wt-ti__ident {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.wt-ti__ident strong {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--wt-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wt-ti__ident small { font-size: 0.75rem; color: var(--wt-text-tertiary); }

.wt-ti__g { width: 18px; height: 18px; flex-shrink: 0; }

.wt-ti__nota { display: flex; align-items: center; gap: 8px; }
.wt-ti__nota .wt-ti__estrelas svg { width: 16px; height: 16px; }
.wt-ti__check { width: 15px; height: 15px; }

.wt-ti__texto {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--wt-text-secondary);
}

.wt-ti__leia {
    font-size: 0.8125rem;
    color: var(--wt-text-tertiary);
    margin-top: auto;
}

/* ---- setas ---- */
.wt-ti__seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--wt-border-medium);
    background: var(--wt-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--wt-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 180ms ease-in-out, border-color 180ms ease-in-out;
}

.wt-ti__seta svg { width: 18px; height: 18px; }
.wt-ti__seta:hover { border-color: var(--wt-gold); }
.wt-ti__seta--prev { left: -14px; }
.wt-ti__seta--next { right: -14px; }
.wt-ti__seta.is-off { opacity: 0; pointer-events: none; }

@media (max-width: 900px) {
    .wt-ti__grid { grid-template-columns: 1fr; gap: var(--wt-space-3); }
    .wt-ti__card { flex-basis: 82%; }
    .wt-ti__seta--prev { left: -6px; }
    .wt-ti__seta--next { right: -6px; }
}

/* ============ SERVIÇOS — INTRODUÇÃO ============ */
/* ============ CABEÇALHO DIVIDIDO (título | descrição) ============
   Título à esquerda, descrição à direita, cada um em metade da largura.
   Usado na abertura de Serviços e no bloco Administração de Obras. */
.wt-split-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--wt-space-4);
    /* título e descrição assentam na mesma linha de base inferior */
    align-items: end;
    margin-bottom: var(--wt-space-6);
}

.wt-split-head__titulo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--wt-space-2);
}

.wt-split-head__desc p {
    /* ocupa a coluna inteira; os limites de 62ch/46ch encurtariam antes da metade */
    max-width: none;
}

/* O separador que antes abria esse respiro foi movido para cima da seção;
   sem isso o bloco "Administração de Obras" cola no bloco anterior.
   Dobro do padding porque na fronteira entre duas seções os dois paddings se
   somam (128 + 128) — aqui, dentro da mesma seção, só há esta margem. */
.wt-servicos-destaque + .wt-split-head {
    margin-top: calc(var(--wt-section-pad) * 2);
}

@media (max-width: 900px) {
    .wt-split-head {
        grid-template-columns: 1fr;
        gap: var(--wt-space-2);
        text-align: center;
    }

    /* empilhado, título e descrição viram um bloco só — alinhar à esquerda
       deixava o rótulo solto acima de um H2 de largura irregular */
    .wt-split-head__titulo { align-items: center; }

    /* Sem override de alinhamento aqui: as regras globais já resolvem os dois
       casos em qualquer largura — .wt-body justificado (com hyphens, que é o
       que segura os "rios" em coluna estreita) e .wt-lead centralizado. */
}

.wt-persona-list {
    display: flex;
    flex-direction: column;
    gap: var(--wt-space-3);
}

.wt-persona-card {
    display: flex;
    /* texto à esquerda, imagem à direita */
    flex-direction: row-reverse;
    align-items: stretch;
    /* sem gap: o padding de 48px do bloco de texto já cerca os 4 lados */
    gap: 0;
    background: var(--wt-card-bg);
    border: 1px solid var(--wt-card-border);
    border-radius: 4px;
    overflow: hidden;
    transition: background 180ms ease-in-out, border-color 180ms ease-in-out;
}

.wt-persona-card:hover {
    background: var(--wt-card-bg-hover);
    border-color: var(--wt-card-border-hover);
}

.wt-persona-card__media {
    position: relative;
    flex: 0 0 60%;
    /* a proporção da imagem é o que define a altura do card */
    aspect-ratio: 16 / 9;
}

.wt-persona-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wt-persona-card__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: var(--wt-space-3);
    padding: var(--wt-card-pad);
}

.wt-persona-card__content h3 {
    font-size: clamp(1.0625rem, 1.35vw, 1.375rem);
    line-height: 1.35;
}

.wt-persona-card__content .wt-btn {
    padding-inline: 48px;
}

@media (max-width: 900px) {
    .wt-persona-card {
        flex-direction: column;
    }
    .wt-persona-card__media {
        flex-basis: auto;
        /* empilhado a imagem ocupa a largura toda; 21:9 ficaria uma fresta */
        aspect-ratio: 16 / 9;
    }
    .wt-persona-card__content {
        /* padding nos quatro lados: com o topo zerado o texto encostava na
           imagem, já que empilhado não há mais a coluna lateral separando */
        padding: var(--wt-space-3);
    }
    .wt-persona-card__content h3 {
        font-size: 1.0625rem;
    }
}

/* ============ SERVIÇOS — DESTAQUES + GRID ============ */
.wt-servicos-destaque__title {
    text-align: left;
    margin-bottom: var(--wt-space-5);
}

/* No empilhado o título passa a centrar, junto com os split-heads das
   seções 3 e 3.2 — senão ele seria o único desalinhado do bloco */
@media (max-width: 900px) {
    .wt-servicos-destaque__title { text-align: center; }
}

.wt-servicos-destaque {
    display: flex;
    align-items: stretch;
    /* mesmo respiro que separa os cards entre si */
    gap: var(--wt-space-2);
}

.wt-servicos-destaque__cards {
    flex: 0 0 62%;
    display: flex;
    flex-direction: column;
    gap: var(--wt-space-2);
}

.wt-destaque-card {
    display: flex;
    flex-direction: column;
    /* stretch, e não center: com os blocos encolhidos e centrados o justify não
       teria borda direita para acertar — o texto ficaria centralizado do mesmo
       jeito. Só esticando é que as duas bordas casam. */
    align-items: stretch;
    text-align: justify;
    hyphens: auto;
}

/* Sem o teto de 62ch do .wt-body: título e descrição passam a dividir a mesma
   medida, que é o que faz as bordas do justificado alinharem entre si. */
.wt-destaque-card .wt-body {
    max-width: none;
}

.wt-destaque-card__title {
    font-size: 1.25rem;
    margin-bottom: var(--wt-space-2);
}

.wt-destaque-card__cta {
    /* o botão continua centralizado; sem isto o stretch o esticaria por
       toda a largura do card */
    align-self: center;
    padding-inline: 48px;
    margin-top: var(--wt-space-3);
}

.wt-servicos-destaque__media {
    position: relative;
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--wt-border);
    min-height: 320px;
}

.wt-servicos-destaque__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .wt-servicos-destaque {
        flex-direction: column;
    }
    .wt-servicos-destaque__cards { flex-basis: auto; }
    .wt-servicos-destaque__media { min-height: 280px; }
}

.wt-servicos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--wt-space-2);
}

/* Número à esquerda e título à direita, centrados entre si */
.wt-item-card__title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.1875rem;
    margin-bottom: var(--wt-space-2);
}

.wt-item-card__n {
    flex-shrink: 0;
    font-size: 1.875rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: var(--wt-gold);
}

@media (max-width: 768px) {
    .wt-servicos-grid { grid-template-columns: 1fr; }
}

/* ============ WHATSAPP FLUTUANTE ============ */
.wt-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    z-index: 999;
    transition: transform .2s ease;
    text-decoration: none;
}

.wt-whatsapp-float:hover { transform: scale(1.1); }
.wt-whatsapp-float svg { width: 30px; height: 30px; }

/* ============ ÍCONES ============
   Lucide outline, soltos sobre a superfície — nunca dentro de círculo ou caixa
   preenchida (verci-design-system.md seção 5). */
.wt-icone {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--wt-gold-icon);
    transition: color 180ms ease-in-out;
}

/* Hover abre o dourado até o cheio. Agrupado aqui, e não em cada seção, para
   os três blocos que usam .wt-icone não saírem do passo entre si. */
.wt-dif-item:hover .wt-icone,
.wt-ambiental__item:hover .wt-icone,
.wt-beneficio:hover .wt-icone {
    color: var(--wt-gold);
}

/* ============ LISTA COM MARCADOR EM FILETE ============ */
.wt-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--wt-space-1);
}

.wt-lista li {
    position: relative;
    padding-left: 22px;
    line-height: 1.7;
    color: var(--wt-text-secondary);
}

/* Filete dourado no lugar do bullet: marca sem virar "tinta" */
.wt-lista li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 10px;
    height: 1px;
    background: var(--wt-gold);
}

/* ============ SEÇÃO 4 — PORTFÓLIO ============ */
.wt-portfolio__head {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--wt-space-6);
    align-items: start;
}

.wt-portfolio__marca {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--wt-space-3);
}

/* Número e legenda lado a lado, a legenda centrada na altura do número */
.wt-portfolio__numero {
    display: flex;
    align-items: center;
    gap: var(--wt-space-2);
}

/* O "+75" é o ponto de atenção da seção — único elemento dourado grande aqui */
.wt-portfolio__numero-valor {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.03em;
    color: rgba(180, 143, 85, 0.63);
    font-variant-numeric: tabular-nums;
}

.wt-portfolio__numero-txt {
    display: flex;
    flex-direction: column;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.3;
    color: rgba(180, 143, 85, 0.63);
}

.wt-portfolio__numero-txt strong { font-weight: 500; }

/* Coluna da direita: chapéu + ficha das obras */
.wt-portfolio__lista {
    display: flex;
    flex-direction: column;
    gap: var(--wt-space-2);
}

.wt-portfolio__convite {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--wt-text-gold);
    border-bottom: 1px solid var(--wt-gold-hairline);
    padding-bottom: 2px;
    transition: color 180ms ease-in-out, border-color 180ms ease-in-out;
}

.wt-portfolio__convite:hover {
    color: var(--wt-gold-light);
    border-color: var(--wt-gold-light);
}

.wt-portfolio__nota { display: block; }

/* Ficha técnica das obras — régua horizontal, sem caixa */
.wt-portfolio__obras {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wt-obra {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--wt-space-3);
    align-items: baseline;
    padding-block: 18px;
    border-bottom: 1px solid var(--wt-gold-rule);
    transition: border-color 180ms ease-in-out;
}

.wt-obra:first-child { border-top: 1px solid var(--wt-gold-rule); }
/* hover no mesmo dourado dos cards — o cinza-azulado antigo destoava do filete */
.wt-obra:hover { border-color: var(--wt-card-border-hover); }

.wt-obra__nome {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--wt-text-primary);
}

.wt-obra__ficha {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--wt-text-tertiary);
}

.wt-obra__sep { padding-inline: 6px; }

@media (max-width: 1024px) {
    .wt-portfolio__head { grid-template-columns: 1fr; gap: var(--wt-space-5); }
}

@media (max-width: 600px) {
    .wt-obra { grid-template-columns: 1fr; gap: 4px; }
}

/* ============ CARROSSEL INFINITO (marquee) ============
   Track duplicado deslizando -50% (context.md 4.10). O respiro entre itens é
   margin-right no item, não gap no track: com gap, metade da largura não cai
   exatamente numa cópia inteira e a emenda dá um salto a cada volta. */
.wt-marquee {
    overflow: hidden;
    margin-block: var(--wt-space-6);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.wt-marquee__track {
    display: flex;
    width: max-content;
    animation: wt-marquee 80s linear infinite;
}

.wt-marquee__item {
    flex: 0 0 auto;
    margin: 0 var(--wt-space-2) 0 0;
}

.wt-marquee__item img {
    height: 320px;
    width: auto;
    border-radius: 4px;
    border: 1px solid var(--wt-border);
}

@keyframes wt-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Sem pausa no hover: no toque a pausa "gruda" e trava o carrossel */
@media (max-width: 768px) {
    .wt-marquee__track { animation-duration: 64s; }
    .wt-marquee__item img { height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
    .wt-marquee { overflow-x: auto; }
    .wt-marquee__track { animation: none; }
}

/* ============ VÍDEOS (facade) ============ */
.wt-videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--wt-space-3);
}

.wt-video-btn {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    max-width: 260px;
    aspect-ratio: 9 / 16;
    padding: 0;
    border: 1px solid var(--wt-card-border);
    border-radius: 4px;
    background: var(--wt-bg-elevated);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 180ms ease-in-out;
}

.wt-video-btn:hover { border-color: var(--wt-card-border-hover); }

.wt-video-btn img,
.wt-video-btn iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.wt-video-btn img { object-fit: cover; }

.wt-video-btn__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 4px;
    background: var(--wt-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--wt-gold-hairline);
    color: var(--wt-text-gold);
    transition: background 180ms ease-in-out;
}

.wt-video-btn__play svg { width: 20px; height: 20px; }
.wt-video-btn:hover .wt-video-btn__play { background: rgba(20, 27, 38, 0.9); }

@media (max-width: 600px) {
    /* 2 por linha. O padding-inline vai a zero porque o .wt-container já dá os
       24px até a borda — somar aqui empurraria para 72px. */
    .wt-videos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--wt-space-2);
        padding-inline: 0;
    }

    .wt-video-btn { max-width: none; }
}

/* ============ SEÇÃO 5 — DIFERENCIAIS ============
   Sem card: ícone e texto assentam na superfície, separados por régua fina.
   Nove caixas douradas aqui estourariam o teto de ~5% de dourado na tela. */
.wt-dif-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--wt-space-4) var(--wt-space-3);
}

.wt-dif-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--wt-space-2);
    padding-top: var(--wt-space-3);
    border-top: 1px solid var(--wt-gold-rule);
}

/* Texto mais estreito que a coluna: compacta o bloco e deixa o eixo central
   evidente. Sem o teto, a linha ia até a borda e o centramento sumia. */
.wt-dif-item .wt-body { max-width: 28ch; }

@media (max-width: 900px) { .wt-dif-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wt-dif-grid { grid-template-columns: 1fr; } }

/* ============ SEÇÃO 5.1 — CONCEITOS ============
   A copy traz quatro conceitos (a diretriz de layout falava em três),
   dispostos em 2x2. */
.wt-conceitos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--wt-space-2);
    margin-top: var(--wt-space-7);
}

.wt-conceito {
    display: flex;
    flex-direction: column;
    gap: var(--wt-space-2);
}

.wt-conceito__intro { max-width: none; }

.wt-conceito__fecho {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--wt-text-gold);
    margin-top: var(--wt-space-1);
}

@media (max-width: 900px) {
    .wt-conceitos { grid-template-columns: 1fr; }
}

/* ============ SEÇÃO 6 — AMBIENTAL ============ */

/* Largura travada para o título quebrar em "Construir Sem / Deixar Marca" */
.wt-ambiental .wt-split-head__titulo h2 { max-width: 12ch; }

.wt-ambiental__intro { display: block; margin-bottom: var(--wt-space-3); }

.wt-ambiental__lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--wt-space-3) var(--wt-space-4);
}

.wt-ambiental__item {
    display: flex;
    gap: var(--wt-space-2);
    align-items: flex-start;
    padding-top: var(--wt-space-2);
    border-top: 1px solid var(--wt-gold-rule);
    line-height: 1.7;
}


@media (max-width: 768px) { .wt-ambiental__lista { grid-template-columns: 1fr; } }

/* ============ SEÇÃO 7 — RETROFIT ============
   Imagem de fundo sangrando de borda a borda, com véu escuro por cima. O
   background-image vem por style inline no template — ver a nota lá sobre por
   que não passa por custom property. */
.wt-retrofit {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background-size: cover;
    background-position: center;
    /* fixed trava a rolagem quando combinado com o Lenis — ver comentário do body */
    background-attachment: scroll;
}

/* Véu em gradiente: mais fechado à esquerda, onde fica o texto, para o
   contraste do corpo não depender da foto que estiver por trás. */
.wt-retrofit__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(8, 11, 17, 0.88) 0%, rgba(8, 11, 17, 0.72) 45%, rgba(8, 11, 17, 0.38) 100%),
        linear-gradient(0deg, rgba(8, 11, 17, 0.58) 0%, rgba(8, 11, 17, 0.16) 50%, rgba(8, 11, 17, 0.58) 100%);
}

.wt-retrofit__inner { display: block; }

.wt-retrofit__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--wt-space-3);
    max-width: 60ch;
}

.wt-retrofit__desc {
    max-width: 52ch;
    text-align: justify;
    hyphens: auto;
}

/* ============ SEÇÕES 8 e 9 — BENEFÍCIOS + QUEM SOMOS ============ */
/* Fundo, contorno e hover vêm de .wt-card — a tira é um card como os outros */
.wt-beneficios {
    list-style: none;
    margin: 0 0 var(--wt-space-7);
    /* explícito, e não herdado de .wt-card: a tira é o único card cujo respiro
       interno precisa acompanhar o gap maior entre as colunas */
    padding: 48px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--wt-space-4);
}

/* Ícone acima do texto, não ao lado. Com 5 colunas de ~190px, o ícone ao lado
   consumia 38px e empurrava a descrição mais longa ("Sistemas de acompanhamento
   ao cliente em tempo real", 313px corridos) para 3 linhas. Empilhado, o texto
   fica com a coluna inteira e as 5 descrições cabem em 2 linhas. */
.wt-beneficio {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.wt-beneficio .wt-icone { width: 24px; height: 24px; }

.wt-beneficio__txt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.wt-beneficio__txt strong {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--wt-text-primary);
}

.wt-beneficio__txt span {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--wt-text-tertiary);
}

/* As 5 colunas só se sustentam enquanto cada uma comporta a descrição mais
   longa em 2 linhas — precisa de ~176px de texto. Com o padding de 48px e o gap
   de 40px isso exige viewport a partir de ~1262px, daí o corte em 1280 e não no
   1200 de antes (que valia para o gap de 24px). Abaixo disso a tira reduz o
   número de colunas em vez de deixar o texto crescer para 3 linhas. */
@media (max-width: 1280px) { .wt-beneficios { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .wt-beneficios { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .wt-beneficios {
        grid-template-columns: 1fr;
        padding: var(--wt-space-4);
        /* 64px entre a tira e a borda da tela. O .wt-container já aplica o
           gutter, então desconta-se ele em vez de somar 64 por cima — assim o
           valor final é 64 de verdade, não 64 + gutter. */
        margin-inline: calc(64px - var(--wt-container-gutter));
    }
}

/* Texto inteiro à esquerda, imagem à direita.
   stretch (e não center) é o que faz a imagem acompanhar a altura da coluna de
   texto: com center ela ficava do tamanho da própria proporção e sobrava. */
.wt-quem-somos__inner {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: var(--wt-space-6);
    align-items: stretch;
}

.wt-quem-somos__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--wt-space-3);
}

.wt-quem-somos__content h2 { margin-bottom: var(--wt-space-1); }

.wt-quem-somos__content .wt-body {
    max-width: none;
    text-align: justify;
    hyphens: auto;
}

/* Sem aspect-ratio: a altura passa a vir da linha do grid, definida pela coluna
   de texto. A imagem é absoluta para preencher essa altura seja ela qual for —
   com height:100% ela dependeria de o pai ter altura resolvida. */
.wt-quem-somos__media {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--wt-card-border);
}

.wt-quem-somos__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .wt-quem-somos__inner { grid-template-columns: 1fr; gap: var(--wt-space-4); }
    .wt-quem-somos__media { aspect-ratio: 3 / 2; }
}

/* ============ SEÇÃO 10 — UNIDADES ============ */
.wt-unidades__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--wt-space-2);
}

/* Sem mapa desde 23/07/2026: o card voltou a ser card comum, com o padding
   padrão dos demais em vez do zero que o embed sangrado exigia.
   Conteúdo centralizado em todas as larguras — ícone, cidade e endereço no
   mesmo eixo (antes era só no mobile). */
.wt-unidade {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--wt-space-2);
}

.wt-unidade:hover .wt-icone { color: var(--wt-gold); }

.wt-unidade__endereco,
.wt-unidade__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-style: normal;
    line-height: 1.6;
    color: var(--wt-text-secondary);
}

.wt-unidade__endereco strong {
    font-weight: 500;
    color: var(--wt-text-primary);
}

/* No endereço clicável o dourado do hover fica só no nome do prédio: acender o
   bloco inteiro brigaria com o hover do próprio card. */
.wt-unidade__link { transition: color 180ms ease-in-out; }
.wt-unidade__link:hover { color: var(--wt-text-primary); }
.wt-unidade__link:hover strong { color: var(--wt-text-gold); }

@media (max-width: 900px) {
    .wt-unidades__grid { grid-template-columns: 1fr; }
    /* a centralização agora é da regra base; aqui sobra só o respiro menor */
    .wt-unidade { padding: var(--wt-space-3); }
}

/* ============ SEÇÃO 11 — CONTATO ============ */

/* Sem o teto de 46ch o subtítulo cabe numa linha só; no mobile ele volta a
   quebrar sozinho, porque a largura da tela passa a mandar. */
.wt-contato .wt-section__head .wt-lead { max-width: none; }

.wt-form {
    max-width: 760px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--wt-space-3);
}

.wt-form__linha {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--wt-space-3);
}

.wt-campo {
    display: flex;
    flex-direction: column;
    gap: var(--wt-space-1);
}

.wt-campo label {
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wt-text-tertiary);
}

/* Mesmo véu dourado dos cards, mais apagado — o campo é superfície de apoio,
   não pode competir com os cards de conteúdo. */
.wt-campo input,
.wt-campo textarea {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--wt-text-primary);
    background: rgba(180, 143, 85, 0.03);
    border: 1px solid var(--wt-card-border);
    border-radius: 4px;
    padding: 14px 16px;
    transition: border-color 180ms ease-in-out, background 180ms ease-in-out;
}

.wt-campo input:hover,
.wt-campo textarea:hover { background: rgba(180, 143, 85, 0.06); }

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

.wt-campo input:focus,
.wt-campo textarea:focus {
    outline: none;
    border-color: var(--wt-gold);
}

/* row + justify-content: center centra o par no formulário sem tirar o
   checkbox da esquerda do texto — align-items:flex-start o mantém colado à
   primeira linha caso o rótulo quebre em telas estreitas. */
.wt-campo--consent {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
}

.wt-campo--consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    padding: 0;
    flex-shrink: 0;
    accent-color: var(--wt-gold);
}

.wt-campo--consent label {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--wt-text-secondary);
}

.wt-campo--consent a {
    color: var(--wt-text-gold);
    border-bottom: 1px solid var(--wt-gold-hairline);
}

.wt-form__enviar { align-self: center; }

/* Honeypot: precisa ser preenchível por robô, então não pode usar display:none */
.wt-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Vive dentro do form, logo acima do botão — o gap do form já dá o respiro.
   A caixa segue com a largura do formulário; centrar o texto é o que alinha o
   aviso com o consentimento e o botão sem a caixa pular de tamanho a cada
   mensagem diferente. */
.wt-aviso {
    margin: 0;
    padding: 12px 16px;
    border-radius: 4px;
    border: 1px solid var(--wt-border);
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: center;
}

.wt-aviso[hidden] { display: none; }

.wt-aviso--ok {
    border-color: var(--wt-gold-hairline);
    background: var(--wt-card-bg);
    color: var(--wt-text-gold);
}

/* Erro discreto: vermelho só insinuado no fundo e no contorno, texto abaixo do
   branco cheio. É um aviso de campo vazio, não um alarme. */
.wt-aviso--erro {
    border-color: rgba(214, 69, 69, 0.22);
    background: rgba(214, 69, 69, 0.09);
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 600px) {
    .wt-form__linha { grid-template-columns: 1fr; }
}

/* ============ SEÇÃO 12 — RODAPÉ ============ */
.wt-footer {
    background: var(--wt-card-bg);
    border-top: 1px solid var(--wt-card-border);
}

.wt-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
    gap: var(--wt-space-4);
    padding-block: var(--wt-space-6);
}

.wt-footer__col {
    display: flex;
    flex-direction: column;
    gap: var(--wt-space-2);
}

.wt-footer__marca { gap: var(--wt-space-3); }

/* align-self obrigatório: a coluna é flex e o align-items:stretch padrão
   ignorava o width:auto, esticando o logo para os 336px da coluna (proporção
   7:1 numa imagem que é 2.48:1). */
.wt-footer__logo {
    height: 72px;
    width: auto;
    align-self: flex-start;
}

.wt-footer__marca p {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 32ch;
    color: var(--wt-text-tertiary);
}

.wt-footer__titulo {
    font-weight: 500;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--wt-text-gold);
}

.wt-footer__endereco {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--wt-text-secondary);
    transition: color 180ms ease-in-out;
}

.wt-footer__endereco:hover { color: var(--wt-text-gold); }

.wt-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wt-footer__link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--wt-text-secondary);
    transition: color 180ms ease-in-out;
}

.wt-footer__link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--wt-gold-icon);
    transition: color 180ms ease-in-out;
}

.wt-footer__link:hover { color: var(--wt-text-gold); }
.wt-footer__link:hover svg { color: var(--wt-gold); }

.wt-footer__social {
    display: flex;
    gap: var(--wt-space-2);
}

.wt-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--wt-gold-rule);
    border-radius: 4px;
    color: var(--wt-gold-icon);
    transition: color 180ms ease-in-out, border-color 180ms ease-in-out;
}

.wt-footer__social a svg { width: 18px; height: 18px; }

.wt-footer__social a:hover {
    color: var(--wt-gold);
    border-color: var(--wt-gold-hairline);
}

.wt-footer__bottom { border-top: 1px solid var(--wt-card-border); }

.wt-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--wt-space-2);
    padding-block: var(--wt-space-3);
    font-size: 0.8125rem;
    color: var(--wt-text-tertiary);
}

.wt-footer__legais {
    display: flex;
    gap: var(--wt-space-3);
}

.wt-footer__legais a { transition: color 180ms ease-in-out; }
.wt-footer__legais a:hover { color: var(--wt-text-gold); }

.wt-footer__credit {
    border-top: 1px solid var(--wt-card-border);
    padding-block: var(--wt-space-2);
    font-size: 0.75rem;
    color: var(--wt-text-tertiary);
    text-align: center;
}

.wt-footer__credit a {
    color: var(--wt-text-secondary);
    transition: color 180ms ease-in-out;
}

.wt-footer__credit a:hover { color: var(--wt-text-gold); }

@media (max-width: 1024px) {
    .wt-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--wt-space-5); }
}

@media (max-width: 600px) {
    .wt-footer__grid { grid-template-columns: 1fr; text-align: center; }
    .wt-footer__col { align-items: center; }
    .wt-footer__logo { align-self: center; }
    .wt-footer__marca p { max-width: none; }
    .wt-footer__endereco { align-items: center; }
    /* ícone acima do texto, exceto nas redes sociais (context.md 4.4) */
    .wt-footer__link { flex-direction: column; gap: 6px; }
    .wt-footer__social { justify-content: center; }
    .wt-footer__bottom-inner { flex-direction: column; align-items: center; text-align: center; }
}

/* ============ PÁGINA DE POLÍTICA DE PRIVACIDADE ============
   Layout definido no context.md seção 4.7. */
.wt-legal {
    padding-block: var(--wt-space-5) var(--wt-space-7);
}

.wt-legal__inner {
    max-width: 860px;
}

/* Logo numa ponta, "Voltar ao site" na outra */
.wt-legal__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--wt-space-3);
    margin-bottom: var(--wt-space-6);
}

.wt-legal__logo-img {
    height: 56px;
    width: auto;
}

/* h2, não h1: o H1 da marca vive no Hero da home (context.md 4.2) */
.wt-legal__title {
    /* nowrap para caber numa linha; o mobile solta, senão estoura a tela */
    white-space: nowrap;
}

.wt-legal__meta {
    text-align: center;
    font-size: 0.875rem;
    color: var(--wt-text-tertiary);
    margin-bottom: var(--wt-space-6);
}

/* ----- Corpo do texto jurídico -----
   Tudo escopado sob .wt-legal__body de propósito: solto, o `p { text-align:
   justify }` pegaria também o rótulo do cabeçalho (justify em linha curta
   encosta tudo à esquerda) e o `a { text-decoration: underline }` sublinharia
   os botões "Voltar ao site". */
.wt-legal__body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--wt-text-secondary);
}

.wt-legal__body p {
    margin-bottom: var(--wt-space-3);
    text-align: justify;
    hyphens: auto;
}

.wt-legal__entidade {
    font-weight: 500;
    color: var(--wt-text-primary);
    text-align: left !important;
}

.wt-legal__body h2 {
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    font-weight: 400;
    color: var(--wt-text-primary);
    margin-top: var(--wt-space-5);
    margin-bottom: var(--wt-space-2);
    padding-top: var(--wt-space-3);
    border-top: 1px solid var(--wt-gold-rule);
}

.wt-legal__body ul {
    list-style: none;
    margin: 0 0 var(--wt-space-3);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--wt-space-1);
}

.wt-legal__body li {
    position: relative;
    padding-left: 22px;
    text-align: justify;
    hyphens: auto;
}

/* mesmo filete dourado das listas do restante do site */
.wt-legal__body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 10px;
    height: 1px;
    background: var(--wt-gold);
}

.wt-legal__body a {
    color: var(--wt-text-gold);
    border-bottom: 1px solid var(--wt-gold-hairline);
    transition: color 180ms ease-in-out, border-color 180ms ease-in-out;
}

.wt-legal__body a:hover {
    color: var(--wt-gold-light);
    border-color: var(--wt-gold-light);
}

/* Blocos em caixa alta do texto original */
.wt-legal__aviso {
    padding: var(--wt-space-3);
    border: 1px solid var(--wt-card-border);
    background: var(--wt-card-bg);
    border-radius: 4px;
    font-size: 0.9375rem;
    color: var(--wt-text-primary);
    text-align: left !important;
}

.wt-legal__actions--bottom {
    display: flex;
    justify-content: center;
    margin-top: var(--wt-space-6);
    padding-top: var(--wt-space-5);
    border-top: 1px solid var(--wt-gold-rule);
}

/* ============ PÁGINA DE COMPLIANCE ============
   Mesma moldura da política (.wt-legal), mas o conteúdo é curto e em blocos,
   então vai em card e não em corpo corrido de texto jurídico. */
.wt-compliance {
    display: flex;
    flex-direction: column;
    gap: var(--wt-space-2);
}

.wt-compliance__bloco h3 {
    margin-bottom: var(--wt-space-2);
    color: var(--wt-text-gold);
}

.wt-compliance__bloco p + p,
.wt-compliance__bloco p + ul {
    margin-top: var(--wt-space-2);
}

/* Título e explicação de cada princípio, um sob o outro */
.wt-compliance__principios {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--wt-space-2);
}

.wt-compliance__principios li {
    position: relative;
    padding-left: 22px;
}

/* mesmo filete dourado das demais listas do site */
.wt-compliance__principios li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 10px;
    height: 1px;
    background: var(--wt-gold);
}

.wt-compliance__principio-titulo {
    display: block;
    font-weight: 500;
    color: var(--wt-text-primary);
}

.wt-compliance__principio-texto {
    display: block;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--wt-text-secondary);
}

.wt-compliance__cta {
    margin-top: var(--wt-space-3);
}

@media (max-width: 700px) {
    /* solta o nowrap: em tela estreita o título não cabe numa linha */
    .wt-legal__title { white-space: normal; }

    .wt-legal__topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--wt-space-2);
    }

    .wt-legal__logo-img { height: 44px; }

    /* justify em coluna estreita abre rios de espaço */
    .wt-legal__body p,
    .wt-legal__body li { text-align: left; }
}
