/*
Theme Name: LeBelle
Theme URI: https://draisabellaaquino.com.br
Author: Stoicweb
Description: Tema block-based custom do site da Dra. Isabella Aquino — harmonização orofacial e estética em Maringá PR. Marcellus + Poppins, dourado sobre fundos claros, formas orgânicas.
Version: 2.3.1
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lebelle
*/

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------ */

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3 {
	letter-spacing: 0.005em;
	text-wrap: balance;
}

.wp-block-image img {
	border-radius: 10px;
}

.wp-block-button__link {
	letter-spacing: 0.04em;
	font-size: 1.05rem;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
	will-change: transform;
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(138, 106, 56, 0.25);
}

.is-style-outline > .wp-block-button__link {
	border: none;
	padding: 0.85rem 1.9rem;
	font-size: 1.05rem;
	color: var(--wp--preset--color--gold-dark);
	background: color-mix(in srgb, var(--wp--preset--color--gold) 18%, transparent);
}

.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--gold-dark);
	color: var(--wp--preset--color--white);
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
}

.lebelle-whatsapp-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25d366;
	color: #ffffff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lebelle-whatsapp-float:hover {
	transform: scale(1.07);
	box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
	color: #ffffff;
}

@media (max-width: 600px) {
	.lebelle-whatsapp-float {
		right: 16px;
		bottom: 16px;
		width: 54px;
		height: 54px;
	}
}

/* ==================================================================
   Design system — camada expressiva
================================================================== */

.lb-display {
	font-size: clamp(3rem, 6vw, 5.6rem) !important;
	line-height: 1.06;
	hyphens: none;
	overflow-wrap: normal;
}

.lb-display .lb-l {
	display: block;
}

.lb-accent,
em.lb-accent {
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	font-weight: 500;
	color: var(--wp--preset--color--gold-dark);
	font-size: 1.08em;
}

.lb-eyebrow {
	font-family: var(--wp--preset--font-family--accent) !important;
	font-style: italic;
	font-weight: 500 !important;
	font-size: 1.55rem !important;
	letter-spacing: 0.01em !important;
	text-transform: none !important;
	margin-bottom: 0.4rem;
}

/* ---- Hero: foto à esquerda + coreografia de entrada -------------- */

.lb-hero-media {
	position: relative;
}

.lb-hero-media::before {
	content: "";
	position: absolute;
	top: -6%;
	left: -8%;
	width: 56%;
	aspect-ratio: 1;
	border: 1px solid var(--wp--preset--color--gold);
	border-radius: 50%;
	z-index: 0;
	pointer-events: none;
}

.lb-arch {
	position: relative;
	z-index: 1;
	margin: 0;
}

.lb-arch img {
	border-radius: 999px 999px 22px 22px !important;
	width: 100%;
	object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
	.lb-hero .lb-hero-media {
		clip-path: inset(12% 0 0 0 round 999px 999px 22px 22px);
		opacity: 0;
		animation: lb-unveil 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
	}

	.lb-hero .lb-l {
		opacity: 0;
		transform: translateY(34px);
		animation: lb-rise 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	}

	.lb-hero .lb-l:nth-child(1) { animation-delay: 0.55s; }
	.lb-hero .lb-l:nth-child(2) { animation-delay: 0.72s; }
	.lb-hero .lb-l:nth-child(3) { animation-delay: 0.89s; }

	.lb-hero .lb-sub,
	.lb-hero .wp-block-buttons {
		opacity: 0;
		transform: translateY(20px);
		animation: lb-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	}

	.lb-hero .lb-sub { animation-delay: 1.1s; }
	.lb-hero .wp-block-buttons { animation-delay: 1.25s; }
}

@keyframes lb-unveil {
	to {
		clip-path: inset(0 0 0 0 round 999px 999px 22px 22px);
		opacity: 1;
	}
}

@keyframes lb-rise {
	to {
		opacity: 1;
		transform: none;
	}
}

/* ---- Reveal no scroll -------------------------------------------- */

html.lb-js .lb-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

html.lb-js .lb-reveal.lb-in {
	opacity: 1;
	transform: none;
}

/* ---- Cards de procedimentos (imagem-first) ----------------------- */

.lb-card {
	border-radius: 22px;
	overflow: hidden;
}

.lb-card-media {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	min-height: 320px;
	padding: 1.4rem;
	background: linear-gradient(170deg, #F7F1E8 0%, #EFE5D4 100%);
	text-align: center;
}

.lb-card-media i {
	font-style: normal;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

.lb-card-media b {
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	font-weight: 500;
	font-size: 1.25rem;
	color: var(--wp--preset--color--gold-dark);
}

/* ---- Slot de foto aguardando material ---------------------------- */

.lb-photo-slot {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 380px;
	height: 100%;
	padding: 1.5rem;
	background: linear-gradient(170deg, #F7F1E8 0%, #EFE5D4 100%);
	border-radius: 22px;
	text-align: center;
}

.lb-photo-slot b {
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	font-weight: 500;
	font-size: 1.3rem;
	color: var(--wp--preset--color--gold-dark);
}

.lb-photo-slot i {
	font-style: normal;
	font-size: 1.05rem;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

/* ---- Chips de navegação da categoria (estáticos, no hero) --------- */

.lb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.4rem;
}

.lb-chips a {
	padding: 0.5rem 1.2rem;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 500;
	color: var(--wp--preset--color--gold-dark);
	background: var(--wp--preset--color--white);
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.lb-chips a:hover {
	background: var(--wp--preset--color--gold-dark);
	color: var(--wp--preset--color--white);
	transform: translateY(-2px);
}

[id] {
	scroll-margin-top: 140px;
}

/* ---- Citação "com a Dra. Isabella" ------------------------------- */

.lb-quote {
	background: var(--wp--preset--color--surface);
	border-radius: 22px;
	padding: 1.5rem 1.8rem;
	margin-top: var(--wp--preset--spacing--40);
	position: relative;
}

.lb-quote::before {
	content: "\201C";
	position: absolute;
	top: -0.4rem;
	left: 1.1rem;
	font-family: var(--wp--preset--font-family--accent);
	font-size: 4rem;
	line-height: 1;
	color: var(--wp--preset--color--gold);
}

.lb-quote p:last-child {
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	font-size: 1.6rem;
	line-height: 1.55;
	margin-top: 0.3rem;
}

.lb-facet-label {
	font-family: var(--wp--preset--font-family--accent) !important;
	font-style: italic;
	font-size: 1.4rem !important;
	font-weight: 500 !important;
	color: var(--wp--preset--color--gold-dark);
	margin-bottom: 0.35rem;
}

/* ---- FAQ ---------------------------------------------------------- */

.wp-block-details {
	background: var(--wp--preset--color--white);
	border-radius: 16px;
	padding: 1.1rem 1.4rem !important;
	border: none !important;
	margin-bottom: 0.6rem;
}

.wp-block-details summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding-right: 2.2rem;
	font-weight: 500;
	font-size: 1.2rem;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 0.2rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
	color: var(--wp--preset--color--gold-dark);
	transition: transform 0.3s ease;
}

.wp-block-details[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}

/* ---- Marca d'água LB (sempre inteira) ---------------------------- */

.lb-watermark {
	position: relative;
	overflow: hidden;
}

.lb-watermark::before {
	content: "LB";
	position: absolute;
	top: 50%;
	right: 2rem;
	transform: translateY(-50%);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 400;
	font-size: clamp(8rem, 18vw, 15rem);
	line-height: 1;
	color: var(--wp--preset--color--gold);
	opacity: 0.07;
	pointer-events: none;
	user-select: none;
}

.lb-watermark--left::before {
	right: auto;
	left: 2rem;
}

/* ---- Micro-interações -------------------------------------------- */

main p a:not(.wp-element-button) {
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size 0.35s ease;
}

main p a:not(.wp-element-button):hover {
	background-size: 100% 1px;
}

.lb-header {
	transition: box-shadow 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.lb-header.lb-scrolled {
	background-color: rgba(253, 251, 247, 0.82) !important;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 4px 24px rgba(46, 42, 38, 0.07);
}

.lb-header .wp-block-navigation a {
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	font-size: 1.45rem;
	line-height: 1;
	background: linear-gradient(var(--wp--preset--color--gold-dark), var(--wp--preset--color--gold-dark)) 0 100% / 0 1px no-repeat;
	transition: background-size 0.3s ease, color 0.2s ease;
	padding-bottom: 2px;
}

.lb-header .wp-block-navigation a:hover {
	background-size: 100% 1px;
}

.lb-header .wp-block-navigation a[aria-current="page"] {
	color: var(--wp--preset--color--gold-dark);
}

.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--base) !important;
	padding-top: 6rem;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2.6rem;
	color: var(--wp--preset--color--contrast);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a[aria-current="page"] {
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	color: var(--wp--preset--color--gold-dark);
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link,
	.lb-cards > .wp-block-group {
		transition: none;
	}
	.wp-block-button__link:hover,
	.lb-cards > .wp-block-group:hover {
		transform: none;
	}
}


/* ---- Header em 3 zonas (logo | menu central | CTA) ---------------- */

.lb-header-grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1.2rem;
}

.lb-header .wp-block-navigation a {
	line-height: 1;
}

.lb-header-grid > :first-child {
	justify-self: start;
}

.lb-header-grid > :last-child {
	justify-self: end;
}

@media (max-width: 781px) {
	.lb-header-grid {
		grid-template-columns: auto 1fr auto;
	}
	.lb-header-grid > .wp-block-navigation {
		justify-self: end;
	}
}

/* mobile: o CTA sai do header (o flutuante de WhatsApp cobre a conversão) */
@media (max-width: 600px) {
	.lb-header-grid > .wp-block-buttons {
		display: none;
	}
	.lb-header-grid {
		grid-template-columns: auto 1fr;
	}
}

/* ---- Declaração com palavras que se acendem no scroll ------------- */

.lb-statement {
	position: relative;
	padding: clamp(4rem, 9vw, 6.5rem) var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--surface);
	text-align: center;
}

/* brilhos discretos */
.lb-statement::before,
.lb-statement::after {
	content: "\2726";
	position: absolute;
	color: var(--wp--preset--color--gold);
	pointer-events: none;
	animation: lb-twinkle 3.4s ease-in-out infinite;
}

.lb-statement::before {
	top: 26%;
	left: 13%;
	font-size: 1.05rem;
	animation-delay: 0.4s;
}

.lb-statement::after {
	bottom: 24%;
	right: 12%;
	font-size: 0.85rem;
	animation-delay: 1.7s;
}

.lb-words {
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(2.1rem, 4.6vw, 3.5rem);
	line-height: 1.35;
	max-width: 1000px;
	margin: 0 auto;
	text-wrap: balance;
}

/* brilho dourado permanente passeando pelo texto */
.lb-words {
	color: transparent;
	background: linear-gradient(100deg, var(--wp--preset--color--gold-dark) 32%, #DCC08A 50%, var(--wp--preset--color--gold-dark) 68%);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	animation: lb-shimmer 5s linear infinite;
}

/* variante em fluxo: alinhada ao conteúdo, sem faixa própria */
.lb-statement--flow {
	background: transparent;
	text-align: left;
	padding: 0 0 clamp(1.8rem, 4vw, 2.8rem);
}

.lb-statement--flow .lb-words {
	margin: 0;
	max-width: 100%;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	line-height: 1.5;
}

.lb-statement--flow::before {
	top: -0.6rem;
	left: auto;
	right: 16%;
}

.lb-statement--flow::after {
	bottom: 1rem;
	right: 4%;
}

@keyframes lb-shimmer {
	to { background-position: -220% 0; }
}

@keyframes lb-twinkle {
	0%, 100% { opacity: 0.12; transform: scale(0.8); }
	50% { opacity: 0.85; transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
	.lb-statement::before,
	.lb-statement::after {
		animation: none;
		opacity: 0.4;
	}
	.lb-words {
		animation: none;
		color: var(--wp--preset--color--gold-dark);
		background: none;
	}
}

/* Narrativa da página da Dra.: painel-carta */
.lb-letter {
	background: var(--wp--preset--color--surface);
	border-radius: 28px;
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 6vw, 5.5rem);
}

.lb-letter .lb-prose p {
	font-size: 1.2rem;
	line-height: 1.85;
	max-width: 58ch;
}

.lb-letter .lb-prose p + p {
	margin-block-start: 1.6rem !important;
}

.lb-signature {
	font-family: var(--wp--preset--font-family--accent) !important;
	font-style: italic;
	font-weight: 500 !important;
	font-size: 1.8rem !important;
	color: var(--wp--preset--color--gold-dark);
	margin: 1.8rem 0 0 !important;
}

.lb-signature small {
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-style: normal;
	font-size: 0.95rem;
	color: var(--wp--preset--color--muted);
	margin-top: 0.3rem;
}


/* ---- Grid de cards de procedimentos (5 idênticos) ----------------- */

.lb-cards {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 2rem;
}

.lb-cards > .wp-block-group,
.lb-cards > .lb-treat {
	grid-column: span 2;
}

.lb-cards > .wp-block-group {
	display: flex;
	flex-direction: column;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.lb-cards .lb-card-media {
	flex: 1 1 auto;
}

.lb-cards > .wp-block-group:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 48px rgba(46, 42, 38, 0.1);
}

.lb-cards > :nth-child(4) {
	grid-column: 2 / 4;
}

.lb-cards > :nth-child(5) {
	grid-column: 4 / 6;
}

@media (max-width: 1023px) {
	.lb-cards {
		grid-template-columns: 1fr 1fr;
	}
	.lb-cards > .wp-block-group,
	.lb-cards > .lb-treat,
	.lb-cards > :nth-child(4),
	.lb-cards > :nth-child(5) {
		grid-column: auto;
	}
}

@media (max-width: 600px) {
	.lb-cards {
		grid-template-columns: 1fr;
	}
}

/* ---- Percurso de formação (painel) -------------------------------- */

.lb-formacao .lb-form-item + .lb-form-item {
	margin-block-start: 1.35rem !important;
}

.lb-form-item strong {
	display: block;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}

.lb-form-item span {
	display: block;
	font-size: 0.98rem;
	color: var(--wp--preset--color--muted);
	margin-top: 0.1rem;
}

/* Anel dourado flutuante (ornamento com movimento) */
.lb-ring {
	position: absolute;
	top: -3rem;
	right: 6%;
	width: 130px;
	height: 130px;
	border: 1px solid var(--wp--preset--color--gold);
	border-radius: 50%;
	pointer-events: none;
	animation: lb-float 8s ease-in-out infinite alternate;
}

@keyframes lb-float {
	from { transform: translateY(0) rotate(0deg); }
	to { transform: translateY(20px) rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
	.lb-ring { animation: none; }
}


/* ---- Jornada do método: etapas fluidas em painel único ------------ */

.lb-stage + .lb-stage {
	margin-block-start: 2.4rem !important;
}

.lb-stage p:last-child {
	font-size: 1.2rem;
	line-height: 1.8;
	max-width: 58ch;
}


/* ---- Cards de tratamento com hover-reveal (ref. aprovada) --------- */

.lb-treat {
	position: relative;
	display: block;
	border-radius: 22px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	text-decoration: none;
	background: linear-gradient(170deg, #F7F1E8 0%, #EFE5D4 100%);
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.lb-treat:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 48px rgba(46, 42, 38, 0.12);
}

.lb-treat__media {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem 1.5rem 6rem;
}

.lb-treat__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lb-treat:hover .lb-treat__media img {
	transform: scale(1.05);
}

.lb-treat__media i {
	font-style: normal;
	font-size: 0.95rem;
	line-height: 1.5;
	text-align: center;
	color: var(--wp--preset--color--muted);
	position: relative;
}

/* título visível por padrão, na base do card */
.lb-treat__label {
	position: absolute;
	left: 1.4rem;
	right: 1.4rem;
	bottom: 1.3rem;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.lb-treat__label strong {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 400;
	font-size: 1.7rem;
	line-height: 1.15;
	color: var(--wp--preset--color--contrast);
}

.lb-treat__label em {
	display: block;
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	font-size: 1.15rem;
	color: var(--wp--preset--color--gold-dark);
	margin-top: 0.2rem;
}

.lb-treat:hover .lb-treat__label,
.lb-treat:focus-visible .lb-treat__label {
	opacity: 0;
	transform: translateY(8px);
}

/* caixa que sobe no hover */
.lb-treat__box {
	position: absolute;
	left: 0.9rem;
	right: 0.9rem;
	bottom: 0.9rem;
	background: var(--wp--preset--color--white);
	border-radius: 16px;
	padding: 1.3rem 1.4rem;
	transform: translateY(calc(100% + 1.2rem));
	opacity: 0;
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
	box-shadow: 0 14px 34px rgba(46, 42, 38, 0.16);
}

.lb-treat:hover .lb-treat__box,
.lb-treat:focus-visible .lb-treat__box {
	transform: translateY(0);
	opacity: 1;
}

.lb-treat__box strong {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 400;
	font-size: 1.4rem;
	color: var(--wp--preset--color--contrast);
	margin-bottom: 0.35rem;
}

.lb-treat__box span {
	display: block;
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--wp--preset--color--muted);
}

.lb-treat__box b {
	display: inline-block;
	font-size: 0.98rem;
	font-weight: 600;
	color: var(--wp--preset--color--gold-dark);
	margin-top: 0.6rem;
}

@media (hover: none) {
	.lb-treat__box {
		display: none;
	}
	.lb-treat:hover .lb-treat__label {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lb-treat,
	.lb-treat__media img,
	.lb-treat__label,
	.lb-treat__box {
		transition: none;
	}
}




/* ---- Vídeos verticais (YouTube Shorts) ---------------------------- */

.lb-video {
	aspect-ratio: 9 / 16;
	max-width: 330px;
	margin: 0 auto;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 18px 44px rgba(46, 42, 38, 0.14);
}

.lb-video iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}


/* ---- Zoom suave no hover das imagens ------------------------------ */

main figure.has-custom-border {
	overflow: hidden;
	margin: 0;
}

main figure.has-custom-border img {
	transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
	display: block;
}

main figure.has-custom-border:hover img {
	transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
	main figure.has-custom-border img {
		transition: none;
	}
	main figure.has-custom-border:hover img {
		transform: none;
	}
}


/* ---- Header: wordmark + camada que surge no scroll ----------------- */

header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}

.lb-wordmark {
	display: inline-flex;
	flex-direction: column;
	gap: 0.1rem;
	text-decoration: none;
	background: none;
	transform: translateY(1px);
}

.lb-wordmark strong {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 400;
	font-size: 1.5rem;
	line-height: 1;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--gold-dark);
	transition: color 0.25s ease;
}

.lb-wordmark span {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	line-height: 1;
}

.lb-wordmark:hover strong {
	color: var(--wp--preset--color--contrast);
}

/* nasce discreto: transparente sobre o hero */
.lb-header:not(.lb-scrolled) {
	background-color: transparent !important;
}



/* ---- Card de tratamento sem foto (tipográfico) -------------------- */

.lb-treat--plain {
	background: linear-gradient(165deg, #F7F1E8 0%, #EBDFC9 100%);
}

.lb-treat--plain .lb-treat__media::after {
	content: "";
	position: absolute;
	top: 14%;
	left: 50%;
	width: 46%;
	aspect-ratio: 1;
	transform: translateX(-50%);
	border: 1px solid var(--wp--preset--color--gold);
	border-radius: 50%;
	opacity: 0.55;
}

.lb-treat--plain .lb-treat__box {
	background: var(--wp--preset--color--white);
}

/* ---- Figura de conteúdo (foto real em coluna) --------------------- */

.lb-figure {
	margin: 0;
	border-radius: 22px;
	overflow: hidden;
}

.lb-figure img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.lb-figure:hover img {
	transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
	.lb-figure img {
		transition: none;
	}
	.lb-figure:hover img {
		transform: none;
	}
}


/* trio de fotos: mesma altura, corte central */
.lb-figure--tall {
	height: 100%;
	min-height: 340px;
}

.lb-figure--tall img {
	height: 100%;
	min-height: 340px;
	object-fit: cover;
}


/* ------------------------------------------------------------------
   Emendas entre seções

   O block-gap global do WordPress aplica margin-block-start em todo
   filho direto de container "constrained". Como cada seção da página
   tem fundo próprio, essa margem virava uma faixa do fundo do site
   entre uma seção e outra, e também entre a última seção e o rodapé.
------------------------------------------------------------------ */

body .wp-site-blocks > *,
main.wp-block-group > .alignfull,
.entry-content > .alignfull,
.entry-content > .lb-statement {
	margin-block-start: 0;
}

/* ------------------------------------------------------------------
   Cards em colunas com a mesma altura

   Sem isto o card acompanha o tamanho do próprio texto e a fileira
   fica desalinhada. Todos passam a acompanhar o mais alto da fileira.
------------------------------------------------------------------ */

.lb-eq > .wp-block-column,
.wp-block-columns:not(.are-vertically-aligned-center):not(.are-vertically-aligned-bottom):has( > .wp-block-column > .wp-block-group.has-background ) > .wp-block-column {
	display: flex;
	flex-direction: column;
}

.lb-eq > .wp-block-column > .wp-block-group,
.wp-block-columns:not(.are-vertically-aligned-center):not(.are-vertically-aligned-bottom) > .wp-block-column > .wp-block-group.has-background {
	flex: 1;
	height: 100%;
}


/* ------------------------------------------------------------------
   Faixa de leitura nos cards de procedimento

   Com foto real no fundo, o título em marrom competia com a imagem.
   Um degradê na base do card devolve o contraste sem virar caixa.
------------------------------------------------------------------ */

.lb-treat:not(.lb-treat--plain) .lb-treat__media::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 60%;
	background: linear-gradient(
		to top,
		rgba(29, 25, 21, 0.80) 0%,
		rgba(29, 25, 21, 0.62) 22%,
		rgba(29, 25, 21, 0.28) 55%,
		rgba(29, 25, 21, 0) 100%
	);
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.lb-treat:not(.lb-treat--plain) .lb-treat__label strong {
	color: #FFFFFF;
}

.lb-treat:not(.lb-treat--plain) .lb-treat__label em {
	color: #EAD3A8;
}


/* ------------------------------------------------------------------
   Formulário de agendamento

   Não envia para servidor: monta a mensagem e abre a conversa no
   WhatsApp da clínica já preenchida. Campos sem borda, sobre o creme,
   para não virar caixa dentro de caixa.
------------------------------------------------------------------ */

.lb-lead {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

.lb-lead__field {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.lb-lead label {
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	font-weight: 500;
	color: var(--wp--preset--color--contrast);
}

.lb-lead input,
.lb-lead select {
	/* Sem isto o input fica com a largura do conteúdo MAIS o padding e sai
	   36px mais largo que o select e o botão, estourando o cartão no celular. */
	box-sizing: border-box;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.05rem;
	color: var(--wp--preset--color--contrast);
	background-color: var(--wp--preset--color--surface);
	border: 0;
	border-radius: 14px;
	padding: 0.95rem 1.15rem;
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.lb-lead input::placeholder {
	color: var(--wp--preset--color--muted);
	opacity: 0.7;
}

.lb-lead select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none' stroke='%238A6A38' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 2l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1.15rem center;
	background-size: 14px 9px;
	padding-right: 3rem;
	cursor: pointer;
}

.lb-lead select:invalid {
	color: var(--wp--preset--color--muted);
}

.lb-lead input:focus-visible,
.lb-lead select:focus-visible {
	outline: none;
	background-color: var(--wp--preset--color--white);
	box-shadow: 0 0 0 2px var(--wp--preset--color--gold-dark);
}

.lb-lead input:user-invalid,
.lb-lead select:user-invalid {
	box-shadow: 0 0 0 2px #A6402F;
}

.lb-lead__submit {
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--gold-dark);
	border: 0;
	border-radius: 999px;
	padding: 0.95rem 1.9rem;
	margin-top: 0.35rem;
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.lb-lead__submit:hover {
	background-color: var(--wp--preset--color--contrast);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(138, 106, 56, 0.25);
}

.lb-lead__submit:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold-dark);
	outline-offset: 3px;
}

.lb-lead__note {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	.lb-lead__submit,
	.lb-lead input,
	.lb-lead select {
		transition: none;
	}
	.lb-lead__submit:hover {
		transform: none;
	}
}


/* ------------------------------------------------------------------
   Blog
------------------------------------------------------------------ */

/* Cards da listagem: mesma linguagem dos cards de procedimento. */
.wp-block-post-template.is-layout-grid > li {
	display: flex;
}

.lb-post {
	background: var(--wp--preset--color--white);
	border-radius: 22px;
	overflow: hidden;
	width: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.lb-post:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 48px rgba(46, 42, 38, 0.12);
}

.lb-post .wp-block-post-featured-image {
	margin: 0;
	overflow: hidden;
}

.lb-post .wp-block-post-featured-image img {
	border-radius: 0;
	width: 100%;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lb-post:hover .wp-block-post-featured-image img {
	transform: scale(1.05);
}

.lb-post__body {
	padding: 1.5rem 1.6rem 1.7rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	flex: 1;
}

.lb-post__body > * {
	margin-block-start: 0 !important;
}

.lb-post .wp-block-post-title {
	font-size: 1.5rem;
	line-height: 1.25;
}

.lb-post .wp-block-post-title a {
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
}

.lb-post .wp-block-post-date {
	font-size: 0.98rem;
	color: var(--wp--preset--color--muted);
}

.lb-post .wp-block-post-excerpt__excerpt {
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--wp--preset--color--muted);
}

.lb-post .wp-block-post-excerpt__more-link {
	font-weight: 600;
	color: var(--wp--preset--color--gold-dark);
	text-decoration: none;
}

/* Leitura do post. */
.lb-article p,
.lb-article ul,
.lb-article ol {
	font-size: 1.22rem;
	line-height: 1.85;
}

.lb-article p + p {
	margin-block-start: 1.5rem !important;
}

.lb-article h2 {
	font-size: 2rem;
	margin-block-start: 3rem !important;
}

.lb-article h3 {
	font-size: 1.5rem;
	margin-block-start: 2.2rem !important;
}

.lb-article li + li {
	margin-block-start: 0.6rem;
}

/* Destaque dentro do texto. */
.lb-highlight {
	background: var(--wp--preset--color--surface);
	border-radius: 22px;
	padding: 1.7rem 1.9rem;
	margin-block-start: 2.2rem !important;
}

.lb-highlight p {
	font-size: 1.18rem !important;
	line-height: 1.7;
	margin: 0 !important;
}

/* Relacionados: a seção inteira some quando não há o que mostrar. */
.lb-related:has(.wp-block-query-no-results) {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.lb-post,
	.lb-post .wp-block-post-featured-image img {
		transition: none;
	}
	.lb-post:hover {
		transform: none;
	}
	.lb-post:hover .wp-block-post-featured-image img {
		transform: none;
	}
}


/* Vídeo em 16:9. O contêiner padrão é 9:16, feito para os shorts verticais
   dos depoimentos; vídeo normal do YouTube precisa desta variante. */
.lb-video--wide {
	aspect-ratio: 16 / 9;
	max-width: none;
}
