/*
Theme Name: Jingle Mágico - Tema Perfeito
Theme URI: https://jinglemagico.com.br
Description: Tema WordPress baseado no preview perfeito - Design profissional com cores corretas
Version: 2.0
Author: Jingle Mágico
License: GPL v2 or later
Text Domain: jingle-magico
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

:root {
    /* Paleta de Cores */
    --verde-petroleo: #006C70;
    --verde-petroleo-dark: #004D50;
    --verde-petroleo-light: #008B90;
    --branco-gelo: #FFFFFF;
    --amarelo-mostarda: #FFC857;
    --amarelo-hover: #FFD700;
    --cinza-carvao: #2E2E2E;
    --turquesa-claro: #36D8C3;
    --turquesa-hover: #4FE3CE;

    /* Gradientes */
    --hero-gradient: linear-gradient(135deg, #004D50 0%, #006C70 25%, #008B90 50%, #36D8C3 100%);
    --primary-gradient: linear-gradient(135deg, #006C70 0%, #008B90 50%, #36D8C3 100%);
    --secondary-gradient: linear-gradient(135deg, #FFC857 0%, #FFD700 100%);

    /* Cores de Fundo */
    --bg-primary: #004D50;
    --bg-secondary: #006C70;
    --bg-section: #1a4245;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.12);

    /* Cores de Texto */
    --text-primary: var(--branco-gelo);
    --text-secondary: rgba(255, 255, 255, 0.87);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dark: var(--cinza-carvao);

    /* Sombras */
    --shadow-medium: 0 16px 32px rgba(0, 108, 112, 0.3);
    --shadow-small: 0 8px 16px rgba(0, 108, 112, 0.2);
    --shadow-yellow: 0 8px 20px rgba(255, 200, 87, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 108, 112, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 108, 112, 0.3);
}

.logo-text {
    color: var(--cinza-carvao);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-navigation {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 108, 112, 0.1);
    padding: 0.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.main-navigation a {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    color: var(--cinza-carvao);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    background: var(--turquesa-claro);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(54, 216, 195, 0.3);
}

.header-cta {
    background: var(--secondary-gradient);
    color: var(--cinza-carvao);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-yellow);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 200, 87, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 3px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {    width: 22px;
    height: 2px;
    background: var(--cinza-carvao);
    border-radius: 2px;
    transition: 0.3s;
    display: block;
}

/* Notas Musicais Flutuantes */
.floating-notes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.musical-note {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.4;
    pointer-events: none;
    animation: float-up 12s linear infinite;
}

.musical-note:nth-child(1) { left: 10%; animation-delay: 0s; color: var(--turquesa-claro); }
.musical-note:nth-child(2) { left: 20%; animation-delay: 2s; color: var(--amarelo-mostarda); }
.musical-note:nth-child(3) { left: 30%; animation-delay: 4s; color: var(--turquesa-claro); }
.musical-note:nth-child(4) { left: 40%; animation-delay: 1s; color: rgba(255, 255, 255, 0.6); }
.musical-note:nth-child(5) { left: 50%; animation-delay: 3s; color: var(--amarelo-mostarda); }
.musical-note:nth-child(6) { left: 60%; animation-delay: 5s; color: var(--turquesa-claro); }
.musical-note:nth-child(7) { left: 70%; animation-delay: 2.5s; color: rgba(255, 255, 255, 0.6); }
.musical-note:nth-child(8) { left: 80%; animation-delay: 4.5s; color: var(--amarelo-mostarda); }
.musical-note:nth-child(9) { left: 90%; animation-delay: 1.5s; color: var(--turquesa-claro); }
.musical-note:nth-child(10) { left: 5%; animation-delay: 6s; color: rgba(255, 255, 255, 0.6); }

@keyframes float-up {
    from {
        bottom: -100px;
        transform: rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    to {
        bottom: 100vh;
        transform: rotate(360deg);
        opacity: 0;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--hero-gradient);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 200, 87, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(54, 216, 195, 0.1) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-text .highlight {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    max-width: 500px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--secondary-gradient);
    color: var(--cinza-carvao);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(255, 200, 87, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--turquesa-claro);
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-card p {
    color: var(--text-primary);
    line-height: 1.6;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-section) 0%, #1e5458 50%, var(--bg-section) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(54, 216, 195, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 200, 87, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Ensure text visibility in services section */
.services .section-title,
.services .section-subtitle {
    position: relative;
    z-index: 2;
    color: var(--text-primary);
}

.services .service-card {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--glass-hover);
    box-shadow: 0 20px 40px rgba(54, 216, 195, 0.2);
    border-color: rgba(54, 216, 195, 0.3);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.service-card:nth-child(odd) .service-icon {
    animation-delay: 0s;
}

.service-card:nth-child(even) .service-icon {
    animation-delay: 1.5s;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    opacity: 0.9;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.service-features li {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.9;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--turquesa-claro);
    font-weight: bold;
}

/* Audio Showcase */
.audio-showcase {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-section) 0%, #1e5458 50%, var(--bg-section) 100%);
    position: relative;
    content-visibility: auto;
    contain: layout style paint;
}

.audio-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(54, 216, 195, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 200, 87, 0.1) 0%, transparent 50%);
}

.audio-showcase .container {
    position: relative;
    z-index: 2;
}

.audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.audio-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
}

.audio-card:hover {
    transform: translateY(-5px);
    background: var(--glass-hover);
    box-shadow: var(--shadow-medium);
}

.audio-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.audio-category {
    font-size: 0.9rem;
    color: var(--turquesa-claro);
    margin-bottom: 1rem;
    font-weight: 500;
}

.audio-card p {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    flex-grow: 1;
}

.custom-audio-player {
    width: 100%;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 25px;
    border: 1px solid rgba(54, 216, 195, 0.2);
    transition: all 0.3s ease;
    content-visibility: auto;
    contain: layout style paint;
}

.custom-audio-player:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(54, 216, 195, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(54, 216, 195, 0.2);
}

.custom-audio-player audio {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    filter: brightness(1.05);
}

/* Enhanced Audio Player Status Indicators */
.audio-status {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.8;
}

.status-indicator {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.status-indicator.loading {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-indicator.error {
    background: rgba(244, 67, 54, 0.2);
    color: #FF5252;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.status-indicator.ready {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.retry-btn {
    background: #FF6B6B !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 3px 8px !important;
    font-size: 10px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-left: 8px !important;
}

.retry-btn:hover {
    background: #FF5252 !important;
    transform: scale(1.05) !important;
}

/* Audio Player Loading States */
.custom-audio-player.loading {
    opacity: 0.7;
}

.custom-audio-player.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--turquesa-claro);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.custom-audio-player.error {
    border-color: rgba(244, 67, 54, 0.4);
    background: rgba(244, 67, 54, 0.1);
}

.custom-audio-player.ready {
    border-color: rgba(76, 175, 80, 0.4);
}

.audio-duration {
    font-size: 0.8rem;
    color: var(--text-primary);
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Audio Location in Portfolio Cards */
.audio-location {
    font-size: 0.85rem;
    color: var(--amarelo-mostarda);
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--hero-gradient);
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 200, 87, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(54, 216, 195, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content .hero-buttons {
    justify-content: center;
}

.cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    transition: color 0.3s ease;
    display: block;
    opacity: 0.9;
}

.footer-section a:hover {
    color: var(--turquesa-claro);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--turquesa-claro);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    opacity: 0.8;
}

/* WordPress specific styles */
.site-main {
    margin-top: 0;
    padding-top: 0;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: var(--glass-hover);
    box-shadow: var(--shadow-medium);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--amarelo-mostarda);
}

.testimonial-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: -0.5rem;
    top: -0.2rem;
    font-size: 2rem;
    color: var(--turquesa-claro);
    opacity: 0.5;
}

.testimonial-content p::after {
    content: '"';
    position: relative;
    color: var(--turquesa-claro);
    opacity: 0.5;
    font-size: 1.2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.author-social a {
    color: var(--turquesa-claro);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.author-social a:hover {
    color: var(--turquesa-hover);
}

.author-social span {
    color: var(--amarelo-mostarda);
    font-size: 0.8rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-content p::before {
        display: none;
    }
}

/* Instagram Button in Testimonials */
.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #E4405F, #833AB4, #C13584);
    color: white !important;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 12px rgba(228, 64, 95, 0.3);
}

.instagram-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.5s;
}

.instagram-btn:hover::before {
    left: 100%;
}

.instagram-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.4);
    background: linear-gradient(135deg, #E4405F, #833AB4, #C13584, #405DE6);
    color: white !important;
}

.instagram-btn svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .instagram-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        gap: 0.4rem;
    }

    .instagram-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .cta h2 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .audio-grid {
        grid-template-columns: 1fr;
    }    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Card button alignment */
.service-card .btn-primary,
.audio-card .btn-primary {
    margin-top: auto;
    align-self: center;
    width: 100%;
    max-width: 250px;
}

.service-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-content .btn-primary {
    margin-top: auto;
}

/* Portfolio Tags */
.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.portfolio-tags span {
    background: rgba(54, 216, 195, 0.2);
    color: var(--turquesa-claro);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Utilitários */
.text-center { text-align: center; }
.fade-in { opacity: 1; transform: translateY(0); }

/* Ensure text visibility in audio-showcase section */
.audio-showcase .section-title,
.audio-showcase .section-subtitle {
    position: relative;
    z-index: 2;
    color: var(--text-primary);
}

.audio-showcase .audio-card {
    position: relative;
    z-index: 2;
}

/* FAQ Items */
.faq-item h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-primary);
    opacity: 0.9;
    line-height: 1.6;
}

/* Estilos específicos para cards FAQ */
.faq-item {
    min-height: 320px;
    justify-content: flex-start;
}

.faq-item .service-icon {
    margin-bottom: 1.2rem;
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Cores específicas para diferentes tipos de FAQ */
.faq-price {
    background: linear-gradient(135deg, var(--glass-bg), rgba(255, 193, 7, 0.08));
}

.faq-price:hover {
    border-color: rgba(255, 193, 7, 0.4);
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.15);
}

.faq-time {
    background: linear-gradient(135deg, var(--glass-bg), rgba(54, 216, 195, 0.08));
}

.faq-time:hover {
    border-color: rgba(54, 216, 195, 0.4);
    box-shadow: 0 20px 40px rgba(54, 216, 195, 0.15);
}

.faq-tech {
    background: linear-gradient(135deg, var(--glass-bg), rgba(138, 43, 226, 0.08));
}

.faq-tech:hover {
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.15);
}

.faq-contact {
    background: linear-gradient(135deg, var(--glass-bg), rgba(37, 211, 102, 0.08));
}

.faq-contact:hover {
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.15);
}

/* ==========================================================================
   OTIMIZAÇÕES MOBILE AVANÇADAS
   ========================================================================== */

/* Tablets grandes e desktops pequenos */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .header-content {
        padding: 0 16px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
        line-height: 1.2;
    }

    .section-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .audio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Smartphones grandes */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Header Mobile */
    .site-header {
        padding: 0.75rem 0;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0 16px;
    }

    .logo h2 {
        font-size: 1.5rem;
    }

    .main-navigation {
        display: none; /* Será substituído por menu hamburger */
    }

    /* Hero Section Mobile */
    .hero {
        padding: 6rem 0 4rem;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    /* Botões Mobile */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Cards Mobile */
    .services-grid,
    .audio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card,
    .audio-card {
        padding: 1.5rem;
        text-align: center;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    /* Seções Mobile */
    .section-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    /* CTA Mobile */
    .cta h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        gap: 1rem;
    }

    /* FAQ Cards Mobile */
    .faq-item {
        min-height: auto;
        padding: 1.5rem;
    }

    .faq-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .faq-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Smartphones pequenos */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Header Extra Small */
    .logo h2 {
        font-size: 1.3rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    /* Hero Extra Small */
    .hero {
        padding: 5rem 0 3rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Botões Extra Small */
    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
        max-width: 280px;
    }

    /* Cards Extra Small */
    .service-card,
    .audio-card {
        padding: 1.2rem;
    }

    .service-icon {
        font-size: 2rem;
    }

    /* Títulos Extra Small */
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .cta h2 {
        font-size: 1.7rem;
    }

    .cta p {
        font-size: 0.9rem;
    }

    /* FAQ Extra Small */
    .faq-item {
        padding: 1.2rem;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }

    .faq-item p {
        font-size: 0.85rem;
    }
}

/* Smartphones muito pequenos */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        max-width: 260px;
    }

    .service-card,
    .audio-card,
    .faq-item {
        padding: 1rem;
    }
}

/* Otimizações específicas para orientação landscape em mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 4rem 0 3rem;
        min-height: 70vh;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .audio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Melhorias de touch e interação mobile */
@media (max-width: 768px) {
    /* Aumentar área de toque dos links */
    a,
    button {
        min-height: 44px;
        min-width: 44px;
    }

    /* Melhorar hover em dispositivos touch */
    .service-card:hover,
    .audio-card:hover,
    .faq-item:hover {
        transform: translateY(0);
    }

    .service-card:active,
    .audio-card:active,
    .faq-item:active {
        transform: translateY(-4px);
        transition: transform 0.1s ease;
    }

    /* Otimizar formulários para mobile */
    input,
    textarea,
    select {
        font-size: 16px; /* Evita zoom automático no iOS */
        padding: 12px;
    }

    /* Melhorar legibilidade */
    p,
    li {
        line-height: 1.6;
    }

    /* Otimizar espaçamentos */
    section {
        padding: 3rem 0;
    }

    .hero {
        padding: 5rem 0 3rem;
    }
}

/* ==========================================================================
   OTIMIZAÇÕES ESPECÍFICAS DE PERFORMANCE MOBILE
   ========================================================================== */

/* Melhorar scrolling em iOS */
body {
    -webkit-overflow-scrolling: touch;
}

/* Otimizar fontes para mobile */
@media (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    body {
        font-size: 16px; /* Previne zoom automático no iOS */
        line-height: 1.5;
    }
}

/* Cards otimizados para touch */
@media (max-width: 768px) {
    .service-card,
    .audio-card,
    .faq-item {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(54, 216, 195, 0.1);
        touch-action: manipulation;
    }

    /* Melhorar feedback visual em touch */
    .service-card:active,
    .audio-card:active,
    .faq-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Otimizações de imagem para mobile */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .hero-visual,
    .hero-card {
        max-width: 100%;
    }
}

/* Melhorar espaçamento vertical em mobile */
@media (max-width: 768px) {
    section {
        padding: 2.5rem 0;
    }

    .hero {
        padding: 5rem 0 3rem;
    }

    .cta {
        padding: 3rem 0;
    }
}

/* Otimizar animações para mobile */
@media (max-width: 768px) {
    @media (prefers-reduced-motion: no-preference) {
        .fade-in {
            animation: fadeInUp 0.6s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    }

    /* Desabilitar animações para usuários que preferem */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* Melhorar contraste em mobile */
@media (max-width: 768px) {
    .text-muted {
        color: rgba(255, 255, 255, 0.8);
    }

    .section-subtitle {
        color: rgba(255, 255, 255, 0.9);
    }
}

/* Otimizar formulários para mobile */
@media (max-width: 768px) {
    input,
    textarea,
    select {
        font-size: 16px; /* Previne zoom no iOS */
        line-height: 1.5;
        padding: 12px 16px;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    input:focus,
    textarea:focus,
    select:focus {
        outline: 2px solid var(--turquesa-claro);
        outline-offset: 2px;
    }
}

/* Melhorar legibilidade de links em mobile */
@media (max-width: 768px) {
    a {
        text-decoration-thickness: 2px;
        text-underline-offset: 3px;
    }

    a:focus {
        outline: 2px solid var(--turquesa-claro);
        outline-offset: 2px;
        border-radius: 4px;
    }
}

/* Sticky header otimizado para mobile */
@media (max-width: 768px) {
    .site-header {
        height: auto;
        min-height: 60px;
    }

    .site-header.scrolled {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Loading states para mobile */
@media (max-width: 768px) {
    .loading {
        position: relative;
        pointer-events: none;
    }

    .loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border: 2px solid var(--turquesa-claro);
        border-top-color: transparent;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
}

/* ========================================
   LOADING E ERRO DE ÁUDIO - MOBILE
   ======================================== */

.audio-loading,
.audio-error {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(54, 216, 195, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 100;
    animation: pulse 1.5s infinite;
}

.audio-error {
    background: rgba(244, 67, 54, 0.9);
    cursor: pointer;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.audio-playing {
    border: 2px solid var(--verde-principal) !important;
    box-shadow: 0 0 20px rgba(54, 216, 195, 0.3) !important;
}

/* Otimizações específicas para áudio mobile - CONTRASTE MELHORADO */
@media (max-width: 768px) {
    .custom-audio-player {
        position: relative;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid var(--verde-petroleo);
        padding: 8px;
    }

    .custom-audio-player audio {
        width: 100%;
        height: 45px;
        background: #ffffff;
        border-radius: 22px;
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Melhorar controles de áudio no mobile - ALTO CONTRASTE */
    .custom-audio-player audio::-webkit-media-controls-panel {
        background-color: #ffffff;
        border-radius: 22px;
        border: 1px solid #e0e0e0;
    }

    .custom-audio-player audio::-webkit-media-controls-play-button,
    .custom-audio-player audio::-webkit-media-controls-pause-button {
        background-color: var(--verde-petroleo);
        color: white;
        border-radius: 50%;
        filter: brightness(1) contrast(1.2) saturate(1.1);
        border: 2px solid var(--verde-petroleo-dark);
        width: 32px;
        height: 32px;
    }

    .custom-audio-player audio::-webkit-media-controls-play-button:hover,
    .custom-audio-player audio::-webkit-media-controls-pause-button:hover {
        background-color: var(--verde-petroleo-dark);
        transform: scale(1.1);
    }

    .custom-audio-player audio::-webkit-media-controls-current-time-display,
    .custom-audio-player audio::-webkit-media-controls-time-remaining-display {
        color: var(--cinza-carvao);
        font-weight: 600;
        font-size: 12px;
        text-shadow: none;
        background: rgba(255, 255, 255, 0.9);
        padding: 2px 4px;
        border-radius: 4px;
    }

    .custom-audio-player audio::-webkit-media-controls-timeline {
        background-color: #e0e0e0;
        border-radius: 10px;
        height: 6px;
        border: 1px solid #cccccc;
    }

    .custom-audio-player audio::-webkit-media-controls-timeline::-webkit-slider-thumb {
        background-color: var(--verde-petroleo);
        border: 2px solid var(--verde-petroleo-dark);
        border-radius: 50%;
        width: 18px;
        height: 18px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .custom-audio-player audio::-webkit-media-controls-volume-slider {
        background-color: #e0e0e0;
        border-radius: 6px;
        height: 4px;
    }

    .custom-audio-player audio::-webkit-media-controls-volume-slider::-webkit-slider-thumb {
        background-color: var(--verde-petroleo);
        border: 1px solid var(--verde-petroleo-dark);
        border-radius: 50%;
        width: 14px;
        height: 14px;
    }

    /* Estilos para Firefox e outros navegadores - CONTRASTE ALTO */
    @media (max-width: 768px) {
        /* Firefox */
        .custom-audio-player audio::-moz-range-track {
            background-color: #e0e0e0;
            height: 6px;
            border-radius: 3px;
            border: 1px solid #cccccc;
        }

        .custom-audio-player audio::-moz-range-thumb {
            background-color: var(--verde-petroleo);
            border: 2px solid var(--verde-petroleo-dark);
            border-radius: 50%;
            width: 18px;
            height: 18px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            cursor: pointer;
        }

        /* Fallback para navegadores que não suportam personalização */
        .custom-audio-player audio {
            filter: contrast(1.3) brightness(1.1);
        }

        /* Estilos para elementos de controle genéricos */
        .custom-audio-player audio[controls] {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border: 2px solid var(--verde-petroleo);
            color: var(--cinza-carvao);
            font-weight: 600;
        }
    }

    /* Estilos específicos para diferentes tamanhos de tela mobile */
    @media (max-width: 480px) {
        .custom-audio-player {
            padding: 6px;
            margin-bottom: 0.75rem;
        }

        .custom-audio-player audio {
            height: 42px;
            border-radius: 21px;
        }

        .custom-audio-player audio::-webkit-media-controls-play-button,
        .custom-audio-player audio::-webkit-media-controls-pause-button {
            width: 28px;
            height: 28px;
        }

        .custom-audio-player audio::-webkit-media-controls-current-time-display,
        .custom-audio-player audio::-webkit-media-controls-time-remaining-display {
            font-size: 11px;
            padding: 1px 3px;
        }
    }

    @media (max-width: 360px) {
        .custom-audio-player audio {
            height: 40px;
            border-radius: 20px;
        }

        .custom-audio-player audio::-webkit-media-controls-play-button,    .custom-audio-player audio::-webkit-media-controls-pause-button {
            width: 26px;
            height: 26px;
        }
    }
}

/* Estados visuais adicionais para player mobile */
@media (max-width: 768px) {
    .custom-audio-player.loading-audio {
        background: rgba(255, 255, 255, 0.9);
        border-color: var(--amarelo-mostarda);
        position: relative;
    }

    .custom-audio-player.loading-audio::after {
        content: "Carregando...";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(255, 200, 87, 0.9);
        color: var(--cinza-carvao);
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 600;
        pointer-events: none;
        z-index: 10;
    }

    .custom-audio-player.ready-to-play {
        border-color: var(--turquesa-claro);
    }

    .custom-audio-player.player-active {
        transform: scale(0.98);
        box-shadow: inset 0 2px 8px rgba(0, 108, 112, 0.2);
    }

    /* Controles compactos para telas muito pequenas */
    .custom-audio-player audio.compact-controls {
        height: 38px;
        border-radius: 19px;
    }

    .custom-audio-player audio.compact-controls::-webkit-media-controls-play-button,
    .custom-audio-player audio.compact-controls::-webkit-media-controls-pause-button {
        width: 24px;
        height: 24px;
    }

    .custom-audio-player audio.compact-controls::-webkit-media-controls-current-time-display,
    .custom-audio-player audio.compact-controls::-webkit-media-controls-time-remaining-display {
        font-size: 10px;
        padding: 1px 2px;
    }
}

/* Melhorar acessibilidade e contraste em modo escuro */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
    .custom-audio-player {
        background: rgba(255, 255, 255, 0.98);
        border-color: var(--turquesa-claro);
    }

    .custom-audio-player audio {
        background: #ffffff;
        filter: contrast(1.4) brightness(1.1);
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--cinza-carvao);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 108, 112, 0.1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   MOBILE OPTIMIZATION - PRIORITY RULES
   ======================================== */

/* CRITICAL: Media Query para garantir que o header mobile funcione */
@media screen and (max-width: 768px) {
    /* FORÇA O RESET DO HEADER PARA MOBILE */
    .site-header {
        padding: 0.5rem 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        height: auto !important;
        min-height: 60px !important;
    }

    .header-content {
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 16px !important;
        gap: 1rem !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Logo Mobile - Mais compacto */
    .logo {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    .logo .logo-text {
        font-size: 1.3rem !important;
        font-weight: 700 !important;
    }

    .logo .logo-icon {
        font-size: 1.5rem !important;
    }

    /* FORÇAR OCULTAÇÃO DOS ELEMENTOS DESKTOP */
    .main-navigation {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .instagram-header-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .header-cta {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }    /* FORÇAR EXIBIÇÃO DO BOTÃO HAMBURGER - VERSÃO ULTRA ROBUSTA */
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10001 !important;
        position: relative !important;
        flex-direction: column !important;
        gap: 3px !important;
        cursor: pointer !important;
        padding: 10px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border: 1px solid rgba(46, 46, 46, 0.2) !important;
        border-radius: 6px !important;
        transition: all 0.3s ease !important;
        width: 44px !important;
        height: 44px !important;
        justify-content: center !important;
        align-items: center !important;
        min-width: 44px !important;
        min-height: 44px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 1) !important;
        transform: scale(1.05) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;    }

    /* Melhorar visibilidade do botão hamburger */
    .mobile-menu-toggle span {
        background: var(--cinza-carvao) !important;
        width: 22px !important;
        height: 2px !important;
        border-radius: 2px !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        transform-origin: center !important;
        display: block !important;
        margin: 0 !important;
    }

    .mobile-menu-toggle:hover {
        background: rgba(54, 216, 195, 0.1) !important;
    }

    /* Animação do botão hamburger */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px) !important;
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
        transform: scale(0) !important;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px) !important;
    }
}

/* Header mobile extra pequeno */
@media screen and (max-width: 480px) {
    .site-header {
        padding: 0.6rem 0 !important;
    }

    .header-content {
        padding: 0 12px !important;
    }

    .logo .logo-text {
        font-size: 1.2rem !important;
    }

    .logo .logo-icon {
        font-size: 1.4rem !important;
    }

    .mobile-menu-toggle span {
        width: 22px !important;
        height: 2px !important;
    }
}

/* ========================================
   MOBILE MENU - SIDEBAR STYLE
   ======================================== */

/* Mobile Navigation Sidebar */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg,
        rgba(0, 108, 112, 0.95) 0%,
        rgba(0, 77, 80, 0.98) 50%,
        rgba(54, 216, 195, 0.85) 100%);
    backdrop-filter: blur(20px);
    z-index: 9999;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav.active {
    right: 0;
}

/* Mobile Navigation Close Button */
.mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001 !important;
    line-height: 1;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-close:hover,
.mobile-nav-close:focus,
.mobile-nav-close:active {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: rotate(90deg) scale(1.1) !important;
    outline: none !important;
}

.mobile-nav-close:before {
    content: '×';
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 40px;
}

/* Mobile Navigation Links */
.mobile-nav a {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.mobile-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--turquesa-claro);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-nav a:hover::before {
    transform: scaleY(1);
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
    padding-left: 2.5rem;
}

/* Instagram Link Styling */
.mobile-nav a[href*="instagram"] {
    background: linear-gradient(135deg, #E4405F, #833AB4, #C13584);
    margin: 0.5rem 1rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.mobile-nav a[href*="instagram"]:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(228, 64, 95, 0.4);
    padding-left: 2rem;
}

/* WhatsApp Link Styling */
.mobile-nav a[href*="wa.me"] {
    background: linear-gradient(135deg, #25D366, #128C7E);
    margin: 0.5rem 1rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.mobile-nav a[href*="wa.me"]:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    padding-left: 2rem;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Telas muito pequenas - Menu full width */
@media screen and (max-width: 480px) {
    .mobile-nav {
        width: 100vw !important;
        right: -100vw !important;
    }

    .mobile-nav.active {
        right: 0 !important;
    }
}

/* ========================================
   END MOBILE OPTIMIZATION
   ======================================== */

/* ========================================
   FORÇA MOBILE UNIVERSAL - SOLUÇÃO DEFINITIVA
   ======================================== */

/* Aplicar sempre que a classe mobile-force estiver presente */
.mobile-force .main-navigation,
.mobile-force .instagram-header-btn,
.mobile-force .header-cta {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.mobile-force .mobile-menu-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10000 !important;
    flex-direction: column !important;
    gap: 3px !important;
    cursor: pointer !important;
    padding: 10px !important;
    background: rgba(0, 255, 0, 0.2) !important;
    border: 2px solid #00ff00 !important;
    border-radius: 6px !important;
    width: 44px !important;
    height: 44px !important;
    justify-content: center !important;
    align-items: center !important;
}

.mobile-force .mobile-menu-toggle span {
    background: #333 !important;
    width: 20px !important;
    height: 2px !important;
    border-radius: 2px !important;
    display: block !important;
    margin: 0 !important;
}

.mobile-force .site-header {
    padding: 0.5rem 0 !important;
    background: rgba(255, 255, 0, 0.8) !important;
}

.mobile-force .header-content {
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 16px !important;
    gap: 1rem !important;
}

.mobile-force .logo .logo-text {
    font-size: 1.3rem !important;
}

.mobile-force .logo .logo-icon {
    font-size: 1.5rem !important;
}

.mobile-force body {
    padding-top: 70px !important;
}

/* Fix para H1 dentro de sections/articles - PageSpeed requirement */
article h1,
aside h1,
nav h1,
section h1 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Correção específica para H1 dentro de section - PageSpeed */
.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* ========================================
   MENU MOBILE - CORREÇÕES CRÍTICAS
   ======================================== */

/* Garantir funcionamento do menu mobile */
body.mobile-menu-open {
    overflow: hidden !important;
    height: 100vh !important;
    position: fixed !important;
    width: 100% !important;
}

body.mobile-menu-open .mobile-nav {
    pointer-events: all !important;
}

body.mobile-menu-open .mobile-overlay {
    pointer-events: all !important;
}

/* Melhorar visibilidade e clicabilidade do overlay */
.mobile-overlay {
    pointer-events: none !important;
}

.mobile-overlay.active {
    pointer-events: all !important;
    cursor: pointer !important;
}

/* Garantir que o botão hamburger seja sempre clicável */
.mobile-menu-toggle {
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}
