/* ==========================================
   GS PINTURAS - Design Profissional Premium
   ========================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables - Paleta Profissional */
:root {
    --primary: #1e3a5f;
    --primary-dark: #0d2137;
    --primary-light: #2d5a8a;
    --accent: #ff6b35;
    --accent-hover: #e55a2b;
    --accent-light: #f5c566;
    --success: #10b981;
    --white: #ffffff;
    --light: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--gray-900);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.35;
}

h5 {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 600;
    line-height: 1.4;
}

h6 {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    font-weight: 600;
    line-height: 1.4;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 12px 0;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand .logo {
    height: 90px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.nav-brand h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu li a {
    display: block;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-600);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-menu li a:hover {
    color: var(--primary);
}

.nav-menu li a:hover::before {
    transform: scaleX(1);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--white) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(232, 168, 56, 0.4);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 168, 56, 0.5);
}

.nav-cta::before {
    display: none !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--gray-100);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(232, 168, 56, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        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.03'%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");
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

.hero-particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 20%; animation-delay: 2s; }
.hero-particles span:nth-child(3) { left: 30%; animation-delay: 4s; }
.hero-particles span:nth-child(4) { left: 40%; animation-delay: 6s; }
.hero-particles span:nth-child(5) { left: 50%; animation-delay: 8s; }
.hero-particles span:nth-child(6) { left: 60%; animation-delay: 10s; }
.hero-particles span:nth-child(7) { left: 70%; animation-delay: 12s; }
.hero-particles span:nth-child(8) { left: 80%; animation-delay: 14s; }
.hero-particles span:nth-child(9) { left: 90%; animation-delay: 16s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* Ícones de Prédios nas Laterais */
.hero-building {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
    animation: floatBuildings 20s ease-in-out infinite;
}

.hero-building svg {
    width: 100%;
    height: 100%;
    max-width: 200px;
    max-height: 400px;
}

.hero-building-left {
    left: 5%;
    animation-delay: 0s;
}

.hero-building-right {
    right: 5%;
    animation-delay: 10s;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 100px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInDown 0.8s ease;
}

.hero-badge svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
}

.hero-badge span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title span {
    display: block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease 1s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.hero-stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(232, 168, 56, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 168, 56, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   SECTION STYLES
   ========================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(45, 90, 138, 0.1) 100%);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-badge svg {
    width: 18px;
    height: 18px;
    fill: var(--accent);
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--gray-500);
    line-height: 1.8;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(circle at 0% 0%, rgba(30, 58, 95, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(232, 168, 56, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.2);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.service-icon span {
    font-size: 2.5rem;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    background: var(--white);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-media-main {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.about-media-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Video Player Personalizado */
.video-player-container {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--gray-900);
}

.about-video {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transition: var(--transition);
}

.video-player-container:hover .video-controls {
    opacity: 1;
}

.video-play-btn {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.video-play-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.video-play-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.video-progress {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.video-progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
    border-radius: 3px;
    transition: width 0.1s linear;
}

.video-fullscreen-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.video-fullscreen-btn:hover {
    background: rgba(255,255,255,0.3);
}

.video-fullscreen-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

/* Botão central de play grande */
.video-player-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.9;
    z-index: 5;
    pointer-events: none;
    transition: var(--transition);
}

.video-player-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent var(--white);
    z-index: 6;
    pointer-events: none;
    transition: var(--transition);
}

.video-player-container.playing::before,
.video-player-container.playing::after {
    opacity: 0;
    pointer-events: none;
}

.about-image-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    z-index: 10;
}

.about-image-badge strong {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.about-image-badge span {
    font-size: 0.95rem;
    opacity: 0.9;
}

.about-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.about-text > p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.feature-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

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

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery-section {
    background: var(--gray-900);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(232, 168, 56, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(30, 58, 95, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-section .section-header h2 {
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
}

.gallery-section .section-header p {
    color: var(--gray-400);
}

.gallery-section .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

/* Filtro de Categorias */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.filter-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.filter-btn:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.gallery-item.hidden {
    display: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

/* Layout: 1 foto grande + 3 menores + botão */
.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 1;
    cursor: pointer;
    transition: var(--transition);
}

/* Primeira foto sempre grande */
.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

/* Botão sempre na posição 5 (último) */
.gallery-item.gallery-more {
    grid-column: span 1;
    grid-row: span 1;
}

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

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 2;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 1;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 50%, transparent 70%);
}

.gallery-click-hint {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.9);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    animation: pulse 2s ease-in-out infinite;
}

.gallery-click-hint svg {
    width: 16px;
    height: 16px;
    stroke: var(--white);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.gallery-overlay h3 {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.gallery-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(232, 168, 56, 0.2);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
}

.gallery-zoom {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: scale(1);
    transition: var(--transition);
}

.gallery-item:hover .gallery-zoom {
    background: rgba(255, 107, 53, 0.9);
    transform: scale(1.1);
}

.gallery-zoom svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

/* Botão "Ver todas as fotos" */
.gallery-more {
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 2px solid rgba(255, 107, 53, 0.3);
    transition: var(--transition);
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-more:hover {
    border-color: var(--accent);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.gallery-more-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.gallery-more-count {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 6px;
}

.gallery-more-text {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 8px;
    color: var(--white);
}

.gallery-more svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    opacity: 0.8;
}

.gallery-more::before {
    display: none;
}

.gallery-more-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.gallery-more-count {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 8px;
}

.gallery-more-text {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 16px;
}

.gallery-more svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent);
    opacity: 0.8;
}

.gallery-more:hover .gallery-more-count {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.gallery-more:hover svg {
    opacity: 1;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    background: var(--light);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    padding: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(232, 168, 56, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: var(--white);
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon-box {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-box svg {
    width: 28px;
    height: 28px;
    fill: var(--accent);
}

.contact-item-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item-content p {
    color: var(--white);
    font-size: 1.1rem;
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    color: var(--gray-500);
    margin-bottom: 32px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--gray-700);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .btn {
    width: 100%;
    padding: 18px;
    font-size: 1.05rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo {
    height: 80px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--gray-400);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.9rem;
}

/* ==========================================
   WHATSAPP BUTTON
   ========================================== */
.whatsapp-button {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: var(--white);
    padding: 16px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-button svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.whatsapp-button span {
    display: none;
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* ==========================================
   LIGHTBOX / ÁLBUM COMPLETO
   ========================================== */
.lightbox-album {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-album.active {
    display: block;
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Botão Fechar */
.lightbox-album .lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-album .lightbox-close:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.lightbox-album .lightbox-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

/* Navegação (Anterior/Próximo) */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-nav:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Imagem Principal */
.lightbox-main {
    max-width: 85vw;
    max-height: 70vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-main img {
    max-width: 100%;
    max-height: 65vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Info da Imagem */
.lightbox-info {
    text-align: center;
    margin-top: 16px;
    color: var(--white);
}

.lightbox-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.lightbox-info span {
    font-size: 0.9rem;
    color: var(--accent);
    background: rgba(255, 107, 53, 0.2);
    padding: 4px 16px;
    border-radius: 20px;
}

/* Contador */
.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 10;
}

/* Miniaturas / Carrossel */
.lightbox-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-lg);
    max-width: 90vw;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

.lightbox-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

.lightbox-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
    border: 3px solid transparent;
}

.lightbox-thumb:hover {
    opacity: 0.8;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--accent);
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsivo Lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
    }
    
    .lightbox-nav svg {
        width: 22px;
        height: 22px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-main {
        max-width: 95vw;
        max-height: 60vh;
    }
    
    .lightbox-main img {
        max-height: 55vh;
    }
    
    .lightbox-album .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-counter {
        top: 10px;
        left: 10px;
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .lightbox-thumbnails {
        padding: 10px 15px;
    }
    
    .lightbox-thumb {
        width: 60px;
        height: 45px;
    }
    
    .lightbox-info h3 {
        font-size: 1rem;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-badge {
        bottom: 20px;
        right: 20px;
    }
    
    .about-video {
        height: 350px;
    }
    
    .gallery-filters {
        gap: 8px;
        padding: 0 10px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-more {
        aspect-ratio: 1;
    }
    
    .gallery-more-count {
        font-size: 1.5rem;
    }
    
    .gallery-more-text {
        font-size: 0.75rem;
    }
    
    .gallery-more svg {
        width: 20px;
        height: 20px;
    }
    
    .gallery-click-hint {
        top: 10px;
        left: 10px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .gallery-click-hint svg {
        width: 14px;
        height: 14px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-building {
        opacity: 0.2;
    }
    
    .hero-building svg {
        max-width: 120px;
        max-height: 250px;
    }
    
    .hero-building-left {
        left: 2%;
    }
    
    .hero-building-right {
        right: 2%;
    }
    
    .nav-brand .logo {
        height: 60px;
        max-width: 180px;
    }
    
    .navbar {
        padding: 10px 0;
        min-height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 40px 40px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li a {
        padding: 16px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .gallery-filters {
        gap: 6px;
        padding: 0 5px;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .filter-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-more {
        aspect-ratio: 1;
    }
    
    .gallery-more-count {
        font-size: 1.3rem;
    }
    
    .gallery-more-text {
        font-size: 0.7rem;
    }
    
    .gallery-more svg {
        width: 18px;
        height: 18px;
    }
    
    .gallery-click-hint {
        top: 8px;
        left: 8px;
        padding: 5px 10px;
        font-size: 0.7rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .whatsapp-button {
        padding: 16px;
        border-radius: 50%;
    }
    
    .hero-building {
        opacity: 0.15;
    }
    
    .hero-building svg {
        max-width: 80px;
        max-height: 180px;
    }
    
    .hero-building-left {
        left: 0;
    }
    
    .hero-building-right {
        right: 0;
    }
}

@media (min-width: 769px) {
    .whatsapp-button span {
        display: inline;
    }
}
