/*
Theme Name: Meu Tema Bloco (Refrigeração & Climatização)
Theme URI: https://example.com/meu-tema-bloco
Author: Desenvolvedor WordPress
Description: Tema de Blocos (FSE) com cabeçalho e rodapé modernos inspirados no site Refrigeração e Climatização.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: meu-tema-bloco
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary-dark: #040a18;
    --card-dark: #0b132b;
    --accent-blue: #0073e6;
    --accent-blue-hover: #005cb8;
    --whatsapp-green: #13c156;
    --whatsapp-green-hover: #0fa247;
    --text-white: #ffffff;
    --text-gray: #a1a8b9;
    --footer-dark: #02060f;
    --max-width: 1200px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-white);
    margin: 0;
    padding-top: 90px;
    line-height: 1.5;
}

.site-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(4, 10, 24, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    box-sizing: border-box;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 15px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-white);
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    background: linear-gradient(135deg, var(--accent-blue), #00d2ff);
    color: var(--text-white);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0, 115, 230, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: var(--text-white);
}

.logo-subtitle {
    font-weight: 700;
    font-size: 13px;
    color: var(--accent-blue);
    letter-spacing: 0.5px;
}

/* Navigation Links */
.navbar {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background-color: var(--accent-blue);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 32px;
}

/* Header Contact Pills */
.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
    width: 145px;
    justify-content: flex-start;
    box-sizing: border-box;
}

.btn-phone {
    background-color: var(--accent-blue);
}

.btn-phone:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 230, 0.4);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 193, 86, 0.4);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Navbar active state */
.navbar.mobile-active {
    display: block !important;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar.mobile-active .nav-links {
    flex-direction: column;
    gap: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--footer-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px 0;
    margin-top: 60px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col-about p {
    color: var(--text-gray);
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--accent-blue);
    margin-top: 8px;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact-item i {
    color: var(--accent-blue);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 40px auto 0 auto;
    padding: 20px 24px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-gray);
    font-size: 13px;
}

/* Responsividade */
@media (max-width: 992px) {
    .navbar {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .header-contacts {
        display: none;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}
