/* =========================================
   # DESIGN TOKENS
   ========================================= */
:root {
    --bg: #000000;
    --surface: #121212;
    --primary: #ff751f;
    --primary-glow: rgba(255, 117, 31, 0.3);
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Bebas Neue', 'ITC Benguiat Condensed', 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* =========================================
   # RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

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

.container-sm {
    max-width: 800px;
}

/* =========================================
   # TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-primary {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1rem;
}

.title-secondary {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* =========================================
   # BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background-color: #e66415;
    box-shadow: 0 6px 20px rgba(255, 117, 31, 0.5);
    transform: translateY(-2px);
}

.btn-glass {
    background-color: var(--glass);
    border-color: var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--glass-border);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

/* =========================================
   # HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    box-sizing: border-box;
}

.header.scrolled {
    padding: 1rem 0;
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
    height: 48px; /* Original logo shape */
    object-fit: contain;
}
.logo img.text-logo {
    display: none; 
}
.logo .text-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    letter-spacing: 2px;
}

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

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text);
    transition: 0.3s;
    transform-origin: center;
}

/* Estado Aberto (X) */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--surface);
    z-index: 99;
    padding: 6rem 2rem 2rem;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.active {
    transform: translateY(0);
}

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

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text);
}

/* =========================================
   # SECTION STYLES
   ========================================= */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Decorative Glows */
.glow {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: var(--primary);
    filter: blur(120px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.glow.bottom-left {
    bottom: -10%;
    left: -10%;
}

.glow.top-right {
    top: -10%;
    right: -10%;
}

.relative { position: relative; }
.z-10 { z-index: 10; }
.mt-12 { margin-top: 3rem; }

/* =========================================
   # HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.2) 100%);
}
.hero-overlay::after {
    content:'';
    position:absolute;
    inset:0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg) 100%);
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

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

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================
   # SERVICES SECTION
   ========================================= */
.services.section {
    background-color: var(--surface);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

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

.service-card {
    background-color: var(--bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--primary-glow), transparent 60%);
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
    pointer-events: none;
}

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

.service-card:hover::before {
    opacity: 0.5;
}

.service-card * {
    position: relative;
    z-index: 1;
}

.service-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    margin: 0;
    border-bottom: 1px solid var(--glass-border);
}

.service-content {
    position: relative;
    z-index: 2;
    padding: 2rem 2.5rem;
    width: 100%;
    background-color: var(--bg);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-id {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--glass-border);
    line-height: 1;
}

.service-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-keyword {
    font-size: 0.8rem;
    color: #555;
    background: var(--glass);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    display: inline-block;
}

/* =========================================
   # TRANSFORMATION SECTION
   ========================================= */
.comparison-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}
.comparison-slider {
    position: relative;
    width: 100%;
    height: 500px;
    cursor: ew-resize;
}
.comparison-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.img-after-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Default starting position */
    height: 100%;
    overflow: hidden;
    border-right: 2px solid var(--primary);
}

.img-after {
    width: 100vw; /* Fallback para mobile */
    max-width: 900px; /* Limite para desktop */
    height: 100%;
    object-fit: cover;
    object-position: left;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 20px var(--primary-glow);
    z-index: 10;
}

/* =========================================
   # CTA SECTION (Ready for Masterpiece)
   ========================================= */
.cta-box {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* =========================================
   # FOOTER
   ========================================= */
.footer {
    background-color: var(--surface);
    padding-top: 5rem;
    border-top: 1px solid var(--glass-border);
}

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

.brand-desc {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer ul a {
    color: var(--text-muted);
}

.footer ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

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

.text-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.text-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials a {
    color: var(--text);
    font-size: 0.9rem;
}

.socials a:hover {
    color: var(--primary);
}

/* =========================================
   # ANIMATIONS
   ========================================= */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }

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

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   # SEO & ACCESSIBILITY
   ========================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* =========================================
   # MEDIA QUERIES
   ========================================= */
@media (max-width: 900px) {
    .header .nav, 
    .header .btn-outline {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .container { padding: 0 20px; }
    .title-primary { font-size: 2.8rem; }
    .title-secondary { font-size: 2rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .cta-buttons { flex-direction: column; }
    
    .comparison-slider {
        height: 280px;
    }

    .logo img {
        height: 35px;
    }
}

/* =========================================
   # FAQ DESIGN IMPROVEMENTS (High Contrast)
   ========================================= */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 117, 31, 0.15);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary); /* Cor da marca para a pergunta */
    background: linear-gradient(90deg, rgba(255,117,31,0.05) 0%, transparent 100%);
    transition: var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background: rgba(255, 117, 31, 0.1);
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.2); /* Fundo mais escuro para a resposta */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-answer p {
    padding-top: 1.5rem;
}

.icon-plus {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.4s ease;
}

.faq-item[open] .icon-plus {
    transform: rotate(45deg);
    color: var(--text);
}

.faq-item[open] .faq-question {
    background: rgba(255, 117, 31, 0.15);
    color: var(--text);
}
