:root {
    --cor-texto-claro: #ffffff;
    --cor-texto-dourado: #E8DED3;
    --cor-botao-bg: rgba(60, 50, 45, 0.35); 
    --cor-botao-borda: rgba(255, 255, 255, 0.2);
    --cor-texto-botao: #ffffff;
    --animacao-suave: cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Poppins', sans-serif; }

body { 
    min-height: 100vh; 
    display: flex; 
    justify-content: center; 
    align-items: flex-start;
    position: relative; 
    overflow-x: hidden;
    background-color: #14100c; 
}

/* Imagem de fundo cobrindo a tela inteira, responsiva */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('imagemfundo.jpeg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -2;
}

.overlay-fundo, .background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(20, 15, 10, 0.35) 0%, rgba(20, 15, 10, 0.5) 45%, rgba(20, 15, 10, 0.85) 100%);
    z-index: -1;
}

.container { 
    position: relative; 
    z-index: 1; 
    width: 100%; 
    max-width: 500px; 
    margin: auto;
    padding: 50px 20px 40px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.profile-card {
    background: transparent;
    width: 100%;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 38px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--animacao-suave) 0.2s forwards;
}

.card-avatar {
    width: 140px; 
    height: 140px; 
    border-radius: 50%;
    object-fit: cover; 
    border: 3px solid rgba(255, 255, 255, 0.65); 
    background-color: rgba(255, 255, 255, 0.15); 
    flex-shrink: 0;
    padding: 4px; 
    box-shadow: 0 10px 35px rgba(0,0,0,0.55);
}

.card-info {
    text-align: center;
    color: var(--cor-texto-claro);
    width: 100%;
    min-width: 0;
}

.card-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; 
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.85);
    line-height: 1.1;
}

.card-info h2 {
    font-size: 0.75rem; 
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--cor-texto-dourado);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.9);
    line-height: 1.4;
}

.card-info p {
    font-size: 0.85rem; 
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.9);
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: var(--cor-botao-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--cor-botao-borda);
    color: var(--cor-texto-botao);
    padding: 16px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    cursor: pointer;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.15), rgba(255,255,255,0));
    transform: skewX(-20deg);
    transition: 0.5s;
}
.btn:hover::after { left: 150%; }

.btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.02);
}

.btn svg { width: 24px; height: 24px; color: var(--cor-texto-botao); }
.btn-1 { animation: fadeUp 1s var(--animacao-suave) 0.4s forwards; border-color: rgba(255, 255, 255, 0.6); background: rgba(255,255,255,0.1); }
.btn-instagram { animation: fadeUp 1s var(--animacao-suave) 0.6s forwards; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.btn-agendar {
    animation: fadeUp 1s var(--animacao-suave) 0.3s forwards, pulseGlow 2.5s infinite 1.8s;
    border: 1px solid rgba(232, 222, 211, 0.6);
    background: linear-gradient(135deg, rgba(60, 50, 45, 0.55) 0%, rgba(30, 25, 20, 0.85) 100%);
    box-shadow: 0 0 15px rgba(232, 222, 211, 0.15);
}
.btn-agendar:hover { border-color: var(--cor-texto-dourado); box-shadow: 0 0 20px rgba(232, 222, 211, 0.3); }
.btn-agendar .btn-sub span:first-child { color: var(--cor-texto-dourado); font-weight: 600; }

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(232, 222, 211, 0.35); }
    70% { box-shadow: 0 0 0 12px rgba(232, 222, 211, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 222, 211, 0); }
}

.btn-sub { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.btn-sub span:first-child { font-weight: 500; font-size: 0.9rem; }
.btn-sub span:last-child { font-size: 0.75rem; font-weight: 300; opacity: 0.85; margin-top: 2px; }

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.cards-section {
    width: 100%;
    margin-top: 28px;
    opacity: 0;
    animation: fadeUp 1s var(--animacao-suave) 0.8s forwards;
}

.section-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cor-texto-dourado);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.9);
    margin-bottom: 15px;
    display: block;
    text-align: center; 
}

.cards-viewport {
    position: relative;
    width: 100%;
}

.cards-scroll {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 25px calc(50% - 108px) 30px;
    margin: 0 -20px;
}
.cards-scroll::-webkit-scrollbar { display: none; }

.service-card {
    scroll-snap-align: center;
    flex: 0 0 216px;
    position: relative;
    height: 300px;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    background-color: #222;
    border: 1px solid rgba(232, 222, 211, 0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease-out, border-color 0.35s ease;
    will-change: transform, opacity, filter;
    cursor: pointer;
}

.service-card .service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.service-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.75) 70%, rgba(0,0,0,0.96) 100%);
    z-index: 2;
}

.service-card .card-content {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    text-align: left;
    width: 100%;
    padding: 20px 18px;
}

.service-card .title {
    display: block;
    color: var(--cor-texto-dourado);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.2;
    margin-bottom: 6px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.95);
}

.service-card .meta {
    display: -webkit-box;
    color: #f0f0f0;
    font-weight: 400;
    font-size: 0.82rem;
    line-height: 1.35;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.95);
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    color: var(--cor-cta-principal, #C29B57);
    cursor: pointer;
    z-index: 20;
    padding: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.carousel-arrow svg { width: 15px; height: 15px; fill: var(--cor-texto-dourado); }
.carousel-arrow:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.6); }
.carousel-arrow:active { transform: translateY(-50%) scale(0.9); }
.carousel-arrow-prev { left: 4px; }
.carousel-arrow-next { right: 4px; }

.swipe-hint {
    display: block;
    margin-top: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cor-texto-dourado);
    opacity: 0.75;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
}

.site-footer {
    width: 100%;
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}
.site-footer p { margin: 0; }
.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}
.site-footer a:hover { color: var(--cor-texto-dourado); }

@media (hover: hover) and (pointer: fine) {
    .cards-scroll { cursor: grab; }
    .cards-scroll.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
}

@media (max-width: 480px) {
    .card-avatar { width: 120px; height: 120px; }
    .card-info h1 { font-size: 1.5rem; }
}

@media (max-width: 380px) {
    .card-avatar { width: 105px; height: 105px; }
    .cards-scroll { padding: 22px calc(50% - 96px) 26px; }
    .service-card { flex: 0 0 192px; height: 270px; }
    .service-card .title { font-size: 1.05rem; }
}


/* Modal (Keeping mostly the same but styled for dark theme) */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal.hidden { display: none; }

.modal-content {
    background: #1a1a1a;
    color: white;
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(232, 222, 211, 0.4);
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.close-modal {
    position: absolute;
    top: 1rem; right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.step { display: none; flex-direction: column; gap: 1rem; }
.step.active { display: flex; }

.step h3 { margin-bottom: 1rem; color: var(--cor-texto-dourado); }
.modal-content h2 { margin-bottom: 1rem; color: white; }

input[type="date"], input[type="text"], input[type="tel"], input[type="time"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(232, 222, 211, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255,255,255,0.05);
    color: white;
}

.quick-intro {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.quick-form { display: flex; flex-direction: column; gap: 0.5rem; }
.quick-form label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cor-texto-dourado);
    margin-top: 0.6rem;
}
.quick-form input[readonly] { opacity: 0.9; cursor: default; }
.quick-form .btn-primary { margin-top: 1.3rem; }

.q-unhas-options { display: flex; flex-direction: column; gap: 0.5rem; }
.q-unhas-options[hidden] { display: none; }
.q-radio-group { display: flex; flex-direction: column; gap: 0.5rem; }
.q-radio {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 400 !important;
    color: #ffffff !important;
    cursor: pointer;
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(232, 222, 211, 0.25);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    margin-top: 0 !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.q-radio:hover { border-color: var(--cor-texto-dourado); }
.q-radio input[type="radio"] { width: auto; margin: 0; accent-color: var(--cor-texto-dourado); }

.btn-primary, .btn-secondary {
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}
.btn-primary { background: linear-gradient(135deg, rgba(60, 50, 45, 0.8) 0%, rgba(30, 25, 20, 1) 100%); color: var(--cor-texto-dourado); border: 1px solid rgba(232, 222, 211, 0.4); }
.btn-primary:disabled { background: #333; color: #666; border-color: #444; cursor: not-allowed; }
.btn-secondary { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.2); }

/* ======== MODAL "AGENDAR ATENDIMENTO" - TEMA CLARO (rosé da logo) ======== */
#quick-modal .modal-content {
    background: #F7ECEE;
    color: #5B4A4E;
    border: 1px solid #E2C6CD;
    box-shadow: 0 12px 45px rgba(120, 80, 92, 0.35);
}
#quick-modal .close-modal { color: #A9868F; }
#quick-modal .close-modal:hover { color: #7D4E56; }
#quick-modal .modal-content h2 { color: #7D4E56; }
#quick-modal .quick-intro { color: #6B565B; }
#quick-modal .quick-form label { color: #935F6B; }

#quick-modal input[type="text"],
#quick-modal input[type="date"],
#quick-modal input[type="time"] {
    background: #ffffff;
    color: #3D3033;
    border: 1px solid #E2C6CD;
}
#quick-modal input::placeholder { color: #B199A0; }

#quick-modal .q-radio {
    color: #3D3033 !important;
    background: #ffffff;
    border: 1px solid #E2C6CD;
}
#quick-modal .q-radio:hover { border-color: #C58C99; }
#quick-modal .q-radio input[type="radio"] { accent-color: #B0707E; }

#quick-modal .btn-primary {
    background: linear-gradient(135deg, #C58C99 0%, #A96A78 100%);
    color: #ffffff;
    border: 1px solid #A96A78;
}
/* ======================================================================= */

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
}

.time-slot {
    padding: 0.5rem;
    border: 1px solid rgba(232, 222, 211, 0.3);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    color: white;
}
.time-slot:hover, .time-slot.selected {
    background: rgba(232, 222, 211, 0.2);
    color: var(--cor-texto-dourado);
    border-color: var(--cor-texto-dourado);
}

.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    text-align: center;
    margin-bottom: 1rem;
}
