/* ============================================
   MONOLITH 3D - DESIGN SYSTEM
   ============================================ */

:root {
    /* CORES PRINCIPAIS - DARK MODE */
    --orange: #ff6b00;
    --orange-light: #ff8c33;
    --orange-dark: #e55e00;
    --teal: #00c9a7;
    --teal-light: #00e5c3;
    --teal-dark: #00a085;
    --blue: #3d9cf5;
    --blue-light: #6db3ff;
    --blue-dark: #1978d2;
    --purple: #c77dff;
    --purple-light: #e0aaff;
    --purple-dark: #9d4edd;
    --amber: #ffaa00;
    --cyan: #00d4ff;
    
    /* FUNDOS */
    --bg: #0c0e0f;
    --surface: #141618;
    --surface2: #1c1f21;
    --navbar-bg: rgba(20, 22, 24, 0.97);
    
    /* TEXTO */
    --text: #f0ede8;
    --muted: #7a7870;
    --border: #2a2d30;
}

/* LIGHT MODE */
:root.light-mode {
    /* CORES PRINCIPAIS - LIGHT MODE */
    --orange: #ff6b00;
    --orange-light: #ff8c33;
    --orange-dark: #e55e00;
    --teal: #008c79;
    --teal-light: #00b39e;
    --teal-dark: #006656;
    --blue: #2563eb;
    --blue-light: #3b82f6;
    --blue-dark: #1845a8;
    --purple: #9333ea;
    --purple-light: #a855f7;
    --purple-dark: #7e22ce;
    --amber: #f59e0b;
    --cyan: #0891b2;
    
    /* FUNDOS */
    --bg: #ffffff;
    --surface: #f9f9f9;
    --surface2: #f0f0f0;
    --navbar-bg: rgba(255, 255, 255, 0.98);
    
    /* TEXTO */
    --text: #1a1a1a;
    --muted: #666666;
    --border: #e5e5e5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   NAVEGAÇÃO
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
    }
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    height: 40px;
}

.logo {
    width: 40px;
    height: 40px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-section:hover .logo {
    filter: drop-shadow(0 0 20px rgba(255, 107, 0, 1))
            drop-shadow(0 0 40px rgba(255, 107, 0, 0.5));
    transform: scale(1.1) rotate(5deg);
}

/* Logo em Light Mode */
:root.light-mode .logo {
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.1));
}

:root.light-mode .logo-section:hover .logo {
    filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.5));
    transform: scale(1.1) rotate(5deg);
}

.brand-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--text);
    transition: color 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
}

.logo-section:hover .brand-name {
    color: var(--orange);
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 24px;
}

.theme-toggle:hover {
    background: var(--border);
    color: var(--orange);
}

.theme-toggle.light-mode {
    color: var(--orange);
}

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

.hero {
    margin-top: 60px;
    padding: 80px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    min-height: calc(100vh - 60px);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 72px;
    line-height: 1.1;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 24px;
}

.neon-text {
    color: var(--orange);
    text-shadow: 
        0 0 10px rgba(255, 107, 0, 0.8),
        0 0 30px rgba(255, 107, 0, 0.4),
        0 0 60px rgba(255, 107, 0, 0.2);
}

.neon-text-teal {
    background: linear-gradient(90deg, #00c9a7, #3d9cf5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 500px;
    font-style: normal;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image {
    width: 120%;
    height: auto;
    object-fit: contain;
    max-width: none;
    aspect-ratio: 1 / 1;
    animation: floatGlow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(255, 107, 0, 0)) drop-shadow(0 0 20px rgba(0, 201, 167, 0));
    margin: 0 auto;
}

@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0px);
        filter: drop-shadow(0 0 40px rgba(255, 107, 0, 0.5)) drop-shadow(0 0 20px rgba(255, 154, 0, 0.3));
    }
    50% {
        transform: translateY(-20px);
        filter: drop-shadow(0 0 60px rgba(255, 107, 0, 0.7)) drop-shadow(0 0 30px rgba(255, 170, 0, 0.5));
    }
}

/* ============================================
   MEDIA QUERIES - HERO
   ============================================ */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 60px 24px;
        gap: 40px;
        min-height: auto;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-image {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 60px;
        padding: 40px 16px;
        gap: 24px;
    }

    .hero-content {
        text-align: center;
        align-items: center;
    }

    .hero-title {
        font-size: 40px;
        margin-bottom: 16px;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 60px;
        padding: 30px 12px;
        gap: 20px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 12px;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 13px;
        margin-bottom: 16px;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
        text-align: center;
        justify-content: center;
    }

    .btn {
        width: 100%;
        padding: 12px;
    }

    .hero-image {
        width: 100%;
        height: auto;
    }
}

/* ============================================
   SEÇÕES GERAIS
   ============================================ */

.section-header {
    max-width: 1200px;
    margin: 0 auto 48px;
    padding: 0 48px;
}

.sec-label {
    font-family: 'Space Mono', monospace;
    font-size: clamp(16px, 5vw, 40px);
    color: var(--orange);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sec-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 8vw, 56px);
    letter-spacing: 1px;
    color: var(--text);
    margin-top: 16px;
}

/* ============================================
   BOTÕES
   ============================================ */

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary {
    background: var(--orange);
    color: #000;
}

.btn-primary:hover {
    background: #ff8c33;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--orange);
    color: var(--orange);
}

.btn-secondary:hover {
    background: rgba(255, 107, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.btn-large {
    padding: 18px 48px;
    font-size: 13px;
}

/* ============================================
   SEÇÃO MAPA
   ============================================ */

.section-map {
    padding: 80px 48px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.map-container {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.15);
    border: 1px solid var(--border);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    display: block;
}

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

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 40px 16px 60px;
        gap: 40px;
        min-height: auto;
    }

    .hero-content {
        justify-content: flex-start;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.6;
    }

    .hero-buttons {
        gap: 12px;
        margin-top: 20px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 10px;
    }

    .btn-large {
        padding: 14px 32px;
        font-size: 12px;
    }

    .hero-visual {
        margin-top: 20px;
    }

    .hero-image {
        width: 100%;
        max-width: 300px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(20, 22, 24, 0.98);
        border-top: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        padding: 12px 24px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 12px 0;
        font-size: 12px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-container {
        padding: 0 16px;
    }

    .logo {
        width: 32px;
        height: 32px;
    }

    .brand-name {
        font-size: 16px;
    }

    .section-header {
        padding: 0 16px;
        margin-bottom: 32px;
    }

    .sec-label {
        font-size: 8px;
        margin-bottom: 8px;
    }

    .section-title {
        font-size: 32px;
        margin-top: 12px;
    }

    .section-projects,
    .section-services,
    .section-materials {
        padding: 50px 16px;
    }

    .section-map {
        padding: 40px 16px;
    }

    .map-container iframe {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 12px 50px;
        gap: 30px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 9px;
    }

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

    .hero-image {
        max-width: 250px;
    }

    .nav-container {
        padding: 0 12px;
    }

    .section-header {
        padding: 0 12px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-projects,
    .section-services,
    .section-materials {
        padding: 40px 12px;
    }
}
