:root {
    --bg-primary: #0d1127;
    --bg-secondary: #161b33;
    --text-light: #ffffff;
    --text-muted: #a0a5c1;
    --accent-orange: #f2851c;
    --accent-hover: #d46f13;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); background-color: var(--bg-primary); color: var(--text-light); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.header { }
header { background-color: var(--bg-secondary); border-bottom: 2px solid var(--accent-orange); position: sticky; top: 0; z-index: 1000; transition: background-color 0.4s ease, border-bottom-color 0.4s ease, box-shadow 0.4s ease; }
.scrolled {
    /* placeholder in case JS toggles a global class - unused */
}
header.scrolled {
    background-color: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}
.nav-container { max-width: var(--max-width); margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo { display: inline-block; }
.logo img { height: 80px; width: auto; transition: height 0.25s ease, transform 0.25s ease, filter 0.25s ease; will-change: transform; }

.logo:hover img,
.logo:focus img,
.logo:focus-visible img {
    transform: scale(1.06);
    filter: brightness(1.06) drop-shadow(0 8px 14px rgba(0,0,0,0.35));
}
.nav-menu { display: flex; list-style: none; gap: 2rem; }
.nav-link { font-weight: 600; transition: color 0.3s; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.nav-link:hover, .nav-link.active { color: var(--accent-orange); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 25px; height: 3px; background-color: var(--text-light); transition: 0.3s; }

.btn { display: inline-block; padding: 0.8rem 2rem; background-color: var(--accent-orange); color: var(--text-light); font-weight: bold; border-radius: 4px; transition: background 0.3s, transform 0.2s; border: none; cursor: pointer; text-align: center; }
.btn:hover { background-color: var(--accent-hover); transform: translateY(-2px); }

section { padding: 5rem 2rem; max-width: var(--max-width); margin: 0 auto; }
.section-title { font-size: 2.5rem; margin-bottom: 2rem; text-align: center; text-transform: uppercase; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background-color: var(--accent-orange); margin: 0.5rem auto 0; }

footer { background-color: var(--bg-secondary); text-align: center; padding: 2rem; font-size: 0.9rem; color: var(--text-muted); border-top: 1px solid rgba(255,255,255,0.1); }

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-menu { position: absolute; top: 100%; left: -100%; width: 100%; height: calc(100vh - 100%); background-color: var(--bg-primary); flex-direction: column; align-items: center; padding-top: 3rem; transition: 0.4s ease; }
    .nav-menu.active { left: 0; }
    .section-title { font-size: 2rem; }
    .logo img { height: 60px; }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background-color: #25d366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 500px) {
    .whatsapp-float {
        width: 58px;
        height: 58px;
        bottom: 16px;
        right: 16px;
    }
}

/* quando o header ficar transparente ao rolar, reduzir levemente a logo */
header.scrolled .logo img {
    height: 60px;
}