/* C-Level Connect Brasil 2027 — camada de identidade da edição 2027 */
:root {
    --c27-green: #19ff7a;
    --c27-blue: #0a6cff;
    --c27-violet: #6a3df0;
    --c27-ink: #05070f;
    --c27-muted: rgba(255, 255, 255, 0.74);
    --c27-line: rgba(25, 255, 122, 0.22);
    --c27-ease: cubic-bezier(0.23, 1, 0.32, 1);              /* desaceleração suave, sem quique */
    --c27-lift: 0 12px 28px rgba(0, 0, 0, 0.45);             /* elevação neutra, sem brilho colorido */
    --c27-lift-lg: 0 20px 44px rgba(0, 0, 0, 0.55);

    /* Uma cor de destaque só: o verde 2027 substitui o ciano do design system nesta página */
    --ds-cyan: var(--c27-green);
    --ds-border: var(--c27-line);
}

/* Títulos de seção em Sora (o design system força Anton em caixa alta) */
h2 {
    font-family: 'Sora', sans-serif !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    text-wrap: balance;
}

body { background: var(--c27-ink); }

/* Seções */
.c27-sec {
    padding: clamp(72px, 10vw, 120px) 0;
    position: relative;
    background: var(--c27-ink);
    color: #fff;
}
.c27-sec--grad {
    background: linear-gradient(135deg, #05070f 0%, #062a4f 50%, #0a1a3d 100%);
}
.c27-sec--2026 {
    background: #0a0c16;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Tipografia */
.c27-h2 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1.9rem, 4.5vw, 3.25rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
}
.c27-accent { color: var(--c27-green); }
.c27-lead {
    font-size: clamp(1.02rem, 1.5vw, 1.22rem);
    color: var(--c27-muted);
    line-height: 1.65;
    max-width: 62ch;
}
.c27-highlight {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2.3vw, 1.6rem);
    color: #fff;
    line-height: 1.3;
    margin: 2rem 0 1rem;
}
.c27-quote {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    line-height: 1.3;
    color: #fff;
    font-weight: 300;
    font-style: italic;
    margin: 0;
}

/* Kicker da hero */
.c27-kicker {
    display: block;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.2rem; /* 19,2px em negrito: conta como texto grande para contraste */
    color: #fff;
    margin-bottom: 1.25rem;
}

/* Botões */
.c27-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--c27-green);
    color: var(--c27-ink);
    font-family: 'Geist Mono', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 1rem 1.6rem;
    border-radius: 999px;
    border: 2px solid var(--c27-green);
    text-decoration: none;
    transition: transform 0.3s var(--c27-ease), box-shadow 0.3s var(--c27-ease), background-color 0.3s var(--c27-ease), color 0.3s var(--c27-ease);
}
.c27-cta:hover, .c27-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--c27-lift);
    color: var(--c27-ink);
}
.c27-cta--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}
.c27-cta--ghost:hover, .c27-cta--ghost:focus-visible {
    background: #fff;
    color: var(--c27-ink);
    box-shadow: none;
}

/* Cards */
.c27-card {
    background: rgba(5, 7, 15, 0.6);
    border: 1px solid var(--c27-line);
    border-radius: 18px;
    padding: 1.6rem;
    height: 100%;
    transition: border-color 0.3s var(--c27-ease), transform 0.3s var(--c27-ease);
}
.c27-card:hover { border-color: var(--c27-green); transform: translateY(-4px); }
.c27-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: #fff;
    margin: 0.75rem 0 0.5rem;
}
.c27-card p { color: var(--c27-muted); margin: 0; line-height: 1.6; }
.c27-big {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(2.6rem, 5vw, 3.4rem);
    color: var(--c27-green);
    line-height: 1;
}

/* Badges de cargos */
.c27-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 2rem 0 0; }
.c27-badge {
    font-family: 'Geist Mono', monospace;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
}

/* Painel em degradê */
.c27-panel {
    background: linear-gradient(135deg, rgba(10, 108, 255, 0.28), rgba(106, 61, 240, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    height: 100%;
}
.c27-panel h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
    margin-bottom: 1rem;
}
.c27-label {
    font-family: 'Geist Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 0.6rem;
}

/* Pills de mídia */
.c27-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.75rem 0; }
.c27-pill {
    font-family: 'Geist Mono', monospace;
    font-size: 0.9rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.55rem 1rem;
    border-radius: 999px;
}

/* Resumo compacto 2026 */
.c27-mini {
    border-top: 2px solid var(--c27-green);
    padding-top: 1rem;
    height: 100%;
}
.c27-mini h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}
.c27-mini p { color: var(--c27-muted); font-size: 0.95rem; margin: 0; line-height: 1.55; }

/* Foco visível para teclado */
.c27-sec a:focus-visible, .hero-section a:focus-visible, .navbar a:focus-visible {
    outline: 2px solid var(--c27-green);
    outline-offset: 3px;
}

/* Responsivo */
@media (max-width: 768px) {
    .c27-cta { width: 100%; }
    .c27-panel { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .c27-card, .c27-cta { transition: none !important; }
}

/* Títulos dos painéis 2026: cor sólida no lugar do texto em degradê */
.c27-panel-title { color: #fff !important; font-family: 'Sora', sans-serif; text-wrap: balance; }

/* Prova 2026: antes da chamada final */
.c27-sec--proof { background: #0a0c16; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.c27-subhead {
    font-family: 'Geist Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c27-muted);
    margin: 2.5rem 0 1.25rem;
}
.c27-sec--proof .speaker-card { height: 100%; padding: 1.25rem 0.75rem !important; text-align: center; }
.c27-sec--proof .speaker-name { font-family: 'Sora', sans-serif; font-size: 1rem !important; font-weight: 700; }
.c27-sec--proof .speaker-role { font-size: 0.85rem; line-height: 1.4; }

/* Mediador: anel branco (sem magenta) para diferenciar sem criar outra cor de destaque */
.mediador-clean .panel-img-wrapper { border-color: #fff !important; }

/* Painéis recolhidos */
.c27-more { margin-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.c27-more__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    cursor: pointer;
    list-style: none;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: #fff;
}
.c27-more__toggle::-webkit-details-marker { display: none; }
.c27-more__toggle::after {
    content: "";
    flex: none;
    width: 0.7rem;
    height: 0.7rem;
    border-right: 2px solid var(--c27-green);
    border-bottom: 2px solid var(--c27-green);
    transform: rotate(45deg) translateY(-25%);
    transition: transform 0.3s var(--c27-ease);
}
.c27-more[open] > .c27-more__toggle::after { transform: rotate(-135deg) translateY(-25%); }
.c27-more__toggle:hover { color: var(--c27-green); }
.c27-more__toggle:focus-visible { outline: 2px solid var(--c27-green); outline-offset: 4px; }
.c27-more__body { padding-top: 0.5rem; }
/* Abas dos painéis: quebram em linhas no lugar de rolar escondidas para o lado */
.c27-more .nav-pills-custom { flex-wrap: wrap; justify-content: center; gap: 0.5rem; border-radius: 24px !important; }

/* Contato direto na chamada final */
.c27-contact { margin: 1.75rem auto 0; color: var(--c27-muted); max-width: 62ch; line-height: 1.6; }
.c27-contact strong { color: #fff; }
.c27-contact a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c27-green); overflow-wrap: normal; }
.c27-contact a:hover { color: var(--c27-green); }

/* Rodapé enxuto */
.c27-footer {
    background: var(--c27-ink);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Ajustes sobre o design-system.css (compartilhado com o site antigo) só nesta página:
   sombras neutras no lugar de brilho colorido e sem pulso no botão primário */
.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active { animation: none !important; }
.btn-primary:hover, .btn-primary:focus { transform: translateY(-2px) !important; box-shadow: var(--c27-lift) !important; }
.btn-bio:hover { box-shadow: var(--c27-lift) !important; }
.modern-card:hover, .speaker-card:hover { box-shadow: var(--c27-lift-lg) !important; }
.speaker-img-container { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important; }
.nav-pills-custom .nav-link.active { box-shadow: var(--c27-lift) !important; }
.shadow-sm { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) !important; }
.text-gradient { background: none !important; -webkit-text-fill-color: currentColor !important; color: #fff !important; }

/* ---------- Verde só no que converte ---------- */
/* "Ver Bio" vira link discreto: o verde cheio fica só nos botões de contato */
.btn-bio, .btn-bio.btn-sm {
    background: transparent !important;
    color: #fff !important;
    border: 0 !important;
    padding: 0.35rem 0.25rem !important;
    min-height: 44px;
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 4px;
    box-shadow: none !important;
}
.btn-bio:hover, .btn-bio:focus-visible {
    background: transparent !important;
    color: var(--c27-green) !important;
    text-decoration-color: var(--c27-green);
    transform: none !important;
}
.speaker-role, .panel-person-clean .text-primary { color: var(--c27-muted) !important; }
.speaker-img-container { border-color: rgba(255, 255, 255, 0.22) !important; }
.panel-img-wrapper { border-color: rgba(255, 255, 255, 0.22) !important; }
.mediador-clean .panel-img-wrapper { border-color: #fff !important; }
.nav-pills-custom .nav-link.active {
    background-color: #fff !important;
    border-color: #fff !important;
    color: var(--c27-ink) !important;
}
.nav-pills-custom .nav-link:not(.active):hover { border-color: #fff !important; color: #fff !important; }
.nav-pills-custom .nav-link.active:hover { color: var(--c27-ink) !important; }

/* ---------- Hero: ocupa a tela inteira em qualquer resolução ---------- */
/* O fundo começa no topo, atrás do cabeçalho translúcido; o conteúdo fica centralizado
   no espaço abaixo dele. --c27-nav-h vem do script da página (altura real do cabeçalho). */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    height: auto !important;
    min-height: 100vh;
    min-height: 100svh;
    margin-top: 0 !important;
    padding-top: calc(var(--c27-nav-h, 109px) + clamp(16px, 4vh, 48px)) !important;
    padding-bottom: clamp(24px, 6vh, 72px) !important;
}
.hero-section > .container { width: 100%; }

/* Véu uniforme bem leve (10%) */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(5, 7, 15, 0.10);
}
.hero-section .c27-lead { color: #fff; }


/* Tipografia do hero acompanha largura E altura da tela, para caber em monitores baixos */
.hero-section .hero-title { font-size: clamp(36px, min(5.4vw, 8.6vh), 96px) !important; margin-bottom: clamp(12px, 2.4vh, 28px) !important; }
.hero-section .c27-kicker { margin-bottom: clamp(0.5rem, 2vh, 1.25rem); }
.hero-section .c27-lead { font-size: clamp(1rem, min(1.5vw, 2.4vh), 1.25rem); margin-top: clamp(0.5rem, 1.6vh, 1rem) !important; }
.hero-section .d-flex.gap-3 { margin-top: clamp(1rem, 3vh, 1.75rem) !important; }

/* ---------- Cobertura da Globo dentro da prova ---------- */
.c27-press { margin-top: 2.5rem; padding-top: 0.5rem; }
.c27-press .c27-subhead { margin-top: 0; }

/* ---------- Leitura ---------- */
.c27-sec p, .hero-section p { text-wrap: pretty; }
.c27-nowrap { white-space: nowrap; }

/* ---------- Celular e topo ---------- */
.navbar-brand img.c27-logo { height: 78px; width: auto; }
html { scroll-padding-top: 120px; }
@media (max-width: 991.98px) {
    .navbar-brand img.c27-logo { height: 48px; }
    html { scroll-padding-top: 88px; }
    .navbar-nav .nav-link { min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 767.98px) {
    /* 5 speakers em 2 colunas: o último ocupa a linha inteira em vez de ficar sozinho num canto */
    .c27-sec--proof .row > .col:last-child:nth-child(odd) { flex: 0 0 100%; max-width: 100%; }
}

/* ---------- Rodada 4 ---------- */

/* Faixa de prova logo após o hero */
.c27-proofbar {
    background: #0a0c16;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.1rem 0;
}
.c27-proofbar p { margin: 0; color: var(--c27-muted); font-size: 1rem; line-height: 1.55; }
.c27-proofbar strong { color: #fff; font-family: 'Sora', sans-serif; }
.c27-proofbar a {
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-color: var(--c27-green);
    text-underline-offset: 4px;
}
.c27-proofbar a:hover { color: var(--c27-green); }

/* Globo: bloco próprio, pronto para logos e vídeos */
.c27-press {
    margin-top: 3rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
}
.c27-press__title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    margin: 0 0 0.5rem;
}
.c27-press__programs { color: var(--c27-muted); margin: 0; line-height: 1.5; }

/* "Para sua marca": pontos abertos, sem caixas, para quebrar a grade de cards */
.c27-point { border-top: 2px solid rgba(255, 255, 255, 0.85); padding-top: 1.25rem; height: 100%; }
.c27-point h3 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.6rem;
}
.c27-point p { color: var(--c27-muted); margin: 0; line-height: 1.6; }

/* Separa duas seções seguidas com o mesmo fundo */
.c27-sec--line { border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* Público: grade de cargos (ícone + sigla + área) */
.c27-roles {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.c27-roles li {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: clamp(1rem, 2.4vw, 1.6rem);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.c27-roles i {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.6rem;
}
.c27-roles strong {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.01em;
}
.c27-roles span { font-size: 0.95rem; color: var(--c27-muted); line-height: 1.35; }
@media (max-width: 767.98px) {
    .c27-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Uberlândia: números em tipo grande */
.c27-stat { border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 1rem; }
.c27-stat .c27-big { color: #fff; margin-bottom: 0.5rem; }
.c27-stat p { color: var(--c27-muted); margin: 0; max-width: 34ch; line-height: 1.55; }

/* Chamada final com fundo próprio */
.c27-sec--close {
    background: radial-gradient(120% 90% at 50% 0%, rgba(25, 255, 122, 0.10), transparent 60%), var(--c27-ink);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Painéis 2026: títulos e nomes em Sora negrito */
.panel-person-clean h4 { font-family: 'Sora', sans-serif; font-weight: 700 !important; color: #fff !important; }
.c27-panel-title { font-weight: 700 !important; }

/* Menu: contato como botão compacto */
.navbar .c27-nav-cta {
    background: var(--c27-green);
    color: var(--c27-ink) !important;
    border-radius: 999px;
    padding: 0.5rem 1rem !important;
    font-weight: 700;
}
.navbar .c27-nav-cta::after { display: none !important; }
.navbar .c27-nav-cta:hover, .navbar .c27-nav-cta.active { color: var(--c27-ink) !important; background: #fff; }
@media (min-width: 992px) { .c27-nav-cta-item { margin-left: 0.75rem; display: flex; align-items: center; } }
@media (max-width: 991.98px) {
    .c27-nav-cta-item { padding: 0.5rem 0 0.75rem; }
    .navbar .c27-nav-cta { justify-content: center; }
}

/* Ícone do menu vira X quando aberto */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,0.85%29' stroke-linecap='round' stroke-width='2' d='M8 8l14 14M22 8L8 22'/%3e%3c/svg%3e");
}

/* Celular: margem lateral de 16px e abas dos painéis em grade */
@media (max-width: 575.98px) {
    .container { --bs-gutter-x: 2rem; }
    .c27-more .nav-pills-custom {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 !important;
        margin-left: 0;
        margin-right: 0;
        background: none !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: visible;
    }
    .c27-more .nav-pills-custom .nav-item { min-width: 0; }
    .c27-more .nav-pills-custom .nav-link {
        width: 100%;
        white-space: normal;
        padding: 0.6rem 0.5rem !important;
        font-size: 0.72rem !important;
        letter-spacing: 0.04em !important;
        min-height: 44px;
    }
    .hero-section .d-flex.gap-3 { gap: 0.75rem !important; }
}

/* ---------- Lançamento do APP (14/10/2026) ---------- */
.c27-sec--launch { background: var(--c27-ink); padding-bottom: clamp(56px, 8vw, 96px); }
.c27-sec--launch .c27-h2 { font-size: clamp(1.9rem, 3.3vw, 2.75rem); }
.c27-launch__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem clamp(1.25rem, 3vw, 2.5rem);
    margin: 2rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.c27-launch__facts dt {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 0.2rem;
}
.c27-launch__facts dd {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    white-space: nowrap;
}
.c27-launch__figure { margin: 0; }
.c27-launch__figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--c27-lift-lg);
}
.c27-launch__figure figcaption { margin-top: 0.75rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.62); }

/* Vídeos do lançamento: capa principal + card do app (os dois abrem no modal) */
.c27-videos { display: grid; gap: 1rem; }
.c27-video {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    overflow: hidden;
    background: #0a0c16;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    box-shadow: var(--c27-lift-lg);
    text-align: left;
}
.c27-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--c27-ease);
}
/* Escurece só a base, para a legenda ler bem sobre a imagem */
.c27-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(5, 7, 15, 0.85) 100%);
    pointer-events: none;
}
.c27-video__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 76px;
    height: 76px;
    margin: -38px 0 0 -38px;
    border-radius: 999px;
    background: var(--c27-green);
    color: var(--c27-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s var(--c27-ease), background-color 0.25s var(--c27-ease);
}
.c27-video__play svg { width: 30px; height: 30px; margin-left: 4px; }
.c27-video__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    font-family: 'Sora', sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 400;
    line-height: 1.35;
    color: #fff;
    text-wrap: balance;
}
.c27-video__caption strong { font-weight: 700; }
.c27-video:hover img { transform: scale(1.03); }
.c27-video:hover .c27-video__play, .c27-video:focus-visible .c27-video__play { transform: scale(1.08); background: #fff; }
.c27-video:focus-visible { outline: 2px solid var(--c27-green); outline-offset: 3px; }

.c27-video-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.25s var(--c27-ease), background-color 0.25s var(--c27-ease);
}
.c27-video-card:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.07); }
.c27-video-card:hover .c27-video__play, .c27-video-card:focus-visible .c27-video__play { background: #fff; }
.c27-video-card:focus-visible { outline: 2px solid var(--c27-green); outline-offset: 3px; }
.c27-video-card__thumb {
    position: relative;
    flex: none;
    width: clamp(120px, 34%, 200px);
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0c16;
}
.c27-video-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c27-video__play--sm { width: 40px; height: 40px; margin: -20px 0 0 -20px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45); }
.c27-video__play--sm svg { width: 16px; height: 16px; margin-left: 2px; }
.c27-video-card__text { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.c27-video-card__label { font-size: 0.85rem; font-weight: 600; color: var(--c27-green); }
.c27-video-card__title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(0.98rem, 1.4vw, 1.1rem);
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    text-wrap: balance;
}
@media (prefers-reduced-motion: reduce) {
    .c27-video img, .c27-video__play { transition: none; }
    .c27-video:hover img { transform: none; }
}

/* Modal dos vídeos */
.c27-videobox {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
}
.c27-videobox::backdrop { background: rgba(5, 7, 15, 0.94); }
.c27-videobox[open] { display: flex; align-items: center; justify-content: center; }
.c27-videobox__inner { width: min(92vw, calc((100vh - 160px) * 16 / 9), 1200px); }
.c27-videobox__title {
    font-family: 'Sora', sans-serif !important;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700 !important;
    color: #fff;
    margin: 0 3.5rem 0.9rem 0;
    text-wrap: balance;
}
.c27-videobox__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
}
.c27-videobox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Na Globo: logotipos + texto em cima, duas reportagens lado a lado */
.c27-press__head {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
.c27-press__logos { width: clamp(110px, 14vw, 150px); height: auto; flex: none; }
.c27-press__head .c27-press__title { margin-bottom: 0.4rem; }
.c27-press-video {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    text-align: left;
    cursor: pointer;
}
.c27-press-video__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0a0c16;
    margin-bottom: 0.6rem;
}
.c27-press-video__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--c27-ease);
}
.c27-press-video__program { font-size: 0.85rem; font-weight: 600; color: var(--c27-green); }
.c27-press-video__title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 700;
    line-height: 1.3;
    text-wrap: balance;
}
.c27-press-video:hover .c27-press-video__thumb img { transform: scale(1.03); }
.c27-press-video:hover .c27-video__play, .c27-press-video:focus-visible .c27-video__play { transform: scale(1.08); background: #fff; }
.c27-press-video:focus-visible { outline: 2px solid var(--c27-green); outline-offset: 4px; border-radius: 16px; }
@media (max-width: 575.98px) {
    .c27-press__head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .c27-press-video__thumb img { transition: none; }
    .c27-press-video:hover .c27-press-video__thumb img { transform: none; }
}

/* Carrossel de fotos */
.c27-gallery { margin-top: clamp(3rem, 6vw, 4.5rem); }
.c27-gallery__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.c27-gallery__title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: #fff;
    margin: 0;
}
.c27-gallery__title span {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.62);
    margin-left: 0.5rem;
}
.c27-gallery__nav { display: flex; gap: 0.5rem; flex: none; }
.c27-gallery__arrow {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s var(--c27-ease), color 0.25s var(--c27-ease), border-color 0.25s var(--c27-ease);
}
.c27-gallery__arrow:hover { background: #fff; color: var(--c27-ink); border-color: #fff; }
.c27-gallery__arrow:focus-visible { outline: 2px solid var(--c27-green); outline-offset: 3px; }
.c27-gallery__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* bordas que esmaecem, para indicar que há mais fotos */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.c27-gallery__viewport::-webkit-scrollbar { display: none; }
.c27-gallery__viewport:focus-visible { outline: 2px solid var(--c27-green); outline-offset: -2px; }
.c27-gallery__track {
    list-style: none;
    margin: 0;
    padding: 0.25rem 0;
    display: flex;
    gap: 12px;
    width: max-content;
}
.c27-gallery__slide { flex: none; }
.c27-gallery__item {
    display: block;
    padding: 0;
    border: 0;
    background: #0a0c16;
    border-radius: 14px;
    overflow: hidden;
    cursor: zoom-in;
    height: clamp(180px, 22vw, 260px);
}
.c27-gallery__item img {
    display: block;
    height: 100%;
    width: auto;
    transition: transform 0.5s var(--c27-ease), opacity 0.3s var(--c27-ease);
}
.c27-gallery__item:hover img { transform: scale(1.04); }
.c27-gallery__item:focus-visible { outline: 2px solid var(--c27-green); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    .c27-gallery__item img { transition: none; }
    .c27-gallery__item:hover img { transform: none; }
}

/* Ampliação */
.c27-lightbox {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
}
.c27-lightbox::backdrop { background: rgba(5, 7, 15, 0.92); }
.c27-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.c27-lightbox__figure { margin: 0; text-align: center; pointer-events: none; }
.c27-lightbox__figure img {
    display: block;
    max-width: min(92vw, 1280px);
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    pointer-events: auto;
}
.c27-lightbox__count { margin-top: 0.75rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.75); }
.c27-lightbox__btn {
    position: fixed;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(5, 7, 15, 0.6);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.c27-lightbox__btn:hover { background: #fff; color: var(--c27-ink); }
.c27-lightbox__btn:focus-visible { outline: 2px solid var(--c27-green); outline-offset: 3px; }
.c27-lightbox__close { top: 16px; right: 16px; }
.c27-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.c27-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 575.98px) {
    .c27-lightbox__prev, .c27-lightbox__next { top: auto; bottom: 16px; transform: none; }
    .c27-lightbox__figure img { max-height: 70vh; }
}

/* Evita rolagem lateral causada pelos gutters negativos do grid Bootstrap em telas pequenas */
html, body { overflow-x: clip; }

/* Data do hero no celular: data e cidade em linhas separadas, sem o ponto solto */
@media (max-width: 575.98px) {
    .c27-kicker__sep { display: none; }
    .c27-kicker__city { display: block; }
}


/* Reportagens do g1: link direto (nova aba) */
.c27-press-video { text-decoration: none; }
.c27-press-video:hover { color: #fff; }
.c27-press-video__program i { font-size: 0.75em; margin-left: 0.15rem; }
/* Três reportagens lado a lado: play e manchete um pouco menores */
.c27-press-video .c27-video__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.c27-press-video .c27-video__play svg { width: 22px; height: 22px; margin-left: 3px; }
.c27-press-video__title { font-size: clamp(0.98rem, 1.25vw, 1.08rem); }

/* ---------- Contador flutuante (base da tela) ---------- */
/* 450px +10% = 495px */
.c27-countdown {
    position: fixed;
    left: 50%;
    bottom: 30px;
    z-index: 1030;
    width: min(495px, calc(100% - 32px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.44rem;
    padding: 8px 8px 8px 18px;
    border-radius: 999px;
    background: var(--c27-green);
    color: #000;
    box-shadow: 0 11px 28px rgba(0, 0, 0, 0.45);
    transition: opacity 0.35s var(--c27-ease), transform 0.35s var(--c27-ease);
}
.c27-countdown.is-hidden { opacity: 0; transform: translate(-50%, 12px); pointer-events: none; }
.c27-countdown.is-closed { display: none; }
.c27-countdown__title {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.28;
    text-transform: uppercase;
    color: #000;
}
/* Três linhas fixas: O C-LEVEL / CONNECT BRASIL / COMEÇA EM: */
.c27-countdown__line { display: block; white-space: nowrap; }
.c27-countdown__clock { display: flex; gap: 24px; margin-left: auto; }
.c27-countdown__unit { display: flex; flex-direction: column; align-items: center; }
.c27-countdown__num {
    font-family: 'Sora', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.c27-countdown__lbl {
    margin-top: 0.24rem;
    font-family: 'Geist Mono', monospace;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.c27-countdown__cta {
    flex: none;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 0.82rem;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-family: 'Geist Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.25s var(--c27-ease), color 0.25s var(--c27-ease);
}
.c27-countdown__cta:hover { background: #fff; color: #000; }
.c27-countdown__cta:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
/* Botão de fechar: círculo pequeno no canto, com área de toque maior que o desenho */
.c27-countdown__close {
    position: absolute;
    top: -10px;
    right: -7px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 2px solid var(--c27-green);
    border-radius: 999px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.c27-countdown__close::before { content: ""; position: absolute; inset: -9px; }
.c27-countdown__close svg { width: 13px; height: 13px; }
.c27-countdown__close:hover { background: #fff; color: #000; }
.c27-countdown__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.c27-countdown.is-live .c27-countdown__clock { display: none; }
/* Espaço no fim da página para a barra não cobrir o rodapé */
.c27-footer { padding-bottom: 120px; }

/* Celular: duas linhas (título + números em cima, botão embaixo em largura total) */
@media (max-width: 575.98px) {
    .c27-countdown {
        bottom: 16px;
        width: calc(100% - 24px);
        flex-wrap: wrap;
        gap: 11px 13px;
        padding: 13px 13px 13px 18px;
        border-radius: 22px;
    }
    .c27-countdown__title { font-size: 0.64rem; }
    .c27-countdown__clock { gap: 18px; }
    .c27-countdown__num { font-size: 1.43rem; }
    .c27-countdown__cta { flex: 1 1 100%; margin-left: 0; min-height: 46px; font-size: 0.72rem; }
    .c27-footer { padding-bottom: 165px; }
}
@media (max-width: 359.98px) {
    .c27-countdown { gap: 11px 10px; padding-left: 14px; }
    .c27-countdown__clock { gap: 11px; }
    .c27-countdown__num { font-size: 1.3rem; }
    .c27-countdown__title { font-size: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) { .c27-countdown { transition: none; } }

/* Hero reserva espaço para o contador flutuante (60px de barra + 30px de margem + respiro),
   para a barra aparecer desde o início sem cobrir os botões */
@media (min-width: 576px) {
    .hero-section { padding-bottom: 116px !important; }
}
/* Desktops baixos (notebooks): hero mais compacto para caber acima do contador */
@media (min-width: 576px) and (max-height: 760px) {
    .hero-section { padding-top: calc(var(--c27-nav-h, 109px) + 12px) !important; padding-bottom: 104px !important; }
    .hero-section .hero-title { font-size: clamp(32px, min(5vw, 7vh), 72px) !important; margin-bottom: 10px !important; }
    .hero-section .c27-kicker { margin-bottom: 0.5rem; font-size: 1.05rem; }
    .hero-section .c27-lead { font-size: 0.98rem; margin-top: 0.35rem !important; line-height: 1.5; }
    .hero-section .d-flex.gap-3 { margin-top: 0.9rem !important; }
}

/* ---------- Vídeo da 1ª edição: faixa em largura total ---------- */
/* Mantém a proporção da capa (1527×756) para o rosto e o texto nunca serem cortados */
.c27-videobanner { padding: 0 !important; background: #000; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.c27-videobanner__btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
    aspect-ratio: 1527 / 756;
    overflow: hidden;
}
.c27-videobanner__btn img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Play pequeno, centralizado na horizontal e abaixo do rosto (região do pescoço, acima do texto) */
.c27-videobanner .c27-videobanner__play {
    top: 64%;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
}
.c27-videobanner .c27-videobanner__play svg { width: 22px; height: 22px; margin-left: 3px; }
.c27-videobanner__btn:hover .c27-video__play, .c27-videobanner__btn:focus-visible .c27-video__play { transform: scale(1.1); background: #fff; }
.c27-videobanner__btn:focus-visible { outline: 3px solid var(--c27-green); outline-offset: -3px; }
@media (max-width: 575.98px) {
    .c27-videobanner .c27-videobanner__play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
    .c27-videobanner .c27-videobanner__play svg { width: 18px; height: 18px; margin-left: 2px; }
}

/* ---------- Manifesto: texto à esquerda, imagem à direita em tela cheia, citação embaixo ---------- */
.c27-manifesto { position: relative; overflow: hidden; isolation: isolate; }
.c27-manifesto__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 0;
    background: #000;
}
/* A imagem já vem nas cores do evento (fundo preto, luzes roxo/azul/verde): sem filtro.
   O lado esquerdo dela é preto, então ela ocupa a largura toda e o texto fica sobre o escuro. */
.c27-manifesto__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 45%;
    display: block;
}
/* Imagem ao natural: sem filtros, degradês ou máscaras */
.c27-manifesto__content { position: relative; z-index: 1; }
.c27-manifesto__quote {
    margin: 0;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 60ch;
    font-size: clamp(0.98rem, 1.2vw, 1.12rem);
    font-weight: 300;
    line-height: 1.45;
    text-wrap: balance;
}
@media (max-width: 991.98px) {
    /* Tablet e celular: imagem em cima, texto embaixo */
    .c27-manifesto { padding-top: 0 !important; }
    .c27-manifesto__media { position: relative; width: 100%; height: clamp(240px, 52vw, 420px); }
    .c27-manifesto__content { margin-top: 2rem; }
}
/* Imagem só na altura do bloco de texto; a citação fica logo abaixo, sobre fundo escuro */
.c27-manifesto { padding-top: 0 !important; }
.c27-manifesto__top { position: relative; padding: clamp(72px, 10vw, 120px) 0 clamp(20px, 2.5vw, 32px); min-height: min(640px, 80vh); display: flex; align-items: center; }
.c27-manifesto__top > .container { width: 100%; }
@media (max-width: 991.98px) {
    .c27-manifesto__top { display: block; min-height: 0; padding-top: 0; }
}
@media (max-width: 991.98px) { .c27-manifesto__media img { object-position: 72% 45%; } }

/* ---------- Patrocinadores do lançamento: 7 x 4 (tablet 4, celular 3) ---------- */
.c27-sponsors { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.c27-sponsors__title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.2;
    color: #fff;
    margin: 0 0 0.5rem;
    text-wrap: balance;
}
.c27-sponsors__lead { color: var(--c27-muted); margin: 0 0 1.75rem; max-width: 62ch; }
.c27-sponsors__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.c27-sponsors__grid li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.6rem, 1.4vw, 1.1rem);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.c27-sponsors__grid img { display: block; width: 100%; height: auto; max-width: 180px; }
@media (max-width: 991.98px) { .c27-sponsors__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
    /* Celular: 2 logos por linha (28 logos = 14 linhas completas) */
    .c27-sponsors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .c27-sponsors__grid li { padding: 0.75rem 1rem; }
    .c27-sponsors__grid img { max-width: 150px; }
}

/* Fotos dos Big Speakers: proporcionais ao card (até 150px, nunca maiores que o espaço), sempre redondas */
.c27-sec--proof .speaker-img-container {
    box-sizing: border-box;
    width: min(150px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto 1.25rem !important;
}
.c27-sec--proof .speaker-img-container img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 575.98px) {
    .c27-sec--proof .speaker-img-container { width: min(120px, 100%); margin-bottom: 0.9rem !important; }
    .c27-sec--proof .speaker-card { padding: 1rem 0.6rem !important; }
}

/* Manifesto no celular: só o texto (sem a imagem do handshake); desktop e tablet mantêm a imagem */
@media (max-width: 767.98px) {
    .c27-manifesto__media { display: none; }
    .c27-manifesto__top { padding-top: clamp(56px, 14vw, 72px); }
    .c27-manifesto__content { margin-top: 0; }
}

/* Título do aftermovie, acima da faixa do vídeo */
.c27-videobanner__head { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(24px, 3vw, 36px); }
.c27-videobanner__title { margin: 0; text-align: center; }

/* Manifesto com 2 vídeos à esquerda (substituiu a imagem do handshake) */
.c27-manifesto__top { min-height: 0; }
@media (max-width: 991.98px) {
    .c27-manifesto__top { padding-top: clamp(56px, 10vw, 80px); }
    .c27-manifesto__content { margin-top: 0; }
}

/* ---------- Cotas de patrocínio: planta interativa ---------- */
.c27-cotas { background: var(--c27-ink); }
.c27-cotas [data-tier="diamond"]  { --tier: #2ad4f5; }
.c27-cotas [data-tier="platinum"] { --tier: #b9bac6; }
.c27-cotas [data-tier="safira"]   { --tier: #3d7dff; }
.c27-cotas [data-tier="gold"]     { --tier: #ffd60a; }
.c27-cotas [data-tier="silver"]   { --tier: #eceef4; }
.c27-cotas__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.c27-cotas__first {
    margin: 1.25rem 0 0;
    padding: 0.9rem 1.1rem;
    border-left: 3px solid var(--c27-green);
    background: rgba(25, 255, 122, 0.07);
    border-radius: 0 10px 10px 0;
    color: rgba(255, 255, 255, 0.86);
    max-width: 62ch;
}
.c27-cotas__first strong { color: #fff; }

.c27-cotas__tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: clamp(20px, 3vw, 32px); }
.c27-cotas__tab {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.6rem 0.95rem 0.6rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.95rem;
    transition: border-color .25s var(--c27-ease), background-color .25s var(--c27-ease), color .25s var(--c27-ease);
    cursor: pointer;
}
.c27-cotas__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--tier); flex: none; }
.c27-cotas__qty {
    font-family: 'Geist Mono', monospace; font-size: 0.75rem; font-weight: 500;
    padding: 0.1rem 0.45rem; border-radius: 999px;
    background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.75);
}
.c27-cotas__tab:hover { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.c27-cotas__tab.is-active { border-color: var(--tier); background: color-mix(in srgb, var(--tier) 14%, transparent); color: #fff; }
.c27-cotas__tab:focus-visible { outline: 2px solid var(--c27-green); outline-offset: 3px; }

/* Planta: imagem + camada SVG com os estandes */
.c27-plan { position: relative; margin: 0; }
.c27-plan img { display: block; width: 100%; height: auto; }
.c27-plan__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.c27-plan__dim { fill: #05070f; opacity: 0; transition: opacity .35s var(--c27-ease); }
.c27-plan.has-active .c27-plan__dim { opacity: 0.5; }
.c27-plan__map [data-plan-booths] rect {
    rx: 10px;
    fill: transparent;
    stroke: transparent;
    stroke-width: 5;
    cursor: pointer;
    transition: fill .3s var(--c27-ease), stroke .3s var(--c27-ease);
}
.c27-plan__map [data-plan-booths] rect:hover { stroke: rgba(255, 255, 255, 0.85); }
.c27-plan__map [data-plan-booths] rect.is-on {
    fill: color-mix(in srgb, var(--tier) 22%, transparent);
    stroke: var(--tier);
    animation: c27-booth-pulse 2.4s var(--c27-ease) infinite;
}
@keyframes c27-booth-pulse {
    0%, 100% { stroke-opacity: 1; }
    50% { stroke-opacity: 0.45; }
}

/* Painel da cota */
.c27-tier {
    position: relative;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 3px solid var(--tier);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}
.c27-tier[hidden] { display: none; }
.c27-tier__count {
    margin: 0 0 0.35rem;
    font-family: 'Geist Mono', monospace; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--tier);
}
.c27-tier__name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: #fff; margin: 0 0 0.75rem; }
.c27-tier__pitch { color: rgba(255, 255, 255, 0.8); line-height: 1.6; margin: 0 0 1.25rem; }
.c27-tier__specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; margin: 0 0 1.25rem; }
.c27-tier__specs > div { padding: 0.75rem 0.9rem; border-radius: 10px; background: rgba(255, 255, 255, 0.06); }
.c27-tier__specs dt { font-size: 0.78rem; font-weight: 500; color: rgba(255, 255, 255, 0.65); margin-bottom: 0.15rem; }
.c27-tier__specs dd { margin: 0; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; }
.c27-tier__list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.55rem; }
.c27-tier__list li { position: relative; padding-left: 1.6rem; color: rgba(255, 255, 255, 0.85); line-height: 1.5; }
.c27-tier__list li::before {
    content: ""; position: absolute; left: 0.1rem; top: 0.42em;
    width: 0.85rem; height: 0.5rem;
    border-left: 2px solid var(--c27-green); border-bottom: 2px solid var(--c27-green);
    transform: rotate(-45deg);
}
.c27-tier__cta { width: 100%; justify-content: center; text-align: center; }
.c27-cotas__note { margin: 0.9rem 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); text-align: center; }

@media (max-width: 991.98px) {
    /* Celular/tablet: abas roláveis para o lado */
    .c27-cotas__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -12px; padding: 2px 12px 6px; }
    .c27-cotas__tabs::-webkit-scrollbar { display: none; }
    .c27-cotas__tab { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
    .c27-plan__map [data-plan-booths] rect.is-on { animation: none; }
}
/* Menos espaço entre a planta e a seção seguinte (metade do respiro padrão) */
.c27-cotas { padding-bottom: 0 !important; }

/* Cotas mais compactas (bloco das abas até a base do mapa cerca de 15% mais baixo) */
.c27-cotas__tabs { margin-bottom: clamp(16px, 2vw, 22px); }
.c27-tier { padding: clamp(18px, 2.2vw, 24px) clamp(18px, 2.2vw, 26px); }
.c27-tier__name { font-size: clamp(1.4rem, 2vw, 1.65rem); margin-bottom: 0.5rem; }
.c27-tier__pitch { line-height: 1.5; margin-bottom: 0.9rem; }
.c27-tier__specs { gap: 0.6rem; margin-bottom: 0.9rem; }
.c27-tier__specs > div { padding: 0.55rem 0.8rem; }
.c27-tier__list { gap: 0.35rem; margin-bottom: 1.1rem; }
.c27-tier__cta { padding-top: 0.85rem; padding-bottom: 0.85rem; }
.c27-cotas__note { margin-top: 0.6rem; font-size: 0.85rem; }
@media (min-width: 992px) { .c27-plan { width: 96%; margin-inline: auto; } }
@media (min-width: 992px) {
    .c27-tier__pitch, .c27-tier__list li { font-size: 0.95rem; }
    .c27-tier__count { margin-bottom: 0.2rem; }
}

/* ---------- Cotas: estandes vendidos ---------- */
/* O estande vendido fica sempre escurecido, com contorno verde e selo de check */
.c27-plan__map [data-plan-booths] rect.is-sold,
.c27-plan__map [data-plan-booths] rect.is-sold.is-on {
    fill: rgba(5, 7, 15, 0.62);
    stroke: var(--c27-green);
    stroke-opacity: 1;
    animation: none;
}
.c27-plan__map [data-plan-booths] rect.is-sold:hover { fill: rgba(5, 7, 15, 0.4); }
.c27-plan__badge { pointer-events: none; }
.c27-plan__badge circle { fill: var(--c27-green); stroke: #05070f; stroke-width: 5; }
.c27-plan__badge path { fill: none; stroke: #05070f; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }

/* Cartão com a marca: fundo escuro para o logo branco ficar legível */
.c27-plan__tip {
    position: absolute;
    z-index: 2;
    transform: translate(-50%, calc(-100% - 12px));
    display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
    width: clamp(150px, 16vw, 200px);
    padding: 0.75rem 0.85rem 0.65rem;
    background: #0b0f1c;
    border: 1px solid var(--c27-green);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    animation: c27-tip-in .2s var(--c27-ease);
}
.c27-plan__tip[hidden] { display: none; }
.c27-plan__tip::after {
    content: ""; position: absolute; left: 50%; bottom: -7px;
    width: 12px; height: 12px; background: #0b0f1c;
    border-right: 1px solid var(--c27-green); border-bottom: 1px solid var(--c27-green);
    transform: translateX(-50%) rotate(45deg);
}
.c27-plan__tip img { display: block; width: 100%; height: auto; }
.c27-plan__tip-label {
    font-family: 'Geist Mono', monospace; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--c27-green);
}
@keyframes c27-tip-in { from { opacity: 0; transform: translate(-50%, calc(-100% - 4px)); } }

.c27-plan__legend {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    margin: 0.6rem 0 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65);
}
.c27-plan__legend-badge {
    position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--c27-green);
}
.c27-plan__legend-badge::after {
    content: ""; position: absolute; left: 5px; top: 3px; width: 5px; height: 8px;
    border-right: 2px solid #05070f; border-bottom: 2px solid #05070f; transform: rotate(45deg);
}
@media (prefers-reduced-motion: reduce) { .c27-plan__tip { animation: none; } }

/* ---------- Cotas: zoom da planta (celular/tablet) ---------- */
.c27-plan__viewport { position: relative; overflow: hidden; border-radius: 12px; touch-action: pan-y; }
.c27-plan__viewport.is-zoomed { touch-action: none; cursor: grab; }
.c27-plan__stage { position: relative; transform-origin: 0 0; transition: transform .25s var(--c27-ease); }
.c27-plan__viewport.is-zoomed .c27-plan__stage { will-change: transform; }
.c27-plan__zoom { display: none; }
.c27-plan__legend-mob { display: none; }
@media (max-width: 991.98px) {
    .c27-plan__zoom {
        position: absolute; right: 8px; bottom: 8px; z-index: 3;
        display: flex; flex-direction: column; gap: 6px;
    }
    .c27-plan__zoom-btn {
        width: 44px; height: 44px; display: grid; place-items: center;
        border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25);
        background: rgba(11, 15, 28, 0.88); color: #fff;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    }
    .c27-plan__zoom-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
    .c27-plan__zoom-btn[data-zoom="in"] { background: var(--c27-green); color: #05070f; border-color: var(--c27-green); }
    .c27-plan__zoom-btn:disabled { opacity: 0.35; }
    .c27-plan__zoom-btn:focus-visible { outline: 2px solid var(--c27-green); outline-offset: 2px; }

    /* Estande vendido no celular: só o contorno verde de 2px, sem o selo */
    .c27-plan__map [data-plan-booths] rect.is-sold,
    .c27-plan__map [data-plan-booths] rect.is-sold.is-on { stroke-width: 2px; vector-effect: non-scaling-stroke; }
    .c27-plan__badge { display: none; }
    .c27-plan__legend-badge { width: 16px; height: 12px; border-radius: 2px; background: transparent; border: 2px solid var(--c27-green); }
    .c27-plan__legend-badge::after { display: none; }
    .c27-plan__legend { justify-content: flex-start; align-items: flex-start; }
    .c27-plan__legend-badge { margin-top: 0.2rem; }
    .c27-plan__legend-desk { display: none; }
    .c27-plan__legend-mob { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .c27-plan__stage { transition: none; } }
.c27-plan__viewport.is-gesture .c27-plan__stage { transition: none; }
/* Botões de zoom abaixo da planta (não cobrem os estandes) */
@media (max-width: 991.98px) {
    .c27-plan__zoom { position: static; flex-direction: row; justify-content: flex-end; margin-top: 8px; }
}
