:root {
    /* Paleta Suave: Slate Navy & Champagne Gold */
    --primary: #E2B774;         /* Ouro Champagne Suave e Acolhedor */
    --primary-hover: #D4A359;   /* Tom de hover refinado */
    --primary-text: #0F172A;    /* Texto escuro de alto contraste sobre o dourado */
    
    --bg-dark: #0B1329;         /* Azul Noite Suave e Fosco para o fundo */
    --bg-surface: #152244;      /* Superfície suave para cartões */
    --bg-surface-hover: #1C2E5C;/* Hover subtil */
    
    --accent-orange: #EA580C;   /* SOS e avisos pontuais */
    --accent-green: #22C55E;    /* Indicador ativo de WhatsApp */
    --accent-sky: #38BDF8;      /* Destaque suave de tecnologia */

    --text-main: #F8FAFC;       /* Branco ligeiramente quebrado, descansado para a vista */
    --text-muted: #94A3B8;      /* Cinza ardósia claro para textos secundários */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(226, 183, 116, 0.25);
    
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 19, 41, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.logo-img {
    height: 52px;
    width: auto;
    max-height: 56px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
    transition: transform 0.25s ease;
}

.logo:hover .logo-img {
    transform: scale(1.03);
}

.btn-logo-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.btn-logo-icon-lg {
    width: 26px;
    height: 26px;
}

.nav-menu {
    display: flex;
    gap: 28px;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-text);
    border: none;
    box-shadow: 0 4px 14px rgba(226, 183, 116, 0.25);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 183, 116, 0.35);
}

.btn-outline {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: radial-gradient(circle at 80% 20%, rgba(226, 183, 116, 0.07) 0%, transparent 55%),
                radial-gradient(circle at 20% 80%, rgba(21, 34, 68, 0.5) 0%, transparent 65%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.pill-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(226, 183, 116, 0.1);
    border: 1px solid rgba(226, 183, 116, 0.3);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
}

.stat-num {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-glass);
}

/* Hero Media Card */
.hero-media-card {
    position: relative;
    padding: 12px;
    background: rgba(21, 34, 68, 0.55);
    border: 1px solid var(--border-accent);
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 30px rgba(226, 183, 116, 0.1);
}

.hero-render-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.hero-media-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(11, 19, 41, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.pulse-dot {
    width: 9px;
    height: 9px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 14px var(--accent-green); }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* Services Grid & Cards */
.section {
    padding: 90px 0;
}

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

.section-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 8px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(21, 34, 68, 0.4);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.service-card:hover {
    transform: translateY(-6px);
    background: rgba(21, 34, 68, 0.7);
    border-color: var(--border-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.card-media-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #080D1D;
}

.card-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-media-img {
    transform: scale(1.05);
}

.card-media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #FFFFFF;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.badge-sos {
    background: rgba(234, 88, 12, 0.85);
}

.badge-transport {
    background: rgba(14, 116, 144, 0.85);
}

.badge-civic {
    background: rgba(2, 132, 199, 0.85);
}

.badge-ai {
    background: rgba(99, 102, 241, 0.85);
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    font-size: 1.22rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #FFFFFF;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.card-link:hover {
    color: #FFFFFF;
    gap: 8px;
}

/* CTA */
.cta-box {
    background: linear-gradient(135deg, #152244 0%, #0B1329 100%);
    border: 1px solid var(--border-accent);
    border-radius: 28px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.cta-box h2 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

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

/* Footer */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 48px 0 28px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(11, 19, 41, 0.9);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.footer-slogan {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 20px;
    font-size: 0.82rem;
    color: #64748B;
    text-align: center;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    .nav-menu {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo-img {
        align-self: center;
    }
}

@media (max-width: 640px) {
    .logo-img {
        height: 40px;
    }
}