/* ==========================================
   VISUON - Site Estabelecimento Moderno
   ========================================== */

:root {
    --cor-primaria: #228896;
    --cor-secundaria: #099FB0;
    --cor-texto: #2d3748;
    --cor-cinza: #718096;
    --cor-fundo: #f8f9fa;
    --sombra: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --sombra-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --raio: 12px;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.hero-content {
    padding: 2rem;
}

.hero-logo {
    max-width: 200px;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-hero {
    background: white;
    color: var(--cor-primaria);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: var(--cor-primaria);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    color: white;
    font-size: 1.5rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ==========================================
   Sections Gerais
   ========================================== */
.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cor-texto);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--cor-cinza);
}

/* ==========================================
   Serviços
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    border-radius: var(--raio);
    box-shadow: var(--sombra);
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-hover);
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.service-content {
    flex: 1;
}

.service-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 0.5rem;
}

.service-meta {
    margin-bottom: 0.5rem;
}

.service-duration {
    font-size: 0.875rem;
    color: var(--cor-cinza);
}

.service-description {
    font-size: 0.9rem;
    color: var(--cor-cinza);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cor-primaria);
}

.btn-service {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-service:hover {
    color: white;
    opacity: 0.9;
}

/* ==========================================
   Equipe
   ========================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid white;
    box-shadow: var(--sombra);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.team-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cor-texto);
}

/* ==========================================
   Agendamento
   ========================================== */
.booking-container {
    max-width: 800px;
    margin: 0 auto;
}

.booking-offline {
    background: white;
    border-radius: var(--raio);
    padding: 3rem 2rem;
    box-shadow: var(--sombra);
}

.offline-icon {
    font-size: 4rem;
    color: #25d366;
    margin-bottom: 1rem;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
}

.btn-whatsapp:hover {
    background: #128c7e;
    color: white;
}

/* ==========================================
   Horários
   ========================================== */
.hours-container {
    max-width: 600px;
    margin: 0 auto;
}

.hours-grid {
    background: white;
    border-radius: var(--raio);
    box-shadow: var(--sombra);
    overflow: hidden;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-day {
    font-weight: 600;
    color: var(--cor-texto);
}

.hour-time {
    color: var(--cor-cinza);
    font-size: 0.9rem;
}

/* ==========================================
   Sobre
   ========================================== */
.about-image {
    border-radius: var(--raio);
    overflow: hidden;
    box-shadow: var(--sombra);
}

.about-company {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cor-texto);
    margin-bottom: 0.5rem;
}

.about-address {
    color: var(--cor-cinza);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--cor-texto);
}

/* ==========================================
   Contato
   ========================================== */
.contact-map {
    border-radius: var(--raio);
    overflow: hidden;
    box-shadow: var(--sombra);
    height: 100%;
    min-height: 300px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--cor-cinza);
    margin: 0;
}

/* ==========================================
   Floating Button
   ========================================== */
.floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.btn-float-whatsapp {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.btn-float-whatsapp:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ==========================================
   Responsivo
   ========================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto;
    }

    .service-footer {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Ajuste global do layout para o menu moderno */
@media screen and (min-width: 992px) {
    #fh5co-main {
        margin-left: 260px !important;
        width: calc(100% - 260px) !important;
        float: none !important;
        clear: both !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ==========================================
   Menu Moderno - Lateral Minimalista
   ========================================== */

/* Toggle Button Mobile */
.menu-modern-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
}

.menu-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.menu-line {
    width: 22px;
    height: 2px;
    background: var(--cor-primaria);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Menu Container */
.menu-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    pointer-events: none;
}

.menu-modern.menu-open {
    pointer-events: auto;
}

.menu-modern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-modern.menu-open .menu-modern-overlay {
    opacity: 1;
}

.menu-modern-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-modern.menu-open .menu-modern-container {
    transform: translateX(0);
}

.menu-modern-container {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
}

/* Brand / Logo */
.menu-brand {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.menu-logo-link {
    display: inline-block;
}

.menu-logo {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
}

.menu-logo--invert {
    filter: brightness(0) invert(1);
}

.menu-brand-name {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    display: block;
    line-height: 1.3;
}

/* Navigation */
.menu-nav {
    flex: 1;
    overflow-y: auto;
}

.menu-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-nav-item {
    margin-bottom: 0.5rem;
}

.menu-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.menu-nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    /* transform: translateY(-3px); */
}

.menu-nav-highlight {
    background: rgba(255,255,255,0.25);
    color: white;
    font-weight: 600;
}

.menu-nav-highlight:hover {
    background: rgba(255,255,255,0.35);
}

.menu-nav-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    font-size: 0.9rem;
}

.menu-nav-highlight .menu-nav-icon {
    background: rgba(255,255,255,0.3);
}

/* CTA Button */
.menu-cta {
    margin: 1.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.btn-menu-cta {
    display: block;
    width: 100%;
    padding: 1rem;
    background: white;
    color: var(--cor-primaria);
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-menu-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: var(--cor-primaria);
}

/* Footer */
.menu-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.menu-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.menu-contact-link:hover {
    color: white;
}

.menu-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.menu-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-social-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Desktop - Menu fixo lateral */
/* Forçar remoção de margens do CSS antigo no desktop */
@media screen and (min-width: 992px) {
    #fh5co-main {
        margin-left: 260px !important;
        width: calc(100% - 260px) !important;
    }
}

@media (min-width: 992px) {
    .menu-modern-toggle {
        display: none;
    }

    .menu-modern {
        position: fixed;
        top: 0;
        left: 0;
        width: 260px;
        height: 100vh;
        z-index: 1000;
        pointer-events: auto;
        transform: none !important;
    }

    .menu-modern-overlay {
        display: none !important;
    }

    .menu-modern-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 260px;
        height: 100vh;
        transform: translateX(0) !important;
        box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    }

    /* Botão fechar escondido no desktop */
    .menu-close-btn {
        display: none !important;
    }

    /* Ajustar conteúdo principal - SOBRESCREVER CSS ANTIGO */
    #fh5co-main {
        margin-left: 260px !important;
        margin-right: 0 !important;
        width: calc(100% - 260px) !important;
        max-width: none !important;
        float: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Remover qualquer padding ou margin do CSS antigo */
    #fh5co-page {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    /* Ajustar body para não ter scroll horizontal */
    body {
        overflow-x: hidden;
    }

    .hero-section {
        min-height: 100vh;
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .section {
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}

/* Mobile */
@media (max-width: 991px) {
    body.menu-open-body {
        overflow: hidden;
    }

    #fh5co-main {
        margin-left: 0;
    }
}

/* Botão Fechar */
.menu-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.menu-close-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

/* Esconder menu antigo */
.fh5co-nav-toggle,
#fh5co-aside {
    display: none !important;
}
