/* ========================================
   CSS - Página Inicial Depilare
   Clínica de Estética Feminina
   ======================================== */

/* Variáveis de Cores */
:root {
    --primary: #d88398;
    --primary-dark: #c06c80;
    --secondary: #fdf2f5;
    --accent: #bfacc2;
    --dark: #333333;
    --light: #666666;
    --white: #ffffff;
    --gold: #c5a059;
    --whatsapp: #25d366;
    --whatsapp-dark: #128c7e;
    --instagram: #E4405F;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tipografia e Corpo */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: #fafafa;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ========================================
   CABEÇALHO
   ======================================== */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Botão de Agendamento */
.btn-agendar {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-agendar:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(216, 131, 152, 0.4);
}

/* Botão Área do Cliente */
.btn-area-cliente {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-area-cliente:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    color: var(--white) !important;
}

.btn-area-cliente i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .btn-area-cliente span {
        display: none;
    }
    .btn-area-cliente {
        padding: 10px 15px;
    }
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
}

/* ========================================
   HERO (SEÇÃO PRINCIPAL)
   ======================================== */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(216, 131, 152, 0.1) 0%, rgba(192, 108, 128, 0.05) 100%),
                url('https://images.unsplash.com/photo-1560750588-73207b1ef5b8?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    margin-top: 80px;
}

.hero-content {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 30px;
}

/* ========================================
   SEÇÃO DE SERVIÇOS
   ======================================== */
.services {
    padding: 80px 0;
    background: var(--secondary);
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
    display: block;
    font-size: 0.9rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.3rem;
}

.service-card p {
    color: var(--light);
    font-size: 0.95rem;
}

/* ========================================
   TABELA DE PREÇOS
   ======================================== */
.pricing-section {
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-table-wrapper {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background: var(--white);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.pricing-table th,
.pricing-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background: var(--primary);
    color: var(--white);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.pricing-table tr:hover {
    background: var(--secondary);
}

.pricing-table td:first-child {
    font-weight: 600;
    color: var(--dark);
}

.pricing-table td:last-child {
    color: var(--primary);
    font-weight: 700;
}

/* ========================================
   SEÇÃO SOBRE
   ======================================== */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    color: var(--light);
    font-size: 1.05rem;
    margin-bottom: 15px;
}

/* ========================================
   SEÇÃO DE CONTATO
   ======================================== */
.contact-section {
    padding: 80px 0;
    background: var(--secondary);
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary);
}

.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--light);
    font-size: 1.1rem;
}

/* Botão WhatsApp */
.btn-whatsapp-contact {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
    color: var(--white);
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    text-align: left;
}

.btn-whatsapp-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .btn-whatsapp-contact {
        flex-direction: column;
        text-align: center;
        padding: 20px 30px;
    }
}

/* ========================================
   RODAPÉ
   ======================================== */
footer {
    background: #2c2c2c;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 12px;
    color: #ccc;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col ul li span {
    min-width: 20px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* ========================================
   BOTÕES FLUTUANTES
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--whatsapp);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.1);
}

.whatsapp-float.instagram {
    background: var(--instagram);
    right: 100px;
}

.whatsapp-float.instagram:hover {
    background: #C13584;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }
    
    .about-img,
    .about-text {
        flex: none;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 20px;
    }
    
    .hero-content {
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .whatsapp-float.instagram {
        right: 80px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        padding: 25px 15px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   BOTÃO DE ACESSO AO SISTEMA (FOOTER)
   ======================================== */
.btn-admin-acesso {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
    text-decoration: none;
}

.btn-admin-accesso:hover {
    background: linear-gradient(135deg, #34495e 0%, #3d566e 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.5);
    color: white;
}

.btn-admin-acesso i {
    font-size: 1.2rem;
}

.btn-admin-accesso span {
    font-weight: 600;
}

/* Responsividade para o botão */
@media (max-width: 768px) {
    .footer-col {
        text-align: center;
    }
    
    .btn-admin-acesso {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   ANIMAÇÕES
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.service-card,
.about-img,
.about-text {
    animation: fadeInUp 0.8s ease forwards;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========================================
   SEÇÃO DE FIDELIDADE
   ======================================== */
.fidelidade-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fdf2f5 0%, #fff5f8 100%);
    position: relative;
    overflow: hidden;
}

.fidelidade-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(216, 131, 152, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fidelidade-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.fidelidade-text .section-subtitle {
    display: block;
    margin-bottom: 15px;
}

.fidelidade-descricao {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.fidelidade-beneficios {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.beneficio-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.beneficio-item:hover {
    transform: translateX(10px);
}

.beneficio-icon {
    font-size: 2.5rem;
    min-width: 50px;
}

.beneficio-text strong {
    display: block;
    color: var(--dark);
    font-size: 1.1rem;
}

.beneficio-text small {
    color: var(--light);
    font-size: 0.9rem;
}

.fidelidade-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-fidelidade {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(216, 131, 152, 0.4);
}

.btn-fidelidade:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(216, 131, 152, 0.6);
    color: white;
}

.btn-fidelidade i {
    font-size: 1.2rem;
}

.btn-fidelidade-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--primary);
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-fidelidade-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-fidelidade-outline i {
    font-size: 1.2rem;
}

/* Cartão Fidelidade */
.fidelidade-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fidelidade-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
    max-width: 400px;
    width: 100%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.fidelidade-card .card-header {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-weight: 600;
}

.fidelidade-card .card-header i {
    font-size: 2rem;
}

.fidelidade-card .card-body {
    padding: 30px;
    background: white;
}

.pontos-display {
    text-align: center;
    margin-bottom: 25px;
}

.pontos-label {
    display: block;
    color: var(--light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.pontos-valor {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.valor-display {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 20px;
}

.valor-label {
    display: block;
    color: var(--light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.valor-numero {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
}

.fidelidade-card .card-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 2px dashed #e0e0e0;
    color: var(--light);
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .fidelidade-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .fidelidade-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .fidelidade-section {
        padding: 60px 0;
    }
    
    .fidelidade-cta {
        flex-direction: column;
    }
    
    .btn-fidelidade,
    .btn-fidelidade-outline {
        width: 100%;
        justify-content: center;
    }
    
    .pontos-valor {
        font-size: 3rem;
    }
}
