/* #####################################
########################################

	Theme Name: Reproferty
	Theme URI: Não informado
	Description: Tema exclusivo da Clínica Reproferty — blocos Gutenberg dinâmicos, sem dependências de front-end.
	Author: SXS Group
	Author URI: https://sxsmkt.com.br
	Version: 1.0.0
	Requires at least: 6.5
	Requires PHP: 8.1
	License: GNU General Public License v2 or later
	License URI: https://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: custom-theme
	Domain Path: /languages
	Tags: custom-theme

	Code: Gabriel Amarante | https://gabrielfreelancer.com.br

########################################
##################################### */

/* ######
   Fontes (self-hosted, subsets latin e latin-ext)
   Grenze substitui a Burgundy e Lexend substitui a Filson Pro (equivalentes do Google Fonts).
############ */

@font-face {
	font-family: 'Grenze';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('assets/fonts/grenze-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Grenze';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('assets/fonts/grenze-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Lexend';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('assets/fonts/lexend-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Lexend';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('assets/fonts/lexend-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ######
   Tokens
############ */

:root {
	/* Cores do layout (malva e taupe ajustados minimamente para contraste WCAG AA ≥ 4,5:1) */
	--c-taupe: #7a6d5b;
	--c-taupe-dark: #665a49;
	--c-mauve: #856666;
	--c-mauve-dark: #725656;
	--c-blush: #e9d1d1;
	--c-cream: #fff2de;
	--c-sand: #f6f2ef;
	--c-linen: #f8f4f0;
	--c-charcoal: #2d2d2d;
	--c-ink-60: rgba(31, 31, 31, .64);
	--c-white: #fff;
	--c-snow: #eee;
	--c-line: #d2d5da;
	--c-placeholder: #9da3ae;
	--c-whatsapp: #25d366;
	--c-error: #b3261e;
	--c-success: #2e7d5b;

	/* Tipografia */
	--font-display: 'Grenze', 'Georgia', serif;
	--font-body: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--fw-regular: 350;
	--fw-bold: 600;

	--fs-display: clamp(2rem, 1.55rem + 1.25cqw, 2.5rem);      /* 32 → 40 */
	--fs-title: clamp(1.875rem, 1.5rem + 1cqw, 2.25rem);       /* 30 → 36 */
	--fs-h3: clamp(1.25rem, 1.1rem + .45cqw, 1.5rem);          /* 20 → 24 */
	--fs-name: clamp(1.125rem, 1.05rem + .2cqw, 1.25rem);      /* 18 → 20 */
	--fs-eyebrow: clamp(.9375rem, .9rem + .15cqw, 1.125rem);   /* 15 → 18 */
	--fs-body: 1rem;
	--fs-small: .875rem;
	--ls-eyebrow: clamp(3px, .25cqw + 1px, 5px);

	/* Layout */
	--container: 1240px;
	--gutter: clamp(20px, 4.5cqw, 100px);
	--radius: 8px;
	--radius-sm: 5px;
	--header-h: 90px;
	--section-y: clamp(64px, 7cqw, 100px);

	/* Movimento */
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--t-fast: .2s;
	--t-base: .35s;
	--shadow-card: 0 8px 16px rgba(23, 23, 23, .1), 0 0 1px rgba(23, 23, 23, .05);
	--shadow-hover: 0 18px 40px rgba(61, 47, 47, .16);
}

/* ######
   Base

   O WordPress também carrega este CSS na interface do editor (fora do canvas).
   Por isso as regras globais valem só para o site e para o canvas do editor
   (body sem .wp-admin). :where() mantém a especificidade de cada seletor.
############ */

:where(body:not(.wp-admin)),
:where(body:not(.wp-admin)) *,
:where(body:not(.wp-admin)) *::before,
:where(body:not(.wp-admin)) *::after {
	box-sizing: border-box;
}

html:not(.wp-toolbar) {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body:not(.wp-admin) {
	margin: 0;
	color: var(--c-mauve);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	font-weight: var(--fw-regular);
	line-height: 1.5625;
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

:where(body:not(.wp-admin)) :is(img, svg, video, iframe) {
	display: block;
	max-width: 100%;
}
:where(body:not(.wp-admin)) img {
	height: auto;
}

:where(body:not(.wp-admin)) :is(h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl) {
	margin: 0;
}

:where(body:not(.wp-admin)) a {
	color: inherit;
	text-decoration: none;
	transition: color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

:where(body:not(.wp-admin)) :is(button, input, select, textarea) {
	font: inherit;
	color: inherit;
}

:where(body:not(.wp-admin)) button {
	cursor: pointer;
}

:where(body:not(.wp-admin)) :focus-visible {
	outline: 2px solid var(--c-taupe);
	outline-offset: 3px;
}

:where(body:not(.wp-admin)) ::selection {
	color: var(--c-white);
	background: var(--c-mauve);
}

:where(body:not(.wp-admin)) .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rp-skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	padding: 10px 18px;
	color: var(--c-cream);
	font-weight: var(--fw-bold);
	background: var(--c-taupe);
	border-radius: var(--radius-sm);
	transform: translateY(-200%);
	transition: transform var(--t-base) var(--ease);
}
.rp-skip-link:focus {
	transform: none;
}

.rp-main:focus {
	outline: none;
}

.rp-container {
	width: min(var(--container), 100% - var(--gutter) * 2);
	margin-inline: auto;
}

.rp-icon {
	width: 1em;
	height: 1em;
	flex: none;
}

/* ######
   Tipografia de seção
############ */

.rp-title {
	color: var(--c-taupe);
	font-family: var(--font-display);
	font-size: var(--fs-display);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
}

.rp-eyebrow {
	color: var(--c-mauve);
	font-size: 1rem;
	line-height: 1.75;
	letter-spacing: var(--ls-eyebrow);
}

.rp-lead {
	color: var(--c-mauve);
	line-height: 1.5625;
}
.rp-lead p + p {
	margin-top: 1em;
}

.rp-heading {
	display: flex;
	flex-direction: column;
}
.rp-heading--center {
	align-items: center;
	text-align: center;
}

/* Lexend em peso bold é ~2% mais larga que a Filson Pro do layout: compensa no tracking. */
.rp-btn,
.rp-help__card-title,
.rp-treatments__title,
.rp-features__title,
.rp-team__name,
.rp-treatment__step-title,
.rp-contact__item dt,
.rp-testimonial__name,
.rp-faq__question h3 {
	letter-spacing: -.012em;
}

/* ######
   Botões
############ */

.rp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 20px;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: var(--fw-bold);
	line-height: 1.5;
	text-align: center;
	border: 0;
	border-radius: var(--radius-sm);
	transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.rp-btn--large {
	padding: 10px 24px;
	font-size: 1.125rem;
	line-height: 1.5556;
}
.rp-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(61, 47, 47, .18);
}
.rp-btn:active {
	transform: translateY(0);
	box-shadow: none;
}

.rp-btn--cream {
	color: var(--c-taupe);
	background: var(--c-cream);
}
.rp-btn--cream:hover {
	color: var(--c-taupe-dark);
	background: var(--c-white);
}

.rp-btn--taupe {
	color: var(--c-cream);
	background: var(--c-taupe);
}
.rp-btn--taupe:hover {
	background: var(--c-taupe-dark);
}

.rp-btn--mauve {
	color: var(--c-cream);
	background: var(--c-mauve);
}
.rp-btn--mauve:hover {
	background: var(--c-mauve-dark);
}

.rp-btn--outline {
	color: #fcfcfc;
	background: transparent;
	border-radius: var(--radius);
	box-shadow: inset 0 0 0 1px var(--c-cream);
}
.rp-btn--outline:hover {
	color: var(--c-taupe);
	background: var(--c-cream);
	box-shadow: 0 10px 22px rgba(0, 0, 0, .15);
}

.rp-btn[aria-disabled='true'],
.rp-btn:disabled {
	opacity: .65;
	pointer-events: none;
}

/* ######
   Header
############ */

.rp-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	color: var(--c-snow);
	transition: background-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.admin-bar .rp-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.rp-header__inner {
	display: flex;
	align-items: center;
	gap: 40px;
	height: var(--header-h);
	transition: height var(--t-base) var(--ease);
}

.rp-header__logo {
	display: block;
	flex: none;
	margin-right: auto;
	color: var(--c-white);
}
.rp-header__logo .rp-logo {
	width: 158px;
	height: auto;
	transition: width var(--t-base) var(--ease);
}

.rp-header__panel {
	display: flex;
	align-items: center;
	gap: 40px;
	margin-right: 59px;
}

.rp-nav__list {
	display: flex;
	gap: 32px;
	padding: 0;
	list-style: none;
}
.rp-nav__list a {
	position: relative;
	display: block;
	color: var(--c-snow);
	font-size: 1rem;
	line-height: 1.5;
}
.rp-nav__list a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform var(--t-base) var(--ease);
}
.rp-nav__list a:hover::after,
.rp-nav__list .current-menu-item > a::after,
.rp-nav__list .current_page_item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.rp-header__cta {
	min-width: 213px;
}

.rp-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--c-white);
	font-size: 28px;
	background: none;
	border: 0;
}
.rp-header__icon-close {
	display: none;
}

/* Estado após rolar (e páginas sem hero) */
.rp-header.is-scrolled,
body:not(.has-hero) .rp-header {
	background: rgba(102, 90, 73, .92);
	box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.rp-header.is-scrolled {
	--header-h: 72px;
}
.rp-header.is-scrolled .rp-logo {
	width: 140px;
}
.rp-header.is-hidden {
	transform: translateY(-100%);
}

/* ######
   Rodapé
############ */

.rp-footer {
	padding: 46px 0 22px;
	color: var(--c-snow);
	background: var(--c-charcoal);
}

.rp-footer__logo {
	display: block;
	width: max-content;
	margin: 0 auto;
	color: var(--c-white);
}
.rp-footer__logo .rp-logo {
	width: 194px;
	height: auto;
}

.rp-footer__nav {
	margin-top: 25px;
}
.rp-footer__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 32px;
	padding: 0;
	list-style: none;
}
.rp-footer__list a {
	font-size: 1rem;
	line-height: 1.5;
}
.rp-footer__list a:hover {
	color: var(--c-cream);
	opacity: .8;
}

.rp-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 26px;
	padding-top: 21px;
	border-top: 1px solid var(--c-line);
}

.rp-footer__legal {
	font-size: .8125rem;
	font-weight: 400;
	line-height: 1.6154;
	letter-spacing: .05em;
}
.rp-footer__legal a:hover {
	color: var(--c-cream);
	text-decoration: underline;
}

.rp-social {
	display: flex;
	gap: 5px;
	padding: 0;
	list-style: none;
}
.rp-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-size: 20px;
	border-radius: 50%;
	transition: background-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.rp-social a:hover {
	background: rgba(255, 255, 255, .08);
	transform: translateY(-2px);
}

/* ######
   WhatsApp flutuante
############ */

.rp-whatsapp {
	position: fixed;
	right: clamp(16px, 7.8vw, 112px);
	bottom: clamp(16px, 3vw, 32px);
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 69px;
	height: 69px;
	color: var(--c-white);
	font-size: 34px;
	background: var(--c-whatsapp);
	border-radius: 50%;
	box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
	transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease);
}
.rp-whatsapp::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: var(--c-whatsapp);
	z-index: -1;
	animation: rp-pulse 2.6s var(--ease) infinite;
}
.rp-whatsapp:hover {
	transform: scale(1.08);
	box-shadow: 0 14px 30px rgba(37, 211, 102, .45);
}

@keyframes rp-pulse {
	0% { transform: scale(1); opacity: .55; }
	70%, 100% { transform: scale(1.55); opacity: 0; }
}

/* ######
   Formulários
############ */

.rp-form {
	display: grid;
	gap: 24px;
}
.rp-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.rp-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rp-field {
	position: relative;
	display: flex;
	flex-direction: column;
}
.rp-field__input {
	width: 100%;
	min-height: 40px;
	padding: 6px 16px;
	color: var(--c-charcoal);
	font-size: 1rem;
	font-weight: var(--fw-regular);
	line-height: 1.5;
	background: var(--c-white);
	border: 2px solid var(--c-taupe);
	border-radius: var(--radius);
	transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
	-webkit-appearance: none;
	appearance: none;
}
.rp-field__input::placeholder {
	color: var(--c-placeholder);
	opacity: 1;
}
.rp-field__input:focus {
	outline: none;
	border-color: var(--c-mauve);
	box-shadow: 0 0 0 4px rgba(133, 102, 102, .18);
}
textarea.rp-field__input {
	min-height: 160px;
	padding-top: 14px;
	font-size: 1.125rem;
	line-height: 1.5556;
	resize: vertical;
}
.rp-field.has-error .rp-field__input {
	border-color: var(--c-error);
}
.rp-field__error {
	margin-top: 6px;
	color: var(--c-error);
	font-size: .8125rem;
	line-height: 1.4;
}

.rp-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: .8125rem;
	line-height: 1.5;
	cursor: pointer;
}
.rp-check input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--c-taupe);
}
.rp-check a {
	text-decoration: underline;
}

.rp-form__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.rp-form__status {
	padding: 12px 16px;
	font-size: .9375rem;
	line-height: 1.5;
	border-radius: var(--radius);
}
.rp-form__status:empty {
	display: none;
}
.rp-form__status.is-success {
	color: var(--c-success);
	background: rgba(46, 125, 91, .1);
}
.rp-form__status.is-error {
	color: var(--c-error);
	background: rgba(179, 38, 30, .08);
}

.rp-form.is-loading .rp-btn {
	position: relative;
	color: transparent;
	pointer-events: none;
}
.rp-form.is-loading .rp-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	margin: auto;
	width: 20px;
	height: 20px;
	border: 2px solid var(--c-cream);
	border-right-color: transparent;
	border-radius: 50%;
	animation: rp-spin .7s linear infinite;
}
.rp-form.is-loading .rp-btn--cream::after {
	border-color: var(--c-taupe);
	border-right-color: transparent;
}

@keyframes rp-spin {
	to { transform: rotate(360deg); }
}

/* Variação "contato": campos translúcidos com borda rosada */
.rp-form--soft .rp-field__input {
	background: rgba(255, 255, 255, .5);
	border-color: var(--c-blush);
}
.rp-form--soft .rp-field__input:focus {
	background: var(--c-white);
	border-color: var(--c-mauve);
}
.rp-form--soft textarea.rp-field__input {
	min-height: 128px;
	font-size: 1rem;
	line-height: 1.5;
}

/* ######
   Conteúdo genérico (páginas sem hero, políticas, posts)
############ */

.rp-page-header {
	padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(40px, 5vw, 64px);
	background: var(--c-sand);
}
.rp-page-header__meta {
	margin-top: 12px;
}

.rp-content--prose {
	width: min(820px, 100% - var(--gutter) * 2);
	margin: 0 auto;
	padding: clamp(48px, 6vw, 88px) 0;
	color: var(--c-ink-60);
	line-height: 1.75;
}
.rp-content--prose > * + * {
	margin-top: 1.25em;
}
.rp-content--prose h2,
.rp-content--prose h3 {
	margin-top: 1.8em;
	color: var(--c-taupe);
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.1;
}
.rp-content--prose h2 {
	font-size: var(--fs-title);
}
.rp-content--prose h3 {
	font-size: var(--fs-h3);
}
.rp-content--prose a {
	color: var(--c-mauve);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.rp-content--prose ul,
.rp-content--prose ol {
	padding-left: 1.25em;
}
.rp-content__thumb img {
	width: 100%;
	border-radius: var(--radius);
}
.rp-post-list {
	display: grid;
	gap: 32px;
}
.rp-post-card h2 {
	margin: 0 0 8px;
}

/* Seções de blocos ocupam a largura total da página */
.rp-content > .rp-section {
	margin: 0;
}

/*
 * As seções respondem à largura do container (container queries), não da janela.
 * No front o container é a área de conteúdo (= largura da tela); no editor é a
 * pré-visualização de cada bloco, renderizada em largura desktop (editor-kit.js).
 */
.rp-content,
.rp-kit-preview {
	container-type: inline-size;
}

/* ######
   Componentes compartilhados entre blocos
############ */

.rp-section {
	position: relative;
	isolation: isolate;
}

/* Fundo de imagem com véu (usado em várias seções) */
.rp-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}
.rp-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.rp-bg--veil::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, .55);
}

/* Imagem com moldura arredondada e zoom no hover */
.rp-media {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
}
.rp-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease-out);
}
.rp-media:hover img {
	transform: scale(1.04);
}

/* Modal (vídeo e galeria) */
.rp-dialog {
	width: min(1100px, 100% - 32px);
	max-height: calc(100vh - 48px);
	padding: 0;
	color: var(--c-white);
	background: transparent;
	border: 0;
	overflow: visible;
}
.rp-dialog::backdrop {
	background: rgba(20, 16, 16, .82);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.rp-dialog[open] {
	animation: rp-zoom-in .35s var(--ease-out);
}
.rp-dialog__close {
	position: absolute;
	top: -52px;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--c-white);
	font-size: 28px;
	background: rgba(255, 255, 255, .1);
	border: 0;
	border-radius: 50%;
	transition: background-color var(--t-fast) var(--ease);
}
.rp-dialog__close:hover {
	background: rgba(255, 255, 255, .22);
}
.rp-dialog__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000;
	border-radius: var(--radius);
}
.rp-dialog__frame iframe,
.rp-dialog__frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.rp-dialog__img {
	width: auto;
	max-width: 100%;
	max-height: calc(100vh - 120px);
	margin: 0 auto;
	border-radius: var(--radius);
}

@keyframes rp-zoom-in {
	from { opacity: 0; transform: scale(.96); }
	to { opacity: 1; transform: none; }
}

/* ######
   Animações de entrada (ativas só com JS; o editor exibe tudo visível)
############ */

.rp-js [data-reveal] {
	opacity: 0;
	transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
	transition-delay: var(--rp-delay, 0ms);
}
.rp-js [data-reveal='up'] {
	transform: translate3d(0, 28px, 0);
}
.rp-js [data-reveal='left'] {
	transform: translate3d(-36px, 0, 0);
}
.rp-js [data-reveal='right'] {
	transform: translate3d(36px, 0, 0);
}
.rp-js [data-reveal='zoom'] {
	transform: scale(.94);
}
.rp-js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html:not(.wp-toolbar) {
		scroll-behavior: auto;
	}
	:where(body:not(.wp-admin)) *,
	:where(body:not(.wp-admin)) *::before,
	:where(body:not(.wp-admin)) *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.rp-js [data-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* ######
   Responsivo — header e rodapé
############ */

@media (max-width: 1199px) {
	.rp-header__panel {
		margin-right: 0;
		gap: 28px;
	}
	.rp-nav__list {
		gap: 24px;
	}
	.rp-header__cta {
		min-width: 0;
	}
}

@media (max-width: 1023px) {
	:root {
		--header-h: 76px;
	}

	.rp-header__toggle {
		display: flex;
		position: relative;
		z-index: 2;
	}
	.rp-header__logo {
		position: relative;
		z-index: 2;
	}
	.rp-header__logo .rp-logo {
		width: 136px;
	}

	.rp-header__panel {
		position: fixed;
		inset: 0;
		z-index: 1;
		flex-direction: column;
		justify-content: center;
		gap: 40px;
		padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
		background: var(--c-taupe-dark);
		opacity: 0;
		visibility: hidden;
		clip-path: circle(0 at calc(100% - 44px) 38px);
		transition: clip-path .6s var(--ease-out), opacity .3s var(--ease), visibility 0s .6s;
	}
	.rp-header.is-open .rp-header__panel {
		opacity: 1;
		visibility: visible;
		clip-path: circle(150% at calc(100% - 44px) 38px);
		transition: clip-path .7s var(--ease-out), opacity .2s var(--ease), visibility 0s;
	}
	.rp-header.is-open .rp-header__icon-open {
		display: none;
	}
	.rp-header.is-open .rp-header__icon-close {
		display: block;
	}

	.rp-nav__list {
		flex-direction: column;
		align-items: center;
		gap: 22px;
	}
	.rp-nav__list a {
		font-family: var(--font-display);
		font-size: 2rem;
		font-weight: 500;
		line-height: 1.1;
		color: var(--c-cream);
	}
	.rp-header.is-open .rp-nav__list li {
		animation: rp-menu-in .6s var(--ease-out) both;
	}
	.rp-header.is-open .rp-nav__list li:nth-child(2) { animation-delay: .05s; }
	.rp-header.is-open .rp-nav__list li:nth-child(3) { animation-delay: .1s; }
	.rp-header.is-open .rp-nav__list li:nth-child(4) { animation-delay: .15s; }
	.rp-header.is-open .rp-nav__list li:nth-child(5) { animation-delay: .2s; }
	.rp-header.is-open .rp-nav__list li:nth-child(6) { animation-delay: .25s; }

	.rp-header__cta {
		min-width: 240px;
	}

	.rp-footer__bottom {
		flex-direction: column-reverse;
		text-align: center;
	}
}

@keyframes rp-menu-in {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 767px) {
	.rp-whatsapp {
		width: 58px;
		height: 58px;
		font-size: 30px;
	}
	.rp-footer__list {
		gap: 8px 22px;
	}
	.rp-footer__legal {
		font-size: .75rem;
		letter-spacing: .03em;
	}
}

/* Componentes usados dentro das seções: respondem ao container. */
@container (max-width: 767px) {
	/* Quebras manuais dos títulos (pensadas para desktop) viram quebra natural. */
	.rp-title br,
	.rp-hero__title br {
		display: none;
	}
	.rp-form__row {
		grid-template-columns: 1fr;
	}
	.rp-btn--large {
		font-size: 1rem;
		line-height: 1.5;
	}
}

body.rp-menu-open {
	overflow: hidden;
}
