:root {
    --primary-blue: #1e5a96;
    --dark-blue: #0f2a4a;
    --text-color: #334155;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    background: var(--white);
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--dark-blue);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

nav li {
    margin-bottom: 15px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: var(--primary-blue);
}

.btn-contact {
    background: var(--primary-blue);
    color: white !important;
    padding: 0.5rem 1.0rem;
    border-radius: 10px;
}
.selected-menu {
    text-decoration: underline; 
    text-decoration-thickness: 0.2em;
    text-underline-offset: 5px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.0rem;
    line-height: 1.1;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-align: left;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(30, 90, 150, 0.3);
}

.btn-secondary {
    border: 2px solid #cbd5e1;
    color: var(--text-color);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

.hero-image {
    flex: 1;
    transition: 0.8s;
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
    border-radius: 10px;
}

.hero-image:hover {
    transform: translateY(-5px);
}


/* Specialties Section */
.specialties {
    padding: 4rem 2rem;
}

.specialties h2 {
    margin-bottom: 2rem;
    color: var(--dark-blue);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card i {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    width: 40px;
    height: 40px;
}

.card h3 {
    font-size: 1rem;
    color: var(--dark-blue);
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-btns {
        justify-content: center;
    }
    .container li {
        font-size: 0.8rem;
    }
    nav ul {
        display: block;
    }
    
}


/* ==========================================================
   ESTILOS ADICIONAIS PARA A PÁGINA DE ESPECIALIDADES
   ========================================================== */

.page-specialties {
    background-color: #fbfdff; /* Um tom ligeiramente diferente para variação */
}

/* Page Header (Título Principal da Página) */
.page-header {
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3.2rem;
    color: var(--dark-blue);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: #475569;
}

/* Specialties Detailed Layout */
.specialties-detailed {
    display: flex;
    flex-direction: column;
    gap: 6rem; /* Espaço entre cada item */
    padding-bottom: 6rem;
}

/* Item de Especialidade (Lado a Lado) */
.specialty-item {
    display: flex;
    align-items: center;
    gap: 4rem;
}

/* Reverter a ordem (Imagem à direita) */
.specialty-item.reverse {
    flex-direction: row-reverse;
}

.spec-image {
    flex: 1; 
    transition: 0.8s;    
}

.spec-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.30); /* Sombra suave */
    border: 1px solid #f1f5f9;
}

.spec-image:hover {
    transform: translateY(-5px);
 }

.spec-content {
    flex: 1;
}

.spec-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    
}

.spec-title i {
    width: 35px;
    height: 35px;
    color: var(--primary-blue);
}

.spec-title h2 {
    font-size: 2.0rem;
    color: var(--dark-blue);
    margin: 0;
}


.spec-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: left;
}

.spec-content ul {
    list-style: none;
}

.spec-content li {
    position: relative;
    padding-left: 25px; 
    margin-bottom: 0.8rem;
    color: #475569;
    text-align: left;
}


/* Marcador personalizado (pequena barra azul) */

.spec-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}



/* CTA Final */
.final-cta {
    background-color: var(--dark-blue);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    # border-radius: 24px;
    margin-bottom: 4rem;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsividade */

@media (max-width: 968px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    .specialty-item,
    .specialty-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .spec-title {
        justify-content: center;
    }
    .spec-title h2 {
        font-size: 1.8rem;
    }    
    .spec-content li {
        padding-left: 25;
    }    
    .final-cta h2 {
        font-size: 1.5rem;
    }
}


/* ==========================================================
   ESTILOS DA PÁGINA DE CONTATO
   ========================================================== */

   .page-contact {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.contact-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem;
}

.contact-text h1 {
    font-size: 2.8rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 800;
}

.contact-text p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

/* Cards de Contato */
.contact-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 800px;
}

.contact-card {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: left;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-blue);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    background: #f1f5f9;
    color: var(--primary-blue);
    transition: 0.3s;
}

.contact-card:hover .icon-box {
    background: var(--primary-blue);
    color: white;
}

.card-info h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 0.3rem;
}

.card-info p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: #64748b;
}

.action-text {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

/* Estilo específico para destacar WhatsApp */
.contact-card.whatsapp:hover {
    border-color: #25D366;
}
.contact-card.whatsapp:hover .icon-box {
    background: #25D366;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .contact-channels {
        grid-template-columns: 1fr;
    }
}

