/* ===================================
   KLASS TRANSPORTE - STYLES
   Design moderno e responsivo
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #a12d2d;
    --primary-dark: #8b2424;
    --primary-light: #c94444;
    --secondary-color: #1a1a1a;
    --accent-color: #d4544c;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-light: #faf8f8;
    --bg-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #8b2424 0%, #c94444 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a1a 0%, #8b2424 50%, #a12d2d 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

/* ===================================
   BUTTONS
   =================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-header {
    padding: 10px 20px;
    font-size: 14px;
}

/* ANVISA Badge */
.anvisa-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
}

.anvisa-logo {
    height: 48px;
    width: auto;
}

.anvisa-badge span {
    font-size: 11px;
    font-weight: 600;
    color: #1e3a5f;
    line-height: 1.3;
    max-width: 120px;
}

/* ===================================
   HEADER / NAVBAR
   =================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 16px 0;
}

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

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 90px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    background: url('images/hero-motoqueiro.jpg') center center / cover no-repeat;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(139, 36, 36, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 0 80px;
    width: 100%;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    color: white;
    margin-bottom: 16px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 28px);
    color: white;
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

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

/* ===================================
   SECTIONS BASE
   =================================== */

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
}

/* ===================================
   SOBRE SECTION
   =================================== */

.sobre {
    background: var(--bg-light);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.sobre-text p {
    margin-bottom: 16px;
    color: var(--text-color);
    font-size: 16px;
}

.sobre-diferenciais h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

.diferenciais-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
}

.diferenciais-list li i {
    color: var(--primary-light);
    font-size: 18px;
    margin-top: 2px;
}

/* ===================================
   SERVIÇOS SECTION
   =================================== */

.servicos {
    background: var(--bg-white);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.servico-card {
    background: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.servico-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.servico-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.servico-icon i {
    font-size: 28px;
    color: white;
}

.servico-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.servico-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   RASTREAMENTO CTA
   =================================== */

.rastreamento-cta {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-content .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-content .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ===================================
   CONTATO SECTION
   =================================== */

.contato {
    background: var(--bg-light);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contato-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.contato-subtitle {
    color: var(--text-light);
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--secondary-color);
}

.info-item p {
    font-size: 14px;
    color: var(--text-light);
}

.info-item a {
    color: var(--primary-color);
}

.info-item a:hover {
    text-decoration: underline;
}

.contato-map iframe {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--secondary-color);
    padding: 32px 0;
}

.footer-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-content p {
    margin-bottom: 4px;
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ===================================
   SOBRE FULL WIDTH
   =================================== */

.sobre-full {
    grid-template-columns: 1fr !important;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sobre-full .sobre-text p {
    font-size: 17px;
    line-height: 1.8;
}

/* ===================================
   SERVIÇOS 4 COLUNAS
   =================================== */

.servicos-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .servicos-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .servicos-4 {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   WHATSAPP FLOATING BUTTON
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float i {
    font-size: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 992px) {

    .sobre-content,
    .contato-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* Header Mobile */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-color);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        display: block;
        padding: 16px 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .btn-header {
        display: none;
    }

    /* Hero Mobile */
    .hero {
        padding-top: 100px;
    }

    .hero-badges {
        gap: 8px;
    }

    .badge {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
}