:root {
    --bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.8);
    --text: #000000;
    --text-soft: #666666;
    --border: #eeeeee;
    --accent: #000000;
    --card: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode {
    --bg: #000000;
    --nav-bg: rgba(0, 0, 0, 0.8);
    --text: #ffffff;
    --text-soft: #a0a0a0;
    --border: #1a1a1a;
    --accent: #ffffff;
    --card: #0a0a0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    transition: var(--transition);
}

/* Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--text);
    z-index: 2000;
    transition: width 0.1s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Header Melhorado */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-area img {
    height: 35px;
    filter: grayscale(1);
    transition: var(--transition);
}

body.dark-mode .logo-area img {
    filter: invert(1);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Botões */
.btn {
    padding: 10px 22px;
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
    border: 1px solid var(--text);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text);
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
}

/* Hero */
.hero {
    padding: 180px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.8rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero p {
    color: var(--text-soft);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Parceiros Estático e Elegante */
.partners-section {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.partners-label {
    text-align: center;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-soft);
    margin-bottom: 30px;
}

.partners-display {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    min-height: 80px;
}

.partners-display img {
    height: auto; 
    width: auto; 
    max-height: 50px; 
    min-height: 30px;
    max-width: 130px;
    min-width: 60px; 
    object-fit: contain;
    filter: none;
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-display .partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px; 
    min-width: 60px;
    padding: 5px 10px;
}

.partners-display .partner-logo img {
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

body.dark-mode .partners-display img {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.partners-display img:hover {
    filter: brightness(0.3);
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .partners-display {
        gap: 30px;
        min-height: 60px;
    }
    
    .partners-display img {
        max-height: 40px;
        min-height: 20px;
        max-width: 100px;
        min-width: 40px;
    }
}

/* Serviços */
.section-title {
    margin-bottom: 60px;
}

.section-title span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-soft);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-top: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    padding: 50px;
    border: 1px solid var(--border);
    background: var(--card);
    transition: var(--transition);
    border-radius: 20px;
}

.service-card:hover {
    border-color: var(--text);
}

.service-card i {
    font-size: 2rem;
    margin-bottom: 30px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.service-card p {
    color: var(--text-soft);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* CTA Final (Curiosidade) */
.cta-box {
    background: var(--text);
    color: var(--bg);
    padding: 80px 40px;
    text-align: center;
    margin: 100px 0;
    border-radius: 20px;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.footer-info img{
    height: 20px;
}

.footer-info p {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.social-links a {
    color: var(--text);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* WhatsApp Float */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #000;
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    z-index: 1000;
    border: 1px solid #333;
    border-radius: 100%;
}

body.dark-mode .wa-float {
    background: #fff;
    color: #000;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .social-links {
        justify-content: center;
    }
}

.mobile-menu-btn{
    display:none;
    width:44px;
    height:44px;
    background:none;
    border:none;
    color:var(--text);
    cursor:pointer;
    font-size:1.3rem;
    z-index:1100;
}

@media (max-width:900px){

    .mobile-menu-btn{
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .nav-links{
        position:fixed;
        top:0;
        right:-100%;
        width:320px;
        max-width:85%;
        height:100vh;
        background:rgba(255,255,255,.96);
        backdrop-filter:blur(30px);
        -webkit-backdrop-filter:blur(30px);
        display:flex;
        flex-direction:column;
        justify-content:center;
        gap:35px;
        padding:50px;
        transition:.35s ease;
        border-left:1px solid var(--border);
        z-index:1050;
    }

    body.dark-mode .nav-links{
        background:rgba(0,0,0,.96);
    }

    .nav-links.active{
        right:0;
    }

    .nav-links a{
        font-size:1.1rem;
        font-weight:500;
        text-transform:none;
        letter-spacing:.5px;
    }

    .hide-mobile{
        display:none;
    }

    body.menu-open{
        overflow:hidden;
    }
}

/* Efeito de revelação na rolagem */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Melhoria no Card para não parecer "solto" */
.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.reviews-section{
    padding:70px 0;
    border-top:1px solid var(--border);
}

.reviews-slider{
    overflow:hidden;
    position:relative;
}

.reviews-track{
    display:flex;
    gap:25px;
    width:max-content;
    animation:reviews 35s linear infinite;
}

.reviews-track:hover{
    animation-play-state:paused;
}

.review-card{
    width:360px;
    padding:30px;
    border:1px solid var(--border);
    border-radius:20px;
    background:var(--card);
    flex-shrink:0;
}

.review-stars{
    margin-bottom:20px;
    color:var(--text);
    letter-spacing:2px;
    font-size:.9rem;
}

.review-text{
    color:var(--text-soft);
    line-height:1.8;
    margin-bottom:25px;
}

.review-author{
    font-weight:600;
    font-size:.95rem;
}

.review-company{
    font-size:.8rem;
    color:var(--text-soft);
}

@keyframes reviews{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}