:root {
    --primary-bg: #050a14;
    --secondary-bg: #0a1122;
    --accent: #c5a059;
    --accent-hover: #e0bc75;
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-logo {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--accent);
    letter-spacing: 5px;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    from {
        opacity: 0.3;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}



body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    cursor: auto;
}



body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
    opacity: 0.05;
    pointer-events: none;
    z-index: 10000;
}



h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism Utility */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Typography */
span {
    color: var(--accent);
}

strong {
    color: #fff;
    font-weight: 600;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-subtext {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--accent);
    margin-top: 4px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.8;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
    opacity: 1;
}

.nav-cta {
    background: var(--accent);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 10, 20, 0.9) 30%, rgba(5, 10, 20, 0.4) 100%),
        url('../../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    max-width: 700px;
}

.hero-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    align-items: center;
    /* Alinha verticalmente */
    gap: 1.5rem;
}

.btn {
    height: 55px;
    /* Altura fixa para garantir alinhamento perfeito */
    padding: 0 2.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border: 1px solid transparent;
    line-height: 1;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Garante visibilidade base para navegadores sem JS */
.no-js .hero-btns .btn,
.no-js .service-card {
    opacity: 1;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

.btn-outline,
.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover,
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4);
    }

    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 15px rgba(197, 160, 89, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}

/* Stats */
.stats {
    padding-bottom: 5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-item span {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
}

.stat-item p {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* Reveal Animation Helpers */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
}

/* Services */
.services {
    padding: 120px 0;
    background: var(--primary-bg);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    padding: 3.5rem 2.8rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    will-change: transform, opacity;
}

.service-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.3));
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #fff;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: auto;
}

/* Professionals */
.professionals {
    padding: 120px 0;
}

.prof-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.prof-images {
    display: flex;
    gap: 2rem;
    position: relative;
}

.prof-card {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.prof-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0.8;
}

.prof-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.prof-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.prof-list {
    list-style: none;
    margin: 2rem 0;
}

.prof-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.prof-list i {
    color: var(--accent);
}

/* Method */
.method {
    padding: 100px 0;
    background: var(--secondary-bg);
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.method-item {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

.method-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-family: 'Inter', sans-serif;
}

.method-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.method-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Alert Banner */
.alert-banner {
    padding: 60px 0;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 68, 68, 0.2);
    background: rgba(255, 68, 68, 0.02);
}

.alert-icon {
    font-size: 3rem;
    color: #ff4444;
}

.alert-text h3 {
    color: #ff4444;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* FAQ */
.faq {
    padding: 100px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question i {
    transition: var(--transition);
    color: var(--accent);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer p {
    padding: 0 2rem 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    text-align: center;
}

.cta-box {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--accent);
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    text-align: center;
}

.testimonial-slider {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.testimonial-item.active {
    opacity: 1;
    visibility: visible;
}

.stars {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-item p {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

cite {
    color: var(--text-muted);
    font-weight: 600;
}

/* Footer */
.footer {
    background: #030712;
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.grid-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-about p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.social-links a.instagram i {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links a.facebook i {
    color: #1877F2;
}

.social-links a.linkedin i {
    color: #0A66C2;
}

.social-links a:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.footer-contact p i {
    font-size: 1.3rem;
    width: 20px;
    text-align: center;
}

.footer-contact p i.fa-location-dot {
    color: #ff4444;
    /* Vermelho vibrante para localização */
    filter: drop-shadow(0 0 5px rgba(255, 68, 68, 0.3));
}

.footer-contact p i.fa-phone {
    color: #25d366;
    /* Verde WhatsApp para o telefone */
    filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.3));
}

.footer-contact p i.fa-envelope {
    color: var(--accent);
    /* Mantém o dourado premium para o e-mail */
    filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.3));
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

.tooltip {
    position: absolute;
    right: 80px;
    background: #fff;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 992px) {
    .prof-layout {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .prof-text {
        order: 1;
        /* Texto primeiro */
        text-align: center;
    }

    .prof-images {
        order: 2;
        /* Fotos depois */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        /* Reduzi para ser menos intrusivo */
        height: 100vh;
        background: rgba(5, 10, 22, 0.7);
        /* Mais transparente */
        backdrop-filter: blur(35px);
        -webkit-backdrop-filter: blur(35px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-left: 3rem;
        gap: 2rem;
        transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 998;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .nav-links a::after {
        bottom: -2px;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 999;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.3rem;
        /* Título mais contido para não quebrar feio */
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .prof-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem;
    }

    .prof-text {
        order: 1 !important;
    }

    .prof-images {
        order: 2 !important;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
        text-align: center;
    }

    .service-icon {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .service-card p {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 1rem;
    }

    .service-link {
        font-size: 0.8rem;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .prof-images {
        gap: 1.5rem;
    }

    .prof-card img {
        height: 350px;
        /* Reduzi a altura para não ocupar a tela toda */
    }

    .prof-text {
        text-align: center;
    }

    .prof-text h2 {
        font-size: 2.2rem;
    }

    .prof-list {
        display: inline-block;
        /* Permite que o ul seja centralizado pelo text-align: center do pai */
        text-align: left;
        /* Garante que o conteúdo interno da lista fique alinhado à esquerda */
        margin-top: 2rem;
    }

    .prof-list li {
        align-items: flex-start;
        /* Ícone fica no topo mesmo se o texto quebrar linha */
        font-size: 0.9rem;
    }

    .alert-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-box h2 {
        font-size: 2rem;
    }
}