/* ===== Cena cinema: mockup que vira tela cheia ===== */
.cinema {
    position: relative;
    height: 100vh;
    background: #120d0b;
    overflow: hidden;
}

.cinema-stage {
    position: relative;
    height: 100%;
    display: grid;
    place-items: center;
}

.cinema-kicker {
    position: absolute;
    top: 12vh;
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--accent-light);
    opacity: .8;
}

.cinema-phone {
    position: relative;
    width: min(280px, 62vw);
    aspect-ratio: 9 / 19;
    border: 10px solid #1d1d1f;
    border-radius: 42px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 0 2px #3a3a3c, 0 40px 100px rgba(228, 154, 105, .25);
    will-change: width, height, border-radius;
}

.cinema-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 34%;
    height: 22px;
    background: #000;
    border-radius: 20px;
    z-index: 3;
}

.cinema-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center;
    will-change: transform;
}

/* vinheta + tom quente de cinema */
.cinema-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, .65) 100%),
        linear-gradient(180deg, rgba(228, 154, 105, .08), rgba(18, 13, 11, .35));
    opacity: 0;
    pointer-events: none;
}

.cinema-captions {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: end center;
    padding-bottom: 14vh;
    pointer-events: none;
}

.cinema-line {
    grid-area: 1 / 1;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4.5vw, 3.6rem);
    color: #fff;
    text-align: center;
    padding: 0 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
    opacity: 0;
}

/* Acessibilidade: sem animação, mostra a cena estática */
@media (prefers-reduced-motion: reduce) {
    .cinema { height: auto; padding: 4rem 0; }
    .cinema-line[data-line="1"] { opacity: 1; position: static; }
}

/* ===== Cena 2.5D: blazer ===== */
.cena-blazer {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #b89a86;
}
.cb-fundo {
    position: absolute; inset: -10%;
    background: radial-gradient(ellipse at 55% 40%, #d8bfae 0%, #b89a86 45%, #6e5546 100%);
}
.cb-monograma {
    position: absolute; left: 50%; top: 46%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: clamp(14rem, 42vw, 34rem);
    line-height: 1;
    color: transparent;
    background: linear-gradient(120deg, #f5d7c0, #c9935f 45%, #fff3e6 55%, #a8754a);
    -webkit-background-clip: text; background-clip: text;
    opacity: .35;
    user-select: none;
}
.cb-luz {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 240, 225, .35) 50%, transparent 65%);
    transform: translateX(-100%);
    mix-blend-mode: soft-light;
    pointer-events: none;
}
.cb-pessoa {
    position: absolute; left: 50%; bottom: 0;
    height: 96vh; width: auto; max-width: none;
    transform: translateX(-50%);
    filter: drop-shadow(0 30px 40px rgba(40, 20, 10, .35));
    will-change: transform;
}
.cb-texto {
    position: absolute; left: max(5vw, 20px); bottom: 12vh;
    max-width: 380px; color: #fff;
    text-shadow: 0 2px 20px rgba(40, 20, 10, .45);
}
.cb-texto h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; margin: .3rem 0 .8rem; color: #fff; }
.cb-eyebrow { font-size: .85rem; letter-spacing: .08em; opacity: .9; }
@media (max-width: 700px) {
    .cb-pessoa { height: 80vh; left: 62%; }
    .cb-texto { bottom: auto; top: 10vh; max-width: 70vw; }
}

/* ===== Cena mesa: WhatsApp desliza até a mão ===== */
.cena-mesa {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #efe8df;
    display: grid;
    place-items: center;
}
/* quadro com a mesma proporção da foto: posições em % batem com a imagem */
.cm-quadro {
    position: relative;
    height: 100vh;
    aspect-ratio: 853 / 1280;
    max-width: 100vw;
}
.cm-foto { width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform; }
.cena-mesa::before, .cena-mesa::after { /* funde a foto com as laterais */
    content: ""; position: absolute; top: 0; bottom: 0; width: 30vw; z-index: 1; pointer-events: none;
}
.cena-mesa::before { left: 0; background: linear-gradient(90deg, #efe8df 30%, transparent); }
.cena-mesa::after  { right: 0; background: linear-gradient(-90deg, #efe8df 30%, transparent); }

.cm-card {
    position: absolute;
    /* ponto de chegada: logo à frente da mão apoiada na mesa */
    left: 22%; top: 79%;
    z-index: 2;
    display: flex; align-items: center; gap: .7rem;
    padding: .75rem 1.1rem .75rem .8rem;
    border-radius: 16px;
    background: #fff;
    color: #1f2d27;
    text-decoration: none;
    box-shadow: 0 18px 30px rgba(60, 40, 20, .25), 0 2px 0 rgba(255,255,255,.8) inset;
    transform-origin: left center;
    min-height: 44px;
    white-space: nowrap;
}
.cm-card:focus-visible { outline: 3px solid #25d366; outline-offset: 3px; }
.cm-icone { width: 40px; height: 40px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; flex: none; }
.cm-icone svg { width: 24px; height: 24px; }
.cm-txt { display: flex; flex-direction: column; line-height: 1.2; }
.cm-txt strong { font-size: 1rem; }
.cm-txt small { font-size: .8rem; color: #5a6b63; }
.cm-card.pronto { animation: cm-pulso 1.8s ease-in-out infinite; }
@keyframes cm-pulso {
    0%, 100% { box-shadow: 0 18px 30px rgba(60,40,20,.25), 0 0 0 0 rgba(37,211,102,.45); }
    50%      { box-shadow: 0 18px 30px rgba(60,40,20,.25), 0 0 0 12px rgba(37,211,102,0); }
}
.cm-titulo {
    position: absolute; top: 7vh; left: 50%; transform: translateX(-50%);
    z-index: 2; width: min(90vw, 640px); text-align: center;
    font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3.6vw, 2.8rem);
    line-height: 1.1; color: #3a2a20;
}
@media (max-width: 700px) {
    .cm-quadro { height: 100vh; }
    .cena-mesa::before, .cena-mesa::after { display: none; }
    .cm-card { left: 12%; }
}

@media (prefers-reduced-motion: reduce) {
    .cm-card.pronto { animation: none; }
}

/* ===== Cena vídeo: celular com sorriso ===== */
.cena-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #ece9e4;
}
/* caixa 16:9 que cobre a tela; o sorriso é posicionado em % dela */
.cv-quadro {
    position: absolute; left: 50%; top: 50%;
    width: max(100vw, 177.78vh);
    height: max(100vh, 56.25vw);
    transform: translate(-50%, -50%);
}
.cv-video { width: 100%; height: 100%; display: block; object-fit: cover; }
.cv-tela {
    position: absolute;
    object-fit: cover;
    border-radius: 6% / 3%;
    opacity: 0;
    box-shadow: 0 0 12px rgba(255, 255, 255, .35);
    pointer-events: none;
}
.cv-titulo {
    position: absolute; z-index: 2; top: calc(96px + 3vh); right: max(5vw, 20px);
    width: min(40vw, 460px); text-align: right;
    font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    line-height: 1.1; color: #3a2a20;
}
.cv-card { left: auto; top: auto; right: max(5vw, 20px); bottom: 24vh; }

/* telas em pé: amplia o vídeo e enquadra do celular (22%) ao rosto (62%) */
@media (max-aspect-ratio: 1/1) {
    .cv-quadro { left: -55vw; top: 50%; transform: translateY(-50%); width: 250vw; height: 140.6vw; }
    .cv-titulo { position: absolute; top: calc(84px + 2vh); left: 5vw; right: 5vw; width: auto; text-align: center; }
    .cv-card { position: absolute; left: 50%; right: auto; translate: -50% 0; bottom: 14vh; }
}


/* ===== Ajustes de transição (versão cinema) ===== */
/* "Sobre": a cena 2.5D já mostrou a foto do blazer -> só texto, centralizado */
.versao-cinema .about-image { display: none; }
.versao-cinema .about-content { grid-template-columns: 1fr; max-width: 720px; text-align: center; }
.versao-cinema .about-text blockquote { margin-inline: auto; }
/* bloco final: o vídeo já mostrou o sorriso -> sem a foto repetida */
.versao-cinema .branding-media { display: none; }
/* seções fixadas coladas umas nas outras, sem frestas */
.cena-blazer, .cena-video { margin: 0; }

/* botão flutuante escondido na última cena */
.whatsapp-float { transition: opacity .35s ease, transform .35s ease; }
.whatsapp-float.oculto { opacity: 0; transform: translateY(20px); pointer-events: none; }
.cv-card { z-index: 3; }
