/* =============================================
   Rossi Mecânica — style.css
   ============================================= */

/* ===== VARIÁVEIS ===== */
:root {
    --accent: #d4af37; /* Logo Gold */
    --accent-hover: #b8972e;
    --accent-dim: rgba(212, 175, 55, 0.1);
    
    --bg-base: #09090b; /* Zinc 950 */
    --bg-surface: #18181b; /* Zinc 900 */
    --bg-surface-hover: #27272a; /* Zinc 800 */
    
    --text-main: #ffffff;
    --text-muted: #a1a1aa; /* Zinc 400 */
    
    --border-light: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.12);
    
    --whatsapp: #25D366;
    --whatsapp-hover: #128C7E;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* ===== TIPOGRAFIA UTILITÁRIA ===== */
.section-header {
    margin-bottom: 56px;
    max-width: 680px;
}

.section-header.center {
    margin: 0 auto 56px;
    text-align: center;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header.center .section-label {
    justify-content: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-sub {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== BOTÕES ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 24px rgba(225, 29, 72, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-surface);
    color: #fff;
    border: 1px solid var(--border-medium);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--bg-surface-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

.w-full {
    width: 100%;
}

/* ===== HEADER ===== */
header {
    background: rgba(9, 9, 11, 0.85);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(16px);
    transition: border-color 0.3s ease;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    width: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.header-logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.header-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-cta {
    background: var(--accent);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 16px rgba(225, 29, 72, 0.3);
}

/* Botão hambúrguer */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn .hamburger {
    width: 24px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
}

.mobile-menu-btn .hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-main);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-btn .hamburger span:nth-child(1) { top: 0px; }
.mobile-menu-btn .hamburger span:nth-child(2) { top: 9px; }
.mobile-menu-btn .hamburger span:nth-child(3) { top: 18px; }

.mobile-menu-btn.active .hamburger span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

/* Menu mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-light);
    padding: 100px 24px 24px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

/* Overlay do menu mobile */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.mobile-menu ul a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.mobile-menu ul a:hover {
    color: var(--text-main);
    padding-left: 8px;
}

.mobile-menu .mobile-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 24px;
    background: var(--whatsapp);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: none;
}

/* ===== HERO ===== */
.hero {
    padding: 180px 40px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 840px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 19px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== STATS ===== */
.stats-bar {
    max-width: 1200px;
    margin: -40px auto 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.stat-item {
    text-align: center;
    padding: 0 24px;
}

.stat-item + .stat-item {
    border-left: 1px solid var(--border-light);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--text-main);
    display: block;
    margin-bottom: 4px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== SEÇÃO GENÉRICA ===== */
.section, .about-section, .reviews-section, .locations-section {
    padding: 120px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== SERVIÇOS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== SOBRE ===== */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.about-tag {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.about-visual {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.2);
}

.about-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent);
    filter: blur(100px);
    opacity: 0.15;
    border-radius: 50%;
    pointer-events: none;
}

.about-visual-label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.about-visual-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 32px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.checkmark-list {
    list-style: none;
}

.checkmark-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

.check-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

/* ===== DEPOIMENTOS ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
}

.stars {
    display: flex;
    gap: 4px;
    color: #FBBF24; /* Golden yellow for stars */
    margin-bottom: 24px;
}

.stars svg {
    width: 18px;
    height: 18px;
    fill: #FBBF24;
}

.review-text {
    font-size: 16px;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 32px;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: var(--accent-dim);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
}

.reviewer-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.reviewer-role {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== LOCALIZAÇÕES ===== */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.location-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.location-badge {
    display: inline-block;
    background: var(--border-light);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    align-self: flex-start;
}

.location-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.location-details {
    margin-bottom: 32px;
    flex-grow: 1;
}

.location-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    align-items: flex-start;
}

.location-detail:last-child {
    margin-bottom: 0;
}

.location-detail-icon {
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.location-detail-icon svg {
    width: 20px;
    height: 20px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--whatsapp);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: var(--whatsapp-hover);
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.4);
}

/* ===== FOOTER ===== */
footer {
    background: #000;
    border-top: 1px solid var(--border-light);
    padding: 64px 40px;
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: contain;
}

.footer-logo span {
    color: var(--accent);
}

footer p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 56px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 24px;
    }
    
    .nav-links, .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 140px 24px 80px;
    }
    
    .hero h1 {
        font-size: clamp(36px, 10vw, 48px);
    }
    
    .stats-bar {
        grid-template-columns: 1fr;
        gap: 32px;
        margin: 0 24px 40px;
        padding: 32px 24px;
    }
    
    .stat-item + .stat-item {
        border-left: none;
        border-top: 1px solid var(--border-light);
        padding-top: 32px;
    }

    .section, .about-section, .reviews-section, .locations-section {
        padding: 80px 24px;
    }
}

/* ===== ANIMAÇÕES E EFEITOS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ===== FLOATING GEARS / PARALLAX ===== */
.floating-gear {
    position: absolute;
    color: var(--text-main);
    z-index: 0;
    pointer-events: none;
    transition: transform 0.1s linear;
}
.gear-1 { top: 10%; left: 10%; animation: float-slow 20s infinite linear; }
.gear-2 { bottom: 20%; right: 15%; animation: float-slow 15s infinite linear reverse; }
.gear-3 { top: 40%; right: 5%; animation: float-slow 25s infinite linear; }

@keyframes float-slow {
    0% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(180deg) translateY(-20px); }
    100% { transform: rotate(360deg) translateY(0); }
}

/* ===== GLOW FLASHLIGHT EFFECT ===== */
.service-card, .review-card {
    position: relative;
    overflow: hidden;
}
.service-card::before, .review-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}
.service-card:hover::before, .review-card:hover::before {
    opacity: 1;
}
.service-card > *, .review-card > * {
    position: relative;
    z-index: 1;
}

/* ===== PAINEL INTERATIVO ===== */
.interactive-dashboard {
    background: #000;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-shadow: inset 0 0 40px rgba(255,255,255,0.02), 0 20px 40px rgba(0,0,0,0.5);
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .interactive-dashboard {
        flex-direction: row;
        padding: 48px;
        align-items: center;
    }
}

.dashboard-lights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    flex: 1;
}

.dash-indicator {
    background: #111;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.dash-indicator:hover {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.3);
}

.dash-indicator.active {
    background: #1a1a1a;
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.2);
}

.dash-indicator svg {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.dash-indicator.active svg {
    filter: drop-shadow(0 0 8px var(--accent));
}

.dash-indicator span {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-info {
    flex: 1;
    background: var(--bg-surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

#dash-info-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    transition: opacity 0.2s ease;
}

#dash-info-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    transition: opacity 0.2s ease;
}

.mt-4 {
    margin-top: 24px;
}
