/*
Theme Name: AVIOR Clínica
Theme URI: https://aviorclinica.com.br
Author: AVIOR
Description: Tema personalizado da AVIOR para site institucional e WooCommerce, com página inicial automática e produtos digitais.
Version: 2.2.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: avior
*/

        /* ==========================================================================
           1. ESTILOS GERAIS E PALETA DE CORES (IDENTIDADE VISUAL AVIOR)
           ========================================================================== */
        :root {
            --dourado-nobre: #d4af37;       /* Destaques, botões VIP, detalhes luxo */
            --turquesa-suave: #2a9d8f;     /* Detalhes de tecnologia e links */
            --cinza-grafite: #2c2c2c;      /* Textos principais e subtítulos */
            --fundo-clean: #fafafa;        /* Cor de fundo para sensação clínica limpa */
            --branco: #ffffff;
            --cinza-claro: #f4f4f4;
			--azul-marinho: #0b1f3a;
            --azul-hover: #163a63;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Helvetica Neue', Arial, sans-serif;
            background-color: var(--fundo-clean);
            color: var(--cinza-grafite);
            line-height: 1.6;
        }

        h1, h2, h3 {
            font-family: 'Times New Roman', Times, serif;
            color: var(--cinza-grafite);
            font-weight: normal;
        }

        .container {
            width: 100%;
            max-width: 1100px;
            margin: 0 auto;
            padding: 40px 20px;
        }

 /* ==========================================================================
   2. TOPO / MENU DE NAVEGAÇÃO (VERSÃO LIMPA E CONSISTENTE)
   ========================================================================== */

header {
    position: sticky;
    top: 0;
    z-index: 999;

    /* glass com base azul suave */
 background: rgba(11, 31, 58, 0.88); /* mais presença de cor */
    backdrop-filter: blur(10px);        /* menos blur = menos cinza */
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(212, 175, 55, 0.12); /* leve dourado */
}


/* container */
.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 20px;

    display: flex;
    align-items: center;

    justify-content: flex-start; /* troca aqui */
    gap: 40px; /* controla distância entre logo e menu */
}

/* lado esquerdo */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;

    transform: translateX(-6px);
}

.logo-img {
    height: 78px;
    width: auto;
    object-fit: contain;
}

/* MENU */
.menu {
    list-style: none;
    display: flex;
    gap: 24px;
    align-items: center;

    margin-left: auto; /* ESSENCIAL: joga menu pro centro/direita */
    padding: 0;
    white-space: nowrap;
}

.menu a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s ease;
    position: relative;
}

/* hover elegante azul */
.menu a:hover {
    color: #ffffff;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

/* botão mobile */
.menu-mobile-btn {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .menu-mobile-btn {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background: rgba(11, 31, 58, 0.92);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        border-top: 1px solid rgba(255,255,255,0.08);
        padding: 15px 0;
    }

    .menu.ativo {
        display: flex;
    }

    .menu li {
        padding: 14px 0;
        text-align: center;
    }

    .logo-img {
        height: 55px;
    }
}
        /* ==========================================================================
           3. BANNER PRINCIPAL (HERO SECTION)
           ========================================================================== */
        .hero {
            position: relative;
            isolation: isolate;
            overflow: hidden;
            background-color: var(--avior-hero-color, #f7f3ea);
            padding: 100px 20px;
            text-align: center;
            border-bottom: 1px solid #eee;
        }

        .hero > * {
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: 42px;
            letter-spacing: 3px;
            margin-bottom: 15px;
        }

        .hero h1 img {
            display: block;
            width: min(536px, 78vw);
            max-width: 100%;
            height: auto;
            margin: 0 auto;
        }

        .hero p {
            font-size: 16px;
            max-width: 700px;
            margin: 0 auto 30px auto;
            color: #555;
        }

        .btn-cta {
            background-color: var(--dourado-nobre);
            color: var(--branco);
            text-decoration: none;
            padding: 15px 35px;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: bold;
            border-radius: 4px;
            display: inline-block;
            transition: background 0.3s;
        }

        .btn-cta:hover {
            background-color: #b59228;
        }

        /* ==========================================================================
           4. CORPO CLÍNICO
           ========================================================================== */
        .section-title {
            text-align: center;
            font-size: 28px;
            letter-spacing: 2px;
            margin-bottom: 40px;
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 50px;
            height: 2px;
            background-color: var(--dourado-nobre);
            margin: 15px auto 0 auto;
        }

        .medicos-grid {
            margin-top: 20px;
            text-align: center;
        }

        .medico-card {
            background: var(--branco);
            border: 1px solid #eee;
            padding: 30px;
            border-radius: 8px;
            display: inline-block;
            vertical-align: top;
            width: 45%;
            margin: 0 2%;
            text-align: left;
            box-shadow: 0 4px 10px rgba(0,0,0,0.02);
        }

        .medico-card h3 {
            font-size: 22px;
            margin-bottom: 5px;
        }

        .medico-card .especialidade {
            color: var(--dourado-nobre);
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: bold;
            margin-bottom: 15px;
        }

        .medico-card p {
            font-size: 14px;
            color: #666;
        }
         /* ==========================================================================
              FOTOS DOS PROFISSIONAIS
            ========================================================================== */

            .foto-profissional {
             width: calc(100% + 60px);
             height: 520px;
             object-fit: cover;
			 object-position: center 10%;
             margin: -30px -30px 25px -30px;
             display: block;
             border-radius: 8px 8px 0 0;
        }

        .medico-card {
          overflow: hidden;
          transition: all 0.3s ease;
        }

        .medico-card:hover {
          transform: translateY(-5px);
           box-shadow: 0 12px 30px rgba(0,0,0,0.08);
        }
        /* ==========================================================================
           5. AS 3 VERTENTES DE ATUAÇÃO
           ========================================================================== */
        .vertentes-grid {
            text-align: center;
        }

        .vertente-box {
            background-color: var(--branco);
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 30px;
            margin-bottom: 30px;
            text-align: left;
            box-shadow: 0 4px 15px rgba(0,0,0,0.02);
        }

        .vertente-header {
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 15px;
            margin-bottom: 20px;
        }

        .vertente-header h3 {
            font-size: 24px;
            color: var(--cinza-grafite);
        }

        .vertente-header .responsavel {
            font-size: 12px;
            color: var(--dourado-nobre);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: bold;
            margin-top: 5px;
        }

        .vertente-box > p {
            font-size: 15px;
            color: #555;
            margin-bottom: 20px;
            font-style: italic;
        }

        .vertente-descricao {
            max-width: 920px;
            color: #555;
            line-height: 1.75;
            margin-bottom: 28px;
        }

        .vertente-descricao p {
            margin: 0;
        }

        .procedimentos-cabecalho {
            margin: 4px 0 18px;
            padding-top: 20px;
            border-top: 1px solid #eee;
            color: var(--dourado-nobre);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1.2px;
            text-transform: uppercase;
        }

        .procedimentos-lista {
            list-style: none;
        }

        .procedimento-item {
            margin-bottom: 20px;
            padding-left: 15px;
            border-left: 3px solid var(--dourado-nobre);
        }

        .procedimento-item strong {
            font-size: 16px;
            color: var(--cinza-grafite);
            display: block;
            margin-bottom: 4px;
        }

        .procedimento-item p {
            font-size: 14px;
            color: #666;
        }

        /* ==========================================================================
           6. TECNOLOGIAS E ATIVOS (CIÊNCIA E PERFORMANCE)
           ========================================================================== */
        .bg-fundo {
            background-color: var(--cinza-claro);
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
        }

        .tecnologias-grid {
            margin-top: 20px;
        }

        .tech-card {
            background-color: var(--branco);
            padding: 25px;
            border-radius: 6px;
            margin-bottom: 20px;
            border: 1px solid #eef;
        }

        .tech-card h4 {
            font-family: 'Helvetica Neue', Arial, sans-serif;
            font-size: 16px;
            font-weight: bold;
            color: var(--cinza-grafite);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
        }

        .tech-card h4::before {
            content: '⚡';
            margin-right: 10px;
            color: var(--dourado-nobre);
        }

        .tech-card.ativo h4::before {
            content: '🧪';
        }

        .tech-card p {
            font-size: 14px;
            color: #666;
        }

        /* ==========================================================================
           7. ÁREA VIP: HOME CARE & E-BOOKS PROTEGIDOS
           ========================================================================== */
        .area-vip-intro {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 40px auto;
            font-size: 15px;
            color: #555;
        }

        .ebooks-grid {
            text-align: center;
        }

        .ebook-card {
            background: var(--branco);
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 25px;
            width: 46%;
            margin: 2% 1%;
            display: inline-block;
            vertical-align: top;
            text-align: center;
            box-shadow: 0px 4px 12px rgba(0,0,0,0.03);
            position: relative;
        }

        .badge-vip {
            color: var(--dourado-nobre);
            font-size: 11px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
            display: block;
        }

        .ebook-card h4 {
            font-size: 18px;
            margin-bottom: 10px;
            color: var(--cinza-grafite);
        }

        .ebook-card p {
            font-size: 13px;
            color: #666;
            margin-bottom: 20px;
            min-height: 55px;
        }

        .input-senha {
            width: 85%;
            padding: 10px;
            margin-bottom: 10px;
            border: 1px solid #cccccc;
            border-radius: 4px;
            text-align: center;
            font-size: 13px;
            text-transform: uppercase;
        }

        .btn-liberar {
            background-color: var(--dourado-nobre);
            color: var(--branco);
            border: none;
            padding: 10px 20px;
            font-size: 13px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
            width: 85%;
            transition: background 0.3s;
        }

        .btn-liberar:hover {
            background-color: #b59228;
        }

        .msg-erro {
            color: #cc0000;
            font-size: 12px;
            margin-top: 10px;
            display: none;
            font-weight: bold;
        }

        /* Ebook Breve */
        .ebook-breve {
            background-color: #fafafa;
            border: 1px dashed #ccc;
        }

        .ebook-breve .badge-vip {
            color: #888;
        }

        .btn-avisar {
            background-color: #2c2c2c;
            color: var(--branco);
            text-decoration: none;
            padding: 10px 20px;
            font-size: 13px;
            border-radius: 4px;
            display: inline-block;
            font-weight: bold;
            width: 85%;
        }

        .vip-footer-msg {
            text-align: center;
            background-color: var(--branco);
            border: 1px solid #eee;
            padding: 25px;
            border-radius: 8px;
            margin-top: 30px;
            font-size: 14px;
        }

        .vip-footer-msg a {
            color: var(--turquesa-suave);
            font-weight: bold;
            text-decoration: none;
        }

        /* ==========================================================================
           8. RODAPÉ (FOOTER) & LOCALIZAÇÃO
           ========================================================================== */
        footer {
            background-color: var(--branco);
            border-top: 1px solid #eee;
            padding: 50px 20px 20px 20px;
            text-align: center;
        }

        .footer-logo {
            font-family: 'Times New Roman', Times, serif;
            font-size: 26px;
            letter-spacing: 4px;
            margin-bottom: 5px;
        }

        .footer-sub {
            color: var(--dourado-nobre);
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 30px;
        }

        .info-localizacao {
            font-size: 14px;
            color: #555;
            line-height: 1.6;
            margin-bottom: 35px;
        }

        .redes-sociais {
            margin-bottom: 30px;
        }

        .redes-sociais p {
            font-size: 13px;
            font-weight: bold;
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .redes-sociais a {
            width: 52px;
            height: 52px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #e1306c;
            border: 1px solid rgba(225, 48, 108, 0.32);
            border-radius: 50%;
            text-decoration: none;
            transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .redes-sociais a svg {
            width: 27px;
            height: 27px;
            display: block;
            fill: currentColor;
        }

        .redes-sociais a:hover,
        .redes-sociais a:focus-visible {
            color: #c13584;
            border-color: #c13584;
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 22px rgba(193, 53, 132, 0.24);
            outline: none;
        }

        .copyright {
            border-top: 1px solid #f0f0f0;
            padding-top: 20px;
            font-size: 11px;
            color: #999;
            margin-top: 20px;
        }

        /* ==========================================================================
           9. BOTÃO FLUTUANTE DO WHATSAPP
           ========================================================================== */
        .whatsapp-flutuante {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 40px;
            right: 40px;
            background-color: #25d366;
            color: var(--branco);
            border-radius: 50px;
            text-align: center;
            box-shadow: 2px 4px 15px rgba(0,0,0,0.15);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-weight: bold;
            font-size: 13px;
            transition: transform 0.3s;
        }

       .whatsapp-flutuante:hover,
       .whatsapp-flutuante:focus-visible {
            transform: translateY(-2px) scale(1.08);
            box-shadow: 2px 8px 22px rgba(0,0,0,0.24);
            outline: none;
       }

       .whatsapp-icon {
            width: 34px;
            height: 34px;
            display: block;
       }

       @media (prefers-reduced-motion: no-preference) {
            .whatsapp-flutuante::before {
                content: "";
                position: absolute;
                inset: -7px;
                border: 2px solid rgba(37, 211, 102, 0.38);
                border-radius: inherit;
                animation: avior-whatsapp-pulse 2.2s ease-out infinite;
            }
       }

       @keyframes avior-whatsapp-pulse {
            0% { transform: scale(.88); opacity: .8; }
            70%, 100% { transform: scale(1.22); opacity: 0; }
       }

/* ==========================================================================
   10. RESPONSIVO (VERSÃO LIMPA)
   ========================================================================== */

@media (max-width: 768px) {

    header {
        padding: 12px 16px;
    }

    .menu-mobile-btn {
        display: block;
        font-size: 32px;
        margin: 0;
    }

    .menu {
        display: none;
        margin-top: 15px;
    }

    .menu.ativo {
        display: block;
    }

    .menu li {
        display: block;
        margin: 12px 0;
    }

    .medico-card {
        width: 100%;
        margin: 0 0 25px 0;
    }

    .foto-profissional {
        height: 450px;
    }

    .hero {
        padding: 72px 18px;
    }

    .hero h1 img {
        width: min(290px, 82vw);
    }

    /* LOGO CONTROLADO (SEM SOBRESCRITA CONFLITANTE) */
    .logo-img {
        height: 46px;
        max-width: 180px;
    }
}

    

/* WordPress */
:root { --avior-hero-color: #f7f3ea; --avior-hero-position: center center; }
body.admin-bar header{top:32px}.screen-reader-text{position:absolute;left:-9999px}.custom-logo-link img{height:78px;width:auto}.site-main{min-height:50vh}.page-content{max-width:1100px;margin:auto;padding:60px 20px}.entry-title{margin-bottom:25px}.avior-store-link{border:1px solid rgba(212,175,55,.7);padding:8px 14px;border-radius:4px}.menu a.avior-store-link:after{display:none}.menu a.avior-store-link:hover{background:#d4af37;color:#fff}.woocommerce .button,.woocommerce button.button,.woocommerce input.button,.woocommerce a.button{background:#d4af37;color:#fff;border-radius:4px}.woocommerce .button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce a.button:hover{background:#b59228;color:#fff}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:#2a9d8f}.woocommerce span.onsale{background:#0b1f3a}.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0}.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:10px;border-bottom:1px solid #eee}.woocommerce-message,.woocommerce-info{border-top-color:#d4af37}.woocommerce-message::before,.woocommerce-info::before{color:#d4af37}
@media(max-width:782px){body.admin-bar header{top:46px}}@media(max-width:768px){.custom-logo-link img{height:55px}.avior-store-link{display:inline-block}}

@media (max-width: 768px) {
    .whatsapp-flutuante {
        width: 56px;
        height: 56px;
        right: 18px;
        bottom: 18px;
    }
    .whatsapp-icon { width: 31px; height: 31px; }
}


/* AVIOR 2.1.5 — telefone do rodapé */
.info-localizacao .avior-footer-phone {
    margin-top: 8px;
}
.info-localizacao .avior-footer-phone a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease, opacity .25s ease;
}
.info-localizacao .avior-footer-phone a:hover {
    color: var(--dourado-nobre);
    opacity: .95;
}


/* AVIOR 2.1.9 — link do Google Maps automático ou manual */
html {
    scroll-behavior: smooth;
}

footer#contato {
    scroll-margin-top: 110px;
}

.info-localizacao .avior-footer-address a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease, opacity .25s ease;
}

.info-localizacao .avior-footer-address a:hover,
.info-localizacao .avior-footer-address a:focus-visible {
    color: var(--dourado-nobre);
    opacity: .95;
    outline: none;
}
