/* Responsividade global e por página. Carregado após os demais estilos.
 * :where() isola cada página sem aumentar a especificidade do projeto.
 * Um bloco por condição, com regras agrupadas por página.
 * Limites de layout: 1200, 992, 768 e 576 px; ajustes compactos em 480 px.
 * Manter os limites alinhados ao Bootstrap e ao menu/carrossel em main.js.
 * Regras de telas menores vêm após as mais amplas para preservar a cascata.
 */

@media (min-width: 1200px) {
  /* Global e início */
  .container {
    max-width: 1200px !important;
  }
}

@media (max-width: 1199.98px) {
  /* Global e início */
  .header-cta {
    padding: 0 16px;
  }

  .main-nav {
    gap: 18px;
  }

  :where(body.drafarah-inicio) .hero-seal {
    right: -20px;
  }

  :where(body.drafarah-inicio) .appointment-copy {
    padding: 36px 40px;
  }

  /* Artigo */
  :where(body.drafarah-artigo) .article-layout {
    grid-template-columns: 200px minmax(0, 680px);
  }

  :where(body.drafarah-artigo) .article-layout--without-toc {
    grid-template-columns: minmax(0, 760px);
  }

  :where(body.drafarah-artigo) .article-side-column {
    grid-column: 2;
  }

  :where(body.drafarah-artigo) .article-layout--without-toc .article-side-column {
    grid-column: 1;
  }

  :where(body.drafarah-artigo) .article-side-sticky {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }
}

@media (min-width: 992px) {
  /* Global e início */
  :where(body.drafarah-inicio) .appointment-card>.row {
    height: 460px;
  }

  :where(body.drafarah-inicio) .blog .section-intro h2 {
    max-width: 540px;
  }

  :where(body.drafarah-inicio) .appointment-card .col-lg-6 {
    height: 100%;
  }

  :where(body.drafarah-inicio) .appointment-card .col-lg-6>img,
  :where(body.drafarah-inicio) .appointment-copy {
    height: 100%;
    min-height: 0;
  }

  /* Consultório */
  :where(body.drafarah-consultorio) .formation-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  :where(body.drafarah-consultorio) .formation-timeline li {
    flex: 0 0 25%;
  }
}

@media (max-width: 991.98px) {
  /* Global e início */
  :where(body.drafarah-inicio) .review-slide {
    flex-basis: calc((100% - 24px) / 2);
  }

  .section {
    padding: 86px 0;
  }

  :where(body.drafarah-inicio) .hero .row>.col-lg-5 {
    order: -1;
  }

  :where(body.drafarah-inicio) .hero-copy {
    text-align: center;
  }

  :where(body.drafarah-inicio) .hero-copy h1,
  :where(body.drafarah-inicio) .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  :where(body.drafarah-inicio) .hero-copy .eyebrow,
  :where(body.drafarah-inicio) .hero-actions,
  :where(body.drafarah-inicio) .hero-tags {
    justify-content: center;
  }

  .treatments-floral {
    display: none;
  }

  :where(body.drafarah-inicio) .about-floral,
  :where(body.drafarah-inicio) .consultation-floral {
    display: none;
  }

  .mainbar-inner {
    height: 84px;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    z-index: 2;
  }

  .main-nav {
    background: #151414;
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .28);
    flex-direction: column;
    gap: 0;
    left: 0;
    opacity: 0;
    padding: 20px 24px 28px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 84px;
    transform: translateY(-8px);
    transition: .25s;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    padding: 12px 0;
    width: 100%;
  }

  :where(body.drafarah-inicio) .hero {
    padding-top: 72px;
  }

  :where(body.drafarah-inicio) .hero h1 {
    font-size: clamp(3.1rem, 8vw, 4rem);
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  :where(body.drafarah-inicio) .hero-photo-wrap {
    margin: 12px auto 0;
    max-width: 520px;
  }

  :where(body.drafarah-inicio) .hero-photo {
    height: 580px;
  }

  .section-intro h2 {
    max-width: none;
  }

  .treatments .section-intro,
  .treatment-card-body {
    text-align: center;
  }

  .treatments .section-intro .eyebrow {
    justify-content: center;
  }

  :where(body.drafarah-inicio) .differences .section-intro {
    text-align: center;
  }

  :where(body.drafarah-inicio) .differences .section-intro .eyebrow {
    justify-content: center;
  }

  :where(body.drafarah-inicio) .differences .section-intro h2,
  :where(body.drafarah-inicio) .differences .intro-side p {
    margin-left: auto;
    margin-right: auto;
  }

  :where(body.drafarah-inicio) .difference-card {
    text-align: center;
  }

  :where(body.drafarah-inicio) .differences-grid .difference-icon,
  :where(body.drafarah-inicio) .differences-grid h3 {
    margin-left: auto;
    margin-right: auto;
  }

  .treatments .intro-side p {
    margin-left: auto;
    margin-right: auto;
  }

  .treatment-card-action {
    text-align: center;
  }

  :where(body.drafarah-inicio) .other-care {
    text-align: center;
  }

  :where(body.drafarah-inicio) .other-care .eyebrow {
    justify-content: center;
  }

  :where(body.drafarah-inicio) .about-visual {
    margin: 0 auto;
    max-width: 600px;
  }

  :where(body.drafarah-inicio) .about-copy {
    padding-top: 12px;
    text-align: center;
  }

  :where(body.drafarah-inicio) .about-copy .eyebrow {
    justify-content: center;
  }

  :where(body.drafarah-inicio) .about-copy h2 {
    margin-left: auto;
    margin-right: auto;
  }

  :where(body.drafarah-inicio) .credential-card {
    justify-content: center;
  }

  :where(body.drafarah-inicio) .differences-grid>div:nth-child(3n) .difference-card {
    border-right: 1px solid var(--line);
  }

  :where(body.drafarah-inicio) .differences-grid>div:nth-child(2n) .difference-card {
    border-right: 0;
  }

  :where(body.drafarah-inicio) .differences-grid>div:nth-last-child(-n+3) .difference-card {
    border-bottom: 1px solid var(--line);
  }

  :where(body.drafarah-inicio) .differences-grid>div:nth-last-child(-n+2) .difference-card {
    border-bottom: 0;
  }

  :where(body.drafarah-inicio) .consultation-step {
    border-bottom: 1px solid var(--line);
    text-align: center;
  }

  :where(body.drafarah-inicio) .consultation-grid>div:nth-child(2n) .consultation-step {
    border-right: 0;
  }

  :where(body.drafarah-inicio) .consultation-grid>div:nth-last-child(-n+2) .consultation-step {
    border-bottom: 0;
  }

  :where(body.drafarah-inicio) .appointment-copy {
    align-items: center;
    min-height: auto;
    padding: 52px;
    text-align: center;
  }

  :where(body.drafarah-inicio) .appointment-copy .eyebrow {
    justify-content: center;
  }

  :where(body.drafarah-inicio) .appointment-copy .button {
    align-self: center;
  }

  :where(body.drafarah-inicio) .testimonials .section-intro,
  :where(body.drafarah-inicio) .review-grid article,
  :where(body.drafarah-inicio) .blog .section-intro,
  :where(body.drafarah-inicio) .blog-grid article>div {
    text-align: center;
  }

  :where(body.drafarah-inicio) .testimonials .section-intro .eyebrow,
  :where(body.drafarah-inicio) .blog .section-intro .eyebrow {
    justify-content: center;
  }

  :where(body.drafarah-inicio) .testimonials .intro-side p,
  :where(body.drafarah-inicio) .blog .intro-side p {
    margin-left: auto;
    margin-right: auto;
  }

  :where(body.drafarah-inicio) .blog-grid article>div>a {
    gap: 12px;
    justify-content: center;
  }

  .footer-main,
  .footer-bottom {
    text-align: center;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;
    gap: 14px;
    padding: 24px 0;
  }

  .footer-main .brand,
  .footer-bottom>div {
    justify-content: center;
  }

  .footer-main>div:first-child>p {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer nav {
    align-items: center;
  }

  :where(body.drafarah-inicio) .appointment-card .col-lg-6>img {
    height: 400px;
  }

  /* Consultório */
  :where(body.drafarah-consultorio) .consultorio-banner {
    min-height: auto;
  }

  :where(body.drafarah-consultorio) .story-top-floral {
    display: none;
  }

  :where(body.drafarah-consultorio) .story-narrative {
    text-align: center;
  }

  :where(body.drafarah-consultorio) .story-opening::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
  }

  :where(body.drafarah-consultorio) .story-mission {
    border-left: 0;
    border-top: 2px solid var(--gold);
    margin: 24px auto 0;
    max-width: 680px;
    padding-left: 0;
    padding-top: 22px;
  }

  :where(body.drafarah-consultorio) .story-portrait {
    height: 540px;
    margin: 20px auto 0;
    max-width: 580px;
    position: relative;
    top: auto;
  }

  :where(body.drafarah-consultorio) .story-portrait figcaption {
    left: 24px;
    right: 24px;
    text-align: center;
  }

  :where(body.drafarah-consultorio) .story-facts {
    margin-left: auto;
    margin-right: auto;
    max-width: 580px;
  }

  :where(body.drafarah-consultorio) .story-continuity {
    margin-left: auto;
    margin-right: auto;
    max-width: 580px;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-heading {
    text-align: center;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-heading .eyebrow {
    justify-content: center;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-heading h2,
  :where(body.drafarah-consultorio) .doctor-editorial-heading .col-lg-4>p {
    margin-left: auto;
    margin-right: auto;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-portrait {
    height: 500px;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-content {
    grid-template-columns: repeat(2, 1fr);
  }

  :where(body.drafarah-consultorio) .doctor-editorial-content blockquote {
    grid-column: 1 / 3;
    min-height: 220px;
    text-align: center;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-dossier {
    grid-template-columns: repeat(2, 1fr);
  }

  :where(body.drafarah-consultorio) .doctor-editorial-dossier>div:nth-child(2) {
    border-right: 0;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-dossier>div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  :where(body.drafarah-consultorio) .doctor-profile-copy,
  :where(body.drafarah-consultorio) .formation-heading,
  :where(body.drafarah-consultorio) .office-heading,
  :where(body.drafarah-consultorio) .office-details {
    text-align: center;
  }

  :where(body.drafarah-consultorio) .doctor-profile-copy .eyebrow,
  :where(body.drafarah-consultorio) .formation-heading .eyebrow,
  :where(body.drafarah-consultorio) .office-heading .eyebrow,
  :where(body.drafarah-consultorio) .office-details .eyebrow {
    justify-content: center;
  }

  :where(body.drafarah-consultorio) .doctor-profile-visual {
    margin: 0 auto;
    max-width: 590px;
  }

  :where(body.drafarah-consultorio) .doctor-profile-credentials article {
    justify-content: center;
  }

  :where(body.drafarah-consultorio) .formation-heading>div:last-child>p,
  :where(body.drafarah-consultorio) .office-heading .intro-side p,
  :where(body.drafarah-consultorio) .office-subheading {
    margin-left: auto;
    margin-right: auto;
  }

  :where(body.drafarah-consultorio) .formation-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  :where(body.drafarah-consultorio) .formation-timeline li {
    min-height: 300px;
    text-align: center;
  }

  :where(body.drafarah-consultorio) .office-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 510px 280px;
  }

  :where(body.drafarah-consultorio) .office-gallery-main {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  :where(body.drafarah-consultorio) .office-cta-card {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  :where(body.drafarah-consultorio) .office-cta-card .eyebrow {
    justify-content: center;
  }

  :where(body.drafarah-consultorio) .office-cta-card>div>p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }

  /* Tratamentos */
  .treatments-appointment-card {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .treatments-appointment-card .eyebrow {
    justify-content: center;
  }

  .treatments-appointment-card>div>p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }

  /* Detalhes dos tratamentos */
  :where(body.drafarah-procedimento) #conteudo {
    text-align: center;
  }

  :where(body.drafarah-procedimento) #conteudo :is(h1, h2, h3) {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  :where(body.drafarah-procedimento) #conteudo .eyebrow {
    justify-content: center;
  }

  :where(body.drafarah-procedimento) .procedure-about-floral {
    bottom: -120px;
    left: -120px;
    opacity: .065;
    width: 250px;
  }

  :where(body.drafarah-procedimento) .procedure-hero-subtitle,
  :where(body.drafarah-procedimento) .procedure-lead {
    margin-left: auto;
    margin-right: auto;
  }

  :where(body.drafarah-procedimento) .procedure-hero .row > .col-lg-5 {
    order: -1;
  }

  :where(body.drafarah-procedimento) .procedure-hero-image img {
    height: 450px;
  }

  :where(body.drafarah-procedimento) .procedure-hero-image {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  :where(body.drafarah-procedimento) .procedure-trust {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px 36px;
    margin-top: 40px;
  }

  :where(body.drafarah-procedimento) .procedure-trust li {
    justify-content: center;
  }

  :where(body.drafarah-procedimento) .procedure-doctor-mini {
    flex-direction: column;
    text-align: center;
  }

  :where(body.drafarah-procedimento) .procedure-note {
    flex-direction: column;
    align-items: center;
    border-left: 0;
    border-top: 2px solid var(--gold);
    border-radius: 0 0 16px 16px;
  }

  :where(body.drafarah-procedimento) .procedure-steps li {
    padding-left: 0;
  }

  :where(body.drafarah-procedimento) .procedure-steps li::before {
    position: static;
    display: block;
    margin-bottom: 12px;
  }

  :where(body.drafarah-procedimento) .procedure-faq summary {
    padding-left: 38px;
  }

  :where(body.drafarah-procedimento) .procedure-faq details>p {
    padding-left: 28px;
  }

  .procedure-page .section {
    padding: 80px 0;
  }

  /* Contato */
  :where(body.drafarah-contato) .contact-card {
    gap: 12px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  :where(body.drafarah-contato) .contact-location {
    padding: 56px 0;
  }

  :where(body.drafarah-contato) .contact-map {
    height: 280px;
  }

  :where(body.drafarah-contato) .contact-location-details {
    margin-top: 20px;
  }

  :where(body.drafarah-contato) .contact-location-block {
    padding: 24px;
  }

  /* Navegação */
  .main-nav {
    visibility: hidden;
  }

  .main-nav.is-open {
    visibility: visible;
  }

  .main-nav .menu,
  .main-nav .menu li {
    width: 100%;
  }

  .no-js .main-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    position: static;
    transform: none;
  }

  .no-js .mainbar-inner {
    height: auto;
    flex-wrap: wrap;
    padding-block: 20px;
  }

  .no-js .menu-toggle {
    display: none;
  }

  .no-js .main-nav {
    flex-basis: 100%;
  }

  /* Blog */
  :where(body.drafarah-blog) .blog-list-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  :where(body.drafarah-blog) .blog-list-heading .eyebrow {
    justify-content: center;
  }

  :where(body.drafarah-blog) .blog-list-heading h2 {
    margin-left: auto;
    margin-right: auto;
  }

  :where(body.drafarah-blog) .blog-list-heading > p:last-child {
    margin-left: auto;
    margin-right: auto;
  }

  :where(body.drafarah-blog) .blog-filter-floral {
    opacity: .065;
    right: -105px;
    top: -260px;
    width: 240px;
  }

  :where(body.drafarah-blog) .blog-filter-bar {
    grid-template-columns: 1fr;
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
    row-gap: 20px;
  }

  :where(body.drafarah-blog) .blog-filter-bar button {
    margin-top: 4px;
    width: 100%;
  }

  :where(body.drafarah-blog) .blog-filter-clear {
    justify-self: center;
  }

  :where(body.drafarah-blog) .blog-list-grid {
    justify-content: center;
  }

  :where(body.drafarah-blog) .blog-list-grid > [class*="col-"] {
    flex: 0 0 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
    width: 100%;
  }

  :where(body.drafarah-blog) .blog-recommended-grid {
    grid-template-columns: 1fr;
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
  }

  :where(body.drafarah-blog) .blog-recommended-feature-image {
    height: 300px;
  }

  :where(body.drafarah-blog) .blog-recommended-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  :where(body.drafarah-blog) .blog-recommended-heading .eyebrow {
    justify-content: center;
  }

  /* Artigo */
  :where(body.drafarah-artigo) .article-layout,
  :where(body.drafarah-artigo) .article-layout--without-toc {
    grid-template-columns: minmax(0, 1fr);
  }

  :where(body.drafarah-artigo) .article-toc-column,
  :where(body.drafarah-artigo) .article-side-column,
  :where(body.drafarah-artigo) .article-layout--without-toc .article-side-column {
    grid-column: auto;
  }

  :where(body.drafarah-artigo) .article-toc-column {
    position: static;
  }

  :where(body.drafarah-artigo) .article-hero-floral {
    opacity: .065;
    right: -82px;
    top: 0;
    width: 330px;
  }

  :where(body.drafarah-artigo) .article-toc ol {
    columns: 2;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Global e início */
  :where(body.drafarah-inicio) .about-main {
    object-position: center top;
  }

  :where(body.drafarah-blog) .blog-card-image {
    height: 300px;
  }

  :where(body.drafarah-blog) .blog-filter-bar button,
  :where(body.drafarah-blog) .blog-filter-clear {
    justify-self: center;
    min-height: 50px;
    width: 240px;
  }

  :where(body.drafarah-blog) .blog-filter-clear {
    border: 1px solid rgba(214, 168, 120, .34);
    border-radius: 12px;
    color: var(--gold-soft);
    text-decoration: none;
  }

  :where(body.drafarah-blog) .blog-filter-clear:hover {
    border-color: var(--gold);
    color: var(--paper);
  }
}

@media (max-width: 767.98px) {
  /* Global e início */
  :where(body.drafarah-inicio) .review-slide {
    flex-basis: 100%;
  }

  :where(body.drafarah-inicio) .review-carousel-controls {
    margin-top: 24px;
  }

  .section {
    padding: 72px 0;
  }

  .footer-main>div {
    flex: 0 0 100%;
    width: 100%;
  }

  .footer-main .brand {
    flex-direction: column;
    gap: 10px;
  }

  :where(body.drafarah-inicio) .hero-eyebrow-location {
    display: block;
  }

  :where(body.drafarah-inicio) .hero-seal {
    display: none;
  }

  .section h2 {
    font-size: clamp(2.55rem, 11vw, 3.15rem);
  }

  .brand-copy strong {
    font-size: 1.35rem;
  }

  .brand-copy small {
    font-size: .5rem;
  }

  .brand-mark {
    height: 36px;
    width: 36px;
  }

  .mainbar-inner {
    height: 76px;
  }

  .main-nav {
    top: 76px;
  }

  :where(body.drafarah-inicio) .hero {
    min-height: auto;
    padding: 58px 0 72px;
  }

  :where(body.drafarah-inicio) .hero h1 {
    font-size: clamp(2.8rem, 12vw, 3.7rem);
    line-height: 1.08;
  }

  :where(body.drafarah-inicio) .hero-lead {
    font-size: 1rem;
  }

  :where(body.drafarah-inicio) .hero-photo {
    height: 480px;
  }

  :where(body.drafarah-inicio) .hero-photo-wrap {
    min-height: 480px;
    width: 92%;
  }

  :where(body.drafarah-inicio) .hero-seal {
    height: 92px;
    right: -4px;
    top: 36px;
    width: 92px;
  }

  :where(body.drafarah-inicio) .hero-orbit {
    left: -340px;
  }

  :where(body.drafarah-inicio) .hero-spark {
    display: none;
  }

  :where(body.drafarah-inicio) .other-care {
    padding: 28px 22px;
  }

  :where(body.drafarah-inicio) .other-list>div:nth-child(odd),
  :where(body.drafarah-inicio) .other-list>div:nth-child(even) {
    padding: 0;
  }

  :where(body.drafarah-inicio) .about-visual {
    min-height: 570px;
  }

  :where(body.drafarah-inicio) .about-main {
    height: 540px;
    width: 92%;
  }

  :where(body.drafarah-inicio) .about-detail {
    height: 150px;
    width: 205px;
  }

  :where(body.drafarah-inicio) .difference-card {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 245px;
  }

  :where(body.drafarah-inicio) .differences-grid>div:last-child .difference-card {
    border-bottom: 0;
  }

  :where(body.drafarah-inicio) .consultation-step {
    border-right: 0;
    min-height: auto;
  }

  :where(body.drafarah-inicio) .consultation-grid>div:nth-last-child(-n+2) .consultation-step {
    border-bottom: 1px solid var(--line);
  }

  :where(body.drafarah-inicio) .consultation-grid>div:last-child .consultation-step {
    border-bottom: 0;
  }

  :where(body.drafarah-inicio) .appointment-copy {
    padding: 40px 24px;
  }

  :where(body.drafarah-inicio) .appointment-card .col-lg-6>img {
    height: 320px;
  }

  /* Consultório */
  :where(body.drafarah-consultorio) .consultorio-banner {
    min-height: auto;
    padding-top: 58px;
  }

  :where(body.drafarah-consultorio) .consultorio-banner-spark {
    display: none;
  }

  :where(body.drafarah-consultorio) .consultorio-banner h1 {
    font-size: clamp(2.7rem, 12vw, 3.55rem);
  }

  :where(body.drafarah-consultorio) .consultorio-banner-lead {
    font-size: 1rem;
  }

  :where(body.drafarah-consultorio) .consultorio-page-nav {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  :where(body.drafarah-consultorio) .consultorio-page-nav a {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 58px;
  }

  :where(body.drafarah-consultorio) .consultorio-page-nav a:last-child {
    border-bottom: 0;
  }

  :where(body.drafarah-consultorio) .story-heading h2 {
    font-size: clamp(3.2rem, 15vw, 4.2rem);
  }

  :where(body.drafarah-consultorio) .story-layout {
    margin-top: 48px;
  }

  :where(body.drafarah-consultorio) .story-chapter {
    padding: 28px 0 34px;
  }

  :where(body.drafarah-consultorio) .story-chapter .story-opening {
    font-size: 1.2rem;
  }

  :where(body.drafarah-consultorio) .story-quote {
    padding: 22px 20px;
  }

  :where(body.drafarah-consultorio) .story-portrait {
    height: 440px;
    width: 92%;
  }

  :where(body.drafarah-consultorio) .story-facts {
    width: 92%;
  }

  :where(body.drafarah-consultorio) .story-facts>div {
    flex-direction: column;
    gap: 5px;
  }

  :where(body.drafarah-consultorio) .story-facts dd {
    text-align: center;
  }

  :where(body.drafarah-consultorio) .story-continuity {
    gap: 20px;
    grid-template-columns: 1fr;
    text-align: center;
    width: 92%;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-portrait {
    height: 430px;
    margin-top: 42px;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-portrait::after {
    background: linear-gradient(transparent 48%, rgba(0, 0, 0, .76));
  }

  :where(body.drafarah-consultorio) .doctor-editorial-portrait figcaption {
    bottom: 26px;
    left: 20px;
    right: 20px;
    text-align: center;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-portrait figcaption strong {
    font-size: 1.6rem;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-content {
    grid-template-columns: 1fr;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-content article,
  :where(body.drafarah-consultorio) .doctor-editorial-content blockquote {
    min-height: auto;
    text-align: center;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-content h3 {
    margin-top: 22px;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-content blockquote {
    grid-column: auto;
    gap: 25px;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-dossier {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-dossier>div,
  :where(body.drafarah-consultorio) .doctor-editorial-dossier>div:nth-child(2) {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  :where(body.drafarah-consultorio) .doctor-editorial-dossier>div:last-child {
    border-bottom: 0;
  }

  :where(body.drafarah-consultorio) .doctor-profile-visual {
    min-height: 540px;
    width: 92%;
  }

  :where(body.drafarah-consultorio) .doctor-profile-main {
    height: 515px;
    width: 92%;
  }

  :where(body.drafarah-consultorio) .doctor-profile-detail {
    height: 130px;
    width: 175px;
  }

  :where(body.drafarah-consultorio) .doctor-profile-visual figcaption {
    border-width: 5px;
    height: 84px;
    right: 2%;
    top: 34px;
    width: 84px;
  }

  :where(body.drafarah-consultorio) .doctor-profile-visual figcaption strong {
    font-size: .95rem;
  }

  :where(body.drafarah-consultorio) .doctor-profile-copy .doctor-profile-highlight {
    font-size: 1.2rem;
  }

  :where(body.drafarah-consultorio) .doctor-profile-credentials {
    grid-template-columns: 1fr;
  }

  :where(body.drafarah-consultorio) .formation-timeline {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  :where(body.drafarah-consultorio) .formation-timeline li {
    border-bottom: 1px solid var(--line);
    border-left: 0;
    min-height: auto;
    padding: 28px 18px;
  }

  :where(body.drafarah-consultorio) .formation-timeline li:last-child {
    border-bottom: 0;
  }

  :where(body.drafarah-consultorio) .formation-timeline li::before {
    display: none;
  }

  :where(body.drafarah-consultorio) .formation-timeline small {
    margin-top: 20px;
  }

  :where(body.drafarah-consultorio) .office-gallery {
    display: block;
  }

  :where(body.drafarah-consultorio) .office-gallery figure {
    height: 390px;
    margin-bottom: 16px;
  }

  :where(body.drafarah-consultorio) .office-gallery figure:last-child {
    margin-bottom: 0;
  }

  :where(body.drafarah-consultorio) .office-details {
    margin-top: 60px;
  }

  :where(body.drafarah-consultorio) .office-subheading {
    font-size: 2.25rem;
  }

  :where(body.drafarah-consultorio) .office-features {
    grid-template-columns: 1fr;
  }

  :where(body.drafarah-consultorio) .office-features li,
  :where(body.drafarah-consultorio) .office-features li:nth-child(2n),
  :where(body.drafarah-consultorio) .office-features li:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  :where(body.drafarah-consultorio) .office-features li:last-child {
    border-bottom: 0;
  }

  :where(body.drafarah-consultorio) .office-cta-card {
    padding: 36px 22px;
  }

  :where(body.drafarah-consultorio) .office-cta-card .button {
    width: 100%;
  }

  /* Tratamentos */
  :where(body.drafarah-tratamentos) .treatments-banner {
    padding: 58px 0 70px;
  }

  :where(body.drafarah-tratamentos) .treatments-banner-spark {
    display: none;
  }

  :where(body.drafarah-tratamentos) .treatments-banner h1 {
    font-size: clamp(2.7rem, 12vw, 3.55rem);
  }

  :where(body.drafarah-tratamentos) .treatments-banner-lead {
    font-size: 1rem;
  }

  :where(body.drafarah-tratamentos) .treatments-catalog {
    padding-bottom: 88px;
  }

  :where(body.drafarah-tratamentos) .catalog-subheading {
    margin-top: 80px;
    padding-top: 56px;
  }

  .treatments-appointment {
    padding-bottom: 80px;
  }

  .treatments-appointment-card {
    padding: 36px 22px;
  }

  .treatments-appointment-card .button {
    min-width: 0;
    width: 100%;
  }

  /* Contato */
  :where(body.drafarah-contato) .contact-banner {
    padding: 58px 0 64px;
  }

  :where(body.drafarah-contato) .contact-banner-spark {
    display: none;
  }

  :where(body.drafarah-contato) .contact-banner h1 {
    font-size: clamp(2.25rem, 9vw, 3.55rem);
  }

  :where(body.drafarah-contato) .contact-banner-lead {
    font-size: 1rem;
  }

  :where(body.drafarah-contato) .contact-channels {
    padding-top: 32px;
  }

  :where(body.drafarah-contato) .contact-card {
    padding: 20px;
  }

  :where(body.drafarah-contato) .contact-location-heading h2 {
    font-size: 2rem;
  }

  :where(body.drafarah-contato) .contact-map {
    height: 240px;
  }

  /* Blog */
  :where(body.drafarah-blog) .blog-banner {
    padding: 58px 0 68px;
  }

  :where(body.drafarah-blog) .blog-banner-spark {
    display: none;
  }

  :where(body.drafarah-blog) .blog-banner h1 {
    font-size: clamp(2.55rem, 11vw, 3.55rem);
  }

  :where(body.drafarah-blog) .blog-list-heading {
    text-align: center;
  }

  :where(body.drafarah-blog) .blog-list-heading .eyebrow {
    justify-content: center;
  }

  :where(body.drafarah-blog) .blog-filter-floral {
    opacity: .05;
    right: -135px;
    top: -205px;
    width: 200px;
  }

  :where(body.drafarah-blog) .blog-filter-bar {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  :where(body.drafarah-blog) .blog-filter-clear {
    justify-self: center;
  }

  :where(body.drafarah-blog) .blog-recommended {
    padding: 72px 0;
  }

  :where(body.drafarah-blog) .blog-recommended-heading {
    text-align: center;
  }

  :where(body.drafarah-blog) .blog-recommended-heading .eyebrow {
    justify-content: center;
  }

  :where(body.drafarah-blog) .blog-recommended-feature-image {
    height: 260px;
  }

  :where(body.drafarah-blog) .blog-recommended-feature > div {
    padding: 24px 22px;
    text-align: center;
  }

  :where(body.drafarah-blog) .blog-recommended-feature h3 {
    font-size: 1.65rem;
  }

  :where(body.drafarah-blog) .blog-recommended-feature .blog-card-link {
    justify-content: center;
  }

  :where(body.drafarah-blog) .blog-recommended-list article {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  :where(body.drafarah-blog) .blog-recommended-item-image {
    min-height: 120px;
  }

  /* Artigo */
  :where(body.drafarah-artigo) .article-hero {
    padding: 48px 0 68px;
    text-align: center;
  }

  :where(body.drafarah-artigo) .article-hero .eyebrow,
  :where(body.drafarah-artigo) .article-meta {
    justify-content: center;
  }

  :where(body.drafarah-artigo) .article-publication {
    justify-content: center;
  }

  :where(body.drafarah-artigo) .article-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  :where(body.drafarah-artigo) .article-hero-floral {
    opacity: .05;
    right: -120px;
    top: 42px;
    width: 260px;
  }

  :where(body.drafarah-artigo) .article-cover {
    border-radius: 16px;
    height: 250px;
    transform: translateY(-24px);
  }

  :where(body.drafarah-artigo) .article-layout,
  :where(body.drafarah-artigo) .article-cover + .article-layout {
    margin-top: 20px;
  }

  :where(body.drafarah-artigo) .article-toc ol {
    columns: 1;
  }

  :where(body.drafarah-artigo) .article-content {
    font-size: 1rem;
  }

  :where(body.drafarah-artigo) .article-inline-cta {
    padding: 27px 22px;
    text-align: center;
  }

  :where(body.drafarah-artigo) .article-side-sticky {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  /* Detalhes dos tratamentos */
  :where(body.drafarah-procedimento) .procedure-breadcrumb {
    margin-bottom: 32px;
  }

  :where(body.drafarah-procedimento) .procedure-hero {
    padding-top: 20px;
  }

  :where(body.drafarah-procedimento) .procedure-about-floral {
    bottom: -100px;
    left: -115px;
    opacity: .05;
    width: 210px;
  }

  :where(body.drafarah-procedimento) .procedure-hero .eyebrow {
    font-size: .65rem;
    letter-spacing: .1em;
  }

  :where(body.drafarah-procedimento) .procedure-hero h1 {
    font-size: clamp(2rem, 9vw, 3.25rem);
  }

  :where(body.drafarah-procedimento) .procedure-hero .button {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
    font-size: .875rem;
    gap: 10px;
  }

  :where(body.drafarah-procedimento) .procedure-hero-image {
    border-top-left-radius: 80px;
  }

  :where(body.drafarah-procedimento) .procedure-hero-image img {
    height: 360px;
  }

  :where(body.drafarah-procedimento) .procedure-trust {
    padding: 24px 0;
    font-size: .8125rem;
  }

  .procedure-page .section {
    padding: 64px 0;
  }

  .procedure-page .section h2 {
    font-size: 2.25rem;
  }

  :where(body.drafarah-procedimento) .procedure-concern {
    padding: 26px;
  }

  :where(body.drafarah-procedimento) .procedure-concern h3 {
    margin-top: 16px;
  }

  :where(body.drafarah-procedimento) .procedure-note {
    padding: 20px;
    gap: 12px;
  }

  :where(body.drafarah-procedimento) .procedure-risk {
    padding: 22px;
  }

  :where(body.drafarah-procedimento) .procedure-appointment .treatments-appointment-card {
    padding: 24px 20px;
    gap: 20px;
  }

  :where(body.drafarah-procedimento) .procedure-appointment .treatments-appointment-card .button {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  :where(body.drafarah-procedimento) .procedure-appointment .button {
    font-size: .875rem;
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
  }
}

@media (max-width: 479.98px) {
  /* Global e início */
  .brand {
    gap: 8px;
  }

  .brand-copy strong {
    font-size: 1.1rem;
  }

  .brand-copy small {
    letter-spacing: .1em;
  }

  :where(body.drafarah-inicio) .hero h1 {
    font-size: 2.7rem;
  }

  :where(body.drafarah-inicio) .hero-photo,
  :where(body.drafarah-inicio) .hero-photo-wrap {
    height: 410px;
    min-height: 410px;
  }

  :where(body.drafarah-inicio) .hero-photo {
    border-radius: 145px 26px 26px 26px;
  }

  :where(body.drafarah-inicio) .about-visual {
    min-height: 500px;
  }

  :where(body.drafarah-inicio) .about-main {
    height: 470px;
  }

  :where(body.drafarah-inicio) .about-detail {
    height: 128px;
    width: 170px;
  }

  :where(body.drafarah-inicio) .about-visual figcaption {
    border-width: 5px;
    height: 84px;
    right: 4%;
    top: 28px;
    width: 84px;
  }

  :where(body.drafarah-inicio) .about-visual figcaption strong {
    font-size: 1rem;
  }

  :where(body.drafarah-inicio) .about-visual figcaption small {
    font-size: .5rem;
    letter-spacing: .1em;
  }

  .text-link {
    min-width: 220px;
  }

  /* Consultório */
  :where(body.drafarah-consultorio) .doctor-profile-visual {
    min-height: 490px;
  }

  :where(body.drafarah-consultorio) .doctor-profile-main {
    height: 465px;
  }

  :where(body.drafarah-consultorio) .doctor-profile-detail {
    height: 115px;
    width: 155px;
  }

  :where(body.drafarah-consultorio) .office-gallery figure {
    height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Global */
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }

  /* Detalhes dos tratamentos */
  .procedure-page *,
  .procedure-page *::before,
  .procedure-page *::after {
    transition: none !important;
  }
}
