/* ======================================= */
/* PÁGINA DE SERVIÇOS - LAYOUT MODERNO     */
/* ======================================= */
.services-nav {
    position: sticky;
    top: 81px; /* Altura da navbar principal */
    z-index: 1010;
    background-color: var(--virgon-light-gray);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}
.services-nav .nav-pills .nav-link {
    color: var(--virgon-gray);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50rem; /* Cria o formato de pílula */
    background-color: transparent;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}
.services-nav .nav-pills .nav-link:hover {
    background-color: #e9ecef;
    color: var(--virgon-blue);
}
.services-nav .nav-pills .nav-link.active {
    background-color: var(--virgon-red);
    color: var(--virgon-white);
    box-shadow: 0 4px 15px rgba(206, 49, 52, 0.3);
}
.service-section {
    padding: 5rem 0;
}
.service-section .feature-list-services {
    list-style: none;
    padding-left: 0;
}
.service-section .feature-list-services li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.service-section .feature-list-services i {
    color: var(--virgon-red);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}
.service-cta-section {
    background: linear-gradient(rgba(27, 54, 93, 0.95), rgba(27, 54, 93, 0.95)), url(images/bg-Diferenciais-Section.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: var(--virgon-white);
}
.service-cta-section h2, .service-cta-section p {
    color: var(--virgon-white);
}
/* ======================================= */
/* SEÇÃO AGENDAR VISITA - TEMA ESCURO      */
/* ======================================= */
.visit-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(rgba(27, 54, 93, 0.95), rgba(27, 54, 93, 0.95)), url('images/bg-Diferenciais-Section.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--virgon-white);
}

.visit-section h2,
.visit-section h4 {
    color: var(--virgon-white);
}

.visit-section p, 
.visit-section li {
    color: rgba(255, 255, 255, 0.8);
}

.visit-section .card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visit-section .card p {
    color: rgba(255, 255, 255, 0.8);
}
/* ======================= UX MOBILE MELHORADA ======================= */
@media (max-width: 768px) {
    section {
        padding: 2.5rem 1rem !important;
    }
    .card, .timeline-content-box {
        padding: 1.5rem !important;
    }
    .leadership-section .row > div,
    .installations-section .row > div {
        margin-bottom: 2rem !important;
    }
    .section-gap {
        margin-bottom: 2rem !important;
    }
    .btn {
        padding: 12px 20px !important;
        min-height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    h1, h2, h3 {
        line-height: 1.3 !important;
    }
    .lead {
        font-size: 1.1rem !important;
    }
    .row > * {
        margin-bottom: 1.5rem !important;
    }
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    .timeline-horizontal {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        padding-bottom: 10px !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .timeline-horizontal .nav-item {
        flex-shrink: 0 !important;
    }
    .timeline-horizontal .nav-link {
        min-width: 80px !important;
        text-align: center !important;
    }
    .timeline-content-box {
        padding: 1.5rem 1rem !important;
    }
}

/* Botões flutuantes com área de toque e espaçamento melhorados */
.floating-buttons {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
@media (max-width: 575.98px) {
    .floating-buttons {
        bottom: 70px !important;
        right: 15px !important;
    }
    .floating-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.4rem !important;
    }
}

/* Menu inferior mobile */
.mobile-nav-bottom {
    z-index: 1020;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.mobile-nav-item {
    color: var(--virgon-gray);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s;
    min-width: 60px;
}
.mobile-nav-item.active {
    color: var(--virgon-red);
}
.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 3px;
}
.mobile-nav-item span {
    font-size: 0.7rem;
}

/* Efeito visual para cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
/* ======================= MELHORIAS MOBILE SUGERIDAS ======================= */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    h2, h3, h4, p, ul {
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }
    .floating-buttons {
        bottom: 20px !important;
        right: 20px !important;
        gap: 12px !important;
    }
    .floating-btn {
        width: 56px !important;
        height: 56px !important;
        font-size: 1.3rem !important;
    }
    .diferencial-card, .card, .feature-list li {
        margin-bottom: 1.5rem !important;
        padding: 1.2rem 0.7rem !important;
        border-radius: 1rem !important;
    }
    .feature-list img, .card-img-top, .timeline-image {
        object-fit: cover !important;
        border-radius: 1rem !important;
        width: 100% !important;
        height: auto !important;
        max-height: 220px !important;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    }
}

@media (max-width: 768px) {
    .timeline-horizontal .nav-link {
        min-width: 80px !important;
        text-align: center !important;
    }
    .timeline-horizontal {
        padding-left: 10px !important;
        padding-right: 10px !important;
        scroll-behavior: smooth !important;
    }
}
/* ======================================= */
/* ESTILOS CUSTOMIZADOS VIRGON - BASEADO NA REFERÊNCIA */
/* ======================================= */

:root {
    --virgon-blue: #1B365D;       /* Azul Marinho Profundo */
    --virgon-gray: #6C7A89;       /* Cinza Metálico */
    --virgon-red: #ce3134;        /* Vermelho Industrial */
    --virgon-light-gray: #F5F7FA; /* Cinza Claro */
    --virgon-white: #FFFFFF;
}

/* Tipografia */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .fw-bold {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--virgon-blue);
}

.lead {
    font-weight: 400;
}

/* Botões */
.btn-primary {
    background-color: var(--virgon-red);
    border-color: var(--virgon-red);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #b42a2d; /* Tom mais escuro do vermelho */
    border-color: #b42a2d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-outline-primary {
    color: var(--virgon-red);
    border-color: var(--virgon-red);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--virgon-red);
    color: var(--virgon-white);
    border-color: var(--virgon-red);
}

.btn-outline-secondary {
    color: var(--virgon-blue);
    border-color: var(--virgon-blue);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus {
    background-color: var(--virgon-blue);
    color: var(--virgon-white);
}

/* Navbar */
.navbar-brand img {
    height: 55px; /* Tamanho padrão para desktop */
    transition: height 0.3s ease; /* Efeito suave na transição (opcional) */
}
.navbar {
    background-color: var(--virgon-white) !important;
    transition: background-color 0.3s ease;
}
.navbar .nav-link {
    font-weight: 600;
    color: var(--virgon-gray);
    transition: color 0.3s ease;
}
.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--virgon-red);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('img-rev-slider/bg-2.jpg') no-repeat center center;
    background-size: cover;
    color: var(--virgon-white);
    padding: 8rem 0;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.7); /* Overlay cinza escuro para contraste */
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-section h1 {
    color: var(--virgon-white);
    font-size: 3.5rem;
}
.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}
.hero-section .btn-primary {
    background-color: var(--virgon-red);
    border-color: var(--virgon-red);
}
.hero-section .btn-outline-light {
    border-color: var(--virgon-white);
    color: var(--virgon-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}
.hero-section .btn-outline-light:hover {
    background-color: var(--virgon-white);
    color: var(--virgon-blue);
}

/* Seções */
.bg-light {
    background-color: var(--virgon-light-gray) !important;
}

/* Diferenciais Section com Parallax - EXATO DA REFERÊNCIA */
#diferenciais {
    position: relative;
    padding: 4rem 0; /* Altura da seção igual à referência */
    background: linear-gradient(rgba(27, 54, 93, 0.95), rgba(27, 54, 93, 0.95)), url('images/bg/bg-service.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--virgon-white);
}
.diferencial-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 0.75rem;
    color: var(--virgon-white);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); /* Sombra inicial */
}
.diferencial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* Sombra mais pronunciada no hover */
}
.diferenciais-icon {
    color: var(--virgon-white); /* Ícones brancos para contraste */
    opacity: 0.9;
}
.diferencial-card h5 {
    color: var(--virgon-white);
    font-size: 1.1rem;
    font-weight: 600;
}
.diferencial-card p {
    color: rgba(255, 255, 255, 0.8);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 1.2rem;
}

/* Footer */
.footer {
    background-color: var(--virgon-blue);
    color: rgba(255, 255, 255, 0.8);
}
.footer h6 {
    color: var(--virgon-white);
}
.footer a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}
.footer a:hover {
    color: var(--virgon-red);
}
.footer-hr {
    width: 60px;
    background-color: var(--virgon-red);
    height: 2px;
    border: none;
}

/* Certificação no Footer */
.certification-badge {
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.certification-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15) !important;
}

/* WhatsApp Link */
.whatsapp-link {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.whatsapp-link:hover {
    color: #25D366 !important;
    transform: translateX(3px);
}

.whatsapp-link:hover .fab.fa-whatsapp {
    color: #25D366 !important;
    transform: scale(1.1);
}

/* Botões Flutuantes */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.whatsapp-btn {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
    background: linear-gradient(45deg, #128C7E, #25D366);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.scroll-top-btn {
    background: linear-gradient(45deg, var(--virgon-blue), var(--virgon-gray));
    color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: linear-gradient(45deg, var(--virgon-red), var(--virgon-blue));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(27, 54, 93, 0.4);
}

/* Animação do WhatsApp */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    #diferenciais {
        background-attachment: scroll;
        padding: 3rem 0;
    }
    
    .virgon-about-section {
        padding: 4rem 0 !important;
    }
    
    .virgon-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .virgon-image-minimal img {
        height: 280px;
    }
    
    /* Botões flutuantes mobile */
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* ======================= MOBILE UX/UI MELHORADO ======================= */
@media (max-width: 575.98px) {
    /* Força máxima para botões flutuantes no mobile */
    .floating-buttons {
        position: fixed !important;
        right: 10px !important;
        bottom: 10px !important;
        z-index: 10000 !important;
        gap: 8px !important;
        pointer-events: auto !important;
        display: flex !important;
        flex-direction: column !important;
        max-width: 100vw !important;
        margin: 0 !important;
    }
    .floating-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.1rem !important;
        pointer-events: auto !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-clip: padding-box !important;
    }
    .navbar-brand img {
    height: 44px !important; /* 80% do tamanho desktop */
    }
    .hero-section {
        min-height: 60vh;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    .hero-section .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    .hero-section .btn-primary,
    .hero-section .btn-outline-light {
        width: 100%;
        min-width: unset;
        font-size: 1rem;
        margin-bottom: 0.75rem;
        padding: 0.75rem 1rem;
        border-radius: 2rem;
    }
    .hero-section .btn-outline-light {
        margin-bottom: 0;
    }
    .hero-section .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    /* Melhora a exibição dos selos na seção Hero em mobile */
    .hero-badges {
        display: flex;
        flex-direction: column; /* Empilha os itens verticalmente */
        align-items: center;   /* Centraliza os selos na coluna criada */
        gap: 0.75rem;          /* Adiciona um espaço consistente entre eles (12px) */
    }
    .diferencial-card {
        padding: 1.2rem 0.7rem;
        font-size: 1rem;
        border-radius: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    .diferencial-card h5 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    .diferencial-card p {
        font-size: 1rem;
    }
    .diferenciais-icon {
        font-size: 2rem !important;
        margin-bottom: 0.5rem;
    }
    #servicos .card {
        margin-bottom: 1.5rem;
        border-radius: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    #servicos .card-img-top {
        height: 160px !important;
        object-fit: cover;
        border-radius: 1rem 1rem 0 0;
    }
    #servicos .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    #servicos .card-text {
        font-size: 1rem;
    }
    #servicos .btn {
        width: 100%;
        font-size: 1rem;
        padding: 0.7rem 1rem;
        border-radius: 2rem;
    }
    .virgon-content h3 {
        font-size: 1.15rem;
        margin-bottom: 0.7rem;
    }
    .virgon-content .lead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .virgon-content .btn {
        width: 100%;
        font-size: 1rem;
        padding: 0.7rem 1rem;
        margin-bottom: 0.7rem;
        border-radius: 2rem;
    }
    .virgon-image-minimal img {
        width: 100%;
        border-radius: 1rem;
        margin-top: 1rem;
        height: auto;
        max-height: 220px;
        object-fit: cover;
    }
    .row.align-items-center.g-4.mb-5 > div {
        margin-bottom: 1rem;
    }
    .row.align-items-center.g-4.mb-5 img {
        max-height: 50px !important;
    }
    .footer .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .footer h6 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    .footer p, .footer a {
        font-size: 0.95rem;
    }
    .footer .certification-badge img {
        max-width: 200px !important;
    }
    .footer .certification-badge {
        padding: 1rem 0.5rem;
    }
    .floating-buttons {
        bottom: 10px !important;
        right: 10px !important;
        left: auto !important;
        gap: 8px !important;
        z-index: 10000 !important;
        pointer-events: auto !important;
    }
    .floating-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.1rem !important;
        pointer-events: auto !important;
    }
}

.shadow-sm:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    transition: box-shadow 0.3s ease;
}

/* Sobre a Virgon Section - Design Minimalista */
.virgon-about-section {
    background: linear-gradient(135deg, var(--virgon-blue) 0%, #1e3a5f 100%);
    position: relative;
}

.virgon-content {
    padding-right: 2rem;
}

.virgon-image-minimal {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.virgon-image-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(206, 49, 52, 0.1), rgba(27, 54, 93, 0.1));
    z-index: 1;
    transition: opacity 0.3s ease;
}

.virgon-image-minimal:hover::before {
    opacity: 0.5;
}

.virgon-image-minimal img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
}

.virgon-image-minimal:hover img {
    transform: scale(1.03);
}

/* Classes utilitárias para cores */
.text-white-90 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-red {
    color: var(--virgon-red) !important;
}

.fas.fa-check-circle {
    font-size: 0.9rem;
}

.shadow-sm:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    transition: box-shadow 0.3s ease;
}

.bg-virgon-blue {
    background: var(--virgon-blue) !important;
}
.text-white {
    color: #fff !important;
}
.bg-light {
    background-color: var(--virgon-light-gray) !important;
}
.bg-white {
    background-color: #fff !important;
}
.bg-light-blue {
    background: #eaf2fb !important;
}


/* ======================================= */
/* TIMELINE HORIZONTAL INTERATIVA          */
/* ======================================= */
.timeline-horizontal {
    border-bottom: 3px solid var(--virgon-light-gray);
    display: flex;
    justify-content: flex-start; /* Alinha os anos à esquerda */
}
.timeline-horizontal .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--virgon-gray);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 0.8rem 1.2rem; /* Padding reduzido */
    margin-bottom: -3px; /* Alinha com a borda principal */
    transition: all 0.3s ease;
}
.timeline-horizontal .nav-link:hover {
    border-bottom-color: var(--virgon-gray);
}
.timeline-horizontal .nav-link.active {
    border-bottom-color: var(--virgon-red);
    color: var(--virgon-red);
    background-color: transparent;
}
.timeline-content-box {
    background-color: var(--virgon-white);
    padding: 2rem; /* Padding reduzido para compactar */
}
.timeline-content-box h4 {
    color: var(--virgon-blue);
}
.tab-pane {
    transition: opacity 0.3s ease-in-out;
}
.timeline-image {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    height: 100%;
    min-height: 350px;
}


/* ======================================= */
/* SEÇÃO HISTÓRIA - PAINEL DE CONTROLO     */
/* ======================================= */
.history-panel-section {
    background-color: var(--virgon-blue);
    color: var(--virgon-white);
    padding: 5rem 0;
}
.history-panel-section h2, .history-panel-section .lead {
    color: var(--virgon-white);
}
.history-panel-section .lead {
    color: rgba(255, 255, 255, 0.7);
}
.history-panel {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
}
.history-nav .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-left: 3px solid transparent;
    border-radius: 0;
    text-align: left;
}
.history-nav .nav-link:hover {
    color: var(--virgon-white);
    background-color: rgba(255, 255, 255, 0.05);
}
.history-nav .nav-link.active {
    color: var(--virgon-red);
    background-color: transparent;
    border-left-color: var(--virgon-red);
}
.history-content {
    min-height: 250px;
}
.history-content h4 {
    color: var(--virgon-white);
}
.history-content p {
    color: rgba(255, 255, 255, 0.8);
}
.values-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
}
.values-card .icon {
    font-size: 1.5rem;
    color: var(--virgon-red);
    margin-bottom: 1rem;
}
.values-card h5 {
    color: var(--virgon-white);
    margin-bottom: 0.5rem;
}
.values-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ======================================= */
/* SEÇÃO INSTALAÇÕES                       */
/* ======================================= */
.installations-section .feature-list {
    list-style: none;
    padding-left: 0;
}
.installations-section .feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}
.installations-section .feature-list i {
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
    color: var(--virgon-red);
    width: 25px; /* Alinhamento consistente */
    text-align: center;
}

/* ======================================= */
/* SEÇÃO LIDERANÇA - TEMA ESCURO PARALLAX  */
/* ======================================= */
.leadership-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(rgba(27, 54, 93, 0.95), rgba(27, 54, 93, 0.95)), url('images/bg-Diferenciais-Section.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--virgon-white);
}

.leadership-section h2,
.leadership-section h3 {
    color: var(--virgon-white);
}

.leadership-section .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.leadership-section p {
    color: rgba(255, 255, 255, 0.9);
}

.leadership-badge {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--virgon-white);
    font-weight: 500;
}

/* ======================================= */
/* OTIMIZAÇÃO MOBILE - PÁGINA SOBRE NÓS    */
/* ======================================= */
@media (max-width: 768px) {
    /* Desativa o efeito parallax em mobile para melhor performance */
    .hero-section,
    .leadership-section {
        background-attachment: scroll;
    }

    /* Ajusta o cabeçalho da página para mobile */
    .hero-section.page-header {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-section.page-header h1 {
        font-size: 2.2rem;
    }

    /* Garante que a timeline horizontal seja rolável */
    .timeline-horizontal {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start !important;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .timeline-horizontal::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    /* Ajusta o layout da secção de liderança para mobile */
    .leadership-section .text-center {
        margin-bottom: 2rem;
    }

    /* Ajusta o layout da secção de certificações */
    .certifications-section img {
        margin-top: 2rem;
    }
}


/* ======================================= */
/* PÁGINA DE CONTATO - LAYOUT MODERNO      */
/* ======================================= */
.contact-section .nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.contact-section .nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--virgon-gray);
    font-weight: 600;
}

.contact-section .nav-tabs .nav-link.active {
    border-bottom-color: var(--virgon-red);
    color: var(--virgon-red);
    background-color: transparent;
}

.contact-info-card {
    background-color: var(--virgon-light-gray);
    border-radius: 0.75rem;
    padding: 2rem;
    height: 100%;
}

.contact-info-card .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-card .info-item i {
    font-size: 1.5rem;
    color: var(--virgon-red);
    margin-right: 1rem;
    margin-top: 0.25rem;
    width: 30px;
    text-align: center;
}

.contact-info-card .info-item h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--virgon-blue);
}

.contact-info-card .info-item p,
.contact-info-card .info-item a {
    color: var(--virgon-gray);
    text-decoration: none;
    margin-bottom: 0;
}

.contact-info-card .info-item a:hover {
    color: var(--virgon-red);
}

.map-container {
    border-radius: 0.75rem;
    overflow: hidden;
    height: 300px;
}

/* ======================================= */
/* GALERIA DE PRODUTOS (CARROSSEL MULTI-ITENS) */
/* ======================================= */
.product-gallery-section {
    padding: 5rem 0;
    position: relative;
    background: linear-gradient(rgba(27, 54, 93, 0.95), rgba(27, 54, 93, 0.95)), url('images/bg-Diferenciais-Section.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.product-gallery-section h2 {
    color: var(--virgon-white);
}
.product-gallery-section .lead {
    color: rgba(255, 255, 255, 0.8);
}
.product-carousel .carousel-item .col-6 {
    padding: 0 0.75rem;
}
.product-carousel .carousel-item img {
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-carousel .carousel-item img:hover {
    transform: scale(1.05);
}
.product-carousel .carousel-control-prev,
.product-carousel .carousel-control-next {
    width: 5%;
    
}
.product-carousel .carousel-control-prev-icon,
.product-carousel .carousel-control-next-icon {
    background-color: var(--virgon-red);
    border-radius: 50%;
    padding: 1.5rem;
    background-size: 50%;
}
.product-carousel .carousel-indicators {
    margin-bottom: -1rem;
}
.product-carousel .carousel-indicators [data-bs-target] {
    background-color: var(--virgon-gray);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.5;
}
.product-carousel .carousel-indicators .active {
    background-color: var(--virgon-red);
    opacity: 1;
}

/* ======================================= */
/* SEÇÃO DE FAQ (PERGUNTAS FREQUENTES)     */
/* ======================================= */
.faq-section {
    padding: 5rem 0;
}
.faq-section .accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem !important; /* Força o border-radius */
    margin-bottom: 1rem;
    overflow: hidden; /* Garante que o conteúdo interno respeite o border-radius */
}
.faq-section .accordion-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--virgon-blue);
    background-color: var(--virgon-white);
    box-shadow: none;
}
.faq-section .accordion-button:not(.collapsed) {
    color: var(--virgon-red);
    background-color: #f8f9fa;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}
.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231B365D'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-section .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ce3134'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-section .accordion-body {
    color: var(--virgon-gray);
}

/* ======================================= */
/* CARROSSEL SERVIÇOS COMPLEMENTARES - VERSÃO CORRIGIDA E COMPACTA */
/* ======================================= */

/* --- Estilo da Seção --- */
#servicos-complementares {
    background-color: var(--virgon-white);
    padding: 5rem 0;
}
#servicos-complementares h2 {
    color: var(--virgon-blue);
}
#servicos-complementares .lead {
    color: var(--virgon-gray);
}

/* --- Estilo dos Cards (Ainda mais compacto) --- */
.service-complementar-card {
    background-color: var(--virgon-light-gray);
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    padding: 1.25rem; /* AJUSTADO: Padding reduzido */
    text-align: center;
    transition: all 0.3s ease;
    height: 100%; /* NOVO: Garante que os cards na mesma linha tenham a mesma altura */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0.5rem; /* NOVO: Adiciona um pequeno espaçamento lateral */
}
.service-complementar-card:hover {
    transform: translateY(-8px);
    border-color: #dee2e6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Estilo dos Ícones --- */
.service-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--virgon-red);
    color: var(--virgon-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    flex-shrink: 0; /* Impede que o ícone encolha */
}

/* --- Estilo dos Textos --- */
.service-complementar-card h5 {
    color: var(--virgon-blue);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}
.service-complementar-card p {
    color: var(--virgon-gray);
    font-size: 0.85rem; /* AJUSTADO: Levemente reduzido */
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- Estilo do Card Placeholder --- */
.service-complementar-card.placeholder-card {
    background-color: transparent;
    border-style: dashed;
    border-color: #ced4da;
}
.service-complementar-card.placeholder-card .service-card-icon {
    background-color: var(--virgon-gray);
}

/* --- Controles do Carrossel (Setas) PADRONIZADOS --- */
#complementaresCarousel .carousel-control-prev,
#complementaresCarousel .carousel-control-next {
    width: auto; /* Permite que o controle se ajuste ao ícone */
}
#complementaresCarousel .carousel-control-prev {
    left: -25px; /* Posiciona um pouco fora */
}
#complementaresCarousel .carousel-control-next {
    right: -25px; /* Posiciona um pouco fora */
}
#complementaresCarousel .carousel-control-prev-icon,
#complementaresCarousel .carousel-control-next-icon {
    background-color: var(--virgon-red);
    border-radius: 50%;
    padding: 1.5rem;
    background-size: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* --- Media Queries para Carrossel Multi-Itens --- */

/* Por padrão (mobile), o carrossel já mostra 1 item por vez */

/* Visualização para Tablet (2 Itens) */
@media (min-width: 768px) {
    #complementaresCarousel .carousel-inner {
        display: flex;
    }
    #complementaresCarousel .carousel-item {
        margin-right: 0;
        flex: 0 0 50%; /* Mostra 2 itens */
        display: block;
    }
}

/* Visualização para Desktop (3 Itens) */
@media (min-width: 992px) {
    #complementaresCarousel .carousel-item {
        flex: 0 0 33.333%; /* Mostra 3 itens */
    }
}

#complementaresCarousel .carousel-item {
    transition: transform 0.4s ease-in-out; /* O padrão do Bootstrap é 0.6s */
}