/* ==========================================================================
   1. VARIÁVEIS DE CORES (TEMA CLARO COMO PADRÃO / ESCURO COMO SECUNDÁRIO)
   ========================================================================== */
:root {
    /* --- ☀️ TEMA CLARO PREMIUM PADRÃO (PASTEL BEGE) --- */
    /*--bg-body: url('backn.jpg') center center / cover no-repeat;*/
    --bg-body: url('claro-1.jpg') center center / cover no-repeat;
    --bg-container: rgba(241, 245, 249, 0.85);
    --border-container: rgba(15, 23, 42, 0.08);

    --text-principal: #1e293b;
    --text-secundario: #475569;
    --text-footer: #64748b;

    --bg-btn: rgba(0, 0, 0, 0.15); /* Película fumê clara nos botões */
    --text-btn: #0f172a;

    --bg-card: #f5f2eb; /* Tudo nasce no tom bege pastel fosco */
    --border-card: rgba(30, 41, 59, 0.08);
    --bg-foto-box: #e2ded5; /* Quadrado interno bege em relevo */

    --shadow: rgba(15, 23, 42, 0.04);
    --video-border: rgba(0, 0, 0, 0.06);
    --video-bg: #cbd5e1;

    /* Mostruário Tema Claro */
    --bg-galeria-item: #f5f2eb;
    --border-galeria-item: rgba(30, 41, 59, 0.08);
    --text-galeria-item: #475569;

    /* Botão de Tema (Nasce claro pastel) */
    /*--btn-toggle-bg: #cbd5e1;
    --btn-toggle-border: #94a3b8;*/

    /* 🟢 COR RIGIDA PARA O BOTÃO NO TEMA CLARO (PADRÃO): */
    /* Escurecido para um cinza pastel médio, dando ótima leitura sobre o fundo areia */
    --btn-toggle-bg: #475569;
    --btn-toggle-border: #64748b;
}

#theme-toggle:checked ~ .conteudo-principal {
    /* --- 🌙 TEMA ESCURO SECUNDÁRIO (DARK MODE ATIVADO) --- */
    /*--bg-body: url('backn2.jpg') center center / cover no-repeat;*/
    --bg-body: url('escuro-1.jpg') center center / cover no-repeat;
    --bg-container: rgba(30, 41, 59, 0.75);
    --border-container: rgba(255, 255, 255, 0.08);

    --text-principal: #e2e8f0;
    --text-secundario: #94a3b8;
    --text-footer: #64748b;

    --bg-btn: rgba(0, 0, 0, 0.25); /* Película fumê escura nos botões */
    --text-btn: #f1f5f9;

    --bg-card: rgba(15, 23, 42, 0.5); /* Vidro translúcido escuro nos cards */
    --border-card: rgba(255, 255, 255, 0.08);
    --bg-foto-box: rgba(15, 23, 42, 0.4);

    --shadow: rgba(0, 0, 0, 0.3);
    --video-border: rgba(255, 255, 255, 0.08);
    --video-bg: #0f172a;

    /* Mostruário Tema Escuro */
    --bg-galeria-item: rgba(15, 23, 42, 0.5);
    --border-galeria-item: rgba(255, 255, 255, 0.08);
    --text-galeria-item: #94a3b8;

    /* Botão de Tema (Fica cinza-médio iluminado no escuro) */
    /*--btn-toggle-bg: #475569;
    --btn-toggle-border: #64748b;*/

    --btn-toggle-bg: #cbd5e1;
    --btn-toggle-border: #94a3b8;
}



/* ==========================================================================
   2. CONFIGURAÇÕES GERAIS E RESET DE ESTILOS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #1e293b;
    min-height: 100vh;
}

/* ==========================================================================
   3. CONTAINER CENTRAL MOBILE EM TELA CHEIA
   ========================================================================== */
.conteudo-principal {
    background: var(--bg-body);
    background-attachment: fixed;
    color: var(--text-principal);
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 40px 24px;
    text-align: center;
    position: relative;
    transition: background 0.3s ease;
}

/* ==========================================================================
   4. INTERFACE DO BOTÃO DE TROCA DE TEMA
   ========================================================================== */
#theme-toggle {
    display: none;
}

.theme-label {
    position: absolute;
    top: 35px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--btn-toggle-bg);
    border: 1px solid var(--btn-toggle-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s ease;
    z-index: 10;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-user-select: none;
    user-select: none;
}

.theme-label:hover {
    transform: scale(1.05);
}

.theme-label::before {
    content: "🌙";
}

#theme-toggle:checked ~ .theme-label::before {
    content: "☀️";
}

/* ==========================================================================
   5. TOPO: LOGOTIPO PERFIL E IDENTIFICAÇÃO DO CLIENTE
   ========================================================================== */
.logo-placeholder {
    width: 220px;
    height: 220px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 85px;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

h1 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: var(--text-principal);
}

p {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-principal);
    margin-bottom: 28px;
    line-height: 1.4;
    background-color: ;
}

/* ==========================================================================
   6. BOTÕES DO MENU PRINCIPAL (LINKS / REDES SOCIAIS)
   ========================================================================== */
.links-area {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.btn-link {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    padding: 16px 50px;
    background: var(--bg-btn);
    color: var(--text-btn);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.btn-link .icon-social {
    position: absolute;
    left: 20px;
    font-size: 24px !important;
}

.btn-link .seta-direita {
    position: absolute;
    right: 20px;
    font-size: 16px !important;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.btn-conteudo-esquerda {
    display: contents;
}

.btn-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px var(--shadow);
}

.btn-link:hover .seta-direita {
    transform: translateX(3px);
    opacity: 0.9;
}

/* ==========================================================================
   7. DESTAQUES VISUAIS E ANIMAÇÃO PULSAR (WHATSAPP)
   ========================================================================== */
.btn-highlight {
    background: #22c55e;
    color: #ffffff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* ==========================================================================
   8. TÍTULOS DE SEÇÕES INTERNAS
   ========================================================================== */
.secao-titulo {
    width: 100%;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--texto-secundario);
    margin-bottom: 12px;
    font-weight: 700;
    margin-top: 35px;
    text-align: left;
}

/* ==========================================================================
   9. CARROSSEL DE CARDS (SLIDER HORIZONTAL COM TRAVA RIGIDA)
   ========================================================================== */
/*.slider-container {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 10px 0;
    width: 100%;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.slider-container::-webkit-scrollbar {
    display: none;
}*/

.slider-container {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    width: auto;

    /* 🟢 A REGULAGEM ESTÁ AQUI: Expande o carrossel até o limite do celular */
    margin-left: -24px;   /* Puxa o contêiner para colar na quina esquerda da tela */
    margin-right: -24px;  /* Puxa o contêiner para colar na quina direita da tela */
    padding-left: 24px;   /* Garante que o primeiro card comece alinhado com o texto */
    padding-right: 24px;  /* Garante o respiro correto quando chegar no último card */

    /* Espaçamento vertical para a sombra e efeitos de hover respirarem */
    padding-top: 10px;
    padding-bottom: 10px;

    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.slider-container::-webkit-scrollbar {
    display: none;
}


.card-item {
    flex: 0 0 85%;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    scroll-snap-align: center;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    scroll-snap-stop: always !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.card-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-principal) !important;
}

/* ==========================================================================
   10. CAIXA DA FOTO INTERNA DOS CARDS (COM EMOJI GIGANTE 120PX)
   ========================================================================== */
/*.card-foto-box {
    width: 100%;
    height: 210px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 120px;
    margin-bottom: 14px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
    background: rgba(15, 23, 42, 0.4) !important;
    border: 1px solid var(--border-card) !important;
}*/

/* CAIXA DA FOTO INTERNA DOS CARDS */
.card-foto-box {
    width: 100%;
    height: 210px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 120px;
    margin-bottom: 14px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.11));

    /* 🟢 NASCE BEGE POR PADRÃO (TEMA CLARO) */
    background: #e2ded5 !important;
    border: 1px solid rgba(30, 41, 59, 0.06) !important;
}


.card-desc {
    font-size: 18px !important;
    color: var(--text-principal) !important;
    line-height: 1.4;
    margin-bottom: 20px;
    text-align: center;
}

/* ==========================================================================
   11. BOTÃO INTERNO DO CARD (TRAVADO NO RODAPÉ VIA MARGIN-TOP AUTO)
   ========================================================================== */
.btn-link-card {
    display: block;
    padding: 14px;
    background: var(--bg-btn);
    border: 2px solid var(--border-card);
    color: var(--text-btn);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    margin-top: auto;
}

.btn-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px var(--shadow);
}

/* Cores específicas de destaques para os ícones internos dos cards */
.card-item:nth-child(1) .card-foto-box i {
    color: #3b82f6 !important;
}

.card-item:nth-child(2) .card-foto-box i {
    color: #22c55e !important;
}

.card-item:nth-child(3) .card-foto-box i {
    color: #ef4444 !important;
}

/* ==========================================================================
   12. MOSTRUÁRIO DE PRODUTOS / MINI CATÁLOGO (GRID DE 2 COLUNAS)
   ========================================================================== */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    margin-bottom: 10px;
}

.galeria-item {
    background: var(--bg-galeria-item);
    border: 1px solid var(--border-galeria-item);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
    transition: all 0.2s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.galeria-item:hover {
    transform: translateY(-2px);
}

/*.foto-box {
    width: 100%;
    height: 210px;
    background: linear-gradient(135deg, #475569, #334155);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 110px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
    transition: transform 0.2s ease;
}*/

/* CAIXA DE FOTO DO MOSTRUÁRIO INFERIOR */
.foto-box {
    width: 100%;
    height: 210px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 110px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.11));
    transition: transform 0.2s ease;

    /* 🟢 NASCE BEGE POR PADRÃO (TEMA CLARO) */
    background: #e2ded5 !important;
    border-bottom: 1px solid rgba(30, 41, 59, 0.06);
}


.galeria-item:hover .foto-box {
    font-size: 110px;
}

.galeria-item span {
    padding: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-galeria-item);
    text-align: center;
}

/* ==========================================================================
   13. ÁREA DE MÍDIA (PLAYER DE VÍDEO INTEGRADO)
   ========================================================================== */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background-color: var(--video-bg);
    border: 1px solid var(--video-border);
    transition: all 0.3s ease;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   14. SEÇÃO DE AVALIAÇÕES OFICIAIS DO GOOGLE
   ========================================================================== */
.card-google {
    padding: 18px !important;
    text-align: left !important;
}

.google-topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
}

.google-perfil {
    display: flex;
    align-items: center;
    gap: 10px;
}

.google-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    border: 1px solid var(--border-card);
}

.google-nome-data h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-principal);
    line-height: 1.2;
}

.google-nome-data span {
    font-size: 14px;
    color: var(--text-secundario);
}

.google-selo-icon {
    font-size: 18px !important;
    color: #4285f4 !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.google-estrelas {
    font-size: 13px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.card-google .card-desc {
    text-align: left !important;
    margin-bottom: 16px;
}

/* ==========================================================================
   15. TABELA DE HORÁRIOS DE ATENDIMENTO TRADICIONAL
   ========================================================================== */
.horarios-container {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.horario-linha, .horario-linhafechado {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
}

.horario-status {
    color: #60a5fa;
}

.status-fechado {
    color: #ef4444;
}

/* ==========================================================================
   16. BOTAO DE COMPARTILHAMENTO VIRAL (WHATSAPP)
   ========================================================================== */
.btn-share {
    background: #22c55e !important;
    border: 1px solid var(--border-card) !important;
    color: #fff !important;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 18px;
}

.btn-share:hover {
    background: var(--bg-btn) !important;
}

/* ==========================================================================
   17. RODAPÉ DE CRÉDITOS DA PÁGINA (FOOTER)
   ========================================================================== */
.footer {
    margin-top: 40px;
    font-size: 20px;
    font-weight: 600;
    color: var(--texto-secundario);
}

/* Garante o contraste dos textos internos quando o Tema Claro estiver ativo */
#theme-toggle:checked ~ .conteudo-principal .card-item h3 {
    /*color: #0f172a !important; /* Força o título a ficar escuro e legível */
    color: whitesmoke !important; /* Força o título a ficar escuro e legível */
}

/* FORÇA O BOTÃO DE DESTAQUE DO CARD A FICAR VERDE E COM TEXTO BRANCO FIXO */
.card-item .btn-highlight {
    background: #22c55e !important;   /* Verde oficial do WhatsApp */
    color: #ffffff !important;        /* Texto branco fixo para leitura perfeita */
    border: none !important;           /* Remove bordas que possam poluir no tema claro */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Sombra leve no texto para dar acabamento */
}

/* ==========================================================================
   INVERSÃO DAS FOTOS E MOSTRUÁRIO PARA O MODO ESCURO (QUANDO CLICADO)
   ========================================================================== */

/* 1. Força o fundo escuro nos quadrados das fotos dos cards de cima */
#theme-toggle:checked ~ .conteudo-principal .card-foto-box {
    background: rgba(15, 23, 42, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
}

/* 2. Força o fundo escuro nos quadrados das fotos do mostruário de baixo */
#theme-toggle:checked ~ .conteudo-principal .foto-box {
    background: rgba(15, 23, 42, 0.4) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
}


/* ==========================================================================
   FORÇA O CONTRASTE DO BOTÃO DE TEMA (CORREÇÃO DE ESTRUTURA)
   ========================================================================== */

/* Quando o botão NÃO estiver marcado (Tema Claro Ativo) */
.theme-label {
    background: #475569 !important;   /* Cinza escuro para contrastar de dia */
    border: 1px solid #64748b !important;
}

/* Quando o botão ESTIVER marcado (Tema Escuro Ativo) */
#theme-toggle:checked ~ .theme-label {
    background: #cbd5e1 !important;   /* Muda para cinza claro para contrastar de noite */
    border: 1px solid #94a3b8 !important;
}

