:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-color: #e65c00; /* Laranja Webras */
    --accent-glow: rgba(230, 92, 0, 0.15);
    
    --font-main: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* --- Loader --- */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.8, 0, 0.2, 1), visibility 0.8s cubic-bezier(0.8, 0, 0.2, 1);
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.building-loader {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 40px;
}

.pillar {
    width: 12px;
    background-color: var(--accent-color);
    border-radius: 2px 2px 0 0;
    animation: grow 1.2s infinite ease-in-out alternate;
}

.pillar-1 { height: 20px; animation-delay: -0.4s; }
.pillar-2 { height: 40px; animation-delay: -0.2s; }
.pillar-3 { height: 30px; animation-delay: 0s; }

@keyframes grow {
    0% { transform: scaleY(0.4); opacity: 0.5; }
    100% { transform: scaleY(1); opacity: 1; }
}

.loader-text {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    animation: pulse-text 1.5s infinite;
}

@keyframes pulse-text {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* --- Main Layout --- */
.main-container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.main-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Background Effects */
.bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
    filter: blur(80px);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    z-index: -1;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
    pointer-events: none;
}

/* Content */
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.8));
    animation: float 6s ease-in-out infinite;
    mix-blend-mode: screen; /* Helps if the logo bg isn't perfectly pure black */
}

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

.text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 750px;
    margin-top: -2rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    background: rgba(230, 92, 0, 0.1);
    border: 1px solid rgba(230, 92, 0, 0.25);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(230, 92, 0, 0.1);
}

.title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.text-accent {
    color: var(--accent-color);
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

/* Buttons */
.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2.5rem;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 10px 25px rgba(230, 92, 0, 0.25);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(230, 92, 0, 0.4);
    background-color: #ff6f00;
}

.btn-primary:hover i {
    transform: scale(1.1) rotate(5deg);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.btn-secondary:hover i {
    transform: scale(1.1);
}

/* Agency Footer */
.agency-signature {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 20;
    animation: fadeIn 1s ease-in-out 2.5s both; /* Fades in after main content */
}

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

.agency-signature a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.agency-signature a:hover {
    opacity: 1;
    color: var(--text-primary);
}

.agency-logo {
    height: 14px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.agency-signature a:hover .agency-logo {
    opacity: 1;
}

@media (max-width: 768px) {
    .content-wrapper {
        gap: 0;
    }
    .social-links {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }
    .btn {
        justify-content: center;
        width: 100%;
    }
    .logo {
        max-width: 300px;
    }
    .bg-glow {
        width: 100vw;
        height: 100vw;
    }
}
