/* ========================================
   JC Piscinas V3.0 - Premium Edition
   ======================================== */

:root {
    --primary: #0077BE;
    --primary-light: #00A8E8;
    --primary-dark: #0047AB;
    --secondary: #FF8C00;
    --secondary-light: #FFA500;
    --dark: #0a1628;
    --light: #f8fbff;
    --white: #ffffff;
    --gray: #6b7280;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 40px rgba(0, 119, 190, 0.15);
    --shadow-hover: 0 20px 60px rgba(0, 119, 190, 0.25);
}

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

html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========================================
   CANVAS DE PARTÍCULAS
   ======================================== */
.water-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ========================================
   HEADER V3 - MENU DIVIDIDO COM EFEITO NUVEM
   ======================================== */
.header-v3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 119, 190, 0.10);
    overflow: visible;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 25px 0;
}

.header-v3.scrolled .header-inner {
    padding: 12px 0;
}

/* Efeito nuvem SVG no bottom do header */
.header-cloud {
    position: absolute;
    bottom: -49px;
    left: 0;
    width: 100%;
    height: 50px;
    pointer-events: none;
    z-index: 999;
    line-height: 0;
}

.header-cloud svg {
    width: 100%;
    height: 50px;
    display: block;
}

/* Menu Esquerdo e Direito */
.nav-left,
.nav-right {
    flex: 1;
}

.nav-left .nav-menu,
.nav-right .nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-left .nav-menu {
    justify-content: flex-end;
    padding-right: 100px;
}

.nav-right .nav-menu {
    justify-content: flex-start;
    padding-left: 100px;
}

/* Links */
.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Logo Central */
.logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo-wrapper {
    position: relative;
    display: block;
}

.logo-img {
    height: 65px;
    transition: var(--transition);
    filter: drop-shadow(0 3px 10px rgba(0, 119, 190, 0.2));
}

.header-v3.scrolled .logo-img {
    height: 50px;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.logo-wrapper:hover .logo-glow {
    opacity: 1;
}

/* Menu Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    display: block;
    transform-origin: center;
}

/* Hamburguer branco + X quando menu está aberto */
.menu-toggle.active span {
    background: var(--white);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 100px 30px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: 25px;
}

.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--primary-light);
}

/* Responsivo */
@media (max-width: 991px) {

    .nav-left,
    .nav-right {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo-center {
        position: static;
        transform: none;
        margin: 0 auto;
    }

    .header-inner {
        justify-content: space-between;
        padding: 12px 0;
    }

    .header-cloud {
        display: none;
    }
}

/* ========================================
   HERO V3 - BANNER DESTACADO
   ======================================== */
.hero-v3 {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-swiper-v3 {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.swiper-slide-active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(0, 30, 90, 0.75) 0%, rgba(0, 119, 190, 0.55) 60%, rgba(0, 168, 232, 0.45) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 160px;
}

.content-wrapper {
    max-width: 700px;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.slide-badge i {
    color: var(--secondary);
}

.slide-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 25px;
}

.title-word {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.title-word:nth-child(1) {
    animation-delay: 0.2s;
}

.title-word:nth-child(2) {
    animation-delay: 0.4s;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

.slide-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.8s forwards;
}

.slide-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

/* Botões V3 */
.btn-primary-v3 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 119, 190, 0.4);
    text-decoration: none;
}

.btn-primary-v3:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 119, 190, 0.5);
    color: var(--white);
}

.btn-outline-v3 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline-v3:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* Navegação Swiper */
.swiper-pagination-v3 {
    bottom: 100px !important;
}

.swiper-pagination-v3 .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: var(--transition);
}

.swiper-pagination-v3 .swiper-pagination-bullet-active {
    background: var(--secondary);
    width: 35px;
    border-radius: 6px;
}

.swiper-button-prev-v3,
.swiper-button-next-v3 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.swiper-button-prev-v3 {
    left: 30px;
}

.swiper-button-next-v3 {
    right: 30px;
}

.swiper-button-prev-v3:hover,
.swiper-button-next-v3:hover {
    background: var(--white);
    color: var(--primary);
}

/* Scroll Down */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-down span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 480px) {
    .scroll-down {
        display: none;
    }
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ========================================
   FEATURES BAR
   ======================================== */
.features-bar {
    background: var(--white);
    padding: 50px 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 15px;
    transition: var(--transition);
}

.feature-box:hover {
    background: var(--light);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.feature-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.feature-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ========================================
   SOBRE V3
   ======================================== */
.sobre-v3 {
    padding: 100px 0;
    background: var(--light);
    position: relative;
}

.about-images {
    position: relative;
}

.main-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.main-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition);
}

.main-image:hover img {
    transform: scale(1.05);
}

.image-float-card {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.image-float-card .card-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.image-float-card .card-text strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.image-float-card .card-text span {
    font-size: 0.85rem;
    color: var(--gray);
}

.secondary-image {
    position: absolute;
    bottom: 80px;
    left: -40px;
    width: 200px;
    height: 150px;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: var(--shadow);
}

.secondary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Conteúdo Sobre */
.about-content {
    padding-left: 30px;
}

.section-tag {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.section-tag span {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.section-tag.center {
    justify-content: center;
}

.section-tag p {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--dark);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content .lead {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.about-feature i {
    color: var(--primary);
    font-size: 20px;
}

.about-feature span {
    color: var(--dark);
    font-weight: 500;
}

/* ========================================
   SERVIÇOS V3
   ======================================== */
.servicos-v3 {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-top: 15px;
}

.services-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 119, 190, 0.3) 100%);
}

.card-content {
    padding: 30px;
    position: relative;
}

.card-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    margin-top: -60px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 119, 190, 0.3);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 15px;
    color: var(--primary-dark);
}

/* ========================================
   CTA V3
   ======================================== */
.cta-v3 {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.cta-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.btn-cta-lg {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-cta-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ========================================
   GALERIA V3 - LIGHTGALLERY
   ======================================== */
.galeria-v3 {
    padding: 100px 0;
    background: var(--light);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    display: block;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 119, 190, 0.9), rgba(0, 168, 232, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 10px;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
}

/* ========================================
   DEPOIMENTOS V3
   ======================================== */
.depoimentos-v3 {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-swiper {
    padding-bottom: 50px;
}

.testimonial-card {
    background: var(--light);
    padding: 40px;
    border-radius: 25px;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow);
}

.stars {
    color: var(--secondary);
    margin-bottom: 20px;
}

.stars i {
    margin-right: 5px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.testimonial-author h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ========================================
   CONTATO V3
   ======================================== */
.contato-v3 {
    padding: 100px 0;
    background: var(--light);
}

.contact-info {
    padding-right: 30px;
}

.contact-items {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(10px);
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.contact-item .info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-item .info p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    transform: translateY(-5px);
}

/* Formulário */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
}

.form-control,
.form-select {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 119, 190, 0.1);
}

/* ========================================
   FOOTER V3
   ======================================== */
.footer-v3 {
    background: var(--dark);
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    /* evita overflow em telas intermediárias */
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Mobile: links empilhados e centralizados */
@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-bottom i {
    color: #ef4444;
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ========================================
   MODAL
   ======================================== */
.modal-content {
    border: none;
    border-radius: 25px;
    overflow: hidden;
}

.modal-header {
    background: var(--light);
    border-bottom: none;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header img {
    height: 50px;
}

.modal-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 30px;
    border-radius: 20px;
    margin: -10px 0 -10px -10px;
}

.modal-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.modal-info p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.modal-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.modal-info li i {
    color: var(--secondary);
}

.success-icon {
    font-size: 5rem;
    color: #10b981;
    margin-bottom: 20px;
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 1199px) {

    .nav-left .nav-menu,
    .nav-right .nav-menu {
        gap: 25px;
    }

    .nav-left .nav-menu {
        padding-right: 60px;
    }

    .nav-right .nav-menu {
        padding-left: 60px;
    }

    .slide-title {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {

    .nav-left,
    .nav-right {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo-center {
        position: static;
        transform: none;
    }

    .header-inner {
        justify-content: space-between;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 1;
    }

    .about-content {
        padding-left: 0;
        margin-top: 50px;
    }

    .secondary-image {
        display: none;
    }

    .modal-info {
        margin: 0 0 30px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-logo p {
        max-width: 100%;
    }

    .image-float-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .slide-title {
        font-size: 2rem;
    }

    .slide-buttons {
        flex-direction: column;
    }

    .swiper-button-prev-v3,
    .swiper-button-next-v3 {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-row {
        grid-template-columns: 1fr;
    }

    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 1;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .image-float-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }

    .contact-item:hover {
        transform: none;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius: 5px;
}