/* ==========================================================================
   1. CONFIGURAÇÕES GERAIS, RESET & LAYOUT BASE
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

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

/* ==========================================================================
   2. REGRAS DE OPACIDADE DOS FUNDOS DO SITE (GERENCIADOS PELO ADMIN)
   ========================================================================== */
#secao-especialidades,
#secao-quem-somos,
#secao-equipe {
    position: relative;
    overflow: hidden;
    background-color: #000000;
    z-index: 1;
}

#secao-especialidades::before,
#secao-quem-somos::before,
#secao-equipe::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15; /* Imagem de fundo sutil com 15% de opacidade */
    z-index: -1;
    transition: background-image 0.3s ease;
}

.grey-bg {
    background-color: #04070d;
}

/* ==========================================================================
   3. MENU DE NAVEGAÇÃO (LOGO À ESQUERDA)
   ========================================================================== */
.navbar {
    width: 100%;
    padding: 25px 0;
    background-color: #000000;
    border-bottom: 1px solid #111a2e;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar .container-premium {
    display: flex;
    justify-content: flex-start; /* Força o alinhamento estrito à esquerda */
    align-items: center;
}

.logo {
    font-size: 15pt;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
}

.logo span {
    color: #0052cc; /* Azul Premium */
    font-weight: 300;
}

/* ==========================================================================
   4. BANNER ROTATIVO (SLIDER PROGRAMÁTICO)
   ========================================================================== */
.slider-section {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    background-color: #000000;
}

.slider-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(45%);
}

.slide-caption {
    position: absolute;
    bottom: 80px;
    left: 10%;
    right: 10%;
    z-index: 3;
    max-width: 750px;
    animation: fadeInUp 1s ease;
}

.slide-caption h2 {
    font-size: 30pt;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.slide-caption p {
    font-size: 13pt;
    color: #ccd6f6;
    font-weight: 300;
    line-height: 1.5;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #172a45;
    color: #ffffff;
    padding: 15px;
    cursor: pointer;
    z-index: 4;
    font-size: 14pt;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.slider-btn:hover {
    background: #0052cc;
    border-color: #0052cc;
}

.prev-btn { left: 25px; }
.next-btn { right: 25px; }

/* ==========================================================================
   5. SEÇÕES DE CONTEÚDO & TÍTULOS
   ========================================================================== */
.content-section {
    padding: 90px 0;
    border-top: 1px solid #0b111e;
}

.section-title {
    font-size: 17pt;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 50px;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #d4af37; /* Detalhe em ouro na linha base */
}

.text-center { text-align: center; }
.text-center::after { left: 50%; transform: translateX(-50%); }

.quem-somos-bloco {
    max-width: 850px;
    margin: 0 auto;
}

.quem-somos-bloco p {
    font-size: 12.5pt;
    line-height: 1.7;
    color: #ccd6f6;
    font-weight: 300;
}

/* ==========================================================================
   6. ARQUITETURA DE CARDS DOURADOS & SUSPENSOS (HOVER INTELIGENTE)
   ========================================================================== */
.gold-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Estritamente 3 colunas paralelas */
    gap: 30px;
    margin-top: 20px;
}

.card-dourado {
    position: relative; /* Base de ancoragem para o suspenso */
    background: linear-gradient(135deg, #11141a 0%, #07090d 100%);
    border: 1px solid #3a3018; /* Borda dourada corporativa sutil */
    border-radius: 6px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-dourado-interno {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.gold-icon {
    font-size: 26pt;
    color: #d4af37; /* Ouro Metálico */
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.card-dourado h3 {
    font-size: 13.5pt;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase;
}

/* --- O CARD SUSPENSO (FLUTUA EXATAMENTE EM CIMA NO HOVER) --- */
.card-suspenso {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border: 2px solid #d4af37; /* Contorno em ouro vivo ao expandir */
    border-radius: 6px;
    padding: 30px 25px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 50;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

/* Ativação por aproximação de mouse */
.card-dourado:hover {
    border-color: #d4af37;
    box-shadow: 0 15px 35px rgba(0,0,0,0.7);
}

.card-dourado:hover .card-suspenso {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.card-suspenso h3 {
    color: #d4af37;
    font-size: 13pt;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 10px;
}

.quadrantespros-suspensos,
.quadrantes-suspensos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    overflow-y: auto;
    flex: 1;
}

.quadrante-s h4 {
    color: #d4af37;
    font-size: 8.5pt;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.quadrante-s p {
    color: #ccd6f6;
    font-size: 9pt;
    line-height: 1.4;
    text-align: justify;
}

/* ==========================================================================
   7. GERADOR DE CARTÕES DIGITAIS DOS ESPECIALISTAS
   ========================================================================== */
.cards-equipe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cartao-digital-box {
    background-color: #0b0c10;
    border: 1px solid #172a45;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.3s;
}

.cartao-digital-box:hover {
    border-color: #0052cc;
}

.cartao-digital-topo {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #172a45;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.cartao-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #0052cc;
}

.cartao-meta h3 {
    font-size: 12.5pt;
    color: #ffffff;
    font-weight: 600;
}

.cartao-meta span {
    color: #8892b0;
    font-size: 9.5pt;
    display: block;
    margin-top: 2px;
}

.cartao-digital-corpo {
    margin-bottom: 20px;
}

.cartao-digital-corpo p {
    font-size: 9.5pt;
    color: #ccd6f6;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cartao-digital-corpo p i {
    color: #0052cc;
    width: 15px;
}

.cartao-digital-acoes {
    display: flex;
    gap: 10px;
}

.btn-cartao {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    font-size: 9pt;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-baixar {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #172a45;
}

.btn-baixar:hover {
    background-color: #172a45;
}

.btn-wpp {
    background-color: #25d366;
    color: #ffffff;
    border: 1px solid #25d366;
}

.btn-wpp:hover {
    background-color: #1ebd58;
    border-color: #1ebd58;
}

/* ==========================================================================
   8. FAIXA AZUL GRANULADA & BOTÃO WHATSAPP
   ========================================================================== */
.faixa-cta-azul {
    background: linear-gradient(135deg, #0041a3 0%, #00225c 100%);
    padding: 50px 0;
    position: relative;
    border-top: 1px solid #0052cc;
}

/* Efeito mecânico granulado simulado via padrão sutil linear */
.faixa-cta-azul::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.04;
    background-image: radial-gradient(#ffffff 25%, transparent 25%), radial-gradient(#ffffff 25%, transparent 25%);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
    pointer-events: none;
}

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

.faixa-cta-azul h2 {
    font-size: 18pt;
    font-weight: 600;
    color: #ffffff;
    max-width: 80%;
}

.wpp-cta-ball {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24pt;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease, background-color 0.2s;
}

.wpp-cta-ball:hover {
    transform: scale(1.1);
    background-color: #1ebd58;
}

/* ==========================================================================
   9. RODAPÉ EXCLUSIVO (FOOTER INSTITUCIONAL)
   ========================================================================== */
.footer-premium {
    background-color: #000000;
    padding: 50px 0;
    border-top: 1px solid #111a2e;
}

.footer-grid-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-premium p {
    color: #5a647e;
    font-size: 9.5pt;
    line-height: 1.6;
    text-align: right;
}

.footer-premium p span {
    color: #8892b0;
    font-weight: 600;
}

/* ==========================================================================
   10. ANIMAÇÕES & MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .gold-cards-grid,
    .cards-equipe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .slider-section { height: 450px; }
}

@media (max-width: 768px) {
    .gold-cards-grid,
    .cards-equipe-grid,
    .cta-flex,
    .footer-grid-links {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .footer-premium p { text-align: center; }
    .faixa-cta-azul h2 { max-width: 100%; font-size: 15pt; }
    .slide-caption h2 { font-size: 20pt; }
}