/* ==========================================================================
   ELLE Editorial Magazine — main.css
   Tokens, base, layout, header, menu, busca, ticker, botões, cards, carrossel,
   anúncios, formulários, paginação e footer. Componentes isolados por prefixo eem-.
   ========================================================================== */

:root {
	--primary: #111111;
	--primary-hover: #333333;
	--background: #ffffff;
	--surface: #ffffff;
	--surface-soft: #f1f1f1;
	--surface-editorial: #eeece8;
	--text: #101010;
	--muted: #767676;
	--border: #dddddd;
	--header-bg: #111111;
	--header-text: #ffffff;
	--header-border: transparent;
	--header-sticky-bg: var(--header-bg);
	--footer-bg: #000000;
	--footer-text: #ffffff;
	--footer-link: #ffffff;
	--footer-border: #2a2a2a;
	--stories-bg: #151515;
	--horoscope-bg: #bcd6f3;
	--accent: #191919;
	--accent-secondary: #5b30d9;
	--ticker-bg: #000000;
	--ticker-text: #ffffff;
	--promo-bg: #ece4e1;
	--promo-strip-bg: #f1f1f1;
	--promo-text: #111111;

	--font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
	--font-headline: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
	--font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
	--font-menu: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
	--headline-weight: 700;
	--headline-tracking: 0.01em;
	--headline-transform: uppercase;
	--body-line-height: 1.75;
	--article-size: 17px;
	--h1: 44px;
	--h2: 30px;
	--h3: 22px;

	--container-width: 1232px;
	--article-width: 760px;
	--gutter: 32px;
	--card-radius: 0px;
	--header-height: 72px;
	--header-sticky-height: 60px;
	--hero-title-size: 54px;
	--single-h1-size: 44px;
	--section-space: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset e base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
	margin: 0;
	background: var(--background);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
body.eem-lock { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
:focus-visible { outline: 2px solid var(--accent-secondary); outline-offset: 3px; }
::selection { background: var(--text); color: var(--background); }

.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;
}
.eem-skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	position: fixed !important; top: 12px; left: 12px; z-index: 10000;
	padding: 12px 18px; background: var(--background); color: var(--text);
	font-weight: 600;
}
.eem-main:focus { outline: none; }

.eem-container {
	width: 100%;
	max-width: calc(var(--container-width) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.eem-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }

/* ---------- Mídia com proporção ---------- */
.eem-media {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--surface-soft);
	border-radius: var(--card-radius);
}
.eem-media--3x4 { aspect-ratio: 3 / 4; }
.eem-media--4x5 { aspect-ratio: 4 / 5; }
.eem-media--2x3 { aspect-ratio: 2 / 3; }
.eem-media--9x16 { aspect-ratio: 9 / 16; }
.eem-media--16x9 { aspect-ratio: 16 / 9; }
.eem-media--1x1 { aspect-ratio: 1 / 1; }
.eem-media--orig { aspect-ratio: auto; }
.eem-media__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.eem-media--orig .eem-media__img { height: auto; }
.eem-media__fallback {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	color: var(--muted);
	background: var(--surface-soft);
}

/* ---------- Tipografia utilitária ---------- */
.eem-pill {
	display: inline-flex;
	align-items: center;
	padding: 5px 15px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-family: var(--font-menu);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--text);
	background: transparent;
	transition: background .2s, color .2s;
}
a.eem-pill:hover { background: var(--text); color: var(--background); border-color: var(--text); }

.eem-section-head { text-align: center; margin: 0 0 44px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.eem-section-head__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(42px, 6vw, 80px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -.01em;
	text-transform: uppercase;
	color: var(--text);
}
.eem-section-head__subtitle {
	margin: 12px 0 0;
	font-family: var(--font-display);
	font-size: clamp(18px, 2vw, 25px);
	font-style: italic;
	font-weight: 400;
	color: var(--text);
	opacity: .85;
}
.eem-section-head--sans { text-align: left; padding-bottom: 22px; margin-bottom: 40px; }
.eem-section-head--sans .eem-section-head__title {
	font-family: var(--font-headline);
	font-weight: var(--headline-weight);
	font-size: clamp(30px, 3.4vw, 46px);
	letter-spacing: var(--headline-tracking);
}
.eem-section-head--sans .eem-section-head__subtitle { font-size: 18px; }

/* ---------- Botões ---------- */
.eem-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	border: 1px solid var(--primary);
	border-radius: 999px;
	font-family: var(--font-menu);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.eem-btn .eem-icon { transition: transform .2s var(--ease); }
.eem-btn:hover .eem-icon { transform: translateX(3px); }
.eem-btn--dark { background: var(--primary); color: var(--background); }
.eem-btn--dark:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--background); }
.eem-btn--light { background: #fff; color: #111; border-color: #fff; }
.eem-btn--light:hover { background: #e9e9e9; color: #111; }
.eem-btn--outline { background: transparent; color: var(--text); border-color: var(--text); }
.eem-btn--outline:hover { background: var(--text); color: var(--background); }
.eem-btn--accent { background: var(--accent-secondary); border-color: var(--accent-secondary); color: #fff; }
.eem-btn--accent:hover { filter: brightness(1.1); color: #fff; }
.eem-section .eem-btn { margin-top: 36px; }

.eem-round-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px;
	border: 1.5px solid var(--text);
	border-radius: 50%;
	background: transparent;
	color: var(--text);
	transition: background .2s, color .2s;
}
.eem-round-btn:hover:not(:disabled) { background: var(--text); color: var(--background); }
.eem-round-btn:disabled { opacity: .3; cursor: default; }

/* ==========================================================================
   Header
   ========================================================================== */
.eem-header {
	position: relative;
	z-index: 900;
	background: var(--header-bg);
	color: var(--header-text);
	border-bottom: 1px solid var(--header-border);
}
.eem-has-sticky .eem-header { position: sticky; top: 0; }
.admin-bar.eem-has-sticky .eem-header { top: 32px; }
.eem-header__bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	height: var(--header-height);
	padding-inline: 32px;
	transition: height .25s var(--ease);
}
.eem-header.is-stuck { background: var(--header-sticky-bg); }
.eem-header.is-stuck .eem-header__bar { height: var(--header-sticky-height); }
.eem-sticky-border .eem-header.is-stuck { border-bottom-color: rgba(255, 255, 255, .14); }
.eem-header__left { display: flex; align-items: center; justify-self: start; gap: 8px; }
.eem-header__center { justify-self: center; display: flex; align-items: center; min-width: 0; }
.eem-header__right { display: flex; align-items: center; justify-self: end; gap: 22px; min-width: 0; }

.eem-header__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--header-text);
	border-radius: 50%;
	transition: background .2s;
}
.eem-header__icon:hover { background: rgba(255, 255, 255, .1); }

.eem-header__link {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--header-text);
	font-family: var(--font-menu);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .03em;
	text-transform: uppercase;
	white-space: nowrap;
}
.eem-header__magazines { position: relative; }
.eem-dropdown {
	position: absolute; top: calc(100% + 12px); left: 50%;
	min-width: 220px;
	margin: 0; padding: 10px 0;
	list-style: none;
	background: var(--surface);
	color: var(--text);
	box-shadow: 0 14px 36px rgba(0, 0, 0, .16);
	transform: translate(-50%, 6px);
	opacity: 0; visibility: hidden;
	transition: opacity .2s, transform .2s, visibility .2s;
}
.eem-header__magazines.is-open .eem-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.eem-dropdown a { display: block; padding: 10px 22px; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; }
.eem-dropdown a:hover { background: var(--surface-soft); }

.eem-header__subscribe {
	display: inline-flex; align-items: center;
	padding: 10px 20px;
	background: var(--accent-secondary);
	color: #fff;
	font-family: var(--font-menu);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .03em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: filter .2s;
}
.eem-header__subscribe:hover { filter: brightness(1.12); color: #fff; }

.eem-header__account { display: inline-flex; align-items: center; gap: 8px; color: var(--header-text); line-height: 1.25; }
.eem-header__account-icon { display: none; }
.eem-header__account-text { display: flex; flex-direction: column; font-family: var(--font-menu); }
.eem-header__account-text strong { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.eem-header__account-text span { font-size: 12px; opacity: .8; }

.eem-mode-toggle__moon { display: none; }
html[data-theme="dark"] .eem-mode-toggle__sun { display: none; }
html[data-theme="dark"] .eem-mode-toggle__moon { display: inline-flex; }

/* ---------- Logotipo ---------- */
.eem-logo { display: inline-flex; align-items: center; color: inherit; line-height: 1; }
.eem-logo__variant { display: inline-flex; align-items: center; }
.eem-logo__variant--mobile { display: none; }
.eem-logo__img { max-width: 100%; height: auto; object-fit: contain; max-height: calc(var(--header-height) - 16px); }
.eem-header.is-stuck .eem-logo__img { max-height: calc(var(--header-sticky-height) - 14px); }
.eem-logo__text {
	font-family: var(--font-display);
	font-size: 46px;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
	transform: scaleY(1.12);
}
.eem-header.is-stuck .eem-logo__text { font-size: 36px; }
html:not([data-theme="dark"]) .eem-logo__img--dark,
html:not([data-theme="dark"]) .eem-logo__text--dark,
html[data-theme="dark"] .eem-logo__img--light,
html[data-theme="dark"] .eem-logo__text--light { display: none; }

/* ---------- Busca expansível ---------- */
.eem-search-panel {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--header-bg);
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding: 18px 32px;
	animation: eem-drop .25s var(--ease);
}
.eem-search-panel[hidden] { display: none; }
.eem-search-panel__inner { display: flex; align-items: center; gap: 12px; max-width: 860px; margin: 0 auto; }
.eem-search-panel .eem-searchform { flex: 1; }
.eem-search-panel .eem-searchform__input { background: #fff; color: #111; border-color: #fff; }
.eem-search-panel__close { border: 0; background: none; color: var(--header-text); padding: 8px; }
@keyframes eem-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.eem-searchform { position: relative; display: flex; width: 100%; }
.eem-searchform__input {
	flex: 1; min-width: 0;
	height: 50px;
	padding: 0 54px 0 18px;
	border: 1px solid var(--border);
	border-radius: 0;
	background: var(--surface);
	color: var(--text);
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}
.eem-searchform__input:focus { outline: none; border-color: var(--text); }
.eem-searchform__submit {
	position: absolute; right: 0; top: 0;
	width: 50px; height: 50px;
	border: 0; background: none;
	color: inherit;
	display: flex; align-items: center; justify-content: center;
}
.eem-search-panel .eem-searchform__submit { color: #111; }

/* ---------- Menu lateral ---------- */
.eem-drawer { position: fixed; inset: 0; z-index: 1000; }
.eem-drawer[hidden] { display: none; }
.eem-drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .3s; }
.eem-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0;
	width: min(420px, 88vw);
	display: flex; flex-direction: column; gap: 22px;
	padding: 22px 28px 36px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--background);
	color: var(--text);
	transform: translateX(-100%);
	transition: transform .35s var(--ease);
}
.eem-drawer.is-open .eem-drawer__overlay { opacity: 1; }
.eem-drawer.is-open .eem-drawer__panel { transform: translateX(0); }
.eem-drawer__panel:focus { outline: none; }
.eem-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.eem-logo--drawer { min-width: 0; overflow: hidden; }
.eem-logo--drawer .eem-logo__text { font-size: clamp(22px, 6.4vw, 34px); }
.eem-drawer__close { flex-shrink: 0; }
.eem-logo--drawer .eem-logo__img { max-height: 44px; }
html:not([data-theme="dark"]) .eem-logo--drawer .eem-logo__img--light { filter: invert(1); }
.eem-drawer__close { border: 0; background: none; padding: 8px; color: var(--text); }
.eem-drawer__menu, .eem-drawer__menu ul { list-style: none; margin: 0; padding: 0; }
.eem-drawer__menu > li { border-bottom: 1px solid var(--border); }
.eem-drawer__menu > li > a {
	display: block;
	padding: 15px 0;
	font-family: var(--font-headline);
	font-size: 20px;
	font-weight: var(--headline-weight);
	letter-spacing: var(--headline-tracking);
	text-transform: uppercase;
}
.eem-drawer__menu a:hover { opacity: .65; }
.eem-drawer__menu .sub-menu { padding: 0 0 14px 2px; }
.eem-drawer__menu .sub-menu a { display: block; padding: 6px 0; font-size: 15px; color: var(--muted); }
.eem-drawer__menu .current-menu-item > a { text-decoration: underline; text-underline-offset: 5px; }
.eem-drawer__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

/* ---------- Ticker ---------- */
.eem-ticker {
	display: flex; align-items: center;
	height: 40px;
	overflow: hidden;
	background: var(--ticker-bg);
	color: var(--ticker-text);
	font-family: var(--font-menu);
	font-size: 14px;
}
.eem-ticker__label {
	flex-shrink: 0;
	height: 100%;
	display: flex; align-items: center;
	padding: 0 18px;
	background: var(--accent-secondary);
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-size: 12px;
}
.eem-ticker__viewport { position: relative; flex: 1; min-width: 0; overflow: hidden; height: 100%; }
.eem-ticker__track {
	position: absolute; top: 0; left: 0;
	display: flex; align-items: center;
	height: 100%;
	margin: 0; padding: 0;
	list-style: none;
	white-space: nowrap;
	will-change: transform;
}
.eem-ticker__item { padding: 0 28px; position: relative; }
.eem-ticker__item::after { content: ""; position: absolute; right: 0; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: currentColor; opacity: .5; }
.eem-ticker__item a:hover { text-decoration: underline; }

/* ---------- Faixa promocional ---------- */
.eem-promo { background: var(--promo-strip-bg); padding: 20px var(--gutter); }
.eem-promo__banner {
	display: flex; align-items: center; justify-content: center; gap: 28px;
	max-width: 760px;
	min-height: 92px;
	margin: 0 auto;
	padding: 10px 24px;
	background: var(--promo-bg);
	color: var(--promo-text);
}
.eem-promo__cover img { width: auto; max-height: 76px; object-fit: contain; }
.eem-promo__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.eem-promo__title { font-family: var(--font-headline); font-size: 22px; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.eem-promo__desc { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.eem-promo__price { display: flex; flex-direction: column; padding-left: 20px; border-left: 1.5px solid currentColor; line-height: 1.2; }
.eem-promo__price small { font-size: 12px; }
.eem-promo__price strong { font-size: 18px; }
.eem-promo__btn { padding: 10px 18px; background: #fff; color: #111; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
a.eem-promo__banner:hover .eem-promo__btn { background: #111; color: #fff; }
body.eem-is-scrolled.eem-sticky-hide-promo .eem-header__subscribe,
body.eem-is-scrolled.eem-sticky-hide-promo .eem-header__magazines { display: none; }

/* ==========================================================================
   Cards
   ========================================================================== */
.eem-card { position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.eem-card__media { display: block; }
.eem-card:hover .eem-media__img,
.eem-runway-card:hover .eem-media__img,
.eem-story-card:hover .eem-media__img { transform: scale(1.035); }
.eem-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.eem-card__title {
	margin: 0;
	font-family: var(--font-headline);
	font-weight: var(--headline-weight);
	letter-spacing: var(--headline-tracking);
	text-transform: var(--headline-transform);
	line-height: 1.32;
	color: var(--text);
	overflow-wrap: anywhere;
}
.eem-card__title a:hover { opacity: .7; }
.eem-card__title--sm { font-size: 16px; }
.eem-card__title--md { font-size: 20px; line-height: 1.3; }
.eem-card__title--lg { font-size: 26px; line-height: 1.22; }
.eem-card__title--xl { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.18; }
.eem-card__meta { margin: -4px 0 0; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.eem-card__date { font-family: var(--font-menu); font-size: 14px; color: var(--muted); }
.eem-card__excerpt { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); opacity: .9; }

.eem-card--row { flex-direction: row; align-items: flex-start; gap: 32px; }
.eem-card--row .eem-card__media { flex: 0 0 43%; max-width: 230px; }
.eem-card--row .eem-card__body { flex: 1; }

/* ==========================================================================
   Carrossel genérico
   ========================================================================== */
.eem-carousel { position: relative; --slides: 4; --slide-gap: 28px; }
.eem-carousel__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}
.eem-carousel__viewport::-webkit-scrollbar { display: none; }
.eem-carousel__viewport:focus-visible { outline-offset: 6px; }
.eem-carousel__track { display: flex; gap: var(--slide-gap); margin: 0; padding: 0; list-style: none; }
.eem-carousel__slide {
	flex: 0 0 calc((100% - (var(--slides) - 1) * var(--slide-gap)) / var(--slides));
	min-width: 0;
	scroll-snap-align: start;
}
.eem-carousel__arrow {
	position: absolute; top: 38%; z-index: 2;
	display: flex; align-items: center; justify-content: center;
	width: 48px; height: 48px;
	border: 0; border-radius: 50%;
	background: var(--background);
	color: var(--text);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
	transition: opacity .2s, transform .2s;
}
.eem-carousel__arrow:hover:not(:disabled) { transform: scale(1.06); }
.eem-carousel__arrow:disabled { opacity: 0; pointer-events: none; }
.eem-carousel__arrow--prev { left: -24px; }
.eem-carousel__arrow--next { right: -24px; }
.eem-carousel.is-static .eem-carousel__arrow { display: none; }

.eem-grid-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   Publicidade
   ========================================================================== */
.eem-ad { --ad-max: 100%; --ad-min-h: 0px; }
.eem-ad__frame { position: relative; max-width: var(--ad-max); min-height: var(--ad-min-h); margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.eem-ad__label { display: block; margin-bottom: 6px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; }
.eem-ad__img { max-width: 100%; height: auto; margin: 0 auto; }
.eem-ad__html, .eem-ad__shortcode { max-width: 100%; overflow: hidden; }
.eem-ad--strip { background: var(--surface-soft); padding: 18px var(--gutter); }
.eem-ad--inline { margin: 40px 0; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eem-ad--box { margin: 28px 0 0; }
.eem-ad--grid { height: 100%; display: flex; align-items: center; background: var(--surface-soft); padding: 16px; }
.eem-ad--grid .eem-ad__frame { width: 100%; }
.eem-ad--only-mobile { display: none; }

/* ==========================================================================
   Formulários (inclui Contact Form 7)
   ========================================================================== */
.eem-prose input[type="text"], .eem-prose input[type="email"], .eem-prose input[type="tel"], .eem-prose input[type="url"],
.eem-prose input[type="number"], .eem-prose input[type="date"], .eem-prose select, .eem-prose textarea,
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"],
.wpcf7 input[type="number"], .wpcf7 input[type="date"], .wpcf7 select, .wpcf7 textarea,
.eem-comments input[type="text"], .eem-comments input[type="email"], .eem-comments input[type="url"], .eem-comments textarea {
	width: 100%;
	max-width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--border);
	border-radius: 0;
	background: var(--surface);
	color: var(--text);
	font-size: 16px;
	line-height: 1.4;
	text-align: left;
	transition: border-color .2s;
	-webkit-appearance: none;
	appearance: none;
}
.wpcf7 select, .eem-prose select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 42px;
}
.wpcf7 textarea, .eem-comments textarea { min-height: 150px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus, .eem-comments input:focus, .eem-comments textarea:focus { outline: none; border-color: var(--text); }
.wpcf7 label, .eem-comments label { display: block; margin-bottom: 6px; font-family: var(--font-menu); font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; text-align: left; }
.wpcf7 p { text-align: left !important; margin: 0 0 18px; }
.wpcf7 .wpcf7-list-item { margin: 0 18px 6px 0; }
.wpcf7 .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; text-transform: none; font-weight: 400; font-size: 15px; letter-spacing: 0; }
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"] { width: 18px; height: 18px; accent-color: var(--text); }
.wpcf7 input[type="submit"], .wpcf7 button[type="submit"], .eem-comments input[type="submit"] {
	display: inline-flex; align-items: center;
	padding: 13px 28px;
	border: 1px solid var(--primary);
	border-radius: 999px;
	background: var(--primary);
	color: var(--background);
	font-family: var(--font-menu);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s;
}
.wpcf7 input[type="submit"]:hover, .eem-comments input[type="submit"]:hover { background: var(--primary-hover); }
.wpcf7 .wpcf7-spinner { margin: 0 12px; }
.wpcf7 .wpcf7-not-valid { border-color: #c62828 !important; }
.wpcf7 .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: #c62828; text-align: left; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 14px 18px; border: 1px solid var(--border); font-size: 15px; text-align: left; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #2e7d32; background: rgba(46, 125, 50, .08); color: var(--text); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output { border-color: #c62828; background: rgba(198, 40, 40, .07); color: var(--text); }
.wpcf7 form.spam .wpcf7-response-output { border-color: #f9a825; background: rgba(249, 168, 37, .1); }

/* ==========================================================================
   Breadcrumb, paginação e carregar mais
   ========================================================================== */
.eem-breadcrumb { margin: 0 0 20px; font-family: var(--font-menu); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.eem-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.eem-breadcrumb li:not(:last-child)::after { content: "/"; margin: 0 9px; opacity: .6; }
.eem-breadcrumb a:hover { color: var(--text); }
.eem-breadcrumb [aria-current] { color: var(--text); display: inline-block; max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

.eem-pagination { margin: 56px 0 0; }
.eem-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.eem-pagination a, .eem-pagination span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	font-family: var(--font-menu); font-size: 14px;
}
.eem-pagination .current { background: var(--primary); border-color: var(--primary); color: var(--background); }
.eem-pagination a:hover { border-color: var(--text); }
.eem-loadmore { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 56px; }
.eem-loadmore__btn.is-loading { opacity: .6; pointer-events: none; }
.eem-loadmore__status { margin: 0; font-size: 14px; color: var(--muted); min-height: 1em; }

/* ==========================================================================
   Redes sociais e footer
   ========================================================================== */
.eem-social { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.eem-social__link { display: inline-flex; color: inherit; transition: opacity .2s; }
.eem-social__link:hover { opacity: .6; }

.eem-footer { background: var(--footer-bg); color: var(--footer-text); padding: 48px 0 40px; }
.eem-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--footer-border); }
.eem-logo--footer { margin-bottom: 30px; color: var(--footer-text); }
.eem-logo--footer { max-width: 100%; }
.eem-logo--footer .eem-logo__text { font-size: clamp(26px, 8vw, 40px); }
.eem-logo--footer .eem-logo__img { max-height: 60px; }
.eem-footer__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.eem-footer__nav { display: flex; flex-wrap: wrap; gap: 14px 80px; }
.eem-footer__menu { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); gap: 12px 80px; margin: 0; padding: 0; list-style: none; }
.eem-footer__menu a { color: var(--footer-link); font-family: var(--font-menu); font-size: 14px; letter-spacing: .03em; text-transform: uppercase; }
.eem-footer__menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.eem-footer .eem-social { color: var(--footer-text); }
.eem-footer__text { margin: 32px 0 0; font-size: 13px; opacity: .7; max-width: 720px; }
.eem-footer__copy { margin: 32px 0 0; padding-top: 22px; border-top: 1px solid var(--footer-border); font-size: 12px; letter-spacing: .04em; opacity: .7; }
.eem-footer .eem-widget__title { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
