/*
Theme Name: FN Express Medical Logistics   
Theme URI: https://fnexpress.com.br
Author: Altwave Digital
Author URI: https://altwavedigital.com
Version: 1.0.0
Text Domain: FN Express Medical Logistics
*/

:root {
    --primary-color: #02d6db;
    --secondary-color: #0355a2;
    --tertiary-color: #15b6e0;
    --quaternary-color: #c1d3ee;
    --accent-color: #fff4e0;
    --text-dark: #1a2433;
    --text-light: #fafbfc;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

.primary-color {
    color: var(--primary-color);
}

.secondary-color {
    color: var(--secondary-color);
}

.tertiary-color {
    color: var(--tertiary-color);
}

.quaternary-color {
    color: var(--quaternary-color);
}

p{
    margin-bottom: 0;
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* Navbar Styles */
.navbar {
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5rem;
    margin-top: 1rem;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 100;
    margin: 1rem;
    font-family: 'Open Sans', sans-serif;
}

.navbar > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

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

.navbar-brand {
    flex-shrink: 0;
}

.navbar-collapse {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    max-width: none;
}

.navbar-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-item {
    margin: 0 0.5rem;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: regular;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-cta {
    display: flex;
    align-items: center;
}

.cta-button {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    border-radius: 50rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    color:rgb(3, 55, 62);
}

.cta-button:hover {
    background-color: var(--tertiary-color);
    color: var(--text-dark);
}

/* Mobile Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: stretch;
    }

    .navbar-nav {
        position: static;
        transform: none;
        margin-bottom: 1rem;
    }

    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }

    .navbar-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.hero {
    background-image: url('/wp-content/uploads/2026/02/Design-sem-nome-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100dvh;
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    padding-bottom: 5rem;
}

.hero-content {
    position: relative;
    z-index: 200;
    margin-top: 10rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.05;
}

.hero-content p {
    font-size: 1rem;
    color: #fff;
}

/* Hero CTA Button Styles */
.hero-content a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    position: relative;
    z-index: 201 !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50rem;
    background-color: var(--primary-color);
    color: rgb(3, 55, 62);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.hero-content a:hover {
    text-decoration: none !important;
    background-color: var(--tertiary-color);
    color: var(--text-dark);
}

.hero-content a span {
    display: inline-block;
}

.hero-content a .hero-cta-arrow {
    display: inline-block !important;
    margin-left: 0 !important;
    transition: transform 0.3s ease !important;
    position: relative;
    vertical-align: middle;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.hero-content a:hover .hero-cta-arrow {
    transform: translateX(0.5rem) !important;
}

.sobre-nos {
    background-image: url('/wp-content/uploads/2026/02/Design-sem-nome-3.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--text-dark);
    padding: 5rem 0;
    background-attachment: fixed;
    background-position: center center;
}

.sobre-nos h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ececec;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.sobre-nos p {
    font-size: 1rem;
    color: #ececec;
    margin-bottom: 1rem;
}

.servicos {
    background-color: #fafbfc;
    padding: 5rem 0;
}

.servicos h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.servico {
    background-color: #fff;
    padding: 5rem 2rem;
    border-radius: 2rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.22);
}

.servico h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.servico p{
    color:rgb(67, 67, 67);
}

.servico svg{
    margin-bottom: 1rem;
    color: var(--primary-color);
    width: 2rem;
    height: 2rem;
}

/* Certificações Section */
.certificacoes {
    background-image: url('/wp-content/uploads/2026/02/Design-sem-nome-3.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--text-dark);
    padding: 5rem 0;
    background-attachment: fixed;
    background-position: center center;
}

.certificacoes-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.certificacoes-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.certificado-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.certificado-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(2, 214, 219, 0.2);
    background: linear-gradient(135deg, rgba(2, 214, 219, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.certificado-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.certificado-item:hover .certificado-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(2, 214, 219, 0.4);
}

.certificado-icon svg {
    width: 30px;
    height: 30px;
}

.certificado-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

.certificado-subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.8;
    display: block;
    margin-top: 0.25rem;
}

/* Certificações Responsive */
@media (max-width: 768px) {
    .certificacoes {
        padding: 3rem 0;
    }
    
    .certificacoes-header h2 {
        font-size: 1.5rem;
    }
    
    .certificacoes-subtitle {
        font-size: 1rem;
    }
    
    .certificado-item {
        padding: 1.5rem 1rem;
    }
    
    .certificado-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .certificado-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .certificado-item h4 {
        font-size: 0.9rem;
    }
}

/* Cobertura Estratégica Section */
.cobertura {
    background-color: #fafbfc;
    padding: 5rem 0;
}

.cobertura-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.cobertura-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.mapa-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    background-color: #fff;
}

.google-map {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

#map {
    position: relative;
}

/* Aplicar filtro apenas nas tiles do mapa (imagens do mapa), não nos marcadores */
#map .leaflet-tile-pane img {
    filter: grayscale(70%) contrast(0.85) brightness(1.1);
}

/* Garantir que os marcadores não sejam afetados pelo filtro */
#map .leaflet-marker-pane,
#map .leaflet-shadow-pane,
#map .leaflet-popup-pane {
    filter: none !important;
}

.unidades-lista {
    margin-top: 2rem;
}

.unidade-badge-item {
    background-color: #fff;
    border: 2px solid var(--quaternary-color);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 80px;
}

.unidade-badge-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 214, 219, 0.2);
}

.unidade-nome {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
}

.unidade-tipo {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cobertura Responsive */
@media (max-width: 768px) {
    .cobertura {
        padding: 3rem 0;
    }
    
    .cobertura-header h2 {
        font-size: 1.5rem;
    }
    
    .cobertura-subtitle {
        font-size: 1rem;
    }
    
    .google-map {
        height: 400px;
    }
    
    .unidade-badge-item {
        padding: 0.75rem 1rem;
    }
    
    .unidade-nome {
        font-size: 0.9rem;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.22);
    font-size: 38px;
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none !important;
}

.floating-whatsapp-btn:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.36);
    transform: scale(1.08);
    color: #fff;
    text-decoration: none;
}

.floating-whatsapp-btn svg {
    width: 30px;
    height: 30px;
    display: block;
    fill: white;
}

@media (max-width: 600px) {
    .floating-whatsapp-btn {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
    .floating-whatsapp-btn svg {
        width: 26px;
        height: 26px;
    }
}

/* Footer Styles */
footer {
    background: var(--text-dark);
    padding: 5rem 0 1.5rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--secondary-color);
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.footer-section p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 1.5rem;
    gap: 0.5rem;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0rem;
}

.footer-credits {
    color: var(--text-light);
    font-size: 0.8rem;
}

.footer-credits a {
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: var(--primary-color);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item span {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info {
    margin-right: 2rem;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        text-align: center;
    }

    .contact-info {
        margin-right: none;
    }

    .hero-content h1 {
        font-size: 3rem;
    }


}