/* Font Face Declarations */
@font-face {
    font-family: 'Moochi Jelly';
    src: url('font/Moochi Jelly.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KG Perfect Penmanship';
    src: url('font/KGPerfectPenmanship.ttf') format('truetype'),
         url('font/KGPerfectPenmanship.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'KG Perfect Penmanship', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    background: #f5f7fa;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   BOTÕES PADRÃO - Usados em todas as páginas
   ============================================ */

/* Botão Primário - Verde (Ação principal) */
.btn-primary {
    display: inline-block;
    background: #80D134;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    border: none;
    border-bottom: 5px solid #6CBA28;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'KG Perfect Penmanship', sans-serif;
    box-shadow: 0 4px 15px rgba(128, 209, 52, 0.3);
}

.btn-primary:hover {
    background: #72C12B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 209, 52, 0.4);
}

/* Botão Secundário - Azul (Ação secundária) */
.btn-secondary {
    display: inline-block;
    background: #2F8DD5;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    border: none;
    border-bottom: 5px solid #1E6BA8;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'KG Perfect Penmanship', sans-serif;
    box-shadow: 0 4px 15px rgba(47, 141, 213, 0.3);
}

.btn-secondary:hover {
    background: #267BB8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 141, 213, 0.4);
}

/* Botão Voltar - Laranja */
.btn-back {
    display: inline-block;
    background: #F5A623;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    border: none;
    border-bottom: 5px solid #E09519;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'KG Perfect Penmanship', sans-serif;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.btn-back:hover {
    background: #E9A84A;
    border-bottom-color: #DF9C41;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 168, 74, 0.4);
}

/* Tamanhos alternativos */
.btn-large {
    font-size: 1.5em;
    padding: 20px 50px;
}

.btn-small {
    font-size: 1em;
    padding: 10px 30px;
    border-bottom-width: 3px;
}

/* ============================================
   FIM DOS BOTÕES PADRÃO
   ============================================ */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    background: transparent;
    z-index: 1;
    overflow: hidden;
}

/* Parallax Background Layers */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: repeat-x;
}

/* Camada 1: Céu (fundo estático) */
.parallax-sky {
    background-image: url('Backgroundsite/01_ceu.png');
    z-index: 1;
    background-repeat: no-repeat;
}

/* Camada 2: Listras camada 1 (movimento ultra lento com parallax) - FUNDO */
.parallax-stripes-1 {
    background-image: url('Backgroundsite/02_listras.png');
    z-index: 2;
    animation: moveStripes1 180s linear infinite;
    opacity: 0.4;
    background-repeat: repeat;
    background-size: auto 400px;
    background-position: 0 bottom;
    will-change: background-position;
    backface-visibility: hidden;
    transform: translateZ(0);
}

@keyframes moveStripes1 {
    0% { background-position: 0 bottom; }
    100% { background-position: 1920px bottom; }
}

@keyframes moveStripes2 {
    0% { background-position: 0 top; }
    100% { background-position: 1920px top; }
}

/* Nuvens individuais (não parallax, movimento único) */
.cloud {
    position: absolute;
    width: auto;
    height: auto;
    opacity: 0.85;
    z-index: 3;
    will-change: transform;
    backface-visibility: hidden;
}

.cloud img {
    display: block;
    width: auto;
    transform: translateZ(0);
}

/* Nuvem 1 - Pequena, esquerda para direita */
.cloud-1 {
    top: 15%;
    animation: cloudLeftToRight 200s linear infinite;
}

.cloud-1 img {
    height: 80px;
}

/* Nuvem 2 - Média, direita para esquerda */
.cloud-2 {
    top: 50%;
    animation: cloudRightToLeft 250s linear infinite;
}

.cloud-2 img {
    height: 120px;
}

/* Nuvem 3 - Grande, esquerda para direita */
.cloud-3 {
    top: 75%;
    animation: cloudLeftToRight 220s linear infinite;
}

.cloud-3 img {
    height: 140px;
}

/* Animação: Esquerda para Direita */
@keyframes cloudLeftToRight {
    0% {
        transform: translateX(-100%);
        left: 0;
    }
    100% {
        transform: translateX(0);
        left: 100%;
    }
}

/* Animação: Direita para Esquerda */
@keyframes cloudRightToLeft {
    0% {
        transform: translateX(100%);
        right: 0;
        left: auto;
    }
    100% {
        transform: translateX(0);
        right: 100%;
        left: auto;
    }
}

/* Hero content above parallax */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: auto;
    padding: 0px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
}

/* Top Section: Logo + Info Balloon */
.hero-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: -100px;
    justify-content: center;
    width: 100%;
    max-width: 1600px;
}

/* Hero Logo Container */
.hero-logo-container {
    position: relative;
    width: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-logo-layer {
    position: absolute;
    width: 900px;           /* Tamanho fixo da logo (independente do container) */
    height: 900px;          /* Ajuste este valor para mudar o tamanho da logo */
    object-fit: contain;
    transform-origin: center center;
    transition: transform 2s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

/* Info Balloon - Lado Direito da Logo */
.hero-info-balloon {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 30px;
    padding: 30px 40px;
    max-width: 550px;
    
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    position: relative;
    align-self: center;
}


.hero-info-balloon h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.hero-info-balloon p {
    font-size: 1.3rem;
    color: #5a6c7d;
    line-height: 1.5;
}

/* Center Section: Release Badge + Pets */
.hero-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: -150px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 1600px;
    position: relative;
    z-index: 50;
}

.hero-pet {
    width: 420px;
    height: auto;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.2));
}

/* Objetivo Section dentro da Hero */
.hero-objetivo {
    margin-top: 200px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 60px;
    width: 100%;
    max-width: 1600px;
    position: relative;
}

/* Lado esquerdo: Título + Livros */
.objetivo-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    z-index: 11;
    flex-shrink: 0;
    margin-left: 200px;
    margin-bottom: 75px;
}

.hero-objetivo-title {
    background: #2F8DD5;
    color: #ffffff;
    font-size: 62px;
    font-weight: 700;
    padding: 19px 62px;
    border-radius: 80px;
    border-bottom: 8px solid #78CAFC;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    display: inline-block;
    text-shadow: none;
    transform: translateX(-10%) translateY(-50px);
    font-family: 'Moochi Jelly', sans-serif;
}

.hero-objetivo-title::before {
    content: '';
    position: absolute;
    top: -125px;
    right: -31px;
    width: 125px;
    height: 125px;
    background-image: url('Backgroundsite/efeitos/efeito.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.books-container {
    position: relative;
}

.objetivo-seta {
    position: absolute;
    left: 125%; /* Position to the right of the books */
    top: 25%;
    transform: translateY(-50%) rotate(5deg);
    margin-left: 20px; /* Add some space */
    width: 215px;
    height: auto;
}

.objetivo-books {
    width: 300px;
    right: 275px;
    height: auto;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.2));
}

.hero-objetivo-balloon {
    background: url('Backgroundsite/efeitos/botão.png') no-repeat center;
    background-size: contain;
    max-width: 650px;
    width: 1020px;
    height: 1020px;
    padding: 130px 80px;
    border-radius: 50%;
    position: absolute;
    font-size: 25px;
    line-height: 1.7;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8;
    right: 200px;
    top: 95%;
    transform: translateY(-90%);
    font-weight: 600;
}

.hero-objetivo-balloon strong {
    font-size: 26px; /* bold text for strong elements inside the balloon */
}

/* Container para o balão e as árvores */
.objetivo-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    flex: 1;
}

/* Container para as árvores */
.objetivo-trees {
    position: relative;
    width: 312px;
    height: 614px;
    flex-shrink: 0;
    z-index: 9;
}

.tree-layer {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    transition: transform 0.5s ease;
}

/* Camada 1: Fundo */
.tree-1 {
    width: 100%; /* arvore.png (tronco) */
    z-index: 3; /* Frente */
}

/* Camada 2: Meio (com animação) */
.tree-2 {
    width: 105px; /* arvore-1.png (animal) */
    z-index: 2; /* Meio */
    top: 25px;
    left: 65px;
    bottom: auto;
    transform: none;
    transform-origin: 20px 50px; /* Pivô no centro da base */
    animation: treeSway 2s ease-in-out infinite alternate;
}

/* Camada 3: Frente */
.tree-3 {
    width: 100%; /* arvore-2.png (topo do tronco) */
    z-index: 1; /* Fundo */
}

@keyframes treeSway {
    from { transform: rotate(-5deg); }
    to { transform: rotate(5deg); }
}

/* Release Panels Container */
.release-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    animation: pulse 2s ease-in-out infinite;
}

/* "Lançamento!" Panel */
.release-panel-launch {
    background: #80D134; /* Verde vibrante */
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    padding: 35px 85px;
    border-radius: 55px;
    border-bottom: 1px solid #6CBA28;
    border-width: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 6px 20px #34c75966;
    font-family: 'Moochi Jelly', sans-serif;
}

/* "25 de Outubro" Panel */
.release-panel-date {
    background: white;
    color: #7BC33B; /* Mesmo verde do painel de cima */
    font-size: 2.5rem;
    font-weight: 600;
    padding: 22px 75px;
    border-radius: 55px;
    border-bottom: 1px solid #74BC32;
    border-width: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-10px);
    font-family: 'Moochi Jelly', sans-serif;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); }
}

/* Play Button - Substitui o painel de lançamento após 25 de outubro */
.play-button {
    display: none; /* Oculto por padrão */
    background: #80D134;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    padding: 20px 60px;
    border-radius: 50px;
    border: none;
    border-bottom: 6px solid #6CBA28;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 30px rgba(128, 209, 52, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'KG Perfect Penmanship', sans-serif;
    position: relative;
    z-index: 100;
}

.play-button:hover {
    background: #72C12B;
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(128, 209, 52, 0.6);
}

.play-button.active {
    display: inline-block;
}

/* Oculta o painel de lançamento quando necessário */
.release-container.hidden {
    display: none;
}


/* Features Section */
.features {
    background: linear-gradient(135deg, #308DD3 0%, #83c3ff 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.features-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 50px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-bottom: 6px solid #78CAFC;
    transition: transform 0.3s;
    color: #2c3e50;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
}

/* Contatos Section */
.contatos-section {
    position: relative;
    background-image: url('Backgroundsite/01_ceu.png');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    z-index: 1;
}


/* Parallax Stripe in Contatos */
.contatos-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.contatos-stripe {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('Backgroundsite/02_listras.png');
    background-repeat: repeat-x;
    background-size: auto 540px;
    background-position: 0 bottom;
    opacity: 0.3;
    animation: moveContactStripe 180s linear infinite;
    will-change: background-position;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Estilo reutilizável para os painéis de contato */
.contato-panel {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 40px;
    border-radius: 80px;
    border-bottom: 6px solid rgba(255, 255, 255, 0.6);
    display: inline-block;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 10;
}

@keyframes moveContactStripe {
    0% { background-position: 0 bottom; }
    100% { background-position: 1920px bottom; }
}

.contatos-title {
    background: #2F8DD5;
    color: #ffffff;
    font-size: 40px;
    font-weight: 700;
    padding: 10px 40px;
    border-radius: 80px;
    border-bottom: 6px solid #78CAFC;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    display: inline-block;
    text-shadow: none;
    margin-bottom: 0;
    font-family: 'Moochi Jelly', sans-serif;
}

/* Ajuste no grid para espaçar os painéis */
.contatos-grid {
    display: flex;
    flex-direction: column; /* Empilha os itens verticalmente */
    align-items: flex-start; /* Alinha os itens à esquerda */
    gap: 20px; /* Ajusta o espaçamento vertical */
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.contato-panel a {
    color: #2F8DD5;
    text-decoration: none;
    font-size: 40px;
    font-weight: 700;
    text-shadow: none;
}


.contato-panel:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.3);
}

.contato-icon {
    font-size: 2.5rem;
}


/* Footer */
.footer {
    background: #308DD3;
    color: white;
    text-align: center;
    padding: 40px 20px 60px 20px;
    min-height: 400px;
    overflow: visible;
    position: relative;
    z-index: 100;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo img,
.footer-logo-img-main {
    max-height: 288px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.footer-link:hover {
    color: #ffffff;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #ffffff;
    opacity: 0.7;
    margin-top: 20px;
}

/* Footer copyright for index.html (default style) */
.footer-copyright-index {
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 20px;
}

/* Footer fables.html - transparent background with blue elements */
.footer-fables {
    background: transparent !important;
}

.footer-fables .footer-logos-title,
.footer-fables .footer-link {
    color: #72CAF8 !important;
}

.footer-fables .footer-logo-img {
    filter: brightness(0) saturate(100%) invert(64%) sepia(52%) saturate(1057%) hue-rotate(170deg) brightness(101%) contrast(96%) !important;
}

/* Footer copyright for fables.html (blue theme) */
.footer-copyright-fables {
    font-size: 1rem !important;
    margin-top: 20px !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 999 !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5) !important;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.footer-logos-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logos-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.logos-group {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.logo-placeholder {
    background: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    border: 1px dashed rgba(255,255,255,0.3);
}

.footer-logo-img {
    max-height: 80px;
    width: auto;
    margin: 0 15px;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.footer-logo-img:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 20px 0;
}

.nav {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    padding: 12px 24px;
    background: #72CAF8;
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border-bottom: 5px solid #4AAADA;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nav-link:hover {
    color: white;
    background: #E9A84A;
    transform: translateY(-3px);
    border-bottom-color: #DF9C41 ;
}

/* Make back-button match nav-link appearance and hover effect */
.back-button {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    padding: 12px 30px;
    background: #72CAF8;
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border-bottom: 5px solid #4AAADA;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: inline-block;
    opacity: 1;
}

.back-button:hover {
    color: white;
    background: #E9A84A;
    transform: translateY(-3px);
    border-bottom-color: #DF9C41;
}

/* Intro Screen */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, #87CEEB 0%, #98D8E8 50%, #FFF8DC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.logo-container {
    position: relative;
    width: 800px;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center center;
}

/* Animações de rotação para cada camada (simulando LayersPuzzleManager) */
.layer-0 {
    animation: rotateLayer0 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.layer-1 {
    animation: rotateLayer1 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.layer-2 {
    animation: rotateLayer2 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.layer-3 {
    animation: rotateLayer3 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.layer-4 {
    animation: rotateLayer4 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.layer-5 {
    animation: rotateLayer5 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.layer-6 {
    animation: rotateLayer6 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.layer-7 {
    animation: rotateLayer7 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.layer-8 {
    animation: rotateLayer8 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Keyframes - Camadas pares giram no sentido horário, ímpares anti-horário */
@keyframes rotateLayer0 {
    0% { transform: rotate(120deg); opacity: 0.8; }
    100% { transform: rotate(0deg); opacity: 1; }
}

@keyframes rotateLayer1 {
    0% { transform: rotate(-135deg); opacity: 0.8; }
    100% { transform: rotate(0deg); opacity: 1; }
}

@keyframes rotateLayer2 {
    0% { transform: rotate(95deg); opacity: 0.8; }
    100% { transform: rotate(0deg); opacity: 1; }
}

@keyframes rotateLayer3 {
    0% { transform: rotate(-110deg); opacity: 0.8; }
    100% { transform: rotate(0deg); opacity: 1; }
}

@keyframes rotateLayer4 {
    0% { transform: rotate(145deg); opacity: 0.8; }
    100% { transform: rotate(0deg); opacity: 1; }
}

@keyframes rotateLayer5 {
    0% { transform: rotate(-125deg); opacity: 0.8; }
    100% { transform: rotate(0deg); opacity: 1; }
}

@keyframes rotateLayer6 {
    0% { transform: rotate(100deg); opacity: 0.8; }
    100% { transform: rotate(0deg); opacity: 1; }
}

@keyframes rotateLayer7 {
    0% { transform: rotate(-140deg); opacity: 0.8; }
    100% { transform: rotate(0deg); opacity: 1; }
}

@keyframes rotateLayer8 {
    0% { transform: rotate(130deg); opacity: 0.8; }
    100% { transform: rotate(0deg); opacity: 1; }
}

/* Hero section inicialmente oculto */
.hero.hidden {
    opacity: 0;
}

.hero {
    opacity: 0;
    transition: opacity 1s ease;
}

.hero.visible {
    opacity: 1;
}

/* Responsive - Mobile Vertical */
@media (max-width: 768px) {
    /* Remove scroll horizontal */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    /* Garante que nenhum elemento ultrapasse a viewport */
    * {
        max-width: 100vw;
    }

    .hero {
        overflow-x: hidden;
        width: 100%;
    }

    .parallax-bg {
        overflow-x: hidden;
        width: 100%;
    }

    /* Ajuste geral do hero */
    .hero-content {
        padding: 80px 15px 30px 15px;
        justify-content: flex-start;
        gap: 20px;
        overflow-x: hidden;
        width: 100%;
    }

    /* Release panels with animation on mobile */
    .release-panel-launch {
        font-size: 2rem !important;
        padding: 20px 50px !important;
        border-radius: 40px !important;
        border-width: 4px !important;
        letter-spacing: 1px !important;
    }

    .release-panel-date {
        font-size: 1.5rem !important;
        padding: 15px 40px !important;
        border-radius: 40px !important;
        border-width: 4px !important;
    }

    /* Keep pulsing animation on mobile */
    .release-container {
        gap: 5px !important;
    }

    /* Hero Top: Logo + Balão empilhados verticalmente */
    .hero-top {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 0px;
        width: 100%;
    }

    .hero-logo-container {
        width: 280px;
        height: 280px;
        flex-shrink: 0;
    }

    .hero-logo-layer {
        width: 420px;
        height: 420px;
    }

    .hero-info-balloon {
        max-width: 90%;
        width: 100%;
        padding: 20px 25px;
        text-align: center;
    }

    .hero-info-balloon::before {
        display: none;
    }

    .hero-info-balloon h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .hero-info-balloon p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Hero Center: Reorganiza pets + release panel/play button */
    .hero-center {
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
        align-items: center;
        width: 100%;
    }

    /* Mostra apenas os pets como decoração maior */
    .hero-pet {
        width: 220px;
        height: auto;
    }

    .hero-pet.left {
        order: 1;
    }

    .hero-pet.right {
        order: 3;
    }

    .release-container {
        order: 2;
    }

    .play-button {
        order: 2;
    }

    /* Seção Objetivo: Layout vertical completo */
    .hero-objetivo {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-top: 60px;
        padding: 0 15px;
    }

    .objetivo-left {
        align-items: center;
        margin-left: 0;
        margin-bottom: 0;
        gap: 15px;
        width: 100%;
    }

    .hero-objetivo-title {
        font-size: 2rem;
        padding: 12px 40px;
        transform: translateX(0) translateY(0);
        text-align: center;
    }

    .hero-objetivo-title::before {
        width: 80px;
        height: 80px;
        top: -80px;
        right: -20px;
    }

    /* Reposiciona livros e seta no mobile */
    .books-container {
        display: flex;
        position: relative;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .objetivo-books {
        width: 150px;
        height: auto;
        position: static;
        right: auto;
    }

    .objetivo-seta {
        position: absolute;
        left: auto;
        right: calc(10% - 50px);
        top: calc(-30% + 50px);
        transform: scaleX(-1) rotate(60deg);
        margin-left: 0;
        width: 150px;
        height: auto;
    }

    /* Container objetivo reorganizado */
    .objetivo-container {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        position: relative;
    }

    .hero-objetivo-balloon {
        position: relative;
        transform: none;
        width: 500px;
        height: 500px;
        max-width: 90vw;
        max-height: 90vw;
        background-size: contain;
        background-position: center;
        border-radius: 50%;
        padding: 100px 60px;
        font-size: 16px;
        line-height: 1.6;
        right: auto;
        top: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-objetivo-balloon strong {
        font-size: 18px;
    }

    /* Esconde as árvores no mobile */
    .objetivo-trees {
        display: none;
    }

    /* Intro Screen - Logo menor */
    .logo-container {
        width: 85vw;
        height: 85vw;
        max-width: 380px;
        max-height: 380px;
    }

    /* Features Section */
    .features {
        padding: 60px 15px;
    }

    .features-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .features-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .feature-icon {
        font-size: 3rem;
    }

    .feature-title {
        font-size: 1.3rem;
    }

    .feature-description {
        font-size: 0.95rem;
    }

    /* Contatos Section */
    .contatos-section {
        padding: 60px 15px;
    }

    .contatos-title {
        font-size: 2rem;
        padding: 10px 30px;
        margin-bottom: 15px;
    }

    .contatos-grid {
        align-items: center;
        gap: 15px;
    }

    .contato-panel {
        padding: 12px 30px;
        width: 100%;
        max-width: 90%;
        text-align: center;
    }

    .contato-panel a {
        font-size: 1.3rem;
    }

    /* Footer */
    .footer {
        padding: 30px 15px 40px 15px;
    }

    .footer-logo-img-main {
        max-height: 180px;
    }

    .footer-logos {
        flex-direction: column;
        gap: 25px;
    }

    .footer-logo-img {
        max-height: 60px;
    }

    .footer-links {
        gap: 15px;
        flex-direction: column;
    }

    .footer-link {
        font-size: 1rem;
    }

    /* Ajustes de nuvens para mobile */
    .cloud-1 img {
        height: 50px;
    }

    .cloud-2 img {
        height: 80px;
    }

    .cloud-3 img {
        height: 100px;
    }

    /* Ajuste de listras para mobile */
    .parallax-stripes-1 {
        background-size: auto 300px;
        animation-duration: 160s;
    }

    @keyframes moveStripes1 {
        0% { background-position: 0 bottom; }
        100% { background-position: 1200px bottom; }
    }

    /* Nav mobile usando estilo desktop - sem alterações específicas para mobile */
}
