@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --azul-primario: #1d4ed8;
    --azul-texto: #0f172a;
    --cinza-texto: #64748b;
    --fundo-cinza-claro: #f8fafc;
}

body {
    background-color: #ffffff;
    color: var(--azul-texto);
    font-family: 'Inter', Arial, sans-serif, 'Noto Color Emoji';
}

.cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #ffffff;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.03);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container .logo-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
}

.logo-texto h1 {
    font-size: 1.2rem;
    color: var(--azul-primario);
}

.logo-texto span {
    font-size: 0.8rem;
    color: var(--cinza-texto);
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    text-decoration: none;
    color: var(--cinza-texto);
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: var(--azul-primario);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    gap: 40px;
}

.hero-conteudo {
    flex: 1;
    max-width: 600px;
}

.tag-excelencia {
    background-color: #eff6ff;
    color: var(--azul-primario);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
}

.hero h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.destaque-azul {
    color: var(--azul-primario);
}

.hero p {
    color: var(--cinza-texto);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

.botoes-acao {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
}

.btn-agendar {
    background-color: var(--azul-primario);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-agendar:hover {
    background-color: #1e3a8a;
}

.btn-conhecer {
    color: var(--cinza-texto);
    text-decoration: none;
    font-weight: 600;
    padding: 14px 30px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-conhecer:hover {
    border-color: var(--azul-primario);
    color: var(--azul-primario);
}

.tags-vantagens {
    display: flex;
    gap: 20px;
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-imagem {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-imagem img {
    width: 420px;
    height: 350px;
    object-fit: cover;
    padding: 18px;
    background-color: #f2f2f2;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: rotate(2deg);
    transition: all 0.4s ease;
    cursor: pointer;
}

.hero-imagem img:hover {
    transform: rotate(0deg) scale(1.03);
    background-color: #ffffff;
}

.btn-entrar {
    background-color: var(--azul-primario);
    color: white;
    padding: 10px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-entrar:hover {
    background-color: #1e3a8a;
}

.especialidades {
    padding: 80px 5%;
    background-color: var(--fundo-cinza-claro);
}

.titulo-secao {
    text-align: center;
    margin-bottom: 50px;
}

.titulo-secao h2 {
    font-size: 2.5rem;
    color: var(--azul-texto);
    margin-bottom: 15px;
}

.titulo-secao p {
    color: var(--cinza-texto);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.grid-especialidades {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card-especialidade {
    background-color: #ffffff;
    color: var(--azul-primario);
    font-weight: 600;
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-especialidade:hover {
    background-color: #eff6ff;
    transform: translateY(-5px);
    border-color: var(--azul-primario);
}

.corpo-clinico {
    padding: 80px 5%;
    background-color: #ffffff;
}

.grid-medicos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.card-medico {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    width: 350px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-medico:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.foto-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.foto-placeholder.azul {
    background-color: #eff6ff;
    color: var(--azul-primario);
}

.foto-placeholder.verde {
    background-color: #ecfdf5;
    color: #10b981;
}

.card-medico h3 {
    color: var(--azul-texto);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.especialidade-medico {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.azul-texto {
    color: var(--azul-primario);
}

.verde-texto {
    color: #10b981;
}

.card-medico p {
    color: var(--cinza-texto);
    font-size: 0.95rem;
    line-height: 1.5;
}

.rodape {
    background-color: var(--azul-texto);
    color: #ffffff;
    padding: 70px 5%;
}

.rodape-conteudo {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.rodape-info {
    flex: 1;
    max-width: 450px;
}

.logo-container-rodape h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.rodape-info p {
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contatos-lista {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contato-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.contato-item h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.botoes-rodape {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-top: 15px;
}

.btn-maps {
    display: block;
    background-color: #2563eb;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #2563eb;
    border-radius: 8px;
    font-weight: 600;
    width: 330px;
    padding: 12px 0;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-maps:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-portal {
    display: block;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #ffffff;
    border-radius: 8px;
    font-weight: 600;
    width: 280px;
    padding: 10px 0;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-portal:hover {
    background-color: #ffffff;
    color: var(--azul-texto);
}

.rodape-mapa {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.rodape-mapa iframe {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 500px;
}

.cookie-banner {
    position: fixed;
    bottom: -150%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: bottom 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
}

.cookie-banner.mostrar {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-texto h4 {
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.cookie-texto p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-botoes {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-cookie-aceitar {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.95rem;
}

.btn-cookie-aceitar:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.btn-cookie-rejeitar {
    background-color: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.95rem;
}

.btn-cookie-rejeitar:hover {
    background-color: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-botoes {
        width: 100%;
        flex-direction: column;
    }

    .btn-cookie-aceitar,
    .btn-cookie-rejeitar {
        width: 100%;
    }
}

 /* Celular */
   @media screen and (max-width: 768px) {
    
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .login-container {
        width: 95% !important;
        margin: 20px auto !important;
        padding: 15px !important;
    }

    .form-box {
        padding: 20px !important;
    }

    .linha-dupla {
        display: flex;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .grid-cards-admin,
    .grid-opcoes,
    .grid-acoes,
    .grid-widgets,
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    body[style*="display: flex"], 
    body.fundo-admin {
        flex-direction: column !important;
        height: auto !important;
    }

    .sidebar {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .conteudo-principal, 
    main {
        width: 100% !important;
        padding: 15px !important;
    }

    .caixa-branca,
    .card-ti,
    div[style*="background: white"] {
        overflow-x: auto !important;
        padding: 15px !important;
    }
    
    table {
        min-width: 600px;
    }

    .cabecalho, 
    .cabecalho-painel, 
    .header-chamada {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }

    .acoes-topo {
        justify-content: center !important;
        width: 100% !important;
    }

    .banner-azul {
        flex-direction: column;
        text-align: center;
    }

    .banner-icone {
        display: none;
    }

    .stepper {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
