/* =========================================================
   Dia B Brasal 2026 — visual do KV v2 (novembro/2026)
   Grafite com névoa roxa, traço fino branco, Montserrat
   espaçada em caixa alta, "B" vazado em degradê.
   ========================================================= */

:root {
    --bg: #19171c;
    --bg-2: #211e25;
    --bg-3: #2a272d;
    --ink: #ffffff;
    --ink-soft: #d9d4de;
    --ink-muted: #b3abb9;
    --dia: #9365b0;
    --lilac: #a688b0;
    --line: rgba(255, 255, 255, 0.62);
    --line-soft: rgba(255, 255, 255, 0.22);
    --container: 1180px;
    --gutter: clamp(20px, 4vw, 48px);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--ink);
    background-color: var(--bg);
    background-image:
        radial-gradient(70% 55% at 62% 18%, rgba(106, 58, 134, 0.34), transparent 70%),
        radial-gradient(60% 40% at 10% 70%, rgba(106, 58, 134, 0.14), transparent 70%),
        linear-gradient(180deg, #1d1b20 0%, var(--bg) 40%, #1f1d22 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* granulado discreto, como a textura do KV */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > * {
    position: relative;
    z-index: 1;
}

::selection {
    background: var(--lilac);
    color: var(--bg);
}

:focus-visible {
    outline: 2px solid var(--lilac);
    outline-offset: 3px;
}

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

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Topo ---------- */
.topo {
    display: flex;
    justify-content: center;
    padding: clamp(28px, 4vw, 44px) var(--gutter) 0;
}

.topo-logo {
    width: clamp(190px, 22vw, 290px);
}

/* ---------- Marca: B vazado + DIA + frase ---------- */
.marca {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 22px);
    font-weight: 400;
}

.marca-b {
    position: relative;
    flex: none;
    width: var(--b, clamp(140px, 15vw, 200px));
    aspect-ratio: 270 / 276;
}

.marca-b svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.marca-dia {
    position: absolute;
    left: -19%;
    top: 37.5%;
    font-size: calc(var(--b, clamp(140px, 15vw, 200px)) * 0.19);
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--dia);
}

.marca-frase {
    font-size: clamp(22px, 2.6vw, 34px);
    line-height: 1.22;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-left: -1%;
}

.marca-frase strong {
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* ---------- Hero ---------- */
.hero {
    padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 72px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.hero-texto {
    padding-left: clamp(24px, 3vw, 40px);
}

.selo-linha {
    display: inline-block;
    margin-top: clamp(32px, 4vw, 48px);
    padding: 12px 22px;
    border: 1px solid var(--line);
    font-size: clamp(14px, 1.45vw, 19px);
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.quando-onde {
    display: flex;
    align-items: stretch;
    gap: clamp(20px, 3vw, 36px);
    margin-top: clamp(28px, 3.5vw, 40px);
}

.quando-onde p {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    line-height: 1.15;
}

.quando-onde strong {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 700;
    white-space: nowrap;
}

.quando-onde span {
    margin-top: 6px;
    font-size: clamp(16px, 1.8vw, 24px);
    font-weight: 300;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
}

.divisor {
    width: 1px;
    background: var(--line);
}

/* ---------- Formulário ---------- */
.form-wrapper {
    padding: clamp(28px, 3vw, 40px);
    border: 1px solid var(--line-soft);
    background: linear-gradient(160deg, rgba(42, 39, 45, 0.92), rgba(28, 25, 31, 0.92));
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.form-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 24px;
    text-wrap: balance;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    font: inherit;
    font-size: 16px;
    color: var(--ink);
    caret-color: var(--lilac);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-soft);
    border-radius: 0;
    transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

.form-group input::placeholder {
    color: #9d95a3;
}

.form-group input:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus {
    outline: none;
    border-color: var(--lilac);
    background: rgba(255, 255, 255, 0.07);
}

.cta-button,
.btn-participate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35em;
    min-height: 54px;
    padding: 16px 28px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    color: var(--bg);
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.cta-button {
    width: 100%;
    margin-top: 8px;
}

.cta-button:hover,
.btn-participate:hover {
    background: transparent;
    color: var(--ink);
}

.cta-button:disabled {
    cursor: progress;
    background: var(--ink-muted);
    border-color: var(--ink-muted);
    color: var(--bg);
}

.form-aviso {
    margin-top: 14px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.45;
    color: #ffe3e8;
    background: rgba(214, 64, 96, 0.16);
    border: 1px solid rgba(255, 140, 160, 0.55);
}

/* ---------- Faixa de foto em diagonal ---------- */
.faixa-foto {
    position: relative;
    margin: 0;
    clip-path: polygon(0 26%, 100% 0, 100% 100%, 0 100%);
}

.faixa-foto img {
    width: 100%;
    height: clamp(260px, 38vw, 560px);
    object-fit: cover;
    object-position: center 62%;
}

.faixa-foto::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 30%;
    background: linear-gradient(180deg, transparent, var(--bg));
}

/* ---------- Chamada ---------- */
.chamada {
    padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px);
    text-align: center;
}

.chamada-texto {
    max-width: 42ch;
    margin: 0 auto;
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-wrap: balance;
}

.chamada-texto strong {
    font-weight: 700;
}

.chamada-apoio {
    max-width: 60ch;
    margin: 24px auto 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
}

/* ---------- Empreendimentos ---------- */
.empreendimentos {
    padding: clamp(32px, 4vw, 48px) 0 clamp(64px, 8vw, 104px);
}

.emp-grade {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 2.4vw, 32px);
}

.emp {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.emp-foto {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: filter 0.6s var(--ease-out);
    filter: saturate(0.92);
}

.emp:hover .emp-foto {
    filter: saturate(1.05) brightness(1.04);
}

.emp-logo {
    height: clamp(34px, 3.6vw, 48px);
    width: auto;
    max-width: 82%;
    object-fit: contain;
    margin-top: clamp(16px, 2vw, 24px);
}

.emp-logo-baixo {
    height: clamp(22px, 2.4vw, 30px);
    margin-top: clamp(22px, 2.6vw, 33px);
}

.emp-titulo {
    margin-top: clamp(40px, 5vw, 64px);
    font-size: clamp(20px, 2.6vw, 34px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-align: center;
    text-wrap: balance;
}

.vantagens {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(32px, 4vw, 48px);
    padding: clamp(24px, 3vw, 36px) clamp(12px, 2vw, 24px);
    border: 1px solid var(--line);
}

.vantagens li {
    position: relative;
    padding: 0 clamp(12px, 2vw, 28px);
    font-size: clamp(14px, 1.5vw, 19px);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: center;
    text-wrap: balance;
}

.vantagens li + li::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--ink);
}

.cta-centro {
    display: flex;
    justify-content: center;
    margin-top: clamp(36px, 4vw, 52px);
}

.btn-participate strong {
    font-weight: 800;
}

/* ---------- Onde acontece ---------- */
.map-section {
    padding: clamp(56px, 7vw, 96px) 0;
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid var(--line-soft);
}

.map-content {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.locations-title {
    margin-bottom: 28px;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.location-item {
    padding: 18px 0;
    border-top: 1px solid var(--line-soft);
}

.location-item h3 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.location-item p {
    margin-top: 4px;
    font-size: 16px;
    color: var(--ink-soft);
}

.locations-hora {
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
    font-size: 16px;
    color: var(--ink-soft);
}

.locations-hora strong {
    color: var(--ink);
}

.map-side iframe {
    display: block;
    width: 100%;
    height: clamp(320px, 38vw, 480px);
    filter: grayscale(0.35) contrast(1.05);
}

/* ---------- Rodapé ---------- */
.rodape {
    padding: clamp(48px, 6vw, 72px) 0 clamp(96px, 9vw, 110px);
    background: var(--bg-3);
    text-align: center;
}

.rodape-marca {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(32px, 6vw, 72px);
}

.rodape-marca .marca-b {
    --b: 86px;
}

.rodape-logo {
    width: clamp(170px, 20vw, 240px);
}

.rodape-contatos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px clamp(40px, 8vw, 96px);
    margin-top: clamp(36px, 4vw, 48px);
    text-align: left;
}

.rodape-contatos p {
    display: flex;
    flex-direction: column;
}

.rodape-contatos span {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.rodape-contatos a {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}

.rodape-contatos a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

.footer-disclaimer {
    max-width: 78ch;
    margin: clamp(32px, 4vw, 44px) auto 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-muted);
}

/* ---------- Entrada única: a marca do topo ---------- */
@media (prefers-reduced-motion: no-preference) {
    .hero .marca-b svg {
        animation: traco 1.6s var(--ease-out) both;
    }

    .hero .marca-dia,
    .hero .marca-frase {
        animation: surge 1.2s 0.35s var(--ease-out) both;
    }

    @keyframes traco {
        from { opacity: 0; filter: blur(6px); transform: scale(1.04); }
        to { opacity: 1; filter: blur(0); transform: none; }
    }

    @keyframes surge {
        from { opacity: 0; transform: translateX(-10px); }
        to { opacity: 1; transform: none; }
    }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-texto {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 0;
    }

    .marca {
        text-align: left;
        padding-left: 6%;
    }

    .form-wrapper {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }

    .emp-grade {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 40px;
    }

    .map-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .marca {
        --b: 112px;
        padding-left: 10%;
    }

    .marca .marca-b {
        width: 112px;
    }

    .marca-frase {
        font-size: 19px;
        letter-spacing: 0.1em;
    }

    .selo-linha {
        font-size: 13px;
        padding: 10px 14px;
    }

    .quando-onde {
        text-align: left;
    }

    .quando-onde strong {
        font-size: 16px;
    }

    .quando-onde span {
        font-size: 15px;
    }

    .faixa-foto {
        clip-path: polygon(0 16%, 100% 0, 100% 100%, 0 100%);
    }

    .faixa-foto img {
        height: 300px;
        object-position: 42% 62%;
    }

    .vantagens {
        grid-template-columns: 1fr;
        padding: 8px 20px;
    }

    .vantagens li {
        padding: 18px 0;
    }

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

    .vantagens li + li::before {
        left: 50%;
        top: 0;
        margin: -4px 0 0 -4px;
    }

    .btn-participate {
        width: 100%;
    }

    .rodape-marca {
        flex-direction: column;
        gap: 28px;
    }

    .rodape-contatos {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .marca-frase {
        font-size: 16px;
    }

    .quando-onde {
        gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
