/* Rules for pages that run without the Webflow runtime. Colours and fonts come
   from the Webflow variables; nothing new is defined here. */

/* Nav on the white bar. */
.nav_component .scrolling-text-color,
.nav_component .nav_menu_link { color: var(--brand-colors--verde-00); }

/* Legal modal: closed until site.js opens it. */
.terms_modal-wrapper { display: none; }
.terms_modal-wrapper.is-open { display: flex; }

/* FAQ accordion: answers collapse only when the script can reopen them. */
.js .faq1_accordion:not(.is-open) > .faq1_answer { display: none; }
.faq1_question { cursor: pointer; }
.faq1_accordion.is-open .faq1_icon-wrapper { transform: rotate(45deg); }

/* Mobile menu. */
@media screen and (max-width: 991px) {
  .nav_component { position: relative; }
  .nav_component.is-open .w-nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    padding: 1rem;
    background: #fff;
    z-index: 1001;
  }
  .nav_component.is-open .w-nav-menu > a:not(.app_link_mobile) {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    color: var(--brand-colors--verde-00);
  }
}

/* Professionals landing. */
.site-hero_cta { margin-top: 24px; }
.section_hero.home .site-hero .div-block-25 { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 2rem; width: 100%; }
.site-hero .home-hero_text { align-self: center; padding: 2rem 0 3rem; }
/* The photo is a cut-out with a flat lower edge: it fills its column and stands
   on the bottom of the hero. */
.site-hero_photo { align-self: end; display: flex; justify-content: center; }
.site-hero_photo img { display: block; width: 100%; max-width: 640px; height: auto; }
/* Home gives this block less than its container's width, so it sat off-centre. */
.section_how-it-works .how-it-works_content-wrapper { width: 100%; max-width: 1160px; margin: 0 auto; }
@media screen and (min-width: 768px) {
  .section_how-it-works .how-it-works_step-text { flex: 1 1 0; min-width: 0; }
  .section_how-it-works .how-it-works_image { flex: 0 1 55%; min-width: 0; height: auto; }
}
@media screen and (max-width: 767px) {
  .section_hero.home .site-hero .div-block-25 { grid-template-columns: 1fr; gap: 0; }
  .site-hero .home-hero_text { padding-bottom: 1rem; }
}
#topo.section_hero { padding-top: 96px; padding-bottom: 0; }
@media screen and (max-width: 991px) { #topo.section_hero { padding-top: 1rem; } }
.site-hero_photo img { margin-bottom: 0; }
.site-hero .hero_subtitle { display: block; }
@media screen and (min-width: 768px) { .section_how-it-works .how-it-works_step { column-gap: 3rem; } }
@media screen and (max-width: 767px) { #topo.section_hero > .padding-global { padding-left: 0; padding-right: 0; } }
/* One shape for every step photo, whatever the file's own ratio. */
.section_how-it-works .how-it-works_image { aspect-ratio: 2 / 1; object-fit: cover; }
@media screen and (max-width: 767px) { .home-hero_text .site-hero_cta { padding: 0 1rem; } }
/* Home pins the step copy to a fixed width, which spills over the photo. */
.section_how-it-works .how-it-works_step-text > * { width: auto; min-width: 0; max-width: 100%; }
.site-hero_vector { position: absolute; inset: auto 0 0 0; width: 100%; pointer-events: none; }
.section_hero.home { position: relative; }
.section_hero.home > .padding-global { position: relative; z-index: 1; }
.site-center-cta { display: flex; justify-content: center; padding: 0 1rem 3rem; }
.site-note { margin-top: 1.5rem; }
.site-text-image { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.site-text-image img { width: 100%; border-radius: 1rem; }
.site-text-image p { margin-top: 1rem; }
@media screen and (max-width: 767px) {
  .site-text-image { grid-template-columns: 1fr; }
}
.faq1_icon-wrapper { justify-content: center; font-size: 1.75rem; color: var(--brand-colors--verde-00); transition: transform 0.2s; }

.section_faq .faq,
.section_faq .faq1_component { display: block; margin: 0 auto; max-width: 48rem; width: 100%; }
.section_faq .faq_content-wrapper { display: flex; flex-direction: column; align-items: center; width: 100%; }
.section_faq .heading-with-tag { align-items: center; text-align: center; }
.section_faq .faq1_accordion { width: 100%; }
#taxas .our-differences_block-title h3 { font-size: 3rem; line-height: 1.1; text-transform: none; }

/* Professionals "coming soon". */
.site-soon .heading-style-h4 { color: var(--brand-colors--verde-00); }
.section_choose-your-doctor.site-soon { display: flex; flex-direction: column; align-items: center; gap: 2rem; padding: 3rem 1rem 4rem; }
.site-soon_head { display: flex; flex-direction: column; gap: 0.75rem; max-width: 40rem; }
.site-soon_photo { width: 100%; max-width: 728px; height: auto; border-radius: 1rem; }
.site-notice.container-3 { width: 100%; height: auto; min-height: 74px; gap: 1rem; }
.site-notice .text-block-46 { width: auto; margin-top: 0; margin-bottom: 0; }
@media screen and (max-width: 767px) {
  .site-notice.container-3 { flex-direction: column; margin: 0; text-align: center; }
}
@media screen and (min-width: 992px) { .section_choose-your-doctor.site-soon { padding-top: 7.5rem; } }

/* Professionals directory (#6226 bounce r1). .pro-directory reuses
   .site-soon for the section's flex/gap/top-padding (desktop H1 clear of the
   fixed nav) — nothing invented there. Card box uses the app design tokens
   already defined in yinflowlife.webflow.css's :root (--_apps---colors--card
   etc) and the same 24px/1.5rem gap used by .our-differences_blocks-wrapper;
   CTAs are the existing .button component (components/site/NoticeStrip.astro). */
.pro-directory #pro-directory-cards { width: 100%; max-width: 1200px; }
.pro-filters { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem; }
.pro-filters label { display: flex; flex-direction: column; gap: 0.375rem; font-weight: 600; color: var(--brand-colors--verde-01); }
.pro-filters select { padding: 0.5rem 0.75rem; border-radius: var(--_apps---sizes--radius); border: 1px solid var(--_apps---colors--border); background: var(--_apps---colors--card); color: var(--_apps---colors--card-foreground); }
.pro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; width: 100%; }
.pro-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem; border-radius: var(--_apps---sizes--radius); border: 1px solid var(--_apps---colors--border); background: var(--_apps---colors--card); color: var(--_apps---colors--card-foreground); }
.pro-card_durations { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pro-card_duration { padding: 0.125rem 0.5rem; border-radius: var(--_apps---sizes--radius); background: var(--_apps---colors--muted); color: var(--_apps---colors--muted-foreground); font-size: 0.8125rem; }
/* LND-10 PR B bounce r1 finding 1: slot-chips-client.ts's renderChips joins
   bare <a> tags with no separator and no rule existed for .pro-card_chips/
   .pro-card_chip — labels ran together ("01/12, 09:0001/12, 09:50...") and
   wrapped mid-label at 1440. flex-wrap + gap fixes the join; nowrap on the
   pill itself stops a mid-label wrap. :empty collapses the placeholder's own
   flex gap row when the fetch yields no chips (R4) — otherwise an empty
   .pro-card_chips still reserves .pro-card's 0.5rem gap for a row with
   nothing in it. */
.pro-card_chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
/* NOT `:empty` — the placeholder is ALWAYS empty at the moment wireChips
   first calls IntersectionObserver.observe() on it (pros.ts renders it with
   no children; chips arrive later, lazily). `:empty{display:none}` would
   collapse it to a 0x0 box BEFORE that first observation, and an element
   with no box never reports isIntersecting — the chip would never load,
   ever, ON ANY CARD. `data-empty` is set by slot-chips-client.ts only AFTER
   a load attempt resolves to "nothing to show", so observation always sees
   a real box first. */
.pro-card_chips[data-empty] { display: none; }
/* R5 (maestro ruling): chips rendering hides the cached "Próximo horário"
   line via the native `hidden` attribute (slot-chips-client.ts) — explicit
   rule rather than relying on the UA stylesheet's own [hidden] default, in
   case a future .text-size-regular rule ever sets its own `display`. */
.pro-card_next-available[hidden] { display: none; }
.pro-card_chip { padding: 0.25rem 0.625rem; border-radius: var(--_apps---sizes--radius); border: 1px solid var(--brand-colors--verde-01); color: var(--brand-colors--verde-01); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.pro-card_chip:hover { background: var(--brand-colors--verde-01); color: #fff; }
/* Part 3 (#8329): R5 hides the card's cached "Próximo horário: ... BRT"
   line whenever chips render, which was the only place a timezone ever
   appeared. flex-basis: 100% breaks this caption onto its own row above
   the chip pills inside the same flex-wrap row (.pro-card_chips), rather
   than being joined onto whichever pill happens to render first.
   text-align: left (bounce r1 nit 3) — webflow's own heading/paragraph
   defaults center text inside .pro-card by default; every OTHER chip-row
   element left-aligns explicitly or via its own box model (the pills via
   their own padding/border box), and this caption must match them, not
   the card's centered headline above it. */
.pro-card_chips-tz { flex-basis: 100%; font-size: 0.75rem; color: var(--_apps---colors--muted-foreground); text-align: left; }
.pro-card_actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
/* r3 bounce finding 3: flex:1 1 0 squeezed "Ver perfil" (10 chars) into half
   the row's width at the 280px card size, wrapping it to 2 lines while
   "Agendar" (7 chars) stayed on one — unequal HEIGHT, which is the actual
   problem (not unequal width, which white-space:nowrap doesn't even fix).
   Size-to-content + nowrap instead: both buttons single-line, same height,
   by construction. */
.pro-card_actions .button { padding: 0.625rem 1.25rem; justify-content: center; white-space: nowrap; flex: 0 0 auto; width: auto; }
/* r4 bounce finding 1: contact_button-transparent (Ver perfil) still came out
   taller than align-center (Agendar) — 54px vs 46px at 1440, worse at 375.
   Two separate yinflowlife.webflow.css rules on contact_button-transparent
   beat the rule above on SPECIFICITY, not source order: 12px padding-top/
   bottom instead of this file's 10px (.button.is-green.contact_button-
   transparent, 3 classes = (0,3,0) vs the rule above's 2 classes = (0,2,0)),
   and a responsive width:100% rule at narrow viewports. Both need a selector
   at EQUAL specificity to actually win on source order (this file loads
   after webflow.css in SiteShell.astro) — no !important, no edit to
   webflow.css. The 2px border stays (removing it would be an edit to a
   component contract other instances may rely on); padding is reduced by
   that same 2px per side so the total rendered height matches exactly:
   26px line-height + 2×8px padding + 2×2px border = 46px, same as Agendar's
   26px + 2×10px padding + 0 border. */
.pro-card_actions .button.contact_button-transparent { padding-top: 0.5rem; padding-bottom: 0.5rem; width: auto; }
/* .button_text's own rule is white-on-transparent (yinflowlife.webflow.css,
   built for the solid-green variant) — invisible on contact_button-transparent's
   transparent background. Same fix the component's own transparent variant
   needs wherever it is reused; this is the first reuse that needed it. */
.pro-card_actions .contact_button-transparent .button_text { color: var(--brand-colors--verde-01); }
/* r2 bounce finding 2: .pro-grid_empty sits INSIDE .pro-grid (a CSS grid
   container) when renderCards([]) renders it there — without this, the
   single empty-state paragraph becomes a grid ITEM sized to the first
   280px column instead of spanning full width. Measured live against real
   staging E1 (0 seeded pros = the actual day-1 ON look). */
.pro-grid_empty { grid-column: 1 / -1; width: 100%; padding: 3rem 1rem; }
.pro-grid_down { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; padding: 3rem 1rem; }

/* Home and Quem somos. */
.site-home .site-hero_photo img { max-width: 440px; }
@media screen and (min-width: 992px) { .site-quem { padding-top: 80px; } }
.site-quem_end { padding: 3rem 1rem; }
/* Two posts instead of four: show each whole. */
.site-home .social-media_links-wrapper { justify-content: center; }
.site-home .social-media_link { width: 100%; max-width: 296px; max-height: none; }
.site-home .social-media_link img { display: block; width: 100%; height: auto; }
/* Cards scroll sideways natively; the slider library is gone. */
.site-home .section_find-treatments .swiper { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.site-home .section_find-treatments .swiper-slide { flex: 0 0 auto; }
.site-home .section_find-treatments .slider-main-component,
.site-home .section_find-treatments .swiper { width: 100%; min-width: 0; margin-left: 0; margin-right: 0; padding-left: 0; }
.site-home .section_find-treatments .swiper-wrapper { justify-content: flex-start; gap: 0.75rem; margin-left: 0; padding-left: 0; }

/* Short pages: 404 and the legal addresses. */
.site-message { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; min-height: 55vh; padding: 7rem 1rem 4rem; }
/* Legal text: a list straight under a heading must not pull up over it. */
.terms-modal .term-content .terms-title-gap + .list-remove-gap { margin-top: 0; }
/* Footer legal entries are links now; keep their look. */
.footer1_component a.open-modal { text-decoration: none; color: inherit; }

/* FAQ answers keep their line breaks (numbered steps). */
.site-faq_answer { white-space: pre-line; }
.site-faq_image { display: block; max-width: 100%; height: auto; margin-top: 1rem; }
/* Home: three highlights, centred as a group. */
.site-home .benefits_component { justify-content: center; flex-wrap: wrap; gap: 2rem 5rem; width: 100%; margin-left: auto; margin-right: auto; }
.site-notice .button { flex-shrink: 0; white-space: nowrap; }
/* Therapy pages sit under the fixed bar on wide screens. */
@media screen and (min-width: 992px) { .site-therapy { padding-top: 80px; } }

/* Checkout without a payment service: say so, and look unavailable. */
.site-checkout_notice { margin: 5.5rem auto -3.5rem; max-width: 1200px; padding: 0.875rem 1rem; border-radius: 12px; background: #fff4d6; color: var(--brand-colors--verde-00); text-align: center; font-weight: 600; }
.section_checkout input:disabled, .section_checkout select:disabled, .section_checkout button:disabled { cursor: not-allowed; }
.section_checkout button:disabled, .section_checkout .button[disabled] { opacity: 0.5; }
.section_checkout .checkout-button { opacity: 0.5; cursor: not-allowed; }
/* The page behind an open legal dialog does not scroll. */
body.legal-open { overflow: hidden; }

/* Pro profile page (LND-12, refs #6229). Reuses .site-soon for the section's
   flex/gap/top-padding (desktop content clear of the fixed nav) — the same
   recipe DirectoryIsland.astro uses for /profissionais itself. Without it
   the page's own first elements render under y=0 and sit hidden behind the
   fixed nav bar (measured via ego-browser: name + profession invisible at
   both 375 and 1440 until this file added the clearance). */
.pro-profile_content { width: 100%; max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; text-align: left; }
.pro-profile_head { display: flex; gap: 1.5rem; align-items: flex-start; }
.pro-profile_head img { flex: 0 0 auto; }
/* .badge is display:flex in yinflowlife.webflow.css (a flex CONTAINER for
   its own children) which makes the badge itself a block-level box with no
   size limit of its own — stacked one per row, full width, with no wrap
   container around them they read as one solid block instead of pills. */
.pro-profile_tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.pro-profile_tags .badge { width: auto; }
/* Contrast fix (#6229 bounce r2, R5): measured #959db1-on-#114559 =
   3.83:1, fails WCAG AA. The reviewer's suggested fix (add the
   .text-color-white class) was checked against the real stylesheet and has
   a side effect here: .text-color-white.text-size-tiny carries
   `text-decoration: underline` (yinflowlife.webflow.css:4010) with no
   3-class override for `.text-size-tiny.badge.text-color-white` to cancel
   it (only a 4-class `...text-color-white.hide` exists, a display:none
   utility, not this). Adding the class to a `text-size-tiny badge` element
   would underline every tag pill. Reusing the SAME token
   (--neutral-colors--white, what .text-color-white itself sets) via a
   scoped rule gets the identical 10.4:1 contrast without that regression. */
.pro-profile_tags .badge { color: var(--neutral-colors--white); }
.pro-profile_section { display: flex; flex-direction: column; gap: 0.5rem; }
.pro-profile_services { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.375rem; }
.pro-profile_actions .button { width: auto; }
/* Bounce r1 nit (#6229): .heading-style-h4 (used for every section title —
   Sobre, Abordagem, Serviços e valores, Perguntas) shrinks to 15px/18px at
   the mobile breakpoint (yinflowlife.webflow.css), BELOW .text-size-regular
   body text's own 18px/26px — a section title reading smaller than its own
   paragraph. One class + element beats the single-class webflow rule at
   both breakpoints (no separate mobile override needed), keeping every
   section title visibly larger than body text everywhere. */
.pro-profile_section h2 { font-size: 20px; line-height: 1.3; }
/* Nit (#6229 bounce r2): the FAQ accordion's own question-title class
   (24px) read LARGER than this section's own h2 (20px) at 1440 — an
   accordion question outranking its own section heading. Scoped to this
   page only; the home FAQ section (Faq.astro) is untouched. */
.pro-profile_section .faq_question-title { font-size: 18px; line-height: 24px; }
