/* RESPONSIVIDADE PARA TABLET */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle p {
        font-size: 1.3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-info {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    /* CARROSSEL EM GRADE RESPONSIVO */
    .carousel-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .carousel-grid-item {
        height: 350px;
    }
    
    .video-controls-overlay {
        padding: 12px 20px;
    }
    
    .video-control-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* ESTATÍSTICAS */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* RESPONSIVIDADE PARA MOBILE */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(29, 54, 12, 0.98);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding: 100px 0;
        backdrop-filter: blur(10px);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 10px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content h1 {
        font-size: 2rem;
        padding: 0 10px;
    }
    
    .hero-subtitle p {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .patrimonio-florestal,
    .base-tecnica,
    .ativo-raro {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .text-content p {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .parceiros-logos {
        justify-content: center;
    }
    
    .footer-logo {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo img {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    /* CARROSSEL EM GRADE MOBILE */
    .carousel-grid-item {
        height: 300px;
    }
    
    .carousel-grid-text {
        padding: 20px;
    }
    
    .carousel-grid-text h3 {
        font-size: 1.2rem;
    }
    
    /* CONTROLES DE VÍDEO MOBILE */
    .video-controls-overlay {
        bottom: 20px;
        padding: 10px 15px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .video-control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    #volume-slider {
        width: 60px;
    }
    
    /* ESTATÍSTICAS MOBILE */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* IMAGENS PARALLAX */
    .fullscreen-image,
    .fullscreen-image-section-6 {
        height: 60vh;
    }
    
    .parallax-content h3 {
        font-size: 1.8rem;
    }
    
    .parallax-content p {
        font-size: 1.1rem;
    }
    
    /* BOTÃO VOLTAR AO TOPO */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* RESPONSIVIDADE PARA MOBILE PEQUENO */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .feature-text {
        padding: 20px;
    }
    
    .feature-text h3 {
        font-size: 1.1rem;
    }
    
    .footer-links ul {
        columns: 1;
    }
    
    .carousel-grid-text h3 {
        font-size: 1rem;
    }
    
    .video-controls-overlay {
        flex-direction: column;
        gap: 10px;
        border-radius: 25px;
        padding: 15px;
        width: 90%;
    }
    
    .volume-control {
        order: -1;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .carousel-grid-container {
        padding: 0 15px;
    }
}

/* ORIENTAÇÃO LANDSCAPE PARA MOBILE */
@media (max-height: 600px) and (orientation: landscape) {
    .header {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 100px 20px 50px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle p {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .hero-buttons {
        margin-top: 20px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .fullscreen-image,
    .fullscreen-image-section-6 {
        height: 100vh;
    }
}

/* DISPOSITIVOS DE ALTA RESOLUÇÃO */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* IMPRESSÃO */
@media print {
    .navbar,
    .footer,
    .video-controls-overlay,
    .back-to-top,
    .hero-buttons,
    .contact-form {
        display: none !important;
    }
    
    .header {
        height: auto;
        position: relative;
    }
    
    .video-background {
        display: none;
    }
    
    .hero-content {
        position: relative;
        color: #000;
        text-align: left;
    }
    
    .hero-content h1 {
        color: #000;
        text-shadow: none;
    }
    
    .hero-subtitle p {
        color: #333;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    h1, h2, h3 {
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
    }
}



/* RESPONSIVIDADE PARA OS BOTÕES NA SEÇÃO PARALLAX */
@media (max-width: 768px) {
    .parallax-content .hero-buttons {
        margin-top: 30px;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .parallax-content .btn-primary,
    .parallax-content .btn-secondary {
        min-width: 200px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .parallax-content {
        padding: 0 15px;
    }
}

@media (max-width: 480px) { 
    .parallax-content .hero-buttons {
        margin-top: 25px;
    }
    
    .parallax-content .btn-primary,
    .parctallax-content .btn-secondary {
        min-width: 180px; 
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}


/* BANDEIRAS NO RODAPÉ */
.footer-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
}

.flag-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.flag-container:hover {
    transform: translateY(-3px);
}

.flag-img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.flag-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.flag-text {
    font-size: 12px;
    color: #e0e0e0;
    font-weight: 500;
    text-align: center;
}

/* RESPONSIVIDADE DAS BANDEIRAS */
@media (max-width: 768px) {
    .footer-flags {
        gap: 12px;
        margin-top: 15px;
    }
    
    .flag-img {
        width: 35px;
        height: 24px;
    }
    
    .flag-text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .footer-flags {
        flex-direction: column;
        gap: 10px;
    }
    
    .flag-container {
        flex-direction: row;
        gap: 10px;
    }
    
    .flag-img {
        width: 30px;
        height: 21px;
    }
    
    .flag-text {
        font-size: 10px;
    }
}







/* RESPONSIVIDADE DO YOUTUBE PLAYER */
@media (max-width: 768px) {
    .youtube-premium-player {
        margin: 0 -15px;
    }
    
    .video-frame {
        border-radius: 0;
        padding: 8px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .play-overlay p {
        font-size: 1rem;
    }
    
    .video-info {
        padding: 0 15px;
    }
    
    .video-info h3 {
        font-size: 1.2rem;
    }
    
    .video-meta {
        gap: 15px;
    }
    
    .video-meta span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 1.2rem;
    }
    
    .video-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .video-info h3 {
        font-size: 1.1rem;
    }
}

