/* =====================================
   CRISTAL STUDIO 💎 - Style Sheet
   Rosa Salmão + Dourado
   ===================================== */

:root {
    --rosa-salmão: #e8a0a0;
    --rosa-claro: #fce4e4;
    --rosa-escuro: #d47878;
    --dourado: #d4af37;
    --dourado-claro: #f0e6c8;
    --dourado-escuro: #b8962e;
    --branco: #ffffff;
    --off-white: #fef8f8;
    --cinza-claro: #f5f0f0;
    --cinza: #8a7a7a;
    --cinza-escuro: #5a4a4a;
    --preto: #2a1a1a;
    --fonte-titulo: 'Playfair Display', serif;
    --fonte-corpo: 'Inter', sans-serif;
    --fonte-destaque: 'Great Vibes', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-corpo);
    color: var(--preto);
    background: var(--off-white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: var(--dourado-claro);
    color: var(--dourado-escuro);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--fonte-titulo);
    font-size: 42px;
    font-weight: 700;
    color: var(--preto);
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-desc {
    color: var(--cinza);
    font-size: 17px;
    max-width: 500px;
    margin: 0 auto;
}

.text-dourado {
    color: var(--dourado);
}

/* ========== BOTÕES ========== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--fonte-corpo);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rosa-salmão), var(--rosa-escuro));
    color: var(--branco);
    box-shadow: 0 4px 20px rgba(232, 160, 160, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 160, 160, 0.5);
}

.btn-secondary {
    background: var(--branco);
    color: var(--rosa-escuro);
    border: 2px solid var(--rosa-salmão);
}

.btn-secondary:hover {
    background: var(--rosa-claro);
}

.btn-dourado {
    background: linear-gradient(135deg, var(--dourado), var(--dourado-escuro));
    color: var(--branco);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-dourado:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

/* ========== HEADER ========== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--rosa-claro);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-cristal {
    font-family: var(--fonte-titulo);
    font-size: 24px;
    font-weight: 700;
    color: var(--rosa-escuro);
}

.logo-studio {
    font-family: var(--fonte-corpo);
    font-size: 11px;
    font-weight: 500;
    color: var(--dourado);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--cinza-escuro);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rosa-salmão);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--rosa-escuro);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-mobile {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--rosa-escuro);
    cursor: pointer;
}

/* ========== HERO ========== */

.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--rosa-claro) 0%, var(--off-white) 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-family: var(--fonte-titulo);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--preto);
    margin-bottom: 20px;
}

.hero-destaque {
    color: var(--dourado);
    font-family: var(--fonte-destaque);
    font-size: 58px;
}

.hero-subtitle {
    color: var(--cinza);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 450px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image-placeholder {
    width: 350px;
    height: 420px;
    background: linear-gradient(135deg, var(--rosa-salmão), var(--dourado-claro));
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(232, 160, 160, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: brilho 4s ease-in-out infinite;
}

@keyframes brilho {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-emoji {
    font-size: 80px;
    z-index: 1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-image-text {
    font-family: var(--fonte-titulo);
    font-size: 22px;
    color: var(--branco);
    margin-top: 20px;
    z-index: 1;
}

/* ========== SERVIÇOS ========== */

.servicos {
    background: var(--branco);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.servico-card {
    background: var(--off-white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(232, 160, 160, 0.15);
    border-color: var(--rosa-salmão);
}

.servico-card.selecionado {
    border-color: var(--dourado);
    background: linear-gradient(135deg, var(--off-white), var(--dourado-claro));
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.15);
}

.servico-card .servico-icone {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.servico-card h3 {
    font-family: var(--fonte-titulo);
    font-size: 18px;
    color: var(--preto);
    margin-bottom: 8px;
}

.servico-card .servico-preco {
    font-size: 28px;
    font-weight: 700;
    color: var(--dourado);
    font-family: var(--fonte-titulo);
}

.servico-card .servico-selo {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--dourado);
    color: var(--branco);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 10px;
    display: none;
}

.servico-card.selecionado .servico-selo {
    display: block;
}

/* ========== AGENDAR ========== */

.agendar {
    background: var(--off-white);
}

.agendar-steps {
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--dourado), var(--dourado-escuro));
    color: var(--branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-title {
    font-family: var(--fonte-titulo);
    font-size: 24px;
    color: var(--preto);
    margin-bottom: 25px;
}

.servicos-select {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.servico-option {
    background: var(--branco);
    border: 2px solid var(--cinza-claro);
    border-radius: 15px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.servico-option:hover {
    border-color: var(--rosa-salmão);
}

.servico-option.selecionado {
    border-color: var(--dourado);
    background: linear-gradient(135deg, var(--off-white), var(--dourado-claro));
}

.servico-option .opt-nome {
    font-weight: 600;
    font-size: 14px;
    color: var(--preto);
}

.servico-option .opt-preco {
    font-size: 18px;
    font-weight: 700;
    color: var(--dourado);
    font-family: var(--fonte-titulo);
}

.data-hora-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.data-select label,
.hora-select label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--preto);
}

input[type="date"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--cinza-claro);
    border-radius: 14px;
    font-family: var(--fonte-corpo);
    font-size: 16px;
    color: var(--preto);
    background: var(--branco);
    outline: none;
    transition: border-color 0.3s;
}

input[type="date"]:focus {
    border-color: var(--dourado);
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.horario-btn {
    padding: 10px;
    border: 2px solid var(--cinza-claro);
    border-radius: 10px;
    background: var(--branco);
    color: var(--preto);
    font-family: var(--fonte-corpo);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.horario-btn:hover {
    border-color: var(--rosa-salmão);
    background: var(--rosa-claro);
}

.horario-btn.selecionado {
    border-color: var(--dourado);
    background: var(--dourado-claro);
    color: var(--dourado-escuro);
}

.horario-btn:disabled,
.horario-btn.indisponivel {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

.horarios-placeholder {
    grid-column: 1 / -1;
    color: var(--cinza);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--preto);
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--cinza-claro);
    border-radius: 14px;
    font-family: var(--fonte-corpo);
    font-size: 15px;
    color: var(--preto);
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--dourado);
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--cinza);
    font-size: 13px;
}

/* ========== PIX ========== */

.pix-section {
    background: linear-gradient(135deg, var(--rosa-claro) 0%, var(--off-white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.pix-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--branco);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.pix-header {
    margin-bottom: 20px;
}

.pix-icon {
    font-size: 40px;
}

.pix-header h2 {
    font-family: var(--fonte-titulo);
    font-size: 24px;
    margin-top: 10px;
}

.pix-resumo {
    background: var(--cinza-claro);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--cinza-escuro);
}

.pix-resumo strong {
    color: var(--preto);
}

.pix-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.timer-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--fonte-titulo);
    font-size: 28px;
    font-weight: 700;
    color: var(--rosa-escuro);
}

.timer-label {
    font-size: 14px;
    color: var(--cinza);
}

.pix-valor {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.pix-valor-label {
    font-size: 16px;
    color: var(--cinza-escuro);
}

.pix-valor-num {
    font-family: var(--fonte-titulo);
    font-size: 32px;
    font-weight: 700;
    color: var(--dourado);
}

.pix-chave-area {
    background: var(--cinza-claro);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
}

.pix-chave-label {
    font-size: 13px;
    color: var(--cinza);
    margin-bottom: 8px;
}

.pix-chave-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pix-chave-copy span {
    font-size: 15px;
    font-weight: 600;
    color: var(--preto);
    word-break: break-all;
}

.btn-copy {
    background: var(--dourado-claro);
    color: var(--dourado-escuro);
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-copy:hover {
    background: var(--dourado);
    color: var(--branco);
}

.pix-qrcode {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.pix-qrcode img {
    width: 180px;
    height: 180px;
    border-radius: 15px;
}

.pix-instrucao {
    font-size: 15px;
    margin-bottom: 20px;
    color: var(--cinza-escuro);
}

.btn-pix {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 16px;
}

.pix-aviso {
    font-size: 12px;
    color: var(--cinza);
    margin-top: 12px;
}

/* ========== SUCESSO ========== */

.sucesso {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.sucesso-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--branco);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.sucesso-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.sucesso-title {
    font-family: var(--fonte-titulo);
    font-size: 28px;
    color: var(--preto);
    margin-bottom: 10px;
}

.sucesso-text {
    color: var(--cinza-escuro);
    font-size: 16px;
    margin-bottom: 20px;
}

.sucesso-detalhes {
    background: var(--cinza-claro);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--cinza-escuro);
    line-height: 1.8;
}

.sucesso-whatsapp {
    font-size: 13px;
    color: var(--cinza);
    margin-bottom: 25px;
    padding: 10px;
    background: #e8f5e9;
    border-radius: 10px;
}

/* ========== HISTÓRIA ========== */

.historia {
    background: var(--branco);
}

.historia-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.historia-texto {
    flex: 1;
}

.historia-texto p {
    color: var(--cinza-escuro);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.historia-citacao {
    font-family: var(--fonte-titulo);
    font-size: 22px !important;
    color: var(--dourado) !important;
    font-style: italic;
    margin: 25px 0 !important;
}

.historia-assinatura {
    font-family: var(--fonte-destaque);
    font-size: 24px !important;
    color: var(--rosa-escuro) !important;
}

.historia-imagem {
    flex: 1;
    display: flex;
    justify-content: center;
}

.historia-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--dourado-claro), var(--rosa-claro));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

.historia-emoji {
    font-size: 80px;
}

/* ========== CONSULTA ========== */

.minhas-agendas {
    background: linear-gradient(135deg, var(--off-white), var(--rosa-claro));
}

.consulta-form {
    max-width: 450px;
    margin: 0 auto 30px;
    text-align: center;
}

.consulta-resultado {
    max-width: 700px;
    margin: 0 auto;
}

.consulta-card {
    background: var(--branco);
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.consulta-card .servico-nome {
    font-weight: 600;
    font-size: 15px;
}

.consulta-card .servico-data {
    font-size: 13px;
    color: var(--cinza);
}

.consulta-card .servico-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 10px;
}

.status-confirmado { background: #e8f5e9; color: #2e7d32; }
.status-pendente { background: #fff8e1; color: #f57f17; }
.status-cancelado { background: #fbe9e7; color: #c62828; }
.status-concluido { background: #e8eaf6; color: #283593; }

.consulta-vazia {
    text-align: center;
    color: var(--cinza);
    padding: 40px;
}

/* ========== FOOTER ========== */

.footer {
    background: var(--preto);
    color: var(--branco);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #a08080;
    font-size: 14px;
    margin-top: 10px;
}

.footer-local {
    margin-top: 5px !important;
}

.footer-links h4,
.footer-contato h4 {
    font-family: var(--fonte-titulo);
    color: var(--dourado);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    color: #a08080;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-contato p {
    color: #a08080;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #3a2a2a;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #6a5050;
    font-size: 13px;
}

/* ========== MENU MOBILE ========== */

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--branco);
    font-size: 22px;
    font-weight: 500;
    text-decoration: none;
    font-family: var(--fonte-titulo);
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--branco);
    font-size: 32px;
    cursor: pointer;
}

/* ========== RESPONSIVO ========== */

@media (max-width: 768px) {
    .nav { display: none; }
    .menu-mobile { display: block; }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-destaque {
        font-size: 40px;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-image-placeholder {
        width: 260px;
        height: 320px;
    }

    .section-title {
        font-size: 30px;
    }

    .servicos-grid {
        grid-template-columns: 1fr 1fr;
    }

    .data-hora-grid {
        grid-template-columns: 1fr;
    }

    .horarios-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .servicos-select {
        grid-template-columns: 1fr;
    }

    .historia-content {
        flex-direction: column;
        text-align: center;
    }

    .historia-placeholder {
        width: 200px;
        height: 200px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pix-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .servicos-grid {
        grid-template-columns: 1fr;
    }

    .horarios-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
