/* =============================================
   CJ Moto Theme — Main CSS
   ============================================= */

:root {
    --cj-orange:    #e65c00;
    --cj-orange-h:  #c94f00;
    --cj-dark:      #1a1a2e;
    --cj-dark-2:    #16213e;
    --cj-gray:      #f8f9fa;
    --cj-border:    #dee2e6;
    --cj-text:      #333;
    --cj-text-muted:#666;
    --cj-white:     #ffffff;
    --cj-font:      'Inter', 'Segoe UI', Arial, sans-serif;
    --cj-font-h:    'Barlow Condensed', 'Inter', Arial, sans-serif;
    --cj-radius:    12px;
    --cj-shadow:    0 4px 20px rgba(0,0,0,.08);
    --cj-transition:.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--cj-font);
    color: var(--cj-text);
    background: var(--cj-white);
    font-size: 16px;
    line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--cj-orange); text-decoration: none; transition: color var(--cj-transition); }
a:hover { color: var(--cj-orange-h); }

h1,h2,h3,h4,h5,h6 {
    font-family: var(--cj-font-h);
    color: var(--cj-dark);
    line-height: 1.2;
    font-weight: 700;
}

/* ---- Container ---- */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================== HEADER ===================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--cj-dark);
    box-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

/* Logo */
.site-logo { display: flex; align-items: center; text-decoration: none; gap: 8px; }
.site-logo img { height: 50px; width: auto; }

.logo-text {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
}

.logo-cj {
    font-family: var(--cj-font-h);
    font-size: 32px;
    font-weight: 800;
    color: var(--cj-orange);
    line-height: 1;
}

.logo-name {
    font-family: var(--cj-font-h);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.logo-name small {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    letter-spacing: 1px;
}

/* Nav */
.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    display: block;
    padding: 8px 16px;
    color: rgba(255,255,255,.85);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--cj-transition);
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item > a {
    color: #fff;
    background: rgba(255,255,255,.08);
}

.nav-cta { margin-left: 12px; }

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s;
}

/* ===================== BOTÕES ===================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--cj-font);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--cj-transition);
    text-decoration: none;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-orange {
    background: var(--cj-orange);
    color: #fff;
    border-color: var(--cj-orange);
}
.btn-orange:hover {
    background: var(--cj-orange-h);
    border-color: var(--cj-orange-h);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230,92,0,.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff;
}

.btn-dark {
    background: var(--cj-dark);
    color: #fff;
    border-color: var(--cj-dark);
}

.btn-lg  { padding: 14px 32px; font-size: 16px; }
.btn-xl  { padding: 16px 48px; font-size: 18px; }
.btn-sm  { padding: 8px 16px; font-size: 13px; }

/* ===================== HERO ===================== */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--cj-dark-2);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, var(--cj-dark) 0%, var(--cj-dark-2) 40%, rgba(230,92,0,.15) 100%);
}

/* Pattern decorativo */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 50%, rgba(230,92,0,.08) 0%, transparent 60%);
}

.hero .container { position: relative; z-index: 1; padding: 100px 20px; }

.hero-content { max-width: 680px; }

.hero-badge {
    display: inline-block;
    background: rgba(230,92,0,.2);
    color: var(--cj-orange);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(230,92,0,.3);
}

.hero h1 {
    font-family: var(--cj-font-h);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,.7);
}

.hero-info-item strong { color: var(--cj-orange); }

/* ===================== SEÇÕES ===================== */

.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--cj-dark);
}

.section-cta {
    background: linear-gradient(135deg, var(--cj-dark), var(--cj-dark-2));
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--cj-text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.section-header-light h2 { color: #fff; }
.section-header-light p  { color: rgba(255,255,255,.65); }

/* ===================== SERVIÇOS ===================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--cj-white);
    border-radius: var(--cj-radius);
    padding: 28px 24px;
    border: 2px solid var(--cj-border);
    transition: all var(--cj-transition);
}

.service-card:hover {
    border-color: var(--cj-orange);
    box-shadow: 0 8px 24px rgba(230,92,0,.12);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--cj-text-muted);
    line-height: 1.6;
}

/* ===================== FEATURES ===================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    text-align: center;
}

.feature-item { color: rgba(255,255,255,.85); }

.feature-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: rgba(255,255,255,.65);
    line-height: 1.6;
}

/* ===================== CTA ===================== */

.section-cta h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.section-cta p {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.cta-tel {
    margin-top: 16px !important;
    font-size: 15px !important;
}

.cta-tel a {
    color: rgba(255,255,255,.8);
    font-weight: 700;
}

.text-center { text-align: center; }

/* ===================== MAPA ===================== */

.map-wrapper {
    border-radius: var(--cj-radius);
    overflow: hidden;
    box-shadow: var(--cj-shadow);
}

/* ===================== INNER PAGES ===================== */

.page-inner {
    padding: 60px 0;
    min-height: 60vh;
}

.page-title {
    font-size: 2.2rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--cj-orange);
    display: inline-block;
}

.entry-content {
    max-width: 800px;
    line-height: 1.8;
}

.entry-content h2 { font-size: 1.5rem; margin: 32px 0 16px; }
.entry-content p  { margin-bottom: 16px; }
.entry-content ul { margin: 0 0 16px 24px; }

/* ===================== FOOTER ===================== */

.site-footer {
    background: var(--cj-dark);
    color: rgba(255,255,255,.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-logo .logo-cj {
    font-family: var(--cj-font-h);
    font-size: 28px;
    font-weight: 800;
    color: var(--cj-orange);
}

.footer-logo .logo-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-col p {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.footer-list {
    list-style: none;
    font-size: 14px;
}

.footer-list li {
    padding: 5px 0;
    color: rgba(255,255,255,.65);
}

.footer-list li strong { color: rgba(255,255,255,.9); }

.footer-list a {
    color: rgba(255,255,255,.65);
}

.footer-list a:hover { color: var(--cj-orange); }

.footer-nav {
    list-style: none;
}

.footer-nav li { margin-bottom: 8px; }

.footer-nav a {
    color: rgba(255,255,255,.65);
    font-size: 14px;
    transition: color var(--cj-transition);
}

.footer-nav a:hover { color: var(--cj-orange); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,.45);
}

.footer-bottom a { color: var(--cj-orange); }

/* ===================== WHATSAPP FLOAT ===================== */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,.5);
    color: #fff;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {
    /* Nav mobile */
    .nav-toggle { display: flex; }

    .site-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--cj-dark-2);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 8px;
        box-shadow: 0 8px 20px rgba(0,0,0,.2);
    }

    .site-nav.open { display: flex; }

    .nav-menu { flex-direction: column; }
    .nav-menu li a { padding: 12px 16px; }
    .nav-cta { margin-left: 0; text-align: center; }

    /* Hero */
    .hero { min-height: auto; }
    .hero .container { padding: 60px 20px; }
    .hero-ctas { flex-direction: column; }

    /* Section */
    .section { padding: 56px 0; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.8rem; }
    .btn-lg { padding: 12px 24px; font-size: 15px; }
}
