/* =========================================
   1. CONFIGURAÇÕES GERAIS E CORES DA MARCA
   ========================================= */
:root {
    /* PALETA IDENTIDADE VISUAL - PRETO E AMARELO */
    --primary-color: #FFCC00; 
    --primary-dark: #e6b800;
    --bg-dark: #000000;       
    --bg-card: #121212; 
    --bg-card-border: #333333;
    --text-light: #ffffff;
    --text-dim: #cccccc;
    --text-on-primary: #000000; 
    --brand-gradient: linear-gradient(135deg, #FFCC00 0%, #ffdb4d 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* REGRA DE OURO PARA IMAGENS COM WIDTH/HEIGHT EXPLÍCITOS */
img {
    max-width: 100%;
    height: auto; /* Isso impede que a imagem fique esticada */
    display: block;
}

/* =========================================
   2. HEADER & NAVEGAÇÃO
   ========================================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0.8rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; 
    width: auto;
    /* width attribute no HTML cuida do CLS, CSS cuida do tamanho final */
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn {
    padding: 10px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-on-primary);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-on-primary);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.4);
}

.mobile-menu-icon {
    display: none;
    color: var(--primary-color);
    cursor: pointer;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    top: -30%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
}

.badge {
    background: rgba(255, 204, 0, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid var(--primary-color);
    margin-bottom: 24px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.text-gradient {
    color: var(--primary-color);
}

.hero-text p {
    color: var(--text-dim);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 540px;
}

.hero-image img {
    /* Dimensões controladas pelo HTML + max-width global */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.floating-img {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   4. ABOUT SECTION
   ========================================= */
.about {
    padding: 100px 0;
    position: relative;
    border-top: 1px solid #1a1a1a;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.about h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 25px;
}

.about p {
    color: var(--text-dim);
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.about-visual {
    position: relative;
    height: auto;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.abstract-shape .circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.c1 {
    width: 350px;
    height: 350px;
    background: rgba(255, 204, 0, 0.25);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 6s infinite alternate;
}

.c2 {
    width: 250px;
    height: 250px;
    background: rgba(255, 204, 0, 0.1);
    bottom: 0;
    right: 10%;
}

.about-img {
    position: relative;
    z-index: 1;
    max-width: 80%; /* Garante que não estoure no desktop */
    border-radius: 20px;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.8));
}

@keyframes pulseGlow {
    0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.1); }
}

/* =========================================
   5. SERVICES SECTION
   ========================================= */
.services {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    padding: 35px;
    border-radius: 8px;
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    background: #1a1a1a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.icon-box {
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--primary-color);
}

.glass-card h3 {
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 1.25rem;
}

.glass-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   6. CTA SECTION
   ========================================= */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    text-align: center;
    padding: 70px 30px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: #111;
    border: 1px solid var(--primary-color);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-box p {
    max-width: 600px;
    margin: 0 auto 35px;
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* =========================================
   7. FOOTER
   ========================================= */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: #000000;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.footer-logo img {
    max-width: 120px; 
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-logo img:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: var(--text-dim);
    transition: all 0.3s ease;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.social-icon:hover {
    color: var(--text-on-primary);
    background: var(--primary-color);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.copyright p {
    color: var(--text-dim);
    font-size: 0.85rem;
    text-align: center;
    opacity: 0.6;
}

/* =========================================
   8. ANIMAÇÕES
   ========================================= */
.fade-in-up { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
.fade-in-right { animation: fadeInRight 0.8s ease-out forwards; opacity: 0; }
.fade-in-left { animation: fadeInLeft 0.8s ease-out forwards; opacity: 0; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.pulse-btn {
    animation: pulseShadow 2s infinite;
}

@keyframes pulseShadow {
    0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 204, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

/* =========================================
   9. RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    .header-container { padding: 0 10px; }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 40px 0;
        border-bottom: 1px solid var(--primary-color);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 900;
    }
    
    .nav.active {
        transform: translateY(0);
        box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    }
    
    .mobile-menu-icon { display: block; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding-top: 30px;
    }

    .hero-text h1 { font-size: 2.4rem; }
    .hero-text p { margin: 0 auto 30px; font-size: 1rem; }
    
    .hero-image { 
        max-width: 80%; 
        margin: 0 auto; 
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 0; 
    }
    
    .about-visual {
        margin-top: 40px;
        min-height: auto;
    }
    
    .about-img {
        max-width: 70%;
    }

    .c1 {
        width: 200px;
        height: 200px;
    }
    
    .about {
        padding: 60px 0 40px; 
    }

    .cta-box h2 { font-size: 1.8rem; }
}