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

/* Hero Visual - Livro Idêntico à Imagem */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.magic-book-scene {
    position: relative;
    width: 500px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: radial-gradient(ellipse at center bottom,
            rgba(0, 100, 200, 0.08) 0%,
            rgba(0, 50, 150, 0.04) 50%,
            transparent 100%);
}

/* Livro Perfeito - Idêntico à Imagem */
.perfect-book {
    position: relative;
    width: 380px;
    height: 90px;
    perspective: 1500px;
    animation: gentleFloat 6s ease-in-out infinite;
    z-index: 2;
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0px);
        filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.25));
    }

    50% {
        transform: translateY(-5px);
        filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.35));
    }
}

/* Sombra do Livro */
.book-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 320px;
    height: 60px;
    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.15) 50%,
            transparent 100%);
    transform: translateX(-50%);
    animation: shadowFloat 6s ease-in-out infinite;
    z-index: 0;
}

@keyframes shadowFloat {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateX(-50%) scale(1.05);
        opacity: 0.8;
    }
}

/* Páginas do Livro - Curvadas Naturalmente */
.left-page,
.right-page {
    position: absolute;
    width: 180px;
    height: 90px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: 8px 8px 3px 3px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.2),
        inset 0 2px 5px rgba(255, 255, 255, 0.9),
        inset 0 -2px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(220, 220, 220, 0.8);
}

.left-page {
    left: 5px;
    transform: rotateY(-45deg) rotateX(10deg);
    transform-origin: right center;
    z-index: 3;
}

.right-page {
    right: 5px;
    transform: rotateY(45deg) rotateX(10deg);
    transform-origin: left center;
    z-index: 3;
}

/* Sombras de Curvatura das Páginas */
.page-curve-shadow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 100%);
    z-index: 1;
}

.left-page .page-curve-shadow {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 100%);
}

.right-page .page-curve-shadow {
    left: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, transparent 100%);
}

/* Conteúdo das Páginas */
.page-content {
    position: relative;
    padding: 15px 12px;
    height: 100%;
    z-index: 2;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.paragraph {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 5px;
}

.text-line {
    height: 1px;
    background: linear-gradient(90deg, #888 0%, #bbb 70%, transparent 100%);
    border-radius: 0.5px;
    animation: textShimmer 4s ease-in-out infinite;
}

.text-line:not(.short):not(.medium) {
    width: 90%;
}

.text-line.medium {
    width: 75%;
}

.text-line.short {
    width: 55%;
}

.text-line:nth-child(1) {
    animation-delay: 0s;
}

.text-line:nth-child(2) {
    animation-delay: 0.5s;
}

.text-line:nth-child(3) {
    animation-delay: 1s;
}

.text-line:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes textShimmer {

    0%,
    100% {
        opacity: 0.4;
        transform: scaleX(0.98);
    }

    50% {
        opacity: 0.8;
        transform: scaleX(1);
    }
}

/* Centro/Lombada do Livro */
.book-center {
    position: absolute;
    left: 50%;
    top: 0;
    width: 30px;
    height: 90px;
    transform: translateX(-50%);
    z-index: 1;
}

.center-shadow {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.25) 50%,
            rgba(0, 0, 0, 0.15) 100%);
    border-radius: 3px;
}

/* Feixe de Luz Amplo e Difuso - Idêntico à Imagem */
.wide-light-beam {
    position: absolute;
    left: 50%;
    bottom: 70px;
    width: 300px;
    height: 350px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.beam-base {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 120px;
    background: linear-gradient(0deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(200, 230, 255, 0.8) 40%,
            rgba(150, 200, 255, 0.6) 100%);
    transform: translateX(-50%);
    filter: blur(3px);
    animation: beamPulse 4s ease-in-out infinite;
    clip-path: polygon(30% 100%, 70% 100%, 85% 0%, 15% 0%);
}

.beam-middle {
    position: absolute;
    left: 50%;
    bottom: 40px;
    width: 120px;
    height: 180px;
    background: linear-gradient(0deg,
            rgba(255, 255, 255, 0.7) 0%,
            rgba(180, 220, 255, 0.5) 50%,
            rgba(120, 180, 255, 0.3) 100%);
    transform: translateX(-50%);
    filter: blur(5px);
    animation: beamPulse 4s ease-in-out infinite 0.5s;
    clip-path: polygon(25% 100%, 75% 100%, 90% 0%, 10% 0%);
}

.beam-top {
    position: absolute;
    left: 50%;
    bottom: 80px;
    width: 200px;
    height: 250px;
    background: linear-gradient(0deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(160, 200, 255, 0.3) 30%,
            rgba(100, 160, 255, 0.2) 70%,
            transparent 100%);
    transform: translateX(-50%);
    filter: blur(8px);
    animation: beamPulse 4s ease-in-out infinite 1s;
    clip-path: polygon(20% 100%, 80% 100%, 95% 0%, 5% 0%);
}

@keyframes beamPulse {

    0%,
    100% {
        opacity: 0.8;
        transform: translateX(-50%) scaleY(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scaleY(1.1);
    }
}

/* Partículas Brilhantes no Feixe */
.light-sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sparkle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, transparent 70%);
    border-radius: 50%;
    animation: sparkleFloat 5s linear infinite;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.sparkle:nth-child(1) {
    left: 40%;
    animation-delay: 0s;
    animation-duration: 4.5s;
}

.sparkle:nth-child(2) {
    left: 60%;
    animation-delay: 0.5s;
    animation-duration: 5.2s;
}

.sparkle:nth-child(3) {
    left: 35%;
    animation-delay: 1s;
    animation-duration: 4.8s;
}

.sparkle:nth-child(4) {
    left: 65%;
    animation-delay: 1.5s;
    animation-duration: 5.5s;
}

.sparkle:nth-child(5) {
    left: 50%;
    animation-delay: 2s;
    animation-duration: 4.2s;
}

.sparkle:nth-child(6) {
    left: 30%;
    animation-delay: 2.5s;
    animation-duration: 5.0s;
}

.sparkle:nth-child(7) {
    left: 70%;
    animation-delay: 3s;
    animation-duration: 4.7s;
}

.sparkle:nth-child(8) {
    left: 45%;
    animation-delay: 3.5s;
    animation-duration: 5.3s;
}

.sparkle:nth-child(9) {
    left: 55%;
    animation-delay: 4s;
    animation-duration: 4.9s;
}

.sparkle:nth-child(10) {
    left: 38%;
    animation-delay: 4.5s;
    animation-duration: 5.1s;
}

.sparkle:nth-child(11) {
    left: 62%;
    animation-delay: 5s;
    animation-duration: 4.6s;
}

.sparkle:nth-child(12) {
    left: 48%;
    animation-delay: 0.3s;
    animation-duration: 5.4s;
}

@keyframes sparkleFloat {
    0% {
        bottom: 0;
        opacity: 0;
        transform: scale(0.3);
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    90% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        bottom: 100%;
        opacity: 0;
        transform: scale(0.3);
    }
}

/* Conteúdo Flutuante - Mantém igual */
.floating-content {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 3;
}

.magic-letter,
.magic-number,
.magic-symbol,
.magic-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    opacity: 0;
    animation: magicFloat 6s ease-in-out infinite var(--delay);
    transform: translate(calc(-50% + var(--x)), var(--y));
}

.magic-letter {
    font-size: 2.2rem;
    color: #ffffff;
    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.9),
        0 0 30px rgba(200, 230, 255, 0.7),
        0 0 45px rgba(150, 200, 255, 0.5);
}

.magic-number {
    font-size: 1.8rem;
    color: #ffd700;
    text-shadow:
        0 0 15px rgba(255, 215, 0, 0.9),
        0 0 30px rgba(255, 215, 0, 0.7);
}

.magic-symbol {
    font-size: 1.6rem;
    color: #87ceeb;
    text-shadow:
        0 0 15px rgba(135, 206, 235, 0.9),
        0 0 30px rgba(135, 206, 235, 0.7);
}

.magic-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9));
}

@keyframes magicFloat {
    0% {
        opacity: 0;
        transform: translate(calc(-50% + var(--x)), calc(var(--y) + 50px)) scale(0.5) rotate(0deg);
    }

    15% {
        opacity: 1;
        transform: translate(calc(-50% + var(--x)), var(--y)) scale(1) rotate(5deg);
    }

    85% {
        opacity: 1;
        transform: translate(calc(-50% + var(--x)), calc(var(--y) - 20px)) scale(1.1) rotate(-5deg);
    }

    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--x)), calc(var(--y) - 40px)) scale(0.8) rotate(10deg);
    }
}

/* Brilho Ambiente */
.ambient-glow {
    position: absolute;
    left: 50%;
    bottom: 50px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle at center bottom,
            rgba(200, 230, 255, 0.12) 0%,
            rgba(150, 200, 255, 0.08) 30%,
            rgba(100, 160, 255, 0.04) 60%,
            transparent 100%);
    transform: translateX(-50%);
    animation: ambientPulse 6s ease-in-out infinite;
    z-index: 0;
}

@keyframes ambientPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.15);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .magic-book-scene {
        width: 350px;
        height: 300px;
    }

    .perfect-book {
        width: 280px;
        height: 70px;
    }

    .left-page,
    .right-page {
        width: 130px;
        height: 70px;
    }

    .book-center {
        width: 22px;
        height: 70px;
    }

    .book-shadow {
        width: 240px;
        height: 45px;
        bottom: -15px;
    }

    .wide-light-beam {
        width: 220px;
        height: 260px;
        bottom: 55px;
    }

    .beam-base {
        width: 45px;
        height: 90px;
    }

    .beam-middle {
        width: 90px;
        height: 135px;
        bottom: 30px;
    }

    .beam-top {
        width: 150px;
        height: 180px;
        bottom: 60px;
    }

    .page-content {
        padding: 12px 9px;
    }

    .paragraph {
        gap: 2px;
        margin-bottom: 4px;
    }

    .magic-letter {
        font-size: 1.6rem;
    }

    .magic-number {
        font-size: 1.4rem;
    }

    .magic-symbol {
        font-size: 1.2rem;
    }

    .magic-icon {
        font-size: 1.1rem;
    }

    .ambient-glow {
        width: 320px;
        height: 320px;
        bottom: 35px;
    }
}

@media (max-width: 480px) {
    .magic-book-scene {
        width: 280px;
        height: 250px;
    }

    .perfect-book {
        width: 220px;
        height: 55px;
    }

    .left-page,
    .right-page {
        width: 100px;
        height: 55px;
    }

    .book-center {
        width: 18px;
        height: 55px;
    }

    .book-shadow {
        width: 180px;
        height: 35px;
        bottom: -12px;
    }

    .wide-light-beam {
        width: 180px;
        height: 200px;
        bottom: 40px;
    }

    .beam-base {
        width: 35px;
        height: 70px;
    }

    .beam-middle {
        width: 70px;
        height: 105px;
        bottom: 25px;
    }

    .beam-top {
        width: 120px;
        height: 140px;
        bottom: 45px;
    }

    .page-content {
        padding: 10px 7px;
    }

    .paragraph {
        gap: 2px;
        margin-bottom: 3px;
    }

    .text-line {
        height: 0.8px;
    }

    .magic-letter {
        font-size: 1.2rem;
    }

    .magic-number {
        font-size: 1.1rem;
    }

    .magic-symbol {
        font-size: 1rem;
    }

    .magic-icon {
        font-size: 0.9rem;
    }

    .ambient-glow {
        width: 260px;
        height: 260px;
        bottom: 25px;
    }
}

/* Hero Visual - Ultra Realistic Magic Book */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.magic-book-scene {
    position: relative;
    width: 500px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: radial-gradient(ellipse at center bottom,
            rgba(0, 100, 200, 0.1) 0%,
            rgba(0, 50, 150, 0.05) 50%,
            transparent 100%);
}

/* Livro Ultra Realista */
.realistic-book {
    position: relative;
    width: 320px;
    height: 100px;
    perspective: 1200px;
    animation: bookFloatRealistic 5s ease-in-out infinite;
    z-index: 2;
}

@keyframes bookFloatRealistic {

    0%,
    100% {
        transform: translateY(0px) rotateX(2deg);
        filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.3));
    }

    50% {
        transform: translateY(-6px) rotateX(1deg);
        filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4));
    }
}

/* Sombra do Livro */
.book-shadow {
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 280px;
    height: 50px;
    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            transparent 100%);
    transform: translateX(-50%);
    animation: shadowPulse 5s ease-in-out infinite;
    z-index: 0;
}

@keyframes shadowPulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateX(-50%) scale(1.1);
        opacity: 0.8;
    }
}

/* Páginas do Livro */
.book-left-page,
.book-right-page {
    position: absolute;
    width: 150px;
    height: 100px;
    background: linear-gradient(145deg, #fefefe 0%, #f8f8f8 100%);
    border-radius: 6px 6px 2px 2px;
    border: 1px solid #e8e8e8;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 3px rgba(255, 255, 255, 0.9),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.book-left-page {
    left: 10px;
    transform: rotateY(-35deg) rotateX(8deg);
    transform-origin: right center;
    z-index: 3;
}

.book-right-page {
    right: 10px;
    transform: rotateY(35deg) rotateX(8deg);
    transform-origin: left center;
    z-index: 3;
}

/* Textura das Páginas */
.page-texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.01) 50%, transparent 100%);
    background-size: 20px 20px, 25px 25px, 100% 100%;
    opacity: 0.7;
}

/* Conteúdo das Páginas */
.page-content {
    position: relative;
    padding: 18px 12px;
    height: 100%;
    z-index: 2;
}

.text-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.text-line {
    height: 1.5px;
    background: linear-gradient(90deg, #666 0%, #999 50%, transparent 100%);
    border-radius: 1px;
    animation: textAppearRealistic 4s ease-in-out infinite;
}

.text-line.short {
    width: 65%;
}

.text-line.medium {
    width: 85%;
}

.text-line.long {
    width: 95%;
}

.text-line:nth-child(1) {
    animation-delay: 0s;
}

.text-line:nth-child(2) {
    animation-delay: 0.3s;
}

.text-line:nth-child(3) {
    animation-delay: 0.6s;
}

.text-line:nth-child(4) {
    animation-delay: 0.9s;
}

.text-line:nth-child(5) {
    animation-delay: 1.2s;
}

.text-line:nth-child(6) {
    animation-delay: 1.5s;
}

.text-line:nth-child(7) {
    animation-delay: 1.8s;
}

.text-line:nth-child(8) {
    animation-delay: 2.1s;
}

@keyframes textAppearRealistic {

    0%,
    100% {
        opacity: 0.4;
        transform: scaleX(0.95);
    }

    50% {
        opacity: 0.9;
        transform: scaleX(1);
    }
}

/* Sombras das Bordas das Páginas */
.page-edge-shadow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

.book-left-page .page-edge-shadow {
    right: 0;
}

.book-right-page .page-edge-shadow {
    left: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
}

/* Lombada/Miolo do Livro */
.book-spine {
    position: absolute;
    left: 50%;
    top: 0;
    width: 25px;
    height: 100px;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 50%, #654321 100%);
    transform: translateX(-50%);
    border-radius: 4px 4px 2px 2px;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    z-index: 1;
    overflow: hidden;
}

.spine-texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(0deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%),
        repeating-linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 2px, transparent 4px);
    background-size: 100% 100%, 8px 100%;
}

.spine-shadow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.2) 100%);
}

/* Páginas Empilhadas */
.book-pages-stack {
    position: absolute;
    left: 50%;
    top: 2px;
    transform: translateX(-50%);
    z-index: 0;
}

.page-layer {
    position: absolute;
    width: 22px;
    height: 96px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
    border-radius: 3px 3px 1px 1px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.layer-1 {
    transform: translateX(-50%) translateZ(-2px) scale(0.98);
    opacity: 0.9;
}

.layer-2 {
    transform: translateX(-50%) translateZ(-4px) scale(0.96);
    opacity: 0.8;
}

.layer-3 {
    transform: translateX(-50%) translateZ(-6px) scale(0.94);
    opacity: 0.7;
}

.layer-4 {
    transform: translateX(-50%) translateZ(-8px) scale(0.92);
    opacity: 0.6;
}

/* Feixe de Luz Majestoso - mantém igual */
.light-beam {
    position: absolute;
    left: 50%;
    bottom: 80px;
    width: 200px;
    height: 350px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.beam-core {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(0deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(135, 206, 250, 0.8) 30%,
            rgba(70, 130, 200, 0.6) 60%,
            rgba(30, 80, 150, 0.4) 80%,
            transparent 100%);
    transform: translateX(-50%);
    animation: beamPulse 3s ease-in-out infinite;
    filter: blur(2px);
    clip-path: polygon(40% 100%, 60% 100%, 80% 0%, 20% 0%);
}

.beam-glow {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100px;
    height: 100%;
    background: radial-gradient(ellipse at center bottom,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(135, 206, 250, 0.3) 20%,
            rgba(70, 130, 200, 0.2) 50%,
            transparent 100%);
    transform: translateX(-50%);
    animation: glowPulse 3s ease-in-out infinite;
    clip-path: polygon(30% 100%, 70% 100%, 90% 0%, 10% 0%);
}

@keyframes beamPulse {

    0%,
    100% {
        opacity: 0.8;
        transform: translateX(-50%) scaleY(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scaleY(1.1);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.9;
        transform: translateX(-50%) scale(1.2);
    }
}

/* Partículas de Luz no Feixe - mantém igual */
.beam-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.light-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, transparent 70%);
    border-radius: 50%;
    animation: particleRise 4s linear infinite;
}

.light-particle:nth-child(1) {
    left: 45%;
    animation-delay: 0s;
    animation-duration: 3.5s;
}

.light-particle:nth-child(2) {
    left: 55%;
    animation-delay: 0.4s;
    animation-duration: 4.2s;
}

.light-particle:nth-child(3) {
    left: 40%;
    animation-delay: 0.8s;
    animation-duration: 3.8s;
}

.light-particle:nth-child(4) {
    left: 60%;
    animation-delay: 1.2s;
    animation-duration: 4.5s;
}

.light-particle:nth-child(5) {
    left: 50%;
    animation-delay: 1.6s;
    animation-duration: 3.2s;
}

.light-particle:nth-child(6) {
    left: 35%;
    animation-delay: 2.0s;
    animation-duration: 4.0s;
}

.light-particle:nth-child(7) {
    left: 65%;
    animation-delay: 2.4s;
    animation-duration: 3.7s;
}

.light-particle:nth-child(8) {
    left: 42%;
    animation-delay: 2.8s;
    animation-duration: 4.3s;
}

.light-particle:nth-child(9) {
    left: 58%;
    animation-delay: 3.2s;
    animation-duration: 3.9s;
}

.light-particle:nth-child(10) {
    left: 48%;
    animation-delay: 3.6s;
    animation-duration: 4.1s;
}

@keyframes particleRise {
    0% {
        bottom: 0;
        opacity: 0;
        transform: scale(0.5);
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    90% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        bottom: 100%;
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Conteúdo Flutuante - mantém igual */
.floating-content {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 3;
}

.magic-letter,
.magic-number,
.magic-symbol,
.magic-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    opacity: 0;
    animation: magicFloat 6s ease-in-out infinite var(--delay);
    transform: translate(calc(-50% + var(--x)), var(--y));
}

.magic-letter {
    font-size: 2.2rem;
    color: #ffffff;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(135, 206, 250, 0.6),
        0 0 30px rgba(70, 130, 200, 0.4);
}

.magic-number {
    font-size: 1.8rem;
    color: #ffd700;
    text-shadow:
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6);
}

.magic-symbol {
    font-size: 1.6rem;
    color: #87ceeb;
    text-shadow:
        0 0 10px rgba(135, 206, 235, 0.8),
        0 0 20px rgba(135, 206, 235, 0.6);
}

.magic-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

@keyframes magicFloat {
    0% {
        opacity: 0;
        transform: translate(calc(-50% + var(--x)), calc(var(--y) + 50px)) scale(0.5) rotate(0deg);
    }

    15% {
        opacity: 1;
        transform: translate(calc(-50% + var(--x)), var(--y)) scale(1) rotate(5deg);
    }

    85% {
        opacity: 1;
        transform: translate(calc(-50% + var(--x)), calc(var(--y) - 20px)) scale(1.1) rotate(-5deg);
    }

    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--x)), calc(var(--y) - 40px)) scale(0.8) rotate(10deg);
    }
}

/* Brilho Ambiente - mantém igual */
.ambient-glow {
    position: absolute;
    left: 50%;
    bottom: 60px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center bottom,
            rgba(135, 206, 250, 0.15) 0%,
            rgba(70, 130, 200, 0.1) 30%,
            rgba(30, 80, 150, 0.05) 60%,
            transparent 100%);
    transform: translateX(-50%);
    animation: ambientPulse 5s ease-in-out infinite;
    z-index: 0;
}

@keyframes ambientPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Responsividade para Livro Realista */
@media (max-width: 768px) {
    .magic-book-scene {
        width: 350px;
        height: 300px;
    }

    .realistic-book {
        width: 240px;
        height: 75px;
    }

    .book-left-page,
    .book-right-page {
        width: 110px;
        height: 75px;
    }

    .book-spine {
        width: 20px;
        height: 75px;
    }

    .book-shadow {
        width: 200px;
        height: 40px;
        bottom: -12px;
    }

    .page-content {
        padding: 14px 9px;
    }

    .text-lines {
        gap: 4px;
    }

    .text-line {
        height: 1.2px;
    }

    .page-layer {
        width: 18px;
        height: 72px;
    }

    .light-beam {
        width: 150px;
        height: 250px;
        bottom: 60px;
    }

    .magic-letter {
        font-size: 1.6rem;
    }

    .magic-number {
        font-size: 1.4rem;
    }

    .magic-symbol {
        font-size: 1.2rem;
    }

    .magic-icon {
        font-size: 1.1rem;
    }

    .ambient-glow {
        width: 300px;
        height: 300px;
        bottom: 40px;
    }
}

@media (max-width: 480px) {
    .magic-book-scene {
        width: 280px;
        height: 250px;
    }

    .realistic-book {
        width: 200px;
        height: 60px;
    }

    .book-left-page,
    .book-right-page {
        width: 90px;
        height: 60px;
    }

    .book-spine {
        width: 16px;
        height: 60px;
    }

    .book-shadow {
        width: 160px;
        height: 32px;
        bottom: -10px;
    }

    .page-content {
        padding: 12px 7px;
    }

    .text-lines {
        gap: 3px;
    }

    .text-line {
        height: 1px;
    }

    .page-layer {
        width: 14px;
        height: 57px;
    }

    .light-beam {
        width: 120px;
        height: 200px;
        bottom: 45px;
    }

    .magic-letter {
        font-size: 1.2rem;
    }

    .magic-number {
        font-size: 1.1rem;
    }

    .magic-symbol {
        font-size: 1rem;
    }

    .magic-icon {
        font-size: 0.9rem;
    }

    .ambient-glow {
        width: 250px;
        height: 250px;
        bottom: 25px;
    }
}

:root {
    --primary-color: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #fca5a5;
    --secondary-color: #1e293b;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
}


body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-image {
    width: 150px;
    height: 104px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-white {
    opacity: 1;
}

.logo-red {
    opacity: 0;
    position: absolute;
}

.header.scrolled .logo-white {
    opacity: 0;
}

.header.scrolled .logo-red {
    opacity: 1;
}

/* Remove the old logo-icon styles */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;

}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.9rem;
}


.header.scrolled .nav-menu a {
    color: var(--text-dark);
}

.nav-menu a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.header.scrolled .nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.3s ease;
}

.header.scrolled .nav-menu a::after {
    background: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    transition: color 0.3s ease;
}

.header.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: float-bg 20s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, transparent 0%, rgba(248, 250, 252, 0.1) 100%);
}

@keyframes float-bg {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-10px) rotate(1deg);
    }

    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-family: "Playfair Display", serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 3.5rem;
    margin-top: 10rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, white 0%, #f8fafc 100%);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Hero Visual - Magic Book Scene */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.magic-book-scene {
    position: relative;
    width: 500px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: radial-gradient(ellipse at center bottom,
            rgba(0, 100, 200, 0.1) 0%,
            rgba(0, 50, 150, 0.05) 50%,
            transparent 100%);
}

/* Livro Aberto na Base */
.open-book {
    position: relative;
    width: 300px;
    height: 80px;
    perspective: 1000px;
    animation: bookGlow 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes bookGlow {

    0%,
    100% {
        filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.3));
    }

    50% {
        filter: drop-shadow(0 8px 25px rgba(255, 255, 255, 0.6));
    }
}

.book-left-page,
.book-right-page {
    position: absolute;
    width: 140px;
    height: 80px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 4px;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 3px rgba(255, 255, 255, 0.8);
    border: 1px solid #e0e0e0;
}

.book-left-page {
    left: 10px;
    transform: rotateY(-30deg) rotateX(15deg);
    transform-origin: right center;
}

.book-right-page {
    right: 10px;
    transform: rotateY(30deg) rotateX(15deg);
    transform-origin: left center;
}

.book-binding {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 80px;
    background: linear-gradient(135deg, #2c1810 0%, #4a2c1a 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-lines {
    padding: 12px 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.text-line {
    height: 1px;
    background: linear-gradient(90deg, #999 0%, transparent 100%);
    animation: textShimmer 3s ease-in-out infinite;
}

.text-line:nth-child(1) {
    width: 85%;
    animation-delay: 0s;
}

.text-line:nth-child(2) {
    width: 90%;
    animation-delay: 0.2s;
}

.text-line:nth-child(3) {
    width: 75%;
    animation-delay: 0.4s;
}

.text-line:nth-child(4) {
    width: 80%;
    animation-delay: 0.6s;
}

.text-line:nth-child(5) {
    width: 65%;
    animation-delay: 0.8s;
}

@keyframes textShimmer {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

/* Feixe de Luz Majestoso */
.light-beam {
    position: absolute;
    left: 50%;
    bottom: 60px;
    width: 200px;
    height: 350px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.beam-core {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(0deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(135, 206, 250, 0.8) 30%,
            rgba(70, 130, 200, 0.6) 60%,
            rgba(30, 80, 150, 0.4) 80%,
            transparent 100%);
    transform: translateX(-50%);
    animation: beamPulse 3s ease-in-out infinite;
    filter: blur(2px);
    clip-path: polygon(40% 100%, 60% 100%, 80% 0%, 20% 0%);
}

.beam-glow {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100px;
    height: 100%;
    background: radial-gradient(ellipse at center bottom,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(135, 206, 250, 0.3) 20%,
            rgba(70, 130, 200, 0.2) 50%,
            transparent 100%);
    transform: translateX(-50%);
    animation: glowPulse 3s ease-in-out infinite;
    clip-path: polygon(30% 100%, 70% 100%, 90% 0%, 10% 0%);
}

@keyframes beamPulse {

    0%,
    100% {
        opacity: 0.8;
        transform: translateX(-50%) scaleY(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scaleY(1.1);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.9;
        transform: translateX(-50%) scale(1.2);
    }
}

/* Partículas de Luz no Feixe */
.beam-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.light-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, transparent 70%);
    border-radius: 50%;
    animation: particleRise 4s linear infinite;
}

.light-particle:nth-child(1) {
    left: 45%;
    animation-delay: 0s;
    animation-duration: 3.5s;
}

.light-particle:nth-child(2) {
    left: 55%;
    animation-delay: 0.4s;
    animation-duration: 4.2s;
}

.light-particle:nth-child(3) {
    left: 40%;
    animation-delay: 0.8s;
    animation-duration: 3.8s;
}

.light-particle:nth-child(4) {
    left: 60%;
    animation-delay: 1.2s;
    animation-duration: 4.5s;
}

.light-particle:nth-child(5) {
    left: 50%;
    animation-delay: 1.6s;
    animation-duration: 3.2s;
}

.light-particle:nth-child(6) {
    left: 35%;
    animation-delay: 2.0s;
    animation-duration: 4.0s;
}

.light-particle:nth-child(7) {
    left: 65%;
    animation-delay: 2.4s;
    animation-duration: 3.7s;
}

.light-particle:nth-child(8) {
    left: 42%;
    animation-delay: 2.8s;
    animation-duration: 4.3s;
}

.light-particle:nth-child(9) {
    left: 58%;
    animation-delay: 3.2s;
    animation-duration: 3.9s;
}

.light-particle:nth-child(10) {
    left: 48%;
    animation-delay: 3.6s;
    animation-duration: 4.1s;
}

@keyframes particleRise {
    0% {
        bottom: 0;
        opacity: 0;
        transform: scale(0.5);
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    90% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        bottom: 100%;
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Conteúdo Flutuante na Parte Superior */
.floating-content {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 3;
}

.magic-letter,
.magic-number,
.magic-symbol,
.magic-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    opacity: 0;
    animation: magicFloat 6s ease-in-out infinite var(--delay);
    transform: translate(calc(-50% + var(--x)), var(--y));
}

.magic-letter {
    font-size: 2.2rem;
    color: #ffffff;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(135, 206, 250, 0.6),
        0 0 30px rgba(70, 130, 200, 0.4);
}

.magic-number {
    font-size: 1.8rem;
    color: #ffd700;
    text-shadow:
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6);
}

.magic-symbol {
    font-size: 1.6rem;
    color: #87ceeb;
    text-shadow:
        0 0 10px rgba(135, 206, 235, 0.8),
        0 0 20px rgba(135, 206, 235, 0.6);
}

.magic-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

@keyframes magicFloat {
    0% {
        opacity: 0;
        transform: translate(calc(-50% + var(--x)), calc(var(--y) + 50px)) scale(0.5) rotate(0deg);
    }

    15% {
        opacity: 1;
        transform: translate(calc(-50% + var(--x)), var(--y)) scale(1) rotate(5deg);
    }

    85% {
        opacity: 1;
        transform: translate(calc(-50% + var(--x)), calc(var(--y) - 20px)) scale(1.1) rotate(-5deg);
    }

    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--x)), calc(var(--y) - 40px)) scale(0.8) rotate(10deg);
    }
}

/* Brilho Ambiente */
.ambient-glow {
    position: absolute;
    left: 50%;
    bottom: 40px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center bottom,
            rgba(135, 206, 250, 0.15) 0%,
            rgba(70, 130, 200, 0.1) 30%,
            rgba(30, 80, 150, 0.05) 60%,
            transparent 100%);
    transform: translateX(-50%);
    animation: ambientPulse 5s ease-in-out infinite;
    z-index: 0;
}

@keyframes ambientPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .magic-book-scene {
        width: 350px;
        height: 300px;
    }

    .open-book {
        width: 200px;
        height: 60px;
    }

    .book-left-page,
    .book-right-page {
        width: 90px;
        height: 60px;
    }

    .book-binding {
        width: 15px;
        height: 60px;
    }

    .light-beam {
        width: 150px;
        height: 250px;
        bottom: 40px;
    }

    .magic-letter {
        font-size: 1.6rem;
    }

    .magic-number {
        font-size: 1.4rem;
    }

    .magic-symbol {
        font-size: 1.2rem;
    }

    .magic-icon {
        font-size: 1.1rem;
    }

    .ambient-glow {
        width: 300px;
        height: 300px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .magic-book-scene {
        width: 280px;
        height: 250px;
    }

    .open-book {
        width: 160px;
        height: 48px;
    }

    .book-left-page,
    .book-right-page {
        width: 70px;
        height: 48px;
    }

    .book-binding {
        width: 12px;
        height: 48px;
    }

    .light-beam {
        width: 120px;
        height: 200px;
        bottom: 30px;
    }

    .page-lines {
        padding: 8px 5px;
        gap: 3px;
    }

    .magic-letter {
        font-size: 1.2rem;
    }

    .magic-number {
        font-size: 1.1rem;
    }

    .magic-symbol {
        font-size: 1rem;
    }

    .magic-icon {
        font-size: 0.9rem;
    }

    .ambient-glow {
        width: 250px;
        height: 250px;
        bottom: 15px;
    }
}


.particle:nth-child(1) {
    animation-delay: 0s;
    left: 45%;
    animation-duration: 3.5s;
}

.particle:nth-child(2) {
    animation-delay: 0.5s;
    left: 55%;
    animation-duration: 4.2s;
}

.particle:nth-child(3) {
    animation-delay: 1s;
    left: 40%;
    animation-duration: 3.8s;
}

.particle:nth-child(4) {
    animation-delay: 1.5s;
    left: 60%;
    animation-duration: 4.5s;
}

.particle:nth-child(5) {
    animation-delay: 2s;
    left: 48%;
    animation-duration: 3.2s;
}

.particle:nth-child(6) {
    animation-delay: 2.5s;
    left: 52%;
    animation-duration: 4.8s;
}

.particle:nth-child(7) {
    animation-delay: 3s;
    left: 43%;
    animation-duration: 3.9s;
}

.particle:nth-child(8) {
    animation-delay: 3.5s;
    left: 57%;
    animation-duration: 4.1s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }

    10% {
        transform: translateY(-20px) scale(1);
        opacity: 1;
    }

    90% {
        transform: translateY(-120px) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(-150px) scale(0);
        opacity: 0;
    }
}

/* Elementos Flutuantes */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.float-letter,
.float-symbol,
.float-number,
.float-math {
    position: absolute;
    left: 50%;
    top: 60%;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #ffd700;
    text-shadow:
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.3);
    animation: elementFloat 5s ease-in-out infinite var(--delay);
    transform: translateX(calc(-50% + var(--x)));
}

.float-letter {
    font-size: 1.8rem;
}

.float-symbol {
    font-size: 1.5rem;
}

.float-number {
    font-size: 1.6rem;
    color: #ff6b6b;
}

.float-math {
    font-size: 1.4rem;
    color: #4ecdc4;
}

@keyframes elementFloat {
    0% {
        opacity: 0;
        transform: translateX(calc(-50% + var(--x))) translateY(0px) scale(0.3) rotate(0deg);
    }

    15% {
        opacity: 1;
        transform: translateX(calc(-50% + var(--x))) translateY(-30px) scale(1) rotate(5deg);
    }

    85% {
        opacity: 1;
        transform: translateX(calc(-50% + var(--x))) translateY(-120px) scale(1.2) rotate(-5deg);
    }

    100% {
        opacity: 0;
        transform: translateX(calc(-50% + var(--x))) translateY(-180px) scale(0.8) rotate(10deg);
    }
}

/* Ondas de Energia */
.energy-waves {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.wave {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: waveExpand 3s ease-out infinite;
}

.wave-1 {
    animation-delay: 0s;
}

.wave-2 {
    animation-delay: 1s;
}

.wave-3 {
    animation-delay: 2s;
}

@keyframes waveExpand {
    0% {
        width: 50px;
        height: 50px;
        opacity: 1;
        border-color: rgba(255, 215, 0, 0.8);
    }

    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
        border-color: rgba(255, 215, 0, 0.1);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .magic-book-container {
        width: 350px;
        height: 300px;
    }

    .book-wrapper {
        width: 200px;
        height: 140px;
    }

    .book-left-page,
    .book-right-page {
        width: 90px;
        height: 140px;
    }

    .book-spine {
        width: 15px;
        height: 140px;
    }

    .energy-beam {
        height: 100px;
    }

    .float-letter {
        font-size: 1.4rem;
    }

    .float-symbol {
        font-size: 1.2rem;
    }

    .float-number {
        font-size: 1.3rem;
    }

    .float-math {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .magic-book-container {
        width: 280px;
        height: 250px;
    }

    .book-wrapper {
        width: 160px;
        height: 110px;
    }

    .book-left-page,
    .book-right-page {
        width: 70px;
        height: 110px;
    }

    .book-spine {
        width: 12px;
        height: 110px;
    }

    .page-content {
        padding: 15px 10px;
    }

    .energy-beam {
        height: 80px;
    }

    .float-letter {
        font-size: 1.2rem;
    }

    .float-symbol {
        font-size: 1rem;
    }

    .float-number {
        font-size: 1.1rem;
    }

    .float-math {
        font-size: 0.9rem;
    }
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: var(--bg-gradient);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, var(--primary-dark) 0%, transparent 100%);
    opacity: 0.1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 1.25rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon::after {
    opacity: 0.2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}


/* Virtual Library Section */
.virtual-library {
    padding: 8rem 0;
    background: var(--gradient-accent);
    color: white;
    position: relative;
    overflow: hidden;
}

.virtual-library::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}


/* newsletter Section */
.newsletter {
    padding: 5rem 0;
    background: var(--gradient-accent);
    color: white;
    position: relative;
    overflow: hidden;
}



.newsletter::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}


@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.vl-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vl-text h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.vl-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.vl-text .btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent-color);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.vl-text .btn:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.news_btn {
   margin-top: 10px;
}



.books-animation {
    position: relative;
    left: 121%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book {
    width: 60px;
    height: 80px;
    background: white;
    border-radius: 6px;
    position: absolute;
    box-shadow: var(--shadow-xl);
    animation: float 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.book::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 2px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
}

.book-1 {
    background: var(--gradient-primary);
    animation-delay: 0s;
    left: 20%;
}

.book-2 {
    background: linear-gradient(135deg, var(--secondary-color), #374151);
    animation-delay: 0.5s;
    left: 35%;
}

.book-3 {
    background: var(--gradient-accent);
    animation-delay: 1s;
    left: 50%;
}

.book-4 {
    background: linear-gradient(135deg, #10b981, #059669);
    animation-delay: 1.5s;
    left: 65%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotateY(0deg);
    }

    50% {
        transform: translateY(-25px) rotateY(5deg);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    }
}


/* CONTAINER */

.img_estante {
    width: 100%;
}


/* Contact form improvements */
.contact-info h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-info p {
    color: var(--text-gray);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vl-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .books-animation {
        height: 200px;
    }

    .book {
        width: 40px;
        height: 60px;
    }

    .mission-vision {
        gap: 1rem;
    }

    .mv-item {
        padding: 1rem;
    }

    .distributors-grid {
        grid-template-columns: 1fr;
    }
}



.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.feature-icon::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 1.25rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon::after {
    opacity: 0.2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Collections Section */
.collections {
    padding: 8rem 0;
    background: white;
    position: relative;
}

.collections::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-2xl);
    margin-top: 3rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card {
    min-width: 100%;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    background: white;
}

.collection-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgb(255 255 255 / 0%) 0%, rgb(0 0 0) 100%);
    z-index: 1;
}

.collection-image {
    position: absolute;
    top: 0;
    left: 22%;
    width: 60%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.collection-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 2rem;
    animation: slideUp 0.8s ease-out;
}

.collection-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    position: relative;
}

.collection-icon::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.collection-card:hover .collection-icon::before {
    transform: rotate(45deg) translateX(100%);
}

.collection-content h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.collection-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.collection-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.collection-link:hover {
    gap: 1rem;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) translateX(4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.carousel-nav:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-2xl);
}

.carousel-nav.prev {
    left: 2rem;
}

.carousel-nav.next {
    right: 2rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .collection-content h3 {
        font-size: 2rem;
    }

    .collection-content p {
        font-size: 1rem;
    }

    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .carousel-nav.prev {
        left: 1rem;
    }

    .carousel-nav.next {
        right: 1rem;
    }
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--secondary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Efeitos de Background */
.about::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background:
        radial-gradient(circle at 80% 30%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, transparent 0%, rgba(245, 158, 11, 0.08) 100%);
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

.about::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    box-shadow: 0 -2px 20px rgba(245, 158, 11, 0.3);
}

/* Partículas flutuantes */
.about-content::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 5%;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow:
        20px 30px 0 rgba(245, 158, 11, 0.6),
        40px -20px 0 rgba(245, 158, 11, 0.4),
        -30px 50px 0 rgba(245, 158, 11, 0.3),
        70px 80px 0 rgba(245, 158, 11, 0.5);
    animation: float 6s ease-in-out infinite;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Título com efeito */
.about-text h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: slideInLeft 1s ease-out;
}

.about-text h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.about-text p:last-of-type {
    animation-delay: 0.5s;
}

/* Estatísticas com efeitos premium */
.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.stat:nth-child(1) {
    animation-delay: 0.7s;
}

.stat:nth-child(2) {
    animation-delay: 0.8s;
}

.stat:nth-child(3) {
    animation-delay: 0.9s;
}

.stat:nth-child(4) {
    animation-delay: 1s;
}

.stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat:hover::before {
    left: 100%;
}

.stat:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow:
        0 20px 40px rgba(245, 158, 11, 0.15),
        0 0 20px rgba(245, 158, 11, 0.1);
}

.stat-number {
    display: block;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
    animation: countUp 2s ease-out;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Missão, Visão e Valores com efeitos premium */
.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mv-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.6s ease-out forwards;
}

.mv-item:nth-child(1) {
    animation-delay: 0.4s;
}

.mv-item:nth-child(2) {
    animation-delay: 0.6s;
}

.mv-item:nth-child(3) {
    animation-delay: 0.8s;
}

.mv-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-accent);
    border-radius: 0 2px 2px 0;
    transition: height 0.4s ease;
}

.mv-item:hover::before {
    height: 100%;
}

.mv-item:hover {
    transform: translateX(-5px) scale(1.02);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow:
        -10px 0 30px rgba(245, 158, 11, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.2);
}

.mv-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
}

.mv-item h4 i {
    color: var(--accent-color);
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

.mv-item p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseGlow {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .about {
        padding: 4rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat {
        padding: 2rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .mv-item {
        padding: 2rem;
    }
}

/* Efeito de entrada da seção */
.fade-in {
    animation: sectionFadeIn 1.2s ease-out;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/**/

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--bg-gradient);
    position: relative;
}

.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, transparent 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}



.contact-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);


}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
    background: white;
    transform: translateY(-2px);
}

.form-control:hover {
    border-color: var(--primary-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}


/* Footer */



.footer {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 2;
}

.footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 100%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 100%),
        radial-gradient(circle at 40% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Background educacional com letras e livros flutuantes */
.educational-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.floating-letter {
    position: absolute;
    font-size: 2rem;
    font-weight: 300;
    color: rgb(255, 0, 0);
    user-select: none;
    animation: floatLetter 20s infinite linear;
    font-family: 'Times New Roman', serif;
}

.floating-letter.large {
    font-size: 3rem;
    color: rgb(255, 0, 0);
    animation-duration: 25s;
    font-weight: 400;
}

.floating-letter.small {
    font-size: 1.5rem;
    color: rgb(255, 0, 0);
    animation-duration: 15s;
    font-weight: 200;
}

.floating-book {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(59, 130, 246, 80%);
    animation: floatBook 30s infinite linear;
    filter: blur(0.5px);
}

.floating-book.large {
    font-size: 2rem;
    color: rgba(99, 102, 241, 80%);
    animation-duration: 35s;
}


.floating-pencil {
    position: absolute;
    font-size: 1.2rem;
    color: rgba(168, 85, 247, 80%);
    animation: floatPencil 25s infinite linear;
    transform: rotate(45deg);
    filter: blur(0.3px);
}


@keyframes floatLetter {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translateY(50vh) translateX(20px) rotate(180deg);
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBook {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    25% {
        transform: translateY(75vh) translateX(-10px) rotate(45deg) scale(1.1);
    }

    50% {
        transform: translateY(50vh) translateX(15px) rotate(90deg) scale(0.9);
    }

    75% {
        transform: translateY(25vh) translateX(-5px) rotate(135deg) scale(1.05);
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(-30px) rotate(180deg) scale(1);
        opacity: 0;
    }
}

@keyframes floatPencil {
    0% {
        transform: translateY(100vh) translateX(0) rotate(45deg) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    30% {
        transform: translateY(70vh) translateX(10px) rotate(135deg) scale(1.1);
    }

    60% {
        transform: translateY(40vh) translateX(-15px) rotate(225deg) scale(0.9);
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(20px) rotate(405deg) scale(1);
        opacity: 0;
    }
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-section {
    position: relative;
}

.footer-section:first-child {
    padding-right: 2rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    /* display: inline-block;*/
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
    padding: 0.25rem 0;
}

.footer-section ul li a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-section ul li a:hover::before {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.social-link::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.social-link i {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

/* Cores específicas para cada rede social */
.social-link:nth-child(1)::before {
    /* Instagram */
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
}

.social-link:nth-child(2)::before {
    /* Facebook */
    background: linear-gradient(45deg, #1877f2, #42a5f5);
}

.social-link:nth-child(3)::before {
    /* YouTube */
    background: linear-gradient(45deg, #ff0000, #ff4500);
}

.social-link:nth-child(4)::before {
    /* WhatsApp */
    background: linear-gradient(45deg, #25d366, #128c7e);
}

.footer-divider {
    position: relative;
    z-index: 2;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
    margin: 2rem 0;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 400;
}

/* Responsividade */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
        padding-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0 2rem;
    }

    .footer-section:first-child {
        grid-column: 1;
        margin-bottom: 0;
        text-align: center;
    }

    .footer-section h4 {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section:first-child h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .footer-bottom {
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 2.5rem 0 1.5rem;
        gap: 1.5rem;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .social-link i {
        font-size: 1rem;
    }
}

/* Animações suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-section:nth-child(4) {
    animation-delay: 0.4s;
}

/* Melhoria na acessibilidade */
@media (prefers-reduced-motion: reduce) {

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

    .floating-letter,
    .floating-book,
    .floating-pencil {
        display: none;
    }
}

.social-link:focus,
.footer-section ul li a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu a {
        color: var(--text-dark) !important;
    }

    .nav-menu a::after {
        background: var(--primary-color) !important;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid,
    .collections-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    /*  transform: translateY(40px);*/
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    /* transform: translateY(1); */
}

/* Add stagger effect for cards */
.features-grid .feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.features-grid .feature-card:nth-child(2) {
    transition-delay: 0.2s;
}

.features-grid .feature-card:nth-child(3) {
    transition-delay: 0.3s;
}

.features-grid .feature-card:nth-child(4) {
    transition-delay: 0.4s;
}

.features-grid .feature-card:nth-child(5) {
    transition-delay: 0.5s;
}

.features-grid .feature-card:nth-child(6) {
    transition-delay: 0.6s;
}

.collections-grid .collection-card:nth-child(1) {
    transition-delay: 0.1s;
}

.collections-grid .collection-card:nth-child(2) {
    transition-delay: 0.2s;
}

.collections-grid .collection-card:nth-child(3) {
    transition-delay: 0.3s;
}

.collections-grid .collection-card:nth-child(4) {
    transition-delay: 0.4s;
}

.collections-grid .collection-card:nth-child(5) {
    transition-delay: 0.5s;
}

.collections-grid .collection-card:nth-child(6) {
    transition-delay: 0.6s;
}



/* Additional styles for new sections */
.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mv-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--accent-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mv-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transition: left 0.6s ease;
}

.mv-item:hover::before {
    left: 100%;
}

.mv-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(8px);
    border-left-color: var(--accent-light);
}

.mv-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mv-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}



/* Distributors Section */

/* Distributors Section */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.distributors {
    padding: 8rem 0;
    background: white;
    position: relative;
}

.distributors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, var(--bg-light) 0%, transparent 100%);
}

/* Carrossel Styles */
.carousel-container {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    border-radius: 1.5rem;
}

.distributors-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    cursor: grab;
}

.distributors-carousel:active {
    cursor: grabbing;
}

.distributors-carousel.dragging {
    transition: none;
}

.distributor-card {
    flex: 0 0 350px;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-right: 2rem;
    user-select: none;
}

.distributor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.distributor-card:hover::before {
    transform: scaleX(1);
}

.distributor-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.distributor-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.distributor-header h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.distributor-card:hover .distributor-header h3 {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.location {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.distributor-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(4px);
}

.info-item i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

/* Indicadores do carrossel */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(229, 62, 62, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Botão Explorar */
.explore-button {
    text-align: center;
    margin-top: 3rem;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
    background: linear-gradient(135deg, #c53030 0%, #a02828 100%);
}

.btn-explore i {
    transition: transform 0.3s ease;
}

.btn-explore:hover i {
    transform: translateX(4px);
}

.fade-in {
    opacity: 1;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .distributor-card {
        flex: 0 0 280px;
    }

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/**/



/*FORMAÇÕES DINÃMICAS*/

.formacoes-section {
    background: var(--gradient-accent);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}


/* Efeitos decorativos no background */
.formacoes-section::before {
    content: '📚';
    position: absolute;
    top: 15%;
    left: 8%;
    font-size: 50px;
    opacity: 0.2;
    animation: float 8s ease-in-out infinite;
}

.formacoes-section::after {
    content: '📖';
    position: absolute;
    bottom: 20%;
    left: 12%;
    font-size: 35px;
    opacity: 0.25;
    animation: float 6s ease-in-out infinite reverse;
}

.decorative-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.book-icon {
    position: absolute;
    font-size: 40px;
    opacity: 0.2;
    animation: floatBooks 12s ease-in-out infinite;
}

.book-icon:nth-child(1) {
    top: 25%;
    left: 15%;
    animation-delay: -2s;
}

.book-icon:nth-child(1)::before {
    content: '📘';
}

.book-icon:nth-child(2) {
    bottom: 30%;
    right: 20%;
    font-size: 30px;
    animation-delay: -4s;
}

.book-icon:nth-child(2)::before {
    content: '📕';
}

.book-icon:nth-child(3) {
    top: 60%;
    left: 5%;
    font-size: 25px;
    animation-delay: -6s;
}

.book-icon:nth-child(3)::before {
    content: '📗';
}

.book-icon:nth-child(4) {
    top: 10%;
    right: 15%;
    font-size: 35px;
    animation-delay: -8s;
}

.book-icon:nth-child(4)::before {
    content: '📙';
}

.book-icon:nth-child(5) {
    bottom: 15%;
    right: 30%;
    font-size: 40px;
    animation-delay: -3s;
}

.book-icon:nth-child(5)::before {
    content: '📔';
}

.book-icon:nth-child(6) {
    top: 25%;
    left: 5%;
    font-size: 20px;
    animation-delay: -7s;
}

.book-icon:nth-child(6)::before {
    content: '📓';
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.2;
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
        opacity: 0.4;
    }
}

@keyframes floatBooks {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.2;
    }

    33% {
        transform: translateY(-10px) rotate(2deg) scale(1.1);
        opacity: 0.3;
    }

    66% {
        transform: translateY(-20px) rotate(-1deg) scale(0.95);
        opacity: 0.25;
    }
}

.container2 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 120px;
    position: relative;
    z-index: 2;

}

.images-container {
    flex: 1;
    height: 500px;
    position: relative;
    /* overflow: hidden; */
}

.scrolling-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: scrollUp 60s linear infinite;
}

.imgformacao1 {
    width: 100%;
}

.image-card {
    width: 45%;
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(-15deg);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.image-card:nth-child(even) {
    transform: rotate(3deg);
    margin-left: 40px;
}

.image-card:nth-child(odd) {
    margin-right: 20px;
}

.card-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
}

.card-image:nth-child(1) {
    background: linear-gradient(45deg, #3498db, #2980b9);
}

.card-image.image-2 {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.card-image.image-3 {
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
}

.card-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.heart-icon {
    color: #e74c3c;
    font-size: 18px;
    cursor: pointer;
}

.comment-icon {
    color: #95a5a6;
    font-size: 16px;
    cursor: pointer;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}

.content {
    flex: 1;
    color: white;
    max-width: 500px;
}

.content h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    background: white;
    /* color: #e67e22; */
    color: var(--accent-color);
    padding: 18px 70px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .contact-item {
        display: flex;
    }

    .formacoes-section {
        min-height: 100vh;
        padding: 40px 0;
    }

    .container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        max-width: 100%;
        padding: 0 15px;
    }

    .content {
        order: 1;
        max-width: 100%;
        padding: 20px 0;
    }

    .content h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .content p {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 0.9rem;
    }

    .images-container {
        height: 350px;
        order: 2;
        max-width: 280px;
        margin: 0 auto;
        right: 70px;
    }

    .image-card {
        min-height: 220px;
        margin-bottom: 20px;
    }

    .card-image {
        height: 150px;
        font-size: 13px;
        margin-bottom: 12px;
    }

    .book-icon {
        font-size: 25px !important;
        opacity: 0.15;
    }

    .formacoes-section::before {
        font-size: 35px;
        top: 10%;
        left: 5%;
        opacity: 0.15;
    }

    .formacoes-section::after {
        font-size: 25px;
        bottom: 15%;
        left: 8%;
        opacity: 0.15;
    }

    /* Ajustes específicos para ícones no mobile */
    .book-icon:nth-child(1) {
        top: 20%;
        left: 10%;
        font-size: 20px !important;
    }

    .book-icon:nth-child(2) {
        bottom: 25%;
        right: 15%;
        font-size: 18px !important;
    }

    .book-icon:nth-child(3) {
        top: 70%;
        left: 8%;
        font-size: 15px !important;
    }

    .book-icon:nth-child(4) {
        top: 15%;
        right: 10%;
        font-size: 22px !important;
    }
}

@media (max-width: 480px) {
    .formacoes-section {
        padding: 30px 0;
    }

    .container {
        padding: 0 10px;
        gap: 30px;
    }

    .content {
        padding: 15px 0;
    }

    .content h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .content p {
        font-size: 0.95rem;
        padding: 0 10px;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.85rem;
    }

    .images-container {
        height: 300px;
        max-width: 250px;
    }

    .image-card {
        min-height: 200px;
    }

    .card-image {
        height: 130px;
        font-size: 12px;
    }

    .book-icon {
        font-size: 20px !important;
        opacity: 0.12;
    }

    .formacoes-section::before {
        font-size: 28px;
    }

    .formacoes-section::after {
        font-size: 20px;
    }
}



.icone_home {
    width: 25px;
}

.distribuidor-details {
    transition: all 0.4s ease-in-out;
    overflow: hidden;
}

.distribuidor-card {
    transition: transform 0.3s ease;
}

.visualizar-btn {
    transition: all 0.3s ease;
    cursor: pointer;
}

.visualizar-btn:hover {
    transform: scale(1.05);
}



/* ////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ */