@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --navy: #1d2138;
    --navy-light: #2c3154;
    --gold: #C5A059;
    --gold-hover: #b08d4b;
    --gold-light: #fffdf5;
    --bg: #f2f4f8;
    --white: #ffffff;
    --text: #4a4a4a;
    --border: #e6e6e6;
    --shadow: 0 10px 30px -5px rgba(29, 33, 56, 0.08);
    --shadow-hover: 0 20px 40px -5px rgba(29, 33, 56, 0.15);
}

* { box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    margin: 0;
    padding: 40px 20px;
    color: var(--text);
    line-height: 1.6;
}

/* --- MENSAGENS DE FEEDBACK (SUCESSO/ERRO) --- */
.alert-banner {
    padding: 20px; border-radius: 12px; text-align: center; margin-bottom: 30px;
    font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px;
    animation: fadeIn 0.5s ease;
}
.alert-success {
    background: #d4edda; color: #155724; border: 1px solid #c3e6cb;
}
.alert-error {
    background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb;
}

/* --- HEADER --- */
.header-area { text-align: center; margin-bottom: 50px; animation: fadeIn 0.8s ease; }
.logo-top { max-width: 160px; height: auto; margin: 0 auto 15px; display: block; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1)); }
.welcome-text { font-size: 15px; color: var(--navy); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; opacity: 0.8; }
.welcome-text span { color: var(--gold); }

.booking-wrapper { max-width: 1280px; margin: 0 auto; position: relative; }

/* --- STEPS NAV --- */
.booking-steps-nav {
    display: flex; justify-content: center; position: relative; margin-bottom: 50px;
}
.booking-steps-nav::before {
    content: ''; position: absolute; top: 25px; left: 50%; transform: translateX(-50%);
    width: 300px; height: 2px; background: #e0e0e0; z-index: 0;
}
.step-nav-item {
    text-align: center; position: relative; z-index: 1; padding: 0 20px; cursor: pointer; opacity: 0.5; transition: 0.3s;
}
.step-nav-item.active { opacity: 1; transform: translateY(-3px); }
.step-nav-item span {
    display: flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; background: var(--white); border: 2px solid #e0e0e0;
    border-radius: 50%; margin: 0 auto 10px; font-weight: 700; font-size: 18px; color: #999;
    transition: 0.3s;
}
.step-nav-item.active span {
    background: var(--gold); border-color: var(--gold); color: var(--white);
    box-shadow: 0 0 0 5px rgba(197, 160, 89, 0.2);
}
.step-nav-item p { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); margin: 0; }

/* --- LAYOUT GRID --- */
.booking-grid-layout {
    display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start;
}
@media (max-width: 1024px) {
    .booking-grid-layout { grid-template-columns: 1fr; }
    .sidebar-summary { order: -1; margin-bottom: 30px; position: static; }
    .booking-steps-nav::before { display: none; }
}

/* --- FORMULÁRIO --- */
.main-form {
    background: var(--white); padding: 50px; border-radius: 20px;
    box-shadow: var(--shadow); border: 1px solid white;
}

.form-step { display: none; animation: slideUp 0.5s ease forwards; }
.form-step.active { display: block; }

h2.section-title {
    color: var(--navy); font-size: 22px; font-weight: 700;
    padding-bottom: 15px; border-bottom: 2px solid #f0f0f0; margin: 0 0 35px 0;
    display: flex; align-items: center; gap: 10px;
}
h2.section-title::before {
    content: ''; display: block; width: 6px; height: 24px; background: var(--gold); border-radius: 4px;
}

/* --- INPUTS --- */
.input-grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 25px; }
.col-12 { grid-column: span 12; } .col-6 { grid-column: span 6; } .col-4 { grid-column: span 4; }
@media (max-width: 768px) { .col-6, .col-4 { grid-column: span 12; } }

label { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 8px; display: block; letter-spacing: 0.5px; }
input, select {
    width: 100%; padding: 16px; border: 1px solid var(--border); border-radius: 12px;
    font-family: 'Poppins', sans-serif; background: #fcfcfc; color: var(--text); font-size: 15px;
    transition: all 0.3s ease;
}
input:focus, select:focus {
    background: #fff; border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15); transform: translateY(-1px);
}
::placeholder { color: #bbb; }

/* --- QUARTOS --- */
.room-category { margin-bottom: 30px; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.room-category h3 {
    background: #f8f9fc; color: var(--navy); margin: 0; padding: 15px 25px;
    font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between;
}
.room-row {
    display: flex; justify-content: space-between; align-items: center; padding: 20px 25px;
    border-bottom: 1px dashed var(--border); transition: 0.2s;
}
.room-row:last-child { border-bottom: none; }
.room-row:hover { background: #fafafa; }
.room-row span { font-weight: 600; color: #555; font-size: 15px; }

.price-btns button {
    background: transparent; border: 1px solid #ccc; padding: 10px 20px;
    border-radius: 50px; font-size: 13px; cursor: pointer; margin-left: 10px;
    font-family: 'Poppins', sans-serif; font-weight: 600; color: #666; transition: 0.3s;
}
.price-btns button:hover { border-color: var(--gold); color: var(--gold); background: #fff; transform: translateY(-1px); }
.price-btns button.selected {
    background: var(--gold); color: var(--white); border-color: var(--gold);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

/* --- EXTRAS BOX --- */
.extras-container-box {
    background: linear-gradient(135deg, #fffdf5 0%, #fff 100%);
    border: 1px solid #f0e6d2; border-radius: 16px; padding: 30px; margin-top: 40px;
    box-shadow: inset 0 0 20px rgba(197, 160, 89, 0.05);
}
.extras-container-box h3 { color: var(--navy); margin-top: 0; font-size: 17px; margin-bottom: 20px; font-weight: 700; }
.extras-selection label {
    display: flex; align-items: center; gap: 15px; padding: 12px; margin-bottom: 8px;
    cursor: pointer; font-size: 15px; color: #555; background: #fff; border-radius: 10px; border: 1px solid transparent; transition: 0.2s;
}
.extras-selection label:hover { border-color: #ddd; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.extras-selection input { width: 20px; height: 20px; accent-color: var(--gold); margin: 0; box-shadow: none; border-color: #ccc; }

/* --- AVISOS --- */
.smoking-notice {
    background: #ff4757; color: white; padding: 20px; border-radius: 12px;
    text-align: center; font-weight: 700; font-size: 16px; margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.2);
}
.disclaimer-info { text-align: center; margin-top: 20px; color: #888; font-size: 13px; }
.radio-group { display: flex; gap: 20px; margin-top: 10px; }
.radio-group label {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px; border: 2px solid var(--border); border-radius: 10px; cursor: pointer; font-weight: 600; transition: 0.3s;
}
.radio-group label:hover { border-color: var(--navy); }
.radio-group input { width: auto; margin: 0; accent-color: var(--navy); box-shadow: none; }

/* --- BOTÕES --- */
.nav-btns-footer { margin-top: 50px; display: flex; justify-content: space-between; align-items: center; }
.nav-btns-footer.right { justify-content: flex-end; }

.btn-next {
    background: var(--navy); color: #fff; border: none; padding: 18px 45px;
    border-radius: 12px; font-weight: 600; font-size: 15px; cursor: pointer; transition: 0.3s;
    box-shadow: 0 8px 20px rgba(29, 33, 56, 0.2);
}
.btn-next:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 12px 25px rgba(29, 33, 56, 0.3); }

.btn-prev {
    background: transparent; color: #888; border: 2px solid #eee; padding: 16px 35px;
    border-radius: 12px; font-weight: 600; font-size: 15px; cursor: pointer; transition: 0.3s;
}
.btn-prev:hover { border-color: #ccc; color: #555; }

.btn-pay {
    width: 100%; background: var(--gold); color: #fff; padding: 22px;
    border: none; border-radius: 14px; font-weight: 700; font-size: 18px;
    cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.btn-pay:hover { background: var(--gold-hover); box-shadow: 0 15px 30px rgba(197, 160, 89, 0.4); transform: translateY(-2px); }

/* --- SIDEBAR --- */
.sidebar-summary { position: sticky; top: 30px; }
.summary-card {
    background: var(--navy); color: #fff; padding: 40px; border-radius: 20px;
    box-shadow: 0 30px 60px rgba(29, 33, 56, 0.3); position: relative; overflow: hidden;
}
.summary-card::before {
    content: ''; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px;
    background: rgba(255,255,255,0.05); border-radius: 50%;
}
.summary-title {
    color: var(--gold); border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px; margin-top: 0; font-size: 18px; text-transform: uppercase; letter-spacing: 2px;
}
.summary-item {
    display: flex; justify-content: space-between; margin-bottom: 18px;
    font-size: 15px; color: #d0d0d0;
}
.summary-item strong { color: #fff; font-weight: 600; text-align: right; }
.summary-item.tax { color: #888; font-size: 13px; }

.total-section {
    margin-top: 30px; border-top: 1px solid rgba(197, 160, 89, 0.3); padding-top: 25px; text-align: right;
}
.total-section p {
    font-size: 12px; color: var(--gold); margin: 0 0 5px 0; text-transform: uppercase; letter-spacing: 2px; opacity: 0.8;
}
.total-section span {
    font-size: 40px; font-weight: 700; color: var(--gold); display: block; line-height: 1; text-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
}

/* CARDS (Caso precise no futuro) */
.cards-grid-selection { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 30px; }
.type-card-box {
    border: 2px solid var(--border); border-radius: 16px; padding: 30px; cursor: pointer;
    transition: 0.3s; display: flex; align-items: center; gap: 20px; background: #fff;
}
.type-card-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #d1d1d1; }
.type-card-box.selected {
    border-color: var(--gold); background: var(--gold-light);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.15);
}
.type-card-box input { display: none; }
.card-icon { font-size: 32px; background: #fff; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.card-title { font-weight: 700; font-size: 17px; color: var(--navy); display: block; }
.card-desc { font-size: 13px; color: #888; margin-top: 2px; display: block; }

@keyframes fadeIn { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }
@keyframes slideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }