:root {
    --primary-blue: #13679C;
    --highlight-orange: #D98A2E;
    --intelbras-green: #00A335;
    --intelbras-green-light: rgba(0, 163, 53, 0.1);
    --light-gray: #F8FAFC;
    --white: #ffffff;
    --text-color: #1E293B;
    --text-light: #475569;
    --text-muted: #64748B;
    --border-radius: 8px;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-color);
    line-height: 1.75;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

h1, h2, h3, h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-padding {
    padding: 80px 0;
}

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

.text-center {
    text-align: center;
}

.max-w-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.white-text h2, .white-text p {
    color: var(--white);
}

/* Separator */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.separator {
    width: 60px;
    height: 4px;
    background-color: var(--intelbras-green);
    margin: 0 auto;
    border-radius: 2px;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-top: 3px solid var(--highlight-orange);
    padding: 10px 0;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo img {
    height: 50px;
    width: auto;
    padding: 0;
    border-radius: 0;
    filter: brightness(0) invert(1);
}

/* Informações de Contato (Esquerda) */
.navbar-contact-left {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--white);
    margin-right: auto; /* Push menu to right */
    margin-left: 20px; /* Space from logo */
}

.navbar-contact-left a, .navbar-contact-left span {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.navbar-contact-left a:hover {
    color: var(--primary-blue); /* Ou branco com opacidade */
    text-decoration: underline;
}

.navbar-contact-left .fa-instagram {
    font-size: 1.4rem;
    vertical-align: middle;
}

/* Menu de Navegação (Direita) */
.navbar-menu {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-item {
    margin-left: 20px;
}

.navbar-link {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.navbar-link:hover {
    color: var(--white);
    opacity: 0.9;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-btn {
    background-color: var(--intelbras-green);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar-btn:hover {
    background-color: #008f2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

/* Mobile Menu Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.4s;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--highlight-orange);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(217, 138, 46, 0.4);
    border: 2px solid transparent;
}

.cta-button i {
    margin-right: 12px;
}

.cta-button.primary-cta {
    background-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(19, 103, 156, 0.4);
}

.cta-button:hover {
    background-color: #c07a25;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 138, 46, 0.6);
}

.cta-button.primary-cta:hover {
    background-color: #0e4d75;
    box-shadow: 0 6px 20px rgba(19, 103, 156, 0.6);
}

/* Pulse Animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(217, 138, 46, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(217, 138, 46, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 138, 46, 0); }
}

@media (prefers-reduced-motion: no-preference) {
    .pulse-animation {
        animation: pulse 2.5s infinite;
    }
}

/* Focus states for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        105deg,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(19, 103, 156, 0.7) 55%,
        rgba(0, 163, 53, 0.22) 100%
    );
    z-index: -1;
}

.hero-content-wrapper {
    z-index: 1;
    position: relative;
    width: 100%;
    padding-top: 120px; /* Aumentado para afastar do navbar */
    padding-bottom: 40px;
}

.hero-content {
    max-width: 700px; /* Narrower for better reading */
    color: var(--white);
    /* No longer centered, left aligned by default */
}

.hero h1 {
    color: var(--white);
    font-size: 2.6rem; 
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.subheadline {
    color: rgba(255,255,255,0.95);
    font-size: 1.4rem;
    margin-bottom: 50px; /* More space before button */
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
    max-width: 600px;
}

/* Hero Stats Bar */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    width: fit-content;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-stat .stat-number {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-stat .stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-stat-divider {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* About Us */
.about-us {
    background-color: var(--intelbras-green-light);
}

.about-us p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    font-weight: 500;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 56px;
    margin-top: 52px;
    flex-wrap: wrap;
}

.about-stat {
    text-align: center;
}

.about-stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
    letter-spacing: -0.03em;
}

.about-stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* MVV Cards */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mvv-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--intelbras-green));
    border-radius: 16px 16px 0 0;
}

.mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(19, 103, 156, 0.12), 0 4px 12px rgba(0,0,0,0.05);
    border-color: transparent;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--intelbras-green-light);
    color: var(--intelbras-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: var(--transition);
}

.mvv-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--primary-blue), var(--intelbras-green));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0,163,53,0.3);
}

/* Solutions / Como Ajudamos */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-block {
    background: var(--white);
    padding: 40px 40px 40px 44px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.solution-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-blue), var(--intelbras-green));
    transition: height 0.4s ease;
    border-radius: 16px 0 0 16px;
}

.solution-block:hover::before {
    height: 100%;
}

.solution-block::after {
    content: attr(data-num);
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 4rem;
    font-weight: 900;
    color: #F1F5F9;
    line-height: 1;
    pointer-events: none;
    letter-spacing: -0.04em;
}

.solution-block:hover {
    box-shadow: 0 16px 40px rgba(19,103,156,0.1);
    border-color: transparent;
}

.icon-box-large {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: var(--transition);
}

.solution-block:hover .icon-box-large {
    color: var(--intelbras-green);
    transform: scale(1.1);
}

/* Partner Section (Intelbras) */
.partner-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.partner-content h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.partner-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.partner-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.badge {
    background: var(--white);
    color: var(--primary-blue);
    padding: 9px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--intelbras-green);
    box-shadow: 0 2px 8px rgba(0,163,53,0.1);
    transition: var(--transition);
}

.badge i {
    color: var(--intelbras-green);
}

.badge:hover {
    background: var(--intelbras-green-light);
    transform: translateY(-1px);
}

.partner-image-wrapper {
    position: relative;
}

.partner-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,163,53,0.1);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.partner-image-wrapper:hover .partner-image {
    transform: translateY(-4px);
    box-shadow: 0 40px 70px rgba(0,0,0,0.22), 0 0 0 1px rgba(0,163,53,0.15);
}

.partner-overlay-deco {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--intelbras-green);
    border-radius: 20px;
    z-index: 1;
    opacity: 0.1;
}

/* Services Carousel */
.services-slider {
    padding-bottom: 50px !important;
}

.service-slide {
    background: var(--white);
    border-radius: 15px;
    overflow: visible !important;
    box-shadow: var(--shadow-sm);
    height: 420px;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.service-slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.14);
}

.service-slide:hover .service-image::after {
    opacity: 1;
}

.service-image {
    height: 60%;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow: hidden;
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(19,103,156,0.8) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-content {
    padding: 20px;
    position: relative;
    background: var(--white);
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    overflow: visible !important;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.service-content i {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--highlight-orange), #c07a25);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 16px rgba(217,138,46,0.45);
    z-index: 99;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--highlight-orange) !important;
}

.service-link:hover i {
    transform: translateX(4px) !important;
}

.service-slide:hover .service-content i {
    background: linear-gradient(135deg, var(--primary-blue), var(--intelbras-green));
    box-shadow: 0 6px 16px rgba(19,103,156,0.4);
    transform: translateX(-50%) scale(1.1);
}

.service-content h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.service-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Intelbras Solutions Banner Carousel */
.banner-slider {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.banner-slider .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* App Section */
.app-section {
    background: linear-gradient(160deg, var(--light-gray) 0%, var(--white) 100%);
}

.app-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.app-image img {
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    transition: var(--transition);
}

.app-image:hover img {
    transform: scale(1.02);
}

.app-text h2 {
    font-size: 2.5rem;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-color);
}

.feature-list li i {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--intelbras-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    box-shadow: 0 2px 6px rgba(0,163,53,0.35);
}

/* Segments */
.segments {
    background:
        radial-gradient(circle at 12% 55%, rgba(0,163,53,0.14) 0%, transparent 45%),
        radial-gradient(circle at 88% 45%, rgba(19,103,156,0.2) 0%, transparent 45%),
        linear-gradient(140deg, #0F172A 0%, #13679C 100%);
}

.segments-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.segment-card {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.28);
    color: rgba(255,255,255,0.92);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: default;
}

.segment-card i {
    font-size: 0.95rem;
    opacity: 0.8;
}

.segment-card:hover {
    background: var(--white);
    color: var(--primary-blue);
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.segment-card:hover i {
    opacity: 1;
    color: var(--intelbras-green);
}

/* Social Proof Marquee */
.social-proof {
    position: relative;
    overflow: hidden;
}

.social-proof::before,
.social-proof::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.social-proof::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 20%, transparent 100%);
}

.social-proof::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 20%, transparent 100%);
}

.clients-slider .swiper-wrapper {
    transition-timing-function: linear;
}

.clients-slider img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(75%) opacity(0.62);
    transition: var(--transition);
}

.clients-slider img:hover {
    filter: grayscale(0%) opacity(1);
}

/* Final CTA */
.final-cta {
    background:
        radial-gradient(ellipse at 15% 50%, rgba(0,163,53,0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 50%, rgba(217,138,46,0.12) 0%, transparent 55%),
        linear-gradient(135deg, #0F172A 0%, var(--primary-blue) 60%, #0a5f30 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta h2 {
    color: var(--white);
    font-size: 2.2rem;
    max-width: 900px;
    margin: 0 auto 16px;
    line-height: 1.3;
}

.final-cta-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 36px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* Footer */
footer {
    background-color: #0F172A;
    color: #94A3B8;
    padding: 70px 0 24px;
    border-top: 4px solid var(--highlight-orange);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

/* Footer Brand (Col 1) */
.footer-brand img {
    height: 64px;
    width: auto;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #94A3B8;
    line-height: 1.65;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--intelbras-green);
    border-color: var(--intelbras-green);
    color: #fff;
    transform: translateY(-2px);
}

/* Footer Links (Col 2) */
.footer-links h4,
.footer-contact h4 {
    color: #F1F5F9;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li a {
    color: #94A3B8;
    font-size: 0.92rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links ul li a::before {
    content: '';
    width: 6px;
    height: 1px;
    background: var(--intelbras-green);
    display: inline-block;
    transition: width 0.2s ease;
}

.footer-links ul li a:hover {
    color: #F1F5F9;
    padding-left: 4px;
}

.footer-links ul li a:hover::before {
    width: 10px;
}

/* Footer Contact (Col 3) */
.footer-contact p {
    font-size: 0.9rem;
    color: #94A3B8;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.footer-contact p i {
    color: var(--intelbras-green);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact p a {
    color: #94A3B8;
    transition: color 0.2s;
}

.footer-contact p a:hover {
    color: #F1F5F9;
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.85rem;
    color: #64748B;
}

/* Swiper Customization */
.swiper-button-next, .swiper-button-prev {
    color: var(--highlight-orange) !important;
}

.swiper-pagination-bullet-active {
    background: var(--highlight-orange) !important;
}

/* ==========================================================================
   Dropdown Menu Navbar
   ========================================================================== */
.navbar-dropdown { position: relative; }

.navbar-dropdown > .navbar-link .fa-chevron-down {
    font-size: 0.62rem;
    margin-left: 4px;
    transition: transform 0.2s ease;
    vertical-align: middle;
    display: inline-block;
}

.navbar-dropdown:hover > .navbar-link .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #0F172A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    min-width: 250px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
    z-index: 200;
    list-style: none;
}

.navbar-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    color: #94A3B8;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
    font-family: 'Inter', system-ui, sans-serif;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #F1F5F9;
}

.dropdown-menu li a i {
    color: var(--intelbras-green);
    width: 18px;
    text-align: center;
    font-size: 0.86rem;
    flex-shrink: 0;
}

/* Item ativo no dropdown (página atual) */
.dropdown-active > a {
    background: rgba(19, 103, 156, 0.15) !important;
    color: #7EC8F0 !important;
}

.dropdown-active > a i {
    color: #7EC8F0 !important;
}

/* Separador no dropdown */
.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 6px 8px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Tablet and Mobile (< 991px) */
@media (max-width: 991px) {
    .hidden-mobile {
        display: none !important;
    }

    /* Footer Responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-contact p {
        justify-content: center;
        text-align: left;
    }

    .navbar-toggle {
        display: flex;
        margin-left: 0; /* No need to push if logo is there */
    }

    .navbar-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: #0F172A;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        padding: 20px 0;
        z-index: 999;
        border-bottom: 2px solid var(--highlight-orange);
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-item {
        margin: 15px 0;
    }
    
    .navbar-link {
        color: #CBD5E1;
    }

    .navbar-link:hover {
        color: var(--highlight-orange);
        opacity: 1;
    }

    .navbar-link::after {
        background-color: var(--highlight-orange);
    }

    .navbar-btn {
        background-color: var(--intelbras-green);
        color: var(--white);
    }

    /* Hamburger Animation */
    .navbar-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .navbar-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Dropdown mobile */
    .navbar-dropdown .dropdown-menu {
        position: static;
        transform: none !important;
        background: rgba(255, 255, 255, 0.04);
        border: none;
        border-radius: 8px;
        margin: 4px 12px;
        padding: 4px;
        box-shadow: none;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
    }

    .navbar-dropdown.open .dropdown-menu {
        display: block;
    }
}

/* Small Tablets and Mobile (< 768px) */
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    .hero {
        height: auto;
        padding: 120px 0 80px; /* Mais espaço no topo para compensar navbar */
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 16px;
        padding: 14px 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat .stat-number {
        font-size: 1.4rem;
    }
    
    .partner-grid, .app-container {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }

    .partner-image-wrapper {
        order: -1;
        margin-bottom: 30px;
    }

    .partner-badges {
        justify-content: center;
    }

    .app-image {
        margin-bottom: 30px;
    }

    .feature-list li {
        justify-content: center;
    }
    
    .service-content i {
        top: -20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .mvv-grid, .solutions-grid {
        grid-template-columns: 1fr; /* Força 1 coluna em tablets/mobile para evitar cards espremidos */
    }
    
    .footer-info {
        text-align: center;
    }
}

/* Extra Small Mobile (< 480px) */
@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .navbar-contact-left {
        display: none; /* Garante que suma em telas muito pequenas se vazar */
    }
    
    .navbar-logo img {
        height: 40px; /* Smaller logo on very small screens */
    }
}