/* ============================================
   RESET & BASE
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Lato', Georgia, serif;
    background: url("images/background.jpg") repeat;
    color: #3a2a1d;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Acessibilidade — label oculto visualmente */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   OVERLAY DE ABERTURA
   ============================================ */
#overlay-inicio {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #4a2d1b; z-index: 10000;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease;
}

.overlay-content {
    text-align: center;
    color: #f6efe6;
    animation: fadeInUp 1s ease;
}

.overlay-content h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.overlay-sub {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 10px;
}

#btn-entrar {
    margin-top: 20px; padding: 15px 40px; border-radius: 50px;
    border: 1px solid #f6efe6; background: transparent; color: #f6efe6;
    cursor: pointer; font-size: 1.1rem;
    font-family: 'Lato', sans-serif;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

#btn-entrar:hover {
    background: #f6efe6;
    color: #4a2d1b;
    transform: scale(1.05);
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 9998;
    padding: 15px 6vw;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background: rgba(74, 45, 27, 0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    padding: 10px 6vw;
    backdrop-filter: blur(10px);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: #f6efe6;
    text-decoration: none;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#navbar.scrolled .nav-logo { opacity: 1; }

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

.nav-links a {
    color: #f6efe6;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: opacity 0.3s ease;
    opacity: 0;
}

#navbar.scrolled .nav-links a { opacity: 1; }

.nav-links a:hover { opacity: 0.7 !important; }

.nav-whatsapp {
    background: #3cb371;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
}

.nav-whatsapp:hover { opacity: 0.9 !important; }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    background: url("images/velas2.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        180deg,
        rgba(74, 45, 27, 0.3) 0%,
        rgba(246, 239, 230, 0.6) 40%,
        rgba(246, 239, 230, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1.2s ease 0.3s both;
}

.logo {
    width: 180px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.3;
    color: #3a2a1d;
    margin-bottom: 10px;
}

.hero-sub {
    font-size: 1.15rem;
    color: #5a4a3d;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover { background: #1fb855; }

.btn-outline {
    border: 2px solid #3a2a1d;
    color: #3a2a1d;
    background: transparent;
}

.btn-outline:hover {
    background: #3a2a1d;
    color: #f6efe6;
}

.btn-agendar {
    background: #4a2d1b;
    color: #f6efe6;
}

.btn-agendar:hover { background: #3a2010; }

/* ============================================
   SECOES — TITULOS
   ============================================ */
.titulo-sessao {
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #3a2a1d;
}

.sessao-desc {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    color: #6b5a4e;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ============================================
   SERVICOS — GRID DE CARDS
   ============================================ */
.servicos {
    padding: 100px 6vw 80px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #4a2d1b;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    color: #f6efe6;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    opacity: 0;
    transform: translateY(30px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(74, 45, 27, 0.35);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

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

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.card-desc {
    font-size: 0.88rem;
    opacity: 0.75;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-preco {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Playfair Display', Georgia, serif;
    color: #d4a574;
}

/* ============================================
   FORMULARIO DE AGENDAMENTO
   ============================================ */
.agendar {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-wrapper {
    width: 100%;
    max-width: 500px;
    background: #4a2d1b;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.form-agenda {
    display: grid;
    gap: 15px;
}

.form-agenda input,
.form-agenda select {
    padding: 15px 18px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: #f6efe6;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: #3a2a1d;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-agenda input:focus,
.form-agenda select:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.25);
}

.form-agenda input::placeholder {
    color: #9a8a7a;
}

.btn-submit {
    background: linear-gradient(135deg, #25D366, #1fb855);
    color: white;
    padding: 16px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.form-feedback {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #d4a574;
    min-height: 1.2em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #3a2010;
    color: #f6efe6;
    padding: 60px 6vw 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(246, 239, 230, 0.15);
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    opacity: 0.7;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4,
.footer-contato h4 {
    margin-bottom: 15px;
    font-size: 1rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.footer-links a {
    display: block;
    color: #f6efe6;
    text-decoration: none;
    margin-bottom: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover { opacity: 1; }

.footer-contato p {
    opacity: 0.8;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ============================================
   BOTAO MUTE
   ============================================ */
#btn-mute {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid #f6efe6;
    background: rgba(74, 45, 27, 0.85);
    color: #f6efe6;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, background 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

#btn-mute:hover {
    transform: scale(1.15);
    background: rgba(74, 45, 27, 1);
}

/* ============================================
   ANIMACOES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 768px) {
    .hero { height: 100svh; }

    .hero h1 { font-size: 1.6rem; }

    .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }

    .hero-buttons .btn { width: 80%; text-align: center; justify-content: center; }

    .nav-links { gap: 15px; }

    .nav-links a { font-size: 0.85rem; }

    .cards-grid { grid-template-columns: 1fr; max-width: 400px; }

    .form-wrapper { padding: 30px 25px; margin: 0 10px; }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-brand p { max-width: 100%; margin: 0 auto; }
}

@media (max-width: 480px) {
    .hero-content { padding: 0 20px; }

    .logo { width: 130px; }

    .titulo-sessao { font-size: 1.5rem; }

    .servicos { padding: 60px 4vw; }

    .nav-links { gap: 10px; }

    .nav-whatsapp { padding: 6px 12px; font-size: 0.8rem; }
}
