/* --- Variáveis de Cores --- */
:root {
    --primary-color: #0f172a; /* Azul Escuro Profundo */
    --accent-color: #3b82f6;  /* Azul Vibrante */
    --secondary-accent: #0ea5e9; /* Azul Claro */
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --text-gray: #64748b;
    --bg-light: #f1f5f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* --- Reset Básico --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: --text-dark;
    background-color: var(--white);
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); color: var(--white); }

/* --- Header --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-nav:hover {
    background-color: var(--accent-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    margin-top: 70px; /* Altura do header */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #cbd5e1;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-accent);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* --- Sobre --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-features {
    margin-top: 20px;
}

.about-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features i {
    color: var(--accent-color);
}

.about-image {
    /* Define que este bloco só pode ter no máximo 500px de largura, por exemplo */
    max-width: 500px;
    
    /* Centraliza o bloco inteiro se houver espaço sobrando nas laterais */
    margin: 0 auto; 
}

/* Garante que a imagem dentro respeite o limite acima */
.about-image img {
    width: 100%; /* Ocupa 100% dos 500px definidos acima */
    height: auto;
    border-radius: 10px;
}

.img-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    font-size: 5rem;
    color: var(--primary-color);
}

/* --- Serviços --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-top: 4px solid var(--accent-color);
}

.card .icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* --- Tech Stack --- */
.tech-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tech-tag {
    background-color: #e2e8f0;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
}

/* --- Metodologia Medalhão --- */
.medallion-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.medal-step {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 250px;
    border: 2px solid rgba(255,255,255,0.2);
}

.medal-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.bronze { border-color: #cd7f32; box-shadow: 0 0 15px rgba(205, 127, 50, 0.2); }
.silver { border-color: #c0c0c0; box-shadow: 0 0 15px rgba(192, 192, 192, 0.2); }
.gold { border-color: #ffd700; box-shadow: 0 0 15px rgba(255, 215, 0, 0.2); }

.arrow {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.5);
}

.analogy-box {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Contato --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-list li {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-list i {
    margin-right: 15px;
    color: var(--accent-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-family: inherit;
}

.full-width {
    width: 100%;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--text-gray);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .nav-menu {
        position: absolute;
        top: 70px;
        right: -100%;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        transition: 0.3s;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active { right: 0; }

    .nav-menu ul {
        flex-direction: column;
        padding: 20px;
    }

    .hero h1 { font-size: 2.5rem; }
    
    .about-grid, .contact-container {
        grid-template-columns: 1fr;
    }

    .medallion-wrapper {
        flex-direction: column;
    }
    
    .arrow { transform: rotate(90deg); margin: 10px 0; }
}