/* --- Reset Básico & Estilos Globais --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

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

/* --- Cabeçalho --- */
.main-header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    max-height: 150px;
    display: block;
}

.cta-button {
    background-color: #007BFF;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* --- Seção de Busca Principal (index.html) --- */
.search-section {
    background-color: rgba(255, 255, 255, 0.95);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
}

.search-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.search-form {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    color: #555;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.search-button {
    grid-column: 4 / 5;
    align-self: end;
    background-color: #28a745;
    color: #ffffff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #218838;
}

/************************************************/
/* --- BANNER CARROSSEL 1200x900px RESPONSIVO (AJUSTADO) --- */
/************************************************/

.banner-carousel-section {
    /* Remove o padding que cria o espaço entre o menu e o banner */
    padding: 0; 
    background-color: #f9f9f9;
}

.banner-carousel {
    position: relative;
    max-width: 100%; /* Garantindo largura total (full-width) */
    width: 100%;
    /* Define a nova altura do banner, com fallback para telas menores */
    height: 900px; 
    margin: 0 auto;
    overflow: hidden;
    /* Remove ou ajusta o border-radius se o banner for full-width */
    border-radius: 0; 
    box-shadow: none; /* Remove a sombra, se houver */
}

/* O resto dos estilos de slides, imagem e conteúdo (que garantem a responsividade) permanecem inalterados: */
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.banner-slide.active {
    opacity: 1;
}

/* Fundo do banner */
.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Imagens de fundo */
.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o banner de 900px */
    object-position: center;
}

/* Redução da altura para telas menores */
@media (max-width: 1200px) {
    .banner-carousel {
        height: 700px;
    }
}

@media (max-width: 992px) {
    .banner-carousel {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .banner-carousel {
        height: 400px; /* Altura ideal para mobile */
    }
}

@media (max-width: 576px) {
    .banner-carousel {
        height: 300px;
    }
}

/* ... (resto do CSS do carrossel: indicadores, navs, conteúdo) ... */

/* Vídeos de fundo */
.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Fallback para vídeos que não carregam */
.video-fallback {
    width: 100%;
    height: 100%;
}

/* Overlay para melhorar legibilidade do texto */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Conteúdo do banner */
.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 40px;
}

.banner-content h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    line-height: 1.5;
}

.banner-btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
}

.banner-slide:hover .banner-btn {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Indicadores */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background-color: white;
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Setas de navegação */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.banner-nav:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.banner-nav.prev {
    left: 20px;
}

.banner-nav.next {
    right: 20px;
}

/************************************************/
/* --- CARROSSEL DE ARTIGOS --- */
/************************************************/

.articles-carousel-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.articles-carousel-section .section-title {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 50px;
}

.articles-carousel {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.articles-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.articles-container .article-card {
    flex: 0 0 calc(33.333% - 20px); /* 3 por vez */
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.articles-container .article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.article-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.article-placeholder {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-content p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-btn {
    display: inline-block;
    background-color: #ffc107; /* dourado */
    color: #000; /* texto preto */
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.article-btn:hover {
    background-color: #e0a800; /* dourado mais escuro no hover */
}

.articles-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.articles-nav:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
}

.articles-nav.prev {
    left: 10px;
}

.articles-nav.next {
    right: 10px;
}

/* --- Seções de Banners (index.html) --- */
.banners-section { padding: 60px 0; }
.banners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.banner { background-color: #ffffff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); text-align: center; }
.banner h3 { color: #007BFF; margin-bottom: 15px; }
.banner p { margin-bottom: 20px; }
.banner .cta-button-secondary { background-color: transparent; color: #007BFF; border: 2px solid #007BFF; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: all 0.3s ease; }
.banner .cta-button-secondary:hover { background-color: #007BFF; color: #ffffff; }

.banners-full-width { background-color: #ffffff; }
.banners-full-width .container { display: flex; flex-direction: column; gap: 30px; }
.banners-full-width .banner { padding: 0px; text-align: center; border-radius: 8px;}
.banner-clinicas {  margin-top: 40px; margin-bottom: 20px; box-shadow: none;}
.banner-cursos {  margin-top: 20px; margin-bottom: 40px; box-shadow: none; }

/* --- Área de Assinantes (index.html) --- */
.subscribers-section { background-color: #e9f2ff; padding: 60px 0; text-align: center; }
.subscribers-section h2 { font-size: 2em; margin-bottom: 15px; color: #0056b3; }
.subscribers-section p { max-width: 600px; margin: 0 auto 30px; }
.subscribe-form { display: flex; justify-content: center; gap: 10px; }
.subscribe-form input[type="email"] { width: 300px; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 1em; }

/* --- Rodapé --- */
.main-footer { background-color: #343a40; color: #ffffff; padding: 40px 0; text-align: center; }
.footer-links { margin-bottom: 20px; }
.footer-links a { color: #ffffff; text-decoration: none; margin: 0 15px; transition: color 0.3s ease; }
.footer-links a:hover { color: #007BFF; }

/******************************************/
/* --- ESTILOS: PÁGINA DE PLANOS ---*/
/******************************************/

.planos-section { padding: 60px 0; background-color: #f9f9f9; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.2em; color: #333; margin-bottom: 10px; }
.section-title p { font-size: 1.1em; color: #666; }
.planos-grid { 
display: grid; 
    /* Esta propriedade cria colunas flexíveis, permitindo que os cartões fiquem lado a lado */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
    align-items: stretch;
    /* Remove a limitação de largura e centralização forçada */
    max-width: 100%; 
    margin: 0;
}
.plano-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); display: flex; flex-direction: column; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.plano-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.plano-header { padding: 20px; color: #fff; text-align: center; }
.plano-header h3 { font-size: 1.6em; }
.plano-verde { background-color: #28a745; }
.plano-dourado { background-color: #ffc107; color: #333; }
.plano-azul { background-color: #007BFF; }
.plano-roxo { background-color: #6f42c1; }
.plano-rosa { background-color: #e83e8c; }
.plano-body { padding: 25px; flex-grow: 1; }
.plano-body ul { list-style: none; }
.plano-body ul li { padding: 10px 0 10px 35px; position: relative; border-bottom: 1px solid #f0f0f0; }
.plano-body ul li:last-child { border-bottom: none; }
.plano-body ul li::before { content: '✓'; color: #28a745; font-weight: bold; font-size: 1.2em; position: absolute; left: 5px; top: 8px; }
.plano-body ul li.feature-plus { font-style: italic; color: #555; font-size: 0.95em; }
.plano-body ul li.feature-plus::before { content: '+'; color: #007BFF; }
.plano-footer { padding: 25px; text-align: center; }
.btn-assinar { display: block; width: 100%; padding: 12px; border-radius: 5px; text-decoration: none; color: #fff; font-weight: bold; transition: opacity 0.3s ease; }
.btn-assinar:hover { opacity: 0.9; }
.btn-verde { background-color: #28a745; }
.btn-dourado { background-color: #ffc107; color: #333; }
.btn-azul { background-color: #007BFF; }
.btn-roxo { background-color: #6f42c1; }
.btn-rosa { background-color: #e83e8c; }
.plano-card.popular { border: 2px solid #007BFF; }
.popular-badge { position: absolute; top: 15px; right: -35px; background-color: #ff0000; color: white; padding: 5px 40px; font-size: 0.9em; font-weight: bold; transform: rotate(45deg); z-index: 10; }

/************************************************/
/* --- NOVA BARRA DE BUSCA (buscar.html) --- */
/************************************************/

.search-bar-section {
    background-color: #fff;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.search-bar-form {
    margin-bottom: 20px;
}

.search-input-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #007BFF;
}

.search-btn {
    background-color: #28a745;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #218838;
}

.search-example {
    text-align: center;
}

.example-text {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
}

.example-subtitle {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
}

/************************************************/
/* --- ESTILOS PARA A PÁGINA DE RESULTADOS --- */
/************************************************/

.search-results-section { padding: 60px 0; background-color: #f9f9f9; }
.search-results-section h2 { text-align: center; font-size: 2.2em; color: #333; margin-bottom: 10px; }
.search-results-section p { text-align: left; font-size: 1.1em; color: #666;}
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.professional-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); display: flex; flex-direction: column; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; padding-top: 10px; margin-top: 20px; margin-bottom: 20px;;}
.professional-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1);margin-top: 15px; margin-bottom: 15px;}
.card-header { display: flex; align-items: left; padding: 20px; border-bottom: 1px solid #f0f0f0; }

/* NOVA FOTO DE SILHUETA 80x80px */
.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    border: 3px solid #ccc;
    flex-shrink: 0;
}

.profile-pic-silhouette {
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.profile-pic-silhouette .material-icons {
    font-size: 40px;
}

.header-info { display: flex; flex-direction: column; }
.professional-name { font-size: 1.4em; color: #333; margin: 0 0 5px 0; }

/* NOVA LINHA PARA ESPECIALIDADE */
.professional-specialty {
    font-size: 1em;
    color: #007BFF;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.professional-registry { font-size: 0.9em; color: #777; background-color: #f0f0f0; padding: 2px 8px; border-radius: 4px; display: inline-block; }
.card-body { padding: 20px; flex-grow: 1; }
.card-body p { text-align: left; margin-bottom: 12px; color: #555; display: flex; align-items: center; font-size: 0.95em; }
.card-body p:last-child { margin-bottom: 0; }
.card-body p strong { color: #333; margin-right: 5px; }
.card-body .material-icons { font-size: 18px; margin-right: 10px; color: #007BFF; }
.card-footer { padding: 15px 20px; background-color: #f9f9f9; border-top: 1px solid #f0f0f0; display: flex; gap: 10px; flex-wrap: wrap; }
.atendimento-tag { background-color: #28a745; color: #fff; padding: 5px 12px; border-radius: 15px; font-size: 0.8em; font-weight: bold; }

/* NOVA TAG TELECONSULTA */
.atendimento-tag.teleconsulta { background-color: #ffc107; color: #333; }

/* NOVO BOTÃO AGENDA */
.agenda-tag {
    background-color: #007BFF;
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
}

.subscription-badge { position: absolute; top: 15px; right: -5px; color: white; padding: 4px 12px 4px 20px; font-size: 0.85em; font-weight: bold; border-top-left-radius: 15px; border-bottom-left-radius: 15px; box-shadow: -2px 2px 5px rgba(0,0,0,0.15); }
.card-verde { border-top: 4px solid #28a745; }
.card-dourado { border-top: 4px solid #ffc107; }
.card-azul { border-top: 4px solid #007BFF; }
.card-roxo { border-top: 4px solid #6f42c1; }
.card-rosa { border-top: 4px solid #e83e8c; }
.professional-card-link { text-decoration: none; color: inherit; }

/************************************************/
/* --- ESTILOS PARA A PÁGINA DE PERFIL --- */
/************************************************/

.profile-page { padding: 60px 0; }
.profile-main-section { position: relative; display: flex; gap: 40px; background: #fff; padding: 40px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.07); margin-bottom: 40px; overflow: hidden; }
.profile-plan-sticker { position: absolute; top: 0; right: 0; padding: 8px 15px 8px 20px; border-bottom-left-radius: 10px; color: white; font-weight: bold; font-size: 0.9em; display: flex; align-items: center; gap: 8px; box-shadow: -2px 2px 8px rgba(0,0,0,0.2); }
.profile-plan-sticker .material-icons { font-size: 16px; }
.profile-picture-container { flex-shrink: 0; }
.profile-main-pic { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 5px solid #e83e8c; }
.profile-main-info { flex-grow: 1; }
.profile-name { font-size: 2.8em; color: #333; margin-bottom: 5px; }
.profile-registry { font-size: 1.1em; color: #777; display: block; margin-bottom: 20px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.info-item .info-label { font-size: 0.9em; color: #888; display: block; margin-bottom: 4px; }
.info-item p { font-size: 1.1em; color: #333; margin: 0; }
.profile-contact-icons { margin-top: 25px; display: flex; gap: 30px; border-top: 1px solid #f0f0f0; padding-top: 20px; }
.contact-item .info-label { font-size: 0.9em; color: #888; display: block; margin-bottom: 8px; }
.icons-row { display: flex; gap: 15px; }
.icon-link { font-size: 28px; color: #555; text-decoration: none; transition: transform 0.2s ease, color 0.2s ease; }
.icon-link:hover { transform: scale(1.2); }
.icon-link.whatsapp:hover { color: #25D366; }
.icon-link.email:hover { color: #ea4335; }
.icon-link.instagram:hover { color: #E1306C; }
.icon-link.facebook:hover { color: #1877F2; }
.profile-nav { background-color: #fff; border-radius: 10px; padding: 10px; margin-bottom: 30px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; box-shadow: 0 5px 20px rgba(0,0,0,0.07); position: sticky; top: 90px; z-index: 900; }
.profile-nav a { text-decoration: none; color: #007BFF; font-weight: bold; padding: 10px 20px; border-radius: 8px; transition: background-color 0.3s, color 0.3s; }
.profile-nav a:hover, .profile-nav a:focus { background-color: #007BFF; color: #fff; }
.profile-details-section { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.07); margin-bottom: 30px; scroll-margin-top: 100px; }
.profile-details-section h2 { font-size: 1.8em; color: #333; border-bottom: 2px solid #e83e8c; padding-bottom: 10px; margin-bottom: 20px; }
.landing-page-placeholder { text-align: center; background-color: #f9f9f9; padding: 50px 30px; border-radius: 10px; border: 2px dashed #ccc; }
.landing-page-placeholder .material-icons { font-size: 60px; color: #007BFF; margin-bottom: 20px; }
.landing-page-placeholder h3 { font-size: 1.8em; color: #333; margin-bottom: 15px; }
.landing-page-placeholder p { max-width: 600px; margin: 0 auto 25px auto; color: #666; }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.testimonial { background: #f9f9f9; padding: 20px; border-left: 4px solid #e83e8c; border-radius: 5px; }
.testimonial p { font-style: italic; margin-bottom: 10px; }
.testimonial span { font-weight: bold; color: #555; }
.videos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.video-item iframe { width: 100%; height: 315px; border-radius: 8px; }
.video-item p { text-align: center; font-weight: bold; margin-top: 10px; }
.articles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article-card { background: #f9f9f9; padding: 20px; border-radius: 8px; text-decoration: none; color: #333; transition: box-shadow 0.3s, transform 0.3s; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.article-card h3 { color: #e83e8c; margin-bottom: 10px; }
.article-card p { margin-bottom: 15px; }
.article-card span { font-weight: bold; color: #007BFF; }

/* --- Responsividade --- */
@media (max-width: 1240px) {
    .banner-carousel {
        max-width: 95%;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .search-form { grid-template-columns: 1fr 1fr; }
    .search-button { grid-column: 1 / 3; }
    .search-input-group { flex-direction: column; }
    .banner-carousel { height: 350px; }
    .banner-content h2 { font-size: 2.2em; }
    .banner-content p { font-size: 1.1em; }
    .articles-container .article-card { flex: 0 0 calc(50% - 15px); }
    .profile-main-section { flex-direction: column; align-items: center; text-align: center; }
    .profile-main-info { text-align: center; }
    .info-grid { grid-template-columns: 1fr; text-align: left; }
    .profile-contact-icons { justify-content: center; }
    .testimonials-grid, .videos-grid, .articles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .search-section h1 { font-size: 2em; }
    .banners-grid { grid-template-columns: 1fr; }
    .subscribe-form { flex-direction: column; align-items: center; }
    .subscribe-form input[type="email"] { width: 100%; max-width: 400px; }
    .planos-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    .card-header { flex-direction: column; text-align: center; }
    .profile-pic { margin-right: 0; margin-bottom: 15px; }
    .banner-carousel { height: 300px; }
    .banner-content h2 { font-size: 1.8em; }
    .banner-content p { font-size: 1em; }
    .banner-nav { width: 40px; height: 40px; font-size: 18px; }
    .articles-container .article-card { flex: 0 0 calc(100% - 0px); }
    .articles-nav { display: none; }
}

@media (max-width: 576px) {
    .main-header .container { flex-direction: column; gap: 10px; }
    .search-form { grid-template-columns: 1fr; padding: 20px; }
    .search-button { grid-column: 1 / 2; }
    .banner-carousel { height: 250px; margin: 0 10px; }
    .banner-content { padding: 0 20px; }
    .banner-content h2 { font-size: 1.5em; }
    .banner-content p { font-size: 0.9em; }
    .banner-indicators { bottom: 10px; }
    .banner-nav { width: 35px; height: 35px; font-size: 16px; }
    .banner-nav.prev { left: 10px; }
    .banner-nav.next { right: 10px; }
}


/* --- Responsividade personalizada para Artigos --- */
@media (max-width: 992px) {
    .articles-container .article-card {
        flex: 0 0 calc(50% - 15px); /* 2 colunas no tablet */
    }
}

@media (max-width: 768px) {
    .articles-container .article-card {
        flex: 0 0 100%; /* 1 coluna no celular */
    }
}

/************************************************/
/* --- ESTILOS PARA NAVEGAÇÃO NO CABEÇALHO --- */
/************************************************/

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #f0f0f0;
    color: #007BFF;
}

/************************************************/
/* --- ESTILOS PARA A PÁGINA QUEM SOMOS --- */
/************************************************/

.about-page {
    background-color: #f9f9f9;
}

/* Seção Hero */
.about-hero {
    background-image: url('quem_somos_img.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;    
    height: 300px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo img {
    max-height: 120px;
    filter: brightness(0) invert(1);
}

.about-hero h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-hero h2 {
    font-size: 1.8em;
    font-weight: 300;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Conteúdo Principal */
.about-content {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.main-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.text-block {
    margin-bottom: 25px;
    line-height: 1.8;
}

.text-block p {
    font-size: 1.1em;
    color: #444;
    margin: 0;
}

.text-block.highlight {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #007BFF;
}

.text-block.highlight p {
    color: #333;
    font-size: 1.15em;
}

.text-block.cta-text {
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    text-align: center;
}

.text-block.cta-text p {
    color: #2e7d32;
    font-size: 1.2em;
}

/* Sidebar de Contato */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card,
.whatsapp-group-card,
.cta-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-card h3,
.whatsapp-group-card h3,
.cta-card h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.4em;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 10px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1.5em;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.contact-info {
    flex-grow: 1;
}

.contact-info strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.contact-info a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Grupo WhatsApp */
.whatsapp-group-card {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
    border: 2px solid #25D366;
}

.whatsapp-group-card h3 {
    color: #2e7d32;
    border-bottom-color: #25D366;
}

.group-info h4 {
    color: #2e7d32;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.group-info p {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.whatsapp-group-btn {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.whatsapp-group-btn:hover {
    background-color: #128C7E;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    text-align: center;
    border: 2px solid #007BFF;
}

.cta-card h3 {
    color: #007BFF;
}

.cta-card p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Responsividade para Quem Somos */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-hero h1 {
        font-size: 2.5em;
    }
    
    .about-hero h2 {
        font-size: 1.5em;
    }
    
    .main-content {
        padding: 30px;
    }
    
    .header-nav {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0;
    }
    
    .about-hero h1 {
        font-size: 2em;
    }
    
    .about-hero h2 {
        font-size: 1.3em;
    }
    
    .about-content {
        padding: 60px 0;
    }
    
    .main-content {
        padding: 25px;
    }
    
    .contact-card,
    .whatsapp-group-card,
    .cta-card {
        padding: 25px;
    }
    
    .header-nav {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 40px 0;
    }
    
    .about-hero h1 {
        font-size: 1.8em;
    }
    
    .about-hero h2 {
        font-size: 1.1em;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .text-block.highlight,
    .text-block.cta-text {
        padding: 20px;
    }
    
    .contact-card,
    .whatsapp-group-card,
    .cta-card {
        padding: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-icon {
        align-self: center;
    }
}

/************************************************/
/* --- ESTILOS PARA A PÁGINA DE CONTATO --- */
/************************************************/

.contact-page {
    background-color: #f9f9f9;
}

/* Link ativo na navegação */
.nav-link.active {
    background-color: #0065a4;
    color: white !important;
}

/* Seção Hero */
.contact-hero {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-hero p {
    font-size: 1.3em;
    font-weight: 300;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Conteúdo Principal */
.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-intro {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-intro h2 {
    color: #333;
    font-size: 2.2em;
    margin-bottom: 25px;
    border-bottom: 3px solid #28a745;
    padding-bottom: 15px;
}

.contact-intro p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-highlight {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    margin-top: 30px;
}

.contact-highlight p {
    color: #2e7d32;
    font-size: 1.1em;
    margin: 0;
}

/* Informações de Contato */
.contact-info-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-info-section h3 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 30px;
    border-bottom: 3px solid #007BFF;
    padding-bottom: 15px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-method .contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: white;
    flex-shrink: 0;
}

.contact-method .contact-icon i.fab.fa-whatsapp {
    background-color: #25D366;
}

.contact-method .contact-icon i.fas.fa-user-tie {
    background-color: #6f42c1;
}

.contact-method .contact-icon i.fas.fa-tools {
    background-color: #fd7e14;
}

.contact-method .contact-icon i.fas.fa-envelope {
    background-color: #dc3545;
}

.contact-details h4 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 8px;
}

.contact-details p {
    margin-bottom: 5px;
    font-size: 1.1em;
}

.contact-details a {
    color: #0065a4;
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details span {
    color: #666;
    font-size: 0.95em;
    font-style: italic;
}

/* Seção de Redes Sociais */
.social-media-section {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 60px;
    text-align: center;
}

.social-container h3 {
    color: #333;
    font-size: 2.2em;
    margin-bottom: 15px;
}

.social-container p {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 40px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-decoration: none;
    color: white;
}

.social-link i {
    font-size: 2.5em;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
}

.social-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.social-name {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 5px;
}

.social-handle {
    font-size: 1em;
    opacity: 0.9;
}

/* Cores específicas das redes sociais */
.social-link.instagram {
    background: linear-gradient(135deg, #E1306C 0%, #F56040 100%);
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #42A5F5 100%);
}

.social-link.tiktok {
    background: linear-gradient(135deg, #000000 0%, #FF0050 100%);
}

.social-link.youtube {
    background: linear-gradient(135deg, #FF0000 0%, #FF4500 100%);
}

/* Comunidade WhatsApp */
.whatsapp-community {
    margin-bottom: 60px;
}

.community-card {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
    border: 2px solid #25D366;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.community-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: white;
    flex-shrink: 0;
}

.community-content h3 {
    color: #2e7d32;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.community-content h4 {
    color: #2e7d32;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.community-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.whatsapp-group-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-group-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* CTA Final */
.contact-cta {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    color: white;
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,123,255,0.3);
}

.cta-content h3 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button-large {
    display: inline-block;
    background-color: white;
    color: #0065a4;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    text-decoration: none;
    color: #0056b3;
}

/* Responsividade para Contato */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-hero h1 {
        font-size: 2.5em;
    }
    
    .contact-intro,
    .contact-info-section {
        padding: 30px;
    }
    
    .social-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .community-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-hero h1 {
        font-size: 2em;
    }
    
    .contact-content {
        padding: 60px 0;
    }
    
    .contact-intro,
    .contact-info-section,
    .social-media-section {
        padding: 25px;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-cta {
        padding: 40px 25px;
    }
    
    .cta-content h3 {
        font-size: 2em;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 1.8em;
    }
    
    .contact-intro,
    .contact-info-section,
    .social-media-section {
        padding: 20px;
    }
    
    .community-card {
        padding: 25px;
    }
    
    .social-link {
        padding: 20px;
    }
    
    .social-link i {
        font-size: 2em;
        width: 50px;
        height: 50px;
    }
    
    .cta-content h3 {
        font-size: 1.8em;
    }
    
    .cta-content p {
        font-size: 1.1em;
    }
}
/* Layout dos cards em linha */
.card-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
}

.card-col {
    padding: 5px 15px;
}

.col-photo {
    flex: 0 0 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col-info {
    flex: 0 0 30%;
    border-right: 1px solid #f0f0f0;
}

.col-details {
    flex: 0 0 50%;
    padding-left: 20px;
}

.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #ccc;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.profile-pic .material-icons {
    font-size: 40px;
}

.professional-name {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    text-align: left;
}

.professional-specialty {
    font-size: 1em;
    color: #0065a4;
    margin-bottom: 5px;
}

.professional-registry {
    font-size: 0.9em;
    color: #777;
    background-color: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    text-align: left;
}

/* Card footer abaixo ocupando 100% */
.card-footer {
    width: 100%;
    padding: 12px 20px;
    border-top: 1px solid #f0f0f0;
    background-color: #fafafa;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


/************************************************/
/* --- NOVO ESTILO: SEÇÃO DE PROFISSIONAIS EM DESTAQUE (V2) --- */
/* REQUISITOS: Colunas, Foto 400px, Caixa Branca Centralizada Abaixo, SEM HOVER (mouse up) */
/************************************************/

/* 1. Garante o layout em colunas e remove o hover/mouse up */
.professionals-section .professionals-grid {
    display: grid;
    /* Configura o grid para 3 colunas, sendo responsivo e garantindo no mínimo 320px */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px;
}

.professionals-section .section-title {
    text-align: center;
    font-size: 2.5em; /* Tamanho do título dos artigos */
    color: #333;
    margin-bottom: 50px; /* Espaço para separar do grid de profissionais */
    margin-top: 20px; /* Adiciona uma pequena margem superior para respirar após o banner */
}

.professionals-section .professional-card {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 20px 0; /* Mantém o espaçamento entre as linhas */
    overflow: visible; 
    text-align: center;
    /* Remove a transição e o transform (mouse up) do estilo geral */
    transition: none !important; 
    transform: none !important;
}

/* Remove explicitamente o efeito "mouse up" ao passar o mouse */
.professionals-section .professional-card:hover { 
    transform: none !important; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important; /* Mantém a sombra padrão */
}


/* 2. Estilo da Imagem (Foto em 400px e circular) */
.professionals-section .professional-image {
    width: 100%;
    z-index: 10;
    position: relative;
    display: flex;
    justify-content: center;
    /* Ajusta o valor para sobrepor a foto 400px na caixa branca */
    margin-bottom: -100px; 
}

.professionals-section .professional-image img {
    /* Define o tamanho MÁXIMO da foto em 400px, mas garante que ela seja responsiva */
    width: min(400px, 100%); 
    height: min(400px, 100vw); /* Mantém a proporção de 1:1 para ser um círculo */
    max-width: 400px;
    max-height: 400px;
    
    aspect-ratio: 1 / 1; 
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 8px solid #ffffff; /* Borda branca para destaque */
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* 3. Estilo da Caixa Branca (Nome e Profissão - Novo Visual Centralizado) */
.professionals-section .professional-info {
    position: relative;
    background-color: #ffffff; 
    /* Padding alto para compensar a sobreposição da foto de 400px */
    padding: 120px 20px 20px; 
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    z-index: 1;
}

/* 4. Estilo do Conteúdo (Nome e Profissão) */
.professionals-section .professional-info h3 {
    font-size: 1.8em; /* Nome maior */
    color: #333;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.professionals-section .professional-info p {
    font-size: 1.2em; /* Profissão maior */
    color: #007BFF;
    font-weight: 600;
    margin: 0;
}
/* --- SEÇÃO DE PROFISSIONAIS EM DESTAQUE - CARROSSEL --- */
.professionals-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.professionals-carousel {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.professionals-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px; 
}

.professionals-container .professional-card {
    /* Estilos do Carrossel: Define 3 cards por vez */
    flex: 0 0 calc(33.333% - 20px); 
    min-width: 320px;
    
    /* Estilos do Card */
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    
    /* MUDANÇA: Adiciona padding geral e centraliza o texto */
    padding: 20px; 
    text-align: center;
}

.professionals-container .professional-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* MUDANÇA: Define o tamanho da imagem para ser proeminente (ex: 250px x 250px) e centralizada */
.professional-image {
    width: 300px; 
    height: 300px; 
    margin: 0 auto 15px auto; /* Centraliza e adiciona margem inferior */
    overflow: hidden;
    border-radius: 10px; /* Borda levemente arredondada */
    /* Opcional: Adicionar uma borda para destacar a foto */
    /* border: 3px solid #007BFF; */ 
}

.professional-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px; /* Borda levemente arredondada na imagem */
}

.professional-info {
    padding: 10px 0 0; /* Ajustado padding */
    text-align: center;
}

.professional-info h3 {
    margin-bottom: 5px;
    color: #333;
}

.professional-info p {
    color: #007BFF;
    font-weight: 600;
}


/* Setas do Carrossel de Profissionais (Fundo Amarelo, Seta Branca) */
.professionals-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* Cor de fundo Amarelo/Dourado: #ffc107 */
    background-color: #ffc107; 
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    /* Cor da seta Branca */
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.professionals-nav:hover {
    background-color: #e0a800; /* Dourado mais escuro no hover */
    transform: translateY(-50%) scale(1.1);
}

.professionals-nav.prev {
    left: 10px;
}

.professionals-nav.next {
    right: 10px;
}

/* Responsividade */
@media (max-width: 992px) {
    .professionals-container .professional-card {
        flex: 0 0 calc(50% - 15px); /* 2 por vez em tablets */
    }
    .professional-image {
        width: 200px; 
        height: 200px;
    }
}

@media (max-width: 768px) {
    .professionals-container .professional-card {
        flex: 0 0 calc(100% - 0px); /* 1 por vez em celulares */
    }
    .professionals-nav {
        display: none; 
    }
    .professional-image {
        width: 250px; 
        height: 250px;
    }
}
/* Ajuste para garantir que o layout não quebre em telas pequenas (mobile) */
@media (max-width: 768px) {
    .professionals-section .professional-image {
        margin-bottom: -60px; /* Reduz o overlap */
    }
    
    .professionals-section .professional-image img {
        /* Reduz o tamanho da foto para caber no celular */
        width: 200px;
        height: 200px;
        max-width: 200px;
        max-height: 200px;
    }

    .professionals-section .professional-info {
        /* Ajusta o padding para a foto menor */
        padding: 90px 20px 20px; 
    }
}

/* Responsividade para a seção de profissionais */
@media (max-width: 768px) {
    .professionals-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .professional-image {
        height: 300px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .professionals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4%;
    }
}



/******************************************/
/* --- ESTILOS: PÁGINA DE ARTIGO ---*/
/******************************************/

.article-hero {
    position: relative;
    width: 100%;
    height: 400px; /* Altura da tarja de imagem */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.article-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay escuro para o texto */
    z-index: 2;
}

.article-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.article-hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.article-content-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.article-content-section article {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.8;
    font-size: 1.1em;
    color: #333;
}

.article-content-section h2,
.article-content-section h3 {
    color: #0065a4;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content-section p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .article-hero {
        height: 300px;
    }

    .article-hero-content h1 {
        font-size: 2em;
    }

    .article-content-section article {
        padding: 15px;
        font-size: 1em;
    }
}




/******************************************/
/* --- ESTILOS: PÁGINA DE ÍNDICE DE ARTIGOS ---*/
/******************************************/

.articles-index-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.articles-index-section .section-title {
    text-align: center;
    font-size: 2.8em;
    color: #333;
    margin-bottom: 50px;
}

.articles-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.article-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.article-item-image {
    /* flex: 0 0 300px; /* Largura fixa para a imagem */
    height: 200px;
    overflow: hidden;
}

.article-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-item-content {
    flex: 1;
    padding: 25px;
}

.article-item-content h2 {
    font-size: 1.8em;
    color: #0065a4;
    margin-bottom: 10px;
    line-height: 1.3;
}

.article-item-content p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
}

/* Responsividade para a página de índice de artigos */
@media (max-width: 768px) {
    .articles-index-section .section-title {
        font-size: 2em;
    }

    .article-item {
        flex-direction: column;
    }

    .article-item-image {
        flex: none;
        width: 100%;
        height: 250px;
    }

    .article-item-content {
        padding: 20px;
    }

    .article-item-content h2 {
        font-size: 1.5em;
    }

    .article-item-content p {
        font-size: 0.9em;
    }
}



/******************************************/
/* --- BARRA DE AVISO DE DESENVOLVIMENTO --- */
/******************************************/

.dev-warning-bar {
    background-color: #dc3545;
    color: #ffffff;
    text-align: center;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 1em;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/******************************************/
/* --- POPUP DE CADASTRO --- */
/******************************************/

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { 
        transform: scale(0.8);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

.popup-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.popup-image:hover {
    transform: scale(1.02);
}

.popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #fff;
    color: #333;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background-color: #dc3545;
    color: #fff;
    transform: rotate(90deg);
}

/******************************************/
/* --- PÁGINA DE CADASTRO --- */
/******************************************/

.cadastro-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    min-height: calc(100vh - 200px);
}

.cadastro-header {
    text-align: center;
    margin-bottom: 50px;
}

.cadastro-header h1 {
    font-size: 2.5em;
    color: #007BFF;
    margin-bottom: 15px;
}

.cadastro-header p {
    font-size: 1.2em;
    color: #666;
}

.cadastro-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-row:has(.form-field:nth-child(2)) {
    grid-template-columns: 1fr 1fr;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-size: 1em;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="tel"]:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-field input[type="file"] {
    padding: 10px;
    border: 2px dashed #e0e0e0;
    border-radius: 6px;
    font-size: 0.95em;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-field input[type="file"]:hover {
    border-color: #007BFF;
}

.form-hint {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 0.85em;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 35px;
}

.submit-button,
.reset-button {
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button {
    background-color: #28a745;
    color: #fff;
}

.submit-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.submit-button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.reset-button {
    background-color: #6c757d;
    color: #fff;
}

.reset-button:hover {
    background-color: #5a6268;
}

.form-message {
    margin-top: 25px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/******************************************/
/* --- RESPONSIVIDADE --- */
/******************************************/

@media (max-width: 768px) {
    .dev-warning-bar {
        font-size: 0.9em;
        padding: 10px 15px;
    }
    
    .popup-content {
        max-width: 95%;
    }
    
    .popup-close {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
    
    .cadastro-header h1 {
        font-size: 1.8em;
    }
    
    .cadastro-header p {
        font-size: 1em;
    }
    
    .cadastro-form {
        padding: 25px;
    }
    
    .form-row:has(.form-field:nth-child(2)) {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .submit-button,
    .reset-button {
        width: 100%;
    }
}

/******************************************/
/* --- ESTILOS ADICIONAIS PARA FORMULÁRIO --- */
/******************************************/

.form-section-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #007BFF;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007BFF;
}

.form-field select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    cursor: pointer;
}

.form-field select:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-field select option {
    padding: 10px;
    background-color: #fff;
    color: #333;
}

/* Responsividade para tablets */
@media (max-width: 1024px) {
    .form-row:has(.form-field:nth-child(2)) {
        grid-template-columns: 1fr;
    }
    
    .form-row:has(.form-field:nth-child(3)) {
        grid-template-columns: 1fr;
    }
}
/* styles.css - Código a ser adicionado no final do arquivo */

/************************************************/
/* --- NOVO: Área de 3 Colunas de Banners (200px Altura) --- */
/************************************************/
.three-column-banners {
    /* Adiciona um espaçamento vertical para separar a área */
    padding: 40px 0; 
    background-color: #f9f9f9; /* Cor de fundo, se quiser que a área se misture com o fundo da página */
}

.banners-grid-200px {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas iguais */
    gap: 15px; /* Espaçamento de 15px entre as colunas conforme solicitado */
    height: 200px; /* Altura fixa de 200px conforme solicitado */
}

.banner-column {
    overflow: hidden;
    border-radius: 8px; /* Adiciona um leve arredondamento e sombra para dar destaque */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    height: 100%; /* Garante que a coluna ocupe toda a altura de 200px do grid pai */
}

.banner-column a {
    display: block;
    height: 100%;
    width: 100%;
}

.banner-column img {
    width: 100%;
    height: 100%;
    /* Garante que a imagem preencha a coluna, mantendo o aspecto e cortando o excesso */
    object-fit: cover; 
}

/* Responsividade para telas menores (opcional, mas recomendado) */
@media (max-width: 768px) {
    .banners-grid-200px {
        grid-template-columns: 1fr; /* Coluna única em dispositivos móveis */
        height: auto; /* Altura se adapta ao conteúdo no mobile */
        gap: 20px;
    }
    .banner-column {
        height: 150px; /* Reduz a altura das colunas no mobile */
    }
}
/* ... (Seus estilos existentes) ... */

/************************************************/
/* --- ESTILOS: PÁGINA ÍNDICE DE ARTIGOS (ATUALIZADO) --- */
/************************************************/

.articles-index-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.articles-list {
    /* NOVO: Layout em linha (coluna única), centralizado e responsivo */
    display: flex;
    flex-direction: column; /* Empilha os artigos em linha */
    gap: 30px;
    margin-top: 40px;
    /* Centraliza a coluna de artigos e define a largura ideal para leitura */
    max-width: 850px; 
    margin-left: auto;
    margin-right: auto;
}

/* Estilo do item individual (Article Card) */
.article-item {
    /* Layout horizontal: Imagem à esquerda e Conteúdo à direita */
    display: flex; 
    flex-direction: row; 
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.article-item-image {
    width: 250px; /* Largura da imagem em desktop */
    flex-shrink: 0; /* Impede que a imagem diminua */
    overflow: hidden;
}

.article-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Estilos de conteúdo */
.article-item-content {
    padding: 20px 30px;
    flex-grow: 1;
}

.article-item-content h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.article-item-content p {
    color: #666;
    font-size: 1em;
    line-height: 1.6;
}

/* Estilo específico para o banner (limpa o estilo de card) */
.article-item.banner-ad-in-list {
    background: none;
    box-shadow: none;
    border-radius: 0;
    justify-content: center;
    align-items: center;
}
.article-item.banner-ad-in-list:hover {
    transform: none;
    box-shadow: none;
}
.article-item.banner-ad-in-list .article-item-image {
    width: 100%;
    height: auto;
}
.article-item.banner-ad-in-list .article-item-content {
    display: none; /* Oculta a área de texto para o banner */
}


/* --- Responsividade (Media Query) --- */
@media (max-width: 768px) {
    .articles-list {
        max-width: 100%; /* Ocupa a largura total no celular */
        padding: 0 20px; 
    }

    .article-item {
        /* No celular, a imagem e o conteúdo voltam a ficar em coluna (empilhados) */
        flex-direction: column; 
    }

    .article-item-image {
        width: 100%;
        height: 200px;
    }
}