:root {
    --primary-dark: #121212;
    --primary-main: #2A2A2A;
    --accent-yellow: #F5AD18;
    --accent-yellow-hover: #D9950F;
    --accent-purple: #8E338A;
    --accent-purple-hover: #732870;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-body: #F4F5F7;
    --bg-surface: #FFFFFF;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.bg-light {
    background-color: var(--bg-body);
}

.standalone-page {
    padding-bottom: 80px;
    min-height: calc(100vh - 300px);
    padding-top: 140px;
}

/* FIX DE CONTRASTE: Sombreamento nas letras para não sumirem em fundos claros */
.page-header-banner {
    background: var(--primary-dark);
    padding: 140px 0 60px 0;
    text-align: center;
    color: #fff;
    border-bottom: 4px solid var(--accent-yellow);
    margin-bottom: 60px;
    margin-top: -140px;
}

.page-header-banner h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--accent-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    /* Correção de UX */
}

.page-header-banner p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    /* Correção de UX */
}

/* --- CLASSE PARA TEXTOS DE SEO LONGOS --- */
.seo-text-block p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.seo-text-block strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.cta-section {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--primary-dark) 100%);
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    border-radius: var(--radius-lg);
    margin: 60px 24px;
    box-shadow: var(--shadow-lg);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Nova classe para a Logo em Imagem */
.img-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-brand .img-logo {
    max-height: 120px;
    margin-bottom: 15px;
}

.login-card .img-logo,
.admin-sidebar .img-logo {
    max-height: 95px;
}

.header-actions {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 24px;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-yellow);
    transition: var(--transition-smooth);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* ==========================================================================
   REDES SOCIAIS (CABEÇALHO E RODAPÉ)
   ========================================================================== */
.header-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 24px;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--accent-purple);
    color: #fff;
    border-color: var(--accent-purple);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(142, 51, 138, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- FIX DE LCP (Largest Contentful Paint) ---
Adicionado background-color escuro para a tela não ficar branca
enquanto a imagem vinda do Supabase carrega */
.hero-premium {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease;
    padding-top: 100px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95) 0%, rgba(42, 42, 42, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    padding: 0 24px;
}

/* ==========================================================================
   ANIMAÇÃO 1: LUZ INDICADORA DE RÁDIO (LED) NO BADGE
   ========================================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(245, 173, 24, 0.1);
    color: var(--accent-yellow);
    border: 1px solid rgba(245, 173, 24, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

/* O "Led" em si */
.badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 0 8px #25D366;
    animation: rx-led-pulse 1.5s infinite alternate;
    flex-shrink: 0;
}

@keyframes rx-led-pulse {
    0% {
        opacity: 0.3;
        box-shadow: 0 0 2px #25D366;
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 10px #25D366, 0 0 20px #25D366;
    }
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent-yellow);
    color: var(--primary-dark);
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(245, 173, 24, 0.3);
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-premium:hover {
    background: var(--accent-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 173, 24, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 2px solid var(--accent-yellow);
    padding: 14px 30px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-outline:hover {
    background: var(--accent-yellow);
    color: var(--primary-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.missao-visao {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.mv-box {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: var(--radius-md);
    border-top: 4px solid var(--accent-purple);
    box-shadow: var(--shadow-sm);
}

.mv-box h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 800;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.premium-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    /* Ajuste para o Checkbox do Comparador */
}

.premium-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: rgba(245, 173, 24, 0.3);
}

.card-img-wrapper {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    background: #fff;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

.premium-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.25rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-purple);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
    justify-content: center;
}

.btn-whatsapp:hover {
    background-color: #1ea952;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px 0;
}

.feature-box {
    text-align: center;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.feature-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--accent-purple);
}

/* ==========================================================================
   ANIMAÇÃO 2: ONDAS DE PROPAGAÇÃO DE RÁDIO (RADAR/SONAR)
   ========================================================================== */
.feature-box i {
    font-size: 2.5rem;
    color: var(--accent-purple);
    margin-bottom: 20px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.feature-box:hover i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(142, 51, 138, 0.3);
    transform: translate(-50%, -50%);
    animation: radio-wave 1s ease-out forwards;
    z-index: -1;
}

@keyframes radio-wave {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }

    100% {
        width: 300%;
        height: 300%;
        opacity: 0;
    }
}

.feature-box h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.rental-content {
    background: var(--primary-dark);
    border-radius: var(--radius-lg);
    padding: 60px;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.rental-content .section-header h2 {
    color: var(--accent-yellow);
}

.rental-content .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.benefit-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
}

.benefit-list i {
    color: var(--accent-yellow);
    font-size: 1.2rem;
    margin-top: 4px;
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.segment-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-fast);
    overflow: hidden;
}

.segment-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.segment-card i {
    font-size: 2rem;
    color: var(--accent-purple);
    margin-bottom: 16px;
    transition: var(--transition-fast);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.segment-card:hover i {
    color: var(--accent-yellow);
}

.segment-card:hover i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(245, 173, 24, 0.4);
    transform: translate(-50%, -50%);
    animation: radio-wave 1s ease-out forwards;
    z-index: -1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-dark);
    background: var(--accent-yellow);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.map-container {
    margin-top: 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-form-container {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.lead-form h3 {
    margin-bottom: 24px;
    color: var(--primary-dark);
    font-size: 1.5rem;
    border-bottom: 2px solid var(--bg-body);
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background-color: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-purple);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(142, 51, 138, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-whatsapp-action {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-dark);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp-action:hover {
    background-color: var(--primary-main);
    box-shadow: 0 4px 15px rgba(18, 18, 18, 0.3);
}

.loader-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    color: var(--text-muted);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(245, 173, 24, 0.2);
    border-left-color: var(--accent-yellow);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.main-footer {
    background-color: var(--primary-dark);
    color: #fff;
    padding-top: 80px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* --- FIX DE ACESSIBILIDADE WCAG: Aumento de Contraste --- */
.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
    max-width: 400px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-yellow);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-yellow);
    transform: translateX(5px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    animation: fadeInModal 0.3s forwards;
}

.modal-premium {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 450px;
    max-width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95) translateY(20px);
    animation: slideUpModal 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-body);
}

.modal-header.success i {
    color: #10b981;
    font-size: 1.5rem;
}

.modal-header.error i {
    color: #ef4444;
    font-size: 1.5rem;
}

.modal-body {
    padding: 32px 24px;
    color: var(--text-main);
    font-size: 1.05rem;
    text-align: center;
}

.modal-footer {
    padding: 16px 24px;
    background: var(--bg-body);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.btn-modal {
    padding: 10px 24px;
    background: var(--primary-main);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-modal:hover {
    background: var(--primary-dark);
}

@keyframes fadeInModal {
    to {
        opacity: 1;
    }
}

@keyframes slideUpModal {
    to {
        transform: scale(1) translateY(0);
    }
}

/* ==========================================================================
   ADMIN & CRM STYLES
   ========================================================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: #f1f5f9;
}

.admin-sidebar {
    width: 280px;
    background-color: var(--primary-dark);
    color: #fff;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
}

.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.7);
}

.admin-menu a:hover,
.admin-menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-yellow);
}

.admin-main {
    flex-grow: 1;
    padding: 40px;
    overflow-y: auto;
}

.panel-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin-bottom: 30px;
}

.panel-title {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-main);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    background: var(--accent-purple);
}

#login-overlay {
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.login-card h2 {
    margin-bottom: 25px;
    color: var(--primary-dark);
    font-weight: 800;
}

.login-card h2 span {
    color: var(--accent-purple);
}

.crm-table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.crm-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.crm-table th,
.crm-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.crm-table th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--primary-dark);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-novo {
    background: #e0f2fe;
    color: #0369a1;
}

.status-atendimento {
    background: #fef3c7;
    color: #92400e;
}

.status-finalizado {
    background: #dcfce7;
    color: #166534;
}

.btn-action {
    padding: 6px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.2s;
    font-size: 1.1rem;
}

.btn-action:hover {
    color: var(--accent-purple);
}

.btn-delete:hover {
    color: #ef4444;
}

/* ==========================================================================
   ESTILOS DO CONTEÚDO RICO (QUILL JS - BLOG)
   ========================================================================== */
.card-text.rich-content {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-text.rich-content p {
    margin-bottom: 12px;
}

.card-text.rich-content h1,
.card-text.rich-content h2,
.card-text.rich-content h3 {
    color: var(--primary-dark);
    margin: 20px 0 10px 0;
    font-weight: 700;
}

.card-text.rich-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.card-text.rich-content ol {
    list-style: decimal;
    padding-left: 20px;
    margin-bottom: 15px;
}

.card-text.rich-content a {
    color: var(--accent-purple);
    text-decoration: underline;
    font-weight: 600;
}

.card-text.rich-content blockquote {
    border-left: 4px solid var(--accent-yellow);
    padding-left: 15px;
    color: var(--text-muted);
    font-style: italic;
    margin: 15px 0;
    background: var(--bg-body);
    padding: 15px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.card-text.rich-content img,
.card-text.rich-content video {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 15px 0;
}

/* Detalhes da Página de Blog */
.post-header {
    margin-bottom: 40px;
    text-align: center;
}

.post-header h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin-top: 20px;
    line-height: 1.2;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 600;
    transition: 0.3s;
}

.btn-back:hover {
    color: var(--accent-purple);
    transform: translateX(-5px);
}

.post-main-image img {
    max-height: 500px;
    object-fit: cover;
    width: 100%;
}

.recommendations {
    padding: 40px 0;
}

/* ==========================================================================
   FAQ - ACORDEÃO (SANFONA)
   ========================================================================== */
.faq-section {
    background-color: var(--bg-surface);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item.active {
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: #fff;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-purple);
}

.faq-question i {
    color: var(--accent-yellow);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-purple);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafafa;
}

.faq-answer p {
    padding: 0 25px 20px 25px;
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
    border-top: 1px solid transparent;
}

/* ==========================================================================
   TIMELINE DE ORDENS DE SERVIÇO (RASTREIO)
   ========================================================================== */
.timeline-title {
    color: var(--primary-dark);
    margin-bottom: 10px;
    text-align: center;
}

.timeline-title span {
    color: var(--accent-purple);
}

.timeline-desc {
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.timeline-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
}

.timeline-line {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--border-color);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 25%;
}

.timeline-icon {
    width: 44px;
    height: 44px;
    background: var(--border-color);
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    border: 4px solid #fff;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.timeline-step.completed .timeline-icon,
.timeline-step.active .timeline-icon {
    background: var(--accent-purple);
}

.timeline-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.2;
}

.timeline-step.active .timeline-label {
    color: var(--primary-dark);
    font-weight: 800;
}

/* ==========================================================================
   CARROSSEL DE MARCAS PARCEIRAS (FIX CLS + ESTÉTICA RESTAURADA)
   ========================================================================== */
.brands-section {
    background-color: #fff;
    /* Fundo original restaurado */
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    width: 100%;
}

.brands-title {
    text-align: center;
    font-size: 0.9rem;
    /* Fonte original restaurada */
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Letras espaçadas restauradas */
    margin-bottom: 30px;
    font-weight: 700;
}

.brands-track-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.brands-track-wrapper::before,
.brands-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 300px;
    /* Efeito Fade mais longo no Desktop */
    height: 100%;
    z-index: 2;
}

.brands-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.brands-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.brands-track {
    display: flex;
    width: calc(200px * 12);
    animation: scrollBrands 30s linear infinite;
    align-items: center;
}

.brands-track:hover {
    animation-play-state: paused;
    /* Hover pausa a animação restaurado */
}

.brand-logo {
    width: 200px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    /* Espaçamento original restaurado */
    flex-shrink: 0;
    filter: grayscale(100%) opacity(0.5);
    /* Efeito visual original restaurado */
    transition: var(--transition-smooth);
    /* Transição suave restaurada */
}

.brand-logo img {
    max-width: 100%;
    max-height: 50px;
    /* Tamanho da imagem para não colar nas bordas restaurado */
    object-fit: contain;
    content-visibility: auto;
}

.brand-logo:hover {
    filter: grayscale(0%) opacity(1);
    /* Ganhar cor no hover restaurado */
    transform: scale(1.05);
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 6));
    }
}

/* ==========================================================================
   DEPOIMENTOS (PROVA SOCIAL)
   ========================================================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-body);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--accent-yellow);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(245, 173, 24, 0.2);
    position: absolute;
    top: 25px;
    right: 30px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-dark);
    color: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--primary-dark);
    font-size: 1rem;
    margin-bottom: 2px;
    font-weight: 800;
}

.author-info span {
    color: var(--accent-purple);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================================================
   QUIZ INTERATIVO
   ========================================================================== */
.quiz-option-btn {
    transition: var(--transition-fast);
}

.quiz-option-btn:hover {
    border-color: var(--accent-purple) !important;
    background: rgba(142, 51, 138, 0.05) !important;
    color: var(--accent-purple) !important;
}

.modal-premium.quiz-card {
    max-width: 95%;
}

/* ==========================================================================
   ESTILOS KANBAN BOARD (CRM) - INJETADO
   ========================================================================== */
.kanban-board {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
    min-height: 400px;
}

.kanban-column {
    flex: 1;
    min-width: 300px;
    background: #f8fafc;
    border-radius: var(--radius-lg);
    padding: 15px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: 0.2s;
}

.kanban-column h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.kanban-cards {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kanban-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    cursor: grab;
    transition: transform 0.2s, box-shadow 0.2s;
}

.kanban-card:active {
    cursor: grabbing;
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.kanban-card.dragging {
    opacity: 0.5;
}

.kanban-column.drag-over {
    background: #e2e8f0;
    border-color: var(--accent-purple);
    border-style: dashed;
}

/* ==========================================================================
   ESTILOS COMPARADOR B2B E LIVE SEARCH
   ========================================================================== */

/* Barra de Pesquisa ao Vivo */
.live-search-container {
    max-width: 600px;
    margin: 0 auto 30px auto;
    position: relative;
}

.live-search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
    background: #fff;
}

.live-search-input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 4px rgba(142, 51, 138, 0.1);
}

.live-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Customização do Checkbox de Comparação no Cartão do Produto */
.compare-checkbox-wrapper {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.compare-checkbox-wrapper:hover {
    border-color: var(--accent-purple);
}

.compare-checkbox-wrapper input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: var(--accent-purple);
}

/* Botão Flutuante do Comparador */
.floating-compare-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Colocado à esquerda para não conflitar com o WhatsApp */
    background: var(--accent-purple);
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    z-index: 9998;
    /* Abaixo dos modais (9999) mas acima do resto */
    transform: translateY(100px);
    /* Escondido por padrão */
    opacity: 0;
    transition: var(--transition-smooth);
    border: none;
}

.floating-compare-btn.visible {
    transform: translateY(0);
    opacity: 1;
}

.floating-compare-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.floating-compare-btn .compare-count {
    background: var(--accent-yellow);
    color: var(--primary-dark);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* Tabela do Modal de Comparação */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.compare-table th,
.compare-table td {
    border: 1px solid var(--border-color);
    padding: 15px;
    text-align: center;
    vertical-align: middle;
}

.compare-table th {
    background: var(--bg-body);
    font-weight: 700;
    color: var(--primary-dark);
    width: 20%;
    /* A primeira coluna (labels) fica menor */
}

.compare-table td {
    width: 40%;
    /* As colunas de produtos dividem o espaço restante */
}

.compare-table img {
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
}

/* Ajuste do Modal Premium para o Comparador */
.modal-premium.compare-modal {
    width: 900px;
    /* Maior para acomodar a tabela lado a lado */
    max-width: 95%;
}

/* ==========================================================================
   Responsividade - Mobile First Experience
   ========================================================================== */
@media (max-width: 992px) {
    .header-social {
        display: none;
        /* Esconde os ícones do cabeçalho no mobile para poupar espaço; ficam no rodapé */
    }

    .about-grid,
    .contact-wrapper,
    .benefit-list,
    .missao-visao {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rental-content {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .main-nav a {
        font-size: 1.3rem;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-premium,
    .btn-outline {
        width: 100%;
        margin: 0 !important;
    }

    .page-header-banner {
        padding: 100px 20px 40px 20px;
        margin-bottom: 40px;
    }

    .page-header-banner h1 {
        font-size: 2rem;
    }

    .cta-section {
        margin: 40px 0;
        padding: 40px 20px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .contact-form-container {
        padding: 25px 15px;
    }

    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        padding: 20px;
    }

    .admin-main {
        padding: 20px 10px;
    }

    .panel-card {
        padding: 20px 15px;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    /* Ajuste específico para a Logo no Mobile */
    .img-logo {
        max-height: 60px;
        /* Mantém um bom tamanho no mobile sem quebrar o layout */
    }

    .header-container {
        height: 80px;
        /* Volta para 80px no mobile para não ocupar demasiada tela */
    }

    /* Responsividade da Timeline de OS (Fix do Esmagamento) */
    .timeline-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding-left: 10px;
    }

    .timeline-line {
        width: 4px;
        height: 100%;
        left: 30px;
        top: 0;
    }

    .timeline-step {
        width: 100%;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
    }

    .timeline-icon {
        margin: 0;
        flex-shrink: 0;
    }

    .timeline-label {
        font-size: 1.05rem;
    }

    /* Responsividade do Carrossel */
    .brands-track-wrapper::before,
    .brands-track-wrapper::after {
        width: 120px;
        /* Efeito Fade mais longo no Mobile */
    }

    .brand-logo {
        width: 150px;
    }

    .brands-track {
        width: calc(150px * 12);
        animation: scroll-brands-mobile 25s linear infinite;
    }

    @keyframes scroll-brands-mobile {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-150px * 6));
        }
    }

    /* Ajuste do Comparador no Mobile */
    .compare-table th,
    .compare-table td {
        padding: 10px;
        font-size: 0.85rem;
    }

    .compare-table img {
        max-width: 80px;
    }

    .floating-compare-btn {
        bottom: 20px;
        left: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}
/* ==========================================================================
   BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 9998;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.floating-whatsapp:hover {
    background-color: #1ea952;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Ajuste para não ficar gigante no celular */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}