/* 1. Importando Fontes do Google (Montserrat e Open Sans) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif; /* Fonte padrão para textos */
    line-height: 1.6;
    color: #333;
}

/* Títulos com fonte diferente */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Cabeçalho */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Sombra mais suave */
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000; /* Garante que o menu fique acima de tudo */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #0056b3;
    font-weight: 700;
}

.menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color 0.3s;
}

.menu a:hover {
    color: #0056b3;
}

/* Seção Hero (Com Imagem e Overlay) */
.hero {
    /* Gradiente preto transparente + Imagem de fundo */
    background-image: linear-gradient(rgba(0, 50, 100, 0.7), rgba(0, 50, 100, 0.7)), url('https://images.unsplash.com/photo-1622253692010-333f2da6031d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito Parallax */
    padding: 120px 0; /* Mais altura */
    text-align: center;
    color: white;
}

.hero h2 {
    font-size: 3rem; /* Título maior */
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Botões */
.btn-primary {
    display: inline-block;
    background-color: #0056b3;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px; /* Botão arredondado */
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    border: 2px solid white; /* Borda branca para destaque */
}

.btn-primary:hover {
    background-color: white;
    color: #0056b3;
    transform: scale(1.05); /* Aumenta um pouco */
}

.btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
}

/* Seções Gerais */
.section {
    padding: 80px 0;
    text-align: center;
}

.bg-light {
    background-color: #f8f9fa;
}

/* Cards de Especialidades (Com animação) */
.grid-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    width: 300px;
    border-bottom: 5px solid transparent;
    transition: all 0.3s ease; /* Animação suave */
    cursor: default;
}

/* Efeito ao passar o mouse */
.card:hover {
    transform: translateY(-10px); /* Sobe 10px */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-bottom: 5px solid #0056b3;
}

/* Estilo dos Ícones */
.icon-med {
    font-size: 45px;
    color: #0056b3;
    margin-bottom: 20px;
}

.card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Rodapé */
footer {
    background-color: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 30px 0;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* --- BARRA DE DEMONSTRAÇÃO --- */
body {
    padding-top: 40px; /* Empurra o site para baixo para caber a barra */
}

.demo-banner {
    background-color: #D4AF37; /* Dourado da NMB */
    color: #000;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    font-family: sans-serif;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.btn-voltar-portfolio {
    background-color: #000;
    color: #D4AF37;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
    transition: 0.3s;
}

.btn-voltar-portfolio:hover {
    background-color: #333;
}