/* ==========================================================================
   LayoutMara — Dra. Mara Matos · Biomedicina Estética Avançada
   Paleta: preto, branco, bege/nude, verde água/menta.
   Tipografia: Playfair Display (títulos) + Inter (corpo).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
	/* Cores */
	--lm-preto:        #0F1010;
	--lm-grafite:      #1F1F1F;
	--lm-carvao:       #2C2C2C;
	--lm-cinza-q:      #6F6962;
	--lm-cinza-s:      #A8A29B;
	--lm-branco:       #FFFFFF;
	--lm-off-white:    #FAF7F2;
	--lm-nude-claro:   #F4EBDD;
	--lm-nude:         #E8D9C5;
	--lm-bege:         #D8C4A8;
	--lm-champagne:    #C9B59A;
	--lm-menta-claro:  #EAF6F1;
	--lm-menta:        #C7E5DC;
	--lm-agua:         #88C8B7;
	--lm-agua-esc:     #4A9886;
	--lm-agua-prof:    #2F6B5E;

	/* Raio e sombras */
	--lm-radius-sm: 14px;
	--lm-radius:    20px;
	--lm-radius-lg: 28px;

	--lm-shadow-sm: 0 4px 14px rgba(15,16,16,0.05);
	--lm-shadow:    0 12px 32px rgba(15,16,16,0.08);
	--lm-shadow-lg: 0 22px 50px rgba(15,16,16,0.12);

	/* Easing */
	--lm-ease: cubic-bezier(.2,.8,.2,1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body {
	background: var(--lm-off-white);
	color: var(--lm-grafite);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }

/* Skip link */
.skip-link.screen-reader-text {
	background: var(--lm-branco);
	color: var(--lm-preto);
	position: absolute;
	top: -100px; left: 50%;
	padding: .75rem 1rem;
	transform: translateX(-50%);
	transition: top .2s ease;
	z-index: 100000;
	border-radius: 0 0 8px 8px;
	font-weight: 700;
	box-shadow: var(--lm-shadow);
}
.skip-link.screen-reader-text:focus { top: 0; outline: 3px solid var(--lm-agua); }

/* --------------------------------------------------------------------------
   3. Utilitários do tema
   -------------------------------------------------------------------------- */
.mara-eyebrow {
	color: var(--lm-agua-esc);
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	margin-bottom: .75rem;
}
.mara-eyebrow--light { color: var(--lm-agua); }

.mara-section-lead {
	color: var(--lm-cinza-q);
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
	margin-top: -.5rem;
	margin-bottom: 2rem;
}
.mara-disclaimer { color: var(--lm-cinza-s); }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.mara-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(250,247,242,0.92) !important;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--lm-nude);
	transition: box-shadow .25s ease, background-color .25s ease;
}
.mara-header.is-scrolled {
	box-shadow: 0 6px 24px rgba(15,16,16,0.07);
	background: rgba(250,247,242,0.98) !important;
}
.mara-header-row { gap: clamp(1rem, 2.4vw, 2rem); }
.mara-brand { gap: .85rem; align-items: center; }
.mara-brand-text { gap: 2px !important; }
.mara-brand-logo img,
.mara-brand .wp-block-site-logo img {
	display: block;
	max-width: 220px;
	height: auto;
}
.mara-brand-title a,
.mara-brand .wp-block-site-title a {
	color: var(--lm-preto);
	text-decoration: none;
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 600;
	font-size: 1.15rem;
	letter-spacing: .01em;
	line-height: 1;
}
.mara-brand-tagline {
	color: var(--lm-agua-esc) !important;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-size: .68rem !important;
	margin: 0 !important;
}
.mara-header .wp-block-navigation a {
	color: var(--lm-preto) !important;
	font-weight: 500;
	font-family: 'Inter', sans-serif;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: .82rem;
	transition: color .2s ease;
}
.mara-header .wp-block-navigation a:hover,
.mara-header .wp-block-navigation .current-menu-item a {
	color: var(--lm-agua-esc) !important;
}
.mara-header-cta .wp-block-button__link {
	background: var(--lm-preto) !important;
	color: var(--lm-branco) !important;
	box-shadow: 0 6px 18px rgba(15,16,16,0.18);
}
.mara-header-cta .wp-block-button__link:hover {
	background: var(--lm-agua-esc) !important;
	transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   5. Botões globais
   -------------------------------------------------------------------------- */
.wp-element-button,
.wp-block-button__link {
	border-radius: 999px !important;
	background: var(--lm-preto) !important;
	color: var(--lm-branco) !important;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: .82rem;
	padding: .95rem 1.8rem;
	transition: background-color .25s var(--lm-ease), transform .2s var(--lm-ease), box-shadow .25s var(--lm-ease);
	box-shadow: 0 4px 14px rgba(15,16,16,0.12);
	border: none;
}
.wp-element-button:hover,
.wp-block-button__link:hover {
	background: var(--lm-agua-esc) !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(74,152,134,0.22);
}
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--lm-preto) !important;
	border: 1.5px solid var(--lm-preto) !important;
	box-shadow: none;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--lm-preto) !important;
	color: var(--lm-branco) !important;
}
/* Botões em fundo escuro (CTA final) */
.mara-cta-final .wp-block-button.is-style-outline .wp-block-button__link {
	color: var(--lm-branco) !important;
	border-color: var(--lm-branco) !important;
}
.mara-cta-final .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--lm-branco) !important;
	color: var(--lm-preto) !important;
}

/* --------------------------------------------------------------------------
   6. Layout — sections base
   -------------------------------------------------------------------------- */
.mara-main { overflow-x: clip; }
.mara-section h2 { margin-bottom: .35em; }
.mara-section h2.has-text-align-center + .mara-section-lead,
.mara-section h2.has-text-align-center + p {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	color: var(--lm-cinza-q);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.mara-hero {
	background:
		radial-gradient(circle at 85% 15%, rgba(199,229,220,0.55) 0, transparent 50%),
		radial-gradient(circle at 8% 90%, rgba(244,235,221,0.6) 0, transparent 55%),
		linear-gradient(180deg, #FBF9F4 0%, var(--lm-off-white) 70%);
	position: relative;
	overflow: hidden;
}
.mara-hero h1 {
	color: var(--lm-preto) !important;
	font-family: 'Playfair Display', serif;
	letter-spacing: -.02em;
}
.mara-hero-sub {
	color: var(--lm-grafite) !important;
	font-weight: 500 !important;
	font-family: 'Playfair Display', serif !important;
	font-size: clamp(1.1rem, 1.7vw, 1.45rem) !important;
	margin-top: .5rem;
}
.mara-hero-text {
	color: var(--lm-cinza-q);
	max-width: 56ch;
	font-size: 1.05rem;
	margin-top: 1.25rem;
}
.mara-hero .wp-block-image img {
	border-radius: var(--lm-radius-lg);
	box-shadow: var(--lm-shadow-lg);
	object-fit: cover;
	aspect-ratio: 4/5;
}

/* Carrossel do hero (Gallery → slideshow). Sem JS: galeria normal. */
html.js .mara-hero-carousel {
	position: relative;
	margin: 0;
	padding: 0;
	gap: 0 !important;
	aspect-ratio: 4/5;
	border-radius: var(--lm-radius-lg);
	overflow: hidden;
	box-shadow: var(--lm-shadow-lg);
	background: var(--lm-nude-claro);
}
html.js .mara-hero-carousel > .wp-block-image,
html.js .mara-hero-carousel > .blocks-gallery-item {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 100% !important;
	display: block !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	opacity: 0;
	transform: scale(1.04);
	transition: opacity 1.1s var(--lm-ease), transform 6s var(--lm-ease);
	pointer-events: none;
}
html.js .mara-hero-carousel > .wp-block-image.is-active,
html.js .mara-hero-carousel > .blocks-gallery-item.is-active {
	opacity: 1;
	transform: scale(1);
	pointer-events: auto;
	z-index: 1;
}
html.js .mara-hero-carousel > .wp-block-image img,
html.js .mara-hero-carousel > .blocks-gallery-item img {
	width: 100% !important;
	height: 100% !important;
	display: block;
	object-fit: cover;
	border-radius: 0 !important;
	aspect-ratio: auto;
}
.mara-hero-carousel-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 14px;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 2;
	pointer-events: none;
}
.mara-hero-carousel-dots button {
	pointer-events: auto;
	width: 9px;
	height: 9px;
	border-radius: 999px;
	border: 0;
	padding: 0;
	background: rgba(255,255,255,0.6);
	box-shadow: 0 1px 4px rgba(15,16,16,0.25);
	cursor: pointer;
	transition: background-color .25s ease, transform .25s ease;
}
.mara-hero-carousel-dots button[aria-current="true"] {
	background: var(--lm-branco);
	transform: scale(1.3);
}
.mara-hero-carousel-dots button:focus-visible {
	outline: 2px solid var(--lm-agua);
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   8. Sobre
   -------------------------------------------------------------------------- */
.mara-sobre-foto img {
	border-radius: var(--lm-radius-lg);
	box-shadow: var(--lm-shadow);
	aspect-ratio: 4/5;
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   9. Diferenciais — cards
   -------------------------------------------------------------------------- */
.mara-cards-grid { gap: 1.5rem !important; }
.mara-cards-grid .wp-block-column {
	background: var(--lm-branco);
	border: 1px solid var(--lm-nude);
	border-radius: var(--lm-radius);
	box-shadow: var(--lm-shadow-sm);
	padding: 32px 28px;
	transition: transform .25s var(--lm-ease), box-shadow .25s var(--lm-ease), border-color .25s var(--lm-ease);
}
.mara-cards-grid .wp-block-column:hover {
	transform: translateY(-4px);
	box-shadow: var(--lm-shadow);
	border-color: var(--lm-menta);
}
.mara-cards-grid h4 {
	color: var(--lm-preto);
	margin-top: 0;
	margin-bottom: .6rem;
	font-family: 'Playfair Display', serif;
}
.mara-cards-grid p { color: var(--lm-cinza-q); margin: 0; }

/* --------------------------------------------------------------------------
   10. Procedimentos — cards do CPT (query loop)
   -------------------------------------------------------------------------- */
.mara-procedimentos .mara-tratamentos-query {
	margin-top: 2rem;
}
.mara-procedimentos .wp-block-post-template {
	gap: 1.5rem !important;
}
.mara-tratamento-card {
	background: var(--lm-branco);
	border: 1px solid var(--lm-nude);
	border-radius: var(--lm-radius);
	overflow: hidden;
	padding: 0 0 22px 0 !important;
	box-shadow: var(--lm-shadow-sm);
	transition: transform .3s var(--lm-ease), box-shadow .3s var(--lm-ease), border-color .3s var(--lm-ease);
	display: flex !important;
	flex-direction: column;
	height: 100%;
}
.mara-tratamento-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--lm-shadow);
	border-color: var(--lm-menta);
}
.mara-tratamento-card .wp-block-post-featured-image {
	margin: 0 !important;
	overflow: hidden;
}
.mara-tratamento-card .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 4/5;
	object-fit: cover;
	border-radius: 0 !important;
	transition: transform .6s var(--lm-ease);
}
.mara-tratamento-card:hover .wp-block-post-featured-image img {
	transform: scale(1.04);
}
.mara-tratamento-card .mara-card-categoria {
	padding: 18px 22px 0;
	font-family: 'Inter', sans-serif;
	color: var(--lm-agua-esc);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-size: .72rem;
}
.mara-tratamento-card .mara-card-categoria a {
	color: inherit;
	text-decoration: none;
}
.mara-tratamento-card .mara-card-title {
	padding: 6px 22px 0;
	margin: 0;
	font-family: 'Playfair Display', serif;
	font-size: 1.25rem;
	color: var(--lm-preto);
}
.mara-tratamento-card .mara-card-title a {
	color: inherit;
	text-decoration: none;
}
.mara-tratamento-card .wp-block-post-excerpt {
	padding: 8px 22px 0;
	color: var(--lm-cinza-q);
	font-size: .95rem;
}
.mara-tratamento-card .wp-block-buttons {
	padding: 14px 22px 0;
	margin-top: auto;
}
.mara-tratamento-card .mara-card-btn .wp-block-button__link {
	font-size: .72rem;
	padding: .65rem 1.1rem;
}

/* --------------------------------------------------------------------------
   11. Destaques (faciais e corporais) — cards com imagem
   -------------------------------------------------------------------------- */
.mara-destaques-grid {
	gap: 1.5rem !important;
	margin-top: 2rem;
}
.mara-destaques-grid .wp-block-column {
	background: var(--lm-branco);
	border: 1px solid var(--lm-nude);
	border-radius: var(--lm-radius);
	padding: 0 !important;
	overflow: hidden;
	box-shadow: var(--lm-shadow-sm);
	transition: transform .3s var(--lm-ease), box-shadow .3s var(--lm-ease), border-color .3s var(--lm-ease);
}
.mara-destaques-grid .wp-block-column:hover {
	transform: translateY(-5px);
	box-shadow: var(--lm-shadow);
	border-color: var(--lm-menta);
}
.mara-destaques-grid .wp-block-image {
	margin: 0 !important;
}
.mara-destaques-grid .wp-block-image img {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
	border-radius: 0 !important;
}
.mara-destaques-grid h4 {
	margin: 22px 24px 8px !important;
	color: var(--lm-preto);
	font-family: 'Playfair Display', serif;
}
.mara-destaques-grid p {
	margin: 0 24px 24px !important;
	color: var(--lm-cinza-q);
	font-size: .95rem;
	line-height: 1.55;
}
.mara-destaques-grid--3 { margin-top: 1.25rem; }
.mara-destaques-grid--3 .wp-block-column {
	padding: 26px 28px !important;
}
.mara-destaques-grid--3 h4 {
	margin: 0 0 8px 0 !important;
}
.mara-destaques-grid--3 p {
	margin: 0 !important;
}

.mara-destaques-faciais .wp-block-buttons,
.mara-destaques-corporais .wp-block-buttons {
	margin-top: 2.5rem;
}

/* --------------------------------------------------------------------------
   12. Terapias integrativas
   -------------------------------------------------------------------------- */
.mara-integrativas-grid {
	flex-wrap: wrap;
	gap: 1.25rem !important;
	margin-top: 2rem;
}
.mara-integrativas-grid .wp-block-column {
	flex: 1 1 220px !important;
	background: var(--lm-branco);
	border: 1px solid var(--lm-nude);
	border-radius: var(--lm-radius);
	padding: 28px 26px !important;
	box-shadow: var(--lm-shadow-sm);
	transition: transform .25s var(--lm-ease), box-shadow .25s var(--lm-ease), border-color .25s var(--lm-ease);
	position: relative;
}
.mara-integrativas-grid .wp-block-column::before {
	content: "";
	display: block;
	width: 36px;
	height: 3px;
	background: var(--lm-agua);
	border-radius: 999px;
	margin-bottom: 14px;
}
.mara-integrativas-grid .wp-block-column:hover {
	transform: translateY(-3px);
	box-shadow: var(--lm-shadow);
	border-color: var(--lm-menta);
}
.mara-integrativas-grid h4 {
	margin: 0 0 8px 0 !important;
	color: var(--lm-preto);
	font-family: 'Playfair Display', serif;
	font-size: 1.15rem;
}
.mara-integrativas-grid p {
	margin: 0 !important;
	color: var(--lm-cinza-q);
	font-size: .92rem;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. Cuidados com a pele
   -------------------------------------------------------------------------- */
.mara-cuidados-foto img {
	border-radius: var(--lm-radius-lg);
	box-shadow: var(--lm-shadow);
	aspect-ratio: 4/5;
	object-fit: cover;
}
.mara-cuidados-lista {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
}
.mara-cuidados-lista li {
	position: relative;
	padding: .85rem 0 .85rem 1.75rem;
	border-bottom: 1px solid var(--lm-nude-claro);
	color: var(--lm-grafite);
	line-height: 1.5;
}
.mara-cuidados-lista li:last-child { border-bottom: none; }
.mara-cuidados-lista li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.2rem;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: var(--lm-agua);
	box-shadow: 0 0 0 4px var(--lm-menta-claro);
}
.mara-cuidados-lista strong {
	color: var(--lm-preto);
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	letter-spacing: .005em;
}

/* --------------------------------------------------------------------------
   14. Depoimentos
   -------------------------------------------------------------------------- */
.mara-depoimentos { background: var(--lm-menta-claro) !important; }
.mara-depoimentos-grid { gap: 1.25rem !important; margin-top: 2rem; }
.mara-depoimentos-grid .wp-block-column {
	background: var(--lm-branco);
	border: 1px solid var(--lm-menta);
	border-radius: var(--lm-radius);
	padding: 30px 28px !important;
	box-shadow: var(--lm-shadow-sm);
	transition: transform .25s var(--lm-ease), box-shadow .25s var(--lm-ease);
}
.mara-depoimentos-grid .wp-block-column:hover {
	transform: translateY(-3px);
	box-shadow: var(--lm-shadow);
}
.mara-depoimento {
	border-left: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}
.mara-depoimento::before {
	content: "“";
	display: block;
	font-family: 'Playfair Display', serif;
	font-size: 4rem;
	color: var(--lm-agua);
	line-height: .6;
	margin-bottom: .5rem;
}
.mara-depoimento p {
	font-style: italic;
	color: var(--lm-grafite);
	font-size: 1.02rem;
	line-height: 1.6;
}
.mara-depoimento cite {
	display: block;
	margin-top: 1rem;
	font-style: normal;
	color: var(--lm-agua-esc);
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: .85rem;
	letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   15. FAQ — accordion nativo (details/summary)
   -------------------------------------------------------------------------- */
.mara-faq-list {
	margin-top: 2rem;
}
.mara-faq-item {
	background: var(--lm-branco);
	border: 1px solid var(--lm-nude);
	border-radius: var(--lm-radius);
	padding: 0;
	margin-bottom: 14px;
	box-shadow: var(--lm-shadow-sm);
	overflow: hidden;
	transition: border-color .2s var(--lm-ease), box-shadow .2s var(--lm-ease);
}
.mara-faq-item[open] {
	border-color: var(--lm-menta);
	box-shadow: var(--lm-shadow);
}
.mara-faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 22px 28px;
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	font-size: 1.08rem;
	color: var(--lm-preto);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	transition: color .2s ease;
}
.mara-faq-item summary::-webkit-details-marker { display: none; }
.mara-faq-item summary::after {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	border-right: 2px solid var(--lm-agua-esc);
	border-bottom: 2px solid var(--lm-agua-esc);
	transform: rotate(45deg);
	transition: transform .25s ease;
	flex-shrink: 0;
}
.mara-faq-item[open] summary::after {
	transform: rotate(-135deg);
}
.mara-faq-item summary:hover { color: var(--lm-agua-esc); }
.mara-faq-item summary:focus-visible {
	outline: 3px solid var(--lm-agua);
	outline-offset: -3px;
}
.mara-faq-item p {
	margin: 0;
	padding: 0 28px 24px;
	color: var(--lm-cinza-q);
	line-height: 1.65;
}

/* --------------------------------------------------------------------------
   16. CTA final
   -------------------------------------------------------------------------- */
.mara-cta-final {
	background:
		radial-gradient(circle at 80% 20%, rgba(74,152,134,0.18) 0, transparent 60%),
		radial-gradient(circle at 10% 90%, rgba(136,200,183,0.15) 0, transparent 60%),
		var(--lm-preto) !important;
	border-radius: 0;
	position: relative;
	overflow: hidden;
}
.mara-cta-final h2 {
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	color: var(--lm-branco) !important;
	max-width: 720px;
	margin: 0 auto !important;
}
.mara-cta-text {
	color: rgba(255,255,255,0.78) !important;
	max-width: 600px;
	margin: 1.25rem auto 2rem !important;
	font-size: 1.05rem;
}
.mara-cta-mini { color: rgba(255,255,255,0.55) !important; margin-top: 1.5rem !important; }
.mara-cta-final .wp-block-buttons { gap: .75rem; }

/* --------------------------------------------------------------------------
   17. Single tratamento
   -------------------------------------------------------------------------- */
.mara-tratamento-hero {
	background:
		radial-gradient(circle at 90% 20%, rgba(199,229,220,0.5) 0, transparent 50%),
		var(--lm-off-white) !important;
}
.mara-tratamento-title {
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	margin: .25rem 0 1rem;
}
.mara-tratamento-resumo {
	color: var(--lm-cinza-q);
	font-size: 1.1rem;
	max-width: 56ch;
	margin-bottom: 2rem;
}
.mara-tratamento-capa {
	margin: 0;
	border-radius: var(--lm-radius-lg);
	overflow: hidden;
	box-shadow: var(--lm-shadow-lg);
	aspect-ratio: 4/5;
	background: var(--lm-nude-claro);
}
.mara-tratamento-capa img {
	width: 100%;
	height: 100%;
	border-radius: 0 !important;
	object-fit: cover;
}
.mara-tratamento-body p { font-size: 1.02rem; line-height: 1.75; }
.mara-tratamento-body h2,
.mara-tratamento-body h3 {
	font-family: 'Playfair Display', serif;
	color: var(--lm-preto);
	margin-top: 2rem;
}
.mara-tratamento-body img {
	border-radius: var(--lm-radius);
	box-shadow: var(--lm-shadow-sm);
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.mara-footer {
	margin-top: 0;
	background: var(--lm-preto) !important;
	color: var(--lm-branco) !important;
}
.mara-footer h3 {
	color: var(--lm-branco) !important;
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	font-size: 1.4rem;
	margin: 0 0 .25rem;
}
.mara-footer h5 {
	color: var(--lm-agua) !important;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	letter-spacing: .14em;
	font-size: .78rem;
	text-transform: uppercase;
}
.mara-footer-tag {
	color: var(--lm-agua) !important;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-size: .75rem;
	margin: 0 0 1.25rem !important;
}
.mara-footer p,
.mara-footer li { color: rgba(255,255,255,0.78); }
.mara-footer a {
	color: var(--lm-branco);
	text-decoration: none;
	transition: color .2s ease;
}
.mara-footer a:hover { color: var(--lm-agua); }
.mara-footer .wp-block-navigation { gap: 8px; }
.mara-footer .wp-block-navigation a {
	color: rgba(255,255,255,0.78) !important;
	letter-spacing: .04em;
	font-size: .9rem;
	text-transform: none;
}
.mara-footer .wp-block-navigation a:hover { color: var(--lm-agua) !important; }
.mara-footer .wp-block-separator {
	background: var(--lm-carvao) !important;
	opacity: 1;
	margin: 2rem 0 1rem;
}
.mara-footer-disclaimer {
	color: rgba(255,255,255,0.55) !important;
	max-width: 760px;
	margin: 0 auto 1rem !important;
	font-size: .82rem;
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   19. WhatsApp flutuante
   -------------------------------------------------------------------------- */
.layoutmara-floating-wa {
	position: fixed;
	right: clamp(1rem, 3vw, 1.75rem);
	bottom: clamp(1rem, 3vw, 1.75rem);
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	padding: .9rem 1.3rem .9rem 1rem;
	background: #25D366;
	color: #0A0A0A;
	font-family: 'Inter', system-ui, sans-serif;
	font-weight: 700;
	font-size: .9rem;
	letter-spacing: .04em;
	text-decoration: none;
	border-radius: 999px;
	box-shadow: 0 12px 32px rgba(37,211,102,0.32), 0 2px 4px rgba(0,0,0,0.12);
	z-index: 9999;
	transition: transform .25s var(--lm-ease), box-shadow .25s var(--lm-ease), background-color .25s ease;
}
.layoutmara-floating-wa:hover,
.layoutmara-floating-wa:focus-visible {
	transform: translateY(-2px) scale(1.04);
	background: #1ebe57;
	color: #0A0A0A;
	box-shadow: 0 18px 40px rgba(37,211,102,0.42);
	outline: none;
}
.layoutmara-floating-wa:focus-visible {
	outline: 3px solid var(--lm-agua);
	outline-offset: 3px;
}
.layoutmara-floating-wa__icon { flex-shrink: 0; }
@media (max-width: 600px) {
	.layoutmara-floating-wa__label { display: none; }
	.layoutmara-floating-wa { padding: .9rem; }
}

/* --------------------------------------------------------------------------
   20. Animações de revelar
   Só escondemos as seções quando JS confirma estar ativo (html.js).
   -------------------------------------------------------------------------- */
.mara-section { transition: opacity .8s var(--lm-ease), transform .8s var(--lm-ease); }
html.js .mara-section:not(.is-visible) { opacity: 0; transform: translateY(20px); }

/* --------------------------------------------------------------------------
   21. Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.mara-header-row { flex-wrap: wrap; justify-content: space-between; }
	.mara-brand { min-width: auto; }
	.mara-procedimentos .wp-block-post-template,
	.mara-tratamento-archive .wp-block-post-template {
		grid-template-columns: repeat(3, 1fr) !important;
	}
	.mara-destaques-grid {
		flex-wrap: wrap;
	}
	.mara-destaques-grid .wp-block-column {
		flex: 1 1 calc(50% - .75rem) !important;
	}
}
@media (max-width: 781px) {
	.mara-header { padding: 14px 16px !important; }
	.mara-brand-logo img,
	.mara-brand .wp-block-site-logo img { max-width: 170px; }
	.mara-brand-title a,
	.mara-brand .wp-block-site-title a { font-size: 1rem; }
	.mara-brand-tagline { font-size: .62rem !important; }
	.mara-hero { padding-top: 56px !important; padding-bottom: 56px !important; }
	.mara-section { padding-top: 56px !important; padding-bottom: 56px !important; }
	.mara-cta-final { padding-top: 64px !important; padding-bottom: 64px !important; }
	.mara-hero .wp-block-columns,
	.mara-sobre .wp-block-columns,
	.mara-cuidados .wp-block-columns,
	.mara-tratamento-hero .wp-block-columns { gap: 24px; }
	.mara-cards-grid,
	.mara-destaques-grid,
	.mara-depoimentos-grid,
	.mara-integrativas-grid { gap: 1rem !important; }
	.mara-procedimentos .wp-block-post-template,
	.mara-tratamento-archive .wp-block-post-template {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.mara-destaques-grid .wp-block-column {
		flex: 1 1 100% !important;
	}
	.mara-faq-item summary {
		padding: 18px 22px;
		font-size: 1rem;
	}
	.mara-faq-item p { padding: 0 22px 20px; }
	.mara-cta-final h2 { font-size: 1.75rem !important; }
}
@media (max-width: 520px) {
	.mara-procedimentos .wp-block-post-template,
	.mara-tratamento-archive .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}
	.mara-cards-grid .wp-block-column,
	.mara-destaques-grid--3 .wp-block-column { padding: 24px 22px !important; }
}

/* --------------------------------------------------------------------------
   22. Acessibilidade — reduce motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.mara-section { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   23. Foco visível
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--lm-agua);
	outline-offset: 3px;
	border-radius: 6px;
}

/* --------------------------------------------------------------------------
   24. Editor — proteção contra reveal escondido
   -------------------------------------------------------------------------- */
.editor-styles-wrapper .mara-section { opacity: 1 !important; transform: none !important; }

/* --------------------------------------------------------------------------
   25. Single tratamento — benefícios e vídeo
   -------------------------------------------------------------------------- */
.mara-tratamento-section-title {
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	color: var(--lm-preto);
	font-size: 1.4rem;
	margin: 2.5rem 0 1.25rem;
	letter-spacing: -.005em;
}
.mara-beneficios { margin: 2rem 0; }
.mara-beneficios-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.mara-beneficios-list li {
	position: relative;
	padding: 16px 18px 16px 48px;
	background: var(--lm-menta-claro);
	border: 1px solid var(--lm-menta);
	border-radius: var(--lm-radius-sm);
	color: var(--lm-grafite);
	line-height: 1.5;
	font-size: .98rem;
}
.mara-beneficios-list li::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	border-radius: 999px;
	background: var(--lm-agua-esc);
	background-image:
		linear-gradient(45deg, transparent 45%, var(--lm-branco) 45%, var(--lm-branco) 55%, transparent 55%),
		linear-gradient(-45deg, transparent 45%, var(--lm-branco) 45%, var(--lm-branco) 55%, transparent 55%);
	background-size: 12px 2px, 6px 2px;
	background-position: 4px 11px, 4px 8px;
	background-repeat: no-repeat;
}
@media (max-width: 600px) {
	.mara-beneficios-list { grid-template-columns: 1fr; }
}

.mara-tratamento-video-wrap {
	margin: 2rem 0;
	padding: 0;
}
.mara-tratamento-video {
	width: 100%;
	border-radius: var(--lm-radius);
	overflow: hidden;
	box-shadow: var(--lm-shadow);
	background: var(--lm-preto);
	display: block;
}
.mara-tratamento-video--embed iframe,
.mara-tratamento-video--embed > * {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	display: block;
}
video.mara-tratamento-video {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   14. Red SPA — seção premium com paleta dedicada
   -------------------------------------------------------------------------- */
.mara-red-spa {
	background: linear-gradient(180deg, #f5ece2 0%, #efe1d1 100%) !important;
}
.mara-red-spa h2,
.mara-red-spa h3,
.mara-red-spa h4 {
	color: var(--wp--preset--color--redspa-vinho) !important;
}
.mara-red-spa-pilares {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: 10px 18px;
	list-style: none;
	padding-left: 0;
	margin: 18px 0 28px;
}
.mara-red-spa-pilares li::before {
	content: '✦';
	color: var(--wp--preset--color--redspa-cobre);
	margin-right: 8px;
}
.mara-red-spa-card {
	background: radial-gradient(circle at 0% 0%, #6d151f 0%, #4a0d14 75%);
	color: #fff;
	border: 1px solid rgba(212,165,90,0.45);
	border-radius: 18px;
	padding: 28px;
	box-shadow: 0 14px 30px rgba(45, 11, 16, 0.28);
}
.mara-red-spa-card h3,
.mara-red-spa-card strong { color: var(--wp--preset--color--redspa-dourado) !important; }
.mara-red-spa-card table td { border-color: rgba(241,229,216,0.28); }
