/* ==========================================================================
   Modelos do site público (Vitrine, Passo a passo, Elegante).
   Todos usam a identidade do sistema (variáveis --brand-* e a tipografia do style.css);
   aqui muda só a estrutura e o "acabamento" das páginas. O modelo "Clássico" não usa este arquivo.
   ========================================================================== */

/* ---------- Peças comuns aos modelos ---------- */

.modelo-dias { display: flex; flex-wrap: wrap; gap: .45rem; }
.modelo-dias .m-dia {
  min-width: 52px; padding: .3rem .45rem; line-height: 1.15; text-align: center;
  border: 1px solid var(--brand-primary); color: var(--brand-primary); background: #fff;
  border-radius: 10px; font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.modelo-dias .m-dia b { display: block; font-size: 1.02rem; }
.modelo-dias .m-dia:hover { background: color-mix(in srgb, var(--brand-primary) 8%, white); }
.modelo-dias .m-dia.on { background: var(--brand-primary); color: #fff; }
.modelo-dias .m-dia.mais { border-style: dashed; }

.mv-svc, .mv-panel, .mp-main { background: #fff; }

.mv-lbl {
  font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: #64748b; margin: 1rem 0 .5rem;
}

/* ======================================================================
   MODELO 1 - VITRINE
   ====================================================================== */

.modelo-vitrine .mv-hero { padding: 1.1rem 5vw 2rem; text-align: center; position: relative; }
.mv-nav { display: flex; justify-content: flex-end; gap: 1rem; font-size: .82rem; margin-bottom: .3rem; }
.mv-nav a { color: rgba(255,255,255,.78); text-decoration: none; }
.mv-nav a:hover { color: #fff; }
.mv-hero h1 { font-size: clamp(2rem, 5vw, 2.9rem); margin: .1rem 0 .2rem; }
.mv-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1rem; }
.mv-chips span {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  padding: .3rem .75rem; border-radius: 999px; font-size: .78rem;
}
.mv-chips i { color: var(--brand-accent); margin-right: .3rem; }

.mv-alerta { max-width: 1120px; margin: 0 auto; padding: 1rem 16px 0; }
.mv-alerta:empty { display: none; }

.mv-wrap {
  max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 1.4rem;
  padding: 1.6rem 16px 1.2rem;
}
@media (min-width: 980px) { .mv-wrap { grid-template-columns: 1fr 360px; } }

.mv-sec-t { font-size: 1.4rem; margin: 0 0 .8rem; }
.mv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 1rem; }

.mv-svc {
  padding: 0; border: 2px solid transparent !important; text-align: left; font: inherit; color: inherit;
  cursor: pointer; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, border-color .18s ease;
}
.mv-svc:hover { transform: translateY(-3px); }
.mv-svc.sel { border-color: var(--brand-primary) !important; box-shadow: 0 12px 28px color-mix(in srgb, var(--brand-primary) 25%, transparent); }
.mv-ph { height: 104px; display: grid; place-items: center; font-size: 2.1rem; color: #fff; position: relative; }
.mv-ph small {
  position: absolute; left: .6rem; bottom: .5rem; background: rgba(255,255,255,.92); color: var(--brand-sidebar);
  font-size: .72rem; padding: .1rem .55rem; border-radius: 999px; font-weight: 600;
}
.mv-b { display: flex; flex-direction: column; gap: .3rem; padding: .8rem .9rem 1rem; flex: 1; }
.mv-nome { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 1.3rem; color: var(--brand-sidebar); line-height: 1.1; }
.mv-desc { font-size: .8rem; color: #64748b; line-height: 1.4; }
.mv-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .35rem; gap: .5rem; }
.mv-preco { font-weight: 700; color: var(--brand-primary); font-size: .88rem; }
.mv-pick { font-size: .76rem; font-weight: 700; color: var(--brand-primary); white-space: nowrap; }
.mv-pick-on { display: none; }
.mv-svc.sel .mv-pick-on { display: inline; }
.mv-svc.sel .mv-pick-off { display: none; }

.mv-panel { padding: 1.2rem; align-self: start; }
@media (min-width: 980px) { .mv-panel { position: sticky; top: 1rem; } }
.mv-panel h2 { font-size: 1.6rem; margin-bottom: .1rem; }
.mv-resumo { font-size: .82rem; color: #64748b; margin: 0 0 .3rem; }
.mv-panel .slot-btn { min-width: 62px; padding: .3rem .55rem; font-size: .88rem; }
.mv-sucesso { max-width: 560px; margin: 1rem auto 0; padding: 0 16px; }

/* ======================================================================
   MODELO 2 - PASSO A PASSO
   ====================================================================== */

.modelo-passo .mp-hero { padding: 1.1rem 1rem 3.6rem; text-align: center; }
.modelo-passo .mp-hero .icon-badge { width: 46px; height: 46px; font-size: 1.25rem; margin-bottom: .35rem; }
.modelo-passo .mp-hero .brand-logo { max-height: 44px; margin-bottom: .35rem; }
.mp-hero h1 { font-size: 1.9rem; }
.mp-hero p { font-size: .88rem; }
.mp-steps { max-width: 520px; margin: 1rem auto 0; display: flex; align-items: center; padding: 0 .4rem; }
.mp-dot {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.28);
  display: grid; place-items: center; font-size: .78rem; font-weight: 700; color: #fff; flex: none; transition: .2s;
}
.mp-dot.done { background: var(--brand-accent); border-color: var(--brand-accent); color: var(--brand-sidebar); }
.mp-dot.cur { background: #fff; border-color: #fff; color: var(--brand-primary); box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.mp-line { height: 3px; flex: 1; background: rgba(255,255,255,.22); margin: 0 4px; border-radius: 2px; }
.mp-line.done { background: var(--brand-accent); }
.mp-labels { max-width: 520px; margin: .35rem auto 0; display: flex; justify-content: space-between; font-size: .68rem; color: rgba(255,255,255,.72); }

.mp-alerta { max-width: 520px; margin: -2rem auto 0; padding: 0 12px; position: relative; z-index: 2; }
.mp-alerta:empty { display: none; }
.mp-main { max-width: 520px; margin: -2.2rem auto 7rem; padding: 1.5rem 1.4rem 1.3rem; width: calc(100% - 24px); position: relative; }
.mp-alerta:not(:empty) + .mp-main { margin-top: .6rem; }
.mp-main h2 { font-size: 1.75rem; line-height: 1.1; }
.mp-sub { color: #64748b; font-size: .88rem; margin: .35rem 0 1rem; }
.mp-pane { display: none; }
.mp-pane.ativo { display: block; }

.mp-opt {
  display: flex; align-items: center; gap: .75rem; width: 100%; text-align: left; border: 2px solid #e2e8f0; background: #fff;
  border-radius: 14px; padding: .75rem .85rem; margin-bottom: .6rem; font: inherit; color: inherit; cursor: pointer; transition: .15s;
}
.mp-opt:hover { border-color: color-mix(in srgb, var(--brand-primary) 35%, #e2e8f0); }
.mp-opt.on { border-color: var(--brand-primary); background: color-mix(in srgb, var(--brand-primary) 7%, white); }
.mp-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; flex: none;
  background: color-mix(in srgb, var(--brand-accent) 25%, white); color: var(--brand-primary);
}
.mp-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; background: var(--brand-secondary); }
.mp-t { flex: 1; min-width: 0; }
.mp-t b { display: block; font-size: .95rem; }
.mp-t span { font-size: .78rem; color: #64748b; }
.mp-pr { font-weight: 700; color: var(--brand-primary); font-size: .84rem; text-align: right; }
.mp-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cbd5e1; flex: none; display: grid; place-items: center; }
.mp-opt.on .mp-radio { border-color: var(--brand-primary); }
.mp-opt.on .mp-radio::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--brand-primary); }
.mp-resumo { background: color-mix(in srgb, var(--brand-accent) 14%, white); border-radius: 12px; padding: .75rem .9rem; margin-bottom: .9rem; font-size: .88rem; line-height: 1.6; }
.mp-resumo b { color: var(--brand-sidebar); }
.mp-main .form-control, .mp-main .form-select { padding: .65rem .8rem; }
.mp-main .slot-btn { min-width: 74px; padding: .5rem .6rem; }
.mp-main .btn-confirmar-agendamento { display: none; }
.mp-sucesso { max-width: 520px; margin: -2.2rem auto 2rem; padding: 0 12px; position: relative; }
.mp-sucesso .card { margin: 0; }

.mp-bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-top: 1px solid #e2e8f0; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); display: flex; justify-content: center;
}
.mp-bottom-in { width: 100%; max-width: 520px; display: flex; gap: .6rem; }
.mp-bottom .btn { padding: .7rem 1rem; }
.mp-bottom.oculto { display: none; }
.modelo-passo .modelo-rodape { padding-bottom: 5rem; }

/* ======================================================================
   MODELO 3 - ELEGANTE
   ====================================================================== */

.modelo-elegante { background: #fff; }
.me-split { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 900px) { .me-split { grid-template-columns: 38% 62%; } }

.side-brand {
  background: var(--brand-sidebar);
  background-image:
    radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--brand-primary) 35%, transparent), transparent 55%),
    radial-gradient(ellipse at 100% 100%, color-mix(in srgb, var(--brand-accent) 22%, transparent), transparent 50%);
  color: #fff; padding: 1.8rem 8vw 1.6rem; position: relative; overflow: hidden;
}
@media (min-width: 900px) {
  .side-brand { position: sticky; top: 0; height: 100vh; padding: 3.2rem 2.7rem 2.5rem; display: flex; flex-direction: column; justify-content: space-between; }
}
.side-brand::after {
  content: ""; position: absolute; right: -70px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 35%, transparent);
  box-shadow: 0 0 0 34px color-mix(in srgb, var(--brand-accent) 7%, transparent), 0 0 0 68px color-mix(in srgb, var(--brand-accent) 5%, transparent);
  pointer-events: none;
}
.side-brand .icon-badge { margin: 0 0 1rem; background: color-mix(in srgb, var(--brand-accent) 25%, transparent); color: #fff; }
.side-brand .brand-logo { margin: 0 0 1rem; }
.side-brand h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.4rem); line-height: 1; font-weight: 600; }
.side-brand h1 em { color: var(--brand-accent); }
.side-brand p { color: rgba(255,255,255,.72); line-height: 1.6; max-width: 330px; margin: .9rem 0 0; font-size: .92rem; }
.me-info { margin-top: 1.4rem; font-size: .85rem; color: rgba(255,255,255,.75); line-height: 2; position: relative; z-index: 1; }
.me-info i { color: var(--brand-accent); width: 1.5rem; display: inline-block; }
.me-links a { color: rgba(255,255,255,.75); text-decoration: none; margin-right: 1rem; font-size: .8rem; }
.me-links a:hover { color: #fff; }
.me-links { margin-top: .4rem; }

.me-main { padding: 2rem 8vw 3.5rem; max-width: 780px; }
@media (min-width: 900px) { .me-main { padding: 3.2rem 3.5rem 3.5rem; } }
.me-sec { padding: 1.5rem 0; border-top: 1px solid #e2e8f0; }
#cardFormulario > .me-sec:first-of-type, .me-sec.primeira { border-top: 0; padding-top: 0; }
.me-n { font-family: 'Cormorant Garamond', Georgia, serif; font-size: .95rem; color: var(--brand-accent); letter-spacing: .2em; font-weight: 700; }
.me-sec h2 { font-size: 1.9rem; margin: .1rem 0 .8rem; }
.me-it { display: flex; align-items: baseline; gap: .6rem; padding: .75rem .25rem; border: 0; border-bottom: 1px solid #eef2f6; cursor: pointer; background: none; font: inherit; color: inherit; text-align: left; width: 100%; }
.me-nm { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.4rem; flex: none; color: var(--brand-sidebar); font-weight: 600; }
.me-du { font-size: .75rem; color: #94a3b8; }
.me-dots { flex: 1; border-bottom: 1px dotted #cbd5e1; transform: translateY(-4px); min-width: 12px; }
.me-pr { color: #64748b; font-size: .88rem; white-space: nowrap; }
.me-it.on .me-nm { color: var(--brand-primary); font-style: italic; }
.me-it.on .me-nm::before { content: "— "; font-style: normal; }
.me-it.on .me-pr { color: var(--brand-primary); font-weight: 700; }
.me-main .modelo-dias { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; gap: .4rem; }
.me-main .modelo-dias .m-dia { flex: none; width: 60px; border-radius: 8px; border-color: #cbd5e1; color: #1e293b; padding: .5rem 0; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.me-main .modelo-dias .m-dia b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.6rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: inherit; line-height: 1.1; }
.me-main .modelo-dias .m-dia.on { background: var(--brand-sidebar); border-color: var(--brand-sidebar); color: var(--brand-accent); }
.me-main .modelo-dias .m-dia.on b { color: #fff; }
.me-main .slot-btn { padding: .45rem 1.05rem; border-radius: 6px; letter-spacing: .03em; }
.me-main .form-control, .me-main .form-select {
  border: 0; border-bottom: 1.5px solid #cbd5e1; border-radius: 0; background-color: transparent; padding-left: 0; box-shadow: none;
}
.me-main .form-control:focus, .me-main .form-select:focus { border-bottom-color: var(--brand-primary); box-shadow: none; }
.me-main .btn-primary { border-radius: 6px; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; padding: .85rem 1rem; }
.me-sucesso { margin-top: 1rem; }

/* ======================================================================
   Páginas secundárias (pacotes, minhas sessões, política, minha área, remarcar,
   meu agendamento, avaliação) - acabamento de cada modelo
   ====================================================================== */

/* Vitrine: cartões com contorno suave e botões arredondados */
.modelo-vitrine .card-rounded { border: 1px solid color-mix(in srgb, var(--brand-accent) 16%, white); }
.modelo-vitrine .btn { border-radius: 12px; }

/* Passo a passo: faixa compacta, cartão sobreposto e campos maiores */
.modelo-passo .public-hero:not(.mp-hero) { padding-top: 1.1rem !important; padding-bottom: 3.2rem !important; margin-bottom: 0 !important; }
.modelo-passo .public-hero:not(.mp-hero) .icon-badge { width: 46px; height: 46px; font-size: 1.25rem; }
.modelo-passo .public-hero:not(.mp-hero) + .container { margin-top: -2.4rem; position: relative; }
.modelo-passo .form-control, .modelo-passo .form-select { padding: .65rem .8rem; }
.modelo-passo .btn-primary { padding: .7rem 1rem; }
.modelo-passo .aura-card { border-radius: 22px; }

/* Elegante: página branca, cabeçalho à esquerda, campos de linha e botões discretos */
.modelo-elegante .public-hero:not(.mp-hero) { border-radius: 0; text-align: left; padding: 1.4rem 8vw !important; display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem !important; box-shadow: none; }
.modelo-elegante .public-hero:not(.mp-hero) .icon-badge, .modelo-elegante .public-hero:not(.mp-hero) .brand-logo { margin: 0; flex: none; }
.modelo-elegante .public-hero:not(.mp-hero) h2, .modelo-elegante .public-hero:not(.mp-hero) h3 { font-size: 1.9rem; margin: 0 !important; }
.modelo-elegante .public-hero:not(.mp-hero) p { margin: 0 !important; margin-left: auto !important; font-size: .82rem; }
.modelo-elegante .card-rounded { box-shadow: none; border: 1px solid #e2e8f0; border-radius: 6px; }
.modelo-elegante .aura-bg { background: #fff; background-image: none; }
.modelo-elegante .aura-card { box-shadow: none; border: 1px solid #e2e8f0; border-radius: 6px; }
.modelo-elegante .form-control, .modelo-elegante .form-select { border: 0; border-bottom: 1.5px solid #cbd5e1; border-radius: 0; background-color: transparent; padding-left: 0; box-shadow: none; }
.modelo-elegante .form-control:focus, .modelo-elegante .form-select:focus { border-bottom-color: var(--brand-primary); box-shadow: none; }
.modelo-elegante .btn-primary { border-radius: 6px; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; }

@media (prefers-reduced-motion: reduce) {
  .mv-svc, .mp-opt, .mp-dot { transition: none !important; }
}
