:root {
    /* Paleta Impulso AL */
    --primary-dark: #0A262C;
    --primary: #12444E;
    --primary-light: #2A7A82;
    --accent: #E6A740;
    --accent-hover: #F2B749;
    --text-light: #F8FAFC;
    --text-gray: #94A3B8;
    --white: #FFFFFF;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--primary-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Utilitários */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-accent { color: var(--accent); }

/* Tipografia */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; }

.gradient-text {
    background: linear-gradient(90deg, var(--white), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Botões */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 10px 25px; /* Ajustei levemente o padding */
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
    font-size: 0.95rem;
    white-space: nowrap; /* Impede que o texto quebre dentro do botão */
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    border-color: var(--white);
    background-color: rgba(255,255,255,0.05);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(10, 38, 44, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    gap: 10px;
}

.logo img { height: 40px; width: auto; }

/* Menu Principal */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-link:hover { color: var(--accent); }

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: radial-gradient(circle at top right, var(--primary), var(--primary-dark));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    max-width: 500px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape { position: relative; width: 100%; height: 100%; }

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.c1 {
    width: 300px; height: 300px;
    background: var(--primary-light);
    top: 0; right: 20px;
    animation: float 6s ease-in-out infinite;
}

.c2 {
    width: 250px; height: 250px;
    background: var(--accent);
    bottom: 20px; left: 40px;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite reverse;
}

.card-glass {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    top: 30%; right: 10%;
    animation: float 5s ease-in-out infinite 1s;
}

.glass-2 { top: 60%; left: 10%; animation-delay: 0.5s; }
.card-glass i { color: var(--accent); }

/* Seções Gerais */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }

.tag {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.section-header h2 { font-size: 2.5rem; color: var(--white); }

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    background: rgba(255, 255, 255, 0.03);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-item { text-align: center; }
.stat-item i { font-size: 2rem; color: var(--accent); margin-bottom: 20px; }
.stat-item h3 { margin-bottom: 10px; color: var(--white); }

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(18, 68, 78, 0.3);
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    background: rgba(18, 68, 78, 0.6);
    transform: translateY(-10px);
    border-color: var(--accent);
}

.icon-box {
    width: 60px; height: 60px;
    background: var(--primary-dark);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 25px;
}

.service-card h3 { margin-bottom: 15px; color: var(--white); }
.service-card p { color: var(--text-gray); font-size: 0.95rem; }

/* Portfólio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
}

.project-image {
    height: 300px;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    opacity: 0.8;
}

.project-card:hover .project-image { transform: scale(1.1); opacity: 0.4; }

.project-info {
    position: absolute;
    bottom: 20px; left: 20px;
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-info { transform: translateY(0); opacity: 1; }
.link-arrow { color: var(--accent); font-size: 1.2rem; display: block; margin-top: 10px;}

/* Footer */
footer {
    background-color: #05161a;
    padding-top: 80px;
    padding-bottom: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateX(5px);
}

.icon-circle {
    min-width: 50px; height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
}

.card-info span { display: block; font-size: 0.85rem; color: var(--text-gray); margin-bottom: 3px; }
.card-info h3 { font-size: 1.1rem; color: var(--white); margin: 0; font-weight: 500; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.social-links { display: flex; gap: 20px; }
.social-links a { color: var(--text-gray); font-size: 1.5rem; transition: color 0.3s; }
.social-links a:hover { color: var(--accent); }

/* Mobile Menu & Responsividade */
.hamburger { display: none; cursor: pointer; }
.bar {
    display: block; width: 25px; height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* MEDIA QUERIES */
/* Tablets (até 992px) - Aqui acontece a correção do botão quebrando */
@media (max-width: 992px) {
    .hamburger { display: block; z-index: 1001; }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        justify-content: center;
        background-color: var(--primary-dark);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding: 20px;
        z-index: 999;
    }

    .nav-menu.active { left: 0; }
    .nav-list { flex-direction: column; gap: 40px; margin-bottom: 40px; }
    
    .hero-text h1 { font-size: 3rem; }
}

/* Mobile (Celulares) */
@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 30px;}
    .hero-text h1 { font-size: 2.2rem; }
    .hero-buttons { justify-content: center; flex-direction: column; gap: 15px; }
    .btn-outline { margin-left: 0; }
    .hero-visual { height: 300px; }
    
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .footer-cta { text-align: center; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .social-links { justify-content: center; }
    .card-info h3 { font-size: 0.95rem; word-break: break-all; }
}