/* --- VARIÁVEIS CSS --- */
:root {
    /* Cores Premium - Base: #581617 (Vinho) */
    --color-bg: #FAF9F6; /* Fundo principal Off White */
    --color-wine: #581617; /* Vinho principal / detalhes */
    --color-wine-dark: #3b0e0f; /* Vinho escuro */
    
    --color-gold: #D4AF37;
    --color-gold-light: #F3E5AB;
    --color-gold-dark: #AA8B2C;
    
    --color-text: #2C2C2C; /* Cinza Chumbo Escuro */
    --color-text-muted: #555555; /* Cinza Chumbo mais suave */
    
    --color-glass-bg: rgba(255, 255, 255, 0.65);
    --color-glass-border: rgba(88, 22, 23, 0.15); /* Borda vinho sutil */
    --color-glass-highlight: rgba(255, 255, 255, 0.95);

    /* Fontes */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Espaçamentos e Transições */
    --border-radius: 16px;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.3s ease;
}

/* --- RESET & BASES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    /* Gradiente sutil para profundidade */
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(88, 22, 23, 0.03) 0%, transparent 60%);
    z-index: -2;
    pointer-events: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-wine);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section {
    padding: 6rem 0;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* --- EFEITOS GLASSMORPHISM --- */
.glass-panel {
    background: var(--color-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card-glass {
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.card-glass:hover {
    transform: translateY(-5px);
    background: var(--color-glass-highlight);
    border-color: rgba(212, 175, 55, 0.3); /* Dourado suave na borda */
}

/* --- ELEMENTOS FLUTUANTES (Fundo) --- */
.bg-shape {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
    animation: float 20s infinite alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(88, 22, 23, 0.05);
    top: 10%;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(212, 175, 55, 0.1);
    top: 50%;
    right: -50px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* --- BOTÕES --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #111;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    color: #000;
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all var(--transition-fast);
}

.header.scrolled {
    padding: 0.75rem 0;
    background: rgba(88, 22, 23, 0.95); /* Marsala com opacidade */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3); /* Linha divisória fina dourada */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 75px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all var(--transition-fast);
}

.header.scrolled .logo-img {
    height: 55px;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-img-footer {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-wine); /* Cor escura para leitura sem scroll (fundo claro) */
    transition: color var(--transition-fast);
    position: relative;
}

.header.scrolled .nav-link {
    color: #FAF9F6; /* Fica branco/off-white quando o header for Marsala */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-fast);
}

.nav-link:hover, .header.scrolled .nav-link:hover {
    color: var(--color-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-wine); /* Escuro sem scroll */
    font-size: 2rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.header.scrolled .mobile-menu-btn {
    color: #FAF9F6; /* Claro no scroll */
}

.mobile-menu-btn:hover, .header.scrolled .mobile-menu-btn:hover {
    color: var(--color-gold);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 7rem;
    padding-bottom: 5rem; /* Garante respiro na parte de baixo */
    margin: 2rem;
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(250, 249, 246, 0.85), rgba(255, 255, 255, 0.95));
    z-index: 1;
}

/* Camada Glassmorphism grande para o Hero */
.glass-panel-large {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.highlight-gold {
    color: var(--color-gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- GRIDS --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* --- VALORES / DIFERENCIAIS --- */
.card-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

/* --- SOBRE --- */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.sobre-imagem-container {
    position: sticky;
    top: 140px;
    height: max-content;
    z-index: 5;
}

.sobre-imagem {
    position: relative;
    padding: 1.5rem 1.5rem 0 0;
    display: block;
    overflow: visible;
}

.sobre-imagem::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 1.5rem;
    left: 1.5rem;
    border: 2px solid var(--color-gold);
    border-radius: var(--border-radius);
    z-index: 0;
    transition: transform var(--transition-slow);
}

.sobre-imagem:hover::before {
    transform: translate(15px, -15px);
}

.sobre-img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    display: block;
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 1.2rem;
    opacity: 0.5;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

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

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-wine);
    font-family: var(--font-body);
    font-weight: 400;
    margin-bottom: 2rem;
}

.sobre-content p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

/* --- ÁREAS DE ATUAÇÃO --- */
.section-header {
    margin-bottom: 4rem;
}

.atuacao-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3); /* Dourado fino */
    padding-bottom: 1rem;
}

.atuacao-header i {
    font-size: 2rem;
    color: var(--color-gold);
}

.atuacao-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-muted);
}

.atuacao-list i {
    color: var(--color-gold);
    margin-top: 0.25rem;
}

/* --- FAQ / ACORDEÃO --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.accordion {
    padding: 0;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2); /* Dourado fino */
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.accordion-header:hover {
    background: rgba(88, 22, 23, 0.03);
    color: var(--color-wine);
}

.accordion-header i {
    color: var(--color-gold);
    transition: transform var(--transition-fast);
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 2rem;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--color-text-muted);
}

/* --- DEPOIMENTOS --- */
.stars {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--color-wine);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* --- CTA FINAL --- */
.cta-final {
    background: var(--color-wine); /* Marsala dominante */
    color: #FAF9F6;
}

.cta-final .section-title {
    color: var(--color-gold); /* Dourado no destaque */
}

.cta-final p {
    color: #FAF9F6;
}

.cta-final .glass-panel {
    background: transparent; /* Remover fundo cinza do glass aqui */
    border: none;
    box-shadow: none;
    padding: 4rem 2rem;
}

/* --- FOOTER --- */
.footer {
    background: var(--color-wine-dark);
    padding-top: 4rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3); /* Linha divisória elegante */
    color: #F8F9FA;
}

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

.footer-brand p {
    color: #CBD5E1;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-gold);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-gold);
    color: var(--color-wine-dark);
    transform: translateY(-3px);
}

.footer h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #F8F9FA;
}

.footer ul li, .footer p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #CBD5E1;
    font-size: 0.95rem;
}

.footer ul li i, .footer p i, .footer ul li svg, .footer p svg {
    color: var(--color-gold);
    margin-top: 0.2rem;
    font-size: 1.2rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.mobile-break {
    display: none;
}

/* --- WHATSAPP FLUTUANTE COM SONAR --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sonar-emitter {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Cor oficial do WhatsApp */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: transform var(--transition-fast);
}

.sonar-emitter:hover {
    transform: scale(1.1);
}

.sonar-emitter::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    z-index: -1;
    animation: sonar-wave 2s infinite cubic-bezier(0.3, 0, 0, 1);
}

@keyframes sonar-wave {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* --- ANIMAÇÕES DE SCROLL (REVEAL) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero { margin: 1rem; border-radius: 1rem; padding-top: 6rem; padding-bottom: 4rem; }
    
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .sobre-grid { grid-template-columns: 1fr; gap: 2rem; }
    .sobre-imagem-container { position: static; height: auto; }
    
    .d-none-mobile { display: none !important; }
    .mobile-menu-btn { display: block; }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(88, 22, 23, 0.98); /* Fundo Marsala no mobile */
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transform: translateY(-150%);
        opacity: 0;
        transition: all var(--transition-fast);
        z-index: -1;
        pointer-events: none;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link { font-size: 1.2rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .mobile-break { display: block; }
}
