/* Vozes do Brasil - CSS Responsivo */
/* Adaptação para dispositivos móveis e tablets */

/* Tablet */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.7rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        padding: 1rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .feature {
        padding: 1rem;
        min-width: 100px;
    }

    .playlist-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .playlist-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .artists-grid {
        grid-template-columns: 1fr;
    }

    .playlists-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .genres-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .player-content {
        padding: 1rem;
    }

    .player-info {
        flex: 0 0 200px;
    }

    .player-controls {
        margin: 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .links-grid {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 151, 57, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-top: 2px solid #FFD700;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
    }

    .feature {
        flex-direction: row;
        padding: 0.8rem;
        min-width: auto;
    }

    .brazilian-pattern,
    .floating-notes {
        display: none; /* Remove na versão mobile para espaço */
    }

    .playlist-card {
        padding: 1.5rem;
    }

    .playlist-meta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .artists-grid {
        gap: 1.5rem;
    }

    .artist-card {
        margin: 0 -0.5rem;
    }

    .playlists-grid {
        grid-template-columns: 1fr;
    }

    .genres-grid {
        grid-template-columns: 1fr;
    }

    .genre-card {
        padding: 1.5rem;
    }

    .genre-icon {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-circle {
        min-width: 60px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .player-content {
        flex-direction: column;
        gap: 1rem;
    }

    .player-info {
        flex: none;
        justify-content: center;
    }

    .player-controls {
        margin: 0;
        order: -1;
    }

    .player-progress {
        order: 1;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .container {
        padding: 0 1rem;
    }

    .navbar {
        padding: 0.8rem 1rem;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .feature {
        padding: 0.6rem;
    }

    .feature i {
        font-size: 2rem;
    }

    .cta-button {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .playlist-content h3 {
        font-size: 1.3rem;
    }

    .artist-content h3 {
        font-size: 1.2rem;
    }

    .genre-card h3 {
        font-size: 1.1rem;
    }

    .about-text h2,
    .artists-section h2,
    .playlists-section h2,
    .genres-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .about-content {
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-content {
        gap: 2rem;
    }

    .contact-form {
        padding: 1rem 0;
    }

    .player-content {
        padding: 0.5rem 1rem;
    }

    .player-info img {
        width: 50px;
        height: 50px;
    }
}

/* Large Screens */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .featured-playlist h2,
    .artists-section h2,
    .playlists-section h2,
    .genres-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 3.5rem;
    }

    .artists-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .playlists-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .genres-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .brazilian-pattern {
        background-size: 40px 40px;
    }

    .floating-notes .note {
        font-size: 3rem;
    }
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .nav-menu a:hover::before {
        width: 0;
    }

    .playlist-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .artist-card:hover {
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .genre-card:hover {
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .play-button:hover,
    .play-button-large:hover,
    .artist-play:hover {
        transform: translate(-50%, -50%) scale(1);
    }

    .cta-button:hover {
        transform: none;
    }

    .authority-link:hover {
        background: #FFFFFF;
        border-color: #FFD700;
        transform: none;
    }

    .submit-button:hover {
        transform: none;
    }

    .load-more-btn:hover {
        transform: none;
    }

    .player-btn:hover {
        background: none;
    }

    /* Melhor acessibilidade para touch */
    .playlist-card,
    .artist-card,
    .genre-card {
        cursor: pointer;
    }

    .playlist-card:active,
    .artist-card:active,
    .genre-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    /* Aumentar áreas de toque */
    .play-button,
    .play-button-large,
    .artist-play,
    .player-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    body {
        background: #000000;
        color: #FFFFFF;
    }

    .hero-subtitle {
        background: rgba(0, 0, 0, 0.8);
        border-color: #FFFFFF;
    }

    .featured-playlist {
        background: #000000;
    }

    .artists-section {
        background: #000000;
    }

    .playlists-section,
    .genres-section {
        background: #000000;
    }

    .about-section,
    .contact-section {
        background: #000000;
    }

    .playlist-card,
    .artist-card,
    .genre-card {
        background: #000000;
        border: 3px solid #FFFFFF;
        color: #FFFFFF;
    }

    .playlist-card.featured {
        background: rgba(255, 255, 255, 0.05);
    }

    .stat-item {
        background: rgba(255, 255, 255, 0.1);
        border-color: #FFFFFF;
    }

    .authority-link {
        background: #000000;
        border-color: #FFFFFF;
        color: #FFFFFF;
    }

    .authority-link:hover {
        background: #FFFFFF;
        color: #000000;
    }

    .contact-feature {
        background: rgba(255, 255, 255, 0.1);
        border-color: #FFFFFF;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        background: #000000;
        border-color: #FFFFFF;
        color: #FFFFFF;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .brazilian-pattern {
        animation: none;
    }

    .floating-notes .note {
        animation: none;
    }

    .playlist-image img,
    .artist-image img,
    .genre-card,
    .playlist-card,
    .artist-card {
        transition: none;
    }

    .play-button,
    .play-button-large,
    .artist-play {
        transition: none;
    }

    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Print Styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }

    .main-header,
    .hero-section,
    .mobile-menu-toggle,
    .audio-player,
    .load-more {
        display: none !important;
    }

    .playlist-card,
    .artist-card,
    .genre-card {
        break-inside: avoid;
        border: 2px solid #000 !important;
        background: white !important;
        box-shadow: none !important;
    }

    .hero-content {
        position: static !important;
        background: white !important;
    }

    a {
        color: #009739 !important;
        text-decoration: underline !important;
    }

    .play-button,
    .play-button-large,
    .artist-play {
        display: none !important;
    }

    .authority-link,
    .submit-button,
    .load-more-btn {
        border: 2px solid #000 !important;
        background: white !important;
        color: black !important;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 70vh;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-features {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .playlist-card {
        grid-template-columns: 250px 1fr;
    }

    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .player-content {
        flex-direction: row;
    }

    .player-info {
        flex: 0 0 150px;
    }
}

/* Focus Styles for Accessibility */
.playlist-card:focus,
.artist-card:focus,
.genre-card:focus,
.authority-link:focus,
.cta-button:focus,
.play-button:focus,
.play-button-large:focus,
.artist-play:focus,
.player-btn:focus,
.submit-button:focus,
.load-more-btn:focus {
    outline: 3px solid #FFD700;
    outline-offset: 2px;
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .playlist-image img,
    .artist-image img,
    .player-info img,
    .about-gallery img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    }

    .hero-subtitle {
        background: rgba(0, 0, 0, 0.8);
        color: #FFFFFF;
    }

    .featured-playlist {
        background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    }

    .artists-section {
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    }

    .playlists-section,
    .genres-section {
        background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    }

    .about-section,
    .contact-section {
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    }
}

/* Reduced Transparency */
@media (prefers-reduced-transparency: reduce) {
    .main-header {
        backdrop-filter: none;
        background: rgba(0, 151, 57, 0.95);
    }

    .audio-player {
        backdrop-filter: none;
        background: rgba(0, 151, 57, 0.95);
    }

    .hero-subtitle {
        background: rgba(255, 215, 0, 0.9);
        backdrop-filter: none;
    }

    .playlist-card,
    .artist-card,
    .genre-card {
        backdrop-filter: none;
    }
}

/* Large Text Support */
@media (min-resolution: 1.25dppx) and (max-width: 768px) {
    body {
        font-size: 18px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .featured-playlist h2,
    .artists-section h2,
    .playlists-section h2,
    .genres-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 2.2rem;
    }
}



