/* ============================================================
   THE CITY TOWER — CSS — Redesign Europeu/Luxury
   Ordem: Variáveis → Base → Nav → Hero → Componentes → Seções → Media Queries
   ============================================================ */

/* VARIÁVEIS */
:root {
    --tc-fundo:          #0d0d0d;
    --tc-fundo-card:     #141414;
    --tc-fundo-alt:      #111111;
    --tc-dourado:        #C9A84C;
    --tc-dourado-claro:  #D9BA6C;
    --tc-dourado-escuro: #A88830;
    --tc-branco:         #F0EAD6;
    --tc-cinza:          #6A6A6A;
    --tc-cinza-claro:    #9A9A9A;
    --tc-borda:          rgba(201,168,76,0.15);
    --tc-borda-forte:    rgba(201,168,76,0.35);
    --tc-fonte-titulo:   'Cormorant Garamond', Georgia, serif;
    --tc-fonte-corpo:    'DM Sans', 'Inter', sans-serif;
    --tc-transicao:      all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --tc-sombra:         0 40px 80px rgba(0,0,0,0.7);
}

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

html { scroll-behavior: smooth; }

.pagina-the-city {
    background: var(--tc-fundo);
    color: var(--tc-branco);
    font-family: var(--tc-fonte-corpo);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.pagina-the-city h1,
.pagina-the-city h2,
.pagina-the-city h3 {
    font-family: var(--tc-fonte-titulo);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.pagina-the-city a { color: var(--tc-dourado); text-decoration: none; }

/* ============================================================ UTILITÁRIOS */
.tc-dourado      { color: var(--tc-dourado); }
.tc-branco       { color: var(--tc-branco); }
.tc-cinza        { color: var(--tc-cinza); }
.tc-fundo-escuro { background: var(--tc-fundo); }
.tc-fundo-card   { background: var(--tc-fundo-card); }

.tc-overline {
    font-family: var(--tc-fonte-corpo);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--tc-dourado);
    margin-bottom: 18px;
    display: block;
}

.tc-linha-dourada {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--tc-dourado);
    margin-bottom: 28px;
    transform-origin: left;
}

.tc-titulo-secao {
    font-family: var(--tc-fonte-titulo);
    font-size: 54px;
    font-weight: 300;
    color: var(--tc-branco);
    line-height: 1.1;
    margin-bottom: 20px;
}

.tc-subtitulo-secao {
    font-size: 17px;
    color: var(--tc-cinza-claro);
    line-height: 1.8;
    max-width: 560px;
    font-weight: 300;
}

/* Cabeçalho de seção com número */
.tc-secao-cabecalho {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 64px;
}

.tc-secao-num {
    font-family: var(--tc-fonte-titulo);
    font-size: 108px;
    font-weight: 300;
    color: rgba(201,168,76,0.07);
    line-height: 0.8;
    letter-spacing: -0.02em;
    margin-top: -8px;
    flex-shrink: 0;
    user-select: none;
}

/* ============================================================ SEÇÕES GENÉRICAS */
.tc-secao {
    padding: 140px 0;
}

.tc-secao-escura { background: var(--tc-fundo); }
.tc-secao-card   { background: var(--tc-fundo-card); }
.tc-secao-alt    { background: var(--tc-fundo-alt); }

/* ============================================================ REVEAL ANIMATIONS */
.tc-revelar {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.tc-revelar.visivel {
    opacity: 1;
    transform: translateY(0);
}

/* Hero load animations */
@keyframes tcSubir {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes tcExpandir {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}
@keyframes tcFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes tcPulsar {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.tc-animar-subir {
    animation: tcSubir 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.tc-animar-expandir {
    animation: tcExpandir 1s cubic-bezier(0.4, 0, 0.2, 1) both;
    transform-origin: left;
}

/* ============================================================ BOTÕES */
.tc-btn-dourado {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--tc-dourado);
    color: #0d0d0d;
    font-family: var(--tc-fonte-corpo);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 18px 40px;
    border: none;
    cursor: pointer;
    transition: var(--tc-transicao);
    min-height: 56px;
    width: 100%;
    text-decoration: none;
}
.tc-btn-dourado:hover {
    background: var(--tc-dourado-claro);
    color: #0d0d0d;
    gap: 16px;
}

.tc-btn-borda {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--tc-dourado);
    border: 1px solid var(--tc-borda-forte);
    font-family: var(--tc-fonte-corpo);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 16px 32px;
    transition: var(--tc-transicao);
    min-height: 52px;
    text-decoration: none;
    cursor: pointer;
}
.pagina-the-city .tc-btn-borda:hover {
    background: var(--tc-dourado);
    border-color: var(--tc-dourado);
    color: #0d0d0d;
    gap: 16px;
}

.tc-btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--tc-branco);
    border: 1px solid rgba(240,234,214,0.3);
    font-family: var(--tc-fonte-corpo);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 18px 36px;
    transition: var(--tc-transicao);
    min-height: 56px;
    text-decoration: none;
}
.tc-btn-hero:hover {
    background: rgba(201,168,76,0.1);
    border-color: var(--tc-dourado);
    color: var(--tc-dourado);
    gap: 18px;
}

/* ============================================================ CAMPOS FLOATING LABEL */
.tc-campo-wrap {
    position: relative;
    margin-bottom: 8px;
}
.tc-campo-wrap .tc-campo {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: var(--tc-branco);
    font-family: var(--tc-fonte-corpo);
    font-size: 16px;
    font-weight: 300;
    padding: 24px 0 10px;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    border-radius: 0;
    display: block;
}
.tc-campo-wrap .tc-campo:focus {
    border-bottom-color: var(--tc-dourado);
    outline: none;
}
.tc-campo-wrap .tc-campo-label {
    position: absolute;
    top: 22px;
    left: 0;
    font-size: 14px;
    font-weight: 300;
    color: rgba(240,234,214,0.35);
    transition: all 0.25s ease;
    pointer-events: none;
    letter-spacing: 0.04em;
}
.tc-campo-wrap .tc-campo:focus ~ .tc-campo-label,
.tc-campo-wrap .tc-campo:not(:placeholder-shown) ~ .tc-campo-label {
    top: 4px;
    font-size: 10px;
    color: var(--tc-dourado);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.tc-campo-wrap .tc-campo::placeholder { color: transparent; }

/* Campo legado (forms fora da estrutura floating label) */
.tc-campo-simples {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    color: var(--tc-branco);
    font-family: var(--tc-fonte-corpo);
    font-size: 16px;
    font-weight: 300;
    padding: 16px 18px;
    margin-bottom: 10px;
    transition: var(--tc-transicao);
    -webkit-appearance: none;
    border-radius: 0;
    display: block;
}
.tc-campo-simples:focus {
    border-color: rgba(201,168,76,0.5);
    background: rgba(201,168,76,0.04);
    outline: none;
}
.tc-campo-simples::placeholder { color: rgba(240,234,214,0.3); font-size: 14px; }

/* ============================================================ NAV */
.tc-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}
.tc-nav.rolando {
    background: rgba(13,13,13,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(201,168,76,0.1);
}

.tc-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
    gap: 24px;
}

.tc-nav-logos {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.tc-nav-logo-fernando {
    height: 50px;
    width: auto;
    object-fit: contain;
}
.tc-nav-div {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.12);
}
.tc-nav-logo-bild {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.tc-nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.tc-nav-link {
    font-family: var(--tc-fonte-corpo);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(240,234,214,0.55);
    text-decoration: none;
    transition: color 0.25s;
    position: relative;
    padding-bottom: 2px;
}
.tc-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--tc-dourado);
    transition: width 0.3s ease;
}
.tc-nav-link:hover {
    color: var(--tc-dourado);
}
.tc-nav-link:hover::after { width: 100%; }

.tc-nav-direita {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.pagina-the-city .tc-btn-nav {
    display: inline-flex;
    align-items: center;
    background: var(--tc-dourado);
    color: #0d0d0d;
    border: 1px solid var(--tc-dourado);
    font-family: var(--tc-fonte-corpo);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 10px 22px;
    transition: var(--tc-transicao);
    text-decoration: none;
    white-space: nowrap;
    min-height: 40px;
}
.pagina-the-city .tc-btn-nav:hover {
    background: var(--tc-dourado-claro);
    border-color: var(--tc-dourado-claro);
    color: #0d0d0d;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

.tc-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    width: 36px;
}
.tc-hamburger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--tc-branco);
    transition: var(--tc-transicao);
    transform-origin: center;
}
.tc-hamburger.aberto span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.tc-hamburger.aberto span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.tc-hamburger.aberto span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Menu mobile */
.tc-nav-mobile {
    display: none;
    flex-direction: column;
    background: rgba(13,13,13,0.97);
    border-top: 1px solid rgba(201,168,76,0.1);
    padding: 20px 0;
}
.tc-nav-mobile.aberto { display: flex; }

.tc-nav-link-mobile {
    font-family: var(--tc-fonte-corpo);
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(240,234,214,0.6);
    padding: 14px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    text-decoration: none;
    transition: color 0.2s;
}
.tc-nav-link-mobile:hover { color: var(--tc-dourado); }
.tc-nav-link-mobile:last-child { border-bottom: none; }
.tc-nav-link-cta {
    color: var(--tc-dourado) !important;
    margin-top: 8px;
    border-top: 1px solid var(--tc-borda);
}

/* ============================================================ STICKY BAR MOBILE */
.tc-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 800;
    background: rgba(13,13,13,0.97);
    border-top: 1px solid var(--tc-borda);
    padding: 12px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.tc-sticky-bar.visivel { transform: translateY(0); }
.tc-sticky-nome {
    font-family: var(--tc-fonte-titulo);
    font-size: 19px;
    color: var(--tc-dourado);
    white-space: nowrap;
    font-style: italic;
}
.pagina-the-city .tc-sticky-btn {
    display: inline-flex;
    align-items: center;
    background: var(--tc-dourado);
    color: #0d0d0d;
    font-family: var(--tc-fonte-corpo);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 12px 20px;
    text-decoration: none;
    min-height: 48px;
    white-space: nowrap;
    transition: background 0.2s;
}
.pagina-the-city .tc-sticky-btn:hover { background: var(--tc-dourado-claro); color: #0d0d0d; }

/* ============================================================ HERO */
.tc-hero-wrap {
    position: relative;
}

.tc-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 680px;
    background-image: url('../img/the-city-tower/32.jpg');
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: flex-end;
}

.tc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0,0,0,0.82) 0%,
        rgba(0,0,0,0.55) 50%,
        rgba(0,0,0,0.25) 100%
    );
    z-index: 1;
}

/* Grain texture */
.tc-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='0.06'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
}

.tc-hero-conteudo {
    position: relative;
    z-index: 3;
    padding: 50px 80px 100px;
    max-width: 680px;
}

.tc-hero-pre {
    font-family: var(--tc-fonte-corpo);
    font-size: 16px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--tc-dourado);
    margin-bottom: 20px;
    display: block;
    font-weight: 500;
}

.tc-hero-linha {
    width: 40px;
    height: 1px;
    background: var(--tc-dourado);
    margin-bottom: 32px;
}

.tc-hero-titulo {
    font-family: var(--tc-fonte-titulo);
    font-size: 86px;
    font-weight: 300;
    color: var(--tc-branco);
    line-height: 1.0;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.tc-hero-titulo em {
    font-style: italic;
    font-weight: 300;
    color: rgba(240,234,214,0.7);
}

.tc-hero-destaque {
    font-family: var(--tc-fonte-titulo);
    font-size: 21px;
    font-weight: 600;
    color: var(--tc-dourado);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-top: 16px;
    display: block;
}

.tc-hero-sub {
    font-family: var(--tc-fonte-corpo);
    font-size: 15px;
    font-weight: 300;
    color: rgba(240,234,214,0.5);
    letter-spacing: 0.08em;
    margin-bottom: 48px;
    display: block;
}

/* Scroll indicator */
.tc-hero-scroll {
    position: absolute;
    bottom: 48px;
    right: 80px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.tc-hero-scroll span {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: rgba(240,234,214,0.35);
    writing-mode: vertical-lr;
    text-transform: uppercase;
}
.tc-hero-scroll-linha {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
    animation: tcPulsar 2.5s ease-in-out infinite;
}

/* ============================================================ FORM CARD (straddling hero/KPI) */
.tc-hero-form-card {
    position: absolute;
    bottom: -200px;
    right: 80px;
    transform: translateY(50%);
    width: 400px;
    z-index: 10;
    background: var(--tc-fundo-card);
    border: 1px solid var(--tc-borda);
    border-top: 2px solid var(--tc-dourado);
    padding: 48px 44px 52px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(201, 168, 76, 0.08);
}

.tc-form-titulo {
    font-family: var(--tc-fonte-titulo);
    font-size: 40px;
    font-weight: 300;
    color: var(--tc-branco);
    line-height: 1.15;
    margin-bottom: 36px;
}

.tc-form-sucesso {
    text-align: center;
    padding: 20px 0;
}
.tc-form-sucesso-icone {
    width: 56px;
    height: 56px;
    border: 1px solid var(--tc-dourado);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--tc-dourado);
    margin: 0 auto 24px;
}
.tc-form-sucesso-titulo {
    font-family: var(--tc-fonte-titulo);
    font-size: 32px;
    color: var(--tc-branco);
    margin-bottom: 12px;
}

/* ============================================================ KPIs */
.tc-kpi-secao {
    background: var(--tc-fundo-alt);
    padding: 0;
    /* padding-top: 260px; espaço para o form card que sobrepõe a seção */
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.tc-kpi-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    width: 75%;
}

.tc-kpi-item {
    padding: 80px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.tc-kpi-divisor {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.2), transparent);
}

.tc-kpi-numero {
    font-family: var(--tc-fonte-titulo);
    font-size: 100px;
    font-weight: 300;
    color: var(--tc-dourado);
    line-height: 1;
    letter-spacing: -0.02em;
    display: block;
}

.tc-kpi-unidade {
    font-family: var(--tc-fonte-corpo);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.5);
    margin-top: 2px;
}

.tc-kpi-label {
    font-family: var(--tc-fonte-corpo);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tc-cinza);
    margin-top: 4px;
}

/* ============================================================ CONCEITO */
.tc-conceito-secao {
    position: relative;
    padding: 160px 0;
    background-image: url('../img/the-city-tower/49.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.tc-conceito-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8,8,8,0.84);
    z-index: 1;
}

.tc-conceito-inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.tc-conceito-titulo {
    font-family: var(--tc-fonte-titulo);
    font-size: 76px;
    font-weight: 300;
    color: var(--tc-branco);
    line-height: 1.05;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}
.tc-conceito-titulo em {
    font-style: italic;
    color: var(--tc-dourado);
}

.tc-conceito-texto {
    font-size: 18px;
    font-weight: 300;
    color: rgba(240,234,214,0.55);
    line-height: 1.9;
    margin-bottom: 48px;
    max-width: 440px;
}

.tc-conceito-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tc-badge {
    display: inline-block;
    border: 1px solid rgba(201,168,76,0.25);
    color: rgba(201,168,76,0.7);
    font-family: var(--tc-fonte-corpo);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 7px 16px;
    transition: border-color 0.3s, color 0.3s;
}
.tc-badge:hover {
    border-color: var(--tc-dourado);
    color: var(--tc-dourado);
}

/* ============================================================ GALERIA */
.tc-galeria-secao {
    background: var(--tc-fundo-card);
    padding: 140px 0;
}

.tc-galeria-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 280px;
    gap: 4px;
    margin-top: 40px;
}

.tc-galeria-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #0a0a0a;
}

/* Layout editorial assimétrico balanceado — 16 fotos */
/* Linha 1-2 */
.tc-galeria-item:nth-child(1)  { grid-column: span 7; grid-row: span 2; }
.tc-galeria-item:nth-child(2)  { grid-column: span 5; }
.tc-galeria-item:nth-child(3)  { grid-column: span 5; }
/* Linha 3 */
.tc-galeria-item:nth-child(4)  { grid-column: span 4; }
.tc-galeria-item:nth-child(5)  { grid-column: span 4; }
.tc-galeria-item:nth-child(6)  { grid-column: span 4; }
/* Linha 4-5 */
.tc-galeria-item:nth-child(7)  { grid-column: span 5; }
.tc-galeria-item:nth-child(8)  { grid-column: span 7; grid-row: span 2; }
.tc-galeria-item:nth-child(9)  { grid-column: span 5; }
/* Linha 6 */
.tc-galeria-item:nth-child(10) { grid-column: span 6; }
.tc-galeria-item:nth-child(11) { grid-column: span 6; }
/* Linha 7-8 */
.tc-galeria-item:nth-child(12) { grid-column: span 5; grid-row: span 2; }
.tc-galeria-item:nth-child(13) { grid-column: span 7; }
.tc-galeria-item:nth-child(14) { grid-column: span 7; }
/* Linha 9 */
.tc-galeria-item:nth-child(15) { grid-column: span 6; }
.tc-galeria-item:nth-child(16) { grid-column: span 6; }

.tc-galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}
.tc-galeria-item:hover img { transform: scale(1.06); }

.tc-galeria-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px 24px;
    transition: background 0.4s ease;
}
.tc-galeria-item:hover .tc-galeria-overlay { background: rgba(0,0,0,0.5); }

.tc-galeria-alt {
    font-family: var(--tc-fonte-corpo);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0);
    transition: color 0.4s;
    font-weight: 300;
}
.tc-galeria-item:hover .tc-galeria-alt { color: rgba(255,255,255,0.7); }

.tc-galeria-icon {
    opacity: 0;
    transition: opacity 0.4s;
}
.tc-galeria-item:hover .tc-galeria-icon { opacity: 1; }

/* LIGHTBOX */
.tc-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.96);
    align-items: center;
    justify-content: center;
}
.tc-lightbox.ativo { display: flex; }

.tc-lightbox-img-wrap {
    max-width: 88vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tc-lightbox-img-wrap img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
}

.tc-lightbox-fechar {
    position: absolute;
    top: 24px; right: 28px;
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    font-size: 20px;
    cursor: pointer;
    z-index: 10000;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.tc-lightbox-fechar:hover { border-color: var(--tc-dourado); color: var(--tc-dourado); }

.tc-lightbox-seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    font-size: 32px;
    cursor: pointer;
    z-index: 10000;
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}
.tc-lightbox-seta:hover { border-color: var(--tc-dourado); color: var(--tc-dourado); }
.tc-lightbox-ant { left: 24px; }
.tc-lightbox-pro { right: 24px; }

.tc-lightbox-contador {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.35);
    font-family: var(--tc-fonte-corpo);
}

/* ============================================================ PLANTAS */
.tc-plantas-secao {
    background: var(--tc-fundo);
    padding: 140px 0;
}

.tc-plantas-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 56px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tc-plantas-tabs::-webkit-scrollbar { display: none; }

.tc-planta-tab {
    background: transparent;
    border: none;
    border-bottom: 1px solid transparent;
    color: var(--tc-cinza);
    font-family: var(--tc-fonte-corpo);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 18px 32px 18px 0;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--tc-transicao);
    margin-bottom: -1px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 40px;
}
.tc-tab-num {
    font-family: var(--tc-fonte-titulo);
    font-size: 25px;
    font-weight: 300;
    color: rgba(201,168,76,0.2);
    transition: color 0.3s;
    line-height: 1;
}
.tc-planta-tab.ativo .tc-tab-num,
.tc-planta-tab:hover .tc-tab-num { color: var(--tc-dourado); }
.tc-planta-tab.ativo,
.tc-planta-tab:hover {
    color: var(--tc-branco);
    border-bottom-color: var(--tc-dourado);
}

.tc-planta-painel { display: none; }
.tc-planta-painel.ativo { display: block; }

.tc-planta-img {
    width: 100%;
    cursor: zoom-in;
    border: 1px solid rgba(255,255,255,0.06);
    filter: contrast(1.05) brightness(0.95);
    transition: filter 0.3s;
}
.tc-planta-img:hover { filter: contrast(1.1) brightness(1.02); }

.tc-planta-area {
    font-family: var(--tc-fonte-titulo);
    font-size: 72px;
    font-weight: 300;
    color: var(--tc-dourado);
    line-height: 1;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}
.tc-planta-area-sep {
    font-size: 25px;
    color: rgba(201,168,76,0.4);
    margin: 0 8px;
    font-style: italic;
}
.tc-planta-area-unit {
    font-size: 36px;
}

.tc-planta-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
}
.tc-planta-lista li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--tc-cinza-claro);
    font-size: 16px;
    font-weight: 300;
    padding-left: 20px;
    position: relative;
    letter-spacing: 0.02em;
}
.tc-planta-lista li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 1px;
    background: var(--tc-dourado);
    opacity: 0.6;
}

/* ============================================================ DIFERENCIAIS */
.tc-diferenciais-secao {
    background: var(--tc-fundo-card);
    padding: 140px 0;
}

.tc-sustentabilidade-titulo {
    margin-top: 100px;
    margin-bottom: 60px;
}

.tc-diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.04);
}

.tc-card-diferencial {
    background: var(--tc-fundo-card);
    padding: 44px 36px;
    transition: background 0.35s;
    position: relative;
    overflow: hidden;
}
.tc-card-diferencial::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--tc-dourado);
    transition: width 0.4s ease;
}
.tc-card-diferencial:hover { background: #181818; }
.tc-card-diferencial:hover::after { width: 100%; }

.tc-card-icone {
    display: block;
    width: 36px;
    height: 36px;
    margin-bottom: 24px;
    color: var(--tc-dourado);
}
.tc-card-icone svg { width: 36px; height: 36px; }

.tc-card-titulo {
    font-family: var(--tc-fonte-corpo);
    font-size: 14px;
    font-weight: 500;
    color: var(--tc-branco);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tc-card-desc {
    font-size: 15px;
    font-weight: 300;
    color: var(--tc-cinza);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================ LOCALIZAÇÃO */
.tc-localizacao-secao {
    background: var(--tc-fundo);
    padding: 140px 0;
}

.tc-mapa-wrap {
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    margin-top: 56px;
    margin-bottom: 56px;
    filter: grayscale(1) contrast(1.1) brightness(0.7);
    transition: filter 0.4s;
}
.tc-mapa-wrap:hover { filter: grayscale(0.3) contrast(1) brightness(0.85); }

.tc-referencias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(255,255,255,0.05);
}

.tc-referencia-item {
    padding: 18px 24px;
    border-right: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--tc-cinza-claro);
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.04em;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tc-referencia-item:hover {
    color: var(--tc-dourado);
    background: rgba(201,168,76,0.03);
}
.tc-referencia-item::before {
    content: '';
    width: 3px; height: 3px;
    background: var(--tc-dourado);
    border-radius: 50%;
    opacity: 0.5;
    flex-shrink: 0;
}

/* ============================================================ FORMULÁRIO RODAPÉ */
.tc-form-rodape-secao {
    background: #0a0a0a;
    padding: 160px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.tc-form-rodape-inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.tc-form-rodape-titulo {
    font-family: var(--tc-fonte-titulo);
    font-size: 58px;
    font-weight: 300;
    color: var(--tc-branco);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.tc-form-rodape-sub {
    font-size: 16px;
    font-weight: 300;
    color: var(--tc-cinza);
    margin-bottom: 52px;
    letter-spacing: 0.04em;
}

.tc-form-inline {
    text-align: left;
}

.tc-whats-link {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* ============================================================ FOOTER */
.tc-footer {
    background: #070707;
    padding: 70px 0 40px;
    border-top: 1px solid rgba(201,168,76,0.08);
}

.tc-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tc-footer-marca {
    font-family: var(--tc-fonte-titulo);
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--tc-dourado);
    margin: 0;
}
.tc-footer-sub-marca {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tc-cinza);
    margin-top: 6px;
}

.tc-footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0.6;
}
.tc-footer-logo-bild { height: 20px; }
.tc-footer-logo-torre { height: 36px; filter: brightness(0) invert(1); }

.tc-footer-legal {
    font-size: 12px;
    font-weight: 300;
    color: rgba(255,255,255,0.2);
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 20px;
}

.tc-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
}

.tc-footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.18);
    letter-spacing: 0.06em;
}

.tc-footer-privacidade {
    font-size: 12px;
    color: rgba(255,255,255,0.2);
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: color 0.2s;
}
.tc-footer-privacidade:hover { color: var(--tc-dourado); }

/* ============================================================
   MEDIA QUERIES — ao final
   ============================================================ */

@media (max-width: 1200px) {
    .tc-nav-inner { padding: 18px 32px; }
    .tc-hero-conteudo { padding: 0 48px 80px; }
    .tc-hero-scroll { right: 48px; }
    .tc-kpi-item { padding: 70px 28px; }
    .tc-kpi-numero { font-size: 82px; }
    .tc-hero-form-card { right: 48px; padding: 40px 36px; }
}

@media (max-width: 1024px) {
    .tc-nav-links { display: none; }
    .tc-hamburger { display: flex; }
    .tc-btn-nav { display: none; }

    /* Form card: sai do posicionamento absoluto e entra no fluxo normal */
    .tc-hero-form-card {
        position: static;
        transform: none;
        width: 100%;
        right: auto;
        bottom: auto;
        box-shadow: none;
        border: none;
        border-top: 2px solid var(--tc-dourado);
    }
    /* KPI: remove padding-top extra que era para o card flutuante */
    .tc-kpi-secao { padding-top: 0; }
    .tc-hero-scroll { display: none; }

    .tc-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
        width: 100%;
    }
    .tc-kpi-divisor { display: none; }
    .tc-kpi-item { border-bottom: 1px solid rgba(255,255,255,0.04); }

    .tc-galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .tc-galeria-item { grid-column: span 1 !important; grid-row: span 1 !important; height: 240px; }

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

    .tc-referencias-grid { grid-template-columns: repeat(3, 1fr); }

    .tc-conceito-titulo { font-size: 58px; }
    .tc-titulo-secao { font-size: 45px; }
    .tc-secao-num { font-size: 82px; }
}

@media (max-width: 768px) {
    .tc-nav-inner { padding: 16px 20px; }
    .tc-nav-div-bild,
    .tc-nav-logo-bild-desktop { display: none; }

    .tc-secao { padding: 80px 0; }

    .tc-hero { min-height: 100svh; }
    .tc-hero-conteudo {
        padding: 0 24px 60px;
        max-width: 100%;
    }
    .tc-hero-titulo { font-size: 52px; }
    .tc-hero-destaque { font-size: 18px; }

    .tc-hero-form-card { padding: 40px 24px; text-align: center; }
    .tc-overline { text-align: center; }
    .tc-form-titulo { font-size: 32px; text-align: center; }

    .tc-kpi-numero { font-size: 68px; }

    .tc-conceito-secao { padding: 100px 0; }
    .tc-conceito-titulo { font-size: 45px; }
    .tc-conceito-inner { max-width: 100%; }

    .tc-secao-cabecalho { flex-direction: column; gap: 0; margin-bottom: 48px; }
    .tc-secao-num { font-size: 68px; margin-bottom: -20px; }

    .tc-galeria-secao { padding: 80px 0; }
    .tc-galeria-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 0 20px;
    }
    .tc-galeria-item {
        flex: 0 0 80vw;
        height: 240px;
        scroll-snap-align: start;
    }

    .tc-plantas-secao { padding: 80px 0; }
    .tc-planta-area { font-size: 54px; }

    .tc-diferenciais-secao { padding: 80px 0; }
    .tc-diferenciais-grid { grid-template-columns: 1fr; }
    .tc-card-diferencial { padding: 32px 24px; }

    .tc-localizacao-secao { padding: 80px 0; }
    .tc-referencias-grid { grid-template-columns: repeat(2, 1fr); }

    .tc-form-rodape-secao { padding: 100px 0; }
    .tc-form-rodape-titulo { font-size: 43px; }

    .tc-footer { padding: 50px 0 30px; }
    .tc-footer-top { flex-direction: column; gap: 24px; align-items: flex-start; }
    .tc-footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }

    .tc-sticky-bar { display: flex; }
    .pagina-the-city { padding-bottom: 68px; }

    .tc-lightbox-seta { width: 44px; height: 44px; font-size: 25px; }
    .tc-lightbox-ant { left: 10px; }
    .tc-lightbox-pro { right: 10px; }

    .tc-planta-tab { padding: 14px 0 14px 0; margin-right: 24px; font-size: 11px; }
}

@media (max-width: 480px) {
    .tc-hero-titulo { font-size: 43px; }
    .tc-nav-logo-torre { height: 30px; }
    .tc-referencias-grid { grid-template-columns: repeat(2, 1fr); }
    .tc-kpi-item { padding: 48px 16px; }
    .tc-kpi-numero { font-size: 58px; }
}
