/* ============================
   HEADER & NAVIGATION
   ============================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(245, 242, 237, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(122, 92, 88, 0.05);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(245, 242, 237, 0.95);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.header__logo img {
    height: 75px;
    width: auto;
}

/* Nav */
.header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-left: auto; /* Empurra o menu para a direita */
}

.header__nav a {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
    position: relative;
    letter-spacing: 0.02em;
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: 1px;
}

.header__nav a:hover {
    color: var(--color-primary);
}

.header__nav a:hover::after {
    width: 20px;
}

/* ── Hamburger (mobile) ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Nav Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-primary);
}

@media (max-width: 1024px) {
    .header__nav, .header__cta { display: none; }
    .hamburger { display: flex; }
}

/* ============================
   WHATSAPP FAB
   ============================ */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 64px;
    height: 64px;
    background: #25D366; /* Standard WhatsApp Green for recognition */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
}

.whatsapp-fab:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-fab svg {
    width: 34px;
    height: 34px;
    fill: #fff;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: var(--color-dark);
    color: rgba(252, 250, 247, 0.6);
    padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-4xl);
}

.footer__logo-img {
    height: 75px;
    width: auto;
    margin-bottom: var(--space-lg);
    filter: brightness(100) invert(1); /* Logo branco para o fundo escuro */
}

.footer__col h4 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    margin-bottom: var(--space-xl);
}

.footer__col a {
    display: block;
    margin-bottom: var(--space-md);
    transition: color var(--transition-fast);
}

.footer__col a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    text-align: center;
    font-size: var(--fs-xs);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .footer__grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
}
/* -------------- COOKIE BANNER (LGPD) -------------- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    z-index: 9999;
    padding: 20px;
    border: 1px solid var(--color-border);
    transition: transform 0.4s ease, opacity 0.4s ease;
    max-width: 600px;
    margin: 0 auto;
}

.cookie-banner--hidden {
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner__content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.cookie-banner p {
    font-size: var(--fs-sm);
    color: var(--color-text);    margin: 0;
}

.cookie-banner a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-banner__buttons {
    display: flex;
    gap: 10px;
}

@media (min-width: 768px) {
    .cookie-banner__content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
