/* ============================================================================
   styles.css — Odontoforma (site-id: odontoforma)
   Design proprio da clinica, portado do site de origem e higienizado para a
   Plataforma HomePage. NAO compartilhar com sites/odontologia-sudoeste.
   ----------------------------------------------------------------------------
   Origem: bloco <style> inline da pagina (export WordPress + home ao vivo).
   Alteracoes desta portabilidade:
     - @import do Google Fonts removido -> @font-face self-host (decisao D8)
     - regras do admin-bar do WordPress removidas (nao existem fora do WP)
     - bloco prefers-reduced-motion adicionado (acessibilidade)
   ============================================================================ */

/* --- Tipografia: Poppins self-host (4 pesos) ------------------------------- */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/poppins-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('assets/fonts/poppins-800.woff2') format('woff2');
}

    /* ============================================
       CÓDIGO MASTER v3.3 - ESTILOS GLOBAIS
       ✨ Gerenciado por IA do Google
       ============================================ */
    /* RESET CSS E FONTES */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
        font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        line-height: 1.6;
        color: #4a5568;
        overflow-x: hidden;
        background-color: #f8f9fa;
    }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .body-no-scroll { overflow: hidden; }
    /* ============================================
       ESTILOS: MENU HEADER E RESPONSIVO
       ============================================ */
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1001;
        padding: 15px 0;
        transition: transform 0.4s ease-in-out, background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out, top 0.4s ease-in-out;
    }
    .main-header.is-hidden {
        transform: translateY(-100%);
    }
    .main-header.is-visible {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    .header-logo-link .header-logo {
        height: 78px;
        width: auto;
        max-width: none;
        transition: all 0.3s ease;
    }
    .main-header.is-visible .header-logo-link .header-logo {
        height: 78px;
    }
    .main-nav a {
        color: white;
        text-decoration: none;
        margin: 0 15px;
        font-weight: 600;
        position: relative;
        transition: color 0.4s ease-in-out;
    }
    .main-header.is-visible .main-nav a {
        color: #333;
    }
    .main-nav a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        left: 50%;
        background-color: #0095DA;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    .main-nav a:hover::after {
        width: 100%;
    }
    .menu-toggle {
        display: none;
        width: 26px; 
        height: 18px; 
        position: relative;
        cursor: pointer;
        z-index: 1004;
        background: none;
        border: none;
    }
    .menu-toggle .bar {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2.5px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    .main-header.is-visible .menu-toggle .bar {
        background-color: #0095DA; 
    }
    .menu-toggle .bar:nth-child(1) { top: 0; }
    .menu-toggle .bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .menu-toggle .bar:nth-child(3) { bottom: 0; }
    .menu-toggle.is-open .bar:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
    .menu-toggle.is-open .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-open .bar:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }
    .menu-toggle.is-open .bar { background-color: white; }
    .main-header.is-visible .menu-toggle.is-open .bar { background-color: #0095DA; }
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1002;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0s 0.4s;
    }
    .menu-overlay.is-open {
        opacity: 1;
        visibility: visible;
        transition-delay: 0s;
    }
    @media (min-width: 993px) {
        .main-nav {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            justify-content: center;
            flex-wrap: wrap; 
        }
        .main-nav a { flex-shrink: 0; }
    }
    @media (max-width: 992px) {
        .main-nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 170px;
            height: 100vh;
            background-color: rgba(0, 123, 191, 0.92);
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
            padding: 100px 15px 30px 25px;
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
            display: flex;
            z-index: 1003;
        }
        .main-nav.is-open { transform: translateX(0); }
        .main-nav a {
            color: white !important;
            margin: 10px 0;
            font-size: 0.9rem;
            text-align: left;
            width: 100%;
        }
        .menu-toggle { display: block; }
    }
    /* ============================================
       ESTILOS: BOTÕES FLUTUANTES (WHATSAPP E VOLTAR AO TOPO)
       ============================================ */
    .whatsapp-float-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 61px;
        height: 61px;
        background-color: #25D366;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        z-index: 999;
        transition: all 0.3s ease;
        opacity: 0.7;
    }
    .whatsapp-float-btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        opacity: 1;
    }
    .whatsapp-float-btn svg { width: 32px; height: 32px; fill: white; }
    .back-to-top-btn {
        position: fixed;
        bottom: 95px;
        right: 35px;
        width: 40px;
        height: 40px;
        background-color: rgba(0, 149, 218, 0.6);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        z-index: 998;
        transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background-color 0.3s ease;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
    }
    .back-to-top-btn.show {
        opacity: 0.7;
        visibility: visible;
        transform: translateY(0);
    }
    .back-to-top-btn:hover {
        transform: translateY(-3px) scale(1.05);
        background-color: rgba(0, 149, 218, 1);
        opacity: 1;
    }
    .back-to-top-btn svg { width: 18px; height: 18px; fill: white; }
    /* ============================================
       ESTILOS: ANIMAÇÃO DE TEXTO E SCROLL
       ============================================ */
    .animated-title, .animated-subtitle { 
        overflow: hidden; 
        display: block;
    }
    .animated-title span, .animated-subtitle span {
        display: inline-block;
        opacity: 0;
        transform: translateY(100%);
        animation: text-reveal 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
        animation-delay: calc(0.15s * var(--i));
    }
    .animated-subtitle span { 
        animation-delay: calc(0.8s + (0.05s * var(--i))); /* Ajuste de velocidade */
    }
    @keyframes text-reveal { to { opacity: 1; transform: translateY(0); } }
    .diferencial-card, .profissional-card, .especialidade-card, .depoimento-card, .contato-item, .contato-mapa {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .is-in-view { opacity: 1; transform: translateY(0); }
    /* ============================================
       ESTILOS DO CARROSSEL
       ============================================ */
    .hero-section { 
        height: 100vh; 
        min-height: 700px; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        text-align: center; 
        color: white; 
        position: relative;
        overflow: hidden;
    }
    .hero-slider-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 1.2s ease-in-out;
        transform: scale(1.05);
        animation: ken-burns 20s infinite;
    }
    .hero-slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(40, 40, 40, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
    }
    .hero-slide.active {
        opacity: 1;
    }
    .hero-slide:nth-child(2) {
        animation-delay: -10s;
    }
    @keyframes ken-burns {
        0%, 100% { transform: scale(1.05) rotate(0.5deg); }
        50% { transform: scale(1) rotate(-0.5deg); }
    }
    .slider-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        cursor: pointer;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        transition: all 0.3s ease;
        opacity: 0.5;
    }
    .slider-nav:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-50%) scale(1.1);
        opacity: 1;
    }
    .slider-nav.prev { left: 30px; }
    .slider-nav.next { right: 30px; }
    @media (max-width: 768px) {
        .slider-nav {
            width: 35px;
            height: 35px;
            font-size: 1.2rem;
        }
        .slider-nav.prev { left: 15px; }
        .slider-nav.next { right: 15px; }
    }
    .modal-title h3 {
        font-size: 1.8rem;
        color: #2d3748;
        margin-bottom: 5px;
    }
    /* UTILITÁRIOS, BOTÕES E SEÇÕES */
    .section-title { text-align: center; margin-bottom: 60px; }
    .section-title h2 { font-size: 2.5rem; color: #007bbf; margin-bottom: 15px; font-weight: 700; line-height: 1.2; }
    .section-title p { font-size: 1.1rem; color: #666666; max-width: 600px; margin: 0 auto; line-height: 1.6; }
    .btn-primary { background: linear-gradient(135deg, #0095DA 0%, #007bbf 100%); color: white; padding: 15px 40px; border: none; border-radius: 50px; font-size: 1.1rem; font-weight: 600; text-decoration: none; display: inline-block; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; box-shadow: 0 4px 15px rgba(0, 149, 218, 0.3); }
    .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 149, 218, 0.4); background: linear-gradient(135deg, #007bbf 0%, #006399 100%); }
    .btn-secondary { background: transparent; color: white; padding: 15px 40px; border: 2px solid white; border-radius: 50px; font-size: 1.1rem; font-weight: 600; text-decoration: none; display: inline-block; transition: all 0.3s ease; }
    .btn-secondary:hover { background: white; color: #007bbf; transform: translateY(-3px); }
    .hero-content { max-width: 800px; z-index: 2; position: relative; }
    .hero-content h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 25px; line-height: 1.1; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
    .hero-content p { font-size: 1.2rem; margin-bottom: 35px; opacity: 0.9; line-height: 1.7; }
    .hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
    .diferenciais-section { padding: 100px 0; background-color: #f8f9fa; }
    .diferenciais-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; margin-top: 50px; }
    .diferencial-card { background: white; border-radius: 20px; padding: 45px 35px; text-align: center; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid #e2e8f0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); position: relative; overflow: hidden; }
    .diferencial-card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: #0095DA; }
    .diferencial-icon { width: 90px; height: 90px; margin: 0 auto 30px; background: linear-gradient(135deg, #0095DA 0%, #007bbf 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 2.2rem; }
    .diferencial-title { font-size: 1.6rem; font-weight: 700; color: #2d3748; margin-bottom: 20px; }
    .diferencial-description { font-size: 1.05rem; color: #4a5568; line-height: 1.8; }
    .corpo-clinico-section { padding: 100px 0; background-color: #e9ecef; }
    .profissionais-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 35px; margin-top: 50px; }
    .profissional-card { background: white; border-radius: 25px; padding: 45px 35px; text-align: center; box-shadow: 0 8px 30px rgba(0,0,0,0.08); transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); border: 2px solid transparent; position: relative; overflow: hidden; }
    .profissional-card.clickable { cursor: pointer; }
    .profissional-card:hover { transform: translateY(-15px); box-shadow: 0 25px 50px rgba(0,0,0,0.15); border-color: #0095DA; }
    .profissional-foto { width: 160px; height: 160px; border-radius: 50%; margin: 0 auto 30px; overflow: hidden; border: 5px solid #e2e8f0; transition: all 0.5s ease; }
    .profissional-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
    .profissional-card:hover .profissional-foto { border-color: #0095DA; transform: scale(1.05); }
    .profissional-card:hover .profissional-foto img { transform: scale(1.1); }
    .profissional-nome { font-size: 1.6rem; font-weight: 700; color: #2d3748; margin-bottom: 12px; }
    .profissional-especialidade { font-size: 1.15rem; color: #0095DA; font-weight: 600; margin-bottom: 10px; }
    .profissional-cro { font-size: 1rem; color: #718096; font-weight: 500; }
    .especialidades-section { padding: 100px 0; background-color: #f8f9fa; }
    .especialidades-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 35px; margin-top: 50px; }
    .especialidade-card { text-align: center; padding: 0; border-radius: 20px; transition: all 0.4s ease; background: white; border: 1px solid #e2e8f0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); overflow: hidden; }
    .especialidade-card:hover { transform: translateY(-8px); border-color: #0095DA; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
    .especialidade-imagem-container { height: 180px; width: 100%; overflow: hidden; margin-bottom: 25px; }
    .especialidade-imagem-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
    .especialidade-card:hover .especialidade-imagem-container img { transform: scale(1.1); }
    .especialidade-content { padding: 0 25px 40px; }
    .especialidade-title { font-size: 1.4rem; font-weight: 700; color: #2d3748; margin-bottom: 20px; }
    .especialidade-description { color: #4a5568; line-height: 1.7; font-size: 1.05rem; }
    .depoimentos-section { padding: 100px 0; background-color: #e9ecef; position: relative; }
    .depoimentos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 40px; margin-top: 50px; }
    .depoimento-card { background: white; border-radius: 30px; padding: 45px 40px; position: relative; box-shadow: 0 10px 35px rgba(0,0,0,0.08); transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid rgba(226, 232, 240, 0.8); }
    .depoimento-card:hover { transform: translateY(-10px); box-shadow: 0 25px 60px rgba(0,0,0,0.15); }
    .depoimento-card::before { content: '"'; position: absolute; top: 25px; left: 35px; font-size: 5rem; color: #0095DA; font-family: Georgia, serif; line-height: 1; opacity: 0.15; z-index: 1; }
    .depoimento-texto { font-size: 1.2rem; color: #4a5568; line-height: 1.8; margin-bottom: 35px; padding-top: 30px; font-style: italic; position: relative; z-index: 2; }
    .depoimento-autor { display: flex; align-items: center; gap: 20px; position: relative; z-index: 2; }
    .autor-foto, .autor-foto-placeholder { width: 70px; height: 70px; border-radius: 50%; overflow: hidden; border: 4px solid #e2e8f0; transition: all 0.3s ease; }
    .autor-foto img { width: 100%; height: 100%; object-fit: cover; }
    .autor-foto-placeholder { background: linear-gradient(135deg, #0095DA 0%, #007bbf 100%); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 1.4rem; }
    .depoimento-card:hover .autor-foto, .depoimento-card:hover .autor-foto-placeholder { border-color: #0095DA; transform: scale(1.1); }
    .autor-info { flex: 1; }
    .autor-nome { font-size: 1.3rem; font-weight: 700; color: #2d3748; margin-bottom: 5px; }
    .autor-tratamento { font-size: 1rem; color: #718096; margin-bottom: 10px; font-weight: 500; }
    .avaliacao-estrelas { display: flex; gap: 4px; color: #ffd700; font-size: 1.2rem; }
    .contato-section { padding: 100px 0; background-color: #f8f9fa; }
    .contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 50px; }
    .contato-info h3 { font-size: 2.2rem; color: #007bbf; margin-bottom: 35px; font-weight: 700; }
    .contato-item { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; padding: 20px; border-radius: 15px; transition: all 0.3s ease; border: 2px solid transparent; }
    .contato-item:hover { background: white; border-color: #0095DA; transform: translateY(-10px); }
    .contato-icon { width: 60px; height: 60px; background: linear-gradient(135deg, #0095DA 0%, #007bbf 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; flex-shrink: 0; }
    .contato-icon svg { width: 28px; height: 28px; fill: white; }
    .contato-text strong { display: block; }
    .contato-text a { color: #0095DA; text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
    .contato-text a:hover { color: #007bbf; text-decoration: underline; }
    .contato-mapa { border-radius: 20px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); transition: all 0.4s ease; overflow: hidden; }
    .contato-mapa:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
    .contato-mapa iframe { width: 100%; height: 450px; border: 0; display: block; }
    .footer { background: linear-gradient(135deg, #4a4a4a 0%, #2c2c2c 100%); color: white; text-align: center; padding: 50px 0 30px; }
    .footer-logo img { max-width: 200px; height: auto; margin-bottom: 15px; }
    .footer p { margin-bottom: 8px; opacity: 0.9; }
    .footer-links { margin-top: 20px; display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; }
    .footer-links a { text-decoration: none; font-weight: 500; transition: all 0.3s ease; display: inline-flex; align-items: center; font-size: 1.1rem; }
    .footer-links a:hover { opacity: 0.8; transform: translateY(-2px); }
    .footer-links svg { width: 20px; height: 20px; margin-right: 8px; fill: currentColor; }
    .footer .info-final { margin-top: 30px; }
    .footer-links .link-whatsapp { color: #25D366; }
    .footer-links .link-telefone { color: #34B7F1; }
    .footer-links .link-localizacao { color: #EA4335; }
    .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; z-index: 10000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s 0.3s; }
    .modal-overlay.active { opacity: 1; visibility: visible; transition-delay: 0s; }
    .modal-container { background: white; padding: 40px; border-radius: 20px; max-width: 700px; width: 90%; box-shadow: 0 10px 30px rgba(0,0,0,0.2); position: relative; transform: scale(0.9) translateY(20px); transition: transform 0.3s ease; }
    .modal-overlay.active .modal-container { transform: scale(1) translateY(0); }
    .modal-close-btn { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: #aaa; cursor: pointer; border: none; background: none; transition: color 0.3s ease, transform 0.3s ease; }
    .modal-close-btn:hover { color: #333; transform: rotate(90deg); }
    .modal-header { display: flex; align-items: center; gap: 25px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid #e2e8f0; }
    .modal-photo { width: 120px; height: 120px; border-radius: 50%; border: 4px solid #0095DA; overflow: hidden; flex-shrink: 0; }
    .modal-photo img { width: 100%; height: 100%; object-fit: cover; }
    .modal-title p { font-size: 1.1rem; color: #0095DA; font-weight: 600; }
    .modal-body ul { list-style-position: inside; padding-left: 10px; }
    @keyframes fadeInUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
    @media (max-width: 992px) {
        .section-title h2 { font-size: 2rem; }
        .hero-content h1 { font-size: 2.5rem; }
        .diferenciais-grid, .profissionais-grid, .especialidades-grid, .depoimentos-grid, .contato-grid { grid-template-columns: 1fr; }
        .modal-header { flex-direction: column; text-align: center; }
        .contato-mapa { margin-top: 40px; }
        .contato-mapa iframe { height: 300px; }
    }
/* --- Acessibilidade: respeita "reduzir movimento" --------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- Bloco noscript (camada estatica gerada pelo qa_validate -Action Generate) */
.no-js-content { background: #f8f9fa; padding: 40px 0; }
.no-js-content h2 { color: #2d3748; margin-bottom: 16px; }
.no-js-content h3 { color: #2d3748; margin: 24px 0 12px; }
.no-js-content ul { margin: 0 0 0 20px; }
.no-js-content li { margin-bottom: 8px; }

/* --- Adicoes da portabilidade para a Plataforma HomePage ------------------- */

/* Diferenciais: numero em destaque (tempo de clinica calculado / nº de especialistas / nota Google) */
.diferencial-numero {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    color: #0095DA;
    margin-bottom: 14px;
    letter-spacing: -1px;
}

/* Depoimentos: selo de procedencia (avaliacao real do Google Maps) */
.depoimento-selo {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #007bbf;
    background: rgba(0, 149, 218, 0.1);
    border: 1px solid rgba(0, 149, 218, 0.25);
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: 18px;
}

/* Depoimentos: nota media real + link para a ficha oficial */
.depoimentos-fonte {
    text-align: center;
    margin-top: 40px;
    font-size: 1rem;
    color: #4a5568;
}
.depoimentos-fonte a {
    color: #0095DA;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 149, 218, 0.4);
}
.depoimentos-fonte a:hover { color: #007bbf; border-bottom-color: #007bbf; }

/* Acessibilidade: foco visivel nos cards clicaveis e nos links */
.profissional-card.clickable:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid #0095DA;
    outline-offset: 3px;
    border-radius: 6px;
}

/* ============================================================================
   LGPD — AVISO DE COOKIES, PREFERENCIAS E POLITICA DE PRIVACIDADE
   Adicionado em 2026-09-25. Nao compartilhar com sites/odontologia-sudoeste.
   ============================================================================ */

/* --- Banner de cookies (fixo, acima de tudo) -------------------------------- */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: #ffffff;
    border-top: 3px solid #0095DA;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
    padding: 22px 0;
    max-height: 90vh;
    overflow-y: auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}
.cookie-banner-conteudo { flex: 1 1 460px; min-width: 280px; }
.cookie-banner-titulo {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 8px;
}
.cookie-banner-texto {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}
.cookie-banner-texto a { color: #007bbf; font-weight: 600; }

/* Preferencias por categoria */
.cookie-prefs {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cookie-prefs[hidden] { display: none; }
.cookie-pref {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #4a5568;
    cursor: pointer;
}
.cookie-pref input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: #0095DA; }
.cookie-pref input:disabled { cursor: not-allowed; }
.cookie-pref strong { color: #2d3748; }

/* Acoes */
.cookie-banner-acoes {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.cookie-btn {
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.cookie-btn[hidden] { display: none; }
.cookie-btn-primary {
    background: linear-gradient(135deg, #0095DA 0%, #007bbf 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 149, 218, 0.3);
}
.cookie-btn-primary:hover { background: linear-gradient(135deg, #007bbf 0%, #006399 100%); }
.cookie-btn-outline {
    background: #fff;
    color: #007bbf;
    border: 2px solid #007bbf;
}
.cookie-btn-outline:hover { background: #f0f8fd; }
.cookie-btn-ghost {
    background: transparent;
    color: #4a5568;
    border: none;
    text-decoration: underline;
    padding: 12px 8px;
}
.cookie-btn-ghost:hover { color: #007bbf; }

/* --- Aviso no lugar do mapa (sem consentimento de terceiros) ---------------- */
/* ARMADILHA: '.contato-mapa iframe' (acima) declara 'display: block' e tem
   especificidade MAIOR que o '[hidden]' do navegador — sem a regra abaixo, o
   iframe fica VISIVEL (vazio) mesmo com o atributo hidden. Esta e mais especifica. */
.contato-mapa iframe[hidden] { display: none; }

.maps-aviso {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    background: #f8f9fa;
    border: 1px dashed #cbd5e0;
    border-radius: 16px;
    padding: 34px 22px;
    min-height: 300px;
}
.maps-aviso[hidden] { display: none; }
.maps-aviso-titulo { font-size: 1.1rem; font-weight: 700; color: #2d3748; margin: 0; }
.maps-aviso-texto { font-size: 0.92rem; color: #4a5568; line-height: 1.6; margin: 0; max-width: 380px; }
.maps-aviso-alt { font-size: 0.88rem; color: #718096; margin: 0; }
.maps-aviso-alt a { color: #007bbf; font-weight: 600; }

/* --- Link de privacidade no rodape ----------------------------------------- */
.footer-policy-link {
    color: #cbd5e0;
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(203, 213, 224, 0.4);
}
.footer-policy-link:hover { color: #fff; border-bottom-color: #fff; }
.footer-policy-btn {
    background: none;
    border: none;
    border-bottom: 1px solid rgba(203, 213, 224, 0.4);
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}
.footer-policy-btn:hover { color: #fff; border-bottom-color: #fff; }
#footer-privacidade { margin-bottom: 10px; }
#footer-privacidade span { margin: 0 8px; color: #718096; }

/* ============================================================================
   Pagina da Politica de Privacidade (privacidade.html)
   ============================================================================ */
.policy-header {
    background: linear-gradient(135deg, #0095DA 0%, #007bbf 100%);
    color: #fff;
    padding: 44px 0;
}
.policy-header a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; opacity: 0.9; }
.policy-header a:hover { opacity: 1; text-decoration: underline; }
.policy-header h1 { font-size: 2rem; font-weight: 700; margin: 14px 0 6px; line-height: 1.25; }
.policy-header p { margin: 0; opacity: 0.92; font-size: 0.98rem; }

.policy-main { padding: 46px 0 70px; background: #fff; }
.policy-main .container { max-width: 820px; }
.policy-main h2 {
    font-size: 1.35rem;
    color: #007bbf;
    font-weight: 700;
    margin: 38px 0 14px;
    line-height: 1.3;
}
.policy-main h2:first-of-type { margin-top: 0; }
.policy-main h3 { font-size: 1.08rem; color: #2d3748; font-weight: 700; margin: 24px 0 10px; }
.policy-main p, .policy-main li { font-size: 1rem; line-height: 1.75; color: #4a5568; }
.policy-main p { margin: 0 0 14px; }
.policy-main ul { margin: 0 0 16px; padding-left: 22px; }
.policy-main li { margin-bottom: 8px; }
.policy-main a { color: #007bbf; font-weight: 600; }
.policy-main strong { color: #2d3748; }
.policy-aviso {
    background: #fff8e1;
    border-left: 4px solid #f0ad4e;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 0 26px;
}
.policy-aviso p { margin: 0; font-size: 0.95rem; }
.policy-tabela { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 0.92rem; }
.policy-tabela th, .policy-tabela td {
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    color: #4a5568;
    line-height: 1.5;
}
.policy-tabela th { background: #f8f9fa; color: #2d3748; font-weight: 700; }
.policy-tabela td strong { color: #2d3748; }
.policy-rodape {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.92rem;
    color: #718096;
}
.policy-voltar { display: inline-block; margin-top: 22px; font-weight: 600; }

@media (max-width: 768px) {
    .cookie-banner { padding: 18px 0; }
    .cookie-banner-acoes { width: 100%; }
    .cookie-btn { flex: 1 1 auto; text-align: center; padding: 12px 16px; }
    .policy-header h1 { font-size: 1.55rem; }
    .policy-tabela { font-size: 0.86rem; }
    .policy-tabela th, .policy-tabela td { padding: 8px; }
}
