/* =========================================================
   IDENTIDADE VISUAL PLAY KIDS ALEGRIA
========================================================= */

:root {
    /* Cores principais do logo */
    --cor-azul: #00A3E0;
    --cor-azul-escuro: #006A9C;
    --cor-azul-profundo: #062F46;

    --cor-rosa: #EC008C;
    --cor-rosa-suave: #FFEBF7;

    --cor-verde: #7BC043;
    --cor-verde-suave: #EEF9E7;

    --cor-laranja: #F37022;
    --cor-amarelo: #FFD100;

    /* Base minimalista */
    --cor-fundo-limpo: #FFFFFF;
    --cor-fundo-suave: #F8F9FA;
    --cor-fundo-azulado: #F0FAFE;

    --cor-texto-escuro: #1E293B;
    --cor-texto-mutado: #64748B;
    --cor-texto-claro: #EAF8FD;

    --borda: #E2E8F0;
    --borda-colorida: rgba(0, 163, 224, 0.18);

    --sombra-suave:
        0 24px 70px rgba(15, 56, 82, 0.10);

    --sombra-colorida:
        0 30px 80px rgba(0, 163, 224, 0.18);

    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 14px;

    --container: 1180px;
}


/* =========================================================
   RESET E TIPOGRAFIA
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    background: var(--cor-fundo-limpo);
    color: var(--cor-texto-escuro);

    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

p,
span,
small,
label,
li {
    font-weight: 500;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.section-container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}


/* =========================================================
   ETIQUETAS
========================================================= */

.section-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--cor-azul-escuro);

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-label::before,
.eyebrow::before {
    content: "";

    width: 34px;
    height: 3px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--cor-azul),
            var(--cor-rosa)
        );
}

.section-label.light,
.eyebrow {
    color: #DDF6FF;
}


/* =========================================================
   ANIMAÇÕES DE ENTRADA
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(42px);

    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   ABERTURA
========================================================= */

.intro-section {
    position: relative;

    display: grid;
    min-height: 100vh;
    place-items: center;

    overflow: hidden;

    padding: 120px 20px;

    isolation: isolate;
}

.background-grid {
    position: absolute;
    inset: 0;
    z-index: -4;

    opacity: 0.36;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
        );

    background-size: 72px 72px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 15%,
            black 78%,
            transparent
        );
}

.intro-section::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -3;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(236, 0, 140, 0.22),
            transparent 28%
        ),
        radial-gradient(
            circle at 78% 72%,
            rgba(123, 192, 67, 0.18),
            transparent 26%
        ),
        radial-gradient(
            circle at 52% 34%,
            rgba(255, 255, 255, 0.12),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #007DB0 0%,
            #00A3E0 45%,
            #006B9E 100%
        );
}

.floating-light {
    position: absolute;
    z-index: -2;

    border-radius: 50%;
    filter: blur(42px);

    opacity: 0.62;

    animation:
        floatLight 8s ease-in-out infinite alternate;
}

.light-one {
    top: 12%;
    left: 7%;

    width: 300px;
    height: 300px;

    background: rgba(236, 0, 140, 0.34);
}

.light-two {
    right: 4%;
    bottom: 8%;

    width: 370px;
    height: 370px;

    background: rgba(123, 192, 67, 0.30);

    animation-delay: -3s;
}

.light-three {
    top: 16%;
    right: 22%;

    width: 190px;
    height: 190px;

    background: rgba(255, 255, 255, 0.20);

    animation-delay: -5s;
}

@keyframes floatLight {
    from {
        transform:
            translate3d(-18px, -18px, 0)
            scale(0.92);
    }

    to {
        transform:
            translate3d(22px, 28px, 0)
            scale(1.08);
    }
}

.intro-content {
    width: min(100%, 980px);
    text-align: center;
}

.intro-title {
    max-width: 950px;
    margin: 30px auto 0;

    color: #FFFFFF;

    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.intro-title strong {
    position: relative;

    display: inline-block;

    color: #FFFFFF;
    font-weight: 800;
}

.intro-title strong::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -10px;
    left: 2%;

    height: 9px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--cor-rosa),
            var(--cor-amarelo),
            var(--cor-verde)
        );

    transform: scaleX(0);
    transform-origin: left;

    animation:
        drawLine 1.2s 1.2s forwards;
}

@keyframes drawLine {
    to {
        transform: scaleX(1);
    }
}

.intro-description {
    max-width: 720px;
    margin: 38px auto 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
}

.scroll-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;

    margin-top: 42px;
    padding: 10px 10px 10px 24px;

    border:
        1px solid rgba(255, 255, 255, 0.30);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;

    font-size: 0.92rem;
    font-weight: 700;

    backdrop-filter: blur(16px);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.scroll-button span {
    display: grid;

    width: 42px;
    height: 42px;

    place-items: center;

    border-radius: 50%;

    background: #FFFFFF;
    color: var(--cor-azul);
}

.scroll-button:hover {
    transform: translateY(-4px);

    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.22);
}

.scroll-indicator {
    position: absolute;
    bottom: 35px;
    left: 50%;

    width: 24px;
    height: 42px;

    border:
        1px solid rgba(255, 255, 255, 0.48);
    border-radius: 999px;

    transform: translateX(-50%);
}

.scroll-indicator span {
    position: absolute;
    top: 8px;
    left: 50%;

    width: 4px;
    height: 8px;

    border-radius: 999px;

    background: #FFFFFF;

    transform: translateX(-50%);

    animation:
        scrollMouse 1.8s infinite;
}

@keyframes scrollMouse {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 17px);
    }
}


/* =========================================================
   FRASE DE IMPACTO
========================================================= */

.manifesto-section {
    position: relative;

    height: 155vh;

    background:
        linear-gradient(
            180deg,
            var(--cor-azul-escuro) 0%,
            var(--cor-azul) 42%,
            #FFFFFF 100%
        );
}

.manifesto-sticky {
    position: sticky;
    top: 0;

    display: flex;
    min-height: 100vh;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    padding: 40px 20px;

    text-align: center;
}

.manifesto-line {
    max-width: 1100px;

    color: rgba(255, 255, 255, 0.28);

    font-size: clamp(2.2rem, 6vw, 6.8rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.06em;

    transition:
        color 0.6s ease,
        transform 0.6s ease;
}

.manifesto-line.active {
    color: #FFFFFF;

    transform: scale(1.015);
}

.manifesto-line.highlight {
    color: rgba(255, 255, 255, 0.22);
}

.manifesto-line.highlight.active {
    color: #FFFFFF;

    text-shadow:
        0 10px 45px rgba(236, 0, 140, 0.26);
}


/* =========================================================
   NOSSA ESSÊNCIA
========================================================= */

.story-section {
    position: relative;
    overflow: hidden;
    padding: 140px 0;
    background: #fff;
}

.story-signature {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(45px, 8vw, 120px);
    align-items: center;
}

.story-signature-copy h2 {
    max-width: 720px;
    margin-top: 24px;
    font-size: clamp(2.6rem, 5.4vw, 5.6rem);
    line-height: 1.01;
    letter-spacing: -.06em;
}

.story-signature-copy p {
    max-width: 690px;
    margin-top: 26px;
    color: var(--cor-texto-mutado);
    font-size: 1.06rem;
    line-height: 1.9;
}

.story-signature-visual {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    border-radius: 42px;
    background:
        radial-gradient(circle at 20% 18%, rgba(255,255,255,.28), transparent 24%),
        linear-gradient(145deg, var(--cor-azul), #0078ad);
    box-shadow: var(--sombra-colorida);
}

.story-signature-visual::before,
.story-signature-visual::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
}

.story-signature-visual::before {
    width: 420px;
    height: 420px;
    right: -125px;
    bottom: -110px;
}

.story-signature-visual::after {
    width: 260px;
    height: 260px;
    right: -40px;
    bottom: -28px;
}

.story-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    width: 230px;
    height: 230px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(18px);
    animation: storyFloat 5s ease-in-out infinite;
}

.story-mark i {
    color: var(--cor-amarelo);
    font-size: 1.5rem;
}

.story-mark strong {
    margin-top: 16px;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -.05em;
}

.story-mark small {
    margin-top: 5px;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

@keyframes storyFloat {
    50% { transform: translate(-50%, calc(-50% - 12px)); }
}

.story-word {
    position: absolute;
    color: rgba(255,255,255,.24);
    font-size: clamp(2.3rem, 5vw, 5rem);
    font-weight: 800;
    letter-spacing: -.06em;
}

.story-word-one { top: 35px; left: 32px; transform: rotate(-7deg); }
.story-word-two { top: 42%; right: 24px; transform: rotate(7deg); }
.story-word-three { bottom: 32px; left: 38px; transform: rotate(-4deg); }

.story-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 80px;
}

.story-principle {
    padding: 30px;
    border: 1px solid var(--borda);
    border-radius: 24px;
    background: var(--cor-fundo-suave);
    transition: transform .35s ease, border-color .35s ease, background .35s ease;
}

.story-principle:hover {
    transform: translateY(-8px);
    border-color: rgba(0,163,224,.35);
    background: #fff;
}

.story-principle i {
    color: var(--cor-rosa);
    font-size: 1.4rem;
}

.story-principle:nth-child(2) i { color: var(--cor-verde); }
.story-principle:nth-child(3) i { color: var(--cor-azul); }

.story-principle span {
    display: block;
    margin-top: 42px;
    font-size: 1.1rem;
    font-weight: 800;
}

.story-principle p {
    margin-top: 10px;
    color: var(--cor-texto-mutado);
    font-size: .94rem;
}

/* =========================================================
   PROCESSO PLAY KIDS
========================================================= */

.process-section {
    position: relative;
    overflow: hidden;
    padding: 140px 0;
    background:
        radial-gradient(circle at 12% 15%, rgba(236,0,140,.17), transparent 24%),
        radial-gradient(circle at 88% 82%, rgba(123,192,67,.18), transparent 25%),
        linear-gradient(145deg, #006a9c, var(--cor-azul));
    color: #fff;
}

.process-heading {
    max-width: 930px;
}

.process-heading h2 {
    margin-top: 22px;
    font-size: clamp(2.6rem, 5.5vw, 5.7rem);
    line-height: 1.01;
    letter-spacing: -.06em;
}

.process-heading p {
    max-width: 700px;
    margin-top: 26px;
    color: rgba(255,255,255,.8);
    font-size: 1.05rem;
}

.process-shell {
    margin-top: 72px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 34px;
    background: rgba(255,255,255,.1);
    box-shadow: 0 32px 90px rgba(0,61,92,.22);
    backdrop-filter: blur(15px);
}

.process-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.process-tab {
    position: relative;
    min-height: 110px;
    padding: 24px;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.16);
    background: transparent;
    color: rgba(255,255,255,.65);
    text-align: left;
    cursor: pointer;
    transition: background .3s ease, color .3s ease;
}

.process-tab:last-child { border-right: 0; }
.process-tab:hover { background: rgba(255,255,255,.08); color: #fff; }
.process-tab.active { background: #fff; color: var(--cor-texto-escuro); }

.process-tab span {
    display: block;
    color: inherit;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.process-tab strong {
    display: block;
    margin-top: 12px;
    font-size: 1rem;
}

.process-stage {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    min-height: 520px;
}

.process-visual {
    position: relative;
    display: grid;
    overflow: hidden;
    place-items: center;
    background: rgba(0, 68, 103, .22);
}

.process-icon-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    width: 170px;
    height: 170px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 42px;
    background: rgba(255,255,255,.16);
    box-shadow: 0 24px 70px rgba(0,51,76,.2);
    backdrop-filter: blur(18px);
    transform: rotate(-4deg);
    transition: transform .45s ease;
}

.process-shell:hover .process-icon-wrap { transform: rotate(3deg) scale(1.04); }
.process-icon-wrap i { color: #fff; font-size: 4rem; }

.process-watermark {
    position: absolute;
    right: -20px;
    bottom: -60px;
    color: rgba(255,255,255,.08);
    font-size: 15rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.1em;
}

.process-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

.process-blob-one {
    top: 14%; left: 10%; width: 120px; height: 120px;
    background: rgba(236,0,140,.28);
    animation: processFloat 6s ease-in-out infinite;
}

.process-blob-two {
    right: 8%; bottom: 12%; width: 160px; height: 160px;
    background: rgba(123,192,67,.25);
    animation: processFloat 7s ease-in-out infinite reverse;
}

@keyframes processFloat { 50% { transform: translateY(-20px) scale(1.08); } }

.process-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: clamp(42px, 7vw, 85px);
    background: rgba(255,255,255,.08);
}

.process-kicker {
    color: var(--cor-amarelo);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.process-content h3 {
    max-width: 650px;
    margin-top: 18px;
    font-size: clamp(2.2rem, 4.2vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.process-content > p {
    max-width: 620px;
    margin-top: 26px;
    color: rgba(255,255,255,.8);
    font-size: 1.04rem;
    line-height: 1.85;
}

.process-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    color: #fff;
    font-weight: 700;
}

.process-detail i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--cor-rosa);
}

.final-brand {
    margin: 24px auto 0;
    color: #fff;
    font-size: clamp(1.3rem, 2vw, 2rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

@media (max-width: 980px) {
    .story-signature { grid-template-columns: 1fr; }
    .story-signature-visual { min-height: 480px; }
    .story-principles { grid-template-columns: 1fr; }
    .process-tabs { grid-template-columns: repeat(2, 1fr); }
    .process-stage { grid-template-columns: 1fr; }
    .process-visual { min-height: 390px; }
}

@media (max-width: 720px) {
    .story-section, .process-section { padding: 95px 0; }
    .story-signature-visual { min-height: 400px; border-radius: 28px; }
    .story-mark { width: 190px; height: 190px; }
    .process-shell { margin-top: 55px; border-radius: 26px; }
    .process-tabs { grid-template-columns: 1fr; }
    .process-tab { min-height: 82px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
    .process-stage { min-height: auto; }
    .process-visual { min-height: 310px; }
    .process-icon-wrap { width: 135px; height: 135px; border-radius: 34px; }
    .process-icon-wrap i { font-size: 3rem; }
    .process-content { padding: 42px 26px; }
}


/* =========================================================
   MOMENTOS
========================================================= */

.moments-section {
    overflow: hidden;
    padding: 140px 0;
    background: #fff;
}

.moments-heading {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 80px;
    align-items: end;
}

.moments-heading h2 {
    max-width: 780px;
    margin-top: 22px;
    font-size: clamp(2.5rem, 5vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -.06em;
}

.moments-heading > p {
    color: var(--cor-texto-mutado);
    font-size: 1.05rem;
}

.moments-marquee {
    margin-top: 90px;
    overflow: hidden;
    border-top: 1px solid var(--borda);
    border-bottom: 1px solid var(--borda);
    background: var(--cor-fundo-suave);
    transform: rotate(-1.5deg) scale(1.02);
}

.moments-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 36px;
    padding: 24px 0;
    animation: momentsMove 22s linear infinite;
}

.moments-track span {
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: -.045em;
}

.moments-track i {
    color: var(--cor-rosa);
    font-size: 1.35rem;
}

.moments-track i:nth-of-type(2n) {
    color: var(--cor-verde);
}

.moments-track i:nth-of-type(3n) {
    color: var(--cor-azul);
}

@keyframes momentsMove {
    to {
        transform: translateX(-50%);
    }
}

.moments-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 95px;
}

.moment-card {
    position: relative;
    display: flex;
    min-height: 390px;
    overflow: hidden;
    justify-content: space-between;
    flex-direction: column;
    padding: 34px;
    border-radius: var(--radius-lg);
    color: #fff;
    box-shadow: var(--sombra-suave);
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.moment-card::before,
.moment-card::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
}

.moment-card::before {
    right: -80px;
    bottom: -80px;
    width: 260px;
    height: 260px;
}

.moment-card::after {
    right: -35px;
    bottom: -35px;
    width: 170px;
    height: 170px;
}

.moment-card:hover {
    transform: translateY(-12px) rotate(-1deg);
}

.moment-blue {
    background: var(--cor-azul);
}

.moment-pink {
    background: var(--cor-rosa);
}

.moment-green {
    background: var(--cor-verde);
}

.moment-card > span {
    position: relative;
    z-index: 2;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.moment-card > div {
    position: relative;
    z-index: 2;
}

.moment-card small {
    color: rgba(255, 255, 255, .76);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.moment-card h3 {
    max-width: 340px;
    margin-top: 12px;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.05em;
}

@media (max-width: 980px) {
    .journey-sticky {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 35px;
    }

    .journey-device {
        width: min(72vw, 420px);
    }

    .journey-copy {
        min-height: 300px;
        text-align: center;
    }

    .journey-copy-item {
        align-items: center;
    }

    .moments-heading {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .moments-cards {
        grid-template-columns: 1fr;
    }

    .moment-card {
        min-height: 300px;
    }
}

@media (max-width: 720px) {
    .journey-section {
        padding-top: 95px;
    }

    .journey-stage {
        min-height: 350vh;
        margin-top: 30px;
    }

    .journey-sticky {
        width: min(calc(100% - 28px), var(--container));
        padding: 45px 0;
    }

    .journey-device {
        width: min(78vw, 340px);
    }

    .journey-icon {
        width: 54px;
        height: 54px;
        border-radius: 17px;
        font-size: 1.08rem;
    }

    .journey-copy {
        min-height: 330px;
    }

    .journey-copy-item h3 {
        font-size: clamp(2rem, 10vw, 3.2rem);
    }

    .moments-section {
        padding: 95px 0;
    }

    .moments-marquee {
        margin-top: 60px;
    }

    .moments-cards {
        margin-top: 70px;
    }

    .moment-card {
        min-height: 280px;
    }
}


/* =========================================================
   LINHA DO TEMPO
========================================================= */

.timeline-section {
    padding: 140px 0;

    background: var(--cor-fundo-suave);
    color: var(--cor-texto-escuro);
}

.timeline-header {
    max-width: 850px;
}

.timeline {
    position: relative;

    margin-top: 90px;
}

.timeline::before {
    content: "";

    position: absolute;
    top: 0;
    bottom: 0;
    left: 170px;

    width: 3px;

    border-radius: 999px;

    background: #DDE7EC;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 170px;

    width: 3px;
    height: 0;

    border-radius: 999px;

    background:
        linear-gradient(
            to bottom,
            var(--cor-azul),
            var(--cor-rosa),
            var(--cor-verde)
        );

    transition:
        height 0.12s linear;
}

.timeline-item {
    position: relative;

    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 75px;

    padding: 0 0 95px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 4px;
    left: 158px;

    width: 27px;
    height: 27px;

    border:
        7px solid var(--cor-fundo-suave);
    border-radius: 50%;

    background: #C7D7DF;

    transition:
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.timeline-item.visible .timeline-dot {
    background: var(--cor-rosa);

    box-shadow:
        0 0 0 8px rgba(236, 0, 140, 0.12);
}

.timeline-year {
    color: var(--cor-azul-escuro);

    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-align: right;
    text-transform: uppercase;
}

.timeline-content {
    max-width: 700px;
}

.timeline-content h3 {
    color: var(--cor-texto-escuro);

    font-size: clamp(1.5rem, 3vw, 2.4rem);
    letter-spacing: -0.04em;
}

.timeline-content p {
    margin-top: 16px;

    color: var(--cor-texto-mutado);

    font-size: 1rem;
    line-height: 1.8;
}


/* =========================================================
   CHAMADA FINAL
========================================================= */

.final-section {
    position: relative;

    display: grid;
    min-height: 92vh;
    overflow: hidden;

    place-items: center;

    padding: 120px 20px;

    background:
        linear-gradient(
            145deg,
            #006A9C,
            #00A3E0
        );

    isolation: isolate;
}

.final-section::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -3;

    background:
        radial-gradient(
            circle at 25% 25%,
            rgba(236, 0, 140, 0.24),
            transparent 24%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(123, 192, 67, 0.22),
            transparent 26%
        );
}

.final-light {
    position: absolute;
    top: 42%;
    left: 50%;
    z-index: -2;

    width: min(70vw, 800px);
    height: min(70vw, 800px);

    border:
        1px solid rgba(255, 255, 255, 0.20);
    border-radius: 50%;

    transform: translate(-50%, -50%);

    box-shadow:
        0 0 100px rgba(255, 255, 255, 0.06),
        inset 0 0 100px rgba(255, 255, 255, 0.05);
}

.final-light::before,
.final-light::after {
    content: "";

    position: absolute;
    inset: 10%;

    border:
        1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.final-light::after {
    inset: 22%;
}

.final-content {
    width: min(100%, 920px);

    text-align: center;
}

.final-content p {
    max-width: 670px;
    margin: 28px auto 0;

    color: rgba(255, 255, 255, 0.84);

    font-size: 1.08rem;
    line-height: 1.8;
}

.final-actions {
    display: flex;

    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 40px;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    min-height: 58px;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 0 26px;

    border-radius: 999px;

    font-weight: 800;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.primary-button {
    background: var(--cor-verde);
    color: #FFFFFF;

    box-shadow:
        0 18px 40px rgba(63, 133, 14, 0.26);
}

.secondary-button {
    border:
        1px solid rgba(255, 255, 255, 0.34);

    background: rgba(255, 255, 255, 0.13);
    color: #FFFFFF;

    backdrop-filter: blur(12px);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-4px);
}

.primary-button:hover {
    background: #70B43A;
}

.secondary-button:hover {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.21);
}


/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 980px) {

    .story-header,
    .values-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .experience-card {
        grid-template-columns: 1fr;
    }

    .experience-visual {
        min-height: 440px;
    }

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

}

@media (max-width: 720px) {

    .section-container {
        width: min(calc(100% - 28px), var(--container));
    }

    .intro-section {
        padding: 100px 18px;
    }

    .intro-title {
        font-size: clamp(2.75rem, 13vw, 4.7rem);
    }

    .intro-title strong::after {
        height: 6px;
    }

    .manifesto-section {
        height: 130vh;
    }

    .manifesto-line {
        font-size: clamp(2.1rem, 12vw, 4.6rem);
    }

    .story-section,
    .numbers-section,
    .timeline-section,
    .values-section {
        padding: 95px 0;
    }

    .experience-card {
        margin-top: 55px;

        border-radius: 26px;
    }

    .experience-visual {
        min-height: 380px;

        padding: 38px 20px;
    }

    .experience-content {
        padding: 42px 26px;
    }

    .experience-list {
        grid-template-columns: 1fr;
    }

    .numbers-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .number-card {
        min-height: 265px;
    }

    .timeline {
        margin-top: 60px;
    }

    .timeline::before,
    .timeline-progress {
        left: 11px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 14px;

        padding-left: 48px;
        padding-bottom: 70px;
    }

    .timeline-dot {
        left: -1px;
    }

    .timeline-year {
        text-align: left;
    }

    .value-card {
        min-height: 310px;

        padding: 32px;
    }

    .value-card h3 {
        margin-top: 58px;
    }

    .final-section {
        min-height: 85vh;

        padding: 100px 18px;
    }

    .final-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

}


/* Correção da experiência interativa */
.journey-center.is-changing strong,
.journey-center.is-changing small {
    opacity: 0;
    transform: translateY(8px);
}

.journey-progress {
    position: absolute;
    right: 20px;
    top: 50%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 9px;
    transform: translateY(-50%);
}

.journey-progress span {
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: rgba(255,255,255,.35);
    transition: height .35s ease, background .35s ease;
}

.journey-progress span.active {
    height: 28px;
    background: #fff;
}

@media (max-width: 720px) {
    .journey-center {
        width: 56%;
        min-height: 115px;
        padding: 10px;
    }

    .journey-center strong {
        font-size: clamp(1.35rem, 7vw, 2.1rem);
    }

    .journey-center small {
        font-size: .66rem;
    }

    .journey-progress {
        right: 6px;
    }
}

/* =========================================================
   HISTÓRIA VISUAL — TRANSFORMAÇÃO DA FESTA
========================================================= */
.visual-story-section {
    position: relative;
    padding: 120px 0 0;
    background: #fff;
    overflow: clip;
}

.visual-story-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px 80px;
    align-items: end;
    padding-bottom: 72px;
}

.visual-story-intro .section-label {
    grid-column: 1 / -1;
}

.visual-story-intro h2 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(2.7rem, 5.4vw, 6rem);
    line-height: .98;
    letter-spacing: -.065em;
    color: var(--cor-texto-escuro);
}

.visual-story-intro p {
    margin: 0 0 8px;
    max-width: 540px;
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    line-height: 1.75;
    color: var(--cor-texto-mutado);
}

.visual-story {
    position: relative;
    height: 400vh;
}

.visual-story-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
    background: #dff4ff;
    isolation: isolate;
}

.visual-scene {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity .75s ease, transform 1.4s cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
}

.visual-scene.active {
    opacity: 1;
    transform: scale(1);
}

.scene-sky {
    position: absolute;
    inset: 0 0 28%;
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,.88) 0 8%, transparent 8.5%),
        radial-gradient(circle at 75% 17%, rgba(255,255,255,.7) 0 7%, transparent 7.5%),
        linear-gradient(180deg, #bfeeff 0%, #edfaff 100%);
}

.scene-ground {
    position: absolute;
    inset: 66% 0 0;
    background: linear-gradient(180deg, #8fd85b 0%, #65b63d 100%);
}

.scene-ground::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .28;
    background-image: radial-gradient(circle, rgba(255,255,255,.8) 0 1px, transparent 1.5px);
    background-size: 30px 30px;
}

.scene-house {
    position: absolute;
    right: 7%;
    bottom: 28%;
    width: min(300px, 24vw);
    height: min(190px, 18vw);
    border-radius: 10px 10px 0 0;
    background: #fff8ee;
    box-shadow: 0 20px 60px rgba(31,78,92,.18);
}

.scene-house::before {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    top: -42%;
    height: 52%;
    background: #f37022;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.scene-house::after {
    content: "";
    position: absolute;
    left: 18%;
    bottom: 0;
    width: 26%;
    height: 52%;
    background: #00a3e0;
    border-radius: 12px 12px 0 0;
}

.scene-tree {
    position: absolute;
    bottom: 27%;
    width: 34px;
    height: 120px;
    background: #80512f;
    border-radius: 20px;
}

.scene-tree::before,
.scene-tree::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: #55ae3d;
}

.scene-tree::before { width: 120px; height: 120px; left: -43px; top: -65px; }
.scene-tree::after { width: 88px; height: 88px; left: -26px; top: -92px; background: #7bc043; }
.scene-tree-left { left: 8%; }
.scene-tree-right { right: 36%; transform: scale(.72); }

.scene-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    padding: 14px 22px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 999px;
    background: rgba(20,35,50,.68);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
}

.scene-truck {
    position: absolute;
    left: 12%;
    bottom: 25%;
    width: 280px;
    height: 140px;
    border-radius: 24px 34px 16px 16px;
    background: var(--cor-azul);
    box-shadow: 0 28px 60px rgba(0,112,160,.3);
    animation: truckFloat 2.8s ease-in-out infinite;
}

.scene-truck::before,
.scene-truck::after {
    content: "";
    position: absolute;
    bottom: -22px;
    width: 54px;
    height: 54px;
    border: 10px solid #243442;
    border-radius: 50%;
    background: #fff;
}
.scene-truck::before { left: 34px; }
.scene-truck::after { right: 34px; }
.scene-truck > i { position: absolute; right: 28px; top: 44px; font-size: 44px; color: #fff; opacity: .9; }
.truck-logo { position: absolute; left: 28px; top: 30px; font-size: 25px; line-height: .9; font-weight: 900; color: #fff; }

.scene-box {
    position: absolute;
    bottom: 28%;
    width: 72px;
    height: 68px;
    border-radius: 8px;
    background: #ffd100;
    box-shadow: inset 0 -12px 0 rgba(0,0,0,.07);
}
.scene-box::before { content:""; position:absolute; left:50%; top:0; bottom:0; width:10px; transform:translateX(-50%); background:#f37022; }
.scene-box-one { left: 48%; transform: rotate(-5deg); }
.scene-box-two { left: 56%; bottom: 27%; transform: rotate(7deg) scale(.82); background:#ec008c; }

.scene-inflatable {
    position: absolute;
    left: 15%;
    bottom: 25%;
    width: min(480px, 45vw);
    height: min(310px, 30vw);
    border-radius: 90px 90px 24px 24px;
    background: linear-gradient(135deg, #00a3e0 0 33%, #ec008c 33% 66%, #ffd100 66%);
    box-shadow: 0 35px 80px rgba(33,57,82,.25), inset 0 -28px 0 rgba(0,0,0,.06);
    transform-origin: bottom;
    animation: inflatableBreath 3.4s ease-in-out infinite;
}

.scene-inflatable::after {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 0;
    height: 52%;
    border-radius: 90px 90px 0 0;
    background: rgba(255,255,255,.27);
}

.scene-inflatable span {
    position: absolute;
    top: -38px;
    width: 82px;
    height: 100px;
    border-radius: 44px 44px 10px 10px;
    background: inherit;
}
.scene-inflatable span:nth-child(1) { left: 5%; background:#00a3e0; }
.scene-inflatable span:nth-child(2) { left: 41%; background:#ec008c; }
.scene-inflatable span:nth-child(3) { right: 5%; background:#ffd100; }
.scene-inflatable strong { position:absolute; z-index:2; top:30%; left:50%; transform:translate(-50%,-50%); font-size:clamp(2rem,5vw,5.5rem); color:#fff; letter-spacing:-.06em; }

.scene-worker {
    position: absolute;
    bottom: 24%;
    z-index: 8;
    font-size: 72px;
    color: #20384b;
    animation: workerMove 2.2s ease-in-out infinite alternate;
}
.worker-one { left: 10%; }
.worker-two { left: 60%; animation-delay: -.8s; }

.scene-kids {
    position: absolute;
    left: 45%;
    bottom: 24%;
    z-index: 10;
    display: flex;
    align-items: end;
    gap: 20px;
    font-size: clamp(54px, 6vw, 92px);
    color: #263b4b;
}
.scene-kids i:nth-child(1) { color:#00a3e0; animation:kidJump 1.2s ease-in-out infinite; }
.scene-kids i:nth-child(2) { color:#f37022; animation:kidJump 1.2s ease-in-out .18s infinite; }
.scene-kids i:nth-child(3) { color:#ec008c; animation:kidJump 1.2s ease-in-out .36s infinite; }

.scene-confetti i {
    position: absolute;
    z-index: 20;
    width: 12px;
    height: 24px;
    border-radius: 4px;
    animation: confettiFall 3s linear infinite;
}
.scene-confetti i:nth-child(1){left:12%;top:8%;background:#ec008c;animation-delay:-.4s}
.scene-confetti i:nth-child(2){left:25%;top:16%;background:#ffd100;animation-delay:-1.6s}
.scene-confetti i:nth-child(3){left:39%;top:5%;background:#00a3e0;animation-delay:-2.2s}
.scene-confetti i:nth-child(4){left:52%;top:13%;background:#7bc043;animation-delay:-.8s}
.scene-confetti i:nth-child(5){left:64%;top:4%;background:#f37022;animation-delay:-1.1s}
.scene-confetti i:nth-child(6){left:75%;top:18%;background:#ec008c;animation-delay:-2.5s}
.scene-confetti i:nth-child(7){left:86%;top:7%;background:#ffd100;animation-delay:-1.9s}
.scene-confetti i:nth-child(8){left:94%;top:21%;background:#00a3e0;animation-delay:-.2s}

.visual-story-copy {
    position: absolute;
    z-index: 50;
    left: clamp(24px, 6vw, 96px);
    bottom: clamp(26px, 7vh, 78px);
    max-width: 620px;
    padding: 26px 30px;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 28px;
    background: rgba(18,35,50,.72);
    color: #fff;
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
    backdrop-filter: blur(18px);
}
.visual-step { display:block; margin-bottom:12px; color:#ffd100; font-size:.75rem; font-weight:800; letter-spacing:.18em; }
.visual-story-copy h3 { margin:0; font-size:clamp(1.8rem,3.8vw,4.4rem); line-height:1; letter-spacing:-.055em; }
.visual-story-copy p { margin:14px 0 0; max-width:540px; color:rgba(255,255,255,.78); line-height:1.65; }
.visual-story-copy.is-changing { animation: copyPulse .45s ease; }

.visual-progress {
    position: absolute;
    z-index: 60;
    right: clamp(22px, 4vw, 66px);
    top: 14%;
    bottom: 14%;
    width: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.42);
}
.visual-progress span { display:block; width:100%; height:0; border-radius:inherit; background:#fff; box-shadow:0 0 24px rgba(255,255,255,.8); transition:height .15s linear; }

@keyframes truckFloat { 50% { transform: translateY(-8px); } }
@keyframes inflatableBreath { 50% { transform: scaleY(1.025) scaleX(.99); } }
@keyframes workerMove { to { transform: translateX(18px) rotate(3deg); } }
@keyframes kidJump { 50% { transform: translateY(-18px) rotate(-5deg); } }
@keyframes confettiFall { 0%{transform:translateY(-80px) rotate(0);opacity:0}10%{opacity:1}100%{transform:translateY(80vh) rotate(500deg);opacity:0} }
@keyframes copyPulse { 45% { opacity:.15; transform:translateY(10px); } }

@media (max-width: 800px) {
    .visual-story-section { padding-top: 84px; }
    .visual-story-intro { grid-template-columns:1fr; gap:24px; padding-bottom:50px; }
    .visual-story-intro .section-label { grid-column:auto; }
    .visual-story { height:360vh; }
    .visual-story-sticky { min-height:620px; }
    .scene-house { right:-2%; bottom:30%; width:190px; height:130px; }
    .scene-tree-right { display:none; }
    .scene-truck { left:5%; bottom:30%; width:210px; height:110px; }
    .scene-truck > i { top:34px; font-size:34px; }
    .scene-box-one { left:62%; bottom:31%; }
    .scene-box-two { left:78%; bottom:30%; }
    .scene-inflatable { left:5%; bottom:30%; width:82vw; height:45vw; }
    .scene-worker { bottom:29%; font-size:54px; }
    .worker-two { left:78%; }
    .scene-kids { left:18%; bottom:29%; font-size:52px; }
    .visual-story-copy { left:18px; right:36px; bottom:24px; padding:22px; border-radius:22px; }
    .visual-story-copy h3 { font-size:2rem; }
    .visual-story-copy p { font-size:.92rem; }
    .visual-progress { right:16px; }
    .scene-caption { top:18%; white-space:nowrap; }
}

@media (prefers-reduced-motion: reduce) {
    .visual-scene, .scene-truck, .scene-inflatable, .scene-worker, .scene-kids i, .scene-confetti i { animation:none !important; transition:none !important; }
}


/* =========================================================
   AJUSTES DE COMPOSIÇÃO — CARRINHO E CARD DA HISTÓRIA
========================================================= */
.scene-truck,
.scene-truck::before,
.scene-truck::after {
    box-sizing: border-box;
}

.scene-truck::before,
.scene-truck::after {
    bottom: -24px;
    width: 52px;
    height: 52px;
    border-width: 8px;
    box-shadow: 0 5px 0 rgba(19, 40, 54, .13);
}

/* Na cena da chegada, o texto vai para o lado oposto do veículo. */
@media (min-width: 1001px) {
    .visual-story[data-active-scene="1"] .visual-story-copy {
        left: auto;
        right: clamp(72px, 7vw, 120px);
        max-width: min(520px, 38vw);
    }

    .visual-story[data-active-scene="1"] .scene-truck {
        left: clamp(70px, 9vw, 150px);
        bottom: 27%;
    }

    .visual-story[data-active-scene="1"] .scene-box-one {
        left: 42%;
    }

    .visual-story[data-active-scene="1"] .scene-box-two {
        left: 49%;
    }
}

@media (max-width: 1000px) and (min-width: 801px) {
    .visual-story[data-active-scene="1"] .visual-story-copy {
        left: auto;
        right: 64px;
        max-width: 430px;
    }

    .visual-story[data-active-scene="1"] .scene-truck {
        left: 6%;
        bottom: 30%;
        transform: scale(.9);
        transform-origin: left bottom;
    }
}

@media (max-width: 800px) {
    .visual-story-sticky {
        min-height: 640px;
    }

    .visual-story[data-active-scene="1"] .visual-story-copy {
        left: 16px;
        right: 34px;
        bottom: 18px;
    }

    .scene-truck {
        left: 7%;
        bottom: 43%;
        width: 188px;
        height: 94px;
        border-radius: 18px 25px 12px 12px;
        box-shadow: 0 20px 42px rgba(0, 112, 160, .28);
    }

    .scene-truck::before,
    .scene-truck::after {
        bottom: -18px;
        width: 40px;
        height: 40px;
        border-width: 6px;
        background: #f8fbfd;
    }

    .scene-truck::before {
        left: 22px;
    }

    .scene-truck::after {
        right: 22px;
    }

    .scene-truck > i {
        right: 18px;
        top: 29px;
        font-size: 30px;
    }

    .truck-logo {
        left: 20px;
        top: 22px;
        font-size: 19px;
        line-height: .9;
    }

    .scene-box {
        width: 54px;
        height: 52px;
    }

    .scene-box-one {
        left: 62%;
        bottom: 43%;
    }

    .scene-box-two {
        left: 78%;
        bottom: 42%;
    }

    .visual-story-copy h3 {
        max-width: 15ch;
    }
}

@media (max-width: 430px) {
    .visual-story-sticky {
        min-height: 610px;
    }

    .scene-truck {
        left: 5%;
        bottom: 45%;
        width: 168px;
        height: 84px;
    }

    .scene-truck::before,
    .scene-truck::after {
        bottom: -16px;
        width: 36px;
        height: 36px;
        border-width: 5px;
    }

    .scene-truck::before {
        left: 19px;
    }

    .scene-truck::after {
        right: 19px;
    }

    .scene-truck > i {
        right: 15px;
        top: 26px;
        font-size: 26px;
    }

    .truck-logo {
        left: 17px;
        top: 20px;
        font-size: 17px;
    }

    .scene-box-one {
        left: 63%;
        bottom: 45%;
    }

    .scene-box-two {
        left: 79%;
        bottom: 44%;
    }

    .visual-story-copy {
        padding: 19px 20px;
    }

    .visual-story-copy h3 {
        font-size: 1.72rem;
    }

    .visual-story-copy p {
        margin-top: 10px;
        line-height: 1.5;
    }
}

/* =========================================================
   CORREÇÃO MOBILE — ELEMENTOS APOIADOS NO CHÃO
========================================================= */
@media (max-width: 800px) {
    /* O gramado começa em 66% da tela: 34% medidos a partir de baixo. */
    .scene-truck {
        bottom: calc(34% + 18px);
        animation: none;
    }

    .scene-box-one {
        bottom: 34%;
    }

    .scene-box-two {
        bottom: 34%;
    }

    .scene-inflatable {
        bottom: 34%;
        animation: inflatableGrounded 3.4s ease-in-out infinite;
    }

    .scene-worker,
    .scene-kids {
        bottom: 34%;
    }

    .scene-truck::after,
    .scene-truck::before {
        box-shadow:
            0 5px 0 rgba(19, 40, 54, .12),
            0 14px 16px rgba(26, 55, 70, .18);
    }

    .scene-truck {
        filter: drop-shadow(0 12px 9px rgba(30, 65, 76, .16));
    }

    .scene-box,
    .scene-inflatable {
        filter: drop-shadow(0 12px 8px rgba(34, 76, 52, .18));
    }
}

@media (max-width: 430px) {
    .scene-truck {
        bottom: calc(34% + 16px);
    }

    .scene-box-one,
    .scene-box-two,
    .scene-inflatable,
    .scene-worker,
    .scene-kids {
        bottom: 34%;
    }
}

@keyframes inflatableGrounded {
    0%, 100% {
        transform: scaleY(1) scaleX(1);
    }
    50% {
        transform: scaleY(1.018) scaleX(.994);
    }
}


/* =========================================================
   COMPOSIÇÃO FINAL DA HISTÓRIA VISUAL
   Card no topo e cenário livre para os objetos
========================================================= */

/* As etiquetas intermediárias foram removidas do HTML. */
.scene-caption {
    display: none !important;
}

/* Com o brinquedo montado, a casa deixa de competir visualmente. */
.visual-scene-setup .scene-house,
.visual-scene-party .scene-house {
    display: none;
}

/* Desktop: card compacto no topo, sem cobrir caminhão ou brinquedo. */
@media (min-width: 801px) {
    .visual-story-copy,
    .visual-story[data-active-scene="1"] .visual-story-copy {
        top: clamp(26px, 5vh, 58px);
        bottom: auto;
        left: clamp(28px, 5vw, 82px);
        right: auto;
        max-width: min(560px, 42vw);
        padding: 22px 26px;
    }

    .visual-story-copy h3 {
        font-size: clamp(1.7rem, 2.8vw, 3.35rem);
    }

    .visual-story-copy p {
        margin-top: 10px;
        line-height: 1.52;
    }
}

/* Mobile: card totalmente no topo, deixando o centro e o chão livres. */
@media (max-width: 800px) {
    .visual-story-copy,
    .visual-story[data-active-scene="1"] .visual-story-copy {
        top: 18px;
        bottom: auto;
        left: 16px;
        right: 34px;
        max-width: none;
        padding: 17px 18px;
        border-radius: 20px;
    }

    .visual-step {
        margin-bottom: 7px;
        font-size: .66rem;
    }

    .visual-story-copy h3 {
        max-width: none;
        font-size: clamp(1.42rem, 7vw, 1.9rem);
        line-height: 1.02;
    }

    .visual-story-copy p {
        margin-top: 8px;
        font-size: .84rem;
        line-height: 1.42;
    }

    /* Os objetos descem um pouco para aproveitar o espaço liberado. */
    .scene-truck {
        bottom: calc(34% + 18px);
    }

    .scene-box-one,
    .scene-box-two,
    .scene-inflatable,
    .scene-worker,
    .scene-kids {
        bottom: 34%;
    }
}

@media (max-width: 430px) {
    .visual-story-copy,
    .visual-story[data-active-scene="1"] .visual-story-copy {
        top: 12px;
        left: 12px;
        right: 28px;
        padding: 14px 15px;
    }

    .visual-story-copy h3 {
        font-size: 1.35rem;
    }

    .visual-story-copy p {
        font-size: .78rem;
        line-height: 1.35;
    }
}

/* =========================================================
   AJUSTE FINAL MOBILE — LINHA DE CHÃO MAIS BAIXA
   Mantém o desktop intacto e alinha chegada, montagem e festa.
========================================================= */
@media (max-width: 800px) {
    /* A base visual da casa está em 30%; todos os objetos passam a usar a mesma linha. */
    .scene-truck {
        bottom: calc(30% + 18px);
    }

    .scene-box-one,
    .scene-box-two,
    .scene-inflatable,
    .scene-worker,
    .scene-kids {
        bottom: 30%;
    }

    /* As crianças pulam a partir do chão, sem deslocar o grupo inteiro. */
    .scene-kids {
        align-items: flex-end;
        transform-origin: center bottom;
    }

    .scene-worker {
        transform-origin: center bottom;
    }
}

@media (max-width: 430px) {
    .scene-truck {
        bottom: calc(30% + 16px);
    }

    .scene-box-one,
    .scene-box-two,
    .scene-inflatable,
    .scene-worker,
    .scene-kids {
        bottom: 30%;
    }
}
