/* ============================================
   Correção Mobile - Menu sobre Slides
   Escola Quintal da Vovó - 2026
   ============================================ */

/* Correção principal para header não sobrepor slides no mobile */
@media (max-width: 991px) {

    /* Header Three - Mudar de absolute para relative no mobile */
    .header__three {
        position: relative !important;
        top: 0 !important;
        z-index: 100;
    }

    /* OPÇÃO 2: Ocultar Topbar no Mobile */
    .topbar__three {
        display: none !important;
    }

    /* Mostrar informações de contato no menu mobile */
    .mobile-contact-info {
        display: block !important;
    }

    /* Estilizar quando dentro do meanmenu */
    .mean-container .mean-nav .mobile-contact-info {
        background: #f8f9fa !important;
        border-bottom: 2px solid #e9ecef !important;
    }

    .mean-container .mean-nav .mobile-contact-info>a {
        background: #f8f9fa !important;
        color: #00356B !important;
        font-weight: 600;
        padding: 12px 20px !important;
    }

    .mean-container .mean-nav .mobile-contact-info>a:hover {
        background: #e9ecef !important;
    }

    /* Submenu de contato */
    .mean-container .mean-nav .mobile-contact-submenu {
        background: #f8f9fa !important;
        padding: 10px 20px 15px 20px !important;
        margin: 0 !important;
        border-top: 1px solid #e9ecef !important;
    }

    .mean-container .mean-nav .mobile-contact-submenu li {
        list-style: none !important;
        padding: 8px 0 !important;
        margin: 0 !important;
    }

    .mobile-contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #333;
        font-size: 14px;
    }

    .mobile-contact-item i {
        color: #00356B;
        font-size: 16px;
        width: 20px;
        text-align: center;
        flex-shrink: 0;
    }

    .mobile-contact-item a {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #333;
        text-decoration: none;
        transition: color 0.3s;
        width: 100%;
    }

    .mobile-contact-item a:hover {
        color: #00356B;
        background: transparent !important;
    }

    .mobile-contact-item span {
        flex: 1;
        word-break: break-word;
    }

    /* Header Area - Garantir que não sobreponha */
    .header__area {
        position: relative;
        z-index: 102;
        background: #fff;
    }

    /* Banner/Slides - Garantir posicionamento correto */
    .banner__two {
        position: relative;
        z-index: 1;
        margin-top: 0;
        padding-top: 0;
    }

    /* Conteúdo do banner com z-index adequado */
    .banner__two-image {
        position: relative;
        z-index: 1;
    }

    .banner__two-content {
        position: relative;
        z-index: 10;
        padding-top: 20px;
    }

    /* Menu sticky quando ativo (após scroll) */
    .header__sticky.header__sticky-sticky-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        right: 0;
        z-index: 999;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        width: 100%;
    }

    /* Setas do banner */
    .banner__two-arrow {
        z-index: 5;
    }

    .banner__two-arrow-prev,
    .banner__two-arrow-next {
        z-index: 6;
    }

    /* Elementos fixos */
    .whatsapp {
        z-index: 998;
        bottom: 20px;
        right: 20px;
    }

    /* Ocultar switch__tab fixo no mobile */
    .switch__tab {
        display: none !important;
    }

    /* Mostrar switch de tema no menu mobile */
    .mobile-theme-switch {
        display: block !important;
    }

    /* Estilizar switch de tema no menu mobile */
    .mean-container .mean-nav .mobile-theme-switch {
        background: #f8f9fa !important;
        border-top: 2px solid #e9ecef !important;
    }

    .mean-container .mean-nav .mobile-theme-switch>a {
        background: #f8f9fa !important;
        color: #00356B !important;
        font-weight: 600;
        padding: 12px 20px !important;
    }

    .mean-container .mean-nav .mobile-theme-switch>a:hover {
        background: #e9ecef !important;
    }

    /* Submenu do switch de tema */
    .mean-container .mean-nav .mobile-theme-switch-submenu {
        background: #f8f9fa !important;
        padding: 15px 20px !important;
        margin: 0 !important;
        border-top: 1px solid #e9ecef !important;
    }

    .mean-container .mean-nav .mobile-theme-switch-submenu li {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Estilizar o switch dentro do menu */
    .mean-container .mean-nav .mobile-switch {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0;
        margin: 0;
        background: transparent !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        width: auto !important;
        height: auto !important;
        transform: none !important;
    }

    .mean-container .mean-nav .mobile-switch .switch__tab-btn {
        font-size: 14px;
        color: #333;
        padding: 5px 10px;
        cursor: pointer;
    }

    .mean-container .mean-nav .mobile-switch .switch__tab-btn.active {
        color: #00356B;
        font-weight: 600;
    }

    .mean-container .mean-nav .mobile-switch .mode__switch {
        width: 60px;
        height: 30px;
        background: #ccc;
        border-radius: 15px;
        position: relative;
        cursor: pointer;
        transition: background 0.3s;
        margin: 0 10px;
        display: inline-block;
    }

    .mean-container .mean-nav .mobile-switch .mode__switch::before {
        content: "";
        position: absolute;
        left: 3px;
        top: 3px;
        width: 24px;
        height: 24px;
        background: #fff;
        border-radius: 50%;
        transition: left 0.3s;
    }

    body.dark-mode .mean-container .mean-nav .mobile-switch .mode__switch::before {
        left: calc(100% - 27px);
    }

    .mean-container .mean-nav .mobile-switch .mode__switch span {
        position: relative;
        z-index: 1;
        width: 60px;
        height: 30px;
        display: block;
    }

    body.dark-mode .mean-container .mean-nav .mobile-switch .mode__switch {
        background: #00356B;
    }

    /* Atualizar estado do switch quando o tema muda */
    body.dark-mode .mean-container .mean-nav .mobile-switch .light-mode-title {
        color: #666;
        font-weight: normal;
    }

    body.dark-mode .mean-container .mean-nav .mobile-switch .dark-mode-title {
        color: #00356B;
        font-weight: 600;
    }

    body:not(.dark-mode) .mean-container .mean-nav .mobile-switch .light-mode-title {
        color: #00356B;
        font-weight: 600;
    }

    body:not(.dark-mode) .mean-container .mean-nav .mobile-switch .dark-mode-title {
        color: #666;
        font-weight: normal;
    }

    /* Customização do Hamburger Menu - Ícone Maior */
    .mean-container a.meanmenu-reveal {
        width: 35px !important;
        height: 30px !important;
        padding: 5px !important;
        top: 28px !important;
        /* Centralizado verticalmente */
        color: #00356B !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
    }

    .mean-container a.meanmenu-reveal span {
        background: #6b0000 !important;
        height: 4px !important;
        margin-top: 5px !important;
        margin-bottom: 0 !important;
        border-radius: 3px;
        width: 100% !important;
    }

    /* Ajuste para remover margem do primeiro span se necessário, dependendo da estrutura exata do meanmenu JS */
    .mean-container a.meanmenu-reveal span:first-child {
        margin-top: 0 !important;
    }
}

/* Desktop - Esconder switch de tema do menu */
@media (min-width: 992px) {
    .mobile-theme-switch {
        display: none !important;
    }
}

/* Desktop - Esconder informações de contato do menu */
@media (min-width: 992px) {
    .mobile-contact-info {
        display: none !important;
    }
}

/* Correção específica para tablets e mobile médio */
@media (max-width: 768px) {

    /* Header mais compacto */
    .header__area {
        padding: 10px 15px;
    }

    /* Informações de contato no menu */
    .mobile-contact-item {
        font-size: 13px;
        padding: 6px 0;
    }

    .mobile-contact-item i {
        font-size: 15px;
    }

    /* Logo menor no mobile */
    .header__area-menubar-left-logo a img {
        max-width: 120px;
        max-height: 50px;
    }

    /* Banner com altura mínima adequada */
    .banner__two {
        min-height: 300px;
    }

    .banner__two-content {
        padding-top: 30px;
    }

    .banner__two-content h1 {
        font-size: 1.8rem !important;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    /* Menu mobile - garantir que não sobreponha */
    .mean-container .mean-nav {
        margin-top: 60px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    /* Botão do menu mobile */
    .mean-container a.meanmenu-reveal {
        top: 20px;
        right: 15px;
    }
}

/* Correção para telas muito pequenas */
@media (max-width: 480px) {
    .header__area {
        padding: 8px 10px;
    }

    .mobile-contact-info {
        padding: 12px;
    }

    .mobile-contact-item {
        font-size: 12px;
        padding: 5px 0;
    }

    .mobile-contact-item i {
        font-size: 14px;
        width: 18px;
    }

    .header__area-menubar-left-logo a img {
        max-width: 100px;
        max-height: 40px;
    }

    .banner__two {
        min-height: 250px;
    }

    .banner__two-content {
        padding-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .banner__two-content h1 {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }

    .banner__two-content-button {
        margin-top: 15px;
    }

    .banner__two-content-button .btn-five {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Garantir que os links internos funcionem corretamente */
.mean-container .mean-nav .mobile-contact-submenu .mobile-contact-item a {
    display: flex !important;
    color: #333 !important;
    text-decoration: none;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.mean-container .mean-nav .mobile-contact-submenu .mobile-contact-item a:hover {
    color: #00356B !important;
    background: transparent !important;
}

/* Estilizar item sem link (horário) */
.mean-container .mean-nav .mobile-contact-submenu .mobile-contact-item.mobile-contact-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.mean-container .mean-nav .mobile-contact-submenu .mobile-contact-item.mobile-contact-text i {
    color: #00356B;
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.mean-container .mean-nav .mobile-contact-submenu .mobile-contact-item.mobile-contact-text span {
    flex: 1;
    word-break: break-word;
}

/* Correção adicional para garantir que o conteúdo não fique atrás */
@media (max-width: 991px) {
    body {
        padding-top: 0;
    }

    /* Garantir que o banner comece após o header */
    .header__three+.banner__two {
        margin-top: 0;
    }
}
/* ============================================
   Conversão — 4 Pilares de Marketing
   Escola Quintal da Vovó — 2026
   ============================================ */

/* --- Hero: CTA secundário --- */
.btn-hero-secondary {
    display: inline-block;
    margin-top: 12px;
    color: #fff;
    font-size: 14px;
    text-decoration: underline;
    opacity: 0.9;
    transition: opacity .2s;
}
.btn-hero-secondary:hover { opacity: 1; color: #fff; }

/* --- Bloco de credenciais quantitativas --- */
.credenciais__area {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #f0f0f0;
}
.credencial-item {
    text-align: center;
    padding: 20px 10px;
}
.credencial-numero {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary, #4CAF50);
    line-height: 1.1;
}
.credencial-label {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
    line-height: 1.4;
}
.credencial-label a { color: inherit; text-decoration: underline; }

/* --- Formulário de agendamento --- */
.agendamento__area {
    background: #f9f5ef;
    padding: 60px 0;
}
.agendamento__box {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.agendamento__titulo h2 {
    font-size: 26px;
    margin-bottom: 8px;
}
.agendamento__titulo p {
    font-size: 15px;
    color: #666;
    margin-bottom: 28px;
}

/* Layout inline: inputs + botão em uma linha */
.agendamento-form-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}
.agendamento-form-row .agendamento-input {
    flex: 1;
    min-width: 0;
    margin: 0;
}
.agendamento-form-row .btn-agendamento {
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0;
}
.agendamento-hint {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Mobile: empilha verticalmente */
@media (max-width: 640px) {
    .agendamento-form-row {
        flex-direction: column;
        gap: 12px;
    }
    .agendamento-form-row .btn-agendamento {
        width: 100%;
    }
    .agendamento__box { padding: 28px 18px; }
}

.agendamento-input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 15px;
    color: #333;
    background: #fafafa;
    transition: border-color .2s;
    height: 52px;
    box-sizing: border-box;
}
.agendamento-input:focus {
    outline: none;
    border-color: var(--color-primary, #4CAF50);
    background: #fff;
}
.mb-20 { margin-bottom: 20px; }
.btn-agendamento {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary, #4CAF50);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 0 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    height: 52px;
    transition: background .2s;
}
.btn-agendamento:hover { background: #388e3c; }

/* --- Depoimentos renovados --- */
.depo-card { border-radius: 10px; }
.depo-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.depo-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-primary, #4CAF50);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.depo-meta { display: flex; flex-direction: column; gap: 2px; }
.depo-nome { font-size: 15px; color: #222; }
.depo-segmento { font-size: 12px; color: #888; }
.depo-data { font-size: 11px; color: #aaa; }

/* --- Contador de confiança --- */
.confianca__bar {
    font-size: 14px;
    color: #555;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 32px !important;
}
.confianca-item { display: inline; }
.confianca-sep { margin: 0 12px; color: #ccc; }
.confianca-item a { color: inherit; text-decoration: underline; }
.mb-50 { margin-bottom: 50px !important; }

/* --- Menu: botão Agendar Visita (desktop) --- */
.btn-menu-agendar {
    display: inline-block;
    border: 2px solid var(--color-primary, #4CAF50);
    color: var(--color-primary, #4CAF50);
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.btn-menu-agendar:hover {
    background: var(--color-primary, #4CAF50);
    color: #fff;
}

/* --- Menu mobile: botão Agendar Visita --- */
.menu-item-agendar-mobile a.btn-agendar-mobile {
    display: block;
    background: var(--color-primary, #4CAF50);
    color: #fff !important;
    text-align: center;
    padding: 14px;
    font-weight: 700;
    border-radius: 6px;
    margin: 10px 0;
}

@media (max-width: 767px) {
    .credencial-item { padding: 14px 6px; }
    .credencial-numero { font-size: 24px; }
    .agendamento__box { padding: 28px 18px; }
    .agendamento__titulo h2 { font-size: 20px; }
    .confianca__bar { font-size: 12px; }
    .confianca-sep { margin: 0 6px; }
}

/* ============================================
   Avaliações Google
   ============================================ */
.google-reviews__area { background: #f8f9fa; }

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    padding: 8px 20px;
    font-size: 15px;
    margin-top: 10px;
}
.google-badge strong { font-size: 18px; color: #333; }
.google-badge .google-stars { color: #fbbc05; font-size: 16px; letter-spacing: 1px; }
.google-badge .google-ver-link { font-size: 13px; color: #1a73e8; text-decoration: none; margin-left: 6px; }
.google-badge .google-ver-link:hover { text-decoration: underline; }

.google-review-card {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    transition: box-shadow .2s;
}
.google-review-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }

.google-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.google-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.google-review-meta { display: flex; flex-direction: column; gap: 2px; }
.google-review-meta strong { font-size: 14px; color: #202124; }
.google-review-stars { color: #fbbc05; font-size: 14px; letter-spacing: 1px; line-height: 1; }
.google-review-date { font-size: 12px; color: #80868b; }

.google-review-card p {
    font-size: 14px;
    color: #3c4043;
    line-height: 1.6;
    margin: 0;
}

.google-review-cta p { color: #555; margin-bottom: 14px; font-size: 15px; }
.btn-google-review {
    display: inline-block;
    border: 2px solid #1a73e8;
    color: #1a73e8;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.btn-google-review:hover { background: #1a73e8; color: #fff; }

@media (max-width: 767px) {
    .google-badge { flex-wrap: wrap; justify-content: center; gap: 6px; }
    .google-badge .google-ver-link { margin-left: 0; display: block; width: 100%; text-align: center; }
}

/* ============================================
   Isca Digital — Guia Gratuito
   ============================================ */
.isca__area {
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
    padding: 70px 0;
}
.isca__area h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1b5e20;
    margin: 10px 0 16px;
    line-height: 1.3;
}
.isca__subtexto {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 28px;
}
.isca__privacidade {
    font-size: 12px;
    color: #aaa;
    margin-top: 12px;
}
.isca__form .btn-agendamento {
    width: 100%;
    justify-content: center;
}

/* Mockup capa do guia */
.isca__mockup { perspective: 800px; }
.isca__cover {
    background: linear-gradient(135deg, #2e7d32 0%, #66bb6a 100%);
    border-radius: 12px;
    padding: 40px 32px;
    color: #fff;
    transform: rotateY(-8deg) rotateX(3deg);
    box-shadow: 8px 12px 32px rgba(0,0,0,.20);
    max-width: 300px;
    margin: 0 auto;
}
.isca__cover-tag {
    display: inline-block;
    background: rgba(255,255,255,.2);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.isca__cover h3 {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}
.isca__cover p {
    font-size: 12px;
    opacity: .75;
}

@media (max-width: 991px) {
    .isca__cover { transform: none; }
    .isca__area h2 { font-size: 22px; }
}

/* ============================================
   Sticky WhatsApp Bar — FIX-10
   ============================================ */
.sticky-whatsapp-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1b5e20;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 24px;
    box-shadow: 0 -4px 16px rgba(0,0,0,.18);
    animation: slideUp .4s ease;
}
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
}
.sticky-whatsapp-texto {
    font-size: 15px;
    font-weight: 600;
}
.sticky-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
}
.sticky-whatsapp-btn i { font-size: 18px; }
.sticky-whatsapp-btn:hover { background: #128c7e; color: #fff; }
.sticky-whatsapp-fechar {
    background: none;
    border: none;
    color: rgba(255,255,255,.6);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    position: absolute;
    right: 16px;
    transition: color .2s;
}
.sticky-whatsapp-fechar:hover { color: #fff; }

/* Evitar que a barra cubra o conteúdo no scroll */
body { padding-bottom: 62px; }

/*
 * Desktop: mostra a sticky bar, esconde o botão flutuante
 * (a sticky bar tem texto + CTA — converte melhor)
 */
.whatsapp { display: none !important; }

/*
 * Mobile: esconde a sticky bar (ocupa espaço de tela),
 * mostra o botão flutuante compacto no canto inferior esquerdo
 */
@media (max-width: 768px) {
    .sticky-whatsapp-bar  { display: none !important; }
    body                  { padding-bottom: 0; }
    .whatsapp             { display: flex !important; }
}

/* ============================================
   Proposta Pedagógica — sobre.php / bercario.php
   ============================================ */
.proposta__area { background: #fafafa; }
.proposta__intro {
    font-size: 16px;
    color: #555;
    line-height: 1.75;
    margin-top: 16px;
}
.proposta-card {
    background: #fff;
    border: 1px solid #e8f5e9;
    border-radius: 12px;
    padding: 28px 24px;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
    border-top: 3px solid #4caf50;
}
.proposta-card:hover {
    box-shadow: 0 6px 24px rgba(76,175,80,.12);
    transform: translateY(-3px);
}
.proposta-card.destaque { border-top-color: #2e7d32; background: #f1f8e9; }
.proposta-icone { font-size: 32px; margin-bottom: 14px; }
.proposta-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 10px;
}
.proposta-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}
.proposta-quote {
    font-size: 18px;
    font-style: italic;
    color: #2e7d32;
    border: none;
    padding: 0;
    margin-top: 16px;
}
.mb-60 { margin-bottom: 60px !important; }
.mt-20 { margin-top: 20px !important; }

@media (max-width: 767px) {
    .proposta-card { margin-bottom: 0; }
    .proposta-quote { font-size: 15px; }
}
