/* VARIÁVEIS GLOBAIS (Estilo Dark Premium) */
:root {
    --bg-color: #050a0d;
    --bg-card: #111b21;
    --primary-color: #1A638F;
    --primary-glow: rgba(26, 99, 143, 0.4);
    --text-primary: #e9edef;
    --text-secondary: #8696a0;
    --font-main: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* HEADER */
header {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(5, 10, 13, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.logo span { font-weight: 300; color: var(--primary-color); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--text-primary); }
.btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
}
.btn-login:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

/* HERO SECTION */
.hero {
    padding: 150px 20px 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh;
}
.hero-text { flex: 1; padding-right: 40px; }
.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
}
.hero h1 span { color: var(--primary-color); }
.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 500px;
}
.btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 99, 143, 0.6);
}
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* MOCKUP CLAY STYLE (TELEFONE FLUTUANTE) */
.mockup-phone {
    width: 300px;
    height: 620px;
    background: var(--bg-card);
    border-radius: 40px;
    border: 8px solid #202c33;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 2px rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
    animation: float 6s ease-in-out infinite;
}
.mockup-phone img {
    width: 100%; height: 100%; object-fit: cover;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* O PROBLEMA (Quebra de Padrão) */
.section-break {
    background: var(--bg-card);
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.section-break h2 { font-size: 2rem; font-weight: 700; margin-bottom: 15px; }
.section-break p { font-size: 1.1rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto; line-height: 1.6; }

/* SHOWCASE (Funcionalidades) */
.showcase { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.showcase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 120px;
    gap: 50px;
}
.showcase-row.reverse { flex-direction: row-reverse; }
.showcase-text { flex: 1; }
.showcase-text h3 { font-size: 2.2rem; margin-bottom: 15px; font-weight: 800; }
.showcase-text p { color: var(--text-secondary); line-height: 1.7; font-size: 1.05rem; }
.showcase-img { flex: 1; display: flex; justify-content: center; }

/* METODOLOGIA */
.methodology { padding: 80px 20px; background: var(--bg-card); text-align: center; }
.methodology h2 { font-size: 2.5rem; margin-bottom: 50px; }
.grid-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.method-card {
    background: var(--bg-color);
    padding: 40px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}
.method-card:hover { transform: translateY(-5px); }
.method-card svg { width: 50px; height: 50px; fill: var(--primary-color); margin-bottom: 20px; }
.method-card h4 { font-size: 1.2rem; margin-bottom: 10px; }
.method-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }

/* AUTORIDADE (JCesar) */
.authority {
    padding: 100px 20px;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}
.auth-img {
    width: 300px; height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    flex-shrink: 0;
}
.auth-img img { width: 100%; height: 100%; object-fit: cover; }
.auth-text h2 { font-size: 2.5rem; margin-bottom: 10px; }
.auth-text h4 { color: var(--primary-color); font-weight: 500; margin-bottom: 20px; letter-spacing: 1px; }
.auth-text p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 15px; }

/* FOOTER & CTA */
footer { padding: 80px 20px 40px 20px; text-align: center; background: var(--bg-card); border-top: 1px solid rgba(255,255,255,0.05); }
footer h2 { font-size: 2.5rem; margin-bottom: 20px; }
footer p { color: var(--text-secondary); margin-bottom: 40px; }
.copyright { margin-top: 60px; font-size: 0.8rem; color: #54656f; }

/* RESPONSIVIDADE PARA CELULAR */
@media(max-width: 768px) {
    .hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-text { padding-right: 0; margin-bottom: 50px; }
    .hero h1 { font-size: 2.3rem; }
    .showcase-row, .showcase-row.reverse { flex-direction: column; text-align: center; gap: 30px; }
    .grid-methods { grid-template-columns: 1fr; }
    .authority { flex-direction: column; text-align: center; }
    .nav-links { display: none; }
    .nav-container { justify-content: space-between; }
}