/* ===================================
   OCR Viana - Premium Design
   Cores: Preto, Branco, Bordô, Dourado
   =================================== */

:root {
    --color-primary: #8B1538;        /* Bordô */
    --color-secondary: #D4AF37;      /* Dourado */
    --color-dark: #0A0A0A;           /* Preto profundo */
    --color-light: #FFFFFF;          /* Branco */
    --color-gray: #F8F9FA;           /* Cinza claro */
    --color-gray-dark: #6C757D;      /* Cinza escuro */
    
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: url('../images/Logo_OCR_SF_02.png?v=3') center center !important;
    background-size: 70% !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* ===================================
   SKIP LINK (Acessibilidade)
   =================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-light);
    padding: 12px 24px;
    text-decoration: none;
    z-index: 10001;
    font-weight: 600;
    border-radius: 0 0 4px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
}

/* ===================================
   LOGO SPLASH ANIMATION
   =================================== */

.logo-splash {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 2s ease-out, filter 2s ease-out;
}

.logo-splash.fade-out {
    opacity: 0;
    filter: blur(10px);
    pointer-events: none;
}

.logo-splash::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background_transp_2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: filter 2s ease-out;
}

.logo-splash.fade-out::before {
    filter: blur(15px) brightness(0.7);
}

.logo-splash-img {
    width: 50vw;
    max-width: 600px;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    animation: logoToNav 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    position: relative;
    z-index: 1;
    display: block;
    visibility: visible;
    opacity: 1;
    transition: transform 2s ease-out;
}

.logo-splash.fade-out .logo-splash-img {
    transform: scale(1.05);
}

@keyframes explosionFlash {
    0% {
        box-shadow: inset 0 0 200px rgba(212, 175, 55, 0.8);
        background-color: rgba(212, 175, 55, 0.3);
    }
    30% {
        box-shadow: inset 0 0 100px rgba(212, 175, 55, 0.4);
        background-color: rgba(212, 175, 55, 0.1);
    }
    60%, 100% {
        box-shadow: inset 0 0 0px rgba(212, 175, 55, 0);
        background-color: transparent;
    }
}

.logo-splash.fade-out {
    opacity: 0;
    pointer-events: none;
}

.logo-splash-img {
    width: 42.5vw;
    max-width: 600px;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    animation: logoToNav 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes logoToNav {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    60% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-43vw, -45vh) scale(0.15);
        opacity: 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    max-width: 100%;
    padding: 0 40px;
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 8px 0;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background_transp_2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: -1;
}

.navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 2px 20px rgba(139, 21, 56, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
    margin-left: -80px;
    position: relative;
    z-index: 10;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo-img {
    height: 100px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
}

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

.logo-text {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-light);
    letter-spacing: 3px;
}

.logo-subtitle {
    font-family: var(--font-secondary);
    font-size: 11px;
    color: var(--color-secondary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0 auto;
    flex-grow: 1;
    justify-content: center;
}

.nav-link {
    color: var(--color-light);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-secondary);
}

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

/* Audio Controls */
.audio-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 10px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.audio-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.audio-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(40, 40, 40, 0.8) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--color-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.audio-btn svg {
    width: 15px;
    height: 15px;
}

.audio-btn-play {
    width: 36px;
    height: 36px;
}

.audio-btn-play svg {
    width: 18px;
    height: 18px;
}

.audio-btn-volume {
    width: 28px;
    height: 28px;
    display: none; /* Ocultar botão de volume */
}

.audio-btn-volume svg {
    width: 14px;
    height: 14px;
}

.audio-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, rgba(139, 0, 0, 0.9) 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    z-index: 0;
}

.audio-btn:hover::before {
    width: 80px;
    height: 80px;
}

.audio-btn:hover {
    border-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.audio-btn:active {
    transform: translateY(0);
}

.audio-btn svg {
    position: relative;
    z-index: 2;
}

.audio-btn.playing {
    background: linear-gradient(135deg, var(--color-primary) 0%, rgba(100, 0, 0, 0.95) 100%);
    border-color: var(--color-secondary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, rgba(100, 0, 0, 0.95) 100%);
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9) 0%, var(--color-secondary) 100%);
    color: var(--color-dark);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--color-light);
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: visible !important;
    padding-top: 150px;
    padding-left: 0;
    padding-right: 20px;
    min-height: 100vh;
}

/* Camadas de fundo para transição suave */
.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    transition: opacity 5s ease-in-out;
    z-index: 0;
}

.hero-bg-1 {
    opacity: 1;
    z-index: 0;
}

.hero-bg-2 {
    opacity: 0;
    z-index: 1;
}

.hero-bg-2.active {
    opacity: 1;
}

.hero.hero-image-1 {
    /* Não mais necessário */
}

.hero.hero-image-2 {
    /* Não mais necessário */
}

/* Camada de transição suave */
.hero::after {
    display: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    /* Overlay removido - usando apenas o background do .hero */
}

.hero-content {
    position: relative;
    z-index: 10 !important;
    opacity: 1 !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 0;
}

.hero-content .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
    padding-right: 40px;
    max-width: none;
    width: 100%;
    position: relative;
}

.hero-poem {
    position: absolute;
    right: 40px;
    bottom: -50px;
    max-width: 320px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.15);
    border-left: 2px solid rgba(212, 175, 55, 0.8);
    border-radius: 6px;
    backdrop-filter: blur(10px);
    z-index: 9999;
}

.hero-poem p {
    font-family: var(--font-primary);
    font-size: 11px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: justify;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-poem p:last-child {
    margin-bottom: 0;
}

.hero-poem::before {
    content: '"';
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 50px;
    font-family: var(--font-primary);
    color: rgba(212, 175, 55, 0.15);
    line-height: 1;
}

.hero .container {
    padding-left: 80px;
    padding-right: 40px;
    max-width: none;
    width: 100%;
}

.hero-text {
    position: relative;
    z-index: 9999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.hero-label {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #FFD700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    margin-bottom: 30px !important;
    font-weight: 900 !important;
    text-shadow: 0 0 20px rgba(255, 215, 0, 1), 3px 3px 6px rgba(0, 0, 0, 1) !important;
    position: relative !important;
    z-index: 9999 !important;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-light);
    line-height: 1.1;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 0;
    margin-left: 0;
}

.hero-title .highlight {
    color: transparent;
    background: linear-gradient(135deg, #FFD700 0%, #F4D47C 25%, #FFD700 50%, #FFA500 75%, #FFD700 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    font-style: italic;
    letter-spacing: 2px;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6))
            drop-shadow(0 0 40px rgba(255, 215, 0, 0.4))
            drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-title .highlight::before {
    content: '✦';
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #FFD700;
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.hero-title .highlight::after {
    content: '✦';
    position: absolute;
    right: -35px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #FFD700;
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.hero-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin-bottom: 30px;
    line-height: 1.5;
    text-align: left;
    padding-left: 0;
    margin-left: 0;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    padding-left: 0;
    margin-left: 0;
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(40, 40, 40, 0.8) 100%);
    color: var(--color-secondary);
    border: 2px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary::before {
    background: linear-gradient(135deg, var(--color-secondary) 0%, rgba(212, 175, 55, 0.8) 100%);
}

.btn-primary:hover {
    transform: translateY(-4px);
    color: var(--color-dark);
    border-color: var(--color-secondary);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(40, 40, 40, 0.8) 100%);
    color: var(--color-secondary);
    border: 2px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary::before {
    background: linear-gradient(135deg, var(--color-secondary) 0%, rgba(212, 175, 55, 0.8) 100%);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    color: var(--color-dark);
    border-color: var(--color-secondary);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-secondary);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--color-secondary);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(20px); }
}

/* ===================================
   STATS SECTION
   =================================== */

.stats {
    background: linear-gradient(135deg, var(--color-primary) 0%, rgba(100, 0, 0, 0.95) 100%);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--color-light);
    padding: 10px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.stat-icon {
    font-size: 28px;
    margin-bottom: 6px;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    filter: grayscale(0);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0;
    line-height: 1;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    display: inline-block;
}

.stat-plus,
.stat-percentage {
    display: inline-block;
    font-size: 22px;
    color: var(--color-secondary);
    font-weight: 700;
    margin-left: 2px;
    vertical-align: top;
    margin-top: 3px;
    opacity: 0.8;
}

.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 6px;
    font-weight: 600;
}

/* ===================================
   SECTIONS COMMON
   =================================== */

section {
    padding: 120px 0;
    position: relative;
}

/* Divisor elegante e minimalista entre seções */
section + section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.15) 15%,
        rgba(212, 175, 55, 0.4) 50%,
        rgba(212, 175, 55, 0.15) 85%,
        transparent 100%
    );
}

/* Ornamento central no divisor */
section + section::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d47c 50%, #d4af37 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 0 2px var(--color-light),
        0 0 10px rgba(212, 175, 55, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Linhas laterais decorativas */
.section-header::before,
.section-header::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.3) 100%
    );
}

.section-header::before {
    left: 50%;
    margin-left: -200px;
}

.section-header::after {
    right: 50%;
    margin-right: -200px;
    transform: rotate(180deg);
}

.section-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title .highlight {
    color: var(--color-primary);
}

/* Destaque especial para "Conservação" */
.section-title .highlight-conservation {
    color: transparent;
    background: linear-gradient(135deg, #FFD700 0%, #F4E5A3 20%, #FFD700 40%, #E6C200 60%, #FFD700 80%, #F4E5A3 100%);
    background-size: 300% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    font-style: italic;
    letter-spacing: 2px;
    font-weight: 800;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.7))
            drop-shadow(0 0 35px rgba(255, 215, 0, 0.5))
            drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.7));
    animation: shimmerConservation 5s linear infinite;
}

@keyframes shimmerConservation {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 300% center;
    }
}

.section-title .highlight-conservation::before {
    content: '◆';
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%) scale(1);
    font-size: 18px;
    color: #FFD700;
    opacity: 0.85;
    text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 10px rgba(255, 215, 0, 0.8);
    animation: pulseGemLeft 3s ease-in-out infinite;
}

.section-title .highlight-conservation::after {
    content: '◆';
    position: absolute;
    right: -35px;
    top: 50%;
    transform: translateY(-50%) scale(1);
    font-size: 18px;
    color: #FFD700;
    opacity: 0.85;
    text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 10px rgba(255, 215, 0, 0.8);
    animation: pulseGemRight 3s ease-in-out infinite 1.5s;
}

@keyframes pulseGemLeft {
    0%, 100% {
        opacity: 0.85;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.3);
    }
}

@keyframes pulseGemRight {
    0%, 100% {
        opacity: 0.85;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.3);
    }
}

/* Destaque especial para "Excelência" */
.section-title .highlight-excellence {
    color: transparent;
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 25%, #FFD700 50%, #FFAB00 75%, #FFD700 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    font-style: italic;
    letter-spacing: 3px;
    text-shadow: none;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6))
            drop-shadow(0 0 30px rgba(255, 215, 0, 0.4))
            drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.6));
    animation: shimmerExcellence 4s ease-in-out infinite;
}

@keyframes shimmerExcellence {
    0%, 100% {
        background-position: 0% center;
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6))
                drop-shadow(0 0 30px rgba(255, 215, 0, 0.4))
                drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.6));
    }
    50% {
        background-position: 200% center;
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8))
                drop-shadow(0 0 40px rgba(255, 215, 0, 0.5))
                drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.6));
    }
}

.section-title .highlight-excellence::before {
    content: '✦';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 16px;
    color: #FFD700;
    opacity: 0.9;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.9);
    animation: sparkleLeft 2s ease-in-out infinite;
}

.section-title .highlight-excellence::after {
    content: '✦';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 16px;
    color: #FFD700;
    opacity: 0.9;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.9);
    animation: sparkleRight 2s ease-in-out infinite;
}

@keyframes sparkleLeft {
    0%, 100% {
        opacity: 0.9;
        transform: translateY(-50%) rotate(0deg) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) rotate(180deg) scale(1.2);
    }
}

@keyframes sparkleRight {
    0%, 100% {
        opacity: 0.9;
        transform: translateY(-50%) rotate(0deg) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) rotate(-180deg) scale(1.2);
    }
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-gray-dark);
    max-width: 700px;
    margin: 0 auto;
}

.section-text {
    font-size: 16px;
    color: var(--color-gray-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

/* ===================================
   ABOUT SECTION
   =================================== */

.about {
    background: linear-gradient(135deg, var(--color-primary) 0%, rgba(100, 0, 0, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.about .section-label {
    color: var(--color-secondary);
}

.about .section-title {
    color: var(--color-light);
    font-size: 36px;
}

.about .section-title .highlight {
    color: var(--color-secondary);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.about .section-text {
    color: rgba(255, 255, 255, 0.9);
}

.about-brand {
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    letter-spacing: 0.5px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    min-height: 440px;
}

/* Mosaico - 5 Fotos em grade 2 colunas */
.image-mosaic {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;
    padding: 10px;
}

.mosaic-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    overflow: hidden;
    border: 4px solid rgba(212, 175, 55, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.5s ease;
    height: 150px;
}

.mosaic-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mosaic-item:hover {
    transform: scale(1.03) !important;
    border-color: rgba(212, 175, 55, 0.9);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
    z-index: 10;
}

.mosaic-item:hover::before {
    opacity: 1;
}

/* Foto central ocupa as 2 colunas */
.mosaic-3 {
    grid-column: 1 / 3;
    height: 170px;
}

/* Rotações suaves para efeito decorativo */
.mosaic-1 { transform: rotate(-1.5deg); }
.mosaic-2 { transform: rotate(1.5deg); }
.mosaic-3 { transform: rotate(0deg); }
.mosaic-4 { transform: rotate(1deg); }
.mosaic-5 { transform: rotate(-1deg); }

/* Manter estilos antigos para compatibilidade */
.about-image {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-image .image-wrapper {
    display: none;
}

.about-image .image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="50" height="50" xmlns="http://www.w3.org/2000/svg"><rect width="50" height="50" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="1"/></svg>');
    z-index: 2;
}

.golden-frame {
    position: absolute;
    inset: 20px;
    border: 3px solid var(--color-secondary);
    border-radius: 4px;
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    z-index: 3;
}

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

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 20px;
    color: var(--color-secondary);
    min-width: 30px;
}

.feature-text h4 {
    font-family: var(--font-primary);
    font-size: 18px;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(139, 0, 0, 0.1) 50%, transparent 100%);
    pointer-events: none;
}

.services .section-label {
    color: var(--color-secondary);
    font-weight: 600;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.services .section-title {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.services .section-title .highlight {
    color: var(--color-secondary);
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.services .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(40, 40, 40, 0.95) 100%);
    padding: 12px 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--color-secondary);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.service-number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: var(--font-primary);
    font-size: 28px;
    color: rgba(212, 175, 55, 0.3);
    font-weight: bold;
}
    font-weight: 700;
    transition: var(--transition);
}

.service-card:hover .service-number {
    color: var(--color-secondary);
}

.service-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: var(--color-secondary);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-title {
    font-family: var(--font-primary);
    font-size: 13px;
    color: var(--color-light);
    margin-bottom: 6px;
    font-weight: 600;
}

.service-description {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-bottom: 8px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--color-secondary);
    gap: 12px;
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */

.portfolio {
    background: linear-gradient(135deg, var(--color-primary) 0%, rgba(100, 0, 0, 0.95) 100%);
    padding: 120px 0;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: relative;
}

.portfolio .section-label {
    color: var(--color-secondary);
}

.portfolio .section-title {
    color: var(--color-light);
}

.portfolio .section-title .highlight {
    color: var(--color-secondary);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.portfolio .section-title {
    color: var(--color-light);
}

.portfolio .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 50px;
}

.portfolio-filters-inner {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
    flex-wrap: wrap;
    max-width: 95%;
    justify-content: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.filter-btn {
    padding: 8px 18px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
}

.filter-count {
    display: inline-block;
    margin-left: 5px;
    padding: 1px 6px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    font-size: 9px;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.8);
    transition: all 0.3s ease;
}

.filter-btn:hover:not(.active) {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn:hover:not(.active) .filter-count {
    background: rgba(212, 175, 55, 0.25);
    color: var(--color-secondary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--color-secondary) 0%, rgba(212, 175, 55, 0.85) 100%);
    color: #000000;
    font-weight: 700;
    box-shadow: 0 3px 15px rgba(212, 175, 55, 0.4), 0 1px 6px rgba(212, 175, 55, 0.3);
}

.filter-btn.active .filter-count {
    background: rgba(0, 0, 0, 0.2);
    color: #000000;
}

/* Portfolio Grid - 3 colunas - v8.6 */
.portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 35px 30px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
    min-width: 0;
    height: 400px;
    background: transparent;
    border: none;
    padding: 8px;
    padding-bottom: 45px;
    box-shadow: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.portfolio-item:hover {
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.35);
    transform: translateY(-4px);
}

/* Borda como pseudo-elemento para não cobrir o carrossel */
.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1.5px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    pointer-events: none;
    z-index: 20;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-item:hover::after {
    border-color: rgba(212, 175, 55, 0.75);
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.08);
}

/* Carrossel de Portfolio */
.portfolio-carousel {
    cursor: pointer;
    height: 360px;
    width: 100%;
    min-width: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: transparent;
    padding: 30px 35px;
    perspective: 800px;
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
    position: relative;
    transform-style: preserve-3d;
}

.carousel-slide {
    position: absolute;
    width: 40% !important;
    max-width: 280px !important;
    height: 190px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0.5;
}

/* Imagem central - destaque */
.carousel-slide.active {
    z-index: 10;
    transform: translateX(0) scale(1.1) rotateY(0deg);
    opacity: 1;
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.6);
}

/* Imagem à esquerda */
.carousel-slide.left {
    z-index: 5;
    transform: translateX(-75%) scale(0.85) rotateY(20deg);
    opacity: 0.75;
}

/* Imagem à direita */
.carousel-slide.right {
    z-index: 5;
    transform: translateX(75%) scale(0.85) rotateY(-20deg);
    opacity: 0.75;
}

/* Imagens mais distantes (escondidas) */
.carousel-slide.far-left {
    z-index: 1;
    transform: translateX(-140%) scale(0.75) rotateY(30deg);
    opacity: 0.3;
}

.carousel-slide.far-right {
    z-index: 1;
    transform: translateX(140%) scale(0.75) rotateY(-30deg);
    opacity: 0.3;
}

/* Hover nas laterais para indicar interatividade */
.carousel-slide.left:hover,
.carousel-slide.right:hover {
    opacity: 0.95;
}

.carousel-slide.left:hover {
    transform: translateX(-75%) scale(0.9) rotateY(20deg);
}

.carousel-slide.right:hover {
    transform: translateX(75%) scale(0.9) rotateY(-20deg);
}

/* Responsividade Coverflow */
@media (max-width: 1024px) {
    .carousel-container {
        padding: 30px 40px;
        height: 260px;
    }
    
    .carousel-track {
        height: 260px;
    }
    
    .carousel-slide {
        height: 165px !important;
        width: 44% !important;
        max-width: 250px !important;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 20px 30px;
        height: 240px;
        perspective: 600px;
    }
    
    .carousel-track {
        height: 240px;
    }
    
    .carousel-slide {
        height: 150px !important;
        width: 54% !important;
        max-width: 230px !important;
    }
    
    /* Simplificar efeito 3D no mobile */
    .carousel-slide.active {
        transform: translateX(0) scale(1.1) rotateY(0deg);
    }
    
    .carousel-slide.left {
        transform: translateX(-70%) scale(0.75) rotateY(25deg);
    }
    
    .carousel-slide.right {
        transform: translateX(70%) scale(0.75) rotateY(-25deg);
    }
    
    .carousel-slide.far-left,
    .carousel-slide.far-right {
        opacity: 0;
        pointer-events: none;
    }
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-secondary);
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 24px;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--color-secondary);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

/* Impedir overlay ao passar mouse nas setas */
.portfolio-carousel:has(.carousel-prev:hover) .portfolio-overlay,
.portfolio-carousel:has(.carousel-next:hover) .portfolio-overlay {
    background: transparent !important;
}

.portfolio-carousel:has(.carousel-prev:hover) .portfolio-btn,
.portfolio-carousel:has(.carousel-next:hover) .portfolio-btn {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Impedir overlay ao passar mouse nos indicadores */
.portfolio-carousel:has(.carousel-indicators:hover) .portfolio-overlay {
    background: transparent !important;
}

.portfolio-carousel:has(.carousel-indicators:hover) .portfolio-btn {
    opacity: 0 !important;
    pointer-events: none !important;
}

.carousel-indicators {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
    z-index: 10;
}

.carousel-indicator {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--color-secondary);
    width: 14px;
    border-radius: 3px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.portfolio-overlay {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 0;
    height: auto;
    background: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 1;
    transition: background 0.4s ease;
    z-index: 10;
    pointer-events: none;
    border-radius: 10px;
    overflow: hidden;
}

.portfolio-overlay::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(139, 0, 0, 0.55) 50%,
        transparent 100%
    );
    transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    z-index: 0;
}

.portfolio-item:hover .portfolio-overlay::before {
    height: 100%;
}

.portfolio-overlay .portfolio-content {
    pointer-events: auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.portfolio-item:hover .portfolio-overlay {
    background: transparent;
    align-items: flex-end;
}

.portfolio-content {
    text-align: center;
    color: var(--color-light);
    padding: 20px 15px 18px;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    width: 100%;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-content h3 {
    font-family: var(--font-primary);
    font-size: 20px;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 12px;
    padding-top: 0;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.portfolio-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-secondary) 50%, transparent 100%);
    transition: transform 0.4s ease 0.15s;
    transform-origin: center;
}

.portfolio-item:hover .portfolio-content h3::after {
    transform: translateX(-50%) scaleX(1);
}

.portfolio-content p {
    font-size: 12px;
    color: rgba(212, 175, 55, 0.9);
    margin-bottom: 12px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.3px;
}

.portfolio-btn {
    display: inline-block;
    padding: 9px 26px;
    background: transparent;
    color: var(--color-light);
    border: 1.5px solid var(--color-secondary);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    opacity: 0;
    transform: translateY(6px);
    transition-delay: 0.1s;
    backdrop-filter: blur(4px);
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-btn:hover {
    background: var(--color-secondary);
    color: #000;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px) !important;
}

/* Título mobile do portfólio — escondido no desktop, visível no mobile */
.carousel-info {
    display: none;
}

/* ===================================
   PROCESS SECTION
   =================================== */

/* ===================================
   PRINCIPLES SECTION
   =================================== */

.principles {
    padding: 120px 0;
    background: rgba(10, 10, 10, 0.9) !important;
    color: var(--color-light);
    position: relative;
}

.principles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: 0;
}

.principles > .container {
    position: relative;
    z-index: 1;
}

.principles .section-label,
.principles .section-title,
.principles .section-subtitle {
    color: var(--color-light);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 50px;
}

.principle-card {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 100%) !important;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.principle-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--color-secondary);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.4);
}

.principle-image {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    transition: transform 0.4s ease;
}

.principle-card:hover .principle-image {
    transform: scale(1.05);
}

.principle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(10, 10, 10, 0) 0%, 
        rgba(10, 10, 10, 0.4) 50%,
        rgba(10, 10, 10, 0.95) 100%);
    transition: opacity 0.3s ease;
}

.principle-card:hover .principle-overlay {
    background: linear-gradient(to bottom, 
        rgba(10, 10, 10, 0.2) 0%, 
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.98) 100%);
}

.principle-content {
    padding: 12px 12px;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 10, 10, 0.4) 100%);
}

.principle-content h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 6px;
    letter-spacing: 0.5px;
}

.principle-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, transparent 100%);
}

.principle-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .principle-image {
        height: 140px;
    }
    
    .principle-content {
        padding: 15px 12px;
    }
    
    .principle-content h3 {
        font-size: 1.2rem;
    }
    
    .principle-content p {
        font-size: 0.85rem;
    }
}

/* ===================================
   PROCESS SECTION
   =================================== */

.process {
    background: linear-gradient(135deg, 
        #5a1a1a 0%,
        #7a1f1f 25%, 
        #8b2424 50%, 
        #6b1d1d 75%, 
        #4a1616 100%);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.3) 0%, 
        transparent 50%, 
        rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.process .section-label {
    color: var(--color-secondary);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.process .section-title {
    color: var(--color-light);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.process .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.process-timeline {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-secondary);
    opacity: 0.3;
}

.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(10px);
}

.step-number {
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-light) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 2.5px solid var(--color-secondary);
    border-radius: 50%;
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

.step-content {
    flex: 1;
    padding-top: 3px;
}

.step-content h3 {
    font-family: var(--font-primary);
    font-size: 19px;
    color: var(--color-light);
    margin-bottom: 6px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.step-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact {
    background: linear-gradient(135deg, 
        #c9a961 0%, 
        #d4af6a 50%, 
        #c9a961 100%);
    position: relative;
    padding: 60px 0 !important;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 70%);
    pointer-events: none;
}

.contact .section-header {
    margin-bottom: 40px;
}

.contact .section-label {
    color: var(--color-primary);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.contact .section-title {
    color: var(--color-primary);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.contact .section-subtitle {
    color: rgba(26, 26, 26, 0.85);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-details {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    gap: 10px;
}

.contact-icon {
    font-size: 16px;
    min-width: 28px;
}

.contact-item h4 {
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--color-primary);
    margin-bottom: 2px;
    font-weight: 600;
}

.contact-item p {
    color: rgba(26, 26, 26, 0.85);
    font-weight: 500;
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: rgba(26, 26, 26, 0.7);
    color: var(--color-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;
    border-radius: 18px;
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
    background: rgba(212, 175, 55, 0.9);
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Cores específicas para cada rede social */
.social-link[href*="facebook"] {
    background: rgba(24, 119, 242, 0.1);
    border-color: #1877F2;
}

.social-link[href*="facebook"] svg {
    fill: #1877F2;
}

.social-link[href*="facebook"]:hover {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
}

.social-link[href*="facebook"]:hover svg {
    fill: white;
}

.social-link[href*="instagram"] {
    background: linear-gradient(45deg, rgba(131, 58, 180, 0.1), rgba(253, 29, 29, 0.1), rgba(252, 176, 69, 0.1));
    border-color: #E1306C;
}

.social-link[href*="instagram"] svg {
    fill: url(#instagram-gradient);
}

.social-link[href*="instagram"]:hover {
    background: linear-gradient(45deg, #833AB4, #FD1D1D, #FCB045);
    color: white;
    border-color: #E1306C;
}

.social-link[href*="instagram"]:hover svg {
    fill: white;
}

.contact-form-wrapper {
    background: rgba(26, 26, 26, 0.9);
    padding: 5px;
    border-radius: 10px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.contact-form-wrapper h3 {
    color: var(--color-secondary);
    font-family: var(--font-primary);
    font-size: 12px;
    margin-bottom: 3px;
    text-align: center;
}

.form-group {
    margin-bottom: 0px;
}

.form-group:last-of-type {
    margin-bottom: 0px !important;
}

.form-group label {
    display: block;
    color: var(--color-light);
    font-size: 14px;  /* Aumentado: 8px → 14px */
    margin-bottom: 4px;  /* Reduzido: 6px → 4px (25% menor) */
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 8px;  /* Reduzido: 12px → 8px (25% menor) */
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;  /* Reduzido: 10px 14px → 8px 12px (25% menor) */
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 5px;
    font-family: var(--font-secondary);
    font-size: 15px;  /* Aumentado: 8px → 15px */
    color: var(--color-light);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-group textarea {
    resize: none;
    height: 80px;  /* Reduzido: 100px → 80px (25% menor) */
    min-height: 80px;
    max-height: 80px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
}

.form-group select option {
    background: var(--color-dark);
    color: var(--color-light);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
}

.form-message {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.form-message-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
}

.form-message-error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

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

.form-group input:focus:not(.error),
.form-group select:focus:not(.error),
.form-group textarea:focus:not(.error) {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.contact-form .btn {
    width: 100%;
    padding: 10px;  /* Reduzido: 12px → 10px (25% menor) */
    font-size: 16px;  /* Aumentado: 8px → 16px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;  /* Aumentado: 0.6px → 1px */
    margin-top: 6px !important;  /* Reduzido: 8px → 6px (25% menor) */
    margin-bottom: 0px !important;
}

/* Mensagem de Sucesso do Formulário */
.form-success {
    display: none;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.9), rgba(0, 100, 0, 0.9));
    border: 2px solid var(--color-secondary);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease;
}

.form-success.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: successPulse 0.6s ease;
}

.form-success .success-icon {
    width: 60px;
    height: 60px;
    background: var(--color-secondary);
    color: var(--color-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.form-success h3 {
    color: var(--color-secondary);
    font-size: 20px;
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.form-success p {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

@keyframes successPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--color-light);
    padding: 8px 0 5px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background_transp_2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.footer > * {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 6px;
}

/* Coluna central do footer — links rápidos */
.footer-col--center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-col--center ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Coluna newsletter */
.footer-col--newsletter {
    text-align: right;
}

.footer-logo {
    margin-bottom: 6px;
}

.footer-logo .logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    transition: all 0.3s ease;
}

.footer-logo .logo-img:hover {
    transform: translateZ(0) scale(1.05);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 4px;
}

.footer-col h4 {
    font-family: var(--font-primary);
    font-size: 12px;
    color: var(--color-secondary);
    margin-bottom: 6px;
}

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

.footer-col ul li {
    margin-bottom: 2px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-light);
    border-radius: 2px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--color-secondary);
    color: var(--color-dark);
    border: none;
    border-radius: 2px;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.5;
}

.newsletter-form button:hover:not(:disabled) {
    background: #c29d2e;
}

/* Newsletter Message */
.newsletter-message {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.newsletter-message.show {
    opacity: 1;
    transform: translateY(0);
}

.newsletter-message-success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.newsletter-message-error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 10px;
    transition: var(--transition);
}

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

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;  /* 2 colunas no tablet */
        gap: 25px 20px !important;
    }
    
    .portfolio-item {
        height: 380px;
        padding: 10px;
        padding-bottom: 10px;  /* Reduzido: sem indicadores */
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .portfolio-filters-inner {
        padding: 3px;
        gap: 3px;
        border-radius: 40px;
        max-width: 100%;
    }

    .filter-btn {
        padding: 7px 14px;
        font-size: 10px;
        letter-spacing: 0.3px;
    }

    .filter-count {
        padding: 1px 4px;
        font-size: 8px;
        margin-left: 3px;
    }

    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 22px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-indicators {
        display: none !important;  /* Ocultar bolinhas no mobile */
    }

    .carousel-indicator {
        display: none !important;  /* Ocultar bolinhas no mobile */
    }

    .carousel-indicator.active {
        display: none !important;  /* Ocultar bolinhas no mobile */
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .services-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr !important;  /* 1 coluna no mobile */
        gap: 30px 20px !important;
    }
    
    .portfolio-item {
        height: 350px;
        padding: 10px;
        padding-bottom: 10px;  /* Reduzido: sem indicadores */
    }
    
    .portfolio-carousel {
        height: 100%;
    }
    
    .carousel-container {
        padding: 20px 25px;
        height: 100%;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .step-number {
        min-width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .process-step {
        gap: 15px;
    }
    
    .step-content h3 {
        font-size: 17px;
    }
    
    .step-content p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 13px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .contact-form-wrapper {
        padding: 40px 30px;
    }
    
    /* INDICADORES DE CARROSSEL - OCULTOS NO MOBILE */
    .carousel-indicators {
        display: none !important;
    }
    
    .carousel-indicator {
        display: none !important;
    }
    
    .carousel-indicator.active {
        display: none !important;
    }
    
    /* Portfolio Grid - 1 coluna no mobile pequeno */
    .portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .portfolio-item {
        height: 320px;
        padding: 8px;
        padding-bottom: 8px;  /* Reduzido: sem indicadores */
    }
    
    .carousel-container {
        padding: 15px 20px;
    }
    
    .carousel-slide {
        height: 180px !important;
        width: 65% !important;
    }
}

/* ===================================
   PORTFOLIO MODAL / LIGHTBOX
   =================================== */

.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.modal-image-wrapper {
    max-width: 100%;
    max-height: 70vh;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--color-secondary);
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.modal-info {
    text-align: center;
    color: var(--color-light);
    max-width: 600px;
}

.modal-title {
    font-family: var(--font-primary);
    font-size: 28px;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.modal-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    background: var(--color-secondary);
    color: var(--color-dark);
    transform: rotate(90deg);
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
    line-height: 1;
    padding: 0;
}

.modal-prev {
    left: -80px;
}

.modal-next {
    right: -80px;
}

.modal-prev:hover,
.modal-next:hover {
    background: var(--color-secondary);
    color: var(--color-dark);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95vw;
        padding: 20px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .modal-prev,
    .modal-next {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-title {
        font-size: 22px;
    }
    
    .modal-description {
        font-size: 14px;
    }
}

/* ===================================
   MELHORIAS DE ACESSIBILIDADE
   =================================== */

/* Foco visível melhorado */
*:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Reduzir animações para usuários que preferem */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Contraste melhorado para texto */
.hero-subtitle,
.section-text,
.contact-item p {
    color: rgba(255, 255, 255, 0.9);
}

/* Loading state para imagens */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded,
img[loading="eager"] {
    opacity: 1;
}

/* ===================================
   MOSAIC LIGHTBOX
   =================================== */

.mosaic-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mosaic-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10001;
}

.lightbox-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 85vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
}

.lightbox-close:hover {
    background: var(--color-secondary);
    color: var(--color-dark);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-secondary);
    color: var(--color-dark);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-secondary);
    font-size: 16px;
    font-weight: 600;
}

/* ===================================
   ANIMATIONS
   =================================== */

/* Fade-in ao scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animação de entrada do mosaico */
.mosaic-item {
    opacity: 0;
    transform: translateY(30px) rotate(0deg);
    animation: mosaicFadeIn 0.8s ease-out forwards;
}

.mosaic-1 { animation-delay: 0.1s; }
.mosaic-2 { animation-delay: 0.2s; }
.mosaic-3 { animation-delay: 0.3s; }
.mosaic-4 { animation-delay: 0.4s; }
.mosaic-5 { animation-delay: 0.5s; }

@keyframes mosaicFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) rotate(var(--rotation));
    }
}

.mosaic-1 { --rotation: -1.5deg; }
.mosaic-2 { --rotation: 1.5deg; }
.mosaic-3 { --rotation: 0deg; }
.mosaic-4 { --rotation: 1deg; }
.mosaic-5 { --rotation: -1deg; }

/* Parallax no logo de fundo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-attachment: fixed;
    z-index: -1;
    will-change: transform;
}

/* Mosaico clicável - cursor pointer */
.mosaic-item {
    cursor: pointer;
    position: relative;
}

.mosaic-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mosaic-item:hover::after {
    opacity: 0.9;
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   =================================== */

@media (max-width: 768px) {
    /* Mosaico em mobile - layout grade 2 colunas */
    .image-mosaic {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 5px;
    }
    
    .mosaic-item {
        position: relative !important;
        width: 100% !important;
        height: 130px !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: rotate(0deg) !important;
    }

    .mosaic-3 {
        grid-column: 1 / 3;
        height: 140px !important;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}
