/* ============================================ */
/* CONFIGURAÇÕES GERAIS E VARIÁVEIS             */
/* ============================================ */
:root {
    --whatsapp-green: #25D366;
    --dark-footer: #00011c;
    
    /* Cores da Identidade Visual */
    --brand-navy-dark: #000238;
    --brand-navy-light: #001042;
    --brand-blue-accent: #00AFEF;
    
    /* Configuração de Glassmorphism da Apple */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-hover: rgba(255, 255, 255, 0.14);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
    --glass-blur: blur(10px) saturate(130%);
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);

    --text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);

    --quality-gold: white;
    --trust-blue: #ADD8E6;
    --security-green: #87CEEB;
}

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

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Outfit', 'Montserrat', sans-serif;
    background-color: var(--brand-navy-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Camada de gradiente dinâmico 100% acelerada pela GPU (Compositor Thread) */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 25% 25%, var(--brand-navy-light) 0%, transparent 55%),
                radial-gradient(circle at 75% 75%, var(--brand-navy-light) 0%, transparent 55%),
                linear-gradient(135deg, var(--brand-navy-light) 0%, var(--brand-navy-dark) 50%, var(--brand-navy-light) 100%);
    z-index: -2;
    pointer-events: none;
    transform: none;
}

button, input, select, textarea {
    font-family: inherit;
}

/* ============================================ */
/* SPLASH SCREEN                                */
/* ============================================ */
body.splash-active {
    overflow: hidden;
}

#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: var(--brand-navy-dark, #000238);
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    isolation: isolate;
    pointer-events: none;
    --logo-x: 0px;
    --logo-y: 0px;
    --logo-scale: 1;
    --ripple-x: 50%;
    --ripple-y: 50%;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    animation: splashFailSafe 0.3s ease 2.6s forwards;
}

#splash-screen::before {
    content: '';
    position: absolute;
    inset: -20%;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 45%, rgba(0, 175, 239, 0.22), transparent 34%),
        radial-gradient(circle at 28% 72%, rgba(0, 119, 200, 0.16), transparent 38%);
    animation: splashGlow 1.5s ease-in-out both;
}

@keyframes splashFailSafe {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

#splash-screen.splash-hidden {
    opacity: 0;
    visibility: hidden;
}

#splash-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: min(280px, 68vw);
    max-width: none;
    margin: 0;
    transform: translate3d(-50%, -50%, 0);
    transform-origin: center;
    will-change: transform;
    pointer-events: none;
}

#splash-screen.splash-animating #splash-logo {
    transform: translate3d(calc(-50% + var(--logo-x)), calc(-50% + var(--logo-y)), 0) scale(var(--logo-scale));
    transition: transform 0.68s cubic-bezier(0.16, 1, 0.3, 1);
}

.splash-ripples,
.splash-ripples span {
    position: absolute;
    pointer-events: none;
}

.splash-ripples {
    inset: 0;
    z-index: 1;
}

.splash-ripples span {
    left: var(--ripple-x);
    top: var(--ripple-y);
    width: 24px;
    aspect-ratio: 1;
    border: 2px solid rgba(0, 175, 239, 0.62);
    border-radius: 50%;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.25);
    will-change: transform, opacity;
}

.splash-rippling .splash-ripples span {
    animation: splashRipple 0.95s cubic-bezier(0.1, 0.72, 0.2, 1) forwards;
}

.splash-rippling .splash-ripples span:nth-child(2) {
    animation-delay: 0.1s;
    border-color: rgba(130, 221, 255, 0.52);
}

.splash-rippling .splash-ripples span:nth-child(3) {
    animation-delay: 0.2s;
    border-color: rgba(255, 255, 255, 0.38);
}

@keyframes splashGlow {
    0% { opacity: 0.45; transform: scale(0.94); }
    55% { opacity: 1; }
    100% { opacity: 0.62; transform: scale(1.04); }
}

@keyframes splashRipple {
    0% {
        opacity: 0.85;
        transform: translate3d(-50%, -50%, 0) scale(0.25);
    }
    100% {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) scale(90);
    }
}

@media (prefers-reduced-motion: reduce) {
    #splash-screen::before,
    .splash-ripples span {
        animation: none !important;
    }

    #splash-logo {
        transition: none !important;
    }
}

/* ============================================ */
/* EFEITO DE PARALAXE                           */
/* ============================================ */
.parallax-section {
    position: relative;
    min-height: 80vh; 
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-white);
}

#section1 {
    background-image: linear-gradient(135deg, rgba(0, 16, 66, 0.45) 0%, rgba(0, 2, 56, 0.55) 100%), url('/images/fundo1.jpg');
    min-height: 100vh;
    min-height: 100dvh;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

#section1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 1, 28, 0.95) 0%, 
        rgba(0, 16, 66, 0.25) 25%, 
        rgba(0, 16, 66, 0.25) 75%, 
        rgba(0, 2, 56, 0.95) 100%
    );
    pointer-events: none;
    z-index: 1;
}

#section3 {
    background-image: linear-gradient(135deg, rgba(0, 16, 66, 0.45) 0%, rgba(0, 2, 56, 0.55) 100%), url('/images/fundo2.jpg');
    min-height: 100vh;
    min-height: 100dvh;
}

#section3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 1, 28, 0.95) 0%, 
        rgba(0, 16, 66, 0.25) 25%, 
        rgba(0, 16, 66, 0.25) 75%, 
        rgba(0, 2, 56, 0.95) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.parallax-content {
    z-index: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 900px;
}

/* ============================================ */
/* ESTILOS DAS SEÇÕES                           */
/* ============================================ */
.logo {
    max-width: 280px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
}

.logo:hover {
    transform: scale(1.02);
}

h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--text-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.03em;
    line-height: 1.1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

h1 span {
    display: inline-block;
}

.social-icons {
    display: flex; 
    gap: 15px; 
    justify-content: center; 
    align-items: center; 
    margin-top: 25px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--glass-shadow);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.social-icons a span {
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icons a:hover .fa-instagram {
    color: #E4405F; 
}

.social-icons a:hover .fa-facebook {
    color: #1877F2; 
}

.highlight-text {
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: var(--text-shadow);
    max-width: 800px;
    line-height: 1.4;
    color: var(--text-white);
}

.highlight-underline-italic {
    font-style: italic;
    text-decoration: underline;
}

.content-section {
    padding: 80px 20px;
    text-align: center;
    background: transparent;
}

.content-section h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.content-section h3 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brand-blue-accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.parallax-content .header-subtitle,
.parallax-content h4 {
    font-size: 1.4rem; 
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 10px rgba(0,0,0,0.4); 
    margin-top: 15px; 
    margin-bottom: 25px; 
    padding: 0 10px;
    max-width: 650px;
    line-height: 1.5;
}

.carrossel-section {
    background: transparent;
}

.carrossel-section h2 {
    color: var(--text-white); 
    font-weight: 800;
    margin-bottom: 20px;
}

.cor-piscina {
    color: var(--brand-blue-accent);
}

.cor-splash {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) brightness(0.9) contrast(1.1); /* Dark mode map integration */
}



#waterDropVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    pointer-events: none; 
    z-index: 0; 
    opacity: 0.42;
}

/* ============================================ */
/* CARROSSEL DE PISCINAS (SWIPER)               */
/* ============================================ */
.carrossel-section .swiper {
    width: 100%;
    padding: 20px 0 60px 0;
    cursor: grab;
}

.carrossel-section .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
}

.pool-card {
    background: rgba(255, 255, 255, 0.75); /* White glassmorphism */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 2, 56, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.pool-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.pool-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.85); /* Whiter glass on hover */
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 45px rgba(0, 2, 56, 0.25);
}

.pool-card img {
    width: 100%;
    max-height: 80%; 
    object-fit: contain; 
    filter: drop-shadow(0 12px 20px rgba(0, 2, 56, 0.2));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 20px; 
}

.pool-card:hover img {
    transform: scale(1.06);
}

.pool-name {
    font-size: 1.6rem;
    font-weight: 800;
    position: absolute; 
    bottom: 0; 
    left: 0;
    right: 0;
    padding: 20px 10px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.pool-card:hover .pool-name {
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.pool-name span {
    color: var(--brand-navy-dark);
    text-shadow: none;
    letter-spacing: -0.01em;
}

/* ============================================ */
/* CONTROLES DO CARROSSEL (SWIPER)              */
/* ============================================ */
.swiper-button-next, .swiper-button-prev {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: var(--text-white);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--glass-bg-hover);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.swiper-button-next:active, .swiper-button-prev:active {
    transform: scale(0.95);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 900;
}

/* Bolinhas de Paginação (Efeito Pílula d'Água Dinâmica) */
.swiper-pagination {
    bottom: 15px !important;
}

.swiper-pagination-bullet {
    position: relative; /* Base para o hitbox invisível */
    width: 10px !important;
    height: 10px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    opacity: 1 !important;
    margin: 0 8px !important;
    border-radius: 50% !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    cursor: pointer;
}

/* Hitbox Invisível de Acessibilidade (Touch Target WCAG >= 36x36px) */
.swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 36px;
    min-height: 36px;
    width: 100%;
    height: 100%;
}

.swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.25);
}

.swiper-pagination-bullet-active {
    background: #ffffff !important;
    width: 32px !important; /* Estica como uma pílula d'água fluida */
    border-radius: 6px !important;
    box-shadow: 0 0 12px rgba(0, 175, 239, 0.7), 0 0 4px rgba(255, 255, 255, 0.8) !important; /* Brilho azul de água */
}

/* ============================================ */
/* BOTÃO WHATSAPP                               */
/* ============================================ */
.whatsapp-button {
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, #1db853 100%);
    color: var(--text-white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    color: var(--text-white);
}

.whatsapp-button i {
    font-size: 1.5rem;
}

.floating-whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px; 
    z-index: 1000; 
}

/* ============================================ */
/* SEÇÃO VISIT-US E TRABALHE CONOSCO            */
/* ============================================ */
.visit-content-wrapper {
    display: flex;
    flex-direction: column; 
    gap: 50px; 
    margin: 0 auto; 
    padding: 0 20px; 
    max-width: 1200px;
}

@media (min-width: 769px) {
    .visit-content-wrapper {
        flex-direction: row; 
        align-items: stretch; 
        gap: 40px; 
    }

    .visit-us-container,
    .work-with-us-container {
        flex: 1;
        display: flex; 
        align-items: stretch;
    }
}

.visit-card, .work-card {
    background: rgba(255, 255, 255, 0.75); /* White glassmorphism */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 2, 56, 0.15);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    color: var(--brand-navy-dark);
    transition: all 0.3s ease;
}

.visit-card:hover, .work-card:hover {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 50px rgba(0, 2, 56, 0.25);
    background: rgba(255, 255, 255, 0.85);
}

.visit-card h3, .work-card h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-navy-dark);
    letter-spacing: -0.02em;
}

.visit-card p {
    padding-bottom: 15px;
    margin-bottom: 25px;
    color: rgba(0, 2, 56, 0.75);
    font-size: 1.05rem;
    line-height: 1.5;
}

.work-card {
    text-align: left;
}

.accordion {
    width: 100%;
}

.accordion-item {
    margin-bottom: 12px;
    border: 1px solid rgba(0, 2, 56, 0.06);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 2, 56, 0.02);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    background: rgba(0, 2, 56, 0.05);
    border-color: rgba(0, 2, 56, 0.12);
}

.accordion-header {
    background-color: transparent;
    color: var(--brand-navy-dark);
    padding: 16px 20px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '\002B';
    font-size: 1.4rem;
    color: var(--brand-navy-dark);
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    content: '\2212';
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 20px;
    background-color: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content p {
    margin-bottom: 15px;
    padding-top: 15px;
    line-height: 1.6;
    color: rgba(0, 2, 56, 0.75);
    font-size: 0.95rem;
}

.accordion-content.show {
    max-height: 400px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(0, 2, 56, 0.06);
}

.small-button {
    padding: 10px 20px;
    font-size: 0.95rem;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* ============================================ */
/* RODAPÉ                                       */
/* ============================================ */
footer {
    background-color: var(--dark-footer);
    color: var(--text-muted);
    padding: 30px 20px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-company {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-company .company-name {
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.5px;
}

.footer-company .company-cnpj {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-credits {
    text-align: right;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
}

.footer-legal a,
.footer-legal-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover,
.footer-legal-btn:hover {
    color: var(--brand-blue-accent);
    text-decoration: underline;
}

.footer-legal-dot {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}

footer a {
    color: var(--brand-blue-accent);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

footer a:hover {
    text-decoration: underline;
    color: var(--text-white);
}

/* ============================================ */
/* RESPONSIVIDADE (MEDIA QUERIES)               */
/* ============================================ */

/* Tablets e telas menores */
@media (max-width: 768px) {
    h1 {
        font-size: 3.2rem;
    }
    .highlight-text {
        font-size: 1.8rem;
    }
    .content-section h2,
    .products-header .section-title {
        font-size: 2.1rem;
        line-height: 1.2;
    }
    .products-header .section-subtitle {
        font-size: 1.2rem;
        line-height: 1.45;
    }
    .parallax-section {
        min-height: 60vh;
    }
    #section1, #section3 {
        min-height: 100vh;
        min-height: 100dvh;
    }
    .floating-whatsapp-button {
        bottom: 40px;
        right: 20px;
    }
    .logo {
        max-width: 200px;
    }
    .visit-card, .work-card {
        padding: 30px 20px;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer-company {
        text-align: center;
    }
    .footer-credits {
        text-align: center;
    }
}

/* Dispositivos móveis */
@media (max-width: 480px) {
    h1 {
        font-size: 2.4rem;
    }
    .highlight-text {
        font-size: 1.5rem;
    }
    .logo {
        max-width: 160px;
    }
    .parallax-section {
        min-height: 50vh;
    }
    #section1, #section3 {
        min-height: 100vh;
        min-height: 100dvh;
    }
    .content-section {
        padding: 50px 15px;
    }
    .content-section h2,
    .products-header .section-title {
        font-size: 1.65rem;
        line-height: 1.2;
    }
    .products-header .section-subtitle {
        font-size: 1.05rem;
        line-height: 1.45;
    }
    .content-section h3 {
        font-size: 1.6rem;
    }
    .whatsapp-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .floating-whatsapp-button {
        bottom: 20px;
        right: 15px;
    }
}

@media (min-width: 769px) {
    #visit-section {
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
    }

}

/* ============================================ */
/* SEÇÃO CATÁLOGO DE PRODUTOS (CLEAN PREMIUM)   */
/* ============================================ */
.products-section {
    position: relative;
    padding: 90px 20px;
    width: 100%;
    background: linear-gradient(180deg, var(--brand-navy-dark) 0%, #000c30 50%, var(--brand-navy-dark) 100%);
    color: var(--text-white);
    overflow: hidden;
}

.products-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

.products-header {
    text-align: center;
    margin-bottom: 40px;
}

.products-header .section-title {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
    margin-bottom: 15px;
}

.products-header .section-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    max-width: 650px;
    margin: 0 auto 25px auto;
    line-height: 1.5;
    padding: 0 10px;
}

/* Categorias / Filtros (Pílulas em Glassmorphism Apple) */
.products-categories {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    max-width: 100%;
}

.category-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    user-select: none;
    -webkit-user-select: none;
}

.category-btn span {
    font-size: 0.82rem;
    opacity: 0.85;
}

.category-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.category-btn.active {
    background: #ffffff;
    color: var(--brand-navy-dark);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.category-btn.active span {
    color: var(--brand-blue-accent);
}

/* Container do Carrossel de Produtos (Edge-to-Edge) */
.products-carousel-container {
    position: relative;
    width: 100%;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* Swiper do Catálogo de Produtos */
.products-swiper {
    width: 100%;
    overflow: hidden;
    padding: 10px 0 20px;
    position: relative;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.products-swiper:active,
.products-swiper.swiper-grabbing,
.products-swiper.swiper-grabbing * {
    cursor: grabbing !important;
}

.products-swiper .swiper-wrapper {
    align-items: stretch;
    box-sizing: border-box;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    cursor: grab;
}

/* Slide de Coluna (Emparelhamento Vertical de 2 Cards) */
.product-column-slide {
    width: 260px !important;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: auto;
    flex-shrink: 0;
    box-sizing: border-box;
    cursor: grab;
    padding: 0 !important;
    margin: 0;
}

/* Botões de Navegação Lateral Swiper (Coerentes com o Carrossel de Piscinas) */
.products-swiper-prev,
.products-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-white);
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.products-swiper-prev.swiper-button-disabled,
.products-swiper-next.swiper-button-disabled {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.products-swiper-prev {
    left: 20px;
}

.products-swiper-next {
    right: 20px;
}

.products-swiper-prev:hover,
.products-swiper-next:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.products-swiper-prev:active,
.products-swiper-next:active {
    transform: translateY(-50%) scale(0.95);
}

.products-swiper-prev::after,
.products-swiper-next::after {
    font-size: 16px;
    font-weight: 900;
}

/* Card de Produto Clean & Minimalista Premium em 2 Linhas */
.product-card {
    height: 310px;
    width: 100%;
    box-sizing: border-box;
    min-height: 0;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 2, 56, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    contain: layout paint style;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                background 0.3s ease, 
                border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    text-align: left;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 36px rgba(0, 2, 56, 0.22);
}

/* Imagem do Produto */
.product-card-img-wrapper {
    position: relative;
    background: transparent;
    height: 160px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border-bottom: none;
    flex-shrink: 0;
}

.product-card-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    filter: drop-shadow(0 6px 14px rgba(0, 2, 56, 0.12));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-img {
    transform: scale(1.06);
}

/* Badge de Destaque */
.product-badge-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #b45309;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Corpo do Card */
.product-card-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-card-cat {
    font-size: 0.72rem;
    color: #0284c7;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.7px;
    margin-bottom: 4px;
}

.product-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-navy-dark);
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Rodapé do Card com CTA e WhatsApp */
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 2, 56, 0.06);
}

.product-card-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-navy-dark);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease, gap 0.2s ease;
}

.product-card:hover .product-card-cta {
    color: #0284c7;
    gap: 8px;
}

.product-card-zap-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--whatsapp-green);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.product-card-zap-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

/* Estado vazio */
.products-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    width: 100%;
}

/* Skeleton loader */
.products-skeleton-loader {
    display: contents;
}

.skeleton-card {
    height: 100%;
    width: 260px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}

.skeleton-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: skeletonShimmerGpu 1.5s infinite;
    will-change: transform;
}

@keyframes skeletonShimmerGpu {
    100% {
        transform: translateX(100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .skeleton-card::after {
        animation: none;
    }
}

/* Rodapé da seção de produtos */
.products-footer {
    text-align: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.products-footer p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.main-catalog-btn {
    display: inline-flex;
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, #1db853 100%);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

/* ============================================ */
/* MODAL DE DETALHES DO PRODUTO (CLEAN LUXURY) */
/* ============================================ */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.product-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 2, 56, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.product-modal-content {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    max-width: 760px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 2, 56, 0.35);
    transform: scale(0.94) translateY(15px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal.open .product-modal-content {
    transform: scale(1) translateY(0);
}

.product-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 10;
    background: rgba(0, 2, 56, 0.06);
    border: none;
    color: var(--brand-navy-dark);
    font-size: 1.6rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.product-modal-close:hover {
    background: rgba(0, 2, 56, 0.12);
    transform: scale(1.1);
}

.product-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.product-modal-image-wrapper {
    position: relative;
    background: #f1f5f9;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.product-modal-image-wrapper img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 2, 56, 0.1));
}

.product-modal-info {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.product-modal-info h3 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--brand-navy-dark);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.product-category-tag {
    font-size: 0.8rem;
    color: #0284c7;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.product-description {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
}

.product-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-zap-btn {
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, #1db853 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* RESPONSIVIDADE DO CATÁLOGO DE PRODUTOS */
@media (max-width: 992px) {
    .product-column-slide {
        width: 220px !important;
        gap: 14px;
    }
    .product-card {
        height: 280px;
    }
    .product-card-img-wrapper {
        height: 135px;
        padding: 0;
    }
    .product-card-title {
        font-size: 0.88rem;
    }
    .products-swiper-prev {
        left: 10px;
    }
    .products-swiper-next {
        right: 10px;
    }
    .product-column-slide .skeleton-card {
        height: 280px;
    }
    .product-modal-body {
        grid-template-columns: 1fr;
    }
    .product-modal-image-wrapper {
        min-height: 220px;
        padding: 20px;
    }
    .product-modal-info {
        padding: 25px 20px;
    }
}

@media (max-width: 640px) {
    .products-section {
        padding: 45px 0 50px;
    }
    .products-carousel-container {
        margin-top: 18px;
    }
    .products-swiper {
        padding: 10px 0 20px;
        overflow: hidden;
    }
    .products-swiper-prev,
    .products-swiper-next {
        display: none;
    }
    /* 1 Coluna (com 1 card por linha) Centralizada com gap simétrico de 12px */
    .product-column-slide {
        width: calc(100vw - 48px) !important;
        max-width: 340px;
        gap: 12px;
        box-sizing: border-box;
    }
    .product-card {
        height: 250px;
        border-radius: 16px;
    }
    .product-card-img-wrapper {
        height: 125px;
        padding: 0;
    }
    .product-card-body {
        padding: 12px 14px;
    }
    .product-card-title {
        font-size: 0.9rem;
        margin-bottom: 6px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }
    .product-card-cat {
        font-size: 0.68rem;
    }
    .product-card-cta {
        font-size: 0.78rem;
        gap: 5px;
    }
    .product-card-zap-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .product-column-slide .skeleton-card {
        height: 250px;
    }
    .products-categories {
        border-radius: 24px;
        padding: 4px;
        gap: 4px;
    }
    .category-btn {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
}

/* ============================================ */
/* BANNER DE CONSENTIMENTO DE COOKIES (DISCRETO) */
/* ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 380px;
    width: calc(100% - 48px);
    z-index: 9998;
    background: rgba(0, 2, 56, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 175, 239, 0.35);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 175, 239, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
    pointer-events: none;
}

/* Seções fora da tela não precisam ser pintadas durante a primeira renderização. */
.carrossel-section,
.products-section,
#visit-section,
footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}

@media (max-width: 767px) {
    #waterDropVideo {
        display: none;
    }

    .social-icons a,
    .swiper-button-next,
    .swiper-button-prev,
    .products-categories,
    .product-badge-tag,
    .cookie-banner {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

.cookie-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.cookie-icon {
    color: var(--brand-blue-accent);
    font-size: 1rem;
}

.cookie-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.cookie-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
    margin-bottom: 14px;
}

.cookie-desc a {
    color: var(--brand-blue-accent);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.cookie-desc a:hover {
    color: #ffffff;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cookie-btn {
    border: none;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px 16px;
    font-family: inherit;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--brand-blue-accent) 0%, #0077c8 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 175, 239, 0.35);
    flex: 1;
    text-align: center;
}

.cookie-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 175, 239, 0.5);
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

@media (max-width: 640px) {
    .cookie-banner {
        bottom: 85px;
        left: 16px;
        width: calc(100% - 32px);
        max-width: none;
        padding: 16px;
    }
}


