/* =========================================
   1. CONFIGURAÇÕES GLOBAIS (Variáveis)
   ========================================= */
:root {
    /* Cores Premium (Indigo & Slate) */
    --primary: #4F46E5;       /* Indigo 600 */
    --primary-hover: #4338ca; /* Indigo 700 */

    /* Tema Dark (Home/Login) */
    --dark-bg: #0F172A;       /* Slate 900 */
    --dark-card: #1E293B;     /* Slate 800 */
    --text-main: #F8FAFC;     /* Slate 50 */
    --text-sec: #94A3B8;      /* Slate 400 */

    /* Altura Dinâmica Mobile */
    --vh: 1vh; /* Será ajustado via JS */
}

/* Reset Moderno */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.5;

    /* Previne "scroll elástico" que quebra apps web no iOS */
    overscroll-behavior-y: none;
}

/* Tipografia de Destaque */
h1, h2, h3, .btn-primary, .logo, .price {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Utilitários */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden { display: none !important; }

/* Prevenção de Zoom no iPhone (Input Focus) */
input, select, textarea { font-size: 16px !important; }

/* Botões Padrão */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* =========================================
   2. LANDING PAGE (HOME)
   ========================================= */

/* Header Flutuante */
.header {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex; align-items: center; gap: 8px;
}
.logo i { color: var(--primary); }

/* Menu Desktop */
.nav-menu { display: flex; gap: 25px; list-style: none; align-items: center; }
.nav-menu a { color: var(--text-sec); text-decoration: none; font-size: 14px; font-weight: 500; transition: 0.2s; }
.nav-menu a:hover { color: white; }
.btn-agendar { background: var(--primary); color: white !important; padding: 8px 20px; border-radius: 6px; font-weight: 700; }

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 600px;
    /* Imagem de Fundo Padrão (Fallback) */
    background: url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    display: flex; align-items: center;
}

.hero-overlay {
    position: absolute; inset: 0;
    /* Gradiente para facilitar leitura do texto */
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-content { position: relative; z-index: 10; max-width: 600px; }

.badge-hero {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(79, 70, 229, 0.15);
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.5);
    border-radius: 20px;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; color: white; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px var(--primary); }
.hero p { font-size: 1.1rem; color: var(--text-sec); margin-bottom: 30px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 15px; }

/* Seções de Conteúdo */
.features, .services { padding: 80px 0; }
.services { background: #0B1120; } /* Fundo levemente diferente */

.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 10px; color: white; }
.section-subtitle { text-align: center; color: var(--text-sec); margin-bottom: 50px; }

/* Grid de Cards */
.features-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card, .service-item {
    background: var(--dark-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
    position: relative; overflow: hidden;
}

.feature-card:hover, .service-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.icon-box {
    width: 60px; height: 60px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--primary);
    margin-bottom: 20px;
}

.service-item h3 { color: white; font-size: 1.5rem; margin-bottom: 15px; }
.service-price {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Oswald', sans-serif;
}

/* Footer */
.footer {
    background: #020617;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}
.footer-logo { margin-bottom: 20px; }
.footer-social a { color: var(--text-sec); font-size: 22px; margin: 0 15px; transition: 0.3s; }
.footer-social a:hover { color: var(--primary); }
.copyright { color: #475569; font-size: 13px; margin-top: 30px; }

/* =========================================
   3. RESPONSIVIDADE (MOBILE)
   ========================================= */
.hamburger {
    display: none;
    background: none; border: none; color: white; font-size: 24px; cursor: pointer;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }

    .hamburger { display: block; }

    .nav-menu {
        display: none; /* Escondido por padrão */
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: var(--dark-card);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        border-top: 1px solid rgba(255,255,255,0.05);
    }

    .nav-menu.show { display: flex; animation: slideDown 0.3s ease; }

    .hero-buttons { flex-direction: column; width: 100%; }
    .btn-primary, .btn-outline { width: 100%; }
}

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