:root {
    /* Dusty Steel Palette */
    --color-steel: #4F6672;
    --color-deep-steel: #2C4050;
    --color-steel-mist: #F8F9FA;
    --color-snow: #FFFFFF;
    --color-charcoal: #1C1C1E;

    /* Aliases semânticos */
    --primary: var(--color-steel);
    --secondary: var(--color-deep-steel);
    --accent: #C4967A;
    --bg-main: var(--color-snow);
    --text-main: var(--color-charcoal);
    --text-muted: #6B7280;

    /* Compatibilidade com tokens antigos */
    --color-mist: var(--color-steel-mist);
    --color-cloud: var(--color-snow);

    /* Brand Colors */
    --color-pink: #F10270;
    --color-deep-pink: #D00260;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    font-size: 18px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary);
    font-weight: 700;
}

/* O header é gerenciado globalmente pelos scripts menu.js / menu-v2.js */


#menu-placeholder {
    min-height: 76px;
}

#footer-placeholder {
    min-height: 300px;
}

header nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
}

/* O logo img é gerenciado pelos scripts de menu */


.logo-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    /* Gradiente para o ícone do logo */
    border-radius: 50%;
}

/* Container para os links de navegação */
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    padding: 10px 0;
    font-size: 18px;
}

/* Botões de abrir/fechar menu no mobile (hambúrguer) */
.nav-open-btn,
.nav-close-btn {
    display: none;
    /* Escondidos por padrão em telas grandes */
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
}

/* --- Estilos do Novo Menu Dropdown --- */
.dropdown-menu {
    display: none;
    /* Escondido por padrão */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-main);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 100;
}

.dropdown-menu li a {
    color: #333;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: #f1f1f1;
}

/* Classe 'open' para mostrar o dropdown */
.dropdown.open>.dropdown-menu {
    display: block;
}

.hero {
    background: var(--color-mist);
    /* Cor de fundo suave para a seção principal */
    padding: 50px 5% 100px;
}

/* ==========================================================================
   Hero V6 - Padrão Global Gineco Expert
   ========================================================================== */
.hero-v6 {
    background: var(--color-mist);
    padding: 50px 5% 100px;
}

.hero-v6__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-v6__text { flex: 1; width: 100%; }

.hero-v6__eyebrow {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.hero-v6__headline {
    font-size: 44px;
    color: var(--secondary);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 14px;
}

.hero-v6__headline em {
    font-style: normal;
    font-weight: 800;
    color: var(--secondary);
    position: relative;
}

.hero-v6__headline em::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0; right: 0;
    height: 4px;
    background: var(--color-pink);
    border-radius: 3px;
    opacity: 0.8;
}

.hero-v6__sub {
    font-size: 17px;
    color: var(--text-main);
    line-height: 1.65;
    margin-bottom: 24px;
    opacity: 0.75;
}

.hero-v6__searchbar {
    display: flex;
    align-items: stretch;
    background: var(--bg-main);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(61,26,42,0.12);
    margin-bottom: 16px;
    max-width: 580px;
    width: 100%;
}

.searchbar__type {
    display: flex;
    border-right: 1.5px solid var(--color-mist);
    flex-shrink: 0;
}

.searchbar__type-btn {
    padding: 0 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    border-right: 1px solid var(--color-mist);
}

.searchbar__type-btn:last-child { border-right: none; }
.searchbar__type-btn i { font-size: 13px; }
.searchbar__type-btn.active { background: #fdfdfd; color: var(--secondary); border-bottom: 2px solid var(--secondary); }
.searchbar__type-btn:not(.active):hover { background: var(--color-mist); color: var(--secondary); }

.searchbar__state {
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    outline: none;
    appearance: none;
    min-width: 0;
}

.searchbar__btn {
    padding: 0 28px;
    background: var(--secondary);
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.searchbar__btn:hover { background: var(--primary); transform: scale(1.02); }

.hero-v6__quick {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.hero-v6__quick-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.hero-v6__pill {
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--bg-main);
    border: 1px solid var(--color-mist);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.hero-v6__pill:hover { background: #fde8f3; border-color: var(--primary); color: var(--primary); }

.hero-v6__image { flex: 1; text-align: center; margin-top: 30px; }

.hero-v6__image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 920px) {
    .hero-v6 { padding: 60px 20px; }
    .hero-v6__inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .hero-v6__headline { font-size: 32px; }
    .hero-v6__image { display: none; }
    .hero-v6__searchbar {
        flex-direction: column;
        margin: 0 auto 16px;
    }
    .searchbar__type { border-right: none; border-bottom: 1.5px solid var(--color-mist); }
    .searchbar__type-btn { flex: 1; justify-content: center; padding: 12px; border-right: none; }
    .searchbar__type-btn:first-child { border-right: 1px solid var(--color-mist); }
    .searchbar__state { padding: 12px 16px; border-bottom: 1.5px solid var(--color-mist); }
    .searchbar__btn { padding: 14px; justify-content: center; }
    .hero-v6__quick { justify-content: center; }
}

/* ==========================================================================
   3. Seção Hero (Principal)
   ========================================================================== */
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1.2;
}

.hero-text small {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}

.hero-text h1 {
    color: var(--secondary);
    font-size: 44px;
    font-weight: 800;
    margin: 20px 0 15px;
    line-height: 1.15;
}

.hero-text p {
    font-size: 17px;
    color: var(--text-main);
    line-height: 1.65;
    margin-bottom: 30px;
    opacity: 0.75;
}

.hero-text small a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-current {
    color: var(--secondary);
}


.search-options {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.search-btn {
    background: var(--bg-main);
    /* Fundo branco para os botões de busca */
    border: 1px solid var(--search-btn-border-color, var(--primary));
    /* Variável para a cor da borda, com #E0E0E0 como padrão */
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    justify-content: center;
    /* Centraliza o conteúdo horizontalmente */
    font-size: 14px;
    color: var(--primary);
    width: 300px;
    text-decoration: none;
}

.btn-icon {
    width: 24px;
    height: 24px;

}

/* Estilo para ícones SVG embutidos */
.search-btn .embedded-icon {
    width: 24px;
    height: 24px;
    /* A cor do preenchimento do SVG será controlada por esta variável */
    fill: var(--search-btn-icon-color, var(--primary));
    /* Cor padrão para o ícone, você pode ajustar */
}

.hero-image {
    flex: 1.2;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 700px;
    height: auto !important;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
}

/* ==========================================================================
   4. Estilos de Seção Genéricos
   ========================================================================== */

.section {
    max-width: 1200px;
    /* Largura padrão para seções de conteúdo */
    margin: 0 auto;
    padding: 60px 4%; /* Aumentado de 40px para 4% lateral */
}

.section-title {
    font-size: 32px;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.section p:not(.section-subtitle) {
    text-align: justify;
}

.alert-box {
    background-color: #EEF1F3;
    border-left: 4px solid var(--accent);
    padding: 25px;
    margin-top: 30px;
    border-radius: 4px;
}

/* ==========================================================================
   5. Grids de Conteúdo
   ========================================================================== */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-image {
    background: var(--color-mist);
    /* Fundo azul escuro para destacar a imagem */
    border-radius: 20px;
    padding: 10px;
    position: relative;
}

.content-image img {
    width: 100%;
    border-radius: 15px;
}

/* Justifica o texto dos parágrafos dentro do grid de conteúdo */
.content-grid p {
    text-align: justify;
}

.content-text {
    /* Garante que o texto não fique colado nas bordas em telas menores */
    padding: 0 10px;
}

.content-text h2 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 28px;
}

.content-text p {
    color: var(--secondary);
    line-height: 1.7;
}

/* Linha de separação de seções */
.section-divider {
    border: 0;
    height: 1px;
    background-color: #E0E0E0;
    /* Cor cinza claro para a linha */
    margin: 40px 0;
    /* Espaçamento vertical acima e abaixo da linha */
}

/* ==========================================================================
   6. Seção Glossário
   ========================================================================== */

.glossary {
    background: var(--secondary);
    /* Fundo azul escuro para a seção */
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 20px;
    margin: 0 20px;
}

.glossary h2 {
    color: white !important;
    font-size: 32px;
    margin-bottom: 10px;
}

.glossary p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.alphabet {
    letter-spacing: 8px;
    font-size: 14px;
}

.alphabet a {
    text-decoration: none;
    /* Remove o sublinhado */
    color: inherit;
    /* Herda a cor branca do contêiner */
    transition: opacity 0.3s;
}

.alphabet a:hover {
    opacity: 0.7;
    /* Adiciona um leve efeito de transparência ao passar o mouse */
}


/* ==========================================================================
   7. Seção Especialistas
   ========================================================================== */

.specialists {
    background: var(--color-mist);
    padding: 80px 20px;
}

.specialists-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.specialists-text h3 {
    color: var(--color-pink);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 800;
}

.specialists-text h2 {
    color: var(--secondary);
    font-size: 36px;
    margin-bottom: 15px;
}

.specialists-text p {
    color: var(--text-main);
    margin-bottom: 30px;
    font-size: 19px;
    line-height: 1.5;
}

.btn-primary {
    background: var(--color-pink);
    /* Botão de ação principal padrão */
    color: white;
    border: none;
    padding: 16px 35px;
    border-radius: 35px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--color-deep-pink);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(241, 2, 112, 0.3);
}

.specialists-images {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    /* Alinha as imagens à direita dentro do contêiner */
}

.specialists-images img {
    border-radius: 15px;
    width: 100%;
    /* Ajuste o valor de max-width para definir o tamanho das imagens */
    max-width: 250px;
    height: 380px;
    object-fit: cover;
    /* Mantém a proporção da imagem sem distorcer */
}

/* ==========================================================================
   8. Seção Localizações
   ========================================================================== */

.locations {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 4%; /* Aumentado de 20px para 4% */
}

.locations h2 {
    text-align: center;
    color: var(--secondary);
    font-size: 32px;
    margin-bottom: 60px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.location-card {
    background: var(--secondary);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
}

.location-card h3 {
    color: white !important;
    margin-bottom: 15px;
    font-size: 20px;
}

.location-card p {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.9;
}

/* ==========================================================================
   9. Seção Saúde e Bem-Estar (Premium Grid)
   ========================================================================== */

.health-section {
    background: #f8fbff;
    padding: 80px 20px;
    border-top: 1px solid #e2eaf2;
    border-bottom: 1px solid #e2eaf2;
}

.health-content {
    max-width: 1200px;
    margin: 0 auto;
}

.health-content h2 {
    text-align: center;
    color: var(--secondary);
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

.health-content>p {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.health-card {
    background: #fff;
    border: 1px solid #e2eaf2;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}

.health-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(36, 65, 124, 0.08);
    border-color: var(--primary);
}

.health-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f4f8;
}

.health-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.health-card:hover .health-card-image {
    transform: scale(1.06);
}

.health-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.health-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.health-card h3 {
    font-size: 1.1rem;
    color: #1a2b3c;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
    margin-top: 0;
}

.health-card h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.health-card h3 a:hover {
    color: var(--primary);
}

.health-card p {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    margin-top: 0;
}

.health-card-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.health-card:hover .health-card-link {
    gap: 12px;
}

@media (max-width: 1024px) {
    .health-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .health-section {
        padding: 60px 15px;
    }
    .health-content h2 {
        font-size: 28px;
    }
    .health-content>p {
        margin-bottom: 40px;
    }
    .health-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   10. Rodapé
   ========================================================================== */

footer {
    background: var(--color-mist);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.8;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    /* Centraliza o texto de direitos autorais */
    color: var(--text-muted);
    font-size: 13px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.footer-divider {
    border: 0;
    height: 1px;
    background-color: var(--primary);
    margin: 30px auto 40px;
    max-width: 1200px;
    width: 100%;
}

/* ==========================================================================
   11. Estilos Unificados (da página de clínica)
   ========================================================================== */

/* Estilo para links internos do blog - integrado ao texto */
.text-link {
    color: var(--primary);
    /* Azul mais suave que o tema principal */
    text-decoration: none;
    /* Remove sublinhado */
    font-weight: 500;
    /* Levemente mais pesado que o texto normal */
    transition: color 0.2s ease, border-bottom 0.2s ease;
    border-bottom: 1px solid transparent;
    /* Borda invisível por padrão */
}

.text-link:hover {
    color: var(--primary);
    /* Cor do tema principal no hover */
    border-bottom: 1px solid var(--primary);
    /* Sublinhado sutil no hover */
}

/* Grid para listar clínicas */
.clinics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.clinic-card {
    background: var(--bg-main);
    border: 1px solid var(--primary);
    /* Define a cor da borda para o azul padrão do tema */
    border-radius: 10px;
    padding: 25px;
    transition: box-shadow 0.3s;
}

.clinic-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.clinic-icon {
    font-size: 36px;
    margin-bottom: 15px;
    text-align: center;
    /* Centraliza o conteúdo (o logo) horizontalmente */
}

.clinic-icon img {
    width: 180px;
    /* Define um tamanho pequeno para o logo */
    height: auto;
    filter: grayscale(100%);
    /* Aplica o filtro de escala de cinza */
    opacity: 0.6;
    /* Deixa o logo um pouco mais suave */
}

.clinic-card h3 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 5px;
}

.clinic-subtitle {
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.clinic-detail {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.clinic-detail strong {
    color: var(--primary);
}

.faq-section {
    background: var(--bg-main);
    padding: 80px 20px;
}

.faq-container {
    max-width: 1120px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #E0E0E0;
    padding: 20px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ==========================================================================
   12. Media Queries (Responsividade)
   ========================================================================== */

/* Para tablets e telas menores (até 920px) */
@media (max-width: 920px) {

    /* Transforma a navegação em um menu lateral (hambúrguer) */
    .nav-links {
        position: fixed;
        /* Posição fixa para cobrir a tela */
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: var(--bg-main);
        flex-direction: column;
        padding: 60px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    /* Classe 'open' para exibir o menu lateral */
    .nav-links.open {
        right: 0;
    }

    /* Exibe os botões de abrir/fechar o menu */
    .nav-open-btn,
    .nav-close-btn {
        display: block;
    }

    .nav-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    /* --- Ajustes de Layout Específicos para Telas Menores --- */
    /* Seção Hero */
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-image {
        display: none;
        /* Oculta a imagem no mobile */
    }

    /* Ajusta grids de outras seções para uma única coluna */
    .content-grid,
    .specialists-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    /* Ajusta o menu dropdown para o modo mobile */
    .dropdown-menu {
        position: static;
        /* Remove o posicionamento absoluto */
        box-shadow: none;
        background-color: #f8f8f8;
    }

    .content-image {
        text-align: center;
    }

    /* Ajusta grids para duas colunas em tablets */
    .location-grid,
    .health-grid {
        grid-template-columns: 1fr 1fr;
    }

    .clinics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Ajustes Seção Carreira Mobile */
    .job-promotion-container .job-promotion-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 20px;
    }

    .job-promotion-container .job-promotion-text {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .job-promotion-container .job-promotion-text h2 {
        text-align: center !important;
        font-size: 28px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .job-promotion-container .job-promotion-text p {
        text-align: justify !important;
        max-width: 100% !important;
        margin-bottom: 30px !important;
    }

    .job-promotion-container .job-promotion-image {
        display: none !important;
    }

}

@media (max-width: 768px) {

    .hero-text p,
    .section-subtitle,
    .content-grid p,
    .section p {
        text-align: justify;
    }

    .hero-text h1,
    .section-title,
    .content-grid h2 {
        text-align: center;
    }
}

/* Para celulares (até 576px) */
@media (max-width: 576px) {

    /* Reduz o espaçamento das seções */
    .section {
        padding: 30px 20px;
    }

    .alert-box {
        padding: 20px;
    }

    .location-grid,
    .health-grid {
        grid-template-columns: 1fr;
    }

    .clinics-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    /* Botões de busca ocupam a largura total */
    .search-btn {
        width: 100%;
    }

    .hero-image img,
    .content-image img {
        max-width: 100%;
    }

    .specialists-images {
        display: flex;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .specialists-images img {
        max-width: 47%;
        height: 260px;
        flex: 1;
        min-width: 0;
        box-sizing: border-box;
    }

    /* Ajuste para evitar overflow no alfabeto do glossário */
    .alphabet {
        letter-spacing: 4px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        line-height: 2;
    }

    /* Melhora o botão flutuante no mobile para não ser cortado */
    .whatsapp-float {
        bottom: 20px !important;
        right: 15px !important;
        width: 55px;
        height: 55px;
        font-size: 28px;
        display: flex !important;
    }
}

/* ==========================================================================
   13. Estilos Específicos - Ruas Principais (Liberdade)
   ========================================================================== */
.streets-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.street-card-wrapper {
    flex: 1;
    min-width: 300px;
}

.street-card {
    background: #fdfdfd;
    padding: 25px;
    border-top: 4px solid var(--secondary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.street-title {
    color: var(--secondary);
    margin-top: 0;
}

.street-list {
    padding-left: 20px;
}

.streets-note {
    margin-top: 30px;
    font-style: italic;
    text-align: center;
    color: var(--text-muted);
}

/* ==========================================================================
   14. Estilos Específicos - Vila Mariana (Novo Padrão)
   ========================================================================== */
.column-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.column-card {
    flex: 1;
    min-width: 300px;
    background: #fdfdfd;
    padding: 25px;
    border-top: 4px solid var(--secondary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.vias-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.via-card {
    flex: 1;
    min-width: 280px;
    background: var(--bg-main);
    padding: 20px;
    border-radius: 8px;
}

/* --- Serviços Especializados: Grid de Cards --- */
.services-grid-section {
    background-color: #f4f7f9;
    padding: 80px 0;
}

.services-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
    text-align: left;
}

.service-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-radius: 15px;
    padding: 32px 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(36, 93, 107, 0.12);
}

.service-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4a9fa8;
    letter-spacing: 0.5px;
}

.service-card h3 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.5;
    margin: 0;
}

.service-card p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        text-align: center;
    }

    .service-card p {
        text-align: justify;
    }
}

/* --- Rodapé Einstein Style (Deep Navy) --- */
.main-footer {
    background-color: var(--secondary);
    padding: 80px 0 40px;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 50px;
    /* Espaço entre categorias na mesma coluna */
}

.footer-category h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-category h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    opacity: 0.3;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 60px;
}

.footer-divider {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Deixa o logo branco */
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 500px;
    line-height: 1.5;
    text-align: right;
}

/* Links desativados */
.footer-links a.link-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    transition: none;
}

.footer-links a.link-disabled:hover {
    transform: none;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsividade do Rodapé */
@media (max-width: 920px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-disclaimer {
        text-align: center;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column {
        gap: 40px;
    }
}

/* ==========================================================================
   13. Seção Promoção de Empregos (Home)
   ========================================================================== */

.job-promotion-section {
    background: linear-gradient(135deg, #1a305c 0%, var(--primary) 100%);
    padding: 60px 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.job-promotion-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.job-promotion-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.job-promotion-text {
    text-align: left;
}

.job-promotion-text h3 {
    color: var(--color-pink);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 800;
}

.job-promotion-text h2.section-title {
    text-align: left;
}

.job-promotion-text p {
    text-align: left;
}

.job-promotion-image {
    display: flex;
    justify-content: center;
}


.job-promotion-text h2 {
    font-size: 42px !important;
    line-height: 1.2 !important;
    margin-bottom: 25px !important;
    color: white !important;
    font-weight: 700 !important;
}

.btn-white-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}


.btn-white-outline:hover {
    background: var(--bg-main);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.btn-white-outline i {
    font-size: 18px;
}

/* ==========================================================================
   13. Seção Newsletter
   ========================================================================== */

.newsletter-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 40px auto;
}

.newsletter-container {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 30px;
    display: flex;
    align-items: stretch;
    /* Garante que o conteúdo estique até o topo e a base */
    justify-content: space-between;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.newsletter-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-content h2 {
    color: var(--secondary);
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.newsletter-content p {
    color: #546e7a;
    margin-bottom: 35px;
    font-size: 18px;
    line-height: 1.6;
    text-align: left !important;
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    max-width: 500px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 20px 30px;
    border: none;
    outline: none;
    font-size: 16px;
    background: var(--bg-main);
}

.newsletter-form button {
    background: var(--color-pink);
    color: white;
    padding: 20px 35px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.2s;
    font-size: 15px;
}

.newsletter-form button:hover {
    background: var(--color-deep-pink);
    transform: translateY(-2px);
}

.privacy-note {
    font-size: 13px;
    color: #78909c;
}

.privacy-note a {
    color: #546e7a;
    text-decoration: underline;
}

.newsletter-image {
    flex: 1;
    margin: 0;
    padding: 0;
}

.newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 920px) {
    .newsletter-section {
        padding: 40px 10px;
    }

    .newsletter-container {
        flex-direction: column;
        text-align: center;
        border-radius: 20px;
    }

    .newsletter-content {
        padding: 40px 20px;
        order: 2;
    }

    .newsletter-content h2 {
        font-size: 28px;
    }

    .newsletter-content p {
        text-align: center !important;
    }

    .newsletter-form {
        margin: 0 auto 20px;
        flex-direction: column;
        border-radius: 15px;
    }

    .newsletter-form input[type="email"] {
        padding: 15px;
    }

    .newsletter-form button {
        width: 100%;
        border-radius: 0 0 15px 15px;
    }

    .newsletter-image {
        order: 1;
        width: 100%;
        height: 250px;
    }
}

/* ==========================================================================
   13. Cities Grid (Modular Section)
   ========================================================================== */
.hdc-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.hdc-city-card {
    background: #fff;
    border: 1px solid #e2eaf2;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    color: #444;
}

.hdc-city-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(181, 122, 143, 0.1);
    transform: translateY(-2px);
}

.hdc-city-card i {
    display: block;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.hdc-city-card span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ==========================================================================
   16. Botão WhatsApp Flutuante (Global)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b858;
    color: #fff;
}

/* ==========================================================================
   17. CTA Premium Section
   ========================================================================== */
.hdc-cta {
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--secondary) 100%);
    color: #fff;
    padding: 70px 20px;
    text-align: center;
    border-radius: 20px;
    margin: 20px;
}

.hdc-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: #fff;
}

.hdc-cta p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
    color: #fff;
}

.hdc-cta .btn-cta {
    display: inline-block;
    background: #fff;
    color: var(--color-pink);
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hdc-cta .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

