/* =========================================
   VARIÁVEIS E CONFIGURAÇÕES GERAIS
   ========================================= */
:root {
    --bg: #FAF3EF;
    --rose: #A6808C;
    --dark: #4A3E3E;
    --white: #FFFFFF;
    --transition: all 0.3s ease-in-out;
}

/* RESET E CORREÇÃO DE SCROLL */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html, body { 
    scroll-behavior: smooth; 
    overflow-x: hidden; /* Evita balanço lateral */
    width: 100%;
}

body { 
    font-family: 'Montserrat', sans-serif; 
    background: var(--bg); 
    color: var(--dark); 
    line-height: 1.7;
    padding-top: 110px; /* Compensação da navbar no desktop */
}

/* Fix para evitar seleção de texto indesejada e melhorar feeling de app */
body, h1, h2, h3, h4, p, span, li, section, div {
    cursor: default;
}

a, button, .menu-toggle, .close-menu, .whatsapp-float {
    cursor: pointer;
}

.container { 
    max-width: 1140px; 
    margin: 0 auto; 
    padding: 0 25px; 
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   NAVBAR E LOGO
   ========================================= */
header {
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 2000;
    padding: 12px 0; 
    background: rgba(250, 243, 239, 0.98); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

header.scrolled {
    padding: 8px 0;
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.nav-logo {
    height: 85px; 
    width: auto; 
    transition: var(--transition);
    object-fit: contain;
    transform-origin: left center;
}

.nav-desktop { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
    align-items: center; 
}

.nav-desktop a { 
    text-decoration: none; 
    color: var(--dark); 
    font-weight: 600; 
    font-size: 0.9rem; 
}

.btn-nav { 
    background: var(--rose); 
    color: white!important; 
    padding: 10px 22px; 
    border-radius: 50px; 
}

/* =========================================
   MENU MOBILE (INTERAÇÃO SEGURA)
   ========================================= */
.menu-toggle { display: none; }

.menu-mobile {
    position: fixed; 
    top: 0; 
    right: -100%; 
    width: 100%; 
    height: 100vh;
    background: var(--white); 
    z-index: 3000; 
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; 
    align-items: center; 
    justify-content: center;
    visibility: hidden;
    pointer-events: none;
}

.menu-mobile.active { 
    right: 0; 
    visibility: visible;
    pointer-events: auto;
}

.menu-mobile a { 
    text-decoration: none; 
    font-size: 1.8rem; 
    color: var(--dark); 
    font-family: 'Playfair Display', serif; 
}

.close-menu { 
    position: absolute; 
    top: 20px; 
    right: 30px; 
    font-size: 3.5rem; 
}

/* =========================================
   HERO E BADGE (CORREÇÃO DA IMAGEM)
   ========================================= */
.hero { 
    padding: 60px 0 80px; 
    text-align: center; 
}

.badge { 
    background: var(--rose); 
    color: white; 
    padding: 8px 18px; 
    border-radius: 50px; 
    font-size: 0.7rem; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
    display: inline-block; /* FIX: Evita que o fundo quebre em duas linhas */
    max-width: 90%;       /* Garante que não bata nas bordas */
    line-height: 1.4;
    margin-bottom: 10px;
}

h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: clamp(2rem, 8vw, 3.8rem); 
    margin: 20px 0 30px; 
    line-height: 1.1; 
}

.hero p { 
    max-width: 750px; 
    margin: 0 auto 40px; 
    font-size: clamp(1rem, 4vw, 1.2rem); 
    opacity: 0.8; 
}

.hero-btns { 
    display: flex; 
    gap: 15px; 
    justify-content: center; 
}

/* =========================================
   CONTEÚDO E CARDS
   ========================================= */
.content-section { 
    padding: clamp(50px, 10vw, 100px) 0; 
}

.content-section.white { background: var(--white); }

.section-intro { 
    text-align: center; 
    max-width: 800px; 
    margin: 0 auto 60px; 
}

.section-intro h2 { 
    font-family: 'Playfair Display', serif; 
    font-size: clamp(1.8rem, 6vw, 2.8rem); 
}

.cards-grid, .services-grid, .steps-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
}

.card, .service-card { 
    padding: 40px 25px; 
    background: var(--bg); 
    border-radius: 30px; 
    text-align: center; 
}

.card i, .service-card i { 
    font-size: 2.5rem; 
    color: var(--rose); 
    margin-bottom: 15px; 
    display: block; 
}

.step { position: relative; padding-top: 20px; }
.step-number { 
    font-family: 'Playfair Display', serif; 
    font-size: clamp(3.5rem, 10vw, 5rem); 
    opacity: 0.08; 
    position: absolute; 
    width: 100%; 
    top: -10px; 
    left: 0;
}

/* =========================================
   AGENDAMENTO
   ========================================= */
.booking-box { 
    background: var(--dark); 
    color: white; 
    padding: clamp(30px, 5vw, 60px); 
    border-radius: 40px;
    display: grid; 
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 40px; 
}

.booking-list { list-style: none; margin-top: 20px; }
.booking-list li { margin: 12px 0; display: flex; align-items: center; gap: 12px; }

.booking-card { 
    background: rgba(255,255,255,0.05); 
    padding: 25px; 
    border-radius: 20px; 
    text-align: center;
}

/* BOTÕES */
.btn-cta, .btn-secondary, .btn-cta-full { 
    padding: 16px 35px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 600; 
    display: inline-block; 
    transition: 0.3s; 
}

.btn-cta { background: var(--dark); color: white; }
.btn-secondary { border: 2px solid var(--dark); color: var(--dark); }
.btn-cta-full { background: var(--rose); color: white; width: 100%; margin-top: 15px; }

/* WHATSAPP FLOAT */
.whatsapp-float { 
    position: fixed; 
    bottom: 25px; 
    right: 25px; 
    background: #25d366; 
    color: white; 
    width: 60px; 
    height: 60px; 
    border-radius: 50px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 30px; 
    z-index: 2500; 
}

/* =========================================
   AJUSTES MOBILE FINAIS
   ========================================= */
@media (max-width: 992px) {
    body { padding-top: 85px; }
    
    .nav-logo { height: 55px; }
    
    .nav-desktop { display: none; }
    .menu-toggle { display: block; }
    .menu-toggle span { display: block; width: 25px; height: 2px; background: var(--dark); margin: 6px 0; }

    .hero { padding: 40px 0 60px; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-cta, .btn-secondary { width: 100%; text-align: center; }

    .booking-box { grid-template-columns: 1fr; text-align: center; }
    .booking-list li { justify-content: center; }
    
    .cards-grid, .services-grid, .steps-grid { grid-template-columns: 1fr; }
}

footer { padding: 40px 0; text-align: center; font-size: 0.85rem; opacity: 0.7; }
