/* ==========================================================================
   STÁLUZ DESIGN SYSTEM — 06. SEÇÕES DA HOME (sections.css)
   Narrativa em 7 Atos + Experiência Especial "ACENDA A LUZ" no Hero
   ========================================================================== */

/* --------------------------------------------------------------------------
   SEÇÃO 01 — IDENTIDADE (Hero Section: "ACENDA A LUZ")
   --hero-light varia progressivamente de 0 (penumbra) a 1 (luz plena) no scroll
   -------------------------------------------------------------------------- */
/* Palco: o hero fica preso no topo enquanto a luz acende; o auge acontece com tudo em quadro */
.hero-stage {
    --hero-travel: 420px;
    position: relative;
    height: calc(100vh + var(--hero-travel));
    height: calc(100svh + var(--hero-travel));
}

.hero-stage > .hero {
    position: sticky;
    top: 0;
}

@media (max-width: 767px) {
    .hero-stage { --hero-travel: 300px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-stage { height: auto; }
    .hero-stage > .hero { position: relative; }
}

.hero {
    --hero-light: 0;
    /* Uma única medida governa luminária, feixe e halo — tudo se mantém alinhado em qualquer viewport */
    --lamp-w: clamp(160px, min(15.5vw, 27vh), 240px);
    --lamp-top: clamp(0.5rem, 2vh, 1.5rem);        /* desce a cúpula para longe do header; o fio continua até o teto */
    --lamp-mouth-y: calc(var(--lamp-top) + var(--lamp-w) * 1.062);  /* boca da cúpula: y=722 na imagem 680×758 */
    --lamp-mouth-w: calc(var(--lamp-w) * 0.94);
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5.5rem var(--pad-x) 4.5rem;
    background-color: #0b0a17;
    overflow: hidden;
    isolation: isolate;
}

/* Camada 1: Atmosfera de Luz que se acende gradualmente com o scroll */
.hero__dawn {
    /* Apagada: breu neutro (cor de fundo do .hero). Acendendo: o ambiente ganha magenta/âmbar */
    position: absolute;
    inset: -10%;
    z-index: -3;
    opacity: var(--hero-light);
    transform: scale(calc(0.9 + var(--hero-light) * 0.14));
    background:
        radial-gradient(ellipse 55% 50% at 50% 42%,
            rgba(243, 146, 0, 0.26) 0%,
            rgba(224, 25, 95, 0.2) 38%,
            rgba(29, 26, 85, 0.55) 72%,
            transparent 100%),
        linear-gradient(180deg, #0a0916 0%, #1d1a55 70%, #2c256e 100%);
    transition: opacity 0.12s linear, transform 0.18s ease-out;
    pointer-events: none;
}

/* Camada 2: Claridade Difusa Superior (Revela o ambiente quando a luz acende) */
.hero__daylight {
    /* Claridade difusa que "abre" a sala quando a luz acende */
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: calc(var(--hero-light) * 0.8);
    background: radial-gradient(circle at 50% 38%,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(243, 146, 0, 0.12) 30%,
        transparent 65%);
    mix-blend-mode: screen;
    pointer-events: none;
}

/* Camada 3: Linhas horizontais removidas conforme solicitação */
.hero__grid-lines {
    display: none;
}

.hero__ray-line {
    display: none;
}

/* Transição luminosa na base do Hero conduzindo para a Seção 02 (Clara) */
.hero__horizon {
    /* Transição para a Seção 02 (clara): quase invisível apagada, abre com a luz */
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 120px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(243, 244, 248, calc(0.06 + var(--hero-light) * 0.88)) 100%);
    pointer-events: none;
    z-index: 3;
}

/* Luminária pendente estilo industrial azul-escura fosca com feixe cônico on-scroll */
.hero__lamp-wrap {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

/* Luminária vetorial */
.hero__industrial-pendant {
    position: absolute;
    left: 50%;
    top: var(--lamp-top);
    transform: translateX(-50%);
    width: var(--lamp-w);
    z-index: 3;
    /* Apagada fica mais escura (sala no breu); ganha um pouco de exposição ao acender */
    filter: brightness(calc(0.72 + var(--hero-light) * 0.2)) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
    pointer-events: none;
}

/* Prolonga o fio da foto até o teto quando a cúpula desce */
.hero__industrial-pendant::before {
    content: "";
    position: absolute;
    bottom: 99%;
    left: 49.7%;
    width: 2px;
    height: 60vh;
    transform: translateX(-50%);
    background: #07080f;
}

.pendant-img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
}

.pendant-img--on {
    position: absolute;
    inset: 0;
    opacity: var(--hero-light);
    transition: opacity 0.2s ease-out;
}

/* Feixe de luz — o wrapper desfoca, o filho recorta: bordas suaves em vez de trapézio duro */
.hero__beam {
    /* Feixe bege-quente, largo e de bordas difusas, que abraça todo o título */
    position: absolute;
    left: 50%;
    top: calc(var(--lamp-mouth-y) - 60px);   /* folga para o desfoque não ser cortado */
    transform: translateX(-50%);
    width: clamp(400px, 96vw, 1500px);
    height: calc(100svh - var(--lamp-mouth-y) - 4rem + 60px);
    filter: blur(26px);
    opacity: var(--hero-light);
    transition: opacity 0.15s ease-out;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
    z-index: 1;
}

.hero__light-cone {
    position: absolute;
    inset: 54px 0 0 0;
    clip-path: polygon(
        calc(50% - var(--lamp-mouth-w) / 2) 0%,
        calc(50% + var(--lamp-mouth-w) / 2) 0%,
        96% 100%,
        4% 100%);
    background:
        radial-gradient(ellipse 55% 85% at 50% 0%,
            rgba(250, 232, 204, 0.66) 0%,
            rgba(232, 206, 170, 0.34) 30%,
            rgba(200, 170, 136, 0.11) 58%,
            rgba(170, 140, 112, 0.03) 100%);
}

/* Halo concentrado na boca da luminária (sem o círculo visível de antes) */
.hero__lamp-glow {
    /* Brilho pequeno e quente logo abaixo da lâmpada */
    position: absolute;
    left: 50%;
    top: var(--lamp-mouth-y);
    width: calc(var(--lamp-w) * 1.1);
    height: calc(var(--lamp-w) * 0.45);
    transform: translate(-50%, -35%);
    border-radius: 50%;
    background: radial-gradient(closest-side,
        rgba(255, 244, 222, calc(var(--hero-light) * 0.55)) 0%,
        rgba(240, 210, 170, calc(var(--hero-light) * 0.18)) 55%,
        transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--container-lg);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.4rem;
    margin-top: calc(var(--lamp-mouth-y) * 0.7);
}

/* Headline Principal — Sempre legível, ganhando protagonismo luminoso */
.hero__title {
    position: relative;
    isolation: isolate;
    font-size: clamp(2.5rem, 6.6vw, 5.8rem);
    max-width: none;
    color: #ffffff;
    /* Só o glow quente ao acender — sem sombras escuras (efeito de relevo) */
    text-shadow:
        0 0 calc(var(--hero-light) * 34px) rgba(255, 214, 160, calc(var(--hero-light) * 0.35));
}

.hero__title-light {
    display: inline-block;
    background: linear-gradient(90deg,
        #a596ff 0%,
        #ff3d84 48%,
        #ffaa2e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* As letras "acendem" junto com a luminária */
    filter: saturate(1.3) brightness(calc(0.98 + var(--hero-light) * 0.14))
            drop-shadow(0 0 calc(var(--hero-light) * 24px) rgba(243, 146, 0, 0.38));
}

.hero__subtitle {
    font-size: clamp(0.95rem, 1.55vw, 1.35rem);
    font-weight: var(--weight-regular, 400);
    line-height: 1.5;
    max-width: 62ch;
    text-wrap: balance;
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

@media (max-width: 640px) {
    .hero__subtitle {
        max-width: 34ch;
    }
}

/* Sala no escuro: antes de rolar, subtítulo e botão ficam apagados e acendem junto com a luz.
   O título fica sempre visível. (Seletores com .reveal para vencer o .reveal.is-in.) */
.hero .hero__subtitle.reveal,
.hero .hero__cta-wrap.reveal {
    opacity: calc(0.16 + var(--hero-light) * 0.84);
}
.hero .hero__cta-wrap.reveal:focus-within { opacity: 1; }

/* A luminária balança de leve, pendurada no teto (o feixe acompanha) */
.hero__lamp-wrap {
    transform-origin: 50% 0;
    animation: lamp-sway 7s ease-in-out infinite;
}
@keyframes lamp-sway {
    0%, 100% { rotate: -1.1deg; }
    50% { rotate: 1.1deg; }
}
@media (prefers-reduced-motion: reduce) {
    .hero__lamp-wrap { animation: none; }
}

/* Dica de scroll na voz da marca (some conforme a luz acende) */
.hero__hint {
    position: absolute;
    left: 50%;
    bottom: clamp(2.25rem, 7vh, 4rem);
    margin: 0;
    transform: translateX(-50%) rotate(-4deg);
    font-family: var(--font-hand);
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    color: var(--color-orange);
    white-space: nowrap;
    opacity: calc(0.9 - var(--hero-light) * 2.2);
    pointer-events: none;
    z-index: 4;
    animation: hero-hint-nudge 2.4s cubic-bezier(0.16, 1, 0.3, 1) 1.2s infinite;
}

@keyframes hero-hint-nudge {
    0%, 60%, 100% { translate: 0 0; }
    30% { translate: 0 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__hint { display: none; }
}

.hero__cta-wrap {
    margin-top: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
}

.hero__cta-wrap .btn {
    background: var(--grad-cta);
    border: none;
    border-radius: 4px;
    letter-spacing: 0.05em;
    font-size: 0.82rem;
    padding: 1.05rem 1.9rem;
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(224, 25, 95, 0.42);
}

.hero__cta-wrap .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(243, 146, 0, 0.52);
}

/* --------------------------------------------------------------------------
   SEÇÃO 02 — QUESTIONE-SE (fundo claro #F3F4F8)
   "E se" fixo + complemento em 1ª pessoa que alterna com slide vertical e fade.
   Gradiente para fundo claro: azul Stáluz → magenta → laranja profundo (#cc5200 = 4:1; #f39200 não lê no claro).
   -------------------------------------------------------------------------- */
.questione {
    --q-grad: linear-gradient(90deg, #1d1a55 0%, #bf0442 55%, #cc5200 100%);
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.questione__header { max-width: var(--container-md); }

.questione__title {
    width: fit-content; /* o gradiente acompanha a largura do texto e chega ao laranja */
    max-width: 24ch;
    margin: 1rem 0 0;
    font-size: clamp(2rem, 4.1vw, 3.5rem);
    font-weight: var(--weight-black);
    line-height: 1.02;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-wrap: balance;
    background: var(--q-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.questione__sub {
    margin-top: 1rem;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: var(--weight-semibold);
    color: var(--color-navy);
}

/* Palco central do efeito */
.questione__stage {
    position: relative;
    margin: clamp(3.5rem, 8vw, 6rem) auto;
    text-align: center;
}

/* Celular/tablet: "E se" em destaque em cima, a pergunta embaixo (pode quebrar linha) */
.questione__rotator {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.questione__prefix {
    font-size: clamp(2.6rem, 9vw, 4rem);
    font-weight: var(--weight-black);
    line-height: 1;
    letter-spacing: -0.035em;
    background: var(--q-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.questione__window {
    position: relative;
    display: block;
    width: 100%;
    height: calc(3 * 1.2em);
    font-size: clamp(1.4rem, 4.6vw, 2rem);
    font-weight: var(--weight-extrabold);
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--color-navy);
    overflow: hidden;
}

.questione__option {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-wrap: balance;
    opacity: 0;
    transform: translateY(60%);
    transition: opacity 0.55s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
}

.questione__option.is-current { opacity: 1; transform: none; }
.questione__option.is-leaving { opacity: 0; transform: translateY(-60%); }

/* Desktop: pergunta inteira numa linha só — "E se" fixo + complemento, sem quebra.
   O tamanho parte do clamp() e o JS ainda reduz se a maior pergunta não couber na fonte real. */
@media (min-width: 900px) {
    .questione__rotator {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.32em;
        white-space: nowrap;
        font-size: var(--q-size, clamp(1.35rem, 2.35vw, 2.3rem));
    }

    .questione__prefix,
    .questione__window { font-size: 1em; line-height: 1.3; }
    .questione__prefix { letter-spacing: -0.025em; }
    .questione__option { line-height: 1.3; }

    .questione__window {
        display: inline-block;
        width: var(--q-w, 26ch);
        height: 1.3em;
        text-align: left;
    }

    .questione__option {
        justify-content: flex-start;
        white-space: nowrap;
        text-wrap: nowrap;
    }
}

/* Celular/tablet: "E se" entra na própria pergunta, no mesmo tamanho e em degradê */
.questione__inline-prefix {
    background: var(--q-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@media (max-width: 899px) {
    .questione__prefix { display: none; }
    .questione__window {
        font-size: clamp(1.55rem, 6.6vw, 2.1rem);
        line-height: 1.2;
        height: calc(4 * 1.2em);
    }
    .questione__option { align-items: center; }
    .questione__text { display: block; max-width: 100%; }
}
@media (min-width: 900px) {
    .questione__inline-prefix { display: none; }
}

/* Sem JS: mostra a primeira frase */
.questione:not(.is-ready) .questione__option:first-child { opacity: 1; transform: none; }

.questione__pause {
    position: absolute;
    left: 50%;
    bottom: -4rem;
    margin-left: -22px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(29, 26, 85, 0.2);
    color: var(--color-navy);
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s ease-out, background-color 0.2s ease-out;
}

.questione__pause:hover { border-color: var(--color-magenta); background: rgba(191, 4, 66, 0.06); }
.questione__pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.questione__play-icon { display: none; }
.questione__pause[aria-pressed="true"] .questione__pause-icon { display: none; }
.questione__pause[aria-pressed="true"] .questione__play-icon { display: block; fill: currentColor; }
.questione:not(.is-ready) .questione__pause { display: none; }

/* Fechamento */
.questione__closing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.questione__divider {
    display: block;
    width: 100%;
    height: 2px;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    background: var(--q-grad);
}

.questione__prep {
    margin: 0;
    max-width: 44rem;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    font-weight: var(--weight-medium);
    line-height: 1.65;
    color: var(--text-on-light-2);
}

/* Assinatura final: a hashtag da marca, manuscrita, com o jogo de cores (escuro/laranja alternados) */
.questione__hashtag {
    margin: 0.75rem 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-family: var(--font-hand);
    font-size: clamp(2.38rem, 6.4vw, 5.27rem); /* -15% */
    line-height: 1.05;
    letter-spacing: 0.01em;
    transform: rotate(-3deg);
}

.questione__hashtag .tag-dark { color: var(--color-navy); }
.questione__hashtag .tag-orange { color: #d86a00; } /* #f39200 dá 2,1:1 no fundo claro; este dá 3,2:1 */

.questione__cta { margin-top: 0.75rem; color: var(--color-navy); }
.questione__cta .arrow { display: inline-block; }
.questione__cta:hover .arrow { transform: translateY(4px); }

@media (max-width: 899px) {
    .questione__pause { position: static; display: grid; margin: 1.5rem auto 0; }
}

@media (prefers-reduced-motion: reduce) {
    .questione__option { transform: none !important; transition: opacity 0.4s linear; }
}

/* Regra de cores da hashtag #BoasIdeiasMerecemLuz (Boas/Merecem escuros, Ideias/Luz em laranja) */
.hashtag-colored {
    display: inline-flex;
    align-items: baseline;
    font-family: var(--font-hand);
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.section--light .hashtag-colored .tag-dark {
    color: rgba(20, 18, 59, 0.45);
}

.site-footer .hashtag-colored .tag-dark {
    color: rgba(255, 255, 255, 0.42);
}

.hashtag-colored .tag-orange {
    color: var(--color-orange);
    font-weight: var(--weight-bold);
}


/* --------------------------------------------------------------------------
   SEÇÃO 03 — MÉTODO ("Método Stáluz") — Superfície Branca #FFFFFF
   Boxes inspirados na geometria do logo Stáluz (cortes e linhas diagonais)
   -------------------------------------------------------------------------- */
.metodo {
    border-top: 1px solid var(--line-light);
}

.metodo__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: clamp(3rem, 6vw, 4.75rem);
}

.metodo__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.step-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid rgba(224, 25, 95, 0.55); /* stroke vermelho Stáluz, fundo branco */
    border-radius: var(--radius-sm);
    padding: 2.25rem 1.85rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Corte diagonal superior direito inspirado no corte a 45° do logo Stáluz */
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
    transition:
        transform 0.45s var(--ease),
        border-color 0.45s var(--ease),
        background-color 0.45s var(--ease);
    overflow: hidden;
    --ic-main: #14123b;
    --ic-acc: #bf0442;
}

/* Listras diagonais paralelas de acento a 45° (como no 'S' e 'Z' do logo Stáluz) — fecham o corte do box */
.step-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg,
        transparent 0%,
        transparent 44%,
        var(--color-orange) 44%,
        var(--color-orange) 56%,
        transparent 56%,
        transparent 66%,
        var(--color-magenta) 66%,
        var(--color-magenta) 78%,
        transparent 78%);
    pointer-events: none;
    z-index: 2;
    transition: transform 0.45s var(--ease);
}

/* Linha com gradiente na base */
.step-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-brand-on-light);
    transform: scaleX(0.22);
    transform-origin: left;
    transition: transform 0.55s var(--ease);
}

/* Hover: o box "acende" — sobe, o stroke fica pleno, a base em gradiente percorre o box,
   o fundo ganha um rubor leve e o ícone se destaca */
.step-card:hover {
    transform: translateY(-8px);
    border-color: #bf0442;
    background: linear-gradient(180deg, #ffffff 0%, #fff4f7 100%); /* sem sombra: o corte diagonal (clip-path) a recortaria */
}

.step-card:hover::before { transform: scaleX(1); }
.step-card:hover::after { transform: translate(-4px, 4px); }

.step-card__icon-wrap {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    transition: transform 0.45s var(--ease);
}

.step-card:hover .step-card__icon-wrap { transform: scale(1.08) rotate(-3deg); }

.step-card:focus-within { border-color: #bf0442; }

.step-card__num {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: var(--weight-black);
    line-height: 1;
    letter-spacing: -0.02em;
    background: var(--grad-brand-on-light);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.step-card__title {
    font-size: clamp(1.25rem, 1.55vw, 1.5rem);
    font-weight: var(--weight-black);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-wrap: balance;
    color: var(--color-navy);
}

.step-card__desc {
    font-size: 0.95rem;
    line-height: 1.62;
    color: var(--text-on-light-2);
}

@media (prefers-reduced-motion: reduce) {
    .step-card:hover,
    .step-card:hover .step-card__icon-wrap { transform: none; }
}

@media (max-width: 1024px) {
    .metodo__steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .metodo__steps {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    /* Celular: ícone ao lado do número e do título; card mais baixo, sem vão no topo */
    .step-card {
        display: grid;
        grid-template-columns: 52px 1fr;
        grid-template-rows: auto auto;
        column-gap: 0.875rem;
        row-gap: 0.15rem;
        align-items: center;
        padding: 1.25rem 1.25rem 1.5rem;
    }
    .step-card__icon-wrap { grid-row: 1 / span 2; width: 52px; height: 52px; margin: 0; }
    .step-card__num { grid-column: 2; align-self: end; font-size: 1.05rem; }
    .step-card__title { grid-column: 2; align-self: start; font-size: 1.05rem; padding-right: 1.75rem; }
    .step-card__desc { grid-column: 1 / -1; margin-top: 0.65rem; font-size: 0.9rem; line-height: 1.55; }
}

/* --------------------------------------------------------------------------
   SEÇÃO 04 — SOLUÇÕES ("CÂMERA, LUZ, AÇÃO!") — FOCOS CHAPADOS
   Título e escolhas à esquerda. Cada botão acende um foco de cor sólida que sai de baixo
   na diagonal e revela os serviços da frente: magenta = CI & Cultura, laranja = Marketing.
   (Controlado por staluz-ui.js: .foco--js, data-active e .is-lit.)
   -------------------------------------------------------------------------- */
.foco {
    --foco-c: #c8084c;
    --foco-ink: #ffffff;
    --foco-line: rgba(255, 255, 255, 0.28);
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(760px, 96vh, 1000px);
    /* o cone encosta no topo; o conteúdo sobe junto (menos respiro em cima) */
    padding-top: calc(var(--section-py) * 0.55);
    background: radial-gradient(ellipse 80% 70% at 20% 10%, #1a1748 0%, #09081a 70%);
    color: var(--text-on-dark);
}
.foco[data-active="mkt"] {
    --foco-c: #f39200;
    --foco-ink: #1d1a55;
    --foco-line: rgba(29, 26, 85, 0.24);
}

/* Cone: cobre a seção inteira (desktop) e escala a partir do pé, como um refletor acendendo */
.foco__cone {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.foco__cone-ghost {
    fill: none;
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 1.5;
    stroke-dasharray: 6 10;
    vector-effect: non-scaling-stroke;
    opacity: 0;
    transition: opacity 0.3s;
}
.foco--js:not(.is-lit) .foco__cone-ghost { opacity: 1; }
.foco__cone-fill {
    fill: var(--foco-c);
    transform-box: view-box;
    transform-origin: 37.5% 100%;
    transform: scale(0);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.foco.is-lit .foco__cone-fill { transform: scale(1); }

.foco__grid {
    max-width: var(--container-xl);
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}

.foco__intro {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}
.foco__title {
    margin: 0;
    font-size: clamp(3.4rem, 6.6vw, 6rem);
    font-weight: var(--weight-black);
    line-height: 0.94;
    letter-spacing: -0.035em;
    text-transform: none;
    color: #ffffff;
}
.foco__lead {
    margin: 0;
    max-width: 40ch;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}
/* Escolha da frente: bilhete à mão + trilho com dois interruptores (não são links) */
.foco__choose {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.6rem;
}
.foco__ask {
    position: relative;
    margin: 0;
    padding-right: 2.6rem;
    font-family: var(--font-hand);
    font-size: clamp(1.6rem, 2.4vw, 2.15rem);
    line-height: 1.05;
    color: var(--color-orange);
    transform: rotate(-3deg);
    transform-origin: left center;
}
.foco__ask-arrow {
    position: absolute;
    right: 0;
    top: 60%;
}

.foco__switch {
    display: flex;
    flex-direction: column;
    width: min(100%, 22.5rem);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
/* Sem caixa: uma linha embaixo de cada interruptor; a do aceso ganha a cor do foco */
.foco__pick {
    --pick-c: #ff3d84;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    width: 100%;
    padding: 0.75rem 0.25rem;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.25s;
}
.foco__pick--mkt { --pick-c: #ffaa2e; }
.foco__pick:hover { border-bottom-color: rgba(255, 255, 255, 0.4); }
.foco__pick[aria-pressed="true"] {
    border-bottom: 2px solid var(--pick-c);
    padding-bottom: calc(0.75rem - 1px);
}
.foco__pick:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }

/* Interruptor de parede em traço (padrão dos ícones Stáluz): apagado = chave embaixo e vazada;
   aceso = chave em cima, preenchida na cor do foco, com raios de luz */
.foco__switch-icon {
    flex: none;
    width: 56px;
    height: 56px;
    overflow: visible;
    fill: none;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.foco__plate,
.foco__slot { stroke: rgba(255, 255, 255, 0.5); transition: stroke 0.25s; }
.foco__screw { fill: rgba(255, 255, 255, 0.5); stroke: none; transition: fill 0.25s; }
.foco__lever {
    stroke: rgba(255, 255, 255, 0.5);
    fill: transparent;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), fill 0.25s, stroke 0.25s;
}
.foco__rays line {
    stroke: var(--pick-c);
    opacity: 0;
    transition: opacity 0.3s;
}
.foco__pick[aria-pressed="true"] .foco__plate,
.foco__pick[aria-pressed="true"] .foco__slot { stroke: #ffffff; }
.foco__pick[aria-pressed="true"] .foco__screw { fill: #ffffff; }
.foco__pick[aria-pressed="true"] .foco__lever {
    transform: translateY(-13px);
    fill: var(--pick-c);
    stroke: var(--pick-c);
}
.foco__pick[aria-pressed="true"] .foco__rays line { opacity: 1; }
.foco__pick:hover .foco__plate,
.foco__pick:hover .foco__slot { stroke: rgba(255, 255, 255, 0.8); }

.foco__pick-text { display: flex; flex-direction: column; gap: 0; line-height: 1.15; }
.foco__pick-tag {
    font-family: var(--font-mono);
    font-size: 0.69rem;
    font-weight: var(--weight-bold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.25s;
}
.foco__pick-label {
    font-size: 1.2rem;
    font-weight: var(--weight-extrabold);
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
    transition: color 0.25s;
}
.foco__pick-state {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 480px) {
    .foco__switch { width: 100%; }
    .foco__switch-icon { width: 52px; height: 52px; }
}
.foco__pick-state::before { content: "apagado"; }
.foco__pick[aria-pressed="true"] .foco__pick-state::before { content: "aceso"; }
.foco__pick[aria-pressed="true"] .foco__pick-tag { color: var(--pick-c); }
.foco__pick[aria-pressed="true"] .foco__pick-label { color: #ffffff; }

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

/* Painéis: sem JS, os dois aparecem empilhados; com JS, só o da frente acesa */
.foco__stage { position: relative; }
.foco__panel + .foco__panel { margin-top: 3rem; }
.foco--js .foco__panel { display: none; margin-top: 0; }
.foco--js .foco__panel.is-active { display: block; color: var(--foco-ink); }

.foco__kicker {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: var(--weight-bold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.foco__group {
    margin: 0.35rem 0 1.1rem;
    font-size: clamp(1.6rem, 2.3vw, 2.15rem);
    font-weight: var(--weight-black);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.foco__list { list-style: none; margin: 0; padding: 0; }
.foco__svc {
    display: flex;
    gap: 1.2rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--foco-line);
    color: inherit;
    text-decoration: none;
}
.foco__num {
    flex: none;
    width: 2.2rem;
    padding-top: 0.2rem;
    font-family: var(--font-mono);
    font-size: 1.02rem;
    font-weight: var(--weight-bold);
    opacity: 0.72;
}
.foco__svc-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.foco__svc-name {
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    font-weight: var(--weight-extrabold);
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.foco__svc-arrow {
    display: inline-block;
    font-size: 0.8em;
    transition: transform 0.25s;
}
.foco__svc-desc { font-size: 0.875rem; line-height: 1.4; opacity: 0.9; }
/* Serviços ainda sem página própria: itens de leitura, sem link (voltam a ser <a> quando as páginas existirem) */
a.foco__svc:hover .foco__svc-arrow { transform: translate(3px, -3px); }
a.foco__svc:hover .foco__svc-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
a.foco__svc:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }

.foco__talk {
    display: inline-flex;
    gap: 0.5rem;
    margin-top: 1.2rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid currentColor;
    color: inherit;
    font-size: 0.86rem;
    font-weight: var(--weight-extrabold);
    letter-spacing: 0.04em;
    text-decoration: none;
}
.foco__talk:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Entrada: o foco abre e, em seguida, os itens aparecem um a um */
.foco--js .foco__panel.is-active .foco__kicker,
.foco--js .foco__panel.is-active .foco__group,
.foco--js .foco__panel.is-active .foco__list li,
.foco--js .foco__panel.is-active .foco__talk {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease-out, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.foco.is-lit .foco__panel.is-active .foco__kicker,
.foco.is-lit .foco__panel.is-active .foco__group,
.foco.is-lit .foco__panel.is-active .foco__list li,
.foco.is-lit .foco__panel.is-active .foco__talk {
    opacity: 1;
    transform: none;
}
.foco.is-lit .foco__panel.is-active .foco__kicker,
.foco.is-lit .foco__panel.is-active .foco__group { transition-delay: 0.3s; }
.foco.is-lit .foco__panel.is-active .foco__list li:nth-child(1) { transition-delay: 0.4s; }
.foco.is-lit .foco__panel.is-active .foco__list li:nth-child(2) { transition-delay: 0.5s; }
.foco.is-lit .foco__panel.is-active .foco__list li:nth-child(3) { transition-delay: 0.6s; }
.foco.is-lit .foco__panel.is-active .foco__list li:nth-child(4) { transition-delay: 0.7s; }
.foco.is-lit .foco__panel.is-active .foco__talk { transition-delay: 0.8s; }

/* Celular/tablet: tudo empilhado; o foco vira um cone inclinado atrás do painel */
@media (max-width: 900px) {
    .foco { min-height: 0; }
    .foco__grid { grid-template-columns: 1fr; }
    .foco__cone { display: none; }
    .foco__stage { padding: 2.2rem 0 3.6rem; }
    .foco__stage::before {
        content: "";
        position: absolute;
        inset: 0 calc(-1 * var(--pad-x));
        z-index: -1;
        background: var(--foco-c);
        clip-path: polygon(0% 100%, 14% 100%, 100% 95%, 100% 0%, 8% 0%);
        transform-origin: 6% 100%;
        transform: scale(0);
        transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .foco.is-lit .foco__stage::before { transform: scale(1); }
    .foco__stage { padding-left: 1.2rem; padding-right: 0.4rem; }
}

/* Celular: o foco acende a seção inteira (a luz se espalha a partir dos interruptores).
   Tocar de novo no interruptor aceso apaga. */
@media (max-width: 900px) {
    .foco::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: var(--foco-c);
        clip-path: circle(0% at 18% 46%);
        transition: clip-path 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .foco.is-lit::before { clip-path: circle(150% at 18% 46%); }
    .foco__stage::before { display: none; }
    .foco__stage { padding: 0.5rem 0 3rem; }
    .foco__hint { margin: 0.25rem 0 0; font-size: 0.85rem; line-height: 1.55; color: rgba(255, 255, 255, 0.62); }
    .foco.is-lit .foco__hint { display: none; }

    /* Com a luz acesa, tudo na seção usa a tinta da frente (branco no magenta, navy no laranja) */
    .foco.is-lit,
    .foco.is-lit .foco__title,
    .foco.is-lit .mono-index,
    .foco.is-lit .foco__ask { color: var(--foco-ink); }
    .foco.is-lit .foco__title .grad { background: none; -webkit-text-fill-color: currentColor; color: var(--foco-ink); text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.12em; }
    .foco.is-lit .section-header__line { background: var(--foco-ink); opacity: 0.6; }
    .foco.is-lit .foco__switch { border-top-color: var(--foco-line); }
    .foco.is-lit .foco__pick { border-bottom-color: var(--foco-line); color: var(--foco-ink); }
    .foco.is-lit .foco__pick[aria-pressed="true"] { border-bottom-color: var(--foco-ink); }
    .foco.is-lit .foco__pick-tag,
    .foco.is-lit .foco__pick[aria-pressed="true"] .foco__pick-tag,
    .foco.is-lit .foco__pick-label,
    .foco.is-lit .foco__pick[aria-pressed="true"] .foco__pick-label,
    .foco.is-lit .foco__pick-state { color: var(--foco-ink); }
    .foco.is-lit .foco__pick:not([aria-pressed="true"]) { opacity: 0.7; }
    .foco.is-lit .foco__plate,
    .foco.is-lit .foco__slot,
    .foco.is-lit .foco__pick[aria-pressed="true"] .foco__plate,
    .foco.is-lit .foco__pick[aria-pressed="true"] .foco__slot { stroke: var(--foco-ink); }
    .foco.is-lit .foco__screw,
    .foco.is-lit .foco__pick[aria-pressed="true"] .foco__screw { fill: var(--foco-ink); }
    .foco.is-lit .foco__rays line { stroke: var(--foco-ink); }
    .foco.is-lit .foco__pick:focus-visible { outline-color: var(--foco-ink); }
}
@media (min-width: 901px) {
    .foco__hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .foco::before,
    .foco__cone-fill,
    .foco__stage::before,
    .foco--js .foco__panel.is-active * { transition: none !important; }
}

/* --------------------------------------------------------------------------
   SEÇÃO 05 — EVIDÊNCIAS (Portfólio — Superfície Clara #F3F4F8)
   -------------------------------------------------------------------------- */
.evidencias {
    /* a faixa de clientes faz o respiro do topo */
    padding-block: 0 var(--section-py);
}

/* Faixa de clientes em loop (topo das Evidências) */
.clientes {
    height: 7.5rem;
    display: flex;
    align-items: center;
    margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
    border-bottom: 1px solid rgba(29, 26, 85, 0.1);
}
.clientes__loop {
    position: relative;
    width: 100%;
    overflow: hidden;
    overflow: clip;
    padding-block: 0.75rem;
    touch-action: pan-y pinch-zoom;
    -webkit-tap-highlight-color: transparent;
    /* pontas esmaecidas suavemente (smootherstep), funciona em qualquer fundo */
    --clientes-fade: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,.035) 2%, rgba(0,0,0,.21) 4%, rgba(0,0,0,.5) 6%, rgba(0,0,0,.79) 8%, rgba(0,0,0,.965) 10%, #000 12%, #000 88%, rgba(0,0,0,.965) 90%, rgba(0,0,0,.79) 92%, rgba(0,0,0,.5) 94%, rgba(0,0,0,.21) 96%, rgba(0,0,0,.035) 98%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: var(--clientes-fade);
    mask-image: var(--clientes-fade);
}
.clientes__loop.is-ready { cursor: grab; }
.clientes__loop.is-dragging, .clientes__loop.is-dragging * { cursor: grabbing; }
.clientes__track {
    display: flex;
    width: max-content;
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
}
.clientes__list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.clientes__item { flex: 0 0 auto; margin-right: 4.5rem; }
.clientes__item img {
    display: block;
    width: auto;
    height: var(--h, 30px);
    pointer-events: none;
    -webkit-user-drag: none;
}
/* sem animação: logos parados numa linha só, encolhendo juntos para caber */
.clientes__loop.is-static { -webkit-mask-image: none; mask-image: none; padding-inline: clamp(1.25rem, 4vw, 5rem); box-sizing: border-box; }
.clientes__loop.is-static .clientes__track { width: 100%; }
.clientes__loop.is-static .clientes__list { width: 100%; justify-content: space-between; gap: clamp(1rem, 2.2vw, 2.5rem); }
.clientes__loop.is-static .clientes__item { margin-right: 0; flex: 0 1 auto; min-width: 0; }
.clientes__loop.is-static .clientes__item img { width: 100%; height: auto; max-height: var(--h, 30px); object-fit: contain; }
@media (max-width: 640px) {
    .clientes { height: 6rem; }
    .clientes__item { margin-right: 3rem; }
    .clientes__item img { height: calc(var(--h, 30px) * 0.78); }
    /* no celular, a linha parada rola com o dedo em vez de encolher demais */
    .clientes__loop.is-static { overflow-x: auto; scrollbar-width: none; touch-action: auto; }
    .clientes__loop.is-static::-webkit-scrollbar { display: none; }
    .clientes__loop.is-static .clientes__track, .clientes__loop.is-static .clientes__list { width: max-content; }
    .clientes__loop.is-static .clientes__item { flex: none; }
    .clientes__loop.is-static .clientes__item img { width: auto; height: calc(var(--h, 30px) * 0.78); max-height: none; }
}
.evidencias .display--md { font-size: clamp(2rem, 3.1vw, 2.6rem); }

.evidencias__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* Um case por vez: mockup grande, barra de progresso e descrição elegante embaixo */
.showcase__nav {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.showcase__count {
    margin: 0 0.4rem 0 0;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: #5b5d85;
}
.showcase__count strong { font-size: 1.3rem; color: var(--color-navy); }
.showcase__btn { width: 46px; height: 46px; }
.showcase__btn--next { background: var(--color-navy); border-color: var(--color-navy); color: #ffffff; }

.showcase__stage {
    position: relative;
    aspect-ratio: 800 / 503;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #e4e5ee;
}
.showcase__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.7s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.showcase__img.is-active { opacity: 1; transform: scale(1); }

/* Case com duas imagens: coluna estreita + coluna larga dentro da mesma área */
.showcase__duo {
    display: grid;
    grid-template-columns: 42fr 58fr;
    gap: 10px;
    background: var(--bg-light-gray, #f3f4f8);
}
.showcase__duo img {
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    border-radius: 18px;
}

/* Movimento de linhas: ao passar o mouse, uma linha em degradê se desenha sob a imagem,
   a foto aproxima de leve e o fio do título se estica */
.showcase__stage::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, #1d1a55, #bf0442, #cc5200);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}
.showcase:hover .showcase__stage::after,
.showcase:focus-within .showcase__stage::after { transform: scaleX(1); }
.showcase:hover .showcase__img.is-active { transform: scale(1.025); }

.showcase__info {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    padding-top: 0.25rem;
}
.showcase__rule {
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #1d1a55, #bf0442, #cc5200);
}
/* Os três textos ocupam a mesma célula: a seção fica com a altura do maior e não "pula" ao trocar.
   Desktop: imagem à esquerda (com as barras embaixo) e texto à direita — cabe inteiro num notebook de 13". */
.showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    grid-template-rows: auto;
    column-gap: clamp(1.75rem, 3vw, 2.75rem);
    align-items: start;
}
.showcase__stage { grid-column: 1; grid-row: 1; }
.showcase__info { grid-column: 2; grid-row: 1; }
.showcase__info:not(.is-active) { visibility: hidden; }
.showcase__info.is-active > * { animation: showcase-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.showcase__info.is-active > :nth-child(2) { animation-delay: 0.06s; }
.showcase__info.is-active > :nth-child(3) { animation-delay: 0.12s; }
@keyframes showcase-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.showcase__client {
    margin: 0 0 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: var(--weight-bold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #bf0442;
}
.showcase__title {
    margin: 0;
    font-size: clamp(1.25rem, 1.75vw, 1.5rem);
    font-weight: var(--weight-extrabold);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-navy);
}
.showcase__label {
    margin: 0 0 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5b5d85;
}
.showcase__label--result { margin-top: 0.9rem; color: #bf0442; }
.showcase__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #2b2960;
}
.showcase__result {
    margin: 0;
    font-size: 0.875rem;
    font-weight: var(--weight-bold);
    line-height: 1.5;
    color: var(--color-navy);
}
.showcase__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.showcase__pill {
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: var(--weight-bold);
}
.showcase__pill--time { background: rgba(191, 4, 66, 0.1); color: #bf0442; }
.showcase__pill--mercado { background: rgba(204, 82, 0, 0.12); color: #a84300; }
.showcase__kind { font-size: 0.82rem; color: #5b5d85; }

@media (max-width: 900px) {
    .showcase { grid-template-columns: 1fr; }
    .showcase__info { grid-column: 1; grid-row: 2; margin-top: 1.1rem; }
    .showcase__stage { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
    .showcase__img,
    .showcase:hover .showcase__img.is-active { transition: none; transform: none; }
    .showcase__stage::after { transition: none; }
    .showcase__info.is-active > * { animation: none; }
}

/* --------------------------------------------------------------------------
   SEÇÃO 06 — CULTURA — FOTO EM PARALLAX, TÍTULO NO ALTO, MANIFESTO NA BASE
   Sem caixa: a foto respira com uma escurecida leve; o reforço fica só onde há texto.
   -------------------------------------------------------------------------- */
.cultura {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: clamp(620px, 92vh, 900px);
    padding-block: clamp(4.5rem, 8vw, 7rem) clamp(2.75rem, 4.5vw, 4rem);
    background: #09081a;
    color: #ffffff;
    overflow: hidden;
}

.cultura__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}
.cultura__img {
    /* Mais alta que a seção: sobra para o deslocamento do parallax sem mostrar borda */
    position: absolute;
    left: 0;
    right: 0;
    top: -14%;
    bottom: -14%;
    background: url('../assets/img-staluz-cultura-maos.webp') center 35% / cover no-repeat;
    transform: translate3d(0, var(--cultura-shift, 0px), 0);
    will-change: transform;
}

.cultura__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg,
            rgba(9, 8, 26, 0.38) 0%,
            rgba(9, 8, 26, 0) 42%,
            rgba(9, 8, 26, 0) 66%,
            rgba(9, 8, 26, 0.62) 100%),
        rgba(9, 8, 26, 0.25);
}

.cultura__inner {
    max-width: var(--container-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(3rem, 10vh, 8rem);
}

.cultura__head {
    display: flex;
    flex-direction: column;
    gap: clamp(1.4rem, 2.4vw, 2rem);
    max-width: 52rem;
}

.cultura__title {
    margin: 0;
    font-size: clamp(2.3rem, 4.45vw, 4rem);
    font-weight: var(--weight-extrabold);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 2px 30px rgba(9, 8, 26, 0.35);
}

.cultura__grad {
    background: linear-gradient(90deg, #a596ff 0%, #ff3d84 55%, #ffaa2e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    /* Halo escuro bem difuso: separa o degradê do rosa da foto sem virar contorno */
    filter: drop-shadow(0 2px 18px rgba(9, 8, 26, 0.5));
}

.cultura__text {
    margin: 0;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
}

.cultura__strong {
    font-weight: var(--weight-bold);
    color: #ffffff;
}

@media (max-width: 860px) {
    .cultura__img { background-position: 60% center; }
    .cultura__veil {
        background:
            linear-gradient(180deg, rgba(9, 8, 26, 0.5) 0%, rgba(9, 8, 26, 0.1) 40%, rgba(9, 8, 26, 0.72) 100%),
            rgba(9, 8, 26, 0.2);
    }
}
/* Celular: o título fica sobre a parte mais clara das mãos; escurece mais o topo da foto */
@media (max-width: 640px) {
    .cultura__veil {
        background:
            linear-gradient(180deg, rgba(9, 8, 26, 0.78) 0%, rgba(9, 8, 26, 0.6) 38%, rgba(9, 8, 26, 0.25) 62%, rgba(9, 8, 26, 0.75) 100%),
            rgba(9, 8, 26, 0.15);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cultura__img { transform: none; top: 0; bottom: 0; }
}

/* Retorno do envio do formulário do Convite */
.coffee-form__feedback {
    margin: 0;
    font-size: 0.92rem;
    font-weight: var(--weight-bold);
    color: #ffb347;
}
.coffee-form__feedback.is-error { color: #ffd2dc; }
.coffee-form__feedback a { color: inherit; text-decoration: underline; }

/* --------------------------------------------------------------------------
   SEÇÃO 07 — RELACIONAMENTO ("Gostamos de café. Bora?")
   Território: CONEXÃO (Acolhedor, próximo e convidativo)
   Cor da Paleta: Azul Stáluz oficial (--color-navy: #1d1a55)
   -------------------------------------------------------------------------- */
.relacionamento {
    position: relative;
    background:
        radial-gradient(circle at 18% 25%, rgba(243, 146, 0, 0.16) 0%, transparent 55%),
        radial-gradient(circle at 82% 75%, rgba(224, 25, 95, 0.16) 0%, transparent 60%),
        var(--color-navy); /* #1d1a55 — Azul Stáluz oficial */
    color: var(--text-on-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
    isolation: isolate;
}

.relacionamento > .container { position: relative; z-index: 1; }

/* Tinta "Bora?" (components/ui/ink-bora.js): fluido em WebGL atrás do conteúdo.
   Com o efeito ativo, a palavra real fica transparente (segue no layout e para leitores de tela)
   e é a tinta que desenha o "Bora?" no mesmo lugar. Sem WebGL, nada disso entra. */
.relacionamento__ink {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease-out;
}
.relacionamento__ink.is-ready { opacity: 1; }
.relacionamento.ink-on { touch-action: pan-y; }
.relacionamento.ink-on .relacionamento__coffee-title {
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.relacionamento.ink-on .relacionamento__bora {
    background: none;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Bilhete à mão ao lado do "Bora?" (criado pelo ink-bora.js): diz que dá pra mexer o café.
   Entra depois que a tinta forma a palavra e some na primeira mexida. */
.relacionamento__hint {
    position: absolute;
    z-index: 2;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 15rem;
    font-family: var(--font-hand);
    font-size: clamp(1.2rem, 1.55vw, 1.5rem);
    line-height: 1.05;
    color: var(--color-orange);
    pointer-events: none;
    opacity: 0;
    transform: translateY(-50%) rotate(-4deg) translateX(8px);
    transform-origin: left center;
    transition: opacity 0.5s ease-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.relacionamento__hint.is-in {
    opacity: 0.95;
    transform: translateY(-50%) rotate(-4deg);
}
.relacionamento__hint.is-in .relacionamento__hint-arrow {
    animation: ink-hint-nudge 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s infinite;
}
.relacionamento__hint.is-gone {
    opacity: 0;
    transform: translateY(-50%) rotate(-4deg) translateX(-6px);
}
.relacionamento__hint-arrow { flex: none; }

@keyframes ink-hint-nudge {
    0%, 60%, 100% { transform: translateX(0); }
    30% { transform: translateX(-6px); }
}

@media (max-width: 600px) {
    .relacionamento__hint { max-width: 12rem; font-size: 1.15rem; }
    .relacionamento__hint-arrow { width: 34px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .relacionamento__hint { display: none; }
}

.relacionamento__wrap {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(2.5rem, 5.5vw, 5rem);
    align-items: center;
}

.relacionamento__invite {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.relacionamento__coffee-title {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: var(--weight-black);
    line-height: 0.96;
    letter-spacing: -0.03em;
}

.relacionamento__bora {
    display: block;
    margin-top: 0.2rem;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.relacionamento__lead {
    font-size: clamp(0.98rem, 1.15vw, 1.1rem);
    line-height: 1.62;
    color: var(--text-on-dark-2);
    max-width: 46ch;
}

.relacionamento__quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

/* Card de Conversa Rápida — vidro, cantos arredondados */
.coffee-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.85rem, 3.5vw, 2.85rem);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 100%), rgba(16, 12, 52, 0.45);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
            backdrop-filter: blur(22px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        0 24px 60px -20px rgba(6, 4, 24, 0.7);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .coffee-card { background: rgba(16, 12, 52, 0.85); }
}

.coffee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-brand);
}

.coffee-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.coffee-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}

.coffee-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.coffee-field label {
    font-size: 0.66rem;
    font-weight: var(--weight-bold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-on-dark-2);
}

.coffee-field input,
.coffee-field select,
.coffee-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.coffee-field textarea { resize: vertical; min-height: 104px; }

.coffee-field input::placeholder,
.coffee-field textarea::placeholder { color: rgba(255, 255, 255, 0.5); }

.coffee-field input:hover,
.coffee-field select:hover,
.coffee-field textarea:hover { border-color: rgba(255, 255, 255, 0.32); }

.coffee-field input:focus,
.coffee-field select:focus,
.coffee-field textarea:focus {
    outline: none;
    border-color: var(--color-orange);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(243, 146, 0, 0.22);
}

/* Seleção do tema: seta própria, centralizada e na cor da marca (no lugar da seta nativa) */
.coffee-field select {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    padding-right: 3rem;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f39200' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px 18px;
}

.coffee-field select option {
    background: #1a1650;
    color: #ffffff;
}

.coffee-form .btn { border-radius: 12px; min-height: 52px; }

/* --------------------------------------------------------------------------
   RESPONSIVIDADE (Desktop · Tablet · Mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .metodo__steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .solucoes__tracks,
    .cultura__grid,
    .relacionamento__wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .nav {
        grid-template-columns: auto auto;
        justify-content: space-between;
        padding: 0.65rem 1.1rem;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        height: 100svh;
        background: rgba(7, 6, 26, 0.96);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        flex-direction: column;
        justify-content: center;
        gap: 1.65rem;
        opacity: 0;
        visibility: hidden; /* fechado = fora da ordem de Tab e do leitor de tela */
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
        z-index: 90;
    }

    .site-header.is-open .nav__menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s;
    }

    .site-header.is-open .nav__item {
        color: var(--text-on-dark) !important;
        font-size: 0.92rem;
    }

    .nav__cta-pill {
        display: none;
    }

    .nav__toggle {
        display: inline-flex;
        position: relative;
        z-index: 95;
    }

    .metodo__steps,
    .cases-grid,
    .coffee-form__row {
        grid-template-columns: 1fr;
    }

    .site-footer__top,
    .site-footer__bottom {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .site-footer__brand img {
        align-self: center;
    }

    .site-footer__tag {
        justify-self: center;
    }
}

@media (max-height: 700px) and (min-width: 521px) {
    .hero {
        --lamp-w: clamp(120px, 20vh, 170px);
        padding-top: 4.5rem;
        padding-bottom: 3rem;
    }
    .hero__content {
        gap: 1rem;
        margin-top: calc(var(--lamp-mouth-y) * 0.5);
    }
}

@media (max-width: 520px) {
    .hero {
        min-height: 100svh;
        padding-top: 5.5rem;
        padding-bottom: 5rem;
    }

    /* CTA do hero: quebra em 2 linhas e respeita as margens laterais */
    .hero__cta-wrap {
        width: 100%;
    }

    .hero__cta-wrap .btn {
        max-width: 100%;
        white-space: normal;
        text-align: center;
        justify-content: center;
        letter-spacing: 0.08em;
        line-height: 1.45;
        padding: 0.95rem 1.4rem;
    }
}
