/* Shared spa identity. Content remains editable in the page's Composer elements. */
body.rdm-spa-page {
    --spa-gold: #aa8750;
    --spa-line: #28463826;
    background: var(--renew-cream, #f9f8f0);
    color: var(--renew-ink, #22382d);
    font: 400 17px/1.7 var(--rdm-font-family-base, sans-serif);
}
.rdm-spa-page *, .rdm-spa-page *::before, .rdm-spa-page *::after { box-sizing: border-box; }
.rdm-spa-page :is(.site-main,.rdm-page__article,.rdm-page__content) { margin: 0; padding: 0; width: 100%; max-width: none; }
.rdm-spa-page .rdm-page__content > .vc_row { margin: 0; max-width: none; }
.rdm-spa-page :is(h1,h2,h3,p) { font-family: inherit; }
.rdm-spa-page .rdm-content-hero {
    position: relative; isolation: isolate; overflow: hidden; min-height: 0;
    background: var(--renew-olive, #284638); color: #f9f8f0;
    border-bottom: 1px solid #b6925850;
}
.rdm-spa-page .rdm-content-hero__bg { opacity: .09; mix-blend-mode: luminosity; }
.rdm-spa-page .rdm-content-hero.is-blurred .rdm-content-hero__bg img { filter: none; }
.rdm-spa-page .rdm-content-hero::after {
    content: ''; position: absolute; inset: auto 2% -90px auto; width: 280px; height: 370px;
    background: url('../images/spa-botanical.svg') center/contain no-repeat; opacity: .52; pointer-events: none;
}
.rdm-spa-page .rdm-content-hero__inner { position: relative; z-index: 1; padding: 176px 24px 56px; }
.rdm-spa-page .rdm-content-hero__title { color: #f9f8f0; font: 600 clamp(34px,4vw,58px)/1.12 var(--rdm-font-family-base); letter-spacing: -.045em; text-wrap: balance; }
.rdm-spa-page .rdm-breadcrumbs { margin-top: 16px; }
.rdm-spa-page .rdm-breadcrumbs :is(a,span,li) { color: #e2e8d8; }
.rdm-spa-page #masthead .rdmmb-revoza-bar { background: #203d30f2; border: 1px solid #ffffff1c; }
.rdm-spa-page .spa-section { position: relative; padding: clamp(52px,6.5vw,92px) clamp(22px,4vw,56px); }
.rdm-spa-page .spa-section > .rdm-vc-row__inner-container {
    max-width: 1240px; width: 100%; margin: 0 auto; padding: 0;
    display: flex; flex-wrap: wrap; gap: 32px 0;
}
.rdm-spa-page .spa-section > .rdm-vc-row__inner-container::before,
.rdm-spa-page .spa-section > .rdm-vc-row__inner-container::after { display: none; }
.rdm-spa-page .spa-section > .rdm-vc-row__inner-container > .wpb_column { min-width: 0; padding: 0 22px; }
.rdm-spa-page .spa-section > .rdm-vc-row__inner-container > .wpb_column:first-child { padding-left: 0; }
.rdm-spa-page .spa-section > .rdm-vc-row__inner-container > .wpb_column:last-child { padding-right: 0; }
.rdm-spa-page .spa-section .wpb_content_element { margin-bottom: 0; }
.rdm-spa-page .spa-section :is(h2,h3) { color: inherit; font-weight: 600; letter-spacing: -.045em; line-height: 1.14; text-wrap: balance; }
.rdm-spa-page .spa-section h2 { font-size: clamp(31px,3.7vw,52px); margin: 0 0 24px; }
.rdm-spa-page .spa-section h3 { font-size: 25px; margin: 0 0 14px; }
.rdm-spa-page .spa-section p { margin: 0 0 20px; }
.rdm-spa-page .spa-section p:last-child { margin-bottom: 0; }
.rdm-spa-page .spa-lead { font-size: clamp(19px,1.7vw,23px); line-height: 1.55; }
.rdm-spa-page .spa-muted { color: var(--renew-muted, #536157); }
.spa-eyebrow, .rdm-spa-page .spa-section .spa-eyebrow {
    display: block; color: #74613d; font-size: 11px; font-weight: 600;
    letter-spacing: .17em; line-height: 1.5; text-transform: uppercase; margin: 0 0 16px;
}
.rdm-spa-page .spa-pale { background: var(--renew-pale, #edf2e9); }
.rdm-spa-page .spa-section--intro { overflow: hidden; }
.rdm-spa-page .spa-section--intro::before {
    content: ''; position: absolute; width: 270px; height: 360px; left: -130px; bottom: -60px;
    background: url('../images/spa-botanical.svg') center/contain no-repeat; opacity: .15; pointer-events: none;
}
.rdm-spa-page .spa-section--intro > div { position: relative; }
.rdm-spa-page .spa-photo { position: relative; margin: 0; padding: 0 0 24px 24px; }
.rdm-spa-page .spa-photo::before { content: ''; position: absolute; inset: 24px 24px 0 0; border: 1px solid #aa875077; border-radius: 120px 28px 28px; }
.rdm-spa-page .spa-photo img { position: relative; display: block; width: 100%; height: clamp(340px,34vw,480px); object-fit: cover; border-radius: 110px 24px 24px; }
.rdm-spa-page .spa-photo figcaption { position: absolute; bottom: 46px; left: 46px; right: 22px; padding: 18px 22px; background: #203d30ed; color: #f9f8f0; border: 1px solid #f9f8f036; border-radius: 16px; font-size: 17px; }
.rdm-spa-page .spa-photo figcaption span { display: block; margin-bottom: 4px; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: #d7dbbe; }
.rdm-spa-page .spa-values, .rdm-spa-page .spa-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 34px; }
.rdm-spa-page .spa-value { padding: 30px; border: 1px solid var(--spa-line); border-radius: 22px; background: #f9f8f0; }
.rdm-spa-page .spa-value .rdm-icon { color: #8b713f; margin-bottom: 24px; }
.rdm-spa-page .spa-value p { color: var(--renew-muted); font-size: 16px; }
.rdm-spa-page .spa-step { padding: 24px 28px 0 0; border-top: 1px solid #aa875066; }
.rdm-spa-page .spa-step > span { display: block; font-size: 14px; color: #8b713f; margin-bottom: 20px; }
.rdm-spa-page .spa-step p { color: var(--renew-muted); }
.rdm-spa-page .spa-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 28px; }
.rdm-spa-page .spa-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px;
    padding: 12px 24px; border: 1px solid transparent; border-radius: 99px;
    background: var(--renew-olive); color: #f9f8f0; font-size: 15px; font-weight: 600; text-decoration: none;
    transition: background-color .2s;
}
.rdm-spa-page .spa-button:hover { background: #1b3026; color: #fff; }
.rdm-spa-page .spa-link { color: var(--renew-olive); font-size: 15px; font-weight: 600; text-underline-offset: 5px; }
.rdm-spa-page :is(a,button):focus-visible { outline: 3px solid #aa8750; outline-offset: 5px; }
.rdm-spa-page .spa-visit > .wpb_wrapper { padding: clamp(26px,3vw,44px); border-radius: 26px; background: #edf2e9; border: 1px solid var(--spa-line); }
.rdm-spa-page .spa-visit h2 { font-size: 32px; }
.rdm-spa-page .spa-detail { padding: 22px 0; border-bottom: 1px solid var(--spa-line); }
.rdm-spa-page .spa-detail:first-of-type { padding-top: 0; }
.rdm-spa-page .spa-detail .spa-eyebrow { margin-bottom: 10px; }
.rdm-spa-page .spa-detail p { font-size: 17px; }
.rdm-spa-page .spa-address { max-width: 600px; font-size: 20px; line-height: 1.6; font-style: normal; margin: 0 0 24px; }
.spa-map { overflow: hidden; border: 1px solid #28463826; border-radius: 22px; background: #e6ebdf; }
.spa-map iframe { display: block; width: 100%; height: 340px; border: 0; }
.rdm-spa-page .spa-gallery-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.rdm-spa-page .spa-gallery-title h2 { margin-bottom: 0; }
.rdm-spa-page .spa-gallery-title p { max-width: 390px; color: var(--renew-muted); }
.rdm-spa-page .spa-cta { background: var(--renew-olive); color: #f9f8f0; }
.rdm-spa-page .spa-cta .spa-eyebrow { color: #d4c093; }
.rdm-spa-page .spa-cta .spa-button { background: #eef1df; color: #22382d; }
.rdm-spa-page .spa-cta .spa-link { color: #eef1df; }
.rdm-spa-page .spa-cta > .rdm-vc-row__inner-container { align-items: center; }
.rdm-spa-page .spa-cta .spa-actions { justify-content: flex-end; margin: 0; }

/* Home: linework stays behind the existing photos and editable sections. */
.rdm-massagens-renew :is(#quemsomos,#servicos,#terapeutas,#info) { position: relative; isolation: isolate; overflow: clip; }
.rdm-massagens-renew :is(#quemsomos,#servicos,#terapeutas,#info)::after {
    content: ''; position: absolute; z-index: -1; width: clamp(180px,23vw,340px); height: 430px;
    right: -40px; top: 14px; background: url('../images/spa-botanical.svg') center/contain no-repeat;
    opacity: .28; pointer-events: none;
}
.rdm-massagens-renew #quemsomos::after { left: -90px; top: auto; bottom: -70px; transform: rotate(-24deg); }
.rdm-massagens-renew #terapeutas::after { transform: rotate(170deg); top: -100px; }
.rdm-massagens-renew .renew-label::after { content: '✧'; margin-left: 10px; color: #9d7942; }
.rdm-massagens-renew .renew-about-collage { border-radius: 160px 28px 28px; }
.rdm-mobile-home .mh-hero { position: relative; isolation: isolate; overflow: hidden; }
.rdm-mobile-home .mh-hero::before { content: ''; position: absolute; z-index: -1; right: -94px; top: 0; width: 235px; height: 300px; background: url('../images/spa-botanical.svg') center/contain no-repeat; opacity: .22; transform: rotate(-18deg); pointer-events: none; }
@media (max-width: 767px) {
    .rdm-spa-page .rdm-content-hero__inner { padding: 132px 22px 38px; }
    .rdm-spa-page .rdm-content-hero__title { font-size: 36px; }
    .rdm-spa-page .rdm-content-hero::after { right: -100px; opacity: .3; }
    .rdm-spa-page .spa-section > .rdm-vc-row__inner-container > .wpb_column { width: 100%; padding: 0; }
    .rdm-spa-page .spa-values, .rdm-spa-page .spa-steps { grid-template-columns: 1fr; gap: 18px; }
    .rdm-spa-page .spa-value { padding: 26px; }
    .rdm-spa-page .spa-step { padding: 22px 0 6px; }
    .rdm-spa-page .spa-photo { padding-left: 16px; }
    .rdm-spa-page .spa-photo img { height: 350px; }
    .rdm-spa-page .spa-photo figcaption { left: 34px; right: 18px; padding: 16px; }
    .rdm-spa-page .spa-gallery-title { display: block; }
    .rdm-spa-page .spa-gallery-title p { margin-top: 20px; }
    .rdm-spa-page .spa-cta .spa-actions { justify-content: flex-start; }
    .rdm-spa-page .spa-map iframe { height: 300px; }
    .rdm-spa-page .spa-button { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .rdm-spa-page .spa-button { transition: none; }
}

/* Layered photo composition inspired by the reference, using this site's images. */
.rdm-massagens-renew #quemsomos .renew-about-collage {
    --spa-collage-height: clamp(510px,46vw,650px);
    position: relative; min-height: var(--spa-collage-height); align-self: center;
    isolation: isolate; border-radius: 0;
}
.rdm-massagens-renew #quemsomos .renew-about-collage > .wpb_wrapper { position: relative; height: var(--spa-collage-height); }
.rdm-massagens-renew #quemsomos .renew-about-main:not(img) { inset: 0 auto auto 12%; width: 66%; height: 88%; z-index: 1; }
.rdm-massagens-renew #quemsomos .renew-about-main img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 300px 300px 0 0; }
.rdm-massagens-renew #quemsomos .renew-about-small:not(img) { inset: auto auto 0 0; width: 42%; height: 49%; z-index: 3; }
.rdm-massagens-renew #quemsomos .renew-about-small img { display: block; width: 100%; height: 100%; object-fit: cover; border: 6px solid var(--renew-cream,#f9f8f0); border-radius: 160px 160px 12px 12px; }
.rdm-massagens-renew #quemsomos .renew-about-collage > .wpb_wrapper::after,
.spa-reference-collage::after {
    content: ''; position: absolute; z-index: 0; right: 1%; bottom: 0;
    width: 28%; height: 27%; background: url('../images/spa-botanical.svg') center/contain no-repeat;
    opacity: .7; transform: rotate(-38deg); pointer-events: none;
}
.rdm-massagens-renew #quemsomos .spa-contact-card,
.spa-reference-collage .spa-contact-card {
    position: absolute; z-index: 4; top: 16%; right: 0; width: 37%;
    display: block; overflow: hidden; border: 4px solid var(--renew-cream,#f9f8f0);
    border-radius: 16px; background: var(--renew-olive,#284638); color: #f9f8f0;
    text-decoration: none; box-shadow: 0 14px 30px #22382d12;
}
.rdm-massagens-renew #quemsomos .spa-contact-card img,
.spa-reference-collage .spa-contact-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 0; border-radius: 0; margin: 0; }
.spa-contact-card > span { display: block; padding: 10px 6px 12px; text-align: center; font-size: 11px; line-height: 1.4; }
.spa-contact-card strong { display: block; margin-top: 2px; font-size: clamp(12px,1.05vw,16px); font-weight: 600; }
.spa-contact-card:hover { box-shadow: 0 14px 30px #22382d26; }
.spa-contact-seal {
    position: absolute; z-index: 5; right: 20%; bottom: 2%;
    width: clamp(110px,10vw,144px); aspect-ratio: 1;
}
.spa-contact-seal > a {
    position: relative; display: grid; place-items: center; width: 100%; height: 100%;
    border: 5px solid var(--renew-cream,#f9f8f0); border-radius: 50%;
    background: var(--renew-olive,#284638); color: #f9f8f0; text-decoration: none;
}
.spa-contact-seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spa-contact-spin 20s linear infinite; }
.spa-contact-seal__ring text { fill: #f9f8f0; font: 600 12px var(--rdm-font-family-base,sans-serif); }
.spa-contact-seal__icon { display: grid; place-items: center; width: 44%; height: 44%; border-radius: 50%; background: #f9f8f0; color: #284638; }
.spa-contact-seal__icon svg { display: block; width: 30px; height: 30px; }
.spa-contact-card:focus-visible, .spa-contact-seal a:focus-visible { outline: 3px solid #aa8750; outline-offset: 4px; }
@keyframes spa-contact-spin { to { transform: rotate(360deg); } }
.rdm-mobile-home .mh-about-photo {
    position: relative; isolation: isolate; width: 100%; aspect-ratio: 1;
    margin: 28px 0 30px;
}
.rdm-mobile-home .mh-about-photo > img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rdm-radius,24px); }
.rdm-mobile-home .mh-about-photo .spa-contact-seal { width: clamp(92px,24vw,112px); right: 12px; bottom: 12px; }
.rdm-mobile-home .mh-about-photo .spa-contact-seal > a { border-width: 4px; }
.rdm-mobile-home .spa-contact-seal__icon svg { width: 24px; height: 24px; }
@media (max-width: 767px) {
    .rdm-massagens-renew #quemsomos .renew-about-collage { --spa-collage-height: clamp(360px,95vw,600px); }
}
@media (prefers-reduced-motion: reduce) {
    /* This seal explicitly autoplays; override only the home-wide animation reset. */
    :is(.rdm-massagens-renew,.rdm-mobile-home) .spa-contact-seal .spa-contact-seal__ring { animation: spa-contact-spin 20s linear infinite !important; }
}
