/* Fontes locais (sem Google Fonts: nenhum IP enviado ao Google antes do consentimento). Licença OFL em assets/fonts. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/montserrat-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/montserrat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/montserrat-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/zilla-slab-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/zilla-slab-latin-600-normal.woff2') format('woff2'); }

/* ==========================================================================
   Thaís Emos — Psicóloga Clínica
   Static rebuild — mobile-first CSS
   Breakpoints: mobile 320-480px (default), tablet 481-1024px, desktop 1025px+
   ========================================================================== */

:root {
	/* Brand tokens - taken from the live WordPress site (thaisemos.info).
	   Swap these values if the Canva brand kit differs. */
	--color-olive: #95947c;          /* live: header, footer, sections */
	--color-sand: #c4b7a0;           /* live: buttons, headings accent */
	--color-primary: #5e5d47;        /* olive darkened for AA contrast on white/cream */
	--color-primary-dark: #3f3e30;
	--color-primary-light: #e9e6d9;
	--color-accent: #c4b7a0;
	--color-bg: #fbf9f5;
	--color-bg-alt: #f1ede4;
	--color-text: #333333;           /* live body text */
	--color-text-soft: #5a5a52;
	--color-white: #ffffff;
	--color-whatsapp: #5e5d47;
	--color-whatsapp-dark: #3f3e30;

	--font-heading: 'Montserrat', system-ui, sans-serif;
	--font-body: 'Montserrat', system-ui, sans-serif;
	--font-serif: 'Zilla Slab', Georgia, serif;

	--container-width: 1140px;
	--radius: 14px;
	--transition: 0.25s ease;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.7;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h6 {
	font-family: var(--font-heading);
	font-weight: 600;
	color: var(--color-primary-dark);
	margin: 0 0 0.5em;
	line-height: 1.25;
}

p { margin: 0 0 1em; }

.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--color-primary-dark);
	color: #fff;
	padding: 10px 16px;
	z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--font-body);
	font-weight: 600;
	text-align: center;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
	min-height: 44px; /* touch target */
	padding: 12px 24px;
	white-space: normal;
}
.btn--sm { padding: 8px 18px; font-size: 0.85rem; }
.btn--lg { padding: 14px 30px; font-size: 1rem; }

.btn--primary {
	background: var(--color-primary);
	color: #fff;
}
.btn--primary:hover, .btn--primary:focus-visible {
	background: var(--color-primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(63, 62, 48, 0.3);
}

.btn--outline {
	background: transparent;
	border-color: var(--color-primary);
	color: var(--color-primary-dark);
}
.btn--outline:hover, .btn--outline:focus-visible {
	background: var(--color-primary);
	color: #fff;
}

.icon-whatsapp { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: rgba(251, 249, 245, 0.95);
	backdrop-filter: blur(6px);
	box-shadow: 0 2px 12px rgba(51, 51, 46, 0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.site-header__logo img { width: 140px; height: auto; }

.site-header__cta { display: none; }

/* Mobile nav (collapsible) */
.nav-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.nav-toggle__bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--color-primary-dark);
	transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
}

.main-nav__list {
	display: flex;
	flex-direction: column;
	padding: 0 20px;
	background: var(--color-white);
	box-shadow: 0 12px 20px rgba(51, 51, 46, 0.12);
	max-height: 0;
	overflow: hidden;
	transition: max-height var(--transition);
}
.main-nav__list.is-open { max-height: 400px; padding: 8px 20px 16px; }

.main-nav__link {
	display: block;
	padding: 12px 4px;
	font-weight: 500;
	border-bottom: 1px solid var(--color-bg-alt);
	min-height: 44px;
}
.main-nav__link.is-active { color: var(--color-primary-dark); font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	/* photo width var drives both the image size and the reserved bottom
	   space, so the two always stay in sync and never overlap the text. */
	--hero-photo-w: min(58vw, 230px);
	padding: 56px 0 calc(var(--hero-photo-w) * 1.7 + 40px);
	color: #fff;
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}
.hero__bg-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	animation: heroCrossfade 16s infinite;
}
.hero__bg-slide--1 { animation-delay: 0s; }
.hero__bg-slide--2 { animation-delay: -8s; }

@keyframes heroCrossfade {
	0%, 45% { opacity: 1; }
	50%, 95% { opacity: 0; }
	100% { opacity: 1; }
}

.hero__bg-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(63, 62, 48, 0.88), rgba(51, 51, 46, 0.78));
}

.hero__inner {
	position: relative;
	z-index: 3; /* always above the photo and wave */
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-items: center;
	text-align: center;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--color-sand);
	margin-bottom: 0.5em;
}

.hero__title {
	color: #fff;
	font-size: clamp(1.8rem, 6vw, 2.75rem);
}

.hero__subtitle { font-size: 1.05rem; }

.hero__credential {
	font-size: 0.9rem;
	opacity: 0.9;
	margin-bottom: 1.25em;
}

.hero__illustration {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: var(--hero-photo-w);
	z-index: 1;
	pointer-events: none;
}
.hero__illustration img {
	width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25));
}

/* Wave divider: sits above the bg/photo, filled with the next section's color.
   Two variants share this positioning; only one is visible per breakpoint. */
.hero__wave {
	position: absolute;
	left: 0;
	bottom: -1px; /* avoid a hairline seam at the section boundary */
	width: 100%;
	line-height: 0;
	overflow: hidden;
	z-index: 2;
	pointer-events: none;
}
.hero__wave svg {
	display: block;
	position: relative;
	left: 50%;
	width: 115%;
	transform: translateX(-50%);
}
.hero__wave path { fill: var(--color-bg); }

/* Gentle, low-amplitude curve for phones and small tablets (default, <768px) */
.hero__wave--soft svg { height: clamp(70px, 18vw, 120px); }
.hero__wave--bold { display: none; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--color-bg-alt); }

.section__title { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.section__title--center { text-align: center; }

.section__banner {
	text-align: center;
	max-width: 780px;
	padding-top: 48px;
}
.section__lead { font-size: 1.1rem; color: var(--color-text-soft); }

/* Split layout: image + text, stacks on mobile */
.split {
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-items: center;
	padding: 24px 0;
}
.split__col { width: 100%; }
.split__col--image img {
	border-radius: var(--radius);
	box-shadow: 0 16px 30px rgba(51, 51, 46, 0.15);
}

/* Reflection list */
.reflection-list { margin-bottom: 1.75em; }
.reflection-list li {
	position: relative;
	padding: 10px 0 10px 28px;
	border-bottom: 1px solid rgba(94, 93, 71, 0.15);
}
.reflection-list li::before {
	content: '\2192';
	position: absolute;
	left: 0;
	color: var(--color-primary);
	font-weight: 700;
}

/* Pull-quote banner */
.quote-banner {
	position: relative;
	background-size: cover;
	background-position: center;
	padding: 72px 20px;
	text-align: center;
	color: #fff;
}
.quote-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(63, 62, 48, 0.85), rgba(51, 51, 46, 0.75));
}
.quote-banner__text {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
	font-family: var(--font-serif);
	font-size: clamp(1.4rem, 4vw, 2.1rem);
	font-weight: 500;
	line-height: 1.4;
}

/* Testimonial / Assunto de Mulher */
.testimonial { text-align: center; max-width: 560px; }
.testimonial__card {
	margin: 0 0 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.testimonial__avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid var(--color-white);
	box-shadow: 0 8px 20px rgba(51, 51, 46, 0.15);
}
.testimonial__name { display: block; font-weight: 700; color: var(--color-primary-dark); }
.testimonial__role { display: block; font-size: 0.9rem; color: var(--color-text-soft); }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--color-olive);
	color: #1f1f18;
	padding: 48px 0 32px;
}
.site-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 20px;
}
.site-footer__logo { width: 150px; }
.site-footer__nav ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}
.site-footer__nav a:hover, .site-footer__nav a:focus-visible { color: #000; text-decoration: underline; }
.site-footer__credential { font-size: 0.9rem; opacity: 1; margin: 0; }
.site-footer__copy { font-size: 0.8rem; opacity: 0.9; margin: 0; }

/* ---------- Floating WhatsApp CTA ---------- */
.whatsapp-float {
	position: fixed;
	right: 18px;
	bottom: 18px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--color-whatsapp);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 24px rgba(63, 62, 48, 0.4);
	z-index: 600;
	transition: transform var(--transition), background var(--transition);
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover, .whatsapp-float:focus-visible {
	background: var(--color-whatsapp-dark);
	transform: scale(1.08);
}

/* ==========================================================================
   Tablet — 481px and up
   ========================================================================== */
@media (min-width: 481px) {
	.split { flex-direction: row; }
	.split__col { width: 50%; }
	.split--reverse { flex-direction: row-reverse; }

	.testimonial { max-width: 620px; margin: 0 auto; }
}

/* ==========================================================================
   Tablet landscape — 768px and up: switch to the side-by-side hero layout
   (photo right-anchored, absolute to the section's bottom edge) and swap in
   the bolder wave, reserving enough bottom padding so its taller curve never
   reaches the text/button above.
   ========================================================================== */
@media (min-width: 768px) {
	.hero { --hero-photo-w: min(32vw, 300px); padding-bottom: 200px; }
	.hero__inner { text-align: left; align-items: flex-start; }
	.hero__text { max-width: 55%; }
	.hero__illustration {
		position: absolute;
		bottom: 0; /* photo's base lines up with the section's bottom edge */
		margin: 0;
		left: auto; /* clear the mobile centering so "right" takes effect */
		right: 4%;
		transform: none;
	}
	.hero__wave--soft { display: none; }
	.hero__wave--bold { display: block; }
	.hero__wave--bold svg { height: clamp(130px, 18vw, 170px); }
}

/* ==========================================================================
   Desktop — 1025px and up
   ========================================================================== */
@media (min-width: 1025px) {
	.site-header__cta { display: inline-flex; }
	.nav-toggle { display: none; }

	.main-nav {
		position: static;
	}
	.main-nav__list {
		flex-direction: row;
		max-height: none;
		overflow: visible;
		box-shadow: none;
		background: transparent;
		padding: 0;
		gap: 28px;
	}
	.main-nav__link { border-bottom: none; padding: 8px 2px; min-height: auto; position: relative; }
	.main-nav__link::after {
		content: '';
		position: absolute;
		left: 0; right: 100%; bottom: 0;
		height: 2px;
		background: var(--color-primary);
		transition: right var(--transition);
	}
	.main-nav__link:hover::after, .main-nav__link.is-active::after { right: 0; }

	.hero { --hero-photo-w: min(26vw, 380px); padding: 90px 0 240px; }
	.hero__text { max-width: 560px; }
	.hero__illustration { right: 6%; }
	.hero__wave--bold svg { height: 204px; }

	.section { padding: 96px 0; }

	.whatsapp-float { right: 32px; bottom: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero__bg-slide { animation: none; opacity: 1; }
	.hero__bg-slide--2 { opacity: 0; }
}


/* ==========================================================================
   Brand + UX additions
   ========================================================================== */
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn--ghost-light:hover, .btn--ghost-light:focus-visible { background: #fff; color: var(--color-primary-dark); }
.btn--primary { background: var(--color-primary); }
.hero .btn--primary { background: #fff; color: var(--color-primary-dark); }
.hero .btn--primary:hover, .hero .btn--primary:focus-visible { background: var(--color-sand); color: #1f1f18; }
.hero__credential strong { font-weight: 700; }
.section__title { color: var(--color-primary); }
.hero__title { color: #fff; }

/* Trust strip */
.trust-strip { background: var(--color-bg); padding: 8px 0 0; }
.trust-strip__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 0 8px; }
.trust-strip__item { text-align: center; font-size: .85rem; line-height: 1.4; color: var(--color-text-soft); }
.trust-strip__item strong { display: block; color: var(--color-primary-dark); font-weight: 700; }

/* Approach cards */
.cards { display: grid; gap: 20px; margin-top: 32px; }
.card { background: var(--color-white); border: 1px solid var(--color-primary-light); border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 8px 20px rgba(51,51,46,.06); }
.card__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--color-bg-alt); color: var(--color-primary); display: grid; place-items: center; margin-bottom: 14px; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; }
.card h3 { font-size: 1.1rem; margin-bottom: .4em; }
.card p { margin: 0; color: var(--color-text-soft); font-size: .95rem; }
.section__intro { max-width: 720px; margin: 0 auto; text-align: center; color: var(--color-text-soft); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 16px; margin-top: 32px; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 4px 60px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--color-primary); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps h3 { font-size: 1.05rem; margin: 0 0 .2em; }
.steps p { margin: 0; color: var(--color-text-soft); font-size: .95rem; }

/* For whom */
.forwhom { display: grid; gap: 20px; margin-top: 28px; }
.forwhom__col { background: var(--color-white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--color-primary-light); }
.forwhom__col h3 { font-size: 1.05rem; }
.forwhom__col li { position: relative; padding: 6px 0 6px 26px; font-size: .95rem; }
.forwhom__col--yes li::before { content: '\2713'; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.forwhom__col--no li::before { content: '\2192'; position: absolute; left: 0; color: var(--color-olive); font-weight: 700; }

/* Read more (Sobre) */
.readmore { width: 100%; }
.readmore > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 22px; border: 2px solid var(--color-primary); border-radius: 999px; font-weight: 600; color: var(--color-primary-dark); margin: 8px 0 16px; }
.readmore > summary::-webkit-details-marker { display: none; }
.readmore > summary::after { content: '+'; font-size: 1.2rem; line-height: 1; }
.readmore[open] > summary::after { content: '\2212'; }
.readmore > summary:hover { background: var(--color-primary); color: #fff; }
.bridge { border-left: 4px solid var(--color-sand); padding: 6px 0 6px 18px; margin: 24px 0; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.5; color: var(--color-primary-dark); }

.split__col--text p { max-width: 62ch; }
.crp-badge { display: inline-block; margin-top: 12px; padding: 6px 14px; border: 1px solid var(--color-primary); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--color-primary-dark); }
.crisis-note { font-size: .8rem; max-width: 520px; }
.crisis-note a { text-decoration: underline; }

/* Floating WhatsApp: pill with label on desktop */
.whatsapp-float { background: var(--color-primary); box-shadow: 0 10px 24px rgba(63,62,48,.4); }
.whatsapp-float__label { display: none; font-weight: 600; font-size: .9rem; }

@media (min-width: 481px) {
	.trust-strip__list { grid-template-columns: repeat(4, 1fr); }
	.cards { grid-template-columns: repeat(3, 1fr); }
	.forwhom { grid-template-columns: 1fr 1fr; }
	.hero__actions { justify-content: flex-start; }
}
@media (max-width: 767px) { .hero__actions { justify-content: center; } }
@media (min-width: 1025px) {
	.steps { grid-template-columns: repeat(3, 1fr); }
	.whatsapp-float { width: auto; padding: 0 22px 0 18px; border-radius: 999px; gap: 10px; }
	.whatsapp-float__label { display: inline; }
	.whatsapp-float svg { width: 24px; height: 24px; }
}

.section .eyebrow { color: var(--color-primary); }

/* Fixes after visual check */
ol { margin: 0; padding: 0; list-style: none; }
.main-nav__link { white-space: nowrap; }
@media (min-width: 1025px) {
	.main-nav__list { gap: 20px; }
	.main-nav__link { font-size: .88rem; }
	.site-header__cta { white-space: nowrap; }
	.site-header__logo img { width: 150px; }
}

/* Fix: keep hero buttons clear of the wave divider at every width.
   Bottom padding = wave height + breathing room. */
@media (min-width: 768px) {
	.hero { --hero-wave-h: clamp(130px, 18vw, 170px); padding-bottom: calc(var(--hero-wave-h) + 72px); }
}
@media (min-width: 1025px) {
	.hero { --hero-wave-h: 204px; padding-bottom: calc(var(--hero-wave-h) + 88px); }
}

/* Single source of truth for wave height: padding and SVG both use it, so the
   buttons can never sit on the curve, even on very wide screens. */
@media (min-width: 768px) {
	.hero { --hero-wave-h: clamp(100px, 11.5vw, 260px); padding-bottom: calc(var(--hero-wave-h) + 72px); }
	.hero__wave svg { height: var(--hero-wave-h); }
}
@media (min-width: 1025px) {
	.hero { --hero-wave-h: clamp(140px, 11.5vw, 260px); padding-bottom: calc(var(--hero-wave-h) + 88px); }
}

/* Header logo: dark olive version for contrast on the cream header */
.site-header__logo img { width: 150px; }
@media (min-width: 1025px) { .site-header__logo img { width: 170px; } }

/* Footer logo: white was ~3:1 on olive; darkened version is ~6:1 */
.site-footer__logo { filter: none; }
.site-header__logo img { width: 160px; }
@media (min-width: 1025px) { .site-header__logo img { width: 190px; } }

/* ==========================================================================
   Consent card (LGPD) - non-blocking, fixed, no overlay, no layout shift
   ========================================================================== */
.consent {
	position: fixed; z-index: 700;
	left: 12px; right: 12px; bottom: 12px;
	max-width: 420px;
	background: var(--color-white);
	border: 1px solid var(--color-primary-light);
	border-radius: var(--radius);
	box-shadow: 0 14px 40px rgba(51, 51, 46, .22);
	padding: 16px 16px 14px;
	font-size: .85rem; line-height: 1.5; color: var(--color-text);
	opacity: 0; transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease;
}
.consent[hidden] { display: none; }
.consent.is-visible { opacity: 1; transform: none; }
.consent__title { margin: 0 0 4px; font-weight: 700; color: var(--color-primary-dark); font-size: .95rem; }
.consent__text { margin: 0 0 12px; color: var(--color-text-soft); }
.consent__text a { color: var(--color-primary-dark); text-decoration: underline; }
.consent__prefs { display: grid; gap: 10px; margin: 0 0 12px; padding: 10px 0; border-top: 1px solid var(--color-primary-light); border-bottom: 1px solid var(--color-primary-light); }
.consent__row { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent__row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--color-primary); flex: none; }
.consent__row small { display: block; color: var(--color-text-soft); font-size: .78rem; }
.consent__actions { display: flex; gap: 8px; }
.consent__btn {
	flex: 1; min-height: 44px; padding: 8px 10px;
	border-radius: 999px; border: 2px solid var(--color-primary);
	background: var(--color-white); color: var(--color-primary-dark);
	font: 600 .85rem var(--font-body); cursor: pointer;
}
.consent__btn:hover { background: var(--color-bg-alt); }
.consent__btn--main { background: var(--color-primary); color: #fff; }
.consent__btn--main:hover { background: var(--color-primary-dark); }
.consent__btn--ghost { border-color: transparent; text-decoration: underline; }
.consent__btn[hidden] { display: none; }

/* On phones the card sits above the floating WhatsApp button, which moves up. */
@media (max-width: 599px) {
	.consent-open .whatsapp-float { bottom: calc(var(--consent-h, 200px) + 28px); }
}
@media (min-width: 600px) { .consent { right: auto; left: 20px; bottom: 20px; } }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; transform: none; } }

/* Footer additions */
.btn--footer { background: var(--color-primary-dark); color: #fff; }
.btn--footer:hover, .btn--footer:focus-visible { background: #1f1f18; }
.site-footer__legal { margin: 0; font-size: .85rem; }
.site-footer__legal a { text-decoration: underline; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; }

/* Legal page */
.legal { max-width: 780px; margin: 0 auto; padding: 48px 20px 80px; }
.legal h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--color-primary); }
.legal h2 { font-size: 1.2rem; margin-top: 2em; color: var(--color-primary); }
.legal table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1em 0; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--color-primary-light); vertical-align: top; }
.legal a { text-decoration: underline; }
.legal__back { display: inline-block; margin-bottom: 24px; font-weight: 600; color: var(--color-primary-dark); }

.consent__prefs[hidden] { display: none; }

/* Consent card v2: close button, equal-weight buttons */
.consent__close { position: absolute; top: 6px; right: 8px; width: 36px; height: 36px; background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--color-text-soft); cursor: pointer; }
.consent__close:hover { color: var(--color-primary-dark); }
.consent__title { padding-right: 32px; }
/* Consent card v3: no checkboxes; keep button labels on one line on phones */
.consent__btn { white-space: nowrap; padding: 8px 12px; }
@media (max-width: 420px) { .consent__btn { font-size: .8rem; padding: 8px 6px; } }

/* Consent v3 (LGPD opt-in): Recusar e Aceitar com o mesmo peso visual; preferências em view própria */
.consent { position: fixed; }
.consent__view[hidden] { display: none; }
.consent__actions .consent__btn { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; }
.consent__actions .consent__btn:hover { background: #1f1f18; border-color: #1f1f18; }
.consent__row em { font-style: normal; color: var(--color-text-soft); font-size: .8rem; }
.consent__prefs { margin-top: 8px; }
/* Enquanto o aviso está aberto, o fim da página (rodapé, "Preferências de cookies") continua alcançável */
body.consent-open { padding-bottom: calc(var(--consent-h, 0px) + 24px); }
