:root {
    --primary: #C76024;
    --primary-hover: #AB4E18;
    --primary-light: #FFF5EE;
    --dark: #1E1E1E;
    --dark-surface: #262626;
    --gray-bg: #F8F9FA;
    --gray-border: #E5E7EB;
    --text-main: #2D3748;
    --text-muted: #718096;
    --whatsapp: #25D366;
    --whatsapp-dark: #1EBE5D;
}

html {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    padding-top: 80px;
    width: 100%;
    font-family: 'REM', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Compensate fixed navbar on anchor scroll */
section[id] {
    scroll-margin-top: 85px;
}

#faixa {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #C76024, #E27B3D, #C76024);
    z-index: 1050;
}

.navbar {
    background-color: var(--dark) !important;
    top: 4px;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    z-index: 1040;
}

.navbar-brand #logo {
    width: 180px;
    height: auto;
    transition: transform 0.2s ease;
}

.navbar-brand:hover #logo {
    transform: scale(1.02);
}

.nav-link {
    color: #d1d5db !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem !important;
    position: relative;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 0.85rem;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 1.7rem);
}

/* Header Buttons */
.btn-whatsapp-header {
    background-color: transparent;
    color: #ffffff !important;
    border: 1.5px solid var(--whatsapp);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.btn-whatsapp-header i {
    color: var(--whatsapp);
    font-size: 1.1rem;
    transition: color 0.25s ease;
}

.btn-whatsapp-header:hover {
    background-color: var(--whatsapp);
    color: #ffffff !important;
    border-color: var(--whatsapp);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-header:hover i {
    color: #ffffff;
}

.btn-orcamento-header {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(199, 96, 36, 0.25);
}

.btn-orcamento-header:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(199, 96, 36, 0.35);
}

/* Floating WhatsApp Button */
.botoes_fixos {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 2000;
}

.botoes_fixos .whatsapp {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 34px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.botoes_fixos .whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: scale(1.08);
}

.botoes_fixos .glowCircle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--whatsapp);
    opacity: 0.6;
    animation: pulseZap 2s infinite;
    z-index: -1;
}

@keyframes pulseZap {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Footer Styling */
#rodape {
    background-color: var(--dark) !important;
}

.footer-heading {
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links a {
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary) !important;
    padding-left: 4px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Cookies Popup */
.popup-cookies {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 12000;
    padding: 15px 0;
}

.container-cookies {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #e2e8f0;
    font-size: 0.9rem;
    text-align: left;
}

.popup-cookies a {
    color: #ff9d5c;
    text-decoration: underline;
}

.cc-compliance a {
    background-color: var(--primary);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.cc-compliance a:hover {
    background-color: var(--primary-hover);
}

@font-face {
    font-family: REM;
    src: url(../fonts/REM-VariableFont_wght.ttf);
    font-display: swap;
}