/* 
    Avacanoeiro Business - Corporate Law Firm Design System 
    Foco: Alta Autoridade, Contraste Perfeito, Responsividade Absoluta.
*/

:root {
    --primary: #0A0A0A;
    --dark-alt: #141414;
    --light: #FFFFFF;
    --light-bg: #F5F7FA;
    --ice-silver: #E2E8F0;
    --text-dark: #1A202C;
    --text-muted-light: #A0AEC0;
    --text-muted-dark: #4A5568;
    --accent: #CBD5E0;
    --silver-gradient: linear-gradient(135deg, #A0AEC0 0%, #E2E8F0 45%, #FFFFFF 50%, #E2E8F0 55%, #A0AEC0 100%);
    --gold-muted: #B79455;
    --glass: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--light);
    line-height: 1.6;
    background-color: var(--primary);
    overflow-x: hidden;
}

h1, h2, h3, .playfair {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    transition: var(--transition);
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.1));
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(183,148,85,0.3));
}

.footer-logo .logo-img {
    height: 60px;
    margin-bottom: 1.5rem;
}

.logo-text { display: none; } /* Ocultando texto antigo em favor da logo.png */

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

.section { padding: 100px 0; }

.bg-dark { background-color: var(--primary); color: var(--light); }
.bg-dark-texture { background-color: var(--dark-alt); color: var(--light); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.bg-light { background-color: var(--light-bg); color: var(--text-dark); }
.bg-ice { background-color: var(--ice-silver); color: var(--text-dark); }

.text-center { text-align: center; }
.text-dark { color: var(--text-dark); }
.text-muted-light { color: var(--text-muted-light); }
.text-muted-dark { color: var(--text-muted-dark); }
.text-gold { color: var(--gold-muted) !important; }

.silver-text {
    background: var(--silver-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 4rem; }

/* Botões */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 2px;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.btn-silver {
    background: var(--light);
    color: var(--primary);
    border: 1px solid var(--light);
}

.btn-silver:hover {
    background: var(--accent);
    color: var(--primary);
}

.btn-gold-action {
    background: var(--gold-muted);
    color: var(--primary);
    border: 1px solid var(--gold-muted);
}
.btn-gold-action:hover {
    background: transparent;
    color: var(--gold-muted);
}

.btn-outline {
    border: 1px solid var(--accent);
    color: var(--light);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

.btn-outline-dark {
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
}
.btn-outline-dark:hover {
    background: var(--text-dark);
    color: var(--light);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--light); }

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--light);
    cursor: pointer;
    z-index: 10000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(10,10,10,0.3) 0%, var(--primary) 100%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.6) grayscale(20%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.badge-premium {
    display: inline-block;
    border: 1px solid var(--gold-muted);
    color: var(--gold-muted);
    padding: 6px 16px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.hero-btns .btn {
    width: 420px; /* Largura expandida para garantir simetria total com o texto longo */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 0;
    white-space: nowrap;
    flex-shrink: 0; /* Impede que o flexbox tente comprimir os botões */
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--text-muted-light);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.trust-item {
    font-size: 0.85rem;
    color: var(--accent);
}

.trust-item i { color: var(--gold-muted); margin-right: 5px; }

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* ======= CARDS (TRANSAÇÃO) - UPGRADE PREMIUM ======= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.card {
    background: linear-gradient(145deg, rgba(30,30,35,0.7) 0%, rgba(10,10,12,0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.15); /* Efeito de luz na borda */
    padding: 3rem 2rem;
    border-radius: 8px; /* Suavidade corporativa */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(183,148,85,0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(183,148,85,0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(183,148,85,0.1);
}

.card:hover::after { opacity: 1; }

.card i {
    font-size: 2.5rem;
    color: var(--gold-muted);
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(183,148,85,0.3));
    transition: transform 0.5s ease;
}

.card:hover i { transform: scale(1.15); }

.card h3 { 
    font-size: 1.3rem; 
    margin-bottom: 1rem; 
    color: var(--light);
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

.card p { 
    font-size: 0.95rem; 
    color: var(--accent);
    line-height: 1.7;
}

/* ======= ELEMENTOS LIGHT THEME - UPGRADE PREMIUM ======= */
.deliverable-item {
    display: flex;
    align-items: center; /* Alinhamento centralizado e equilibrado */
    gap: 1.8rem;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 8px; /* Canto suave premium */
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); /* Sombra inicial suave */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Fita dourada no hover (Efeito luxo) */
.deliverable-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gold-muted);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: bottom;
}

.deliverable-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); /* Sombra elevada */
    transform: translateY(-6px);
    border-color: rgba(0, 0, 0, 0.12);
}

.deliverable-item:hover::before { transform: scaleY(1); }

.deliverable-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.deliverable-item p {
    font-size: 0.9rem;
    color: var(--text-muted-dark);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--light);
    background: var(--text-dark);
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Quote Box Light */
.quote-box {
    background: var(--light);
    padding: 2rem;
    border-left: 4px solid var(--gold-muted);
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

/* Formulário Corporativo (Lead Capture) */
.capture-form-wrapper {
    background: var(--dark-alt);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 4px;
}

.form-group { margin-bottom: 1.5rem; }
.row-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.corporate-form label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.corporate-form .form-control {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 1rem;
    color: var(--light);
    border-radius: 2px;
}

.corporate-form .form-control:focus {
    outline: none;
    border-color: var(--gold-muted);
}

/* Segmentos Grid - Premium Upgrade */
.segmentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.seg-card-light {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 8px; /* Aspecto corporativo suave */
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Linha superior premium animada */
.seg-card-light::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gold-muted);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.seg-card-light:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

.seg-card-light:hover::before { transform: scaleX(1); }

.seg-card-light i { 
    display: block;
    font-size: 2.2rem; 
    color: var(--gold-muted) !important; 
    margin-bottom: 1.2rem; 
    transition: transform 0.4s ease;
}

.seg-card-light:hover i { transform: scale(1.15) translateY(-5px); }

/* Timeline */
.timeline {
    border-left: 1px solid var(--glass-border);
    margin: 0 auto;
    max-width: 800px;
    padding-left: 3rem;
}

.timeline-step {
    position: relative;
    padding: 2rem 0;
    color: var(--text-muted-light);
}

.timeline-step strong { color: var(--light); }

.timeline-step span {
    position: absolute;
    left: -3rem;
    width: 30px;
    height: 30px;
    background: var(--gold-muted);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    transform: translateX(-50%);
    top: 2rem;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}
.team-card { text-align: center; }

.member-photo {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--light-bg); /* Placeholder fallback */
}

.team-card:hover .member-photo {
    filter: grayscale(0%);
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--gold-muted);
}

/* ======= FOOTER PREMIUM REESTRUTURAÇÃO ======= */
.footer-premium {
    background-color: #050505;
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
    gap: 4rem;
}

.footer-brand p {
    color: var(--text-muted-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-muted);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a {
    color: var(--text-muted-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-muted); padding-left: 5px; }

.footer-units {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.unit-item {
    display: flex;
    gap: 1rem;
    color: var(--text-muted-light);
    font-size: 0.85rem;
}

.unit-item i { color: var(--gold-muted); margin-top: 4px; }

.footer-action .btn {
    width: 100%;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 2px;
}

.social-link:hover {
    background: var(--gold-muted);
    border-color: var(--gold-muted);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
}

.legal-tags span { margin-left: 1.5rem; }

/* Mobile Menu Active */
.nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: #0A0A0A;
    padding: 3rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    gap: 2rem;
    z-index: 9999;
}

/* WhatsApp Flutuante Corporate */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #FFF;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 99999;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    animation: pulse-wa 2s infinite;
}

.whatsapp-float i { font-size: 1.5rem; }
.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background: #128c7e;
}

@keyframes pulse-wa {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    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); }
}

/* Novo: Estilo de Vídeo HQ 1:1 */
.hq-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    background: #000;
}

.hq-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Animated Ticker (Marquee) */
.marquee-banner {
    background-color: var(--gold-muted);
    color: #0A0A0A;
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2), 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
}

.marquee-content {
    display: inline-flex;
    animation: marquee-scroll 25s linear infinite;
    will-change: transform;
}

.marquee-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 3px;
    padding-right: 15px;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* YouTube Section Responsiveness */
.responsive-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
}

.responsive-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Media Queries Globais (Restauradas) */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    .row-inputs { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .segmentos-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .capture-form-wrapper { padding: 2rem; }
    .hero h1 { font-size: 3rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns .btn { width: 100%; max-width: 400px; }
    .hq-video-wrapper { max-width: 100%; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .whatsapp-float span { display: none; }
    .whatsapp-float { padding: 15px; border-radius: 50%; bottom: 20px; right: 20px; }
    
    .hero h1 { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    
    .hero-btns { display: flex; flex-direction: column; width: 100%; gap: 1rem; }
    .btn { width: 100%; }
    
    .hero-trust-badges { flex-direction: column; gap: 1rem; align-items: center; }
    
    .cards-grid, .segmentos-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    .legal-tags span { display: block; margin: 0.5rem 0; }

    .timeline { padding-left: 1.5rem; }
    .timeline-step span { left: -1.5rem; }
}
