/* ======================================================
   ATELIER EDITORIAL · THEME.CSS
   Genérico, multi-cliente. Cores e fontes 100% via Customizer.
   ====================================================== */

:root {
	--ate-ink: #0a0a0a;
	--ate-paper: #faf8f5;
	--ate-bone: #e8e0d5;
	--ate-ash: #8b8784;
	--ate-accent: #0a0a0a;
	--ate-line: rgba(10, 10, 10, 0.14);
	--ate-line-strong: rgba(10, 10, 10, 0.85);

	--ate-font-display: 'Bodoni Moda', 'Times New Roman', serif;
	--ate-font-body: 'Jost', 'Helvetica Neue', sans-serif;
	--ate-font-serif: 'Cormorant Garamond', Georgia, serif;

	--ate-shadow: 0 30px 60px -30px rgba(10, 10, 10, 0.25);
	--ate-container: 1280px;
	--ate-gutter: clamp(20px, 4vw, 60px);
	--ate-h1: clamp(38px, 6.4vw, 96px);
	--ate-h2: clamp(30px, 4.5vw, 56px);
	--ate-h3: clamp(22px, 2.8vw, 32px);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ate-paper);
	color: var(--ate-ink);
	font-family: var(--ate-font-body);
	font-weight: 300;
	line-height: 1.6;
	font-size: 16px;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
a:hover { opacity: .7; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }
hr { border: 0; height: 1px; background: var(--ate-line); margin: 2em 0; }
::selection { background: var(--ate-ink); color: var(--ate-paper); }

/* UTILITIES */
.ate-kicker {
	font-family: var(--ate-font-body);
	font-size: 10px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	font-weight: 400;
	display: inline-block;
}
.ate-kicker--light { color: var(--ate-paper); }
.ate-sep { opacity: .55; }
.ate-skip {
	position: absolute; top: -100px; left: 16px;
	background: var(--ate-ink); color: var(--ate-paper);
	padding: 12px 18px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
	z-index: 1000;
}
.ate-skip:focus { top: 12px; }

/* BUTTONS */
.ate-btn {
	display: inline-flex; align-items: center; gap: 14px;
	padding: 14px 22px;
	border: 1px solid var(--ate-ink);
	background: transparent;
	color: var(--ate-ink);
	font-family: var(--ate-font-body);
	font-size: 11px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	transition: background .3s ease, color .3s ease, transform .3s ease;
	line-height: 1;
}
.ate-btn:hover { background: var(--ate-ink); color: var(--ate-paper); opacity: 1; }
.ate-btn--solid { background: var(--ate-ink); color: var(--ate-paper); }
.ate-btn--solid:hover { background: var(--ate-paper); color: var(--ate-ink); }
.ate-btn--ghost-light { border-color: var(--ate-paper); color: var(--ate-paper); }
.ate-btn--ghost-light:hover { background: var(--ate-paper); color: var(--ate-ink); }
.ate-btn--block { display: flex; width: 100%; justify-content: center; }
.ate-btn__arrow svg { width: 18px; height: 18px; transition: transform .3s ease; }
.ate-btn:hover .ate-btn__arrow svg { transform: translateX(4px); }

/* WORDMARK */
.ate-wordmark {
	display: inline-flex; flex-direction: column; align-items: flex-start;
	line-height: 0.85;
	color: inherit;
}
.ate-wordmark__word {
	font-family: var(--ate-font-display);
	font-size: 30px;
	letter-spacing: -0.03em;
}
.ate-wordmark__word em { font-style: italic; }
.ate-wordmark__sub {
	font-family: var(--ate-font-body);
	font-size: 9px;
	letter-spacing: 0.55em;
	text-transform: uppercase;
	margin-top: 6px;
	opacity: 0.7;
}

/* BREADCRUMBS */
.ate-breadcrumbs {
	display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
	font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
	opacity: .65;
	margin-bottom: 16px;
}
.ate-breadcrumbs__sep { opacity: 0.5; }

/* HEADER */
.ate-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--ate-paper);
	border-bottom: 1px solid var(--ate-line);
	transition: box-shadow .3s ease;
}
.ate-header.is-scrolled { box-shadow: var(--ate-shadow); }
.ate-header--minimal { padding: 16px 0; }
.ate-header__inner--minimal {
	max-width: var(--ate-container);
	margin: 0 auto;
	padding: 18px var(--ate-gutter);
	text-align: center;
}
.ate-header__inner--minimal .ate-wordmark { align-items: center; }

.ate-topbar {
	background: var(--ate-ink);
	color: var(--ate-paper);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.ate-topbar__inner {
	max-width: var(--ate-container); margin: 0 auto;
	padding: 11px var(--ate-gutter);
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; flex-wrap: wrap;
}
.ate-topbar__phrase {
	font-family: var(--ate-font-serif);
	font-style: italic;
	letter-spacing: 0.05em;
	text-transform: none;
	font-size: 14px;
	opacity: 0.85;
}
.ate-topbar__quick { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ate-topbar__chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px;
	border: 1px solid rgba(250, 248, 245, 0.18);
	font-size: 10px; letter-spacing: .25em;
	color: var(--ate-paper);
	transition: all .25s ease;
}
.ate-topbar__chip:hover { background: var(--ate-paper); color: var(--ate-ink); border-color: var(--ate-paper); opacity: 1; }
.ate-topbar__chip--addr { border-color: transparent; opacity: 0.7; }
.ate-topbar__icon svg { width: 14px; height: 14px; }

.ate-nav__inner {
	max-width: var(--ate-container);
	margin: 0 auto;
	padding: 22px var(--ate-gutter);
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	gap: 20px;
}
.ate-nav__brand { justify-self: center; }
.ate-nav__brand .custom-logo { max-height: 56px; width: auto; }
.ate-nav__primary { justify-self: start; }
.ate-nav__cta { justify-self: end; display: flex; align-items: center; gap: 12px; }

.ate-menu {
	display: flex; gap: 28px; align-items: center;
	font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
}
.ate-menu li { position: relative; }
.ate-menu a { padding: 8px 0; display: inline-block; border-bottom: 1px solid transparent; }
.ate-menu a:hover, .ate-menu .current-menu-item > a { border-bottom-color: var(--ate-ink); opacity: 1; }
.ate-menu .sub-menu {
	position: absolute; top: 100%; left: -16px;
	min-width: 220px;
	background: var(--ate-paper);
	border: 1px solid var(--ate-line);
	padding: 14px 16px;
	display: none; flex-direction: column; gap: 8px;
	box-shadow: var(--ate-shadow);
}
.ate-menu li:hover > .sub-menu, .ate-menu li:focus-within > .sub-menu { display: flex; }
.ate-menu .sub-menu a { letter-spacing: .15em; font-size: 11px; }

.ate-nav__toggle {
	display: none; align-items: center; gap: 10px;
	background: transparent; border: 0; padding: 8px 0;
	font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
}
.ate-nav__toggle svg { width: 22px; height: 22px; }

.ate-nav__search {
	background: transparent; border: 1px solid var(--ate-ink);
	width: 42px; height: 42px;
	display: inline-flex; align-items: center; justify-content: center;
	transition: all .25s ease;
}
.ate-nav__search:hover { background: var(--ate-ink); color: var(--ate-paper); }
.ate-nav__search svg { width: 18px; height: 18px; }

.ate-search-overlay {
	position: fixed; inset: 0; z-index: 90;
	background: var(--ate-paper);
	display: flex; align-items: center; justify-content: center;
	padding: 32px;
}
.ate-search-overlay[hidden] { display: none; }
.ate-search-overlay__inner { width: 100%; max-width: 700px; display: flex; flex-direction: column; gap: 18px; }
.ate-search-overlay__close { position: absolute; top: 24px; right: 24px; background: transparent; border: 0; }
.ate-search-overlay__close svg { width: 24px; height: 24px; }

.ate-searchform { display: flex; align-items: center; border-bottom: 1px solid var(--ate-ink); }
.ate-searchform__input {
	flex: 1; background: transparent; border: 0; padding: 16px 0;
	font-family: var(--ate-font-display);
	font-size: clamp(22px, 3vw, 36px); font-style: italic;
	color: var(--ate-ink);
}
.ate-searchform__input:focus { outline: none; }
.ate-searchform__submit { background: transparent; border: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }

/* MOBILE DRAWER */
.ate-mobile { position: fixed; inset: 0; z-index: 80; background: var(--ate-ink); color: var(--ate-paper); overflow-y: auto; }
.ate-mobile[hidden] { display: none; }
.ate-mobile__inner { padding: 32px var(--ate-gutter); display: flex; flex-direction: column; gap: 32px; min-height: 100vh; }
.ate-mobile__close { background: transparent; border: 0; align-self: flex-end; color: var(--ate-paper); }
.ate-mobile__close svg { width: 26px; height: 26px; }
.ate-mobile__brand { color: var(--ate-paper); }
.ate-mobile__menu { display: flex; flex-direction: column; gap: 6px; font-family: var(--ate-font-display); font-size: clamp(28px, 7vw, 48px); letter-spacing: -0.02em; line-height: 1.05; }
.ate-mobile__menu a { display: block; padding: 4px 0; }
.ate-mobile__menu .current-menu-item > a { font-style: italic; }
.ate-mobile__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

/* CONTENT */
.ate-content { display: block; }
.ate-content:focus { outline: none; }

/* HOME */
.ate-home { display: block; }
.ate-home-section { display: block; }
.ate-home__content { padding: clamp(40px, 6vw, 80px) 0; }

.ate-home-placeholder { padding: clamp(80px, 12vw, 140px) var(--ate-gutter); }
.ate-home-placeholder__inner { max-width: 720px; margin: 0 auto; border: 1px dashed var(--ate-line-strong); padding: 50px; text-align: center; }
.ate-home-placeholder__title { font-family: var(--ate-font-display); font-size: clamp(28px, 4.5vw, 48px); letter-spacing: -.02em; font-weight: 400; margin: 18px 0 16px; }
.ate-home-placeholder__title em { font-style: italic; }
.ate-home-placeholder__steps { text-align: left; max-width: 540px; margin: 0 auto; padding-left: 24px; list-style: decimal; font-family: var(--ate-font-serif); font-style: italic; font-size: 17px; line-height: 1.65; }
.ate-home-placeholder__steps li { margin: 8px 0; }

/* BLOG HERO */
.ate-blog-hero {
	background: var(--ate-bone);
	border-bottom: 1px solid var(--ate-line-strong);
	padding: clamp(80px, 12vw, 160px) var(--ate-gutter) clamp(60px, 9vw, 120px);
}
.ate-blog-hero__inner { max-width: var(--ate-container); margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.ate-blog-hero__title { font-family: var(--ate-font-display); font-size: var(--ate-h1); letter-spacing: -0.03em; line-height: 1; font-weight: 400; margin: 0; }
.ate-blog-hero__title em { font-style: italic; }
.ate-blog-hero__lede { max-width: 640px; font-family: var(--ate-font-serif); font-style: italic; font-size: 20px; line-height: 1.55; opacity: 0.85; }

/* BLOG */
.ate-blog { padding: clamp(60px, 8vw, 100px) var(--ate-gutter); }
.ate-feature { max-width: var(--ate-container); margin: 0 auto clamp(60px, 8vw, 100px); }
.ate-feature__link { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 50px); border: 1px solid var(--ate-line-strong); background: var(--ate-paper); }
.ate-feature__media { aspect-ratio: 4/3; overflow: hidden; background: var(--ate-bone); position: relative; }
.ate-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; filter: contrast(1.05); }
.ate-feature:hover .ate-feature__media img { transform: scale(1.04); }
.ate-feature__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 48px; opacity: .2; }
.ate-feature__body { display: flex; flex-direction: column; gap: 18px; }
.ate-feature__title { font-family: var(--ate-font-display); font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; margin: 0; }
.ate-feature__excerpt { font-family: var(--ate-font-serif); font-style: italic; font-size: 18px; line-height: 1.6; opacity: 0.85; margin: 0; }
.ate-feature__foot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; opacity: 0.7; margin-top: 6px; }
.ate-feature__sep { opacity: .5; }
.ate-feature__cta { margin-left: auto; font-family: var(--ate-font-display); font-style: italic; font-size: 13px; text-transform: none; letter-spacing: 0; opacity: 1; }

.ate-blog__grid { max-width: var(--ate-container); margin: 0 auto clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.5vw, 56px) clamp(24px, 3vw, 40px); }
.ate-card { display: flex; flex-direction: column; }
.ate-card__link { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.ate-card__media { aspect-ratio: 4/5; overflow: hidden; background: var(--ate-bone); border: 1px solid var(--ate-line-strong); position: relative; }
.ate-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; filter: contrast(1.05); }
.ate-card:hover .ate-card__media img { transform: scale(1.04); }
.ate-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 36px; opacity: .25; }
.ate-card__body { display: flex; flex-direction: column; gap: 10px; }
.ate-card__title { font-family: var(--ate-font-display); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 400; margin: 0; }
.ate-card__excerpt { font-family: var(--ate-font-serif); font-style: italic; font-size: 16px; line-height: 1.55; opacity: 0.8; margin: 0; }
.ate-card__meta { display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: .3em; text-transform: uppercase; opacity: 0.6; margin-top: auto; padding-top: 10px; }
.ate-card__rule { width: 18px; height: 1px; background: currentColor; opacity: .5; }

.ate-empty { max-width: 600px; margin: 60px auto; text-align: center; padding: 60px 20px; }
.ate-empty__title { font-family: var(--ate-font-display); font-size: var(--ate-h2); letter-spacing: -.02em; font-weight: 400; margin: 16px 0; }
.ate-empty__title em { font-style: italic; }

/* PAGINATION */
.ate-pagination { max-width: var(--ate-container); margin: 40px auto 0; border-top: 1px solid var(--ate-line); padding-top: 30px; }
.ate-pagination ul { display: flex; gap: 4px; align-items: center; justify-content: center; flex-wrap: wrap; }
.ate-pagination li > * { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ate-line); font-family: var(--ate-font-display); font-style: italic; font-size: 14px; padding: 0 14px; transition: all .25s ease; }
.ate-pagination .current { background: var(--ate-ink); color: var(--ate-paper); border-color: var(--ate-ink); }
.ate-pagination a:hover { background: var(--ate-ink); color: var(--ate-paper); border-color: var(--ate-ink); opacity: 1; }

/* SINGLE — sem double-header. Cabeçalho inline, simples. */
.ate-post-head {
	padding: clamp(60px, 9vw, 110px) var(--ate-gutter) clamp(28px, 4vw, 50px);
	background: var(--ate-paper);
	border-bottom: 1px solid var(--ate-line);
}
.ate-post-head__inner { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.ate-post-head__title { font-family: var(--ate-font-display); font-size: clamp(36px, 5.5vw, 76px); letter-spacing: -0.03em; line-height: 1; font-weight: 400; margin: 0; }
.ate-post-head__title em { font-style: italic; }
.ate-post-head__lede { font-family: var(--ate-font-serif); font-style: italic; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; opacity: 0.88; margin: 0; max-width: 720px; }
.ate-post-head__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: 0.7; }
.ate-post-head__meta time, .ate-post-head__meta em { font-family: var(--ate-font-display); font-style: italic; font-size: 14px; letter-spacing: 0; text-transform: none; opacity: 1; }

.ate-post-cover, .ate-post-thumb {
	max-width: var(--ate-container);
	margin: clamp(30px, 5vw, 60px) auto;
	padding: 0 var(--ate-gutter);
}
.ate-post-cover img, .ate-post-thumb img { width: 100%; max-height: 78vh; object-fit: cover; }

.ate-post-body { background: var(--ate-paper); padding: clamp(40px, 7vw, 80px) var(--ate-gutter) clamp(60px, 9vw, 100px); }
.ate-post-body__inner { max-width: 800px; margin: 0 auto; }
.ate-post-content { font-size: 17px; line-height: 1.8; }
.ate-post-content > * + * { margin-top: 1em; }
.ate-post-content h2 { font-family: var(--ate-font-display); font-size: var(--ate-h2); line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; margin: 1.6em 0 0.4em; }
.ate-post-content h2 em { font-style: italic; }
.ate-post-content h3 { font-family: var(--ate-font-display); font-size: var(--ate-h3); line-height: 1.15; letter-spacing: -0.02em; font-weight: 400; margin: 1.4em 0 0.4em; }
.ate-post-content h3 em { font-style: italic; }
.ate-post-content h4 { font-family: var(--ate-font-body); font-size: 12px; letter-spacing: .35em; text-transform: uppercase; margin: 1.6em 0 0.6em; }
.ate-post-content blockquote { border-left: 1px solid var(--ate-ink); padding: 6px 0 6px 28px; margin: 1.6em 0; font-family: var(--ate-font-display); font-style: italic; font-size: clamp(22px, 2vw, 30px); line-height: 1.3; letter-spacing: -0.01em; }
.ate-post-content blockquote cite { display: block; margin-top: 12px; font-family: var(--ate-font-body); font-style: normal; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.ate-post-content figure { margin: 2em 0; }
.ate-post-content figcaption { font-family: var(--ate-font-serif); font-style: italic; font-size: 14px; margin-top: 10px; opacity: .75; text-align: center; }
.ate-post-content img { width: 100%; border: 1px solid var(--ate-line); }
.ate-post-content ul, .ate-post-content ol { padding-left: 22px; margin: 1em 0; }
.ate-post-content ul li, .ate-post-content ol li { margin: 0.4em 0; list-style: disc outside; }
.ate-post-content ol li { list-style: decimal outside; }
.ate-post-content a { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.ate-post-content code { font-family: Menlo, Consolas, monospace; background: var(--ate-bone); padding: 2px 8px; font-size: .9em; }
.ate-post-content pre { background: var(--ate-ink); color: var(--ate-paper); padding: 24px; overflow-x: auto; font-size: 14px; line-height: 1.6; }

.ate-post-tags { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ate-line); display: flex; flex-direction: column; gap: 10px; }
.ate-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ate-tags a { display: inline-flex; padding: 6px 12px; border: 1px solid var(--ate-line); font-size: 11px; letter-spacing: .12em; text-transform: lowercase; }
.ate-tags a:hover { border-color: var(--ate-ink); opacity: 1; }

.ate-post-cta {
	background: var(--ate-ink); color: var(--ate-paper);
	padding: clamp(80px, 12vw, 140px) var(--ate-gutter);
	text-align: center;
}
.ate-post-cta__inner { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ate-post-cta__title { font-family: var(--ate-font-display); font-size: var(--ate-h1); line-height: 1; font-weight: 400; letter-spacing: -0.03em; margin: 0; }
.ate-post-cta__title em { font-style: italic; }
.ate-post-cta__text { font-family: var(--ate-font-serif); font-style: italic; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; opacity: 0.85; max-width: 640px; margin: 0; }

.ate-post-nav { border-top: 1px solid var(--ate-line); padding: 50px var(--ate-gutter); }
.ate-post-nav__inner { max-width: var(--ate-container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ate-post-nav__item { display: flex; flex-direction: column; gap: 6px; }
.ate-post-nav__item--next { text-align: right; align-items: flex-end; }
.ate-post-nav__title { font-family: var(--ate-font-display); font-size: clamp(20px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.02em; }

/* RELATED */
.ate-related { background: var(--ate-bone); padding: clamp(80px, 12vw, 140px) var(--ate-gutter); }
.ate-related__head { max-width: var(--ate-container); margin: 0 auto 40px; display: flex; flex-direction: column; gap: 12px; }
.ate-related__title { font-family: var(--ate-font-display); font-size: var(--ate-h2); font-weight: 400; letter-spacing: -0.02em; margin: 0; }
.ate-related__title em { font-style: italic; }
.ate-related__grid { max-width: var(--ate-container); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ate-related-card__media { aspect-ratio: 4/5; overflow: hidden; background: var(--ate-paper); border: 1px solid var(--ate-line-strong); margin-bottom: 16px; position: relative; }
.ate-related-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; filter: contrast(1.05); }
.ate-related-card:hover .ate-related-card__media img { transform: scale(1.04); }
.ate-related-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 36px; opacity: .25; }
.ate-related-card__title { font-family: var(--ate-font-display); font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 400; margin-top: 6px; }

/* PAGE */
.ate-page-head { background: var(--ate-bone); padding: clamp(60px, 10vw, 120px) var(--ate-gutter); border-bottom: 1px solid var(--ate-line-strong); }
.ate-page-head__inner { max-width: var(--ate-container); margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.ate-page-head__title { font-family: var(--ate-font-display); font-size: var(--ate-h1); letter-spacing: -0.03em; line-height: 1; font-weight: 400; margin: 0; }
.ate-page-head__title em { font-style: italic; }
.ate-page-head__lede { font-family: var(--ate-font-serif); font-style: italic; font-size: 20px; line-height: 1.55; max-width: 720px; }
.ate-page-thumb { max-width: var(--ate-container); margin: 0 auto; padding: 0 var(--ate-gutter); }
.ate-page-thumb img { margin: -40px 0 0; border: 1px solid var(--ate-line); }
.ate-page-body { padding: clamp(60px, 8vw, 100px) var(--ate-gutter); }
.ate-page-body__inner { max-width: 800px; margin: 0 auto; font-size: 17px; line-height: 1.8; }
.ate-page-body__inner > * + * { margin-top: 1em; }
.ate-page-body__inner h2 { font-family: var(--ate-font-display); font-size: var(--ate-h2); letter-spacing: -.02em; font-weight: 400; line-height: 1.05; margin-top: 1.6em; }
.ate-page-body__inner h3 { font-family: var(--ate-font-display); font-size: var(--ate-h3); letter-spacing: -.02em; font-weight: 400; margin-top: 1.4em; }

/* Override custom: o miolo é totalmente do usuário, sem padding extra. */
.ate-post--custom, .ate-page--custom { display: block; }

/* COMMENTS */
.ate-comments { background: var(--ate-paper); padding: clamp(60px, 8vw, 100px) var(--ate-gutter); border-top: 1px solid var(--ate-line); }
.ate-comments-area { max-width: 760px; margin: 0 auto; }
.ate-comments-area__head { margin-bottom: 30px; }
.ate-comments-area__title { font-family: var(--ate-font-display); font-size: 32px; font-weight: 400; letter-spacing: -.02em; margin: 8px 0 0; }
.ate-comments-area__title em { font-style: italic; }
.ate-comments-list { padding: 0; }
.ate-comments-list .comment-body { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--ate-line); }
.ate-comments-list .avatar { border-radius: 50%; }
.ate-comments-list .comment-author cite { font-family: var(--ate-font-display); font-style: italic; font-size: 18px; }
.ate-comment-form { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--ate-line); }
.ate-comment-form .ate-comment-form__title { display: block; font-family: var(--ate-font-display); font-size: 32px; font-weight: 400; margin-top: 4px; }
.ate-comment-form input[type="text"], .ate-comment-form input[type="email"], .ate-comment-form input[type="url"], .ate-comment-form textarea { width: 100%; padding: 12px 14px; background: transparent; border: 1px solid var(--ate-line); font-family: var(--ate-font-body); font-size: 15px; color: inherit; }
.ate-comment-form input:focus, .ate-comment-form textarea:focus { outline: none; border-color: var(--ate-ink); }
.ate-comment-form textarea { min-height: 140px; }
.ate-comment-form .submit, .ate-comment-form input[type="submit"] { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; background: var(--ate-ink); color: var(--ate-paper); border: 1px solid var(--ate-ink); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; cursor: pointer; width: max-content; }
.ate-comment-form .submit:hover { background: var(--ate-paper); color: var(--ate-ink); }

/* FOOTER */
.ate-footer { background: var(--ate-ink); color: var(--ate-paper); }
.ate-footer__manifesto { border-bottom: 1px solid rgba(250, 248, 245, 0.12); padding: clamp(60px, 9vw, 120px) var(--ate-gutter); text-align: center; }
.ate-footer__manifesto-inner { max-width: 900px; margin: 0 auto; }
.ate-footer__phrase { font-family: var(--ate-font-display); font-size: clamp(36px, 5.5vw, 80px); letter-spacing: -0.03em; line-height: 1.05; font-weight: 400; margin: 18px 0 0; }
.ate-footer__phrase em { font-style: italic; }
.ate-footer__main { padding: clamp(60px, 8vw, 100px) var(--ate-gutter); border-bottom: 1px solid rgba(250, 248, 245, 0.12); }
.ate-footer__grid { max-width: var(--ate-container); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 50px; }
.ate-footer__col { display: flex; flex-direction: column; gap: 18px; }
.ate-footer__col .ate-kicker { color: var(--ate-paper); opacity: .65; }
.ate-footer__brand .ate-wordmark__word { font-size: 48px; }
.ate-footer__brand .ate-wordmark__sub { opacity: 0.6; }
.ate-footer__menu { display: flex; flex-direction: column; gap: 8px; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; opacity: .85; }
.ate-footer__menu a:hover { opacity: 1; padding-left: 4px; }
.ate-footer__address, .ate-footer__hours { font-family: var(--ate-font-serif); font-style: italic; font-size: 16px; line-height: 1.7; color: rgba(250, 248, 245, 0.85); }
.ate-footer__address p, .ate-footer__hours p { margin: 0 0 6px; }
.ate-footer__directions { display: flex; flex-direction: column; gap: 10px; }
.ate-link { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; border-bottom: 1px solid rgba(250, 248, 245, 0.2); padding-bottom: 6px; }
.ate-link:hover { border-color: var(--ate-paper); opacity: 1; }
.ate-link svg { width: 18px; height: 18px; }
.ate-link--inline { padding-bottom: 4px; width: max-content; }

.ate-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.ate-socials__item { list-style: none; }
.ate-socials__item a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid rgba(250, 248, 245, 0.2); color: var(--ate-paper); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; transition: all .25s ease; }
.ate-socials__item a:hover { background: var(--ate-paper); color: var(--ate-ink); border-color: var(--ate-paper); opacity: 1; }
.ate-socials__icon { display: inline-flex; }
.ate-socials__icon svg { width: 16px; height: 16px; }
.ate-socials__label { letter-spacing: .25em; }
.ate-socials--footer .ate-socials__item a { padding: 9px 14px; }

.ate-footer__cta { margin-top: 12px; }

.ate-footer-widget { margin-bottom: 18px; }
.ate-footer-widget__title { font-family: var(--ate-font-body); font-size: 10px; letter-spacing: .4em; text-transform: uppercase; margin: 0 0 12px; opacity: .7; }

.ate-footer__bar { padding: 24px var(--ate-gutter); }
.ate-footer__bar-inner { max-width: var(--ate-container); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; opacity: 0.75; }
.ate-footer__top { white-space: nowrap; opacity: .8; }

/* 404 */
.ate-404 { min-height: 70vh; background: var(--ate-bone); display: flex; align-items: center; padding: 100px var(--ate-gutter); }
.ate-404__inner { max-width: 700px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ate-404__num { font-family: var(--ate-font-display); font-size: clamp(120px, 24vw, 280px); line-height: 0.85; letter-spacing: -0.05em; font-weight: 400; margin: 0; }
.ate-404__num em { font-style: italic; }
.ate-404__lede { font-family: var(--ate-font-serif); font-style: italic; font-size: 20px; line-height: 1.55; max-width: 540px; }
.ate-404__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: center; }
.ate-404__actions .ate-searchform { width: 320px; }

/* REVEAL */
.ate-reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.ate-reveal.is-visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1100px) {
	.ate-feature__link { grid-template-columns: 1fr; }
	.ate-blog__grid { grid-template-columns: repeat(2, 1fr); }
	.ate-related__grid { grid-template-columns: repeat(2, 1fr); }
	.ate-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 820px) {
	.ate-topbar__inner { gap: 8px; padding: 9px 16px; }
	.ate-topbar__phrase { display: none; }
	.ate-nav__inner { padding: 16px 16px; }
	.ate-nav__primary { display: none; }
	.ate-nav__toggle { display: inline-flex; }
	.ate-nav__cta .ate-btn { padding: 10px 14px; font-size: 10px; gap: 8px; }
}
@media (max-width: 640px) {
	:root { --ate-gutter: 20px; }
	.ate-blog__grid { grid-template-columns: 1fr; }
	.ate-related__grid { grid-template-columns: 1fr; }
	.ate-footer__grid { grid-template-columns: 1fr; }
	.ate-feature__link { padding: 22px; }
	.ate-post-nav__inner { grid-template-columns: 1fr; gap: 18px; }
	.ate-post-nav__item--next { text-align: left; align-items: flex-start; }
	.ate-404__actions .ate-searchform { width: 100%; }
}
