/* 
   SISTEMA DE CORES E DESIGN - SIQUEIRA & ASSUNÇÃO
   Estilo: Luxo Refinado + Novo Animado
*/

:root {
    --primary-color: #09302f;
    /* Tom de verde principal atualizado */
    --primary-dark: #061a19;
    /* Tom mais escuro derivado do novo verde */
    --primary-light: rgba(9, 48, 47, 0.05);
    /* Tom suave baseado no novo verde */
    --secondary-color: #D3AF37;
    /* Dourado */
    --bg-color: #FFFFFF;
    --text-color: #1a1a1a;
    --text-muted: #666666;
    --white: #ffffff;
    --transition-slow: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.05);
}

/* RESET E BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    overflow-x: hidden;
}

p {
    text-align: justify;
}

h1,
h2,
h3,
h4,
.serif {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

section {
    padding: 120px 0;
    position: relative;
}

/* BACKGROUND WATERMARK */
.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: var(--primary-color);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

/* Garante que o cabeçalho no mobile tenha um fundo se o menu estiver aberto, mesmo sem scroll */
header.mobile-open {
    background: var(--white);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 120px;
    /* Aumentado de 60px para 120px para maior visibilidade */
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 80px;
    /* Aumentado de 50px para 80px */
}

nav ul {
    display: flex;
    gap: 40px;
}

nav ul li a {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

/* Cores dos links apenas para Desktop */
@media (min-width: 993px) {
    nav ul li a {
        color: var(--white);
    }
    
    header.scrolled nav ul li a {
        color: var(--white);
    }
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-color); /* Alterado para escuro por padrão para visibilidade no topo claro */
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

header.scrolled .mobile-btn {
    color: var(--white);
}

header.mobile-open .mobile-btn {
    color: var(--primary-color);
}

/* HERO */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1)), url('../assets/MS03.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--primary-color);
    /* Letras agora no tom de verde solicitado */
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 45px;
    font-weight: 300;
    letter-spacing: 2px;
    text-align: center;
}

.elementor-button-text {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #09302f 0%, #061a19 100%);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.elementor-button-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Efeito de Brilho (Shine) Premium */
.elementor-button-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: all 0.6s;
}

.elementor-button-text:hover::after {
    left: 100%;
}

.elementor-button-text:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(9, 48, 47, 0.2), 0 10px 20px rgba(6, 26, 25, 0.2);
    color: var(--white);
}

.elementor-button-text:hover::before {
    opacity: 1;
}

/* SECTION TITLES */
.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary-color);
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 20px auto 0;
}

/* SERVIÇOS */
.services {
    background: #fdfdfd;
    counter-reset: service-counter;
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    min-height: 350px;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Numeração removida para limpeza visual */

.service-card i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    display: block;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: var(--transition);
}

.service-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

.service-card:hover .service-link {
    color: var(--primary-color);
}

/* SOBRE */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
}

.about-image img {
    border-radius: 8px;
    /* Borda/Sombra removida conforme solicitado */
}

/* DIFERENCIAIS */
/* DIFERENCIAIS - Cor de fundo ajustada para #FDFDFD */
.differentials {
    background-color: #FDFDFD;
    color: var(--text-color);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.differentials .section-title h2 {
    color: var(--primary-color);
    /* Detalhe das letras em verde */
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.diff-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.diff-item:hover {
    transform: translateY(-10px);
    background: var(--primary-light);
    /* Hover suave em verde */
    border-color: var(--primary-color);
    box-shadow: var(--shadow-premium);
}

.diff-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    /* Detalhe em verde */
    margin-right: 15px;
    display: inline-block;
}

.diff-icon i {
    display: inline-block;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.diff-item:hover .diff-icon i {
    transform: rotateY(360deg) scale(1.1);
    color: var(--primary-color);
}

/* CTA PREMIUM */
.cta-section {
    position: relative;
    padding: 150px 0;
    background: url('../assets/MS03.webp') no-repeat center center/cover;
    background-attachment: fixed;
    text-align: center;
    overflow: hidden;
}

/* CTA SECTION - Alterado para fundo claro conforme solicitado */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    /* Opacidade reduzida para tornar o fundo mais visível */
    z-index: 1;
}

.cta-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 180%;
    opacity: 0.04;
    z-index: 2;
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--primary-color);
    /* Detalhe das letras em verde */
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-divider {
    width: 80px;
    height: 2px;
    background: var(--secondary-color);
    margin: 30px auto;
}

.cta-content p {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 1px;
    text-align: center;
}

.btn-gold {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #09302f 0%, #061a19 100%);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Efeito de Brilho (Shine) Premium */
.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: all 0.6s;
}

.btn-gold:hover::after {
    left: 100%;
}

.btn-gold:hover {
    color: var(--white);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(9, 48, 47, 0.2), 0 10px 20px rgba(6, 26, 25, 0.2);
}

.btn-gold:hover::before {
    opacity: 1;
}

/* FOOTER - Alterado para fundo branco conforme solicitado */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 100px 0 40px;
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--primary-color);
    /* Detalhe em verde */
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ANIMATIONS */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: var(--transition-slow);
}

.reveal {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #09302f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(9, 48, 47, 0.3);
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 250px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    gap: 15px;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    visibility: visible;
    opacity: 1;
}

.tooltip-profile {
    flex-shrink: 0;
}

.tooltip-profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    object-fit: contain;
    background-color: var(--primary-dark);
    padding: 6px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .mobile-btn {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98); /* Fundo branco conforme solicitado */
        backdrop-filter: blur(15px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }

    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        padding: 20px 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 15px 0;
        color: var(--primary-color) !important; /* Força a cor verde no mobile mesmo com scroll */
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    nav ul li a::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(255, 255, 255, 0.0)), url('../assets/MS03.webp') no-repeat center center/cover;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }
}

/* MODAL DE SERVIÇOS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 750px;
    max-height: 90vh;
    border-radius: 12px;
    position: relative;
    padding: 60px 40px 40px;
    overflow-y: auto;
    transform: translateY(30px);
    transition: var(--transition);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.modal-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.modal-body {
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.modal-body p {
    margin-bottom: 15px;
    text-align: justify;
}

.modal-footer {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

/* RESPONSIVE MODAL */
@media (max-width: 576px) {
    .modal-content {
        padding: 50px 20px 30px;
    }

    .modal-header h2 {
        font-size: 1.8rem;
    }
}