/* =========================================================
   Hoty Francisco — Identidade visual
   Paleta: rosa-vinho sofisticado sobre marfim quente, com
   toques dourados discretos. Serifada expressiva (Fraunces)
   para títulos, sans neutra (Manrope) para o corpo.
   ========================================================= */

:root {
  --ink:        #241419;
  --rose:       #A6294B;
  --rose-dark:  #7C1F38;
  --rose-soft:  #C86A85;
  --blush:      #F7E4E9;
  --blush-2:    #FBF0F2;
  --ivory:      #FFFBF7;
  --gold:       #B8925A;
  --muted:      #7A6B70;
  --white:      #FFFFFF;
  --success:    #2E7D4F;
  --warning:    #B8792A;
  --danger:     #B4283F;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 10px 30px -12px rgba(36, 20, 25, 0.18);
  --shadow-card: 0 4px 20px -8px rgba(36, 20, 25, 0.12);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p { margin: 0 0 1em; color: var(--muted); max-width: 62ch; }
a { color: var(--rose); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* --- Botões ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-align: center;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--rose); color: var(--white); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--rose-dark); box-shadow: 0 14px 30px -10px rgba(122,31,56,0.4); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(36,20,25,0.18); }
.btn-outline:hover { border-color: var(--rose); color: var(--rose); }
.btn-ghost { background: var(--blush); color: var(--rose-dark); }
.btn-ghost:hover { background: var(--blush-2); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* --- Navegação ----------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,251,247,0.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36,20,25,0.06);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.nav-logo span { color: var(--rose); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav-links a:not(.btn):hover { color: var(--rose); }
.nav-toggle { display: none; }

/* --- Hero (assimétrico, editorial) --------------------------- */
.hero { padding: 72px 0 96px; }
.hero .container {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-eyebrow { color: var(--gold); font-weight: 600; letter-spacing: 0.02em; font-size: 0.95rem; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero p.lead { font-size: 1.15rem; margin-top: 18px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-social { display: flex; gap: 12px; margin-top: 40px; }
.social-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
  border-radius: 999px; background: var(--white); border: 1px solid rgba(36,20,25,0.08);
  font-size: 0.88rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-card);
  transition: transform 0.18s ease;
}
.social-pill:hover { transform: translateY(-2px); color: var(--rose); }

.hero-portrait { position: relative; }
.hero-portrait .frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5; background: linear-gradient(160deg, var(--blush), var(--blush-2));
  box-shadow: var(--shadow-soft);
}
.hero-portrait .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait .ring {
  position: absolute; width: 130px; height: 130px; border-radius: 50%;
  border: 2px solid var(--gold); top: -30px; right: -30px; opacity: 0.55;
}
.hero-portrait .placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 4rem; color: var(--rose-soft);
}

/* --- Estatísticas ---------------------------------------------- */
.stats { padding: 60px 0; background: var(--blush-2); border-top: 1px solid rgba(36,20,25,0.05); border-bottom: 1px solid rgba(36,20,25,0.05); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: left; }
.stat-num { font-family: var(--font-display); font-size: 2.5rem; color: var(--rose-dark); font-weight: 600; }
.stat-label { color: var(--muted); font-size: 0.92rem; }

/* --- Secções genéricas --------------------------------------- */
.section { padding: 88px 0; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head .kicker { color: var(--gold); font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }

/* --- Cards --------------------------------------------------- */
.card {
  background: var(--white); border-radius: var(--radius-md); padding: 28px;
  box-shadow: var(--shadow-card); border: 1px solid rgba(36,20,25,0.04);
}

/* --- Formulários ----------------------------------------------- */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--blush-2); }
.auth-card { width: 100%; max-width: 440px; background: var(--white); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-soft); }
.auth-card h1 { font-size: 1.9rem; text-align: center; }
.auth-card .subtitle { text-align: center; margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(36,20,25,0.14); font-family: var(--font-body); font-size: 0.98rem;
  background: var(--ivory); transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--rose); background: var(--white); }
.field-error { color: var(--danger); font-size: 0.82rem; margin-top: 5px; }
.field input.invalid { border-color: var(--danger); }
.auth-foot { text-align: center; margin-top: 22px; font-size: 0.92rem; color: var(--muted); }

/* --- Toasts / feedback ----------------------------------------- */
.toast-stack { position: fixed; top: 20px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  min-width: 260px; max-width: 360px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--white); box-shadow: var(--shadow-soft); border-left: 4px solid var(--rose);
  font-size: 0.92rem; animation: toast-in 0.22s ease;
}
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

/* --- Badges de estado ------------------------------------------- */
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.badge-pending { background: #FBEBD3; color: var(--warning); }
.badge-review { background: #FDE9D9; color: #A05A1C; }
.badge-confirmed { background: #DFF2E6; color: var(--success); }
.badge-done { background: #E4E1F5; color: #5847A6; }
.badge-cancelled { background: #F6DEE1; color: var(--danger); }

/* --- Dashboard / painel --------------------------------------- */
.dash-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.dash-sidebar { background: var(--ink); color: var(--white); padding: 32px 22px; }
.dash-sidebar .brand { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 40px; }
.dash-sidebar a { display: block; color: rgba(255,255,255,0.75); padding: 11px 14px; border-radius: 10px; margin-bottom: 4px; font-size: 0.94rem; font-weight: 500;}
.dash-sidebar a:hover, .dash-sidebar a.active { background: rgba(255,255,255,0.1); color: var(--white); }
.dash-main { padding: 40px 44px; background: var(--ivory); }
.dash-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 36px; }
.kpi { background: var(--white); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-card); }
.kpi .num { font-family: var(--font-display); font-size: 1.9rem; color: var(--rose-dark); }
.kpi .label { color: var(--muted); font-size: 0.85rem; }

table.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.data-table th, .data-table td { padding: 14px 16px; text-align: left; font-size: 0.92rem; border-bottom: 1px solid rgba(36,20,25,0.06); }
.data-table th { background: var(--blush-2); color: var(--ink); font-weight: 700; }
.data-table tr:last-child td { border-bottom: none; }

/* --- Fluxo de agendamento (stepper) ------------------------------ */
.stepper { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.stepper .step { flex: 1; min-width: 90px; text-align: center; padding: 10px 6px; border-radius: var(--radius-sm); background: var(--blush-2); color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.stepper .step.active { background: var(--rose); color: var(--white); }
.stepper .step.done { background: var(--blush); color: var(--rose-dark); }

.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.option-card {
  border: 1.5px solid rgba(36,20,25,0.12); border-radius: var(--radius-md); padding: 20px;
  cursor: pointer; text-align: center; background: var(--white); transition: all 0.15s ease;
}
.option-card:hover { border-color: var(--rose-soft); }
.option-card.selected { border-color: var(--rose); background: var(--blush-2); box-shadow: var(--shadow-card); }
.option-card .title { font-weight: 700; font-family: var(--font-display); font-size: 1.15rem; }
.option-card .sub { font-size: 0.82rem; color: var(--muted); }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
.slot-btn { padding: 10px 6px; border-radius: var(--radius-sm); border: 1.5px solid rgba(36,20,25,0.12); background: var(--white); cursor: pointer; font-weight: 600; font-size: 0.9rem; }
.slot-btn:hover { border-color: var(--rose-soft); }
.slot-btn.selected { background: var(--rose); border-color: var(--rose); color: var(--white); }

.summary-box { background: var(--blush-2); border-radius: var(--radius-md); padding: 24px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(36,20,25,0.12); font-size: 0.94rem; }
.summary-row:last-child { border-bottom: none; font-weight: 700; font-size: 1.1rem; color: var(--rose-dark); }

.upload-drop {
  border: 2px dashed rgba(36,20,25,0.2); border-radius: var(--radius-md); padding: 32px; text-align: center; cursor: pointer;
  background: var(--blush-2);
}
.upload-drop.dragover { border-color: var(--rose); background: var(--blush); }

/* --- Rodapé ------------------------------------------------------ */
footer.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 48px 0 28px; margin-top: 60px; }
footer.site-footer .container { display: flex; flex-direction: column; gap: 18px; }
footer.site-footer .foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer.site-footer .foot-brand { font-family: var(--font-display); color: var(--white); font-size: 1.2rem; }
footer.site-footer a { color: rgba(255,255,255,0.7); }
footer.site-footer a:hover { color: var(--white); }
.dev-credit { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; font-size: 0.82rem; color: rgba(255,255,255,0.55); text-align: center; }

/* --- Responsivo ---------------------------------------------------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; max-width: 360px; margin: 0 auto; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .dash-shell { grid-template-columns: 1fr; }
  .dash-sidebar { display: flex; overflow-x: auto; padding: 16px; gap: 6px; }
  .dash-sidebar .brand { display: none; }
  .dash-sidebar a { white-space: nowrap; margin-bottom: 0; }
  .dash-main { padding: 24px 18px; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .hero { padding: 44px 0 64px; }
}
