:root {
    /* Colors - Emphasis Official Palette */
    --bg-dark: #000000;
    --bg-card: #0a0a0a;
    --bg-accent: #141414;
    --text-pure: #fcf9e8; /* Cream */
    --text-muted: #a09d8d; /* Muted Cream */
    --accent: #c55a11; /* Burnt Orange */
    --accent-hover: #b04f0f;
    --alert: #c00000; /* Red */
    --border: rgba(252, 249, 232, 0.1); /* Cream border */
    
    /* Layout & Sizing */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --container-padding: clamp(1rem, 5vw, 2.5rem);
    --h1-size: clamp(2.2rem, 8vw, 3.5rem);
    --h2-size: clamp(1.8rem, 6vw, 2.5rem);
    --p-size: clamp(1rem, 2vw, 1.25rem);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

.highlight {
    color: var(--accent);
    font-weight: 800;
}

.emphasis-text { color: var(--text-pure); }
.agency-text { color: var(--accent); }

/* Navbar */
.navbar {
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

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

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

.logo-img {
    height: 140px; /* Altura aumentada para compensar o espaço vazio nas bordas da imagem */
    width: auto;
    display: block;
    object-fit: contain;
    transform: scale(2.5); /* Escala balanceada para visibilidade máxima */
    transform-origin: left center;
    margin: -40px 0; /* Centralização vertical compensatória */
    transition: var(--transition);
}

@media (max-width: 768px) {
    .navbar { height: 80px; }
    .logo-img { height: 45px; }
}

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

@media (max-width: 992px) {
    .nav-links, .btn-desktop { display: none !important; }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-pure);
    transition: var(--transition);
}

@media (max-width: 992px) {
    .menu-toggle { display: flex; }
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: var(--transition);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.mobile-nav a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-pure);
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--accent);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(37, 211, 102, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem 1.8rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 9999;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: translateY(-5px);
}

.whatsapp-float i { font-size: 1.5rem; }
.whatsapp-float span { font-weight: 600; font-size: 0.9rem; }

@media (max-width: 500px) {
    .whatsapp-float span { display: none; }
    .whatsapp-float { padding: 1rem; right: 1.5rem; bottom: 1.5rem; }
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--alert) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(197, 90, 17, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(197, 90, 17, 0.6);
}

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.9rem; }

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

.btn-outline:hover {
    background: var(--accent);
    color: #000;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: radial-gradient(circle at 70% 30%, rgba(197, 90, 17, 0.05) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(197, 90, 17, 0.1);
    border: 1px solid rgba(197, 90, 17, 0.2);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: var(--h1-size);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: var(--p-size);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-image {
    position: relative;
}

.reveal-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 992px) {
    .hero { 
        padding: 140px 0 60px;
        position: relative;
        min-height: 80vh;
        display: flex;
        align-items: center;
        overflow: hidden;
    }
    .hero-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 0; 
        position: relative;
        z-index: 10;
    }
    .hero p { margin: 0 auto 2.5rem; }
    .hero-image { 
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 0.2; /* Subtil overlay effect */
        pointer-events: none;
    }
    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        box-shadow: none;
    }
    .reveal-img { transform: none !important; opacity: 0.2 !important; }
}

/* Social Proof */
.social-proof {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}

.social-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.proof-item { text-align: center; }
.proof-item .number { font-size: 2.5rem; font-weight: 700; color: var(--accent); display: block; }
.proof-item .label { color: var(--text-muted); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

.proof-divider { width: 1px; height: 50px; background: var(--border); }

@media (max-width: 768px) {
    .social-grid { flex-direction: column; gap: 2rem; }
    .proof-divider { display: none; }
}

/* Section Header Common */
.section-header { text-align: center; margin-bottom: clamp(2rem, 8vw, 60px); }
.section-header h2 { font-size: var(--h2-size); margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); }

/* Social Proof & Brands */
.social-proof {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}

/* Logo Carousel Slider */
.logo-slider {
    margin-top: 4rem;
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-slider::before,
.logo-slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 15rem;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, var(--bg-card) 0%, transparent 100%);
}

.logo-slider::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, var(--bg-card) 0%, transparent 100%);
}

.logo-track {
    display: flex;
    width: calc(350px * 10); /* Aumentado para acomodar o texto */
    animation: scroll 40s linear infinite; /* Mais lento para leitura */
}

.logo-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-350px * 5)); }
}

.logo-slide {
    height: 100px;
    width: 350px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 2.5rem;
    gap: 1.2rem;
}

.logo-slide img {
    height: 50px;
    width: auto;
    border-radius: 50%; /* Mantendo o estilo circular para os logos */
    opacity: 0.6;
    transition: var(--transition);
}

.logo-slide span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: var(--transition);
}

.logo-slide:hover img {
    opacity: 1;
    transform: scale(1.1);
}

.logo-slide:hover span {
    color: var(--text-pure);
}

@media (max-width: 768px) {
    .logo-slider::before, .logo-slider::after { width: 4rem; }
    .logo-slide { width: 280px; padding: 0 1.5rem; }
    .logo-track { width: calc(280px * 10); }
    @keyframes scroll {
        100% { transform: translateX(calc(-280px * 5)); }
    }
}

@media (max-width: 768px) {
    .logo-slider::before, .logo-slider::after { width: 5rem; }
    .logo-slide { width: 180px; }
    .logo-track { width: calc(180px * 10); }
    @keyframes scroll {
        100% { transform: translateX(calc(-180px * 5)); }
    }
}

/* Method Detailed Section */
.method-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.method-pillar {
    background: var(--bg-accent);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.method-pillar:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pillar-header i {
    font-size: 1.5rem;
    color: var(--accent);
}

.pillar-header h3 {
    font-size: 1.4rem;
    margin: 0;
}

.pillar-subtitle {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.pillar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pillar-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pillar-list li strong {
    color: var(--text-pure);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

/* Method Section (existing padding) */
.method { padding: clamp(4rem, 10vw, 100px) 0; }

/* Filter Section */
.filter { padding: 60px 0; }
.filter-box {
    background: linear-gradient(90deg, #1a0a00 0%, #000000 100%);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 768px) {
    .filter-box { flex-direction: column; text-align: center; padding: 2.5rem; }
}

.filter-content h2 { font-size: 2rem; margin-bottom: 1rem; }
.filter-content p { color: var(--text-muted); max-width: 600px; }

/* Services */
.services { padding: 100px 0; background-color: var(--bg-card); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--bg-dark);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-item:hover { background: var(--bg-accent); border-color: var(--accent); }
.service-icon { font-size: 2rem; color: var(--accent); margin-bottom: 1.5rem; }
.service-item h4 { margin-bottom: 1rem; }
.service-item p { color: var(--text-muted); font-size: 0.9rem; }

/* FAQ */
.faq { padding: 100px 0; }
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-header {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: var(--text-pure);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-header i { transition: transform 0.3s; }
.accordion-header.active i { transform: rotate(180deg); color: var(--accent); }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

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

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: var(--transition);
}

.modal-overlay.active { display: flex; animation: fadeIn 0.3s ease-out; }

.modal-card {
    background: var(--bg-card);
    width: 100%;
    max-width: 420px; /* Mais compacto */
    padding: 2.5rem 2rem; /* Menos padding */
    border-radius: 15px;
    border: 1px solid var(--border);
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
    transform: scale(0.95);
    transition: var(--transition);
}

.modal-overlay.active .modal-card { transform: scale(1); }

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover { color: var(--text-pure); }

.modal-header { text-align: center; margin-bottom: 2.5rem; }
.modal-header h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.modal-header p { color: var(--text-muted); font-size: 0.9rem; }

.diagnosis-form { display: flex; flex-direction: column; gap: 1.5rem; }

.form-group { display: flex; flex-direction: column; gap: 0.6rem; }

.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }

.form-group input, .form-group select {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border); /* Visual minimalista underline */
    padding: 0.8rem 0;
    border-radius: 0;
    color: var(--text-pure);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    border-bottom-color: var(--accent);
    outline: none;
}

/* Fix for Select Options in Dark Mode */
select option {
    color: #000;
    background-color: #fff;
}

.btn-block { width: 100%; justify-content: center; padding: 1.2rem; margin-top: 1rem; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 500px) {
    .modal-card { padding: 2rem 1.5rem; }
    .modal-header h3 { font-size: 1.5rem; }
}

/* Authority Quote Section */
.authority-quote {
    padding: clamp(6rem, 15vw, 150px) 0;
    background: radial-gradient(circle at 80% 50%, rgba(197, 90, 17, 0.08) 0%, transparent 60%);
    overflow: hidden;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 2rem;
    opacity: 0.3;
}

.main-quote {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.3;
    color: var(--text-pure);
    margin-bottom: 3rem;
    font-weight: 700;
}

.quote-author h3 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.quote-author p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.author-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(197, 90, 17, 0.3);
    border-radius: 50px;
    background: rgba(197, 90, 17, 0.05);
    transition: var(--transition);
}

.author-instagram:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 90, 17, 0.3);
}

.founder-img-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.founder-img-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.founder-img-wrapper img {
    width: 100%;
    display: block;
    filter: brightness(0.9) contrast(1.1);
}

@media (max-width: 992px) {
    .authority-quote { padding: 80px 0; }
    .quote-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .quote-author p { margin: 0 auto; }
    .founder-img-wrapper { max-width: 400px; margin: 0 auto; transform: none; }
}


/* Reveal Animation */
.reveal, .reveal-img {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
    pointer-events: none;
}

section.section-active .reveal,
section.section-active .reveal-img {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Stagger Delay for reveal items in active sections */
section.section-active .social-grid .reveal:nth-child(1) { transition-delay: 0.1s; }
section.section-active .social-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
section.section-active .social-grid .reveal:nth-child(5) { transition-delay: 0.3s; }

section.section-active .method-detailed-grid .reveal:nth-child(1) { transition-delay: 0.1s; }
section.section-active .method-detailed-grid .reveal:nth-child(2) { transition-delay: 0.2s; }
section.section-active .method-detailed-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
section.section-active .method-detailed-grid .reveal:nth-child(4) { transition-delay: 0.4s; }

section.section-active .services-grid .reveal:nth-child(1) { transition-delay: 0.1s; }
section.section-active .services-grid .reveal:nth-child(2) { transition-delay: 0.2s; }
section.section-active .services-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
section.section-active .services-grid .reveal:nth-child(4) { transition-delay: 0.4s; }

/* Footer */
footer { padding: 80px 0 40px; border-top: 1px solid var(--border); }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
.footer-social { display: flex; gap: 2rem; }
.footer-social a:hover { color: var(--accent); }
.whatsapp-link { font-weight: 600; color: var(--accent); }
.copyright { font-size: 0.8rem; color: rgba(255,255,255,0.3); margin-top: 2rem; }
