/* Custom CSS for RM Car Hunter */

:root {
    --bg-main: #0A0A0A;
    --bg-card: #141414;
    --bg-darker: #050505;
    --gold: #C9A84C;
    --gold-hover: #dec576;
    --text-main: #F0F0F0;
    --text-muted: #A0A0A0;
    --whatsapp: #25D366;
    --whatsapp-hover: #1da851;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

html {
    scroll-behavior: initial; /* Managed by Lenis */
}

body {
    background-color: #000;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utility */
.bebas { font-family: var(--font-heading); letter-spacing: 1px; }
.text-gold { color: var(--gold); }
.text-gray { color: var(--text-muted); }
.text-center { text-align: center; }
.italic { font-style: italic; }
.d-block { display: block; }
.text-2xl { font-size: 2.5rem; }
.mt-4 { margin-top: 2rem; }

/* NLP / Emotion Section Styles */
.text-danger { color: #e74c3c; line-height: 1; margin-top: 5px; }
.danger-list { list-style: none; margin-top: 30px; }
.danger-list li { margin-bottom: 20px; font-size: 1.1rem; display: flex; align-items: flex-start; gap: 15px; color: var(--text-main); }
.lead-text { font-size: 1.25rem; font-weight: 500; color: #fff; margin-bottom: 25px; border-left: 3px solid var(--gold); padding-left: 20px; line-height: 1.6; }
.danger-wrapper { height: 100%; min-height: 480px; display: flex; align-items: stretch; border: 1px solid rgba(255,255,255,0.05); }
.danger-overlay { position: absolute; bottom: 20px; right: 20px; max-width: 85%; background: rgba(5,5,5,0.9); padding: 25px; border-left: 4px solid #e74c3c; border-radius: 6px; backdrop-filter: blur(10px); z-index: 5; }
.danger-overlay h4 { font-size: 2.2rem; margin-bottom: 5px; line-height: 1; }
.danger-overlay p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }

/* Loader */
.loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-main);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
.loader-content h1 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 20px;
}
.loading-line {
    width: 0%;
    height: 2px;
    background: var(--gold);
    animation: load 1.5s ease-in-out forwards;
}

@keyframes load {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-padding {
    padding: 100px 0;
}
.bg-darker { background-color: var(--bg-darker); }

/* Header */
.header {
    position: fixed;
    top: 0; width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: background 0.3s, padding 0.3s;
}
.header.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 15px 0;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 2rem;
    text-decoration: none;
    color: var(--text-main);
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--gold);
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}
.mobile-menu-btn span {
    width: 30px; height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: var(--transition);
    border: 1px solid transparent;
}
.btn i { font-size: 1.1em; }
.btn-primary {
    background: var(--whatsapp);
    color: #fff;
}
.btn-primary:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}
.btn-outline {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--bg-main);
}
.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #000;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Ferrari image */
    background: url('https://images.unsplash.com/photo-1583121274602-3e2820c69888?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    animation: kenburns 30s infinite alternate ease-in-out;
    opacity: 0.25; /* Makes it barely noticeable */
    filter: grayscale(40%) contrast(1.2);
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Soft vignette mapping perfectly to black */
    background: radial-gradient(circle at center, transparent 10%, #000 90%);
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.hero-title {
    font-size: 6.5rem;
    line-height: 1;
    margin-bottom: 25px;
    text-shadow: 0 10px 40px rgba(0,0,0,0.8);
    letter-spacing: 2px;
}
.hero-subtitle {
    font-size: 1.45rem;
    color: var(--text-main);
    opacity: 0.85;
    margin-bottom: 40px;
    max-width: 650px;
    font-weight: 300;
    line-height: 1.5;
}
.hero-cta { display: flex; gap: 20px; flex-wrap: wrap; }
.scroll-indicator {
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    opacity: 0.6;
    animation: bounce 2s infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.arrow-down i { font-size: 1.2rem; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Sections Common */
.section-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

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

/* Sobre */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-number { font-size: 3.5rem; }
.stat-item p { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; margin-top: -5px; }

.image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.expert-placeholder {
    background: linear-gradient(135deg, #1a1a1a, #050505);
    height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.3);
}
.expert-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(201,168,76,0.1) 0%, transparent 70%);
}
.expert-placeholder p { font-size: 1.5rem; margin-top: 25px; position: relative; z-index: 1;}
.expert-placeholder i { position: relative; z-index: 1; }

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--bg-card);
    padding: 50px 30px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.02);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.service-card::after {
    content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(201,168,76,0.05) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.4s;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(201, 168, 76, 0.2);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.icon-box {
    font-size: 2.5rem; color: var(--gold); margin-bottom: 25px;
}
.service-card h3 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 15px; letter-spacing: 1px;}
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* Como Funciona */
.timeline {
    position: relative; max-width: 800px; margin: 0 auto; padding: 40px 0;
}
.timeline-line {
    position: absolute; top: 40px; left: 20px; width: 2px; height: calc(100% - 80px);
    background: linear-gradient(to bottom, rgba(201,168,76,0.1), rgba(201,168,76,0.5), rgba(201,168,76,0.1));
}
.timeline-item {
    position: relative; padding-left: 70px; margin-bottom: 60px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
    position: absolute; left: 0; top: 0;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--bg-card); border: 2px solid var(--gold);
    display: flex; justify-content: center; align-items: center;
    font-family: var(--font-heading); font-size: 1.3rem; color: var(--gold);
    z-index: 2; box-shadow: 0 0 15px rgba(201,168,76,0.2);
}
.timeline-content {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.03);
}
.timeline-content h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--gold); }
.timeline-content p { color: var(--text-muted); line-height: 1.7; }

/* Diferenciais */
.diff-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px;
}
.diff-card {
    background: var(--bg-main); padding: 40px 20px; text-align: center; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.03); transition: var(--transition);
}
.diff-card:hover { 
    border-color: rgba(201,168,76,0.4); 
    background: var(--bg-card); 
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.diff-card i { font-size: 2.2rem; margin-bottom: 20px; }
.diff-card h4 { font-size: 1.1rem; font-weight: 500; }

/* Depoimentos */
.testimonials-slider { padding: 40px 10px 60px; }
.testimonial-card {
    background: var(--bg-card); padding: 45px 35px; border-radius: 8px; height: auto;
    border: 1px solid rgba(255,255,255,0.02);
}
.stars { margin-bottom: 25px; font-size: 0.9rem; letter-spacing: 2px; }
.feedback { font-size: 1.1rem; font-style: italic; margin-bottom: 35px; line-height: 1.8; color: #e0e0e0; }
.client-info { display: flex; align-items: center; gap: 15px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }
.client-avatar {
    width: 50px; height: 50px; border-radius: 50%; background: #2a2a2a;
    display: flex; justify-content: center; align-items: center; color: var(--gold); font-size: 1.2rem;
}
.client-details h5 { font-size: 1.05rem; margin-bottom: 4px; }
.client-details span { font-size: 0.85rem; color: var(--text-muted); }
.swiper-pagination-bullet { background: rgba(255,255,255,0.2) !important; width: 10px !important; height: 10px !important; }
.swiper-pagination-bullet-active { background: var(--gold) !important; width: 25px !important; border-radius: 5px !important; }

/* Área de Atuação */
.atuacao {
    display: flex; align-items: center; background: var(--bg-darker); border-top: 1px solid rgba(255,255,255,0.02);
}
.atuacao-content { padding: 100px 40px 100px 0; flex: 1; }
.atuacao-list { list-style: none; margin-top: 40px; }
.atuacao-list li { margin-bottom: 15px; font-size: 1.15rem; display: flex; align-items: center; gap: 12px; }
.atuacao-map {
    flex: 1; height: 100%; min-height: 600px;
    background: linear-gradient(rgba(10,10,10,0.85), rgba(10,10,10,0.85)), url('https://images.unsplash.com/photo-1549421255-08197aa056c7?auto=format&fit=crop&w=1000&q=80') center/cover;
    position: relative; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

/* CTA Final */
.cta-section {
    padding: 140px 0;
    background: linear-gradient(135deg, #0A0A0A, #1a1505);
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.cta-title { font-size: 4.5rem; }
.mb-4 { margin-bottom: 2.5rem; }
.floating-hover { animation: float 3s ease-in-out infinite; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Footer */
.footer { padding: 80px 0 30px; background: #000; position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5), transparent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul a { color: var(--text-muted); text-decoration: none; transition: var(--transition); display: inline-block; }
.footer-links ul a:hover { color: var(--gold); transform: translateX(5px); }
.social-links { display: flex; gap: 15px; }
.social-icon {
    width: 45px; height: 45px; border-radius: 50%; background: #1a1a1a;
    display: flex; justify-content: center; align-items: center;
    color: var(--text-main); text-decoration: none; transition: var(--transition); font-size: 1.1rem;
}
.social-icon:hover { background: var(--gold); color: #000; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(201,168,76,0.3); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 60px; padding-top: 25px; color: var(--text-muted); font-size: 0.95rem; }

/* Botão WhatsApp Flutuante */
.floating-whatsapp {
    position: fixed; bottom: 30px; right: 30px;
    width: 65px; height: 65px; border-radius: 50%;
    background: var(--whatsapp); color: #fff;
    display: flex; justify-content: center; align-items: center;
    font-size: 2.2rem; box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 99; transition: var(--transition);
    text-decoration: none;
}
.floating-whatsapp:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 992px) {
    .layout-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 4.5rem; }
    .atuacao { flex-direction: column; }
    .atuacao-content { padding: 60px 20px; }
    .atuacao-map { width: 100%; clip-path: none; min-height: 400px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-links ul a { transform: none; display: inline-block; padding: 5px 0; }
    .social-links { justify-content: center; }
    .nav-links { 
        position: absolute; top: 100%; left: 0; width: 100%; 
        background: #000; padding: 20px; flex-direction: column; 
        gap: 15px; border-bottom: 1px solid rgba(255,255,255,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s;
    }
    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .mobile-menu-btn { display: flex; }
}
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero-title { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
    .hero-subtitle { font-size: 1.15rem; margin-bottom: 30px; }
    .section-title { font-size: 2.6rem; text-align: center; }
    .section-subtitle { text-align: center; margin-bottom: 40px; }
    .section-padding { padding: 70px 0; }
    
    .stats-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .service-card { padding: 35px 20px; text-align: center; }
    
    .timeline { padding: 20px 0; }
    .timeline-item { padding-left: 55px; margin-bottom: 40px; }
    .timeline-line { left: 15px; top: 20px; height: calc(100% - 40px); }
    .timeline-dot { width: 32px; height: 32px; font-size: 1.1rem; }
    
    .diff-grid { grid-template-columns: 1fr; gap: 15px; }
    .diff-card { padding: 25px 15px; }
    
    .testimonial-card { padding: 35px 20px; }
    
    .atuacao-content { text-align: center; }
    .atuacao-list li { justify-content: center; font-size: 1.05rem; }
    
    .cta-title { font-size: 2.6rem; }
    .cta-section { padding: 90px 20px; }
    .btn-large { width: 100%; justify-content: center; padding: 16px 20px; font-size: 1.05rem; }
    
    .floating-whatsapp { width: 55px; height: 55px; font-size: 1.8rem; bottom: 20px; right: 20px; }
    
    .scroll-indicator { display: none; }
}
