/*
Theme Name: Clarity Premium Acústica
Theme URI: https://clarityacustica.com.br
Description: Tema premium de alta conversão | 100% compatível com Elementor Pro. Ícones corrigidos para Font Awesome 6.5.
Author: Clarity Acústica & Áudio
Version: 3.2.0
*/
:root {
    /* Cores Premium e Minimalistas (Prompt Ajustado) */
    --color-bg: #ffffff;
    /* Branco, leveza e modernidade */
    --color-surface: #f8fafc;
    --color-text: #0b1120;
    /* Azul Escuro Profundo - Texto Principal */
    --color-text-light: #475569;
    /* Cinza Grafite suave para textos base */

    --color-graphite: #334155;
    /* Cinza Grafite intermediário */
    --color-graphite-light: #94a3b8;
    /* Cinza Grafite clarinho para footers */

    --color-dark: #0f172a;
    /* Azul escuro principal das seções dark */
    --color-dark-deep: #020617;
    /* Fundo extremamente azul profundo */
    --color-dark-surface: #1e293b;
    /* Fundo dos cards na seção dark */

    --color-dark-text: #f8fafc;
    --color-dark-text-muted: #cbd5e1;

    --color-accent: #3b82f6;
    /* Azul brilhante (CTA) */

    /* Espaçamentos e Layout */
    --space-sm: 1rem;
    --space-md: 2.5rem;
    --space-lg: 5rem;
    --space-xl: 10rem;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Tipografia */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--color-text);
}

.leading-tight {
    line-height: 1.2;
}

p {
    color: var(--color-text-light);
    font-size: 1.125rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilitários Gerais */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.justify-center {
    justify-content: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mt-5 {
    margin-top: 5rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

/* Utilitários de Cor */
.bg-light-gray {
    background-color: var(--color-surface);
}

.bg-dark {
    background-color: var(--color-dark);
}

.bg-dark-deep {
    background-color: var(--color-dark-deep);
}

.bg-graphite {
    background-color: var(--color-graphite);
}

.text-dark {
    color: var(--color-text) !important;
}

.text-graphite {
    color: var(--color-graphite) !important;
}

.text-graphite-light {
    color: var(--color-graphite-light) !important;
}

.text-light {
    color: var(--color-dark-text) !important;
}

.text-white {
    color: #fff !important;
}

.text-gray-muted {
    color: var(--color-dark-text-muted) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.border-top-dark {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Botoes */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: scale(1.02);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-text);
    color: var(--color-text);
}

.btn-outline:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.btn-outline-light {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--color-dark-deep);
}

.btn-large {
    padding: 1.2rem 2.4rem;
    font-size: 1.1rem;
}

/* WhatsApp Float Button */
.whatsapp-btn-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-btn-float:hover {
    background-color: #128c7e;
    transform: scale(1.1) translateY(-4px);
    color: #FFF;
    animation: none;
}

/* Imagens */
.image-premium {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    display: block;
}

.shadow-image {
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-block;
}

.logo img {
    height: 75px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 55px;
}

.footer-logo-img {
    height: 90px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0px 2px 4px rgba(255, 255, 255, 0.15));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-graphite);
}

.nav-links a:hover,
.nav-links a.active-link {
    color: var(--color-accent);
}

/* Novo: Banner Principal Animado (Hero Section) */
.hero-animated {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: calc(80px + 2rem) 0 4rem;
}

.hero-bg-zoom {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

/* A imagem em si fará a animação constante de zoom lento e luxuoso */
.hero-bg-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: zoomSlow 20s infinite alternate cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.7) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-overlay-darker {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.85) 0%, rgba(15, 23, 42, 0.6) 100%);
}

@keyframes zoomSlow {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-animated-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.hero-animated-title {
    font-size: clamp(3rem, 5.5vw, 5rem);
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-animated-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    color: #e2e8f0;
    max-width: 750px;
    margin: 0 auto 3rem auto;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-animated-subtitle strong {
    color: #fff;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Seções e Grids */
.section {
    padding: var(--space-xl) 0;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.25rem;
    max-width: 600px;
}

.section-header {
    margin-bottom: 5rem;
}

.section-header-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem 2rem;
}

.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.layout-split.reverse .split-content {
    order: 2;
}

.align-center {
    align-items: center;
}

/* Items Acústica / Sonorização */
.app-item {
    background: var(--color-surface);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    text-align: center;
}

.app-icon {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.app-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(15, 23, 42, 0.1);
}

.app-item:hover .app-icon {
    color: var(--color-accent);
    transform: scale(1.1);
}

.app-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--color-dark);
}

.app-item p {
    font-size: 1.05rem;
}

.card-dark {
    background: var(--color-dark-surface);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.card-dark:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Feature Lists */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feature-list li {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-graphite);
}

.dark-list li {
    color: var(--color-dark-text-muted);
    font-size: 1.05rem;
}

.bullet {
    display: inline-block;
    min-width: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.audio-list li {
    align-items: flex-start;
}

.audio-list i {
    margin-top: 0.4rem;
    font-size: 1.2rem;
}

/* Call to Action Final */
.cta-section {
    padding: 8rem 0;
}

.cta-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
}

.cta-title span {
    color: var(--color-accent);
}

.cta-desc {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer ul a {
    font-size: 1rem;
}

.footer ul a:hover {
    color: #fff !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* Animações Reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsividade */
@media (max-width: 900px) {
    .layout-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .layout-split.reverse .split-content {
        order: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }

    .hero-animated-title {
        font-size: 2.5rem;
    }
}

/* ---------------------------------
   Projetos de Portfólio & Filtros 
-----------------------------------*/

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-graphite-light);
    color: var(--color-graphite);
    padding: 0.6rem 1.5rem;
    border-radius: 99px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-text);
    color: var(--color-surface);
    border-color: var(--color-text);
}

.project-case-full {
    background: var(--color-bg);
    width: 100%;
    margin-bottom: 6rem;
}

.project-case-header-full {
    background: var(--color-dark);
    padding: 8rem 2rem 6rem;
    text-align: center;
    color: var(--color-dark-text);
    position: relative;
    overflow: hidden;
}

.project-case-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
    color: #fff;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.meta-item {
    font-size: 0.95rem;
    color: var(--color-graphite-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-case-body-full {
    padding: 6rem 0;
    width: 100%;
}

.case-text-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Comparativo Antes e Depois / Slider Interativo */
.ba-slider {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 400px;
    max-height: 800px;
    overflow: hidden;
    margin: 4rem 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.ba-layer {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0;
    overflow: hidden;
}

.ba-bottom {
    z-index: 1;
}

.ba-top {
    z-index: 2;
    width: 50%;
    border-right: 4px solid var(--color-accent);
}

.ba-layer img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-label {
    position: absolute;
    bottom: 20px;
    z-index: 5;
    padding: 0.5rem 1.2rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.9rem;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ba-top .ba-label {
    left: 20px;
    background-color: var(--color-dark);
    color: white;
}

.ba-bottom .ba-label {
    right: 20px;
    background-color: var(--color-accent);
    color: white;
}

.ba-handle {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    background: var(--color-accent);
    border-radius: 50%;
    cursor: ew-resize;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.ba-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-view-container {
    width: 100%;
    height: 75vh;
    min-height: 400px;
    max-height: 800px;
    background: #000;
    margin: 4rem 0;
    position: relative;
}

.video-view-container iframe,
.video-view-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.badge-status {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Banner Intermediário */
.banner-cta {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-graphite) 100%);
    padding: 6rem 2rem;
    border-radius: var(--radius-lg);
    margin: 6rem auto;
    max-width: 1200px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.banner-cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}