/* Direção visual do atendimento: aplicada sobre os componentes e dados existentes. */
:root {
  --paper: #f2e8de;
  --white: #fffaf6;
  --ink: #422a1d;
  --soft: #70584a;
  --line: #e5d3c4;
  --accent: #c7aa95;
}

body { background: #f8f1eb; }
html { scroll-padding-top: 92px; }
.site-header { background: rgba(255, 250, 246, .95); border-bottom-color: rgba(66, 42, 29, .1); }
.header-inner { min-height: 78px; }
.menu-toggle { display: none; }
.motion-enabled [data-reveal] { transform: translate3d(0, 14px, 0); transition: opacity .55s ease, transform .65s cubic-bezier(.2, .72, .2, 1); }
.motion-enabled [data-reveal].in-view { transform: none; }

/* A profissional */
.professional-section { padding: 70px 0 80px; background: radial-gradient(circle at 78% 20%, #ead8cb, transparent 48%), #f7eee7; }
.professional-section::before { background: none; }
.professional-layout { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(30px, 5vw, 80px); }
.professional-copy { padding: 36px 0; }
.professional-copy h1 { max-width: 660px; margin-top: 27px; font-size: clamp(56px, 6.1vw, 88px); line-height: 1.02; }
.professional-copy h1 em { color: #9b6c54; }
.professional-copy .lead { max-width: 440px; margin-top: 25px; color: #634b3f; font-size: 16px; line-height: 1.7; }
.professional-copy .hero-book-button { position: relative; justify-content: center; min-height: 57px; margin-top: 30px; padding: 0 30px; overflow: hidden; border: 1px solid #ad8369; border-radius: 999px; background: linear-gradient(120deg, #523526, #422a1d 58%, #68442f); color: #fffaf6; font-size: 13px; font-weight: 700; letter-spacing: .025em; box-shadow: 0 16px 32px rgba(66, 42, 29, .2), inset 0 1px rgba(255, 244, 234, .18); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease; }
.professional-copy .hero-book-button::before { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(255, 240, 224, .2); border-radius: inherit; pointer-events: none; }
@media (hover: hover) { .professional-copy .hero-book-button:hover { transform: translateY(-2px); border-color: #d5b49c; background: linear-gradient(120deg, #63412d, #4d3021 58%, #7a5036); box-shadow: 0 20px 36px rgba(66, 42, 29, .25), inset 0 1px rgba(255, 244, 234, .2); } }
.professional-copy .hero-book-button:active { transform: translateY(0); }
.professional-caption { margin-top: 65px; }
.professional-gallery { padding-top: 0; }
.portrait-feature { position: relative; width: 100%; height: min(650px, 51vw); min-height: 440px; margin: 0; overflow: hidden; border-radius: 28px; background: #e7d8cc; box-shadow: 0 20px 45px rgba(66, 42, 29, .16); }
.portrait-feature img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 39%; }
.portrait-feature figcaption { position: absolute; right: 18px; bottom: 18px; padding: 12px 16px; border: 1px solid rgba(255, 250, 246, .5); border-radius: 12px; background: rgba(255, 250, 246, .88); color: #422a1d; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.booking-context-visible .floating-booking { display: none; }

/* Catálogo */
.services-section { padding: 85px 0 105px; background: #f2e8de; }
.services-section::before { background: rgba(250, 245, 240, .93); }
.section-heading { padding-bottom: 20px; }
.heading-line { align-items: end; margin-top: 17px; }
.section-heading h2 { font-size: clamp(48px, 5.3vw, 72px); line-height: 1.04; }
.heading-line > p { max-width: 350px; color: #71594a; font-size: 15px; line-height: 1.6; }
.care-progress { border-radius: 19px; background: rgba(255, 250, 246, .94); }
.folder-tabs { display: flex; align-items: center; gap: 9px; margin-top: 22px; padding: 3px 0 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.folder-tabs::-webkit-scrollbar { display: none; }
.folder-tab, .folder-tab:nth-child(2), .folder-tab:nth-child(3) { flex: 0 0 auto; min-height: 46px; padding: 0 21px; border: 1px solid #e7d7c9; border-radius: 999px; background: #f7eee7; color: #4e372a; box-shadow: 0 3px 12px rgba(66, 42, 29, .04); scroll-snap-align: start; }
.folder-tab:hover { transform: none; border-color: #bea08d; background: #efe0d4; }
.folder-tab span, .folder-tab small { display: none; }
.folder-tab strong { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.folder-tab[aria-selected=true], .folder-tab:nth-child(2)[aria-selected=true], .folder-tab:nth-child(3)[aria-selected=true] { border-color: #422a1d; background: #422a1d; color: #fffaf6; transform: none; box-shadow: 0 7px 18px rgba(66, 42, 29, .18); }
.folder-tab[aria-selected=true]::after { display: none; }
.folder-tab-combos, .folder-tab-combos:hover { border-color: #b99372; background: #ead5c3; color: #422a1d; box-shadow: 0 3px 12px rgba(66, 42, 29, .05); }
.folder-tab-combos[aria-selected=true], .folder-tab-combos[aria-selected=true]:hover { border-color: #6f4833; background: #6f4833; color: #fffaf6; }
.folder-panel, .combo-panel { margin-top: 15px; padding: 28px; border: 1px solid #ead8c9; border-radius: 25px; background: rgba(255, 250, 246, .96); box-shadow: 0 17px 42px rgba(66, 42, 29, .07); }
.folder-heading { margin-bottom: 22px; }
.folder-heading h3 { color: #422a1d; }
.folder-panel .service-list { gap: 14px; }
.folder-panel .service-row { grid-template-columns: clamp(155px, 18vw, 205px) minmax(0, 1fr) minmax(132px, 156px); gap: 22px; min-height: 188px; padding: 12px; border: 1px solid #ecdfd4; border-radius: 22px; background: #fffdfb; box-shadow: 0 8px 24px rgba(66, 42, 29, .055); transition: border-color .24s, box-shadow .24s, transform .24s; }
.folder-panel .service-row:hover { border-color: #c8aa94; box-shadow: 0 14px 30px rgba(66, 42, 29, .1); transform: translateY(-2px); }
.folder-panel .service-row.is-selected { border-color: #9e755e; background: #fff8f1; box-shadow: 0 10px 25px rgba(66, 42, 29, .09); }
.folder-panel .service-photo { width: 100%; height: 164px; border-radius: 16px; }
.folder-panel .service-details h3 { margin-top: 7px; font-size: clamp(24px, 2.4vw, 31px); line-height: 1.08; }
.folder-panel .service-details > p:not(.service-duration) { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-top: 9px; color: #6c5548; font-size: 13px; line-height: 1.45; }
.folder-panel .service-details .service-duration { margin-top: 10px; color: #947563; font-size: 11px; }
.folder-panel .service-actions { align-self: stretch; justify-self: stretch; justify-content: center; align-items: stretch; gap: 14px; min-width: 0; }
.folder-panel .service-price { min-width: 0; color: #422a1d; font-size: 28px; text-align: center; }
.folder-panel .service-select { width: 100%; min-width: 0; min-height: 42px; border: 1px solid #422a1d; border-radius: 999px; background: #422a1d; color: #fffaf6; font-size: 12px; }
.folder-panel .service-select:not([aria-pressed=true])::before { content: "+"; margin-right: 7px; font-size: 18px; font-weight: 400; line-height: 0; vertical-align: -1px; }
.folder-panel .service-select:hover { background: #684733; color: #fffaf6; }
.folder-panel .service-select[aria-pressed=true] { background: #f2e8de; border-color: #9d7964; color: #422a1d; }
.folder-panel .service-select[aria-pressed=true]:hover { background: #e8d5c5; }
.folder-panel .featured-service, .folder-panel .featured-service.is-selected { grid-template-columns: clamp(155px, 18vw, 205px) minmax(0, 1fr) minmax(132px, 156px); min-height: 188px; padding: 12px; border-color: #c7aa95; background: linear-gradient(125deg, #f1e0d3, #fff8f1); color: #422a1d; box-shadow: 0 14px 28px rgba(66, 42, 29, .1); }
.folder-panel .featured-service .service-photo { width: 100%; height: 164px; }
.featured-service .service-category { color: #946c54; }
.folder-panel .featured-service .service-details > p:not(.service-duration) { color: #70584a; }
.folder-panel .featured-service .service-details .service-duration { color: #8d6c59; }
.featured-service .service-badge { border-color: #bc916f; background: #fff9f2; color: #765038; font-size: 9px; }
.folder-panel .featured-service .service-price { color: #422a1d; }
.folder-panel .featured-service .service-select { border-color: #422a1d; background: #422a1d; color: #fffaf6; }
.folder-panel .featured-service .service-select:hover { background: #684733; }
.folder-panel .featured-service .service-select[aria-pressed=true] { border-color: #9d7964; background: #fffaf6; color: #422a1d; }
.folder-panel .service-row.service-added { animation: service-added .62s ease-out; }
@keyframes service-added { 35% { box-shadow: 0 0 0 5px rgba(199, 170, 149, .42), 0 15px 30px rgba(66, 42, 29, .1); } }

/* Revisão e agendamento */
.selection-dialog { width: min(100% - 28px, 620px); max-height: min(90dvh, 850px); padding: 30px; border-color: #e4cebd; border-radius: 25px; background: #fffaf6; }
.selection-dialog::backdrop { background: rgba(38, 24, 17, .56); }
.selection-dialog h2 { font-size: clamp(35px, 5vw, 49px); }
.dialog-intro { color: #72594a; }
.review-stepper { border-radius: 14px; }
.review-stepper span[aria-current=step] { border-radius: 9px; }
.review-list { display: grid; gap: 8px; margin-top: 18px; border: 0; }
.review-list li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px; border: 1px solid #eadbcf; border-radius: 14px; background: #fffdfb; }
.review-list li:not(:has(.review-thumb)) { grid-template-columns: minmax(0, 1fr) auto; }
.review-thumb { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.review-item-name { min-width: 0; color: #422a1d; font-size: 13px; font-weight: 600; line-height: 1.3; }
.review-item-actions { gap: 7px; }
.review-item-actions strong { font-size: 12px; }
.review-pricing { gap: 12px; padding: 19px; border-radius: 17px; background: #fffdfb; }
.review-pricing > div { font-size: 13px; }
.review-pricing .review-pricing-final { margin-top: 9px; padding-top: 17px; }
.review-pricing-final strong { font-size: 32px; }
.extra-summary, .coupon-box, .review-payment, .booking-calendar, .booking-times { border-radius: 17px; }
.dialog-actions .dialog-primary, .selection-bar #review-selection { border-radius: 999px; }
.dialog-actions .dialog-secondary { border-radius: 999px; }
.date-picker-trigger { border-radius: 12px; }
.calendar-day.is-available { border-radius: 11px; }

/* Os cartões entram quando alcançam a área visível, sem mover o conteúdo da página. */
.folder-panel .service-row[data-reveal]:nth-child(2), .combo-card[data-reveal]:nth-child(2) { transition-delay: .05s; }
.folder-panel .service-row[data-reveal]:nth-child(3), .combo-card[data-reveal]:nth-child(3) { transition-delay: .1s; }
.folder-panel .service-row[data-reveal]:nth-child(4) { transition-delay: .15s; }
.folder-panel:not([hidden]) .service-row.service-added { animation: service-added .62s ease-out; }

@media (max-width: 950px) {
  .professional-layout { gap: 25px; }
  .folder-panel .service-row, .folder-panel .featured-service { grid-template-columns: 135px minmax(0, 1fr) 120px; gap: 15px; }
  .folder-panel .service-photo, .folder-panel .featured-service .service-photo { height: 145px; }
  .folder-panel .service-details h3 { font-size: 24px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 76px; }
  .site-header { z-index: 25; }
  .header-inner { position: relative; display: grid; grid-template-columns: 44px 1fr 44px; gap: 0; min-height: 68px; }
  .brand { grid-column: 2; justify-self: center; width: 134px; height: 56px; }
  .brand img { width: 134px; }
  .menu-toggle { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; border: 0; border-radius: 11px; background: transparent; color: #422a1d; cursor: pointer; }
  .menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% - 1px); right: -18px; left: -18px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 23px 18px; border: 1px solid #e7d7c9; border-top: 0; border-radius: 0 0 18px 18px; background: #fffaf6; box-shadow: 0 20px 30px rgba(66, 42, 29, .14); }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav a:first-child, .site-nav .desktop-nav-only { display: block; padding: 13px 7px; border-bottom: 1px solid #eadcd0; font-size: 14px; }
  .site-nav a:last-child { border-bottom: 0; }
  .professional-section { padding: 0 0 45px; background: #f2e8de; }
  .professional-section::before { position: absolute; z-index: 0; inset: 0 0 auto; height: 610px; background: url("assets/fotoayane2.jpeg") 50% 20% / cover no-repeat; opacity: 1; }
  .professional-section::after { content: ""; position: absolute; z-index: 0; inset: 0 0 auto; height: 610px; background: linear-gradient(to bottom, rgba(242,232,222,.04) 10%, rgba(242,232,222,0) 36%, rgba(242,232,222,.72) 55%, #f2e8de 100%); pointer-events: none; }
  .professional-layout { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0; }
  .professional-copy { display: flex; flex-direction: column; justify-content: flex-end; width: 100%; min-height: 610px; padding: 240px 0 33px; }
  .professional-copy .eyebrow { color: #6c4836; font-size: 9px; }
  .professional-copy h1 { max-width: 450px; margin-top: 15px; font-size: clamp(44px, 9vw, 61px); line-height: 1.03; }
  .professional-copy .lead { max-width: 390px; margin-top: 16px; color: #50392e; font-size: 14px; line-height: 1.55; }
  .professional-copy .hero-book-button { align-self: stretch; justify-content: center; min-height: 56px; margin-top: 22px; padding: 0 22px; }
  .professional-gallery { width: 100%; padding-top: 0; }
  .portrait-feature { height: 330px; min-height: 0; border-radius: 18px; }
  .portrait-feature img { object-position: center 33%; }
  .portrait-feature figcaption { right: 10px; bottom: 10px; padding: 8px 10px; font-size: 8px; }
  .services-section { padding: 72px 0 90px; }
  .section-heading h2 { font-size: clamp(43px, 9vw, 60px); }
  .heading-line > p { margin-top: 12px; font-size: 14px; }
  .folder-tabs { flex-wrap: nowrap; gap: 8px; margin-inline: -18px; padding-inline: 18px; }
  .folder-tab, .folder-tab:nth-child(2), .folder-tab:nth-child(3) { min-height: 43px; padding: 0 16px; border-radius: 999px; }
  .folder-tab strong { font-size: 12px; }
  .folder-panel, .combo-panel { margin-top: 11px; padding: 13px; border-radius: 21px; }
  .folder-heading { margin-bottom: 16px; }
  .folder-heading h3 { font-size: 29px; }
  .folder-panel .service-list { gap: 11px; }
  .folder-panel .service-row, .folder-panel .featured-service, .folder-panel .featured-service.is-selected { display: grid; grid-template-columns: minmax(0, 41%) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; gap: 0 12px; min-height: 205px; padding: 8px; border-radius: 18px; }
  .folder-panel .service-photo, .folder-panel .featured-service .service-photo { grid-column: 1; grid-row: 1 / 3; width: 100%; height: 100%; min-height: 188px; border-radius: 13px; }
  .folder-panel .service-details, .folder-panel .featured-service .service-details { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; padding: 5px 4px 0 0; }
  .service-meta { gap: 4px; }
  .service-category { display: none; }
  .folder-panel .service-details h3 { margin-top: 0; font-size: clamp(18px, 4.7vw, 23px); line-height: 1.08; }
  .folder-panel .featured-service .service-details h3 { margin-top: 6px; }
  .folder-panel .service-details > p:not(.service-duration) { display: -webkit-box; margin-top: 8px; font-size: 11px; line-height: 1.35; }
  .folder-panel .service-details .service-duration { display: block; margin-top: 7px; font-size: 10px; line-height: 1.3; }
  .folder-panel .service-actions, .folder-panel .featured-service .service-actions { grid-column: 2; grid-row: 2; align-self: end; justify-self: stretch; display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: 100%; min-width: 0; margin: 0; padding: 0 4px 4px 0; }
  .folder-panel .service-price, .folder-panel .featured-service .service-price { position: static; transform: none; width: 100%; font-size: 20px; line-height: 1.15; text-align: left; }
  .folder-panel .service-select, .folder-panel .featured-service .service-select { width: 100%; min-width: 0; max-width: none; min-height: 39px; border-radius: 999px; font-size: 11px; }
  .featured-service .service-badge { padding: 5px 7px; font-size: 8px; letter-spacing: .04em; }
  body.has-selection { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .selection-bar { right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; gap: 10px; min-height: 62px; padding: 7px 8px 7px 17px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: #422a1d; color: #fffaf6; }
  .selection-bar-copy { gap: 2px; }
  .selection-bar-copy strong { font-size: 11px; }
  .selection-bar-copy span { font-family: var(--sans); font-size: 13px; font-weight: 700; }
  .selection-bar button { flex: none; min-height: 43px; padding: 0 18px; border-color: #9a6a4e; border-radius: 999px; background: #865638; font-size: 12px; }
  .selection-bar button:hover { background: #a26b48; }
  .floating-booking { bottom: calc(14px + env(safe-area-inset-bottom)); border-radius: 999px; }
  .selection-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 20px); padding: 22px; border-radius: 23px; }
  .review-list li { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 9px; padding: 8px; }
  .review-thumb { width: 46px; height: 46px; }
  .review-item-name { font-size: 12px; }
  .review-item-actions strong { font-size: 11px; }
  .review-pricing-final strong { font-size: 28px; }
}

@media (max-width: 360px) {
  .professional-copy h1 { font-size: 42px; }
  .folder-panel, .combo-panel { padding: 8px; }
  .folder-panel .service-row, .folder-panel .featured-service, .folder-panel .featured-service.is-selected { grid-template-columns: minmax(0, 39%) minmax(0, 1fr); gap: 0 9px; }
  .folder-panel .service-details h3 { font-size: 17px; }
  .folder-panel .service-details > p:not(.service-duration) { font-size: 10px; }
  .selection-bar { padding-left: 13px; }
  .selection-bar button { padding-inline: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-enabled [data-reveal] { opacity: 1; transform: none; transition: none; }
  .folder-panel:not([hidden]) .service-row, .folder-panel:not([hidden]) .service-row.service-added { animation: none; }
  .folder-panel .service-row, .menu-toggle span, .hero-book-button { transition: none; }
  .folder-panel .service-row:hover { transform: none; }
  .professional-copy .hero-book-button:hover, .professional-copy .hero-book-button:active { transform: none; }
}
