/* ==============================================
   CSS Padronizado - Refrigeração Maringá
   Sistema de Design Consistente
   ============================================== */

/* ==================== VARIÁVEIS ==================== */
:root {
    /* Cores Primárias */
    --primary-color: #0088ff;
    --primary-dark: #0066cc;
    --primary-light: rgba(0, 136, 255, 0.1);

    /* Cores de Destaque */
    --accent-color: #CCFF00;
    --accent-dark: #bbee00;

    /* Cores de Fundo */
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --white: #ffffff;

    /* Cores de Texto */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: rgba(255, 255, 255, 0.8);

    /* Cores de Sucesso/Alerta */
    --success-color: #25d366;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;

    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;

    /* Sombras */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 15px 35px rgba(0, 136, 255, 0.15);

    /* Bordas */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 40px;
    --border-radius-full: 50px;
}

/* ==================== BASE ==================== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==================== TIPOGRAFIA ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.fw-black {
    font-weight: 900 !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* ==================== NAVBAR ==================== */
/* ==================== NAVBAR ==================== */
.navbar {
    transition: var(--transition);
    padding: 1.5rem 0;
    background: rgba(15, 23, 42, 0.75);
    /* Dark Blue Glassmorphism Base */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-brand,
.navbar.scrolled .fa-bars {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary-color) !important;
}

/* Logo */
.navbar-brand img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
    height: 45px;
}

.nav-link {
    font-weight: 600;
    color: #fff !important;
    margin: 0 10px;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Navbar para páginas internas (Estado inicial) */
.inner-nav.navbar:not(.scrolled) {
    background: white;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.inner-nav.navbar:not(.scrolled) .nav-link {
    color: var(--text-main) !important;
}

.inner-nav.navbar:not(.scrolled) .brand-text,
.inner-nav.navbar:not(.scrolled) .fa-bars {
    color: var(--text-main) !important;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.4)),
        url('img/hero.png');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* Page Header (páginas internas) */
.page-header {
    background: var(--dark-bg);
    padding: 120px 0 60px;
    color: white;
}

/* ==================== BOTÕES ==================== */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-premium {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    border: none;
    transition: var(--transition);
}

.btn-premium:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    color: white;
}

.btn-accent {
    background: var(--accent-color);
    color: var(--dark-bg);
    padding: 12px 30px;
    border-radius: var(--border-radius-full);
    font-weight: 800;
    transition: var(--transition);
    border: none;
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
    color: var(--dark-bg);
}

.btn-whatsapp {
    background: var(--success-color);
    color: white;
    font-weight: 700;
    border: none;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #20c45c;
    color: white;
}

/* ==================== CARDS ==================== */
/* Card de Serviço Padrão */
.card-service {
    background: white;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    cursor: pointer;
}

.card-service:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
}

/* Service Card Modern */
.service-card-modern {
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Card Limpo (Clean Card) */
.clean-card {
    background: transparent;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    border: 1px solid transparent;
    transition: var(--transition);
    height: 100%;
    cursor: pointer;
}

.clean-card:hover {
    background: white;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.clean-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.card-title-clean {
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card-text-clean {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Card Dark de Destaque */
.dark-highlight-card {
    background-color: #1e2532;
    color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(30, 37, 50, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dark-highlight-card:hover {
    transform: translateY(-5px);
}

.dark-highlight-card .icon-box-highlight {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.dark-highlight-card h4 {
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.dark-highlight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.dark-highlight-card .btn-link-white {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
}

.dark-highlight-card .btn-link-white:hover i {
    transform: translateX(5px);
}

/* Card de Localização */
.location-card {
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md) !important;
    border-bottom-color: var(--primary-color);
}

/* ==================== ICON BOX ==================== */
.icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.icon-box-sm {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== LINKS ==================== */
.link-gold {
    color: var(--warning-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
}

.link-gold:hover {
    color: #d97706;
    gap: 8px;
}

.link-gold i {
    transition: var(--transition-fast);
}

/* ==================== LISTAS ==================== */
.district-list li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.district-list li:last-child {
    border-bottom: none;
}

/* ==================== FOOTER ==================== */
.fixed-mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    padding: 12px 20px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.fixed-mobile-footer .btn {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    white-space: nowrap !important;
    width: 100% !important;
}

@media (min-width: 992px) {
    .fixed-mobile-footer {
        display: none !important;
    }
}

/* Footer Logo */
.footer-logo {
    height: 40px;
    width: auto;
}

/* ==================== UTILITÁRIOS ==================== */
.max-w-600 {
    max-width: 600px;
}

.max-w-800 {
    max-width: 800px;
}

.ls-wide {
    letter-spacing: 2px;
}

.py-100 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary) !important;
}

.rounded-4 {
    border-radius: var(--border-radius-lg) !important;
}

.rounded-5 {
    border-radius: var(--border-radius-xl) !important;
}

/* ==================== ANIMAÇÕES ==================== */
[data-aos] {
    transition-duration: 800ms !important;
}

/* ==================== STAT CARD ==================== */
.stat-card {
    border-radius: var(--border-radius-xl);
    background: var(--primary-color);
    color: white;
    padding: 60px;
    text-align: center;
    box-shadow: var(--shadow-primary);
}

/* ==================== SERVICE IMAGE ==================== */
.service-img {
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stat-card {
        padding: 40px 20px;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    .clean-card {
        padding: 1.5rem;
    }
}

/* ==================== NAVBAR MOBILE ==================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1.5rem;
        border-radius: var(--border-radius-lg);
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.95) !important;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* Adjust branding/icons in mobile menu if needed */
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.2);
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }
}

/* ==================== BRANDS BAR ==================== */
.brands-section {
    background: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brands-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.brand-logo {
    height: 28px;
    width: auto;
    max-width: 140px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    object-fit: contain;
}

.brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 991.98px) {
    .brands-container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .brands-container {
        gap: 1.5rem;
    }

    .brand-logo {
        height: 22px;
    }
}

/* ==================== CARD URGÊNCIA ==================== */
.card-urgency {
    border: 1px solid var(--danger-color) !important;
    background-color: #fff5f5;
    transition: var(--transition);
}

.card-urgency:hover {
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.15);
    background-color: #fff0f0;
}

.text-danger-brand {
    color: var(--danger-color) !important;
}

.link-danger-brand {
    color: var(--danger-color);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
}

.link-danger-brand:hover {
    color: #dc2626;
    /* Darker red */
    gap: 8px;
}