/* ==========================================================================
   CSS Variables & Globals
   ========================================================================== */
   :root {
    /* Colors */
    --primary-color: #1a2639; /* Deep Navy Blue */
    --primary-light: #2c3e5a;
    --accent-color: #d4af37;  /* Premium Gold */
    --accent-hover: #c19b2e;
    
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #111a28;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.center {
    text-align: center;
}

/* Typography Utilities */
.subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-header.center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-light);
    border: 2px solid var(--accent-color);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    box-shadow: none;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-text {
    background-color: transparent;
    color: var(--accent-color);
    padding: 0;
    border: none;
}

.btn-text:hover {
    color: var(--primary-color);
}

.btn-text i {
    transition: transform var(--transition-fast);
}

.btn-text:hover i {
    transform: translateX(5px);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(26, 38, 57, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 0.7rem 0;
    background-color: var(--primary-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 1001;
}

.logo-k {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.nav-img-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.splash-img-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.1;
    letter-spacing: 1px;
}

.logo-subtitle {
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('assets/images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17, 26, 40, 0.95) 0%, rgba(26, 38, 57, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
}

.hero-text {
    max-width: 650px;
}

.hero-text h1 {
    color: var(--text-light);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

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

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

/* ==========================================================================
   Sobre Section
   ========================================================================== */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: 8px;
    padding-bottom: 2rem;
    padding-right: 2rem;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 4px solid var(--accent-color);
    border-radius: 8px;
    z-index: 1;
}

.image-wrapper img {
    position: relative;
    z-index: 2;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 1rem;
    left: -2rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-color);
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-list {
    margin: 2rem 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.features-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Sobre Section Dark Mode */
.sobre.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.sobre.bg-dark .section-header h2 {
    color: var(--text-light);
}

.sobre.bg-dark .lead {
    color: rgba(255, 255, 255, 0.9);
}

.sobre.bg-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.sobre.bg-dark .features-list li {
    color: var(--text-light);
}

.sobre.bg-dark .btn-text {
    color: var(--accent-color);
}

.sobre.bg-dark .btn-text:hover {
    color: var(--accent-hover);
}

/* ==========================================================================
   Serviços Section
   ========================================================================== */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.servico-card {
    background-color: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    border-bottom: 4px solid transparent;
    height: 100%;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-color);
}

.servico-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(26, 38, 57, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.servico-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.servico-card:hover .servico-icon {
    background-color: var(--primary-color);
}

.servico-card:hover .servico-icon i {
    color: var(--accent-color);
}

.servico-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Videos Section
   ========================================================================== */
.videos-section {
    background-color: var(--bg-white);
}

.videos-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.video-row {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.video-row.reverse {
    flex-direction: row-reverse;
}

.video-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.video-container iframe {
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 400px;
}

.video-text {
    flex: 1;
}

.video-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.video-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Videos Section Dark Mode */
.videos-section.bg-dark {
    background-color: var(--bg-dark);
}

.videos-section.bg-dark .section-header h2 {
    color: var(--text-light);
}

.videos-section.bg-dark .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.videos-section.bg-dark .video-text h3 {
    color: var(--text-light);
}

.videos-section.bg-dark .video-text p {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 992px) {
    .video-row, .video-row.reverse {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Raio-X (Engenharia Diagnóstica)
   ========================================================================== */
.raiox-section {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.raiox-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
}

.building-blueprint {
    flex: 1;
    height: 500px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.building-wrapper {
    position: relative;
    height: 100%;
    /* Keep the wrapper exactly as wide as the SVG to maintain hotspot percentage accuracy */
    aspect-ratio: 380 / 560;
    max-width: 100%;
}

.building-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 30px rgba(0,180,216,0.15));
    animation: float 6s ease-in-out infinite;
}

.win {
    fill: #12213b;
    stroke: rgba(0, 180, 216, 0.25);
    stroke-width: 0.6;
    transition: all 0.3s ease;
}

.win.lit {
    fill: #f2c14e;
    fill-opacity: 0.55;
}

.win.lit-blue {
    fill: var(--primary-light, #00B4D8);
    fill-opacity: 0.35;
}

.win-side { fill: #0e182a; }
.win-front { fill: #0d1729; stroke: #233a5e; stroke-width: 1.5; }
.win-lit { fill: #f2c14e; opacity: 0.7; }
.win-lit-blue { fill: #00B4D8; opacity: 0.4; }
.ac-unit { fill: #1c2740; stroke: #0a1424; stroke-width: 1; }
.elec-box { fill: #1f2a3a; stroke: #000; stroke-width: 1; }
.fire-box { fill: #a32222; stroke: #5e0d0d; stroke-width: 1; }
.beacon { animation: flash 2s infinite; }
.win-flicker { animation: flicker 4s infinite; }

@keyframes flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

@keyframes flicker {
  0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% { opacity: 0.7; }
  20%, 21.999%, 63%, 63.999%, 65%, 69.999% { opacity: 0.1; }
}

.hotspot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--accent-color);
}

.hotspot:hover, .hotspot.active {
    transform: translate(-50%, -50%) scale(1.3);
    background: #fff;
    box-shadow: 0 0 20px #fff, 0 0 40px var(--accent-color);
}

.pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

.raiox-info-panel {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2.5rem;
    min-height: 400px;
    position: relative;
    backdrop-filter: blur(10px);
}

.info-card {
    position: absolute;
    top: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    transform: translateY(15px);
}

.info-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.info-card h3 {
    color: var(--primary-light);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.info-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .raiox-container {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ==========================================================================
   Projetos Showcase (Full Width)
   ========================================================================== */
.portfolio {
    background-color: var(--bg-light);
}

.projetos-showcase {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0; /* Remove horizontal padding so overflow hidden works correctly */
}

/* Slider specific styles */
.slider-container {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.projeto-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 4rem;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 10;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--accent-color);
    color: var(--text-light);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

.mobile-floating-pause {
    display: none;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 5;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

.slider-pause-btn {
    background: var(--bg-white);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--primary-color);
    padding: 0.45rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.slider-pause-btn i {
    font-size: 0.8rem;
    color: var(--accent-color);
    transition: transform 0.2s ease;
}

.slider-pause-btn:hover {
    background: var(--accent-gradient);
    color: #111a28;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.slider-pause-btn:hover i {
    color: #111a28;
}

.slider-pause-btn.paused {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--accent-color);
}

.slider-pause-btn.paused i {
    color: var(--accent-color);
}

.slider-pause-btn.paused:hover {
    background: var(--accent-gradient);
    color: #111a28;
}

.slider-pause-btn.paused:hover i {
    color: #111a28;
}

/* Row styles inside slider */
.projeto-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    background-color: transparent;
    margin-bottom: 0;
}

.projeto-img {
    flex: 0 0 45%;
    position: relative;
}

/* QR Code Badge on Project Image */
.projeto-qrcode-badge {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(13, 21, 33, 0.93);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid var(--accent-color);
    padding: 0.85rem 1.2rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.projeto-qrcode-badge:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: #f2db8a;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.4);
    background: rgba(13, 21, 33, 0.98);
}

.qrcode-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--accent-color);
}

.qrcode-thumb {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #ffffff;
    padding: 4px;
    display: block;
}

.qrcode-expand-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 26, 40, 0.85);
    color: #f2db8a;
    font-size: 0.68rem;
    font-weight: 600;
    text-align: center;
    padding: 2px 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.projeto-qrcode-badge:hover .qrcode-expand-hint {
    opacity: 1;
}

.qrcode-badge-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.qrcode-badge-title {
    color: #f2db8a;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.3px;
}

.qrcode-badge-title i {
    color: var(--accent-color);
    font-size: 1.05rem;
}

.qrcode-badge-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-family: var(--font-primary);
    margin-top: 0.2rem;
    line-height: 1.3;
    max-width: 160px;
}

.qrcode-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
    padding: 0.4rem 0.85rem;
    background: var(--accent-gradient);
    color: #111a28;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-primary);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
}

.qrcode-view-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* Premium Gold Frame Behind Image */
.projeto-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    transform: translate(-20px, 20px);
    z-index: 0;
    opacity: 0.6;
    transition: transform var(--transition-medium);
}

.projeto-row.reverse .projeto-img::before {
    transform: translate(20px, 20px);
}

.projeto-row:hover .projeto-img::before {
    transform: translate(0, 0);
}

.projeto-img img,
.projeto-img video {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    transition: transform var(--transition-slow);
    background-color: #f8f9fa; /* Em caso de transparência ou proporções diferentes */
    display: block;
}

.projeto-row:hover .projeto-img img,
.projeto-row:hover .projeto-img video {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.projeto-text {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.projeto-text h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
}

/* Decorative line under title */
.projeto-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    transition: width var(--transition-medium);
}

.projeto-row:hover .projeto-text h3::after {
    width: 100px;
}

.projeto-text h4 {
    font-size: 1.3rem;
    color: var(--primary-light);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.projeto-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
}

.projeto-text .fas {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.projeto-desc {
    margin-top: 1.5rem;
}

/* Reverse layout for alternating rows */
.projeto-row.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 992px) {
    .projeto-row, .projeto-row.reverse {
        flex-direction: column;
    }
    .projeto-img {
        width: 100%;
        height: 300px;
    }
    .projeto-text {
        width: 100%;
        padding: 3rem 5%;
    }
}

.portfolio-overlay i {
    color: var(--accent-color);
    font-size: 2.5rem;
    transform: scale(0);
    transition: transform var(--transition-slow);
}

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

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

.portfolio-item:hover .portfolio-overlay i {
    transform: scale(1);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-info p i {
    color: var(--accent-color);
}

.portfolio-item.hide {
    display: none;
}

/* ==========================================================================
   Contato Section
   ========================================================================== */
.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-items {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.info-text p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.contato-form-container {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background-color: var(--bg-white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition-fast);
}

.footer-bottom a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .sobre-grid,
    .contato-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .experience-badge {
        left: 0;
        bottom: 0;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition-fast);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
    }
}

/* ==========================================================================
   Splash Screen
   ========================================================================== */
.no-scroll {
    overflow: hidden;
}

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, var(--primary-light) 0%, var(--primary-color) 60%, #080d14 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s cubic-bezier(0.65, 0, 0.35, 1), visibility 1.2s;
}

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

.skip-splash-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-size: 1rem;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skip-splash-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.splash-content {
    text-align: center;
    padding: 2rem;
    position: relative;
    width: 100%;
    max-width: 900px;
}

.splash-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.splash-line-1 {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.splash-line-2 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 5rem;
    line-height: 1.2;
    background: linear-gradient(to right, #f2db8a 0%, #d4af37 40%, #ffffff 50%, #d4af37 60%, #9e7a20 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: scale(1.05);
    filter: blur(15px);
    transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
    animation: shimmer 4s infinite linear;
}

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

.splash-line-3 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    margin-top: 1rem;
}

.splash-text-container.show .splash-line-1 {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease 0.2s, transform 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
}

.splash-text-container.show .splash-line-2 {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    transition: opacity 1.5s ease 0.6s, transform 2s cubic-bezier(0.25, 1, 0.5, 1) 0.6s, filter 1.5s ease 0.6s;
}

.splash-text-container.show .splash-line-3 {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease 1s, transform 1s cubic-bezier(0.25, 1, 0.5, 1) 1s;
}

.splash-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    filter: blur(12px);
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1), transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), filter 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: absolute;
    top: 50%;
    left: 50%;
}

.splash-logo.show {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, -50%) scale(1);
}

.splash-k {
    width: 80px;
    height: 80px;
    font-size: 3rem;
    border-width: 3px;
}

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

.splash-subtitle {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .splash-line-1 {
        font-size: 0.7rem;
        letter-spacing: 4px;
    }
    .splash-line-2 {
        font-size: 3rem;
    }
    .splash-line-3 {
        font-size: 1.2rem;
    }
    .splash-k {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    .splash-title {
        font-size: 2rem;
    }
    .splash-subtitle {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Luxury Upgrades & WhatsApp Button
   ========================================================================== */

:root {
    --accent-gradient: linear-gradient(135deg, #f2db8a 0%, #d4af37 50%, #9e7a20 100%);
    --glass-bg: rgba(26, 38, 57, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: var(--accent-gradient);
    border: none;
    color: #111a28;
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--accent-gradient);
    opacity: 0.9;
    color: #111a28;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.navbar {
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--glass-border);
}

.navbar.scrolled {
    background-color: rgba(17, 26, 40, 0.95);
}

.servico-card {
    border: 1px solid rgba(0,0,0,0.05);
}

.servico-icon {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.5), 0 4px 10px rgba(0,0,0,0.05);
}

.servico-card:hover .servico-icon {
    background: var(--accent-gradient);
}

.servico-card:hover .servico-icon i {
    color: #111a28;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.footer-social h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    font-weight: 500;
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-fast);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

/* ==========================================================================
   Table Styles (Acervo de Obras)
   ========================================================================== */
.obras-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    overflow: hidden;
}

.obras-table th,
.obras-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.obras-table th {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.obras-table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.obras-table td {
    color: var(--text-muted);
}

.obras-table td strong {
    color: var(--primary-color);
}

    .footer-logo {
        justify-content: center;
    }
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   Marquee / Scrolling List
   ========================================================================== */
.marquee-section {
    width: 100%;
    overflow: hidden;
    background-color: var(--primary-color);
    padding: 3rem 0;
    margin-top: 2rem;
    border-top: 4px solid var(--accent-color);
}

.marquee-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.marquee-header h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    margin-bottom: 0;
}

.marquee-header h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 0.6rem auto 0;
    border-radius: 2px;
}

.marquee-wrapper {
    display: flex;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: scroll-marquee 120s linear infinite;
    gap: 1.5rem;
    padding-right: 1.5rem;
    width: fit-content;
}

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

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    cursor: default;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.marquee-item:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.marquee-title {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.marquee-city {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-weight: 700;
    transform: translateY(10px);
}

.marquee-item:hover .marquee-title {
    opacity: 0;
    transform: translateY(-10px);
}

.marquee-item:hover .marquee-city {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Mobile Adjustments for Raio-X and Slider
   ========================================================================== */
@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 100px;
    }

    .hero-content {
        padding-top: 0;
    }
    
    .raiox-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .building-blueprint {
        height: 400px;
        width: 100%;
    }
    
    .raiox-info-panel {
        width: 100%;
        min-height: auto;
        padding: 1.5rem;
        box-sizing: border-box;
    }
    
    .info-card {
        position: relative;
        opacity: 0;
        visibility: hidden;
        display: none;
    }
    
    .info-card.active {
        opacity: 1;
        visibility: visible;
        display: block;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
    }
    
    .projeto-slide {
        padding: 1rem 0.8rem;
    }

    .projeto-row {
        gap: 1.5rem;
    }

    .projeto-text h3 {
        font-size: 1.6rem;
    }

    .projeto-text h4 {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .projeto-text p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .projeto-desc {
        margin-top: 0.8rem;
    }
    
    /* Controles de Navegação Fixos/Flutuantes no Mobile durante a visualização da seção */
    .slider-arrow {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        z-index: 990;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        background: rgba(17, 26, 40, 0.93);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1.5px solid var(--accent-color);
        color: var(--accent-color);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease;
    }

    .slider-arrow.in-view {
        opacity: 1;
        pointer-events: auto;
    }

    .prev-arrow {
        left: 10px;
    }

    .next-arrow {
        right: 10px;
    }

    .slider-arrow:active {
        transform: translateY(-50%) scale(0.92);
        background: var(--accent-gradient);
        color: #111a28;
    }

    /* Botão de Pausa Flutuante posicionado logo abaixo da setinha direita no Mobile */
    .mobile-floating-pause {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: calc(50% + 54px);
        right: 10px;
        transform: translateY(-50%);
        z-index: 990;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(17, 26, 40, 0.93);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1.5px solid var(--accent-color);
        color: var(--accent-color);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
        font-size: 0.95rem;
        cursor: pointer;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease;
    }

    .mobile-floating-pause.in-view {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-floating-pause:active {
        transform: translateY(-50%) scale(0.92);
    }

    .mobile-floating-pause.paused {
        background: var(--accent-gradient);
        color: #111a28;
        border-color: #f2db8a;
    }

    .slider-controls {
        gap: 1rem;
        margin-top: 1.5rem;
        flex-wrap: wrap;
    }

    .projeto-qrcode-badge {
        bottom: 0.8rem;
        right: 0.8rem;
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
    }

    .qrcode-wrapper {
        width: 80px;
        height: 80px;
    }

    .qrcode-badge-title {
        font-size: 0.85rem;
    }

    .qrcode-badge-subtitle {
        font-size: 0.72rem;
        max-width: 130px;
    }

    .qrcode-view-btn {
        font-size: 0.72rem;
        padding: 0.3rem 0.65rem;
        margin-top: 0.4rem;
    }
}

/* ==========================================================================
   QR Code Modal (Lightbox)
   ========================================================================== */
.qrcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.qrcode-modal.active {
    opacity: 1;
    visibility: visible;
}

.qrcode-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 13, 20, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.qrcode-modal-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(145deg, #162438 0%, #0d1624 100%);
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.3);
    transform: scale(0.85);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.qrcode-modal.active .qrcode-modal-content {
    transform: scale(1);
}

.qrcode-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.qrcode-modal-close:hover {
    color: var(--accent-color);
    transform: scale(1.15) rotate(90deg);
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.qrcode-modal-header h3 {
    color: #ffffff;
    font-size: 1.9rem;
    font-family: var(--font-heading);
    margin-bottom: 0.3rem;
}

.qrcode-modal-header p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.qrcode-modal-header p i {
    color: var(--accent-color);
}

.qrcode-modal-img-wrap {
    display: inline-block;
    background: #ffffff;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--accent-color);
    margin-bottom: 1.5rem;
}

.qrcode-large-img {
    width: 250px !important;
    height: 250px !important;
    object-fit: contain !important;
    display: block;
}

.qrcode-scan-help {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.8rem 1.2rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.qrcode-scan-help i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.qrcode-modal-actions {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
}

.qrcode-direct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    max-width: 320px;
    padding: 0.95rem 1.6rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 30px;
    text-decoration: none;
    background: var(--accent-gradient);
    color: #111a28;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.qrcode-direct-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    color: #111a28;
}

@media (max-width: 480px) {
    .qrcode-large-img {
        width: 200px !important;
        height: 200px !important;
    }
    .qrcode-modal-content {
        padding: 2rem 1.2rem;
    }
    .qrcode-modal-header h3 {
        font-size: 1.5rem;
    }
    .qrcode-direct-btn {
        font-size: 0.9rem;
        padding: 0.85rem 1.2rem;
    }
}
