/* Equipe Start: extra styles for /agendar/ and /area-do-aluno/ (base classes live in styles.css). */
[hidden] { display: none !important; }
html:not(.js) .js-only { display: none; }
#exemplo, #agendar, .step { scroll-margin-top: 90px; }
#exemplo:focus, .done:focus { outline: none; }

/* Agendar */
.page-head + .book-sec { padding-top: 0; }
.choice-wrap { display: flex; flex-direction: column; gap: 8px; }
.choice { flex: 1; min-height: 150px; }
.choice .when { margin-top: 8px; color: var(--ink); }
.choice .when + .when { color: var(--ink-2); }
.maplink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 600; text-underline-offset: 4px; align-self: flex-start; }
.maplink svg { width: 16px; height: 16px; }
.step-hint { font-size: 16px; color: var(--ink-2); margin-bottom: 14px; }
.slotbtn { min-height: 92px; }
.slotbtn small { font-weight: 600; color: var(--ink); }
.bookform .opt { font-weight: 400; color: var(--ink-2); }
.bookform label > span { display: inline; }
.bookform input:focus, .bookform select:focus, .login input:focus { outline: 3px solid var(--sun-deep); outline-offset: 1px; border-color: var(--ink); }
.summary .btn[disabled] { opacity: 1; background: #4a4946; border-color: #4a4946; color: #cfcdc7; }
.sum-hint { font-size: 15px; color: #cfcdc7; margin: 12px 0 0; }
.sum-alt { font-size: 15px; margin: 10px 0 0; }
.sum-alt a { color: var(--paper); text-underline-offset: 4px; display: inline-block; padding: 8px 0; }

.done { border: 2px solid var(--ink); border-radius: 10px; padding: clamp(20px, 3vw, 40px); }
.done h2 { font-size: clamp(32px, 3.4vw, 48px); margin: 14px 0 8px; }
.demo-line { font-size: 16px; color: var(--ink-2); max-width: 40em; }
.done-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 22px; }
.done-facts { margin: 0 0 20px; border-top: 2px solid var(--ink); }
.done-facts dt { font-size: 14px; color: var(--ink-2); margin-top: 14px; }
.done-facts dd { margin: 2px 0 0; font: 700 clamp(24px, 2.4vw, 30px)/1.1 var(--display); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.done-facts dd .link { font: 600 16px/1.3 var(--body); white-space: nowrap; }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 14px; }
.linkbtn { background: none; border: 0; padding: 10px 0; font: 600 16px/1.2 var(--body); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.phone-cap { font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 10px; }
.phone .when-cap { font-size: 12px; text-align: center; color: #5d5a54; margin: 10px 0 6px; }
.phone .bubble:last-child { margin-bottom: 0; }
.fake-link { text-decoration: underline; color: #1a5fb4; }
.phone-note { font-size: 14px; color: var(--ink-2); margin-top: 10px; max-width: 360px; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.points { list-style: none; margin: 0; padding: 0; }
.points li { padding: 14px 0; border-top: 1px solid var(--stone); font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.points li:first-child { border-top: 2px solid var(--ink); }
.points b { display: block; font: 700 23px/1.1 var(--display); color: var(--ink); margin-bottom: 4px; }
.board-fig { background: var(--paper); border-radius: 10px; padding: clamp(14px, 2vw, 26px); }
.board td small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.board th:nth-child(n+4), .board td:nth-child(n+4) { text-align: right; }
.board tr:last-child td { border-bottom: 0; }
.board-fig figcaption { font-size: 14px; margin-top: 14px; }
.board-fig .demo-tag { margin-right: 6px; }

@media (max-width: 900px) {
  .done-grid, .split { grid-template-columns: 1fr; }
  .choice { min-height: 0; }
}
@media (max-width: 560px) {
  .days { grid-template-columns: 1fr 1fr; }
  .done-actions .btn { width: 100%; }
  .board { font-size: 14px; }
  .board th, .board td { padding: 10px 6px; }
  .board th { font-size: 12px; letter-spacing: .02em; }
  .summary { padding: 22px 18px; }
}

/* Área do Aluno */
.aluno-top { padding-top: 0; }
.aluno-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.login h2 { font-size: clamp(30px, 3vw, 38px); margin-bottom: 18px; }
.login .link { display: inline-block; padding: 8px 0; }
.login-msg { font-weight: 600; color: var(--ink) !important; }
.login-msg:empty { display: none; }
.quick h2, .aluno-cols h2 { font-size: clamp(30px, 3vw, 40px); }
.quick a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.quick a:first-of-type { border-top: 2px solid var(--ink); }
.quick a b { font: 700 24px/1.1 var(--display); }
.quick a span { grid-column: 1; font-size: 15px; color: var(--ink-2); }
.quick a svg { grid-column: 2; grid-row: 1 / span 2; width: 24px; height: 24px; }
.quick a:hover b { text-decoration: underline; text-decoration-color: var(--sun-deep); text-underline-offset: 4px; }
.next-card { background: var(--ink); color: var(--paper); border-radius: 10px; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; max-width: 620px; }
.next-card span { font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--sun); }
.next-card b { font: 700 clamp(24px, 2.6vw, 32px)/1.1 var(--display); }
.plan-h { margin: 34px 0 0; }
.plan-week div strong { display: block; font-size: 15px; margin-bottom: 2px; }
.plan-week div { color: var(--ink-2); }
.plan-week div b, .plan-week div strong { color: var(--ink); }
.aluno-cols { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.cal-note { font-size: 15px; color: var(--ink-2); max-width: 36em; }
.cal { border-top: 2px solid var(--ink); }
.notices { border-top: 2px solid var(--ink); }
.notice { display: block; text-decoration: none; padding: 18px 0; border-bottom: 1px solid var(--line); }
.notice time { font-size: 14px; color: var(--ink-2); }
.notice h3 { font-size: 24px; margin: 4px 0 6px; }
.notice p { font-size: 15px; color: var(--ink-2); margin: 0; }
.notice:hover h3 { text-decoration: underline; text-decoration-color: var(--sun-deep); text-underline-offset: 4px; }
@media (max-width: 900px) {
  .aluno-grid, .aluno-cols { grid-template-columns: 1fr; }
  .plan-week div { min-height: 0; }
  .plan-week div:last-child { grid-column: 1 / -1; }
}
.crumb a { display: inline-block; padding: 8px 0; }
.acc .link, .cal-note a { display: inline-block; padding: 6px 0; }
.bookform .opt { font-style: normal; }
.board .sm { display: none; }
.board th:nth-child(n+4), .board td:nth-child(n+4) { white-space: nowrap; }
@media (max-width: 560px) {
  .board .lg { display: none; }
  .board th .sm { display: inline; }
  .board td small.sm { display: block; white-space: nowrap; }
  .cal li { row-gap: 2px; }
}
.slotbtn { display: flex; flex-direction: column; justify-content: flex-start; }

/* ---- Review pass 2 (agendar) ---- */
body:has(.book-sec) .wa { display: none; }

.agendar-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(24px, 4vw, 56px); align-items: end; }
.agendar-head img { width: 100%; height: 260px; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius); }
.agendar-head .lede { margin-bottom: 0; }

/* location cards: the wrapper is the card, the button fills it, the map link sits inside */
.choice-wrap { gap: 0; border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.choice-wrap:hover { border-color: var(--ink); }
.choice-wrap:has(.choice[aria-pressed="true"]) { border-color: var(--ink); background: var(--sun); }
.choice-wrap .choice { border: 0; background: transparent; min-height: 0; width: 100%; padding-bottom: 6px; border-radius: 4px; }
.choice-wrap .maplink { margin: 0 20px 8px; }
.sat-note { font-size: 15px; color: var(--ink-2); margin: 14px 0 0; }

.days { grid-auto-rows: 1fr; }
.slotbtn { min-height: 96px; height: 100%; }

.bookform select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141413' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }

.summary .btn[disabled], .bookbar .btn[disabled] { opacity: .45; background: var(--sun); border-color: var(--sun); color: var(--ink); cursor: not-allowed; }
.alt-mobile, .bookbar { display: none; }

/* confirmation: no frame, phone level with the heading */
.done { border: 0; border-radius: 0; padding: 0; }
.done-grid { margin-top: 0; }
.done .demo-tag { background: transparent; color: var(--ink-2); border: 1.5px solid var(--stone); font-size: 12px; padding: 4px 7px; }
.done-facts dd .maprow { display: table; margin-top: 8px; white-space: nowrap; }
.fake-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.phone-cap { margin-top: 4px; }

@media (max-width: 900px) {
  .agendar-head .wrap { grid-template-columns: 1fr; }
  .agendar-head img { height: 170px; }
  .book .summary { display: none; }
  .alt-mobile { display: block; margin: 16px 0 0; font-size: 16px; }
  .alt-mobile a { display: inline-block; padding: 8px 0; }
  .bookbar { display: flex; align-items: center; gap: 12px; position: sticky; bottom: var(--preview-bar-h, 0px); z-index: 30;
    background: var(--ink); color: var(--paper); margin: 8px calc(var(--gut) * -1) 0; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px)); }
  .bookbar p { margin: 0; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .bookbar b { font: 700 20px/1.1 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bookbar span { font-size: 13px; line-height: 1.25; color: #cfcdc7; }
  .bookbar .btn { flex: none; min-height: 48px; padding: 0 18px; }
  .done-grid { gap: 28px; }
}
.agendar-head .lede { margin-bottom: 10px; }
.head-alt { font-size: 16px; color: var(--ink-2); margin: 0; }
.head-alt a { display: inline-block; padding: 6px 0; color: var(--ink); }

/* suggestions lead the page; the full flow follows */
.or-h { font-size: clamp(28px, 3vw, 40px); margin: clamp(36px, 5vw, 64px) 0 18px; scroll-margin-top: 90px; }

/* Phones: the suggested slots come first, so the team photo steps aside */
@media (max-width: 900px) { .agendar-head img { display: none; } .agendar-head { padding-bottom: 20px; } }
