/* ==========================================================================
   Tudo Para Afterschooling — estilos principais
   Cores tiradas da logo. Pra mudar uma cor no site inteiro, troque aqui.
   ========================================================================== */

:root {
	--tpa-ivory: #FBF8F1;      /* fundo */
	--tpa-paper: #FFFDF8;      /* cartões */
	--tpa-linen: #F1EADC;      /* faixa bege */
	--tpa-sand: #EFE7D8;
	--tpa-blush: #EFE1D4;      /* rosado claro */
	--tpa-sage-100: #E3E7D8;   /* verde clarinho */
	--tpa-sage: #7D8C6A;
	--tpa-forest: #2E3B2F;     /* verde escuro (principal) */
	--tpa-forest-2: #3F4E3D;
	--tpa-clay: #96664C;       /* terracota */
	--tpa-clay-ink: #7A4F39;
	--tpa-gold: #B89370;       /* dourado do coração */
	--tpa-peach: #E9C9A8;
	--tpa-line: #E4D9C6;
	--tpa-dot: #C9B9A2;
	--tpa-ink: #2B2A26;
	--tpa-body: #4F4A42;
	--tpa-muted: #6B6358;
	--tpa-on-dark: #D5DBC9;

	--tpa-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--tpa-caps: 'Cinzel', Georgia, serif;
	--tpa-sans: 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--tpa-radius: 22px;
	--tpa-shadow: 0 20px 40px -24px rgba(46, 59, 47, .4);
	--tpa-gutter: 64px;
	--tpa-max: 1312px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--tpa-ivory);
	color: var(--tpa-ink);
	font-family: var(--tpa-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
.tpa-icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }
a { color: var(--tpa-forest); text-decoration: none; transition: color .2s; }
a:hover { color: var(--tpa-clay); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--tpa-serif); font-weight: 600; color: var(--tpa-forest); line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--tpa-clay); outline-offset: 3px; border-radius: 4px; }

.tpa-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.tpa-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--tpa-forest); color: var(--tpa-ivory); padding: 10px 16px; border-radius: 8px; }
.tpa-skip:focus { top: 12px; color: var(--tpa-ivory); }

.tpa-container { width: 100%; max-width: calc(var(--tpa-max) + 2 * var(--tpa-gutter)); margin: 0 auto; padding-left: var(--tpa-gutter); padding-right: var(--tpa-gutter); }

/* ---------- Botões ---------- */
.tpa-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 30px; border-radius: 999px; border: 1.5px solid transparent;
	font-family: var(--tpa-sans); font-weight: 800; font-size: 16px; line-height: 1.2; cursor: pointer;
	transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.tpa-btn:hover { transform: translateY(-1px); }
.tpa-btn--primary { background: var(--tpa-forest); color: var(--tpa-ivory); }
.tpa-btn--primary:hover { background: var(--tpa-forest-2); color: var(--tpa-ivory); box-shadow: 0 12px 24px -12px rgba(46,59,47,.6); }
.tpa-btn--ghost { border-color: var(--tpa-forest); color: var(--tpa-forest); background: transparent; }
.tpa-btn--ghost:hover { background: var(--tpa-forest); color: var(--tpa-ivory); }
.tpa-btn--peach { background: var(--tpa-peach); color: var(--tpa-forest); }
.tpa-btn--peach:hover { background: #F2D8BD; color: var(--tpa-forest); }

/* ---------- Títulos de seção ---------- */
.tpa-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-family: var(--tpa-caps); font-size: 14px; letter-spacing: .28em; text-transform: uppercase; color: var(--tpa-clay); font-weight: 600; line-height: 1.3; }
.tpa-eyebrow--line::before { content: ""; width: 40px; height: 1px; background: var(--tpa-gold); }
.tpa-eyebrow--peach { color: var(--tpa-peach); }
.tpa-heading { display: flex; flex-direction: column; gap: 10px; }
.tpa-heading--center { align-items: center; text-align: center; margin-bottom: 52px; }
.tpa-title { margin: 0; font-size: 56px; line-height: 1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tpa-heading--center .tpa-title { justify-content: center; }
.tpa-title a { color: inherit; }
.tpa-title__icon { color: var(--tpa-gold); display: inline-flex; }
.tpa-heading__text { margin: 4px 0 0; font-size: 17px; color: var(--tpa-muted); }
.tpa-ornament { display: flex; align-items: center; gap: 16px; color: var(--tpa-gold); justify-content: center; }
.tpa-ornament span { width: 60px; height: 1px; background: var(--tpa-dot); }

.tpa-section { padding: 104px 0; }
.tpa-section--tight-top { padding-top: 40px; }
.tpa-section--linen { background: var(--tpa-linen); }
.tpa-section--bottom { padding-bottom: 96px; }
.tpa-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.tpa-link-more { font-weight: 800; font-size: 15px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.tpa-empty { padding: 32px; border: 1px dashed var(--tpa-dot); border-radius: var(--tpa-radius); text-align: center; color: var(--tpa-muted); background: var(--tpa-paper); }

/* ---------- Faixa do topo ---------- */
.tpa-topbar { background: var(--tpa-forest); color: #F3ECDF; font-size: 13px; letter-spacing: .02em; }
.tpa-topbar__inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tpa-topbar__msg { margin: 0; display: flex; align-items: center; gap: 10px; }
.tpa-topbar__right { display: flex; align-items: center; gap: 20px; }
.tpa-topbar a { color: #F3ECDF; }
.tpa-topbar a:hover { color: var(--tpa-peach); }
.tpa-topbar__login { display: inline-flex; align-items: center; gap: 8px; }
.tpa-topbar__sep { width: 1px; height: 16px; background: rgba(243,236,223,.3); }
.tpa-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; align-items: center; }
.tpa-social a { display: inline-flex; }

/* ---------- Cabeçalho ---------- */
.tpa-header { position: relative; z-index: 50; background: var(--tpa-ivory); }
.tpa-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 128px; gap: 24px; }
.tpa-burger { display: none; }
.tpa-search { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 360px; height: 48px; padding: 0 20px; border: 1px solid #D9CFBE; border-radius: 999px; background: var(--tpa-paper); color: var(--tpa-muted); transition: border-color .2s, box-shadow .2s; }
.tpa-search:focus-within { border-color: var(--tpa-forest); box-shadow: 0 0 0 3px rgba(46,59,47,.1); }
.tpa-search input[type="search"] { border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--tpa-ink); flex: 1; min-width: 0; }
.tpa-search input::placeholder { color: #8A8175; }
.tpa-brand { display: flex; align-items: center; gap: 18px; color: var(--tpa-forest); }
.tpa-brand:hover { color: var(--tpa-forest); }
.tpa-brand__logo { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; display: block; }
.tpa-brand__text { display: flex; flex-direction: column; gap: 2px; }
.tpa-brand__small { font-family: var(--tpa-caps); font-size: 15px; letter-spacing: .34em; color: var(--tpa-clay); font-weight: 600; line-height: 1.2; }
.tpa-brand__big { font-family: var(--tpa-caps); font-size: 30px; letter-spacing: .04em; font-weight: 600; line-height: 1; }
.tpa-brand__tag { font-family: var(--tpa-serif); font-style: italic; font-size: 16px; color: var(--tpa-muted); line-height: 1.3; }
.tpa-actions { display: flex; justify-content: flex-end; gap: 28px; align-items: center; }
.tpa-actions__item { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--tpa-forest); text-align: center; line-height: 1.2; }
.tpa-actions__icon { position: relative; display: inline-flex; }
.tpa-cart-count { position: absolute; top: -7px; right: -10px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--tpa-clay); color: var(--tpa-paper); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; line-height: 1; }

/* ---------- Menu ---------- */
.tpa-nav__inner { border-top: 1px dotted var(--tpa-dot); border-bottom: 1px dotted var(--tpa-dot); }
.tpa-nav__head { display: none; }
.tpa-menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 0 36px; }
.tpa-menu > li { position: relative; }
.tpa-menu > li > a { display: flex; align-items: center; gap: 6px; min-height: 56px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tpa-forest); }
.tpa-menu > li > a:hover, .tpa-menu > .current-menu-item > a, .tpa-menu > .current-menu-ancestor > a { color: var(--tpa-clay); }
.tpa-menu > .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 4px; }
.tpa-menu .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 50%; min-width: 230px; background: var(--tpa-paper); border: 1px solid var(--tpa-line); border-radius: 16px; box-shadow: var(--tpa-shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.tpa-menu li:hover > .sub-menu, .tpa-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tpa-menu .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--tpa-forest); }
.tpa-menu .sub-menu a:hover { background: var(--tpa-sage-100); color: var(--tpa-forest); }
.tpa-subtoggle { display: none; }
.tpa-nav-overlay { position: fixed; inset: 0; background: rgba(30, 38, 31, .45); z-index: 90; }

/* ---------- Banner ---------- */
.tpa-hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; min-height: 664px; padding-top: 32px; padding-bottom: 48px; }
.tpa-hero__copy { display: flex; flex-direction: column; gap: 28px; padding-left: 48px; }
.tpa-hero__title { margin: 0; font-size: clamp(52px, 6vw, 84px); line-height: .98; letter-spacing: -.01em; }
.tpa-hero__title em { color: var(--tpa-clay); }
.tpa-hero__text { margin: 0; font-size: 19px; line-height: 1.6; color: var(--tpa-body); max-width: 520px; }
.tpa-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.tpa-chips { list-style: none; margin: 0; padding: 8px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.tpa-chip { display: inline-flex; padding: 8px 16px; border-radius: 999px; background: var(--tpa-sage-100); color: var(--tpa-forest-2); font-size: 13px; font-weight: 700; }
.tpa-chip:hover { background: var(--tpa-forest); color: var(--tpa-ivory); }
.tpa-chip--clay { background: var(--tpa-blush); color: var(--tpa-clay-ink); }
.tpa-hero__art { position: relative; aspect-ratio: 1; max-width: 600px; width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.tpa-hero__disc { position: absolute; inset: 3%; border-radius: 50%; background: var(--tpa-sand); }
.tpa-hero__ring { position: absolute; inset: 5%; border-radius: 50%; border: 2px dotted #C9A889; animation: tpa-spin 90s linear infinite; }
.tpa-hero__img { position: relative; width: 84%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 30px 60px -20px rgba(46,59,47,.35); }
.tpa-float { position: absolute; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 16px; box-shadow: 0 14px 30px -12px rgba(46,59,47,.3); animation: tpa-bob 6s ease-in-out infinite; }
.tpa-float strong { display: block; font-size: 14px; font-weight: 800; line-height: 1.3; }
.tpa-float small { display: block; font-size: 12px; line-height: 1.3; }
.tpa-float__icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.tpa-float--light { left: 0; bottom: 14%; background: var(--tpa-paper); border: 1px solid var(--tpa-line); color: var(--tpa-forest); }
.tpa-float--light small { color: var(--tpa-muted); }
.tpa-float--light .tpa-float__icon { background: var(--tpa-sage-100); color: var(--tpa-forest-2); }
.tpa-float--dark { right: 0; top: 14%; background: var(--tpa-forest); color: var(--tpa-ivory); animation-delay: -3s; }
.tpa-float--dark small { color: var(--tpa-on-dark); }
.tpa-float--dark .tpa-float__icon { color: var(--tpa-peach); width: auto; height: auto; }
@keyframes tpa-spin { to { transform: rotate(360deg); } }
@keyframes tpa-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .tpa-hero__ring, .tpa-float { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Selos ---------- */
.tpa-trust { list-style: none; margin: 0; padding: 28px 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--tpa-paper); border: 1px solid var(--tpa-line); border-radius: 24px; }
.tpa-trust > li { padding: 0 28px; border-right: 1px dotted var(--tpa-dot); }
.tpa-trust > li:last-child { border-right: 0; }
.tpa-trust > li, .tpa-trust > li > a { display: flex; gap: 16px; align-items: center; color: inherit; }
.tpa-trust strong { display: block; font-family: var(--tpa-serif); font-size: 22px; font-weight: 700; color: var(--tpa-forest); line-height: 1.2; }
.tpa-trust small { display: block; font-size: 14px; color: var(--tpa-muted); }
.tpa-trust__icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: var(--tpa-sage-100); color: var(--tpa-forest-2); display: flex; align-items: center; justify-content: center; }
.tpa-trust__icon--clay { background: var(--tpa-blush); color: var(--tpa-clay-ink); }

/* ---------- Estante de matérias ---------- */
.tpa-shelf__scroller { overflow-x: auto; scrollbar-width: none; }
.tpa-shelf__scroller::-webkit-scrollbar { display: none; }
.tpa-shelf__books { list-style: none; margin: 0; padding: 0 0 0; display: grid; grid-template-columns: repeat(var(--tpa-books, 6), minmax(0, 1fr)); gap: 20px; align-items: end; min-height: 440px; }
.tpa-book {
	position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; text-align: center;
	height: var(--tpa-book-h, 400px); padding: 44px 16px 84px 26px; border-radius: 6px 14px 14px 6px;
	background: var(--tpa-book-bg, var(--tpa-forest)); color: var(--tpa-ivory);
	box-shadow: inset 10px 0 0 rgba(0,0,0,.12), 0 18px 30px -18px rgba(46,59,47,.55);
	transition: transform .25s ease, box-shadow .25s ease;
}
.tpa-book::before, .tpa-book::after { content: ""; position: absolute; left: 22px; right: 12px; height: 1px; background: rgba(251,248,241,.45); }
.tpa-book::before { top: 22px; box-shadow: 0 6px 0 rgba(251,248,241,.45); }
.tpa-book::after { bottom: 70px; background: rgba(251,248,241,.3); }
.tpa-book:hover { color: var(--tpa-ivory); transform: translateY(-14px); box-shadow: inset 10px 0 0 rgba(0,0,0,.12), 0 30px 40px -20px rgba(46,59,47,.6); }
.tpa-book__num { font-family: var(--tpa-serif); font-style: italic; font-size: 17px; opacity: .85; }
.tpa-book__name { font-family: var(--tpa-caps); font-weight: 600; font-size: clamp(17px, 1.6vw, 23px); letter-spacing: .03em; line-height: 1.1; hyphens: manual; }
.tpa-book__desc { font-size: 14px; line-height: 1.45; opacity: .92; }
.tpa-book__cta { position: absolute; left: 26px; right: 16px; bottom: 18px; height: 40px; border-radius: 999px; background: var(--tpa-ivory); color: var(--tpa-forest); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 6px; }
.tpa-shelf__board { height: 14px; border-radius: 4px; background: #D9C7AE; box-shadow: 0 8px 18px -8px rgba(90,70,50,.45); }

/* ---------- Por idade ---------- */
.tpa-ages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.tpa-age { height: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: var(--tpa-paper); border-radius: 220px 220px 24px 24px; padding: 18px 18px 30px; box-shadow: var(--tpa-shadow); transition: transform .25s; }
.tpa-age:hover { transform: translateY(-6px); }
.tpa-age__window { position: relative; width: 100%; height: 260px; margin-bottom: 16px; border-radius: 200px 200px 14px 14px; background: var(--tpa-age-bg, var(--tpa-sage-100)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tpa-age__window::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; margin-left: -3px; background: var(--tpa-paper); }
.tpa-age__window::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: 10px; background: var(--tpa-paper); }
.tpa-age__badge { position: relative; z-index: 1; width: 132px; height: 132px; border-radius: 50%; background: var(--tpa-paper); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 10px 24px -10px rgba(46,59,47,.4); }
.tpa-age__badge strong { font-family: var(--tpa-serif); font-weight: 700; font-size: 44px; color: var(--tpa-forest); line-height: 1; font-variant-numeric: lining-nums; margin-bottom: 6px; }
.tpa-age__badge small { font-family: var(--tpa-caps); font-size: 12px; letter-spacing: .2em; color: var(--tpa-clay); font-weight: 600; }
.tpa-age__name { font-family: var(--tpa-serif); font-weight: 700; font-size: 32px; color: var(--tpa-forest); line-height: 1.1; }
.tpa-age__desc { padding: 0 16px; font-size: 15px; line-height: 1.55; color: var(--tpa-muted); }
.tpa-age__cta { margin-top: auto; padding-top: 10px; font-weight: 800; font-size: 14px; color: var(--tpa-clay); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Faixa verde ---------- */
.tpa-manifesto { display: grid; grid-template-columns: 1fr 1.15fr; border-radius: 32px; overflow: hidden; background: var(--tpa-forest); color: var(--tpa-ivory); min-height: 520px; }
.tpa-manifesto__art { position: relative; background: var(--tpa-forest-2); display: flex; align-items: center; justify-content: center; padding: 48px; }
.tpa-manifesto__ring { position: absolute; width: min(420px, 86%); aspect-ratio: 1; border-radius: 50%; border: 2px dotted rgba(233,201,168,.5); }
.tpa-manifesto__art img { position: relative; width: min(380px, 78%); aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.tpa-manifesto__copy { padding: 72px 80px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.tpa-manifesto__title { margin: 0; font-size: 50px; line-height: 1.05; color: var(--tpa-ivory); }
.tpa-manifesto__title em { color: var(--tpa-peach); }
.tpa-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tpa-pillars li { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(233,201,168,.4); padding-top: 18px; }
.tpa-pillars strong { font-family: var(--tpa-serif); font-weight: 700; font-size: 22px; line-height: 1.2; }
.tpa-pillars span { font-size: 14px; line-height: 1.55; color: var(--tpa-on-dark); }
.tpa-manifesto .tpa-btn { align-self: flex-start; }

/* ---------- Instagram ---------- */
.tpa-insta .tpa-heading--center { margin-bottom: 32px; }
.tpa-insta__follow { display: flex; width: max-content; margin: 0 auto; }
.tpa-insta__feed { border-radius: var(--tpa-radius); overflow: hidden; }

/* ---------- Lista de e-mail ---------- */
.tpa-newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 72px; border-radius: 28px; background: var(--tpa-blush); }
.tpa-newsletter__title { margin: 0 0 8px; font-size: 44px; line-height: 1.05; }
.tpa-newsletter p { margin: 0; font-size: 16px; color: #5B4A3E; }
.tpa-newsletter__form { display: flex; gap: 12px; }
.tpa-newsletter__form input[type="email"] { flex: 1; min-width: 0; height: 58px; border-radius: 999px; border: 1px solid #D6BFA9; background: var(--tpa-paper); padding: 0 24px; font-size: 16px; }
.tpa-newsletter > .tpa-btn { justify-self: end; }

/* ---------- Rodapé ---------- */
.tpa-footer { background: var(--tpa-forest); color: var(--tpa-on-dark); padding: 72px 0 32px; margin-top: 96px; font-size: 14px; }
.tpa-home .tpa-footer { margin-top: 0; }
.tpa-footer a { color: var(--tpa-on-dark); }
.tpa-footer a:hover { color: var(--tpa-peach); }
.tpa-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 40px; }
.tpa-footer__logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tpa-footer__logo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.tpa-footer__logo > span { display: flex; flex-direction: column; }
.tpa-footer__small { font-family: var(--tpa-caps); font-size: 12px; letter-spacing: .3em; color: var(--tpa-peach); font-weight: 600; }
.tpa-footer__big { font-family: var(--tpa-caps); font-size: 22px; color: var(--tpa-ivory); font-weight: 600; line-height: 1.1; }
.tpa-footer__brand p { max-width: 300px; line-height: 1.6; }
.tpa-social--footer { margin-top: 18px; }
.tpa-footer__title { font-family: var(--tpa-caps); font-size: 13px; letter-spacing: .2em; color: var(--tpa-peach); font-weight: 600; margin: 0 0 18px; text-transform: uppercase; }
.tpa-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tpa-footer__links a { overflow-wrap: anywhere; }
.tpa-footer__links a .tpa-icon { margin-right: 6px; vertical-align: -3px; }
.tpa-pay { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 8px; }
.tpa-pay li { padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(213,219,201,.35); font-size: 12px; font-weight: 700; }
.tpa-footer__bottom { margin-top: 48px; border-top: 1px dotted rgba(213,219,201,.35); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.tpa-footer__bottom p { margin: 0; }
.tpa-footer__love { font-family: var(--tpa-serif); font-style: italic; font-size: 16px; color: var(--tpa-peach); display: inline-flex; align-items: center; gap: 6px; }

.tpa-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); transition: transform .2s; }
.tpa-wa-float:hover { color: #fff; transform: scale(1.06); }

/* ---------- Páginas de texto ---------- */
.tpa-page__head { padding: 64px 0 40px; text-align: center; }
.tpa-page__head .tpa-ornament { margin-bottom: 14px; }
.tpa-page__title { margin: 0; font-size: clamp(40px, 5vw, 60px); }
.tpa-content { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--tpa-body); }
.tpa-page--wide .tpa-content { max-width: none; }
.tpa-content h2 { font-size: 36px; margin-top: 1.4em; }
.tpa-content h3 { font-size: 28px; margin-top: 1.2em; }
.tpa-content a { color: var(--tpa-clay); text-decoration: underline; text-underline-offset: 3px; }
.tpa-page--wide .tpa-content a, .tpa-content .wc-block-components-button { text-decoration: none; }
body.tpa-menu-open .tpa-wa-float { display: none; }
.tpa-content img { border-radius: 16px; }
.tpa-content__cover { width: 100%; margin-bottom: 32px; }
.tpa-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tpa-post-card a { display: block; background: var(--tpa-paper); border: 1px solid var(--tpa-line); border-radius: var(--tpa-radius); overflow: hidden; color: var(--tpa-body); height: 100%; }
.tpa-post-card__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.tpa-post-card__title { font-size: 26px; margin: 20px 22px 8px; }
.tpa-post-card p { margin: 0 22px 22px; font-size: 15px; }
.tpa-404 { text-align: center; padding: 80px 0; }
.tpa-404 img { border-radius: 50%; margin-bottom: 20px; }
.tpa-search--big { max-width: 480px; margin: 28px auto; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.nav-links .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--tpa-dot); font-weight: 700; }
.nav-links .page-numbers.current { background: var(--tpa-forest); border-color: var(--tpa-forest); color: var(--tpa-ivory); }

/* ==========================================================================
   Telas menores
   ========================================================================== */
@media (max-width: 1380px) {
	.tpa-menu { gap: 0 22px; }
	.tpa-menu > li > a { letter-spacing: .04em; font-size: 13px; }
}

@media (max-width: 1240px) {
	:root { --tpa-gutter: 40px; }
	.tpa-menu { gap: 0 16px; }
	.tpa-menu > li > a { font-size: 12px; letter-spacing: .03em; }
	.tpa-actions { gap: 18px; }
	.tpa-brand__big { font-size: 26px; }
	.tpa-hero__copy { padding-left: 0; }
	.tpa-trust > li { padding: 0 18px; }
	.tpa-manifesto__copy { padding: 56px; }
	.tpa-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tpa-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
	/* Cabeçalho vira: menu ☰ | logo | carrinho, e a busca desce */
	.tpa-header__inner { grid-template-columns: 48px 1fr 48px; grid-template-areas: "burger brand cart" "search search search"; min-height: 0; padding-top: 12px; padding-bottom: 14px; gap: 12px 8px; }
	.tpa-burger { grid-area: burger; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: transparent; color: var(--tpa-forest); cursor: pointer; border-radius: 12px; }
	.tpa-brand { grid-area: brand; justify-self: center; gap: 12px; }
	.tpa-brand__logo { width: 60px; height: 60px; }
	.tpa-brand__small { font-size: 11px; letter-spacing: .3em; }
	.tpa-brand__big { font-size: 20px; }
	.tpa-brand__tag { display: none; }
	.tpa-search { grid-area: search; max-width: none; }
	.tpa-actions { grid-area: cart; justify-self: end; }
	.tpa-actions__item--shop, .tpa-actions__item--files { display: none; }
	.tpa-actions__item--cart > span:last-child { display: none; }
	.tpa-actions__item--cart { width: 48px; height: 48px; justify-content: center; }

	/* Menu lateral */
	.tpa-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); background: var(--tpa-ivory); z-index: 100; transform: translateX(-102%); transition: transform .28s ease; overflow-y: auto; box-shadow: 20px 0 40px -20px rgba(0,0,0,.3); }
	.tpa-nav.is-open { transform: none; }
	.tpa-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 24px; background: var(--tpa-forest); color: var(--tpa-ivory); }
	.tpa-nav__title { font-family: var(--tpa-caps); letter-spacing: .2em; font-weight: 600; }
	.tpa-nav__close { width: 44px; height: 44px; border: 0; background: transparent; color: var(--tpa-ivory); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
	.tpa-nav__inner { border: 0; padding: 8px 0 32px; }
	.tpa-menu { flex-direction: column; flex-wrap: nowrap; gap: 0; }
	.tpa-menu > li { border-bottom: 1px dotted var(--tpa-dot); display: flex; flex-wrap: wrap; align-items: center; }
	.tpa-menu > li > a { flex: 1; min-height: 54px; padding: 0 24px; font-size: 14px; }
	.tpa-menu > .menu-item-has-children > a::after { display: none; }
	.tpa-subtoggle { display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--tpa-forest); cursor: pointer; }
	.tpa-subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.tpa-menu .sub-menu { position: static; width: 100%; min-width: 0; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; border-radius: 0; background: var(--tpa-linen); padding: 6px 12px 12px 24px; display: none; }
	.tpa-menu li.is-open > .sub-menu { display: block; }
	.tpa-menu li:hover > .sub-menu, .tpa-menu li:focus-within > .sub-menu { transform: none; }
	.tpa-menu .sub-menu a { padding: 10px 12px; }
	body.tpa-menu-open { overflow: hidden; }

	.tpa-hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 24px; padding-top: 12px; text-align: center; }
	.tpa-hero__art { order: -1; max-width: 420px; }
	.tpa-hero__copy { align-items: center; gap: 22px; }
	.tpa-hero__ctas, .tpa-chips { justify-content: center; }
	.tpa-eyebrow--line::before { display: none; }

	.tpa-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
	.tpa-trust > li:nth-child(2) { border-right: 0; }

	.tpa-shelf__books { grid-template-columns: repeat(var(--tpa-books, 6), 180px); min-height: 0; padding-bottom: 12px; }
	.tpa-shelf__scroller { margin: 0 calc(-1 * var(--tpa-gutter)); padding: 18px var(--tpa-gutter) 0; }

	.tpa-ages { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
	.tpa-manifesto { grid-template-columns: 1fr; }
	.tpa-manifesto__art { padding: 40px; }
	.tpa-newsletter { grid-template-columns: 1fr; padding: 40px; gap: 24px; }
	.tpa-newsletter > .tpa-btn { justify-self: start; }
	.tpa-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	:root { --tpa-gutter: 18px; }
	body { font-size: 15px; }
	.tpa-topbar__inner { justify-content: center; min-height: 36px; font-size: 12px; }
	.tpa-topbar__right { display: none; }
	.tpa-brand__logo { width: 54px; height: 54px; }
	.tpa-brand__big { font-size: 17px; }
	.tpa-brand__small { font-size: 10px; }

	.tpa-section { padding: 64px 0; }
	.tpa-section--tight-top { padding-top: 24px; }
	.tpa-title { font-size: 36px; gap: 10px; }
	.tpa-title__icon svg { width: 20px; height: 20px; }
	.tpa-insta .tpa-title { font-size: clamp(26px, 8.4vw, 40px); overflow-wrap: anywhere; }
	.tpa-home .woocommerce ul.products li.product:nth-child(n+5) { display: none; }
	.tpa-heading--center { margin-bottom: 32px; }
	.tpa-eyebrow { font-size: 11px; letter-spacing: .24em; }
	.tpa-section__head { margin-bottom: 24px; }

	.tpa-hero__art { max-width: 320px; }
	.tpa-float { display: none; }
	.tpa-hero__title { font-size: 46px; }
	.tpa-hero__text { font-size: 16px; }
	.tpa-hero__ctas { flex-direction: column; width: 100%; }
	.tpa-hero__ctas .tpa-btn { width: 100%; }

	.tpa-trust { padding: 20px 14px; gap: 18px 10px; border-radius: 20px; }
	.tpa-trust > li { padding: 0; border: 0; }
	.tpa-trust > li, .tpa-trust > li > a { gap: 10px; }
	.tpa-trust__icon { width: 40px; height: 40px; }
	.tpa-trust__icon svg { width: 19px; height: 19px; }
	.tpa-trust strong { font-family: var(--tpa-sans); font-size: 13px; font-weight: 800; }
	.tpa-trust small { font-size: 12px; }

	.tpa-shelf__books { grid-template-columns: repeat(var(--tpa-books, 6), 140px); gap: 12px; }
	.tpa-book { height: calc(var(--tpa-book-h, 400px) * .6); padding: 30px 10px 20px 20px; gap: 10px; }
	.tpa-book__name { font-size: 17px; letter-spacing: .03em; }
	.tpa-book__desc { font-size: 12px; }
	.tpa-book__num { font-size: 15px; }
	.tpa-book__cta, .tpa-book::after { display: none; }
	.tpa-shelf__board { height: 10px; }

	.tpa-age__window { height: 200px; }
	.tpa-age__badge { width: 108px; height: 108px; }
	.tpa-age__badge strong { font-size: 36px; }
	.tpa-age__name { font-size: 28px; }

	.tpa-manifesto { border-radius: 24px; margin: 0; }
	.tpa-manifesto__copy { padding: 36px 24px; }
	.tpa-manifesto__title { font-size: 36px; }
	.tpa-pillars { grid-template-columns: 1fr; gap: 16px; }

	.tpa-newsletter { padding: 32px 22px; border-radius: 24px; }
	.tpa-newsletter__title { font-size: 32px; }
	.tpa-newsletter__form { flex-direction: column; }
	.tpa-newsletter__form input[type="email"] { height: 52px; }
	.tpa-newsletter > .tpa-btn { width: 100%; }

	.tpa-footer { padding: 48px 0 28px; }
	.tpa-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
	.tpa-footer__col:last-child { grid-column: 1 / -1; }
	.tpa-footer__bottom { flex-direction: column; }
	.tpa-posts { grid-template-columns: 1fr; }
	.tpa-wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
