/* Variáveis de Cores Baseadas na Identidade da Marca */
:root {
    --amarelo-forte: #FFD500;
    --azul-escuro: #003366;
    --vermelho-destaque: #CC0000;
    --branco: #FFFFFF;
    --cinza-fundo: #F4F6F9;
    --verde-aberto: #28a745;
    --vermelho-fechado: #dc3545;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cinza-fundo);
    color: var(--azul-escuro);
    padding-top: 30px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Barra de Status de Funcionamento */
.status-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1001;
    background-color: #666;
    transition: background-color 0.3s;
}

.status-bar.aberto {
    background-color: var(--verde-aberto);
}

.status-bar.fechado {
    background-color: var(--vermelho-fechado);
}

/* Cabeçalho */
.header {
    background-color: var(--branco);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 30px;
    z-index: 1000;
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo e Nome ao lado */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-textos {
    display: flex;
    flex-direction: column;
}

.nome-farmacia {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--azul-escuro);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.slogan {
    font-size: 0.68rem;
    color: #555;
    font-weight: 600;
    margin-top: 3px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--azul-escuro);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--vermelho-destaque);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--azul-escuro);
    cursor: pointer;
}

/* Seção Hero (Apresentação) Moderna */
.hero {
    background: linear-gradient(135deg, var(--amarelo-forte) 0%, #ffea66 100%);
    padding: 90px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -10px 20px rgba(0,0,0,0.03);
}

/* Pequeno selo de destaque acima do título */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 51, 102, 0.08);
    color: var(--azul-escuro);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 2.8rem;
    color: var(--azul-escuro);
    line-height: 1.25;
    margin-bottom: 20px;
    font-weight: 800;
}

.destaque-azul {
    color: var(--branco);
    background-color: var(--azul-escuro);
    padding: 0 10px;
    border-radius: 6px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,51,102,0.15);
}

.hero h2 {
    font-size: 1.15rem;
    color: #333333;
    font-weight: 500;
    max-width: 750px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

.hero-botoes {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero .btn {
    padding: 14px 28px;
    border-radius: 35px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.hero .btn-vermelho {
    background-color: var(--vermelho-destaque);
    color: var(--branco);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.3);
}

.hero .btn-vermelho:hover {
    transform: translateY(-3px);
    background-color: #b00000;
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.45);
}

.hero .btn-contorno-branco {
    background-color: var(--branco);
    color: var(--azul-escuro);
    border: 2px solid var(--azul-escuro);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.hero .btn-contorno-branco:hover {
    background-color: var(--azul-escuro);
    color: var(--branco);
    transform: translateY(-3px);
}
/* Facilidades */
.facilidades {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 20px 0;
}

.facilidades-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.facilidade-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.facilidade-item i {
    color: var(--amarelo-forte);
    font-size: 1.5rem;
}

/* Seções Gerais */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--azul-escuro);
    margin-bottom: 20px;
    padding-top: 60px;
}

.subtitle-center {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
    font-size: 1.1rem;
}

/* Serviços Farmacêuticos */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.servico-card {
    background: var(--branco);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--vermelho-destaque);
    transition: transform 0.3s;
}

.servico-card:hover {
    transform: translateY(-5px);
}

.servico-card i {
    font-size: 2.5rem;
    color: var(--azul-escuro);
    margin-bottom: 15px;
}

.servico-card h4 {
    color: var(--azul-escuro);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Produtos / Segmentos */
.segmentos {
    padding-bottom: 60px;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background-color: var(--branco);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-bottom: 5px solid var(--amarelo-forte);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3.5rem;
    color: var(--azul-escuro);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    color: var(--vermelho-destaque);
    margin-bottom: 15px;
}

/* Diferencial */
.diferencial {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 80px 0;
}

.diferencial-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.diferencial-texto h2 {
    font-size: 2.2rem;
    color: var(--amarelo-forte);
    margin-bottom: 20px;
}

.diferencial-texto p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.diferencial-imagem {
    font-size: 10rem;
    color: var(--vermelho-destaque);
    opacity: 0.9;
}

/* Depoimentos */
.depoimentos {
    background-color: var(--branco);
    padding-bottom: 60px;
}

.depoimentos-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.depoimento-card {
    background: var(--cinza-fundo);
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.estrelas {
    color: #FFC107;
    margin-bottom: 15px;
}

.depoimento-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: #444;
}

.depoimento-card strong {
    color: var(--azul-escuro);
}

/* Localização e Mapa Real */
.localizacao {
    padding-bottom: 80px;
}

.loc-container {
    display: flex;
    gap: 30px;
    background: var(--branco);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    align-items: stretch;
}

.loc-info {
    flex: 1;
}

.loc-info h3 {
    color: var(--azul-escuro);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.loc-info p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.mt-20 {
    margin-top: 30px !important;
}

/* Botões GPS */
.gps-botoes {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-gps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.btn-gps:hover {
    opacity: 0.8;
}

.google-maps {
    background-color: #4285F4;
}

.waze {
    background-color: #33CCFF;
    color: #000;
}

.loc-map {
    flex: 1;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loc-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Rodapé Centralizado */
.footer {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-social, 
.footer-contato, 
.footer-logo {
    text-align: center;
    width: 100%;
}

.logo-footer {
    height: 45px;
    width: auto;
    margin-bottom: 15px;
}

.responsavel-tecnico {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.4;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 10px;
    display: inline-block;
}

.footer h3 {
    color: var(--amarelo-forte);
    margin-bottom: 15px;
}

.social-links-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.social-link {
    color: var(--branco);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--amarelo-forte);
}

.footer-contato p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Estilo para a faixa de patrocínio no rodapé */
.footer-patrocinio {
    background-color: rgba(255, 213, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.footer-patrocinio p {
    color: var(--amarelo-forte);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #ccc;
}


/* ==========================================
   BOTÃO FLUTUANTE DO WHATSAPP (MODERNIZADO)
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    width: 48px; 
    height: 48px; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px; 
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    width: auto;
    border-radius: 25px;
    padding: 0 15px;
}

.whatsapp-tooltip {
    max-width: 0;
    white-space: nowrap;
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0;
    transition: max-width 0.3s ease, margin 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    max-width: 180px;
    margin-left: 8px;
}

/* Animação de pulso proporcional */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* ==========================================
   RESPONSIVIDADE (CELULARES E TELAS MENORES)
   ========================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--branco);
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
        align-items: center;
    }
    
    .menu-btn {
        display: block;
    }

    .hero h1 { font-size: 2rem; }
    .hero h2 { font-size: 1rem; }
    
    .hero-botoes {
        flex-direction: column;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .diferencial-content {
        flex-direction: column;
        text-align: center;
    }
    
    .loc-container {
        flex-direction: column;
    }

    .gps-botoes {
        flex-direction: column;
    }

    .btn-gps {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    /* Reduz o botão do WhatsApp especificamente no celular */
    .whatsapp-float {
        width: 42px !important;
        height: 42px !important;
        font-size: 20px !important;
        bottom: 20px;
        right: 20px;
    }
}