/* --- ESTILO PREMIUM ALPHA MEDIC --- */
:root {
    --primary: #1a3c5e;
    --accent: #00a8a8;
    --title: #2c3e50;
    --text: #5a6f80;
    --bg-light: #f4f7f9;
    --white: #ffffff;
    --title-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    --header-height: 100px; 
}

/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body-font); color: var(--text); line-height: 1.6; overflow-x: hidden; }
ul { list-style: none; }
a { text-decoration: none; transition: .3s; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.center { text-align: center; }

/* --- LOGO --- */
.logo img {
    max-height: 75px; 
    width: auto;
    transition: 0.3s;
}

/* Header Glassmorphism */
.header { position: fixed; top: 0; width: 100%; height: var(--header-height); display: flex; align-items: center; z-index: 1000; transition: .4s; }

.header.scroll-active { 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); 
    height: 80px;
}

.header.scroll-active .logo img { max-height: 55px; }

.nav { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.nav-list { display: flex; gap: 30px; align-items: center; }
.nav-link { color: var(--title); font-weight: 500; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.nav-link:hover, .active-link { color: var(--accent); }
.nav-toggle, .nav-close { display: none; font-size: 1.5rem; cursor: pointer; }
/* Em css/style.css (aprox. linha 51) */
.btn-nav { 
    background: var(--primary); 
    color: #fff; 
    padding: 10px 20px; 
    border-radius: 4px; 
    font-weight: 600; 
    font-size: 0.8rem; 
    
    /* ADICIONE ESTAS LINHAS ABAIXO: */
    white-space: nowrap;      /* Impede que o texto pule de linha */
    display: inline-block;    /* Garante o comportamento de bloco/botão */
    min-width: max-content;   /* Garante que a largura se adapte ao texto */
}

/* Hero Section (Atualizado para Slider) */
.hero { 
    height: 100vh; 
    position: relative;
    padding: 0; /* Remove padding padrão pois o slide cuida disso */
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center; /* Centraliza verticalmente */
}

/* Camada Branca (Overlay) para o texto ficar legível sobre a foto */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente branco idêntico ao original */
    background: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.75));
    z-index: 1;
}

.hero-container-slider {
    position: relative;
    z-index: 2; /* Texto fica acima da camada branca */
    width: 100%;
}

.hero-content {
    /* Animação suave no texto quando o slide muda */
    animation: fadeUpText 1s ease-out forwards;
    opacity: 0;
}

/* Animação simples para o texto subir */
@keyframes fadeUpText {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estilos de Texto Mantidos */
.hero-subtitle { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; margin-bottom: 10px; display: block; }
.hero-title { font-family: var(--title-font); font-size: 3.5rem; color: var(--primary); line-height: 1.2; margin-bottom: 20px; }
.hero-title span { color: var(--accent); font-style: italic; }
.hero-description { max-width: 600px; font-size: 1.1rem; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 20px; }

/* Paginação do Hero */
.hero-pagination .swiper-pagination-bullet {
    background: var(--primary);
    opacity: 0.4;
    width: 12px;
    height: 12px;
}
.hero-pagination .swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
}

/* Responsividade Mantida */
@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-description { font-size: 1rem; }
}

/* Buttons */
.btn-primary { background: var(--accent); color: #fff; padding: 16px 35px; border-radius: 4px; font-weight: 600; display: inline-block; border: none; cursor: pointer; }
.btn-secondary { border: 2px solid var(--primary); color: var(--primary); padding: 14px 35px; border-radius: 4px; font-weight: 600; display: inline-block; }
.btn-outline { display: inline-block; border: 2px solid var(--accent); color: var(--accent); padding: 12px 30px; border-radius: 4px; font-weight: 600; margin-top: 20px; }

/* Coworking */
.check-list li { margin-bottom: 12px; font-weight: 500; color: var(--title); display: flex; align-items: center; }
.check-list i { color: var(--accent); margin-right: 12px; }
.coworking-img img { border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* --- GALERIA PREMIUM (GRID) --- */
.section-description { max-width: 700px; margin: 10px auto 40px; font-size: 1rem; color: var(--text); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 250px); gap: 15px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.item-large { grid-column: span 2; grid-row: span 2; }
.gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(26, 60, 94, 0.9), transparent); opacity: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; transition: 0.4s; }
.gallery-overlay i { color: #fff; font-size: 1.5rem; margin-bottom: 10px; transform: translateY(20px); transition: 0.4s; }
.gallery-overlay span { color: #fff; font-family: var(--title-font); font-weight: 500; transform: translateY(20px); transition: 0.4s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay i, .gallery-item:hover .gallery-overlay span { transform: translateY(0); }

/* --- SEÇÃO NOSSOS ESPAÇOS (SLIDERS) --- */
/* --- SEÇÃO NOSSOS ESPAÇOS (SLIDERS) --- */
.spaces-section { 
    background-color: var(--primary); 
    color: #fff; 
    padding-bottom: 100px; 
    position: relative;
}

.spaces-swiper { 
    width: 100%;
    padding-bottom: 50px; /* Espaço para paginação */
    overflow: hidden; /* Evita barra de rolagem horizontal */
}

/* O Slide individual */
.spaces-swiper .swiper-slide {
    height: auto; /* Permite que o conteúdo defina a altura */
    opacity: 0 !important; /* Correção para efeito fade manual se necessário */
    transition: opacity 0.3s;
}

.spaces-swiper .swiper-slide-active {
    opacity: 1 !important;
}

/* O Card Grid */
.space-card { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
    max-width: 100%;
    margin: 0 auto;
}

/* Lado Esquerdo: Imagem (com Swiper aninhado) */
.space-image { 
    position: relative; 
    border-radius: 20px; 
    overflow: hidden; 
    height: 450px; /* Altura fixa para manter padrão */
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); 
    /* Fix para Grid + Swiper */
    min-width: 0; 
}

.space-image .swiper { 
    width: 100%; 
    height: 100%; 
}

.space-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* Garante que a imagem preencha sem distorcer */
    display: block;
}

/* Lado Direito: Conteúdo */
.space-content { 
    padding-right: 20px; 
    min-width: 0; /* Fix para Grid */
}

.space-content h3 { 
    font-family: var(--title-font); 
    font-size: 2.5rem; 
    margin-bottom: 20px; 
    color: #fff; 
}

.space-desc { 
    color: #dbe4eb; 
    margin-bottom: 30px; 
    font-size: 1.05rem; 
    line-height: 1.7; 
}

/* Lista de Features */
.space-features { 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
    margin-bottom: 40px; 
}

.space-features li { 
    display: flex; 
    align-items: center; /* Alinhamento vertical */
    gap: 20px; 
}

.space-features li i { 
    color: var(--accent); 
    font-size: 1.5rem; 
    width: 30px; 
    text-align: center;
}

.space-features li div { 
    display: flex; 
    flex-direction: column; 
}

.space-features li div strong { 
    font-size: 1.1rem; 
    color: #fff; 
    font-weight: 600;
}

.space-features li div span { 
    font-size: 0.9rem; 
    color: #adbcc9; 
}

/* Botão */
.space-btn { 
    background: #fff; 
    color: var(--primary); 
    border: none; 
    padding: 15px 40px;
    font-size: 1rem;
    transition: 0.3s;
}

.space-btn:hover { 
    background: var(--accent); 
    color: #fff; 
    transform: translateY(-3px);
}

/* --- NAVEGAÇÃO DO SWIPER PRINCIPAL --- */
.custom-nav { 
    color: #fff !important; 
    background: rgba(255,255,255,0.1); 
    width: 60px !important; 
    height: 60px !important; 
    border-radius: 50%; 
    backdrop-filter: blur(5px); 
    transition: .3s; 
    border: 1px solid rgba(255,255,255,0.2);
}

.custom-nav::after {
    font-size: 1.5rem !important;
    font-weight: bold;
}

.custom-nav:hover { 
    background: var(--accent); 
    border-color: var(--accent);
}

/* Posicionamento das setas laterais (fora do grid, centralizadas na tela) */
.swiper-button-prev.custom-nav { left: 0; }
.swiper-button-next.custom-nav { right: 0; }

/* Paginação (Bolinhas) */
.custom-pag {
    bottom: 0 !important;
}
.custom-pag .swiper-pagination-bullet { 
    background: #fff; 
    opacity: 0.3; 
    width: 10px; 
    height: 10px; 
    margin: 0 8px !important;
}
.custom-pag .swiper-pagination-bullet-active { 
    background: var(--accent); 
    opacity: 1; 
    transform: scale(1.2);
}

/* Paginação Interna (Fotos da Sala) */
.room-pagination .swiper-pagination-bullet { 
    background: #fff; 
    opacity: 0.7; 
    width: 6px; 
    height: 6px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.room-pagination .swiper-pagination-bullet-active { 
    background: var(--accent); 
    opacity: 1; 
}

/* Responsividade */
@media (max-width: 992px) {
    .space-card { 
        grid-template-columns: 1fr; 
        gap: 30px; 
        text-align: center;
    }
    
    .space-image { 
        height: 300px; 
    }
    
    .space-features li { 
        justify-content: center; 
        text-align: left; /* Mantém o texto alinhado à esquerda no bloco */
    }
    
    .space-content { 
        padding-right: 0; 
    }

    /* Esconde as setas no mobile para não atrapalhar, deixa só as bolinhas */
    .custom-nav { display: none; }
}

/* --- LIGHTBOX (MODAL) --- */
.lightbox { display: none; position: fixed; z-index: 2000; padding-top: 60px; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.95); backdrop-filter: blur(5px); }
.lightbox-content { margin: auto; display: block; max-width: 90%; max-height: 80vh; border-radius: 5px; box-shadow: 0 0 20px rgba(255,255,255,0.1); animation: zoomIn 0.3s; }
#caption { margin: auto; display: block; width: 80%; max-width: 700px; text-align: center; color: #ccc; padding: 20px 0; font-family: var(--title-font); font-size: 1.2rem; }
.close-lightbox { position: absolute; top: 25px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer; }
.close-lightbox:hover { color: var(--accent); }
@keyframes zoomIn { from {transform:scale(0.8); opacity: 0} to {transform:scale(1); opacity: 1} }

/* --- SEÇÃO FEEDBACKS --- */
.google-rating { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 15px; }
.rating-number { font-size: 2rem; font-weight: 700; color: var(--primary); }
.stars { color: #f1c40f; font-size: 1.2rem; }
.rating-text { color: #777; font-size: 0.9rem; }
.feedback-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.feedback-card { background: #fff; padding: 30px; border-radius: 15px; border: 1px solid #eee; box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: .3s; display: block; }
.feedback-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: var(--accent); }
.feedback-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.user-avatar { width: 50px; height: 50px; background: #eee; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #999; font-size: 1.2rem; }
.user-info h4 { font-size: 1rem; color: var(--primary); }
.stars-small { color: #f1c40f; font-size: 0.8rem; }
.google-icon { margin-left: auto; color: #DB4437; font-size: 1.5rem; }
.feedback-text { font-size: 0.95rem; font-style: italic; color: var(--text); }
.link-google { color: var(--accent); font-weight: 600; }
.link-google:hover { text-decoration: underline; }

/* --- SEÇÃO PLANOS (ATUALIZADO) --- */
.pricing { position: relative; background-color: #fff; }
.pricing-wrapper { display: flex; justify-content: center; gap: 30px; margin-top: 50px; flex-wrap: wrap; align-items: stretch; }
.pricing-card { background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); width: 100%; max-width: 320px; padding: 40px 25px; text-align: center; transition: all 0.4s ease; border: 1px solid rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: var(--accent); }
.pricing-header h3 { font-family: var(--title-font); font-size: 1.4rem; color: var(--primary); margin-bottom: 5px; }
.plan-subtitle { font-size: 0.9rem; color: #999; font-weight: 500; }
.pricing-price { margin: 30px 0; color: var(--title); display: flex; justify-content: center; align-items: baseline; }
.pricing-price .currency { font-size: 1.2rem; font-weight: 600; margin-right: 5px; }
.pricing-price .amount { font-size: 2.5rem; font-weight: 700; color: var(--primary); font-family: var(--title-font); }
.pricing-price .period { color: #999; margin-left: 5px; }
.pricing-body { flex: 1; display: flex; flex-direction: column; }
.feature-list { text-align: left; margin-bottom: 30px; flex: 1; }
.feature-list li { margin-bottom: 12px; color: var(--text); font-size: 0.9rem; display: flex; align-items: center; }
.feature-list li i { color: var(--accent); margin-right: 12px; font-size: 0.9rem; }
.pricing-card.featured { border: 2px solid var(--accent); transform: scale(1.05); z-index: 2; box-shadow: 0 20px 50px rgba(0, 168, 168, 0.15); }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-5px); }
.popular-tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 5px 20px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(0, 168, 168, 0.3); }
.full-width { display: block; width: 100%; text-align: center; padding: 15px; }

/* --- SEÇÃO INSTAGRAM --- */
.insta-swiper { padding-bottom: 50px; }
.insta-item { display: block; position: relative; border-radius: 12px; overflow: hidden; height: 300px; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.insta-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: .4s; }
.insta-overlay i { font-size: 3rem; color: #fff; }
.insta-item:hover .insta-overlay { opacity: 1; }
.insta-item:hover img { transform: scale(1.1); }

/* --- SEÇÃO FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; margin-top: 40px; }
.faq-item { background: #fff; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); overflow: hidden; }
.faq-question { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: .3s; }
.faq-question h3 { font-size: 1.1rem; color: var(--primary); font-weight: 600; margin: 0; }
.faq-question i { color: var(--accent); transition: .3s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: #fafafa; }
.faq-answer p { padding: 25px; color: var(--text); font-size: 0.95rem; border-top: 1px solid #eee; }
.faq-item.active .faq-question { background: var(--accent); }
.faq-item.active .faq-question h3 { color: #fff; }
.faq-item.active .faq-question i { color: #fff; transform: rotate(180deg); }
.faq-item.active .faq-answer { max-height: 200px; /* Ajuste conforme tamanho do texto */ }

/* Map */
.map-embed { box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

/* Footer */
.footer { background: #121212; color: #999; padding: 80px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer h3 { color: #fff; font-family: var(--title-font); margin-bottom: 20px; }
.footer-box ul li { margin-bottom: 10px; }
.footer-box ul li a { color: #999; }
.footer-box ul li a:hover { color: var(--accent); }
.social-links { display: flex; gap: 15px; }
.social-links a { color: #fff; font-size: 1.2rem; }
.footer-copy { border-top: 1px solid #222; padding-top: 20px; text-align: center; font-size: 0.8rem; }

/* Flutuantes */
.whatsapp-fixed { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; z-index: 1000; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.back-to-top { position: fixed; bottom: 110px; right: 30px; background: var(--primary); color: #fff; width: 45px; height: 45px; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: .4s; z-index: 999; }
.back-to-top.show { opacity: 1; }

/* Responsive */
@media (max-width: 992px) {
    .grid-2, .space-card { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); order: -1; margin-bottom: 20px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .item-large { grid-column: span 2; grid-row: span 1; height: 350px; }
    .space-image { height: 300px; }
    .space-content { padding-right: 0; text-align: center; }
    .space-features li { justify-content: center; text-align: left; }
}

/* --- CORREÇÃO DO MENU MOBILE --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: -100vh; /* Escondido acima da tela */
        left: 0;
        width: 100%;
        height: 100vh; /* Ocupa 100% da altura da tela */
        background: #fff;
        padding: 4rem 1.5rem; /* Espaçamento interno */
        transition: .4s;
        box-shadow: none;
        
        /* Centralizar itens */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Centraliza verticalmente */
        
        opacity: 0;
        visibility: hidden;
        z-index: 9999; /* Garante que fique na frente de tudo */
    }

    .nav-menu.show-menu {
        top: 0;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        display: flex;
        flex-direction: column; /* O SEGREDO: Coloca um item embaixo do outro */
        gap: 2rem; /* Espaço maior entre os links */
        align-items: center;
        width: 100%;
    }
    
    /* Aumenta um pouco a fonte no celular para facilitar o toque */
    .nav-link {
        font-size: 1.2rem; 
        font-weight: 600;
    }

    /* Posiciona o botão de fechar (X) no canto superior direito */
    .nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 2rem;
        color: var(--primary);
        display: block;
        cursor: pointer;
    }

    .nav-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }

    /* Ajuste para o botão de reservar sala não ficar gigante */
    .btn-nav {
        width: 100%;
        text-align: center;
        display: block;
    }
}

@media (max-width: 576px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .item-large { grid-column: span 1; }
}
/* --- SEÇÃO INSTAGRAM (WIDGET) --- */
.instagram-widget-wrapper {
    width: 100%;
    min-height: 400px;
    display: block; /* Mudado para block para o overflow funcionar melhor */
    margin-top: 30px;
    
    /* O TRUQUE DO CORTE */
    overflow: hidden; /* Esconde tudo que passar do limite */
    height: 480px; /* Define uma altura fixa para o carrossel */
    position: relative;
}

/* Força o widget a subir um pouco se o botão estiver muito embaixo */
.instagram-widget-wrapper > div {
    margin-bottom: -50px !important; /* Puxa o conteúdo para esconder o rodapé */
}
/* --- REMOÇÃO DE MARCA D'ÁGUA ELFSIGHT --- */

/* Esconde o link "Free Instagram Feed Widget" */
a[href*="elfsight.com"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Esconde o painel de administração do topo (caso você queira ver o site limpo mesmo logado) */
.eapps-widget-toolbar {
    display: none !important;
}

/* Remove o botão vermelho de fechar que as vezes aparece */
.eapps-instagram-feed-posts-item-mobile-overlay-close {
    display: none !important;
}
/* --- SEÇÃO COMPARATIVO DE ECONOMIA --- */
.comparison {
    background-color: #fff;
}

.comparison-container {
    align-items: stretch; /* Faz os dois cards terem a mesma altura */
}

.comp-card {
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    transition: .3s;
}

/* Card Tradicional (Cinza Claro) */
.comp-card.traditional {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: var(--text);
}

/* Card Alpha Medic (Destaque) */
.comp-card.alpha-medic-plan {
    /* Gradiente usando a cor primária e um tom mais claro */
    background: linear-gradient(135deg, var(--primary) 0%, #2c5580 100%);
    color: #fff;
    transform: scale(1.02); /* Levemente maior */
    box-shadow: 0 20px 50px rgba(26, 60, 94, 0.25);
    border: 1px solid rgba(255,255,255,0.1);
}

.comp-title {
    font-family: var(--title-font);
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.text-white { color: #fff !important; }
.text-white-50 { color: rgba(255,255,255,0.7) !important; }

/* Preços no Topo */
.comp-total-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comp-total-price {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--title-font);
}

.comp-total-price.danger {
    color: #e74c3c; /* Vermelho para o custo alto */
    text-decoration: underline;
    text-decoration-color: rgba(231, 76, 60, 0.3);
}

.comp-total-price small {
    font-size: 1rem;
    font-weight: 400;
}

.comp-note {
    text-align: right;
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Divisor */
.comp-divider {
    height: 1px;
    background-color: #ddd;
    margin: 20px 0;
}

.comp-divider.light {
    background-color: rgba(255,255,255,0.2);
}

/* Lista de Itens */
.comp-list {
    list-style: none;
}

.comp-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.95rem;
}

.comp-list li:last-child {
    border-bottom: none;
}

/* Estilo da Lista no Card Escuro */
.comp-list.light-list li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.highlight {
    color: #f1c40f; /* Amarelo/Dourado para destacar o "Incluso" */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.comp-disclaimer {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 20px;
    opacity: 0.6;
}

/* Tag de Destaque */
.best-choice-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #f1c40f; /* Dourado */
    color: var(--primary);
    padding: 5px 15px;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-transform: uppercase;
}

/* Responsivo */
@media (max-width: 992px) {
    .comp-card.alpha-medic-plan {
        transform: scale(1);
        margin-top: 20px;
    }
}
/* --- PÁGINA DE PROFISSIONAIS (ATUALIZADO) --- */

/* Filtros */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.search-box, .select-box {
    background: #fff;
    border: 1px solid #e9ecef;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: .3s;
    width: 100%;
    max-width: 400px;
}

.search-box:focus-within, .select-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(0, 168, 168, 0.1);
}

.search-box input, .select-box select {
    border: none;
    outline: none;
    width: 100%;
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--text);
    background: transparent;
    -webkit-appearance: none; /* Remove a seta padrão do select */
    appearance: none;
}

.search-box i { color: #ccc; }
.search-box:focus-within i { color: var(--accent); }

.select-box { position: relative; }
.select-box i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    pointer-events: none; /* Permite clicar no select através do ícone */
}

/* Grid de Cards */
.professionals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 30px;
}

.prof-card {
    border-radius: 12px; /* Arredondamento suave */
}

.prof-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: rgba(0, 168, 168, 0.5);
}

.prof-img-wrapper {
    position: relative;
    width: 100%;
    /* Removemos a altura fixa de 280px e usamos aspect-ratio */
    height: auto; 
    aspect-ratio: 9 / 16; 
    overflow: hidden;
    background-color: #f4f7f9; /* Cor de fundo enquanto carrega */
}

/* A imagem deve cobrir tudo sem distorcer */
.prof-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: top center; /* Foca no topo (rosto) caso precise cortar algo mínimo */
    transition: transform 0.5s ease;
}

.prof-card:hover .prof-img-wrapper img {
    transform: scale(1.08);
}

.prof-badge {
    display: none; 
}

.prof-info {
    padding: 20px;
    text-align: center; /* Centralizado fica melhor com cards verticais */
}

.prof-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.prof-info .crm {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 15px;
    font-weight: 500;
}

.prof-info p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.6;
    flex-grow: 1; /* Empurra o conteúdo abaixo para a base */
}
/* --- ÍCONES SOCIAIS DOS MÉDICOS (Atualizado) --- */
.prof-socials {
    display: flex;
    gap: 15px;
    margin-top: auto; /* Alinha na base do card */
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    
    /* Alteração 1: Centralizar */
    justify-content: center;

    /* Alteração 2: Sempre visível (removemos a opacidade zero) */
    opacity: 1;
    transform: none;
}

/* Removemos a regra antiga .prof-card:hover .prof-socials pois não é mais necessária */

.prof-socials a {
    text-decoration: none;
    display: inline-block; /* Importante para animação */
    transition: transform 0.3s;
}

.prof-socials a:hover {
    transform: scale(1.2); /* Efeito de zoom leve ao passar o mouse */
}

/* Alteração 3: Instagram Colorido (Gradiente Oficial) */
.prof-socials .fa-instagram {
    font-size: 1.6rem; /* Tamanho um pouco maior para destaque */
    
    /* Gradiente do Instagram */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    
    /* Aplica o fundo apenas no texto (ícone) */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
}
/* Responsivo para filtro */
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: center;
    }
}
/* --- DESTAQUE SERVIÇOS ADICIONAIS (ROXO) --- */

/* Variável local para a cor deste card */
.services-card {
    --service-color: #8e44ad; /* Roxo Criativo */
    border: 2px solid var(--service-color);
    position: relative;
    /* Levemente maior que o normal, mas menor que o destaque central */
    transform: scale(1.02); 
    z-index: 1;
}

.services-card:hover {
    box-shadow: 0 20px 50px rgba(142, 68, 173, 0.2);
    border-color: var(--service-color);
    transform: scale(1.04) translateY(-5px);
}

/* Tag do topo */
.service-tag {
    background: var(--service-color);
    color: #fff;
    /* Mesmos estilos da tag popular, garantindo consistência */
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(142, 68, 173, 0.3);
    width: max-content;
}

/* Títulos internos mudam para a cor do serviço */
.services-card h3, 
.services-card .amount {
    color: var(--service-color);
}

/* Ícones da lista */
.services-card .feature-list i {
    color: var(--service-color);
}

/* Botão Específico */
.btn-service {
    display: inline-block;
    border: 2px solid var(--service-color);
    color: var(--service-color);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: .3s;
    background: transparent;
}

.btn-service:hover {
    background: var(--service-color);
    color: #fff;
}

/* --- DESTAQUE ESPECÍFICO: CRIAÇÃO DE SITES --- */
.site-item {
    margin-top: 15px;
    margin-bottom: 15px !important;
}

.site-highlight {
    font-weight: 700;
    color: var(--service-color);
    background: rgba(142, 68, 173, 0.1); /* Fundo roxo bem clarinho */
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px dashed var(--service-color); /* Borda pontilhada estilosa */
    display: inline-block;
}

/* Responsividade: Ajusta a escala no mobile */
@media (max-width: 992px) {
    .services-card {
        transform: scale(1);
        margin-top: 20px;
    }
    .services-card:hover {
        transform: translateY(-5px);
    }
}
/* --- CORREÇÃO FINAL DE ALINHAMENTO MOBILE --- */
@media (max-width: 768px) {
    /* 1. Trava a largura do site para não criar rolagem lateral */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* 2. Garante que o Header respeite as margens da tela */
    .header {
        width: 100%;
        max-width: 100vw; /* Força a não passar da largura da tela */
        left: 0;
    }

    /* 3. Ajusta o espaçamento interno do menu para trazer o ícone para dentro */
    .nav.container {
        padding-left: 25px;  /* Margem esquerda segura */
        padding-right: 25px; /* Margem direita segura (traz o hambúrguer para dentro) */
        width: 100%;
    }

    /* 4. Reduz o tamanho do título (Causa raiz do "estouro" da tela) */
    .hero-title {
        font-size: 2.2rem; /* Reduz de 3.5rem para caber no celular */
        word-wrap: break-word; /* Quebra palavras muito longas */
    }
    
    /* 5. Ajuste fino na descrição para alinhar */
    .hero-description {
        font-size: 1rem;
        padding-right: 10px;
    }
}
/* --- CSS DE SUPORTE PARA REMOÇÃO ELFSIGHT --- */
a[href*="elfsight.com"],
a[href*="elfsight.com"] * {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    font-size: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    z-index: -9999 !important;
}

/* Esconde qualquer div que tenha classes suspeitas de branding */
div[class*="Branding"], 
div[class*="Copyright"],
.eapps-widget-toolbar {
    display: none !important;
}
/* --- CORREÇÃO PARA 4 CARDS LADO A LADO --- */

/* Apenas em telas de computador (acima de 992px) */
/* --- CORREÇÃO FINAL: 4 CARDS MAIS LARGOS --- */

/* Regra Geral para Desktop */
@media (min-width: 992px) {
    .pricing-wrapper.services-grid {
        display: flex; /* Muda de Grid para Flex para permitir centralização */
        flex-wrap: wrap; /* Permite quebrar linha */
        justify-content: center; /* Centraliza os itens na linha (fundamental para os 2 de baixo) */
        gap: 30px; /* Espaçamento entre os cards */
        width: 100%;
        margin-left: 0;
    }

    .pricing-wrapper.services-grid .pricing-card {
        /* Define a largura para caber exatamente 3 cards na linha */
        /* 1140px container / 3 ~ 350px. Usamos flex-basis para controle */
        flex: 0 1 calc(33.333% - 30px); 
        max-width: 360px; /* Garante que não fiquem gigantes */
        width: 100%;
        margin: 0; /* Remove margens antigas se houver */
    }
}

/* Ajuste Fino para Telas Menores (Tablets) */
@media (max-width: 991px) {
    .pricing-wrapper.services-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .pricing-wrapper.services-grid .pricing-card {
        width: 100%;
        max-width: 350px;
    }
}
/* --- ESTILO DO SELO DE PARCEIRO (UX MELHORADA) --- */
.partner-badge {
    background: rgba(142, 68, 173, 0.08); /* Fundo roxo bem clarinho */
    border: 1px dashed var(--service-color); /* Borda pontilhada estilo cupom/destaque */
    border-radius: 10px;
    padding: 15px 10px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: 0.3s;
}

.partner-badge:hover {
    background: rgba(142, 68, 173, 0.15);
    transform: scale(1.02);
}

.partner-badge i {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--service-color);
}

.partner-badge span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--service-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-badge small {
    font-size: 0.75rem;
    color: #777;
    font-weight: 500;
}
/* --- OFERTA ANIMADA PREMIUM --- */
@keyframes gradient-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.premium-badge {
    /* Gradiente Roxo com um toque de luz */
    background: linear-gradient(-45deg, #8e44ad, #9b59b6, #be93d4, #8e44ad);
    background-size: 400% 400%;
    animation: gradient-move 5s ease infinite; /* Animação do fundo */
    
    border-radius: 12px;
    padding: 20px 10px;
    margin: 20px 0;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 20px rgba(142, 68, 173, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.premium-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(142, 68, 173, 0.3);
}

.premium-badge i {
    font-size: 1.4rem;
    margin-bottom: 8px;
    display: block;
    animation: float-icon 2s ease-in-out infinite; /* Ícone flutuando */
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.premium-badge .badge-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.premium-badge .badge-sub {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
    font-style: italic;
}
/* Estilo para o link da Área do Parceiro */
.partner-link {
    color: var(--primary) !important;
    border: 1px solid var(--primary);
    padding: 8px 15px;
    border-radius: 20px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.partner-link i {
    font-size: 0.9rem;
}

.partner-link:hover {
    background: var(--primary);
    color: #fff !important;
}

/* Ajuste Mobile para o link do parceiro */
@media (max-width: 768px) {
    .partner-link {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
}
/* --- CSS DO FORMULÁRIO DE CONTATO --- */
.contact-details p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.link-maps {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: 0.3s;
}

.link-maps:hover {
    color: var(--accent);
}

.contact-form {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.input-group {
    margin-bottom: 15px;
}

/* Estilizando Input, Textarea e o novo Select juntos */
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
    background: #f9f9f9;
    color: var(--text); /* Garante a cor cinza do texto */
}

/* Efeito de foco para todos */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 168, 168, 0.1); /* Cor ajustada para o seu verde */
}

/* Ajuste específico para a setinha do select não ficar colada (opcional) */
.contact-form select {
    cursor: pointer;
    appearance: none; /* Remove estilo padrão do navegador */
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a8a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Ajuste para o mapa ficar da altura do formulário */
.map-embed iframe {
    height: 100% !important;
    min-height: 500px; /* Garante altura em telas grandes */
}

@media (max-width: 768px) {
    .map-embed iframe {
        min-height: 300px;
    }
}
/* --- MODAL DE SUCESSO (FORMSPREE AJAX) --- */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.success-modal.show-modal {
    opacity: 1;
    visibility: visible;
}

.success-content {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.5);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border-top: 5px solid var(--accent); /* Borda verde no topo */
}

.success-modal.show-modal .success-content {
    transform: scale(1);
}

.success-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 168, 168, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.success-content h3 {
    color: var(--primary);
    font-family: var(--title-font);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.success-content p {
    color: var(--text);
    margin-bottom: 25px;
    font-size: 0.95rem;
}