/* ── Section wrapper ─────────── */
.section {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 40px;
}

/* ── Historia grid ───────────── */
.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-bottom: 200px;
}

@media (max-width: 800px) {
    .historia-grid {
        grid-template-columns: 1fr;
        gap: 44px;
        padding: 0;
    }
}

/* Text */
.historia-text .tag {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.deco-line {
    width: 56px;
    height: 5px;
    background: linear-gradient(90deg, var(--orange), #f4c26a);
    border-radius: 50px;
    margin-bottom: 24px;
}

.historia-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.9rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 24px;
}

.historia-text h2 em {
    font-style: normal;
    color: var(--text-primary);
}

.historia-text p {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.85;
    margin-bottom: 16px;
}


/* Image */
.historia-img {
    position: relative;
}

.img-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 18px;
    left: 18px;
    background: var(--orange);
    border-radius: 28px;
    z-index: 0;
    opacity: .3;
}

.img-frame {
    position: relative;
    z-index: 1;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.img-frame:hover img {
    transform: scale(1.04);
}

.sticker {
    position: absolute;
    bottom: -22px;
    left: -22px;
    z-index: 2;
    background: var(--white);
    border: 3px solid var(--orange);
    border-radius: 18px;
    padding: 14px 20px;
    box-shadow: 0 8px 28px rgba(224, 101, 25, .22);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticker .emoji {
    font-size: 1.9rem;
}

.sticker .stext strong {
    display: block;
    font-size: .95rem;
    font-weight: 800;
    color: var(--text-primary);
}

.sticker .stext span {
    font-size: .78rem;
    color: var(--text-primary);
}

/*=========================================================
    SEÇÃO DA NUVEM NO TOPO DA SESSÃO VÍDEO
=========================================================*/

.video-section .nuvem-top {
    position: absolute;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1360px;
    height: auto;
    margin: 0 auto;
    pointer-events: none;
    z-index: 1;
}

.video-section .nuvem-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Espaçamento entre colunas no mobile */
@media (max-width: 1350px) {
    .video-section .nuvem-top {
        top: -200px;
    }
}

@media (max-width: 1070px) {
    .video-section .nuvem-top {
        top: -100px;
    }
}

@media (max-width: 500px) {
    .video-section .nuvem-top {
        top: -50px;
    }
}

/* ── Video section ───────────── */
.video-section {
    position: relative;
    z-index: 1;
    background-color: var(--white);
    padding: 70px 32px 300px;
    text-align: center;
}

.video-section .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.video-section h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.video-section p.lead {
    font-size: 1.05rem;
    color: var(--text-primary);
    max-width: 520px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.video-outer {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    /* orange glow */
    filter: drop-shadow(0 20px 50px rgba(224, 101, 25, .35));
}

.video-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid var(--orange);
}

.video-wrapper::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 600px) {
    .video-section {
        padding: 70px 10px 100px;
    }

    .video-outer {
        width: 95%;
    }
}