/* Page CSS shared by index.html and servicos.html (the kit's own files stay untouched).
   Same rules on the three Sorocaba previews; a rule a page does not use matches nothing. */
#visit .hours, .serv .hours { margin: 0; }
#visit .hours dd { white-space: nowrap; }

/* a head row on the grid: the h2 on columns 1-6, its line from the split line */
.head-row { margin-bottom: var(--s-8); align-items: start; }
.head-row p { margin: 0; }
.head-row p .ic { vertical-align: -6px; margin-right: 6px; }

/* the offer: groups on the left span-6, two 3:5 photographs on the right span-6 */
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.groups .t-label { margin: 0 0 12px; }
.rows a.rows__name { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.pair > a { display: block; overflow: hidden; }
.pair > a > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 5; object-fit: cover; max-height: calc(var(--pl-room, 708px) - 170px); }

/* the detail strip: four 1:1 under the groups */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-7); }
.strip > a { display: block; overflow: hidden; }
.strip > a > img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 1024px) { .strip > a > img { max-height: calc(var(--pl-room, 708px) - 300px); } }

/* the offset trio: 4:5 on span-5, 1:1 on span-4, 4:3 on span-3, tops on one line */
.trio { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: var(--s-5); align-items: start; }
.trio > a { display: block; overflow: hidden; }
.trio > a > img { display: block; width: 100%; height: auto; object-fit: cover; }
.trio > a:nth-child(1) > img { aspect-ratio: 4 / 5; }
.trio > a:nth-child(2) > img { aspect-ratio: 1; }
.trio > a:nth-child(3) > img { aspect-ratio: 4 / 3; }
@media (min-width: 1024px) { .trio > a:nth-child(1) > img { max-height: calc(var(--pl-room, 708px) - 150px); } }

/* a wide photograph from line to line under the head row */
.bleed { margin-top: var(--s-8); overflow: hidden; }
.bleed img { display: block; width: 100%; height: min(520px, calc(var(--pl-room, 708px) - 170px)); object-fit: cover; }

/* the story (about): text and who attends on the left, a photograph on the right */
.story > h2 { margin: 0 0 var(--s-5); }
.story > .t-lead { margin: 0 0 var(--s-7); max-width: 34em; }
.story > .t-label { margin: 0 0 12px; }
.story .rows__value { color: var(--muted); font-weight: 400; text-align: right; }

/* contact: WhatsApp and Instagram with their own marks */
.canais { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.canal { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--r-sm, 6px); color: var(--ink); text-decoration: none; font-weight: 500; background: var(--bg); transition: border-color .2s, transform .2s; }
.canal:hover { border-color: var(--ink); transform: translateY(-2px); }
.canal:active { transform: translateY(0); }
.socials { display: flex; gap: var(--s-2); }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }

/* Google reviews: three quotes, each with its stars, first name and when */
.review { margin: 0; padding: var(--s-6); background: var(--surface); border-radius: var(--r-md, 10px); display: flex; flex-direction: column; gap: var(--s-4); }
.review__stars { margin: 0; color: #e7a51b; letter-spacing: 2px; font-size: 18px; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; font-size: 18px; line-height: 28px; }
.review figcaption { color: var(--muted); font-size: 14px; }

/* the services page: one block per service */
.serv .t-label { margin: var(--s-6) 0 8px; }
.serv .t-label:first-of-type { margin-top: var(--s-5); }
.serv p { margin: 0; }
.passos { margin: 0; padding: 0; list-style: none; counter-reset: p; }
.passos li { counter-increment: p; display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.passos li::before { content: counter(p); font-weight: 500; color: var(--accent); }
.serv .btn { margin-top: var(--s-6); }
.indice { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.indice a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); text-decoration: none; }
.indice a:hover { border-color: var(--ink); }

/* the hero film (Hyperframes): over the hero photograph on desktop only, shown once it plays, ends on the same frame */
.hero__film { position: absolute; left: 0; right: 0; top: var(--nav); height: var(--photo); width: 100%; object-fit: cover; z-index: 0; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.hero__film.is-playing { opacity: 1; }
@media (max-width: 1023px) { .hero__film { display: none; } }

/* the close photograph inside a <picture> (a phone crop): the same rule system.css gives .close__media > img */
.close__media > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }

@media (max-width: 1023px) { .pair, .ts { margin-top: var(--s-7); } .reviews > .review { grid-column: 1 / -1; } }
@media (max-width: 1023px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .groups { grid-template-columns: 1fr; gap: var(--s-6); }
  .pair { margin-top: var(--s-6); }
  .pair > a > img { aspect-ratio: 4 / 5; }
  .strip { gap: var(--s-3); }
  .trio { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
  .trio > a:nth-child(1) { grid-column: 1 / -1; }
  .trio > a > img, .trio > a:nth-child(1) > img, .trio > a:nth-child(2) > img { aspect-ratio: 4 / 3; }
  .bleed img { height: auto; aspect-ratio: 4 / 5; }
  .review { padding: var(--s-5); }
  .review blockquote p { font-size: 16px; line-height: 26px; }
  .canal { flex: 1 1 100%; justify-content: center; }
}

/* the reviews row: one height; the paraphrased points under it */
.reviews { align-items: stretch; }
.elogios { margin-top: var(--s-8); row-gap: 0; }
.elogios > .t-label { margin: 0 0 12px; }
.elogios > p:not(.t-label) { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 16px; line-height: 26px; }
@media (max-width: 1023px) { .elogios > p:not(.t-label) { grid-column: 1 / -1; padding-bottom: 12px; } }
@media (max-width: 639px) {
  .reviews { row-gap: var(--s-6); }
  .review { padding: var(--s-6) var(--s-5); }
  .elogios { margin-top: var(--s-9, 96px); }
  .elogios > p:not(.t-label) { padding: 16px 0; }
}
@media (max-width: 639px) {
  .reviews { row-gap: 40px; }
  .review { padding: 40px 24px; gap: 20px; }
  .elogios { margin-top: 120px; }
}

.serv__acao { margin-top: var(--s-6) !important; font-size: 18px; font-weight: 500; }
.serv__acao a { display: inline-flex; align-items: center; min-height: 44px; }
.grupos .t-label { margin: 0 0 12px; }
@media (max-width: 639px) { [data-two-reviews] .review { min-height: 400px; } [data-two-reviews] .elogios { margin-top: 140px; } }
@media (max-width: 639px) { .grupos > div + div { margin-top: 48px; } .grupos + .strip { margin-top: 72px; } }

/* ajustes 2026-11-17 ----------------------------------------------------------------------------
   seções na altura do próprio conteúdo: o ritmo "uma seção por tela" deixava meia tela vazia entre elas */
main > :is(section, .section):not(.hero, .section--hero), footer.closing {
  height: auto !important; min-height: 0 !important; padding: 96px 0 calc(96px + var(--bar));
}
main > :is(section, .section):not(.hero, .section--hero) > :is(.wrap, .container), footer.closing > .wrap { height: auto; }
main > :is(section, .section):not(.hero, .section--hero) + :is(section, .section) { padding-top: 32px; }
@media (max-width: 639px) {
  main > :is(section, .section):not(.hero, .section--hero), footer.closing { padding: 64px 0 calc(64px + var(--bar)); }
  main > :is(section, .section):not(.hero, .section--hero) + :is(section, .section) { padding-top: 16px; }
}
/* contato: o dia, o horário e o telefone numa linha só */
#visit .visit__cols { grid-template-columns: minmax(0, 1fr); }
#visit .hours { grid-template-columns: auto auto; justify-content: start; }
#visit .hours dt, #visit a[href^="tel:"] { white-space: nowrap; }
#visit .canal svg.ic { flex: none; }
/* o nome inteiro no logo; entre 640 e 1100 px, onde o menu aparece ao lado, só "Channel" */
.nav__logo-sub { white-space: pre; }
@media (min-width: 640px) and (max-width: 1100px) { .nav__logo-sub { display: none; } }
