/* --- VARIÁVEIS E RESET --- */
:root {
    --blue-dark: #003366;
    --orange-vibrant: #FF9900;
    --text-dark: #333333;
    --bg-light: #f9f9fb;
    --white: #ffffff;
    --gray-input: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    display: block;
}

/* Esconde o texto placeholder se houver imagem */
.logo h2 {
    display: none; 
    color: var(--blue-dark);
    font-weight: 700;
}
.logo h2 span {
    color: var(--orange-vibrant);
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--orange-vibrant);
}

/* --- HERO SECTION --- */
.hero {
    padding: 80px 0 100px 0;
    background-color: var(--white);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 38px;
    color: var(--blue-dark);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    max-width: 90%;
}

.btn-orange {
    display: inline-block;
    background-color: var(--orange-vibrant);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-orange:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
}

.hero-visuals {
    flex: 1;
    position: relative;
}

.image-wrapper {
    border-left: 8px solid var(--orange-vibrant); /* Detalhe lateral da imagem do mockup */
    border-radius: 4px;
    overflow: hidden;
    background-color: #ddd; /* Fundo enquanto imagem não carrega */
}

.image-wrapper img {
    width: 100%;
    display: block;
    object-fit: cover;
    min-height: 350px;
}

/* Grade de Especialidades */
.specialties-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: -40px; /* Faz os cards sobreporem a imagem */
    position: relative;
    z-index: 10;
}

.specialty-box {
    background-color: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 15px 10px;
    width: 140px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.specialty-box .icon {
    font-size: 30px;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.specialty-box span {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    display: block;
}

/* --- SEÇÃO CONTATO --- */
.contact {
    position: relative;
    background: linear-gradient(110deg, #02183d 0%, #063d6f 50%, #d8681a 100%);
    padding: 80px 0;
    color: var(--white);
    overflow: hidden;
}

/* Simulando os circuitos no fundo via CSS */
.circuit-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.4) 2px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.contact-container {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 60px;
    align-items: center;
}

.contact-form-wrapper {
    flex: 1.2;
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-form-wrapper h2 {
    color: var(--blue-dark);
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: var(--gray-input);
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: 2px solid var(--orange-vibrant);
}

.btn-blue {
    width: 100%;
    background-color: var(--blue-dark);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-blue:hover {
    background-color: #002244;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 700;
}

.info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
}

.info-list li i {
    font-size: 24px;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.info-list li i.fa-instagram {
    margin-left: -5px; /* Ajuste para ícones juntos como no mockup */
}

/* --- FOOTER --- */
.footer {
    background-color: var(--blue-dark);
    color: var(--white);
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--orange-vibrant);
}

/* --- RESPONSIVIDADE (MOBILE E TABLETS) --- */
@media (max-width: 992px) {
    .hero-container, .contact-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 30px auto;
    }
    
    .image-wrapper {
        border-left: none;
        border-bottom: 8px solid var(--orange-vibrant);
    }
    
    .contact-form-wrapper {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .nav-menu ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .contact-form .form-row {
        flex-direction: column;
    }
    
    .specialties-grid {
        flex-wrap: wrap;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}