/* Variáveis e Reset */
:root {
    --primary: #1a4c6e;
    --secondary: #2980b9;
    --accent: #e74c3c;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary);
}

section {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto 0;
}

/* Navbar */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    transition: var(--transition);
}

.navbar-logo {
    height: 60px;
    object-fit: contain;
}

.navbar-brand-text {
    color: var(--primary);
    font-weight: 600;
    margin-left: 10px;
    font-size: 1.2rem;
}

.navbar-nav .nav-link {
    color: var(--primary) !important;
    font-weight: 600;
    padding: 10px 20px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--accent) !important;
}

/* Hero */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://www.pizzoo.com.br/assets/images/pizzo-gerenciamento-de-obra-reforma-e-construo-dry-wal-e-steel-frame-eltrica-e-instalaes-hidrulica-pintura-e-lavao-em-geralbalnerio-cambori-2.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 140px 0 80px;
    border-bottom: 5px solid var(--accent);
    margin-top: 0;
}

.hero h1, .hero h2, .hero h3, .hero h4, .hero h5, .hero h6 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero p {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Botões */
.btn-custom {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
}

.btn-custom i {
    margin-right: 8px;
}

.btn-primary-custom {
    background-color: var(--accent);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary-custom:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-secondary-custom {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary-custom:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Cards */
.card-service {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    text-align: center;
}

.card-service:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-service i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* CTA */
.cta-section {
    background: linear-gradient(rgba(26, 76, 110, 0.9), rgba(26, 76, 110, 0.9)), url('https://www.pizzoo.com.br/assets/images/pizzo-gerenciamento-de-obra-reforma-e-construo-dry-wal-e-steel-frame-eltrica-e-instalaes-hidrulica-pintura-e-lavao-em-geralbalnerio-cambori-2.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2, .cta-section p {
    color: white !important;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer h4 {
    color: white;
    margin-bottom: 25px;
    position: relative;
}

.footer h4:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--accent);
    bottom: -10px;
    left: 0;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    background-color: #153a55;
    padding: 20px 0;
    margin-top: 50px;
}

.footer-credit a {
    color: #e74c3c;
}

.footer-credit i {
    color: #e74c3c;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Flutuantes */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.whatsapp-button, .call-button, .email-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.whatsapp-button {
    background-color: #25D366;
}

.call-button {
    background-color: var(--primary);
}

.email-button {
    background-color: var(--accent);
}

.whatsapp-button:hover, .call-button:hover, .email-button:hover {
    transform: scale(1.1);
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 998;
    text-decoration: none;
}

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

.back-to-top:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
    color: white;
}

/* Navbar Mobile */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: white;
        padding: 15px;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar-nav .dropdown-menu {
        border: none;
        background-color: rgba(0, 0, 0, 0.03);
        padding-left: 15px;
        box-shadow: none;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }
    
    .navbar-toggler {
        border: none;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar-logo {
        height: 45px;
    }
    
    .navbar-brand-text {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 120px 0 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-group-responsive {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-secondary-custom {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .floating-buttons {
        gap: 10px;
        bottom: 70px;
        right: 10px;
        z-index: 1050;
    }
    
    .whatsapp-button, .call-button, .email-button {
        width: 50px;
        height: 50px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    }
    
    .back-to-top {
        bottom: 70px;
        left: 10px;
    }
}
