:root {
    --primary: #00AEEF;
    --primary-light: #48CAE4;
    --primary-dark: #0077B6;
    --accent: #FFE57F;
    --text-main: #1A1A1A;
    --text-light: #666666;
    --bg-main: transparent;
    --bg-card: rgba(255, 255, 255, 0.75);
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.3);
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-highlight: 'Playfair Display', serif;
    
    --shadow-soft: 0 8px 32px rgba(0, 119, 182, 0.1);
    --shadow-hover: 0 16px 48px rgba(0, 119, 182, 0.2);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: transparent;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-outline {
    display: inline-block;
    padding: 14px 28px;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                border-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                backdrop-filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 119, 182, 0.12);
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.scrolled .nav-container {
    padding: 12px 20px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-tudo { color: var(--primary-dark); }
.logo-azul { color: var(--primary-light); }
.logo-piscinas { color: var(--primary); font-weight: 400; margin-left: 4px; }

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

.nav-links a:not(.btn-primary).active {
    color: var(--primary);
}

.nav-links a:not(.btn-primary).active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    animation: slideInBar 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInBar {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    pointer-events: none;
}

.hero-content {
    max-width: 950px;
    text-align: center;
    z-index: 1;
    padding: 0 20px;
    margin-top: 40px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.8rem); /* Slightly larger, more modern and impactful desktop scale */
    font-weight: 800;
    color: var(--primary-dark); /* Breathtaking, premium deep blue for high-end professional feel */
    margin-bottom: 24px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-shadow: none !important; /* CRITICAL: Must be none on block parent so WebKit does not render it over transparent clipped text */
}

/* Style only the standard dynamically generated letter spans */
.hero h1 span:not(.highlight) {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.75) !important; /* Clean backdrop glow only on regular letters */
}

/* Breathtaking, luxurious serif highlight for "Resort" */
.hero h1 span.highlight {
    font-family: var(--font-highlight) !important;
    font-weight: 700 !important;
    font-style: italic !important;
    background: linear-gradient(135deg, #0077b6 0%, #00b4d8 50%, #48cae4 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline-block;
    padding-right: 12px; /* Crucial padding to prevent italic serif letters from clipping in Chrome/Edge */
    padding-left: 4px;
    filter: drop-shadow(0 2px 12px rgba(0, 180, 216, 0.35));
    text-shadow: none !important; /* Prevents shadow rendering bug completely */
}

.hero p {
    font-size: clamp(1.15rem, 2.6vw, 1.55rem);
    color: #0f172a;
    margin-bottom: 45px;
    max-width: 820px;
    margin-inline: auto;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.95);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-main);
    border-radius: 12px;
    position: relative;
}

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

@keyframes scroll {
    0% { top: 4px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* Main Content Wrapper (Proteção do Canvas 3D e Estilo Web App com Degradê Azul Líquido) */
.main-content-wrapper {
    background: linear-gradient(180deg, #f0f7fc 0%, #e6f3fa 25%, #dbeffe 60%, #f0f7fc 100%);
    position: relative;
    z-index: 2;
    box-shadow: 0 -20px 40px rgba(0, 119, 182, 0.08);
}

/* Sections Common */
section:not(.hero) {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}



.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Partners Marquee */
.partners {
    background: transparent;
    overflow: hidden;
    padding: 80px 0;
    max-width: 100% !important;
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.partners-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    background: transparent;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.partners-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 20s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    width: 340px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.partner-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.partner-logo img {
    max-width: 240px;
    max-height: 100px;
    object-fit: contain;
    transition: var(--transition);
    animation: floatPartner 3.5s ease-in-out infinite alternate;
    opacity: 0.9;
}

.partner-logo:hover img {
    transform: scale(1.1);
    opacity: 1;
    animation-play-state: paused;
}

.partner-logo:nth-child(3n+1) img {
    animation-delay: 0s;
}

.partner-logo:nth-child(3n+2) img {
    animation-delay: 0.6s;
}

.partner-logo:nth-child(3n+3) img {
    animation-delay: 1.2s;
}

@keyframes floatPartner {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-8px) rotate(-1.5deg); }
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-340px * 3)); }
}

/* About Us (Quem Somos) */
.mobile-close-about-row {
    display: none;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-soft);
    animation: subtleFloat 6s ease-in-out infinite alternate;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
}

.about-img-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 119, 182, 0.2));
    border: 2px dashed rgba(0, 119, 182, 0.3);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: var(--primary-dark);
    font-weight: 600;
    transition: var(--transition);
}

.about-img-placeholder:hover {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.15), rgba(0, 119, 182, 0.25));
    border-color: var(--primary);
}

.about-placeholder-icon {
    stroke: var(--primary);
    animation: subtleFloat 3s ease-in-out infinite alternate;
}

.about-text {
    flex: 1.2;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.feature-icon {
    font-size: 1.3rem;
}

@media (max-width: 968px) {
    .about-container {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }
    .about-img-placeholder {
        height: 250px;
    }
}

/* Services */
.services {
    max-width: 100% !important;
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden;
}

.services .section-header, .partners .section-header {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Services Marquee Carousel with Buttons */
.services-carousel-container {
    position: relative;
    width: 100%;
    max-width: 100% !important;
    overflow: visible;
}

.services-slider {
    position: relative;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 45px 0;
    background: transparent;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.services-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.services-track {
    display: flex;
    width: max-content;
    gap: 40px;
    padding: 0 10vw; /* Padding for nice start/end spacing */
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 119, 182, 0.15);
}

.nav-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 119, 182, 0.35);
    transform: translateY(-50%) scale(1.1);
}

.nav-btn svg {
    transition: transform 0.3s ease;
}

.nav-btn:active svg {
    transform: scale(0.85);
}

.prev-btn {
    left: 4vw;
}

.next-btn {
    right: 4vw;
}

@media (max-width: 768px) {
    .nav-btn {
        width: 48px;
        height: 48px;
    }
    .prev-btn {
        left: 2vw;
    }
    .next-btn {
        right: 2vw;
    }
}

.service-card {
    width: 320px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    padding: 20px 10px;
    box-shadow: none;
    transition: var(--transition);
    position: relative;
    overflow: visible;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: floatService 4s ease-in-out infinite alternate;
}

.service-card:nth-child(3n+1) {
    animation-delay: 0s;
}

.service-card:nth-child(3n+2) {
    animation-delay: 0.8s;
}

.service-card:nth-child(3n+3) {
    animation-delay: 1.6s;
}

.service-card:hover {
    transform: scale(1.08) translateY(-10px);
    animation-play-state: paused;
}

@keyframes floatService {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

@keyframes scrollServicesMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-360px * 6)); }
}

.service-card .service-visual {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.service-card .porthole {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.08), rgba(0, 119, 182, 0.15));
    border: 3px solid var(--glass-border);
    box-shadow: 0 8px 24px rgba(0, 119, 182, 0.1), inset 0 2px 10px rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card .porthole::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
    top: -50%;
    left: -50%;
    transition: transform 0.6s ease;
    z-index: 2;
}

.service-card:hover .porthole {
    transform: scale(1.08);
    border-color: var(--primary-light);
    box-shadow: 0 12px 30px rgba(0, 119, 182, 0.25), inset 0 2px 10px rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.15), rgba(0, 119, 182, 0.25));
}

.service-card:hover .porthole::after {
    transform: translate(15px, 15px);
}

.service-card .porthole img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover .porthole img {
    transform: scale(1.15);
}

.service-card .porthole svg {
    width: 44px;
    height: 44px;
    color: var(--primary-dark);
    z-index: 2;
    transition: transform 0.5s var(--bounce), color 0.3s ease;
}

.service-card:hover .porthole svg {
    transform: scale(1.15);
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

.service-card p {
    color: #1A365D;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Gallery Mock */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 26px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(0, 119, 182, 0.15);
    border-radius: 50px;
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.05);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.75);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.1);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.25);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
    transition: all 0.4s ease;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    animation: subtleFloat 5s ease-in-out infinite alternate-reverse;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hide {
    display: none !important;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item .overlay span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    background: transparent;
    max-width: 100%;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-hover);
    animation: subtleFloat 6s ease-in-out infinite alternate;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    color: var(--primary-dark);
    font-weight: 500;
}

.interactive-contact-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.interactive-contact-link:hover {
    color: var(--primary);
    text-decoration: underline;
    transform: translateX(4px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--glass-bg);
    color: var(--text-main);
    backdrop-filter: blur(5px);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '▼';
    font-size: 0.8rem;
    color: var(--primary-dark);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: var(--transition);
}

.contact-form select {
    cursor: pointer;
    padding-right: 45px;
}

.contact-form select option {
    background: white;
    color: var(--text-main);
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: var(--text-light);
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

/* Footer & Map Section */
footer {
    background: transparent;
    color: var(--primary-dark);
    padding: 60px 20px 40px;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    animation: subtleFloat 5s ease-in-out infinite alternate-reverse;
}

.footer-info-section {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.footer-details p {
    margin: 10px 0;
    font-size: 1.05rem;
    color: var(--primary-dark);
    font-weight: 500;
}

.footer-map-section {
    flex: 1;
    min-width: 300px;
    width: 100%;
}

.footer-map {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    border: none;
    filter: sepia(30%) hue-rotate(160deg) saturate(150%) contrast(100%);
    transition: filter 0.5s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.footer-map:hover {
    filter: none;
}

/* Footer Socials */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--primary-dark);
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.social-box:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 119, 182, 0.3);
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.4);
    z-index: 1000;
    animation: subtleFloat 4s ease-in-out infinite alternate;
    transition: var(--transition);
}

.whatsapp-float:hover {
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.6);
}

.whatsapp-float svg {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover svg {
    transform: scale(1.15);
}

/* Animations */
.animated-logo {
    height: 65px;
    animation: floatLogo 6s ease-in-out infinite alternate;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
    transform-origin: bottom center;
}

.animated-logo:hover {
    transform: scale(1.05) rotate(0deg);
    animation-play-state: paused;
}

@keyframes floatLogo {
    0% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-6px) rotate(3deg); }
    100% { transform: translateY(0) rotate(-3deg); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }

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

@keyframes subtleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

@keyframes floatLetter {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 { font-size: 3.5rem; }
    .hero p { font-size: 1.2rem; }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    section:not(.hero) {
        padding: 55px 16px !important;
    }

    .section-header {
        margin-bottom: 35px !important;
    }

    .section-header h2 {
        font-size: clamp(1.7rem, 6.5vw, 2.2rem) !important;
        margin-bottom: 12px !important;
    }

    .section-header p {
        font-size: clamp(0.95rem, 4vw, 1.1rem) !important;
    }

    .service-card {
        background: rgba(255, 255, 255, 0.5) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 1px solid rgba(255, 255, 255, 0.45) !important;
        border-radius: 24px !important;
        padding: 30px 20px !important;
        box-shadow: 0 10px 30px rgba(0, 119, 182, 0.05) !important;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 30px 20px;
        gap: 20px;
        border-bottom: 1px solid rgba(0, 119, 182, 0.1);
        box-shadow: 0 10px 25px rgba(0, 119, 182, 0.08);
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 999;
    }

    .navbar.mobile-open .nav-links {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 1.15rem;
        color: var(--primary-dark);
    }

    .nav-links .btn-primary {
        margin-top: 10px;
        display: inline-block;
        width: 80%;
        margin-inline: auto;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        cursor: pointer;
        color: var(--primary-dark);
        transition: transform 0.3s var(--bounce);
    }

    /* Animated Hamburger to X */
    .navbar.mobile-open .mobile-menu-btn {
        transform: rotate(90deg);
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .hero h1 { 
        font-size: clamp(2.3rem, 8.5vw, 3.2rem) !important;
        line-height: 1.08 !important; 
        word-break: keep-all;
        overflow-wrap: normal;
        letter-spacing: -0.035em;
    }
    .hero p { 
        font-size: clamp(1.05rem, 4vw, 1.2rem) !important; 
        max-width: 95%; 
        margin-inline: auto; 
        line-height: 1.5;
    }
    
    .services-slider, .partners-slider {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    }

    .partner-logo {
        width: 240px;
    }
    .partner-logo img {
        max-width: 170px;
        max-height: 75px;
    }
    
    @keyframes scrollMarquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-240px * 3)); }
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
        gap: 15px;
    }
    
    .hero-buttons .btn-primary, .hero-buttons .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .duck-container {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 10px;
    }

    .hero h1 { 
        font-size: clamp(2rem, 9.5vw, 2.3rem) !important; 
        line-height: 1.12 !important; 
        word-break: keep-all;
        overflow-wrap: normal;
        letter-spacing: -0.03em;
    }
    .hero p { 
        font-size: 0.95rem; 
        max-width: 95%; 
        margin-inline: auto; 
    }
    
    .services-slider, .partners-slider {
        -webkit-mask-image: none;
        mask-image: none;
    }
    
    .services-track {
        padding: 0 20px;
        gap: 20px;
    }
    
    .service-card {
        width: 280px;
        padding: 25px 15px !important;
    }
    .service-card .porthole {
        width: 100px;
        height: 100px;
    }
    .service-card h3 {
        font-size: 1.3rem;
    }
    .service-card p {
        font-size: 0.95rem;
    }
    
    .partner-logo {
        width: 180px;
    }
    .partner-logo img {
        max-width: 130px;
        max-height: 55px;
    }
    
    @keyframes scrollMarquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-180px * 3)); }
    }
    
    .duck-container {
        width: 55px;
        height: 55px;
    }
    
    .about-img-placeholder {
        height: 220px;
    }
}

/* Easter Egg: Sniper Bullet */
.easter-egg-bullet {
    position: fixed;
    top: 60%;
    left: -600px;
    z-index: 9999;
    pointer-events: none;
    animation: flyBullet 20s ease-in infinite;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
    opacity: 0.8;
}

@keyframes flyBullet {
    0% { left: -600px; }
    2% { left: 110vw; } /* Super fast! 0.4s to cross */
    100% { left: 110vw; }
}

/* GPU Acceleration Optimizations for 60fps Animations */
.duck-container, .floating-duck, .service-card, .partner-logo img, .animated-logo, .about-img-placeholder svg {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Rubber Duck Easter Egg Styling */
.duck-container {
    position: absolute;
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 75%;
    z-index: 8;
    cursor: pointer;
    user-select: none;
    transition: left 4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                bottom 4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center bottom;
}

.floating-duck {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 16px rgba(0, 119, 182, 0.25));
    animation: duckFloatBob 3s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes duckFloatBob {
    0% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-12px) rotate(6deg); }
    100% { transform: translateY(0) rotate(-3deg); }
}

.duck-bubble {
    position: absolute;
    bottom: 95px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 6px 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.2);
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.7) translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 15;
}

.duck-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: white transparent;
    display: block;
    width: 0;
}

.duck-bubble::before {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 9px 9px 0;
    border-style: solid;
    border-color: var(--primary) transparent;
    display: block;
    width: 0;
    z-index: -1;
}

.duck-bubble.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

@keyframes letterBumpShake {
    0% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-15px) scale(1.15) rotate(-5deg); }
    50% { transform: translateY(5px) scale(0.95) rotate(3deg); }
    75% { transform: translateY(-5px) rotate(-2deg); }
    100% { transform: translateY(0) scale(1) rotate(0deg); }
}

.bump-shake {
    animation: letterBumpShake 0.8s ease-out !important;
}

/* Water Droplet Splash Effects */
.water-droplet {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #90e0ef;
    border-radius: 50%;
    pointer-events: none;
    z-index: 20;
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.6);
}

@keyframes dropletBurst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* Button Collision Response */
@keyframes buttonSplashBounce {
    0% { transform: scale(1); }
    30% { transform: scale(0.92) translateY(3px) rotate(-1.5deg); }
    60% { transform: scale(1.06) translateY(-3px) rotate(1.5deg); }
    100% { transform: scale(1) translateY(0) rotate(0deg); }
}

.btn-bounce {
    animation: buttonSplashBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Glassmorphic Success Toast */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: -450px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 180, 216, 0.25);
    padding: 16px 24px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 119, 182, 0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 9999;
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
    max-width: 380px;
}

.toast-notification.show {
    right: 30px;
    opacity: 1;
    pointer-events: auto;
}

.toast-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
    flex-shrink: 0;
}

.toast-text h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-bottom: 2px;
    font-size: 1rem;
    font-weight: 700;
}

.toast-text p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .toast-notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
    }
    .toast-notification.show {
        right: 20px;
        left: 20px;
    }
}

/* ==========================================
   Comunidade & Avaliações Google
   ========================================== */
.social-hub {
    background: transparent;
    width: 100%;
    max-width: 100% !important;
    overflow-x: hidden;
    padding: 100px 20px;
}

.social-hub-container {
    max-width: 1200px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: stretch;
}

/* Google Reviews Panel */
.google-reviews-panel, .instagram-feed-panel {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-hover);
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.google-rating-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 119, 182, 0.1);
    padding-bottom: 20px;
}

.google-badge-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.google-meta h3 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.rating-stars-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.rating-number {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.stars-gold {
    color: #FFB300;
    font-size: 1rem;
    letter-spacing: 1px;
}

.reviews-count {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
}

.google-verified-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2e7d32;
    background: rgba(46, 125, 50, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(46, 125, 50, 0.12);
}

/* Reviews Grid */
.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 22px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.02);
    will-change: transform;
}

.review-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 24px rgba(0, 119, 182, 0.08);
    border-color: rgba(0, 180, 216, 0.35);
    background: rgba(255, 255, 255, 0.6);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

.avatar-blue { background: linear-gradient(135deg, #0077b6, #00b4d8); }
.avatar-turquoise { background: linear-gradient(135deg, #00b4d8, #90e0ef); }
.avatar-navy { background: linear-gradient(135deg, #03045e, #0077b6); }

.reviewer-info h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.reviewer-info .review-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

.google-g-icon {
    font-family: var(--font-heading);
    font-weight: 900;
    color: #4285F4;
    font-size: 1.15rem;
    margin-left: auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f0f4f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-rating {
    color: #FFB300;
    font-size: 0.85rem;
    margin: 8px 0 6px;
    letter-spacing: 1px;
}

.review-text {
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.5;
    font-style: italic;
}

/* Instagram Panel Header */
.instagram-panel-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0, 119, 182, 0.1);
    padding-bottom: 20px;
}

.insta-icon-header {
    color: #E1306C;
}

.insta-meta-header h3 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.insta-meta-header p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.btn-insta-follow {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white !important;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(0, 119, 182, 0.2);
    transition: var(--transition);
    margin-left: auto;
}

.btn-insta-follow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 119, 182, 0.35);
}

/* Instagram Grid */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.insta-post-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    cursor: pointer;
}

.insta-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.insta-overlay-glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 119, 182, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.insta-interaction {
    display: flex;
    gap: 15px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

.insta-post-card:hover img {
    transform: scale(1.08);
}

.insta-post-card:hover .insta-overlay-glass {
    opacity: 1;
}

/* Social Channels Row */
.social-channels-row {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-badge {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    font-family: var(--font-heading);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.4);
    color: var(--primary-dark);
}

.social-badge svg {
    transition: transform 0.3s ease;
}

.social-badge:hover svg {
    transform: scale(1.15);
}

.social-badge.instagram:hover {
    color: #E1306C;
    background: rgba(225, 48, 108, 0.08);
    border-color: rgba(225, 48, 108, 0.25);
    transform: translateY(-2px);
}

.social-badge.facebook:hover {
    color: #1877F2;
    background: rgba(24, 119, 242, 0.08);
    border-color: rgba(24, 119, 242, 0.25);
    transform: translateY(-2px);
}

.social-badge.whatsapp:hover {
    color: #25D366;
    background: rgba(37, 211, 102, 0.08);
    border-color: rgba(37, 211, 102, 0.25);
    transform: translateY(-2px);
}

/* Responsive Community Section */
@media (max-width: 968px) {
    .social-hub-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .social-hub {
        padding: 60px 15px;
    }
    .google-reviews-panel, .instagram-feed-panel {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .google-rating-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .google-verified-tag {
        align-self: flex-start;
    }
    .social-channels-row {
        flex-direction: column;
        gap: 10px;
    }
    .social-badge {
        padding: 10px;
    }
}

/* 360 Virtual Tour Viewer & CTA Highlight */
.about-360-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    background: rgba(0, 174, 239, 0.08);
    border: 1.5px dashed rgba(0, 174, 239, 0.35);
    border-radius: 16px;
    padding: 12px 20px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.04);
}

.about-360-cta h4 {
    font-size: 0.95rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    font-family: var(--font-heading);
}

.about-360-cta .pulse-ring {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.about-360-cta .pulse-ring::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--primary);
    border-radius: 50%;
    animation: ctaPulse 1.8s infinite;
}

@keyframes ctaPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.2); opacity: 0; }
}

.about-360-container {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 119, 182, 0.15);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-360-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 119, 182, 0.25);
}

.about-360-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

.about-360-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 119, 182, 0.85);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    z-index: 10;
    pointer-events: none;
}

.about-360-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: tourPulse 1.5s infinite;
}

@keyframes tourPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@media (max-width: 968px) {
    .about-360-container {
        height: 380px;
    }
}

/* ==========================================
   Google Reviews Promo Panel Styling
   ========================================== */
.google-reviews-promo {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.promo-title {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
}

.promo-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.promo-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 10px;
}

.promo-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 16px;
    transition: var(--transition);
}

.promo-feature-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 180, 216, 0.25);
}

.promo-feature-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.promo-feature-text h4 {
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3px;
    margin-top: 0;
}

.promo-feature-text p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.reviews-actions-row {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-google-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.2);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-google-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.35);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.btn-google-outline {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: transparent;
    color: var(--primary-dark) !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    border: 2px solid var(--primary-dark);
    transition: var(--transition);
}

.btn-google-outline:hover {
    background: var(--primary-dark);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.15);
}

@media (max-width: 576px) {
    .reviews-actions-row {
        flex-direction: column;
        gap: 12px;
    }
    .btn-google-primary, .btn-google-outline {
        width: 100%;
    }
}

/* ==========================================
   Responsive Layout & Frame Optimizations
   ========================================== */
@media (max-width: 1200px) {
    .social-hub-container {
        gap: 30px;
        padding: 0 15px;
    }
    .contact-container {
        gap: 40px;
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    /* Dinamic About Us Section Mobile Controller */
    .about {
        display: none !important;
        opacity: 0;
    }
    
    .about.show-mobile-about {
        display: block !important;
        opacity: 1;
        animation: expandAbout 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @keyframes expandAbout {
        from {
            transform: scale(0.96) translateY(25px);
            opacity: 0;
        }
        to {
            transform: scale(1) translateY(0);
            opacity: 1;
        }
    }
    
    .mobile-close-about-row {
        display: flex !important;
        justify-content: center;
        margin-top: 30px;
        width: 100%;
    }

    /* Globally adjust section paddings on mobile for a tighter, more elegant frame */
    section:not(.hero) {
        padding: 45px 15px !important;
    }
    .social-hub {
        padding: 45px 15px !important;
    }
    
    /* Ensure containers are compact and fit standard mobile screens perfectly */
    .about-container, .contact-container {
        padding: 25px 15px;
        border-radius: 20px;
        gap: 25px;
    }
    .google-reviews-panel, .instagram-feed-panel {
        padding: 22px 15px;
        border-radius: 20px;
        gap: 18px;
    }
    .about-image {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        align-items: stretch !important;
        gap: 15px !important;
    }
    .about-360-cta {
        width: 100% !important;
        padding: 12px 16px !important;
    }
    .about-360-container {
        border-radius: 16px;
        height: 380px !important;
        width: 100% !important;
    }

    /* Projetos - Carrossel Horizontal Compacto */
    .gallery-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 15px !important;
        padding: 10px 5px 25px !important;
        scroll-behavior: smooth !important;
        scrollbar-width: none !important; /* Firefox */
        grid-template-columns: none !important;
        grid-auto-rows: auto !important;
    }
    .gallery-grid::-webkit-scrollbar {
        display: none !important; /* Chrome/Safari */
    }
    .gallery-item, .gallery-item.large {
        flex: 0 0 85% !important;
        width: 85% !important;
        height: 250px !important;
        scroll-snap-align: center !important;
        grid-column: auto !important;
        grid-row: auto !important;
        animation: none !important; /* Remove float para maior suavidade */
    }
    .gallery-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .gallery-item .overlay {
        opacity: 1 !important;
        transform: translateY(0) !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 30%, transparent 100%) !important;
        padding: 20px 15px !important;
    }
    .gallery-item .overlay span {
        font-size: 1.1rem !important;
    }

    /* Compactação do Painel do Google Reviews */
    .google-reviews-promo {
        margin: 10px 0 !important;
        gap: 12px !important;
    }
    .google-reviews-promo .promo-desc {
        display: none !important; /* Remove texto longo explicativo no mobile */
    }
    .promo-title {
        font-size: 1.15rem !important;
        text-align: center !important;
    }
    .promo-features-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .promo-feature-card {
        padding: 12px !important;
        gap: 10px !important;
    }
    .promo-feature-text h4 {
        font-size: 0.9rem !important;
    }
    .promo-feature-text p {
        font-size: 0.8rem !important;
    }
    .reviews-actions-row {
        margin-top: 5px !important;
        gap: 10px !important;
    }
    .btn-google-primary, .btn-google-outline {
        padding: 12px 16px !important;
        font-size: 0.85rem !important;
    }
    
    /* Compactação do Painel do Instagram */
    .instagram-panel-header {
        padding-bottom: 12px !important;
        gap: 10px !important;
    }
    .insta-meta-header h3 {
        font-size: 1rem !important;
    }
    .btn-insta-follow {
        padding: 6px 14px !important;
        font-size: 0.8rem !important;
    }
    .insta-grid {
        gap: 8px !important;
    }
    .insta-overlay-glass {
        opacity: 1 !important; /* Sempre visível no mobile */
        background: linear-gradient(to top, rgba(0, 119, 182, 0.4) 0%, transparent 100%) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        align-items: flex-end !important;
        justify-content: flex-start !important;
        padding: 8px !important;
    }
    .insta-interaction {
        font-size: 0.75rem !important;
        gap: 8px !important;
    }
    .social-badge {
        padding: 10px !important;
        font-size: 0.78rem !important;
    }

    /* Seção de Contato - Compactação */
    .contact-info h2 {
        font-size: 2rem !important;
        text-align: center !important;
    }
    .contact-info p {
        text-align: center !important;
        margin-bottom: 20px !important;
        font-size: 0.95rem !important;
    }
    .info-item {
        margin-bottom: 12px !important;
        font-size: 0.92rem !important;
    }

    /* Rodapé (Footer) Centralizado e Organizado */
    .footer-content {
        flex-direction: column !important;
        padding: 30px 15px !important;
        gap: 30px !important;
        text-align: center !important;
        align-items: center !important;
    }
    .footer-info-section {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        gap: 15px !important;
    }
    .footer-details {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px 15px !important;
        width: 100% !important;
        text-align: left !important;
    }
    .footer-details p {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        text-align: left !important;
        margin: 0 !important;
        width: 100% !important;
        font-size: 0.8rem !important;
        line-height: 1.45 !important;
    }
    .footer-details p svg {
        margin-right: 0 !important;
        margin-bottom: 2px !important;
        color: var(--primary-light) !important;
    }
    .footer-details p a {
        display: inline-block !important;
        text-align: left !important;
        max-width: 100% !important;
        word-break: break-word !important;
    }
    /* Corrige deslocamento do horário de atendimento */
    .footer-details p:nth-of-type(4) + p {
        margin-left: 0 !important;
        text-align: left !important;
    }
    .opening-hours-span {
        display: block;
        margin-top: 4px;
        font-size: 0.78rem;
        opacity: 0.85;
        line-height: 1.4;
    }
    .footer-socials {
        justify-content: center !important;
        width: 100% !important;
        margin-top: 10px !important;
    }
    .footer-map-section {
        width: 100% !important;
    }
    .footer-map {
        height: 180px !important; /* Reduz altura do mapa */
    }
}

@media (max-width: 480px) {
    section:not(.hero) {
        padding: 35px 10px !important;
    }
    .social-hub {
        padding: 35px 10px !important;
    }
    .about-container, .contact-container {
        padding: 20px 12px;
    }
    .google-reviews-panel, .instagram-feed-panel {
        padding: 18px 12px;
    }
    .reviews-actions-row {
        gap: 10px;
    }
    .promo-feature-card {
        padding: 10px;
    }
    .footer-map {
        height: 160px !important;
    }
}

/* ==========================================================================
   Tour Virtual 360° - Hero Badge & Modal Fullscreen (Web App Style)
   ========================================================================== */

/* Hero Badge */
.hero-360-badge-container {
    display: flex;
    justify-content: center;
    margin-top: 28px;
    width: 100%;
}

.hero-360-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 50px;
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 119, 182, 0.08);
}

.hero-360-badge span strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.hero-360-badge:hover {
    background: rgba(255, 255, 255, 0.65);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 119, 182, 0.16);
    color: var(--primary);
}

.hero-360-badge:active {
    transform: translateY(0);
}

/* Badge Pulse Ring */
.badge-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    border: 2px solid var(--primary-light);
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    animation: badgePulse 2.5s infinite;
    box-sizing: border-box;
}

@keyframes badgePulse {
    0% { transform: scale(0.96); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.08, 1.18); opacity: 0; }
}

.badge-360-icon {
    animation: rotate360 8s linear infinite;
    color: var(--primary-dark);
}

.hero-360-badge:hover .badge-360-icon {
    color: var(--primary);
    animation-play-state: paused;
}

@keyframes rotate360 {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Modal 360 Fullscreen */
.modal-360 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-360.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-360-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 30, 60, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.modal-360-content {
    position: relative;
    width: 90%;
    max-width: 1100px;
    height: 80vh;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    z-index: 2001;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Close Button */
.modal-360-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 119, 182, 0.15);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2005;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.modal-360-close:hover {
    background: #FF5A5F;
    color: white;
    border-color: #FF5A5F;
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 90, 95, 0.35);
}

/* Iframe Container */
.modal-360-iframe-container {
    width: 100%;
    height: 100%;
    position: relative;
    padding-top: 0;
}

.modal-360-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #eef2f6;
}

/* Responsiveness for Modal */
@media (max-width: 768px) {
    .hero-360-badge {
        padding: 10px 18px;
        font-size: 0.85rem;
        width: 90%;
        max-width: 320px;
        justify-content: center;
    }
    
    .badge-pulse-ring {
        animation: badgePulseMobile 2.5s infinite;
    }
    
    @keyframes badgePulseMobile {
        0% { transform: scale(0.96); opacity: 0; }
        50% { opacity: 0.5; }
        100% { transform: scale(1.04, 1.1); opacity: 0; }
    }

    .modal-360-content {
        width: 94%;
        height: 85vh;
        border-radius: 24px;
    }
    
    .modal-360-close {
        top: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
    }
}


/* ==========================================================================
   Service Cards - Clickable CTA to Contact Form
   ========================================================================== */

/* Make cards look interactive */
.service-card[data-service] {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card[data-service]:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 18px 45px rgba(0, 119, 182, 0.18);
}

.service-card[data-service]:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 4px;
}

/* CTA Label inside card */
.service-card-cta {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--primary);
    background: rgba(0, 180, 216, 0.08);
    border: 1px solid rgba(0, 180, 216, 0.22);
    border-radius: 20px;
    padding: 5px 14px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.service-card[data-service]:hover .service-card-cta {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateX(4px);
}

/* Select Highlight Pulse (fires when a service card is clicked) */
@keyframes selectPulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.55); transform: scale(1); }
    40%  { box-shadow: 0 0 0 8px rgba(0, 180, 216, 0.15); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0); transform: scale(1); }
}

.select-highlight-pulse {
    animation: selectPulse 0.7s ease-out 2 !important;
    border-color: var(--primary-light) !important;
}

@media (max-width: 768px) {
    .service-card-cta {
        font-size: 0.78rem;
        margin-top: 12px;
        padding: 4px 12px;
    }
}

