/*
Theme Name: maxpool
Theme URI: https://website.com/maxpool
Author: vinicius soares dev
Author URI: https://website.com/maxpool
Description: landing page for company maxpool.
Requires at least: 6.7
Tested up to: 5.9
Requires PHP: 8.3
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maxpool
Tags: custom-menu, custom-logo, featured-images
*/

:root {
    --primary-blue: #03658C;
    --secondary-blue: #5DADE2;
    --light-blue: #EBF5FB;
    --silver: #BDC3C7;
    --dark-blue: #1B4F72;
    --white: #FFFFFF;
    --gray: #F8F9FA;
    --img-color: #f7f7f7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
    max-width: 100%;
}

/* Navigation */
/* Header e Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    background: var(--primary-blue);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    width: 100%;
    position: relative;
    z-index: 1000;
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

/* Logo */
.navbar-brand {
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    padding: 0;
    margin-right: 1rem;
    flex-shrink: 0;
}

.custom-logo {
    max-height: 50px !important;
    width: auto !important;
    display: block !important;
}

/* Menu principal */
.navbar-nav {
    display: flex;
    flex-direction: row;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-nav>.nav-item {
    position: relative;
    margin: 0 0.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: block;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--primary-blue);
    background-color: var(--white);
    border-radius: 4px;
}

/* Dropdown */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-blue);
    min-width: 200px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin: 0;
    padding: 0;
    display: block;
}

.navbar-nav .dropdown-item {
    color: var(--primary-blue);
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: block;
    transition: background-color 0.3s ease;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background-color: #f8f9fa;
    color: var(--primary-blue);
}

/* Botão hamburguer */
.navbar-toggler {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    order: 1;
    border: 1px solid rgba(255, 255, 255, 0.281);
}

.navbar-toggler-icon {
    width: 25px;
    height: 2px;
    background: rgba(255, 255, 255, 0.281);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.navbar-toggler.active .navbar-toggler-icon:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.navbar-toggler.active .navbar-toggler-icon:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active .navbar-toggler-icon:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Menu collapse */
.navbar-collapse {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
}

/* Hero Section */
.hero {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 64px;
}

.hero-content {
    padding-top: 20px;
    width: 100%;
    position: relative;
    z-index: 2;
    padding-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary-custom {
    background: var(--white);
    color: var(--primary-blue);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: var(--primary-blue);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--gray);
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

/* About Section */
.about {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Nova seção Why MaxPool */
.why-maxpool {
    padding: 100px 0;
    background: var(--gray);
    position: relative;
    overflow: hidden;
}

.why-maxpool::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.why-content {
    position: relative;
    z-index: 2;
}

.why-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    position: relative;
}

.why-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    position: absolute;
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.why-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.why-features {
    margin-top: 2rem;
}

.why-feature-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.why-feature-item:hover {
    transform: translateX(10px);
}

.why-feature-item i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.why-feature-item:hover i {
    color: var(--secondary-blue);
    transform: scale(1.2);
}

.why-feature-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.why-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.maxpool-logo-display {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.maxpool-logo-display::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.logo-background {
    margin-bottom: 2rem;
}

.logo-background i {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
}

.brand-text {
    position: relative;
    z-index: 2;
}

.max-text {
    display: inline-block;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    letter-spacing: -2px;
}

.pool-text {
    display: inline-block;
    font-size: 3rem;
    font-weight: 300;
    color: white;
    letter-spacing: -1px;
}

.tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
    margin-bottom: 0;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Product geral*/
.product-content-alt {
    padding: 30px 0;
}

.product-content-alt h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.product-content-alt p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.product-content-alt ul li {
    padding: 8px 0;
    font-size: 1rem;
    color: #555;
}

.ajusteimg{
    max-height: 433px;
}

/* Efeito 5: Sombra Profunda com Brilho */
.effect-deep-shadow {
    border-radius: 20px;

    transition: all 0.4s ease;
    max-width: 85%;
    object-fit: contain;
    position: relative;
    overflow: hidden;
}

.effect-deep-shadow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.effect-deep-shadow:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.effect-deep-shadow:hover {
    transform: translateY(-10px) scale(1.02) rotateX(3deg);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.2),
        0 15px 40px rgba(247, 247, 247, 0.15);
}

/* page maxdrill */
#maxdrill-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
}

#maxdrill-banner img {
    width: 100%;
    object-fit: cover;
    object-position: center 75%;
}

/* Banner Section Styles */
.banner-section {
    padding: 60px 0;
}

.banner-image-container {
    text-align: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.responsive-banner {
    width: 100%;
    height: 500px; /* Altura fixa ou use aspect-ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.banner-image-container:hover .responsive-banner {
    transform: scale(1.02);
}

/* home session CTA map */
.ctamaps {
    box-shadow: rgba(27, 31, 35, 0.04) 0px 1px 0px, rgba(255, 255, 255, 0.25) 0px 1px 0px inset !important;
}

.card-title.text-dark-blue {
    color: var(--dark-blue);
    font-weight: 700;
}

 .btnCtaMap {
    background-color: var(--primary-blue) !important;
    color: white;
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 8px;
}

 .btnCtaMap:hover {
    background-color: var(--dark-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Animação do mapa */
.map-animation-container {
    background-color: #f5f7fa;
}

.pin {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background: #04658c !important;
    position: absolute;
    transform: rotate(-45deg);
    margin: -20px 0 0 -20px;
    z-index: 1;
}

.pin:after {
    content: "";
    width: 14px;
    height: 14px;
    margin: 8px 0 0 8px;
    background: #e6e6e6;
    position: absolute;
    border-radius: 50%;
}

.bounce {
    animation-name: bounce;
    animation-fill-mode: both;
    animation-duration: 1s;
}

.pulse {
    background: #d6d4d4;
    border-radius: 50%;
    height: 14px;
    width: 14px;
    position: absolute;
    margin: 11px 0px 0px -12px;
    transform: rotateX(55deg);
    z-index: 0;
}

.pulse:after {
    content: "";
    border-radius: 50%;
    height: 40px;
    width: 40px;
    position: absolute;
    margin: -13px 0 0 -13px;
    animation: pulsate 1s ease-out;
    animation-iteration-count: infinite;
    opacity: 0;
    box-shadow: 0 0 1px 2px #0388A6;
    animation-delay: 1.1s;
}

@keyframes pulsate {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1.2, 1.2);
        opacity: 0;
    }
}

@keyframes bounce {
    0% {
        opacity: 0;
        transform: translateY(-2000px) rotate(-45deg);
    }

    60% {
        opacity: 1;
        transform: translateY(30px) rotate(-45deg);
    }

    80% {
        transform: translateY(-10px) rotate(-45deg);
    }

    100% {
        transform: translateY(0) rotate(-45deg);
    }
}

/* Classe para esconder elementos visualmente mas mantê-los acessíveis */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Melhorias para a seção */
.revendedores-cta {
    position: relative;
    z-index: 1;
}

.bg-light-blue {
    background-color: var(--light-blue);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
    height: 400px !important;
    /* Aumenta a altura do card */
    width: 100 !important;
    /* Garante que ocupe toda a largura da coluna */
}

/* Container interno com gradiente */
.gallery-item>div:first-child {
    height: 400px;
    /* ou o valor que você quiser padronizar */
    overflow: hidden;
    /* Garante que a imagem não ultrapasse */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

/* Imagem centralizada dentro do card */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Preenche o espaço sem distorcer */
    border-radius: 10px;
    transition: transform 0.3s ease;
    display: block;
}

/* Efeito de zoom ao passar o mouse */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Overlay visual (sem ícone) */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Mostrar overlay no hover */
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Video CTA Section */
.video-cta {
    padding: 100px 0;
    background: var(--gray);
}

.mobile-video-container:hover .play-button {
    transform: scale(1.1);
    background: var(--secondary-blue);
}

.cta-content {
    padding-left: 40px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-weight: 500;
}

.cta-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.cta-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
}

.cta-features i {
    color: var(--primary-blue);
    margin-right: 15px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-primary {
    background: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

/* Footer */
footer .container {
    max-width: 1140px;
    /* Limita largura máxima (padrão Bootstrap lg) */
    margin: 0 auto;
}

footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 50px 0 20px;
}

/* Remove bullets e padding da lista padrão do WP */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Links dentro do menu */
.footer-links li {
    margin-bottom: 8px;
    /* espaço entre os itens */
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-blue);
}

.footercontact {
    color: var(--white);
    text-decoration: none;
}

/* Ícones sociais */
.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
}

.autoralFooter a {
    text-decoration: none;
    color: var(--white);
}


/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128C7E;
    color: var(--white);
    transform: scale(1.1);
}

/* Custom Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: none;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*page error 404 */
.error-container {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, var(--primary-blue), var(--dark-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.error-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.6;
}

.btn-home {
    background: linear-gradient(45deg, var(--primary-blue), var(--dark-blue));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    color: white;
}

.wave-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.1)"></path></svg>') repeat-x;
    animation: wave 10s ease-in-out infinite;
}

@keyframes wave {

    0%,
    100% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(-50px);
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

@media (min-width: 1470px) {
    .responsive-banner {
        height: 650px;
    }
    
    .hero-content {
        margin-left: -35%;
    }
}

/* Media Queries Consolidadas */
@media (max-width: 991.98px) {
    body {
        padding-top: 40px;
        overflow-x: hidden;
    }

    .navbar .container {
        flex-wrap: wrap;
        padding: 0.5rem;
    }

    .navbar-toggler {
        display: flex;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--primary-blue);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
    }

    .navbar-collapse.show {
        max-height: 500px;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

    .navbar-nav>.nav-item {
        width: 100%;
        margin: 0;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        padding-left: 2rem;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: var(--white);
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }

    /* Dropdown mobile */
    .navbar-nav .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.281);
        margin-top: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        width: 100%;
        display: block !important;
    }

    .navbar-nav .dropdown.active .dropdown-menu {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .navbar-nav .dropdown-item {
        color: var(--white);
        padding: 0.5rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }

    /* Why MaxPool */
    .why-maxpool {
        padding: 60px 0;
    }

    .why-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .why-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .why-description {
        text-align: center;
        font-size: 1rem;
    }

    .why-feature-item {
        justify-content: center;
        padding: 0.6rem 0;
    }

    .maxpool-logo-display {
        margin-top: 2rem;
        padding: 2rem 1.5rem;
    }

    .max-text,
    .pool-text {
        font-size: 2.5rem;
    }

    /* CTA */
    .cta-content {
        padding-left: 0;
        text-align: center;
        margin-top: 30px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .mobile-video-container {
        height: 400px !important;
        max-width: 240px !important;
    }

    .social-icons {
        text-align: center;
    }

    .contact-item .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .contact-item .contact-icon {
        margin-right: 0 !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Ajuste específico para garantir que todos os elementos fiquem centralizados */
    .contact-item .align-items-center {
        align-items: center !important;
    }
    
    .contact-item .align-items-md-start {
        align-items: center !important;
    }
    
    .contact-item .text-md-start {
        text-align: center !important;
    }

    /*footer */
    footer .container .row.justify-content-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    footer .container .row.justify-content-center > div {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Centraliza a logo */
    footer .footer-logo {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    /* Centraliza os menus */
    footer .footer-links {
        display: inline-block;
        text-align: center;
        padding-left: 0;
        list-style: none;
    }
    
    footer .footer-links li {
        text-align: center;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    /* Garante que todo conteúdo fique centralizado */
    footer .text-lg-start.text-center {
        text-align: center !important;
    }
    
    /* Centraliza ícones sociais */
    footer .social-icons {
        justify-content: center !important;
    }
    
    /* Remove qualquer flutuação ou alinhamento lateral */
    footer .text-lg-start {
        text-align: center !important;
    }
    
    /* Corrige possíveis margens laterais */
    footer .me-2 {
        margin-right: 0.5rem !important;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-card,
    .product-card {
        margin-bottom: 30px;
    }

    /* Banner */
    .responsive-banner {
        height: 450px; /* Altura menor para mobile */
    }

    /* CTA */
    .cta-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
        margin-left: 0 !important;
    }

    .cta-features {
        text-align: left;
        display: inline-block;
    }

    /* home session CTA map */
    .map-animation-container {
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  
  /* Desloca todos os pins para a direita */
  .pin, .pulse {
    left: 30% !important; /* Move os pins para 70% da largura (mais à direita) */
  }
  
  /* Ajusta posições específicas para manter o espalhamento */
  .pin:nth-child(1), 
  .pulse:nth-child(2) {
    top: 60% !important;
  }
  
  .pin:nth-child(3), 
  .pulse:nth-child(4) {
    top: 30% !important;
    left: 50% !important; /* Um pouco mais à direita */
  }
  
  .pin:nth-child(5), 
  .pulse:nth-child(6) {
    top: 60% !important;
    left: 75% !important;
  }

    .btn-primary-blue {
        width: 100%;
        margin-top: 15px;
    }

    .error-code {
        font-size: 6rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-description {
        font-size: 1rem;
    }

    .error-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .footer-logo {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin-bottom: 1rem;
    }

    .contact-info {
        margin-top: 1rem !important;
    }

    .social-icons {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .banner-section {
        padding: 30px 0;
    }

    .banner-image {
        max-height: 150px;
    }
}

@media (max-width: 992px) {
    .cta-content {
        text-align: center;
        padding-top: 40px;
    }

    .cta-features {
        display: inline-block;
        text-align: left;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* CTA MAP */
    .btnCtaMap {
        margin-top: 2rem !important;
    }
}