/* ============================================================
   VARIÁVEIS E RESET
   ============================================================ */
:root {
    --navy: #0a2f44;
    --navy-light: #1a5a7a;
    --orange: #f57c00;
    --orange-dark: #e65100;
    --light: #f5f9fe;
    --text: #0a2f44;
    --muted: #5b7e9a;
    --border: #e2edf4;
    --shadow: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 16px 48px rgba(0,0,0,0.12);
    --radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Bootstrap 5.3 Sobrescritas */
    --bs-primary: #f57c00;
    --bs-primary-rgb: 245, 124, 0;
    --bs-secondary: #0a2f44;
    --bs-secondary-rgb: 10, 47, 68;
    --bs-font-sans-serif: 'Inter', sans-serif;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: var(--text);
    line-height: 1.6;
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    padding: 0.75rem 1.5rem;
    background: var(--orange);
    color: #fff;
    z-index: 10000;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10,47,68,0.06);
    padding: 0.6rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    font-family: 'Wix Madefor Text', sans-serif !important;
}

.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

.logo-img { height: 50px; width: auto; }

.nav-links .nav-link {
    font-family: 'Wix Madefor Text', sans-serif !important;
    font-weight: 500 !important;
    color: var(--navy) !important;
    font-size: 16px !important; /* Wix.com menu font-size */
    padding: 0.4rem 0.6rem;
    position: relative;
    text-decoration: none !important;
    transition: var(--transition);
    letter-spacing: -0.2px;
}
.nav-links .nav-link:hover {
    color: var(--orange) !important;
    text-decoration: none !important;
}

.nav-link-highlight {
    color: var(--orange) !important;
    font-weight: 600 !important;
}

.btn-nav-outline {
    border: 2px solid var(--navy) !important;
    border-radius: 50px !important;
    padding: 0.3rem 0.9rem !important;
    font-weight: 500 !important;
    font-size: 15px !important; /* Estilo Wix */
    transition: var(--transition);
    text-align: center;
    font-family: 'Wix Madefor Text', sans-serif !important;
}
.btn-nav-outline:hover {
    background: var(--navy) !important;
    color: #fff !important;
}

.btn-nav-fill {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark)) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 0.38rem 1.05rem !important;
    font-weight: 600 !important;
    font-size: 15px !important; /* Estilo Wix */
    box-shadow: 0 4px 12px rgba(245,124,0,0.25);
    transition: var(--transition);
    text-align: center;
    font-family: 'Wix Madefor Text', sans-serif !important;
}
.btn-nav-fill:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(245,124,0,0.35);
    color: #fff !important;
}

.pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245,124,0,0.4); }
    70% { box-shadow: 0 0 0 12px rgba(245,124,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(245,124,0,0); }
}

.theme-toggle-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--navy);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: var(--transition);
}
.theme-toggle-btn:hover { color: var(--orange); }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    background: linear-gradient(145deg, #0a2f44 0%, #0d4a6e 60%, #1a6a9a 100%);
    color: #fff;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(245,124,0,0.12), transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05), transparent 40%);
    pointer-events: none;
}
.hero-badge {
    display: inline-block;
    background: rgba(245,124,0,0.2);
    color: #ffb74d;
    border: 1px solid rgba(245,124,0,0.3);
    border-radius: 50px;
    padding: 0.35rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.hero-title span { color: #ffb74d; }
.hero-sub {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary {
    background: var(--orange);
    color: #fff;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(245,124,0,0.4);
    transition: var(--transition);
}
.btn-hero-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 8px 30px rgba(245,124,0,0.5);
}
.btn-hero-outline {
    background: transparent;
    color: #fff;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.5);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: #fff;
}
.hero-stats {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-top: 3.5rem;
    flex-wrap: wrap;
}
.hero-stat .num {
    font-size: 2rem;
    font-weight: 900;
    color: #ffb74d;
    display: block;
}
.hero-stat .lbl {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.2rem;
}

/* ============================================================
   SEÇÕES GERAIS
   ============================================================ */
.section-pad { padding: 5rem 1.5rem; }
.section-heading { margin-bottom: 3rem; }
.section-label {
    display: inline-block;
    background: #fff0e0;
    color: var(--orange);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1px;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.section-sub {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--orange-dark));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #fff0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--orange);
    margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.service-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; flex: 1; margin-bottom: 1.25rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.service-tag {
    background: var(--light);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
}
.service-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--orange);
    margin: 0.5rem 0 1rem;
}
.service-price small { font-size: 0.85rem; font-weight: 400; color: var(--muted); }

.btn-pill {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}
.btn-pill-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 4px 12px rgba(245,124,0,0.2);
}
.btn-pill-primary:hover {
    background: var(--orange-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,124,0,0.3);
}
.btn-pill-white {
    background: #fff;
    color: var(--orange);
}
.btn-pill-white:hover {
    background: #fff0e0;
    color: var(--orange-dark);
    transform: translateY(-2px);
}

/* ============================================================
   SEGMENTS (SISTEMAS)
   ============================================================ */
.segments-bg { background: var(--light); }

.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}
.seg-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}
.seg-card:hover {
    border-color: var(--orange);
    box-shadow: 0 8px 20px rgba(245,124,0,0.12);
    transform: translateY(-3px);
}
.seg-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--orange);
    flex-shrink: 0;
}
.seg-info { flex: 1; min-width: 0; }
.seg-name {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.badge-rec {
    background: var(--orange);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
    text-transform: uppercase;
}
.seg-desc { font-size: 0.82rem; color: var(--muted); margin: 0.1rem 0 0.2rem; line-height: 1.4; }
.seg-price { font-size: 0.85rem; color: var(--muted); width: 100%; }
.seg-price b { color: var(--orange); font-size: 1rem; }
.seg-obs { font-size: 0.75rem; color: #889ba8; font-weight: 500; margin-top: 0.2rem; }
.seg-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.seg-actions .btn-agendar {
    background: var(--orange);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}
.seg-actions .btn-agendar:hover {
    background: var(--orange-dark);
    transform: scale(1.04);
    color: #fff;
}
.seg-actions .btn-detalhes {
    background: var(--light);
    color: var(--navy);
    border: 1px solid rgba(10,47,68,0.12);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}
.seg-actions .btn-detalhes:hover {
    background: #e2edf4;
}

.search-box {
    max-width: 400px;
    margin: 0 auto 2.5rem;
    position: relative;
}
.search-box input {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.8rem;
    border-radius: 50px;
    border: 2px solid #dce6ed;
    font-size: 0.95rem;
    transition: var(--transition);
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%235b7e9a" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>') no-repeat 1rem center;
    background-size: 1.1rem;
}
.search-box input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(245,124,0,0.15);
    outline: none;
}

/* Expert Post */
.expert-post {
    background: linear-gradient(135deg, #fff7ed 0%, #fff3e6 100%);
    border-left: 6px solid var(--orange);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 8px 20px rgba(245,124,0,0.10);
}
.expert-post-content { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.expert-post-icon { font-size: 2.8rem; color: var(--orange); }
.expert-post-text h4 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 0.25rem; }
.expert-post-text p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.expert-post-btn {
    background: var(--orange);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.expert-post-btn:hover {
    background: var(--orange-dark);
    transform: scale(1.02);
    color: #fff;
}

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-card {
    background: linear-gradient(135deg, #f5f9fe, #fff);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid var(--border);
}
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-bottom: 1rem;
}
.value-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 1rem;
    flex-shrink: 0;
}
.value-text h6 { font-weight: 700; color: var(--navy); margin-bottom: 0.2rem; }
.value-text p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid var(--border);
    height: 100%;
    transition: var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow);
    border-color: transparent;
}
.stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 0.75rem; }
.testimonial-card p {
    color: #4a627a;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    font-style: italic;
}
.testimonial-card .author { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.testimonial-card .role { font-size: 0.8rem; color: var(--muted); }

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    text-align: center;
    padding: 4rem 1.5rem;
}
.cta-section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.cta-section p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #fff0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--orange);
    margin: 0 auto 1rem;
}
.contact-section h6 { font-weight: 700; color: var(--navy); }
.contact-section p { color: var(--muted); font-size: 0.88rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #07202e;
    color: rgba(255,255,255,0.85);
    padding: 3rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
}
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.footer-brand .footer-slogan {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}
.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0.75rem 0 1.25rem;
    opacity: 0.8;
    max-width: 300px;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(245,124,0,0.3);
}
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}
.badge-pill i { color: var(--orange); }

.footer-col h5 {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-col h5 i { color: var(--orange); font-size: 0.9rem; }
.footer-col a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.87rem;
    margin-bottom: 0.7rem;
    transition: var(--transition);
}
.footer-col a i { width: 1.2rem; font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-col a:hover { color: var(--orange); }
.footer-col a:hover i { color: var(--orange); }

.footer-contact-mini {
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1rem;
}
.footer-contact-mini p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: rgba(255,255,255,0.7);
}
.footer-contact-mini p i { color: var(--orange); width: 1.2rem; }

.footer-bottom {
    max-width: 1280px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.5); text-decoration: none; transition: var(--transition); }
.footer-legal a:hover { color: var(--orange); }
.footer-tagline { font-weight: 500; color: rgba(255,255,255,0.3); font-style: italic; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25D366;
    color: #fff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}
.wa-float:hover {
    transform: scale(1.1);
    background: #1da851;
    color: #fff;
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 992px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero-section { padding: 3rem 1rem 2rem; }
    .section-pad { padding: 3rem 1rem; }
    .services-grid { grid-template-columns: 1fr; }
    .segments-grid { grid-template-columns: 1fr; }
    .expert-post { flex-direction: column; text-align: center; }
    .expert-post-content { justify-content: center; }
}
@media (max-width: 576px) {
    .footer-inner { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }
    .footer-tagline { text-align: center; }
/* ============================================================
   MENU ACORDEÃO E DROPDOWNS MODERNOS
   ============================================================ */

/* Estilo do Dropdown Toggle */
.nav-links .dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    white-space: nowrap;
}

.nav-links .dropdown-toggle::after {
    display: inline-block !important;
    border: none;
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.62rem;
    margin-left: 0.35rem;
    vertical-align: middle;
    transition: transform 0.25s ease;
}

.nav-links .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown moderno no Desktop */
@media (min-width: 992px) {
    .nav-links .dropdown-toggle::after {
        transition: transform 0.25s ease;
    }
    
    .nav-links .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .nav-links .dropdown {
        position: relative;
    }

    .dropdown-menu-modern {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(12px);
        min-width: 280px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(10, 47, 68, 0.08);
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(10, 47, 68, 0.1);
        padding: 0.75rem 0.5rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.22s;
        pointer-events: none;
        z-index: 1100;
    }

    .nav-links .dropdown:hover .dropdown-menu-modern,
    .nav-links .dropdown-menu-modern.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(4px);
        pointer-events: auto;
    }

    .dropdown-menu-modern.dropdown-menu-end {
        left: auto !important;
        right: 0 !important;
        transform: translateY(12px) !important;
    }

    .nav-links .dropdown:hover .dropdown-menu-modern.dropdown-menu-end,
    .nav-links .dropdown-menu-modern.dropdown-menu-end.show {
        transform: translateY(4px) !important;
    }

    .theme-toggle-btn {
        margin-left: 0.75rem;
    }
}

/* Items do menu */
.dropdown-menu-modern .dropdown-item {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--navy);
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.dropdown-menu-modern .dropdown-item i {
    font-size: 0.85rem;
    color: var(--muted);
    transition: var(--transition);
    width: 16px;
    text-align: center;
}

.dropdown-menu-modern .dropdown-item:hover {
    background-color: var(--light);
    color: var(--orange);
}

.dropdown-menu-modern .dropdown-item:hover i {
    color: var(--orange);
    transform: scale(1.1);
}

.dropdown-menu-modern .dropdown-divider {
    margin: 0.5rem 0.25rem;
    border-color: rgba(10, 47, 68, 0.06);
}

.dropdown-menu-modern .ver-todos-link {
    color: var(--orange) !important;
    font-weight: 700;
}

.dropdown-menu-modern .ver-todos-link:hover {
    background-color: #fff0e0 !important;
    color: var(--orange-dark) !important;
}

/* Mobile: Ajustes e efeito sanfona */
@media (max-width: 991.98px) {
    .nav-links {
        padding: 0.75rem 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-links .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.6rem 0.5rem;
        border-radius: 8px;
        width: 100%;
        border-bottom: 1px solid rgba(10, 47, 68, 0.04);
        font-size: 0.85rem;
    }

    .dropdown-menu-modern {
        background: rgba(10, 47, 68, 0.02) !important;
        border: none !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        padding: 0.25rem 0.75rem !important;
        margin-top: 0.25rem !important;
        width: 100%;
        display: none;
    }

    .dropdown-menu-modern.show {
        display: block !important;
        animation: collapseSlideDown 0.3s ease-out forwards;
    }

    @keyframes collapseSlideDown {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .btn-nav-outline,
    .btn-nav-fill {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-top: 0.4rem;
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }

    .theme-toggle-btn {
        margin-top: 0.5rem;
        margin-left: 0.5rem;
    }
}

/* Ajuste global para alinhar submenus à direita e evitar cortes nas laterais */
.dropdown-menu-modern.dropdown-menu-end {
    left: auto !important;
    right: 0 !important;
    transform: translateY(12px) !important;
    max-width: 95vw;
}

@media (min-width: 992px) {
    .nav-links .dropdown:hover .dropdown-menu-modern.dropdown-menu-end,
    .nav-links .dropdown-menu-modern.dropdown-menu-end.show {
        transform: translateY(4px) !important;
    }
}

/* Otimização para telas médias (evita esmagamento/corte do logo e links) */
@media (min-width: 992px) and (max-width: 1220px) {
    .logo-img {
        height: 38px !important;
    }
    .nav-links .nav-link {
        font-size: 14px !important;
        padding: 0.4rem 0.4rem !important;
    }
    .btn-nav-outline {
        font-size: 13px !important;
        padding: 0.25rem 0.75rem !important;
    }
    .header-inner {
        padding: 0 0.75rem !important;
    }
}