/* Variáveis de Cores Premium */
:root {
    --primary-blue: #0d1f3c; /* Azul marinho profundo e premium */
    --primary-blue-light: #162c54;
    --primary-green: #79bc43; /* Verde marca */
    --primary-green-glow: rgba(121, 188, 67, 0.4);
    --text-dark: #333333;
    --text-muted: #888888;
    --bg-light: #f4f6f9;
    --white: #ffffff;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

.text-white { color: var(--white) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }
.overflow-hidden { overflow: hidden; }

/* Navbar Premium (Branca) */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--white);
    transition: var(--transition-smooth);
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

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

.logo img {
    transition: var(--transition-smooth);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-green);
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-links a.btn-primary {
    color: var(--white) !important;
    padding: 10px 24px; /* Corrige o padding horizontal do botão na navbar */
}

/* Botões Premium */
.btn-primary {
    background-color: var(--primary-green);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px var(--primary-green-glow);
}

.btn-primary:hover {
    background-color: #639b36;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-green-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--white) !important;
    border: 2px solid var(--white);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue) !important;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* WhatsApp Pulse Button */
.btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white !important;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}
.pulse {
    animation: pulse-animation 2s infinite;
}
@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh; /* Diminui de 100vh para dar menos zoom na imagem */
    display: flex;
    align-items: center;
    background: url('hero.jpg') no-repeat center center/cover;
    margin-top: 80px; /* Compensa a navbar branca fixa */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente escuro para garantir leitura, focando mais na esquerda */
    background: linear-gradient(90deg, rgba(13, 31, 60, 0.95) 0%, rgba(13, 31, 60, 0.7) 50%, rgba(13, 31, 60, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 800px;
    padding-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Numbers Bar */
.numbers-bar {
    background-color: var(--primary-blue);
    padding: 60px 0;
    position: relative;
    z-index: 20;
    margin-top: -5px; /* Evita fresta de renderização */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.number-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 10px;
}

.number-item p {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Seções Gerais */
.section {
    padding: 100px 0;
}
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-blue); }

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-green);
    border-radius: 2px;
    margin-top: 15px;
}
.text-center .section-title::after { margin: 15px auto 0; }

/* Perfil do Síndico */
.split-content {
    display: flex;
    gap: 60px;
}
.split-content.align-center { align-items: center; }

.profile-image-container {
    flex: 1;
    position: relative;
    max-width: 450px;
}
.profile-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}
.badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-green);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px var(--primary-green-glow);
}

.text-content { flex: 1.2; }
.subtitle {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.text-content p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-muted);
}
.tags-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}
.tags-list li {
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}
.tags-list i { color: var(--primary-green); }

/* Diferenciais e Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    border-bottom: 4px solid transparent;
    text-align: left;
}
.service-card.dark-card {
    background: var(--primary-blue-light);
    color: var(--white);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}
.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-green);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.service-card i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 25px;
}
.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}
.dark-card p { color: #b0c4de; }

/* Antes e Depois */
.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.image-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
}
.image-box:hover { transform: scale(1.02); }
.image-box img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}
.label {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.label-red { background: #e74c3c; }
.label-green { background: #2ecc71; }

/* Mídia / Vídeos */
.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.video-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.video-header {
    padding: 25px;
    background: var(--primary-blue);
    color: var(--white);
}
.video-header h3 { font-size: 1.3rem; margin-bottom: 5px; }
.video-header p { font-size: 0.95rem; opacity: 0.8; }
.video-wrapper {
    position: relative;
    padding-bottom: 100%; /* Ratio 1:1 aproximado para fb iframe responsivo */
    height: 0;
    overflow: hidden;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #00427a 100%);
    color: var(--white);
}
.cta-profile {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-green);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.cta-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta-section h2 { font-size: 2.5rem; margin-bottom: 15px; }

/* Footer */
.footer {
    background-color: #081224;
    color: var(--white);
    padding: 40px 0;
}
.footer a {
    text-decoration: none;
    font-weight: 600;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.footer a:hover { opacity: 1; }

/* Animations & Interactivity */
.reveal {
    opacity: 0;
    visibility: hidden;
}
.reveal.active {
    opacity: 1;
    visibility: visible;
}

.fade-in-up { transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-left { transform: translateX(-40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-right { transform: translateX(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }

.active.fade-in-up, .active.fade-in-left, .active.fade-in-right { transform: translate(0); }

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsivo */
@media (max-width: 992px) {
    .split-content, .before-after-grid, .media-grid { flex-direction: column; grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.8rem; }
    .hero-overlay { background: linear-gradient(180deg, rgba(13,31,60,0.7) 0%, rgba(13,31,60,0.95) 100%); }
    .hero-content { padding-top: 120px; text-align: center; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-large { width: 100%; max-width: 300px; text-align: center; }
    .badge { right: 50%; transform: translateX(50%); bottom: -20px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Em produção teríamos o menu hamburger aqui */
    .hero { min-height: 80vh; }
    .hero h1 { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .video-wrapper { padding-bottom: 120%; }
}
