/* Meet (meet.daniloborguetti.com.br) — tema light do design system GTM Pro (gtmpro/DESIGN.md) */
@font-face {
  font-family: 'Aeonik';
  src: url('/assets/fonts/Aeonik-Bold-1.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg:         #F6F6F9;
  --bg-2:       #ECEEF4;
  --bg-card:    #FFFFFF;
  --blue:       #2E6FE0;
  --blue-deep:  #1A42FF;
  --purple:     #3E8FE0;
  --grad:       linear-gradient(135deg, #1A42FF 0%, #58AEFF 100%);
  --grad-text:  linear-gradient(90deg, #4A88FF 0%, #88CCFF 100%);
  --text:       #0A0B18;
  --muted:      #5A637A;
  --border:     rgba(74,136,255,.16);
  --border-md:  rgba(74,136,255,.32);
  --r:          12px;
  --r-lg:       20px;
  --ok:         #1F9D62;
  --danger:     #D64545;
  --warn:       #B7791F;
  --shadow:     0 8px 32px rgba(26,66,255,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: .92rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .h1, .h2, .h3 { font-family: 'Aeonik', 'Sora', sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.h3 { font-size: 1.05rem; }
.sub { font-size: .97rem; color: var(--muted); line-height: 1.7; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.gt { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; width: 100%; }
.lbl {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple); border: 1px solid rgba(88,174,255,.28); border-radius: 100px; padding: 5px 12px;
}
.lbl::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--purple); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #fff; border: 0; cursor: pointer;
  font-family: 'Aeonik', 'Sora', sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  padding: 12px 26px; border-radius: 100px; white-space: nowrap;
  transition: filter .2s, transform .2s, box-shadow .2s;
}
.btn:hover { filter: brightness(1.12); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(26,66,255,.35); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; filter: none; }
.btn-sm { font-size: .82rem; padding: 8px 18px; }
.btn-ghost { background: none; color: var(--blue); border: 1px solid var(--border-md); box-shadow: none; }
.btn-ghost:hover { box-shadow: none; filter: none; background: rgba(74,136,255,.06); transform: none; }
.btn-danger { background: none; color: var(--danger); border: 1px solid rgba(214,69,69,.35); }
.btn-danger:hover { box-shadow: none; filter: none; background: rgba(214,69,69,.06); transform: none; }
.btn-block { width: 100%; }
.link { color: var(--blue); cursor: pointer; background: none; border: 0; padding: 0; font-weight: 500; }
.link:hover { text-decoration: underline; }

/* ---------- Header / Footer ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(246,246,249,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.hdr .container { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
.hdr .logo { display: flex; align-items: center; gap: 10px; font-family: 'Aeonik', sans-serif; font-weight: 700; }
.hdr .logo img { height: 26px; width: auto; }
.hdr .logo span { font-size: .78rem; color: var(--muted); font-family: 'Sora', sans-serif; font-weight: 500; border-left: 1px solid var(--border-md); padding-left: 10px; }
.ftr { border-top: 1px solid var(--border); padding: 22px 0; font-size: .78rem; color: var(--muted); }
.ftr .container { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.ftr a { color: var(--muted); }
.ftr a:hover { color: var(--blue); }

/* ---------- Cards / Forms ---------- */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .8rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--danger); }
.field .hint { font-size: .74rem; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=date], input[type=time], input[type=color], select, textarea {
  width: 100%; background: #fff; border: 1px solid var(--border-md); border-radius: 10px;
  padding: 10px 12px; font-size: .9rem; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,111,224,.14); }
textarea { min-height: 92px; resize: vertical; }
input[type=color] { padding: 2px; height: 40px; width: 56px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.check { display: flex; align-items: center; gap: 8px; font-size: .86rem; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--blue); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 100px; background: rgba(74,136,255,.08); color: var(--blue); }
.pill.ok { background: rgba(31,157,98,.1); color: var(--ok); }
.pill.danger { background: rgba(214,69,69,.1); color: var(--danger); }
.pill.warn { background: rgba(183,121,31,.12); color: var(--warn); }
.alert { padding: 12px 14px; border-radius: 10px; font-size: .86rem; margin-bottom: 14px; border: 1px solid; }
.alert.err { background: rgba(214,69,69,.06); border-color: rgba(214,69,69,.3); color: #8d2e2e; }
.alert.ok { background: rgba(31,157,98,.07); border-color: rgba(31,157,98,.3); color: #176b45; }
.alert.warn { background: rgba(183,121,31,.08); border-color: rgba(183,121,31,.3); color: #7a5114; }
.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--border-md); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; margin: 24px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }

/* ---------- Página pública ---------- */
.page { padding: 36px 0 60px; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.type-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; border-top: 4px solid var(--blue); transition: transform .2s, box-shadow .2s; }
.type-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(26,66,255,.14); }
.type-card .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.type-card p { color: var(--muted); font-size: .86rem; flex: 1; }

.book { display: grid; grid-template-columns: 300px 1fr; min-height: 520px; overflow: hidden; }
.book .side { padding: 28px 26px; border-right: 1px solid var(--border); background: var(--bg-2); display: flex; flex-direction: column; gap: 10px; }
.book .side .host { font-size: .82rem; color: var(--muted); font-weight: 500; }
.book .side .title { font-size: 1.35rem; margin: 2px 0 6px; }
.book .side .info { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--muted); }
.book .side .info strong { color: var(--text); font-weight: 600; }
.book .side .desc { font-size: .84rem; color: var(--muted); margin-top: 6px; white-space: pre-line; }
.book .main { padding: 28px 26px; }
.steps { display: grid; grid-template-columns: 1fr 200px; gap: 24px; }
.steps.one { grid-template-columns: 1fr; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head .month { font-family: 'Aeonik', sans-serif; font-weight: 700; font-size: 1.02rem; text-transform: capitalize; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-md); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--blue); }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .dow { text-align: center; font-size: .68rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; padding: 6px 0; }
.cal-grid .day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-size: .9rem; font-weight: 500; color: #B3B9C9; border: 0; background: none; }
.cal-grid .day.avail { background: rgba(46,111,224,.09); color: var(--blue); font-weight: 600; cursor: pointer; }
.cal-grid .day.avail:hover { background: rgba(46,111,224,.18); }
.cal-grid .day.sel { background: var(--grad); color: #fff; }
.cal-grid .day.today { text-decoration: underline; text-underline-offset: 4px; }
.tzsel { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.tzsel label { font-size: .74rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.tzsel select { padding: 8px 10px; font-size: .84rem; }

.times h4 { font-size: .9rem; font-weight: 600; margin-bottom: 10px; text-transform: capitalize; }
.times .list { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.times .slot { display: flex; gap: 6px; }
.times .slot > button { flex: 1; padding: 10px; border-radius: 10px; border: 1px solid var(--border-md); background: #fff; color: var(--blue); font-weight: 600; cursor: pointer; transition: background .15s; }
.times .slot > button:hover { background: rgba(46,111,224,.06); }
.times .slot.open > button.t { background: var(--muted); color: #fff; border-color: transparent; }
.times .slot .go { display: none; background: var(--grad); color: #fff; border: 0; }
.times .slot.open .go { display: block; }
.times .empty { color: var(--muted); font-size: .86rem; padding: 10px 0; }

.form-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.form-head button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-md); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--blue); }
.done { text-align: center; padding: 40px 24px; max-width: 560px; margin: 0 auto; }
.done .ok-ico { width: 60px; height: 60px; border-radius: 50%; background: rgba(31,157,98,.12); display: grid; place-items: center; margin: 0 auto 16px; color: var(--ok); }
.done .box { text-align: left; margin: 22px 0; padding: 18px; background: var(--bg-2); border-radius: var(--r); display: flex; flex-direction: column; gap: 8px; font-size: .9rem; }
.done .box .info { display: flex; gap: 10px; align-items: flex-start; }
.done .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

@media (max-width: 860px) {
  .book { grid-template-columns: 1fr; }
  .book .side { border-right: 0; border-bottom: 1px solid var(--border); padding: 22px 18px; }
  .book .main { padding: 22px 18px; }
  .steps { grid-template-columns: 1fr; }
  .times .list { max-height: none; }
  .row { grid-template-columns: 1fr; }
}
