/* =========================================
   Podcast-me! | Design System & Styles
   ========================================= */

:root {
    /* Colors extracted from the brand identity */
    --primary-orange: #EB631E; /* A strong vibrant orange */
    --primary-hover: #C55318;
    --bg-dark: #101216; /* Deep dark blue/gray for premium studio feel */
    --bg-card: rgba(26, 29, 36, 0.7);
    --bg-card-hover: rgba(35, 40, 50, 0.9);
    --text-light: #F5F6F8;
    --text-muted: #A0A4B0;
    --wave-gray: #909090;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Utilities */
    --transition-fast: 0.3s ease;
    --border-radius: 0px; /* Cantos retos conforme original */
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* =========================================
   Typography & Utilities
   ========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

.text-orange { color: var(--primary-orange); }
.text-center { text-align: center; }
.huge-text { font-size: 4rem; letter-spacing: 2px; }
.subtitle-light { font-size: 1.5rem; font-weight: 400; color: var(--text-muted); margin-bottom: 30px; }

.section-header { margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-subtitle { max-width: 950px; margin: 0 auto; color: var(--text-muted); font-size: 1.1rem; }

.divider {
    height: 40px;
    width: 120px;
    background: url('../assets/img/logo/soundwave.png') center/contain no-repeat;
    margin: 10px auto 0;
}

/* =========================================
   Background Elements (As Bolinhas)
   ========================================= */
.bg-dots {
    position: absolute;
    width: 400px;
    height: 400px;
    background-image: radial-gradient(var(--primary-orange) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.10;
    z-index: -1;
    pointer-events: none;
}
.bg-dots.top-right { top: 0; right: 0; transform: rotate(15deg) translate(20%, -20%); }
.bg-dots.bottom-left { bottom: 0; left: 0; transform: translate(-20%, 20%); }

.bg-wave {
    position: absolute;
    width: 800px;
    height: 400px;
    background: url('../assets/img/logo/soundwave.png') center/contain no-repeat;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}
.bg-wave.left {
    top: 50%;
    left: -300px;
    transform: translateY(-50%) rotate(-10deg);
}
.bg-wave.right {
    top: 50%;
    right: -300px;
    transform: translateY(-50%) rotate(10deg);
}

/* =========================================
   Layout & Containers
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
section { padding: 100px 0; }

/* Performance: pular renderização de seções fora da tela */
.servicos,
.estudios,
.instagram,
.faq {
    content-visibility: auto;
    contain-intrinsic-size: 0 800px;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 0; /* Cantos retos */
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btn-primary {
    background-color: var(--primary-orange);
    color: #fff;
    box-shadow: 0 4px 15px rgba(235, 99, 30, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 99, 30, 0.4);
}
.btn-secondary { background-color: transparent; border: 2px solid var(--primary-orange); color: var(--primary-orange); }
.btn-secondary:hover { background-color: var(--primary-orange); color: #fff; }
.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(16, 18, 22, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-text { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: var(--text-light); text-decoration: none; letter-spacing: 1px; }
.logo-highlight { color: var(--primary-orange); }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { color: var(--text-light); text-decoration: none; font-weight: 500; transition: var(--transition-fast); font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary-orange); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--text-light); border-radius: 0; }

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 120px;
    position: relative;
    background: url('../assets/img/IA/A_digital_photograph_captures_a_podcast_recording_.jpg') no-repeat center center;
    background-size: cover;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(16, 18, 22, 0.85);
    z-index: 0;
}
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(235,99,30,0.15) 0%, rgba(16,18,22,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}
.hero h1 { font-size: 4.5rem; margin-bottom: 10px; }
.hero-subtitle { font-size: 1.5rem; font-weight: 600; letter-spacing: 4px; margin-bottom: 40px; }
.hero-buttons.center { display: flex; justify-content: center; margin-bottom: 40px; }

/* Features Grid (Under Hero) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}
.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 3px solid var(--primary-orange);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}
.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--text-light); }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* =========================================
   Sobre Section
   ========================================= */
.sobre {
    background: url('../assets/img/IA/A_digital_photograph_captures_a_podcast_studio_fro.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}
.sobre::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(16, 18, 22, 0.92); z-index: 0;
}
.sobre .container { position: relative; z-index: 1; }
.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.sobre-text-main p { color: var(--text-muted); margin-bottom: 20px; font-size: 1.1rem; }
.box-highlight {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
}
.box-highlight h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--primary-orange); }
.box-highlight p { color: var(--text-muted); margin-bottom: 15px; font-size: 0.95rem; }
.signature { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.signature strong { font-size: 1.2rem; color: var(--text-light); }
.signature span { color: var(--primary-orange); font-size: 0.9rem; }

/* =========================================
   Video Facade (YouTube)
   ========================================= */
.video-facade-container {
    margin-bottom: 30px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}
.video-facade {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    border: 3px solid var(--primary-orange);
    border-radius: 0;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}
.video-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-facade .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}
.video-facade:hover .play-button {
    background-color: #ff0000;
}
.video-facade .play-button::before {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent #fff;
}
.video-facade iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================
   Serviços Section
   ========================================= */
.servicos {
    background: url('../assets/img/IA/A_digital_photograph_captures_a_technician_from_be.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}
.servicos::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(16, 18, 22, 0.92); z-index: 0;
}
.servicos .container { position: relative; z-index: 1; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-fast);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--primary-orange);
    display: block;
    transition: transform 0.3s ease;
}

.service-img-wrapper {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Escurece levemente a imagem no hover */
.service-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.service-img-wrapper:hover::before {
    opacity: 1;
}

.service-img-wrapper:hover .service-img {
    transform: scale(1.05);
}

.photo-legend {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(16, 18, 22, 0.85);
    color: var(--text-light);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 2px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    z-index: 2;
}

/* Efeito na legenda ao passar o mouse: brilha na cor da marca */
.service-img-wrapper:hover .photo-legend {
    background: var(--primary-orange);
    color: #fff;
    border-color: var(--primary-orange);
    box-shadow: 0 0 15px rgba(235, 99, 30, 0.4);
}
.service-content {
    padding: 30px;
    flex: 1;
}
.service-icon { font-size: 2.5rem; margin-bottom: 15px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.service-tag { display: inline-block; background: rgba(235, 99, 30, 0.1); color: var(--primary-orange); padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.service-list { list-style: none; }
.service-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}



/* =========================================
   Estúdios
   ========================================= */
.estudios {
    background: url('../assets/img/IA/A_digital_photograph_captures_a_professional_podca.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}
.estudios::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(16, 18, 22, 0.92); z-index: 0;
}
.estudios .container { position: relative; z-index: 1; }
.formatos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}
.formato-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--wave-gray);
    transition: var(--transition-fast);
}
.formato-item:hover { border-left-color: var(--primary-orange); background: var(--bg-card-hover); }
.formato-item h4 { font-size: 1.2rem; margin-bottom: 15px; }
.formato-item p { color: var(--text-muted); font-size: 0.95rem; }

.studios-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.studio-box {
    background: rgba(255,255,255,0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}
.studio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid var(--primary-orange);
}

/* Carousel Lightbox (fullscreen) */
.carousel-lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10, 11, 13, 0.97);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.carousel-lightbox.active {
    display: flex;
}
.carousel-lb-close {
    position: absolute;
    top: 20px; right: 30px;
    color: var(--text-light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}
.carousel-lb-close:hover {
    color: var(--primary-orange);
}
.carousel-lb-img {
    max-width: 85%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.6);
    animation: zoomIn 0.3s ease;
}
.carousel-lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}
.carousel-lb-arrow:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    box-shadow: 0 0 15px rgba(235, 99, 30, 0.4);
}
.carousel-lb-prev { left: 25px; }
.carousel-lb-next { right: 25px; }
.carousel-lb-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    max-width: 80%;
}
.carousel-lb-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.carousel-lb-dot.active {
    background: var(--primary-orange);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(235, 99, 30, 0.6);
}
.studio-box-content {
    padding: 40px;
}
.studio-box h3 { font-size: 2.5rem; margin-bottom: 10px; }
.studio-box h4 { font-size: 1.1rem; color: var(--text-light); margin-bottom: 25px; font-weight: 500; }
.studio-text p { color: var(--text-muted); margin-bottom: 15px; font-size: 0.95rem; }

/* Galeria Extra no Estúdio 2 */
.studio-extras {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
.studio-extra-box {
    flex: 1;
    border-radius: 4px;
}
.studio-extra-img {
    height: 120px;
    border-bottom: none;
}
.photo-legend-extra {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(16,18,22,0.85);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 2;
    transition: all 0.3s ease;
}
.service-img-wrapper:hover .photo-legend-extra {
    background: var(--primary-orange);
    color: #fff;
    border-color: var(--primary-orange);
    box-shadow: 0 0 15px rgba(235, 99, 30, 0.4);
}

/* =========================================
   FAQ (Accordion)
   ========================================= */
.faq {
    background: url('../assets/img/IA/A_digital_photograph_captures_three_video_editors_.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}
.faq::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(16, 18, 22, 0.95); z-index: 0;
}
.faq .container { position: relative; z-index: 1; }
.faq-container { max-width: 900px; margin: 0 auto; display: none; } /* Hidden by default */
.faq-toggle-container { text-align: center; margin-bottom: 40px; }
.faq-category { margin-bottom: 40px; }
.faq-category-title { font-size: 1.5rem; color: var(--primary-orange); margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.accordion-item {
    background: var(--bg-card);
    margin-bottom: 10px;
    border-radius: 0; /* Cantos retos */
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}
.accordion-header {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    text-align: left;
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-header::after {
    content: '+';
    color: var(--primary-orange);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.accordion-item.active .accordion-header::after { transform: rotate(45deg); }
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.accordion-body {
    padding: 0 20px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background: #0a0b0d;
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
footer h2 { margin-bottom: 15px; }
footer p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 5px; }

/* =========================================
   WhatsApp Floating Button
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

/* =========================================
   Lightbox Modal
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 18, 22, 0.95);
    backdrop-filter: blur(5px);
}
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}
@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--text-light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.lightbox-close:hover {
    color: var(--primary-orange);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .features-grid, .sobre-content, .services-grid, .studios-details { grid-template-columns: 1fr; }
    .huge-text { font-size: 2.5rem; }
}
@media (max-width: 768px) {
    .nav-cta { display: none; }
    .nav-links { 
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(16, 18, 22, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        z-index: 1000;
        box-shadow: 0 15px 25px rgba(0,0,0,0.5);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; letter-spacing: 2px; }
    .btn-large { padding: 14px 20px; font-size: 1rem; }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    /* Clarear fundos no mobile */
    .hero::after { background: rgba(16, 18, 22, 0.70); }
    .sobre::before,
    .servicos::before,
    .estudios::before { background: rgba(16, 18, 22, 0.80); }
    .faq::before { background: rgba(16, 18, 22, 0.85); }
}
@media (max-width: 480px) {
    .studio-extras {
        flex-direction: column;
    }
    .studio-extra-img {
        height: 180px; /* Maior altura no mobile para preencher bem o espaço vertical quando empilhado */
    }
}
