/* ===========================================================================
   Alma Mater — visual layer (config-as-code)
   Strategy: override Kadence's --global-palette1..9 + font vars so the WHOLE
   theme recolours/re-fonts at once. Roles are WCAG-checked (wiki/design-references.md):
   white/off-white bg · grey #4a4a4a body · terracota + olive as ACCENTS ·
   a deeper terracota (#b15a32, 4.8:1 on white) where it must read as text.
   (Colour roles confirmed by Rui 2026-06-24: keep white-led + accents.)
   =========================================================================== */

:root {
	/* === Opção 1 · Terracota Quente (Rui 2026-06-25) — warm cream base, terracota
	   LEADS, sage + cobre as real bands. Colour as BLOCKS, not faint accents.
	   Body text stays dark-on-light; cream text only on the deep terracota/olive blocks. */
	--am-terracota:       #c4673a;  /* punchy warm terracota — CTA blocks, scrims, decorative */
	--am-terracota-deep:  #b15a32;  /* readable on light: links + solid buttons (4.8:1) */
	--am-terracota-dark:  #8f4423;  /* hover / pressed */
	--am-amber:           #d1944d;  /* warm highlight — yarn-ball, small flourishes */
	--am-olive:           #7f9000;  /* olive — large UI / colour blocks */
	--am-olive-deep:      #5f6b07;  /* olive for eyebrows / small text on light (≈5:1) */
	--am-sage:            #cfd3b5;  /* section band — nav-strength, NOT a faint tint */
	--am-sage-soft:       #dce8d2;  /* lighter sage where a softer band is wanted */
	--am-sage-deep:       #9cae8a;  /* sage hairline / deep accent */
	--am-cobre:           #c4a882;  /* copper mid-tone */
	--am-cobre-tint:      #e8d9bf;  /* warm copper band */
	--am-ink:             #2e2a25;  /* warm near-black — headings */
	--am-body:            #4a4438;  /* warm body text on cream (≈8:1) */
	--am-muted:           #6f6657;  /* muted warm grey */
	--am-line:            #e3d6c2;  /* warm hairline on cream */
	--am-bg:              #f4ecde;  /* warm cream page base */
	--am-surface:         #fbf6ed;  /* lighter cream — cards / panels */
	--am-cream:           #f7eede;  /* text / elements on dark blocks */

	/* --- map onto Kadence's global palette (!important wins the cascade reliably) --- */
	--global-palette1: var(--am-terracota-deep) !important;
	--global-palette2: var(--am-terracota-dark) !important;
	--global-palette3: var(--am-ink) !important;
	--global-palette4: var(--am-body) !important;
	--global-palette5: var(--am-muted) !important;
	--global-palette6: #8a7d68 !important;
	--global-palette7: var(--am-line) !important;
	--global-palette8: var(--am-bg) !important;
	--global-palette9: #ffffff !important;
	--global-palette-highlight: var(--am-terracota-deep) !important;

	/* --- typography: Outfit throughout (Font A / Basti-style), self-hosted ---
	   NB this changes Samara's confirmed Roboto Serif + Lexend → relay to her. */
	--global-body-font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
	--global-heading-font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ---- base ----------------------------------------------------------------- */
body {
	font-family: var(--global-body-font-family);
	font-weight: 400;          /* NOT ExtraLight — readable on mobile (decision) */
	color: var(--am-body);
	background-color: var(--am-bg);
}
/* Unbox the main content card so the warm cream base shows through (Kadence
   ships content-style-boxed = a white card). Product LOOP cards stay white. */
.content-bg.single-entry { background: transparent; box-shadow: none; }

h1, h2, h3, h4, h5, h6,
.entry-title, .site-title {
	font-family: var(--global-heading-font-family);
	font-weight: 500;
	color: var(--am-ink);
	letter-spacing: -0.005em;
}

::selection { background: var(--am-terracota); color: #fff; }

/* ---- links (exclude button-links so they keep their white-on-terracota) ---- */
.entry-content a:not(.button):not(.wp-block-button__link):not(.am-tile):not(.am-cta-shop),
p a:not(.button):not(.wp-block-button__link):not(.am-tile) {
	color: var(--am-terracota-deep);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
	transition: color .15s ease;
}
.entry-content a:not(.button):not(.wp-block-button__link):not(.am-tile):not(.am-cta-shop):hover { color: var(--am-terracota-dark); }

/* ---- buttons (terracota bg, white text — consistent across core + Woo) ---- */
.wp-block-button__link,
.button, button.button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button, .woocommerce .button {
	background-color: var(--am-terracota-deep);
	border-color: var(--am-terracota-deep);
	color: #fff;
	font-weight: 500;
	letter-spacing: .02em;
	border-radius: 2px;
	transition: background-color .15s ease, border-color .15s ease;
}
.wp-block-button__link:hover,
.button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover {
	background-color: var(--am-terracota-dark);
	border-color: var(--am-terracota-dark);
	color: #fff;
}
.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--am-terracota-deep);
	border-color: currentColor;
}

/* ---- header: minimal, white, hairline under ------------------------------- */
.site-header-row-container-inner { background: #fff; }
#main-header { border-bottom: 1px solid var(--am-line); }
.site-branding img.custom-logo { max-height: 64px; width: auto; border-radius: 2px; }
.site-header .site-title { display: none; }

/* Front page: suppress Kadence's redundant "Início" title band — we lead with our own. */
.home .entry-hero.page-hero-section { display: none; }
/* …and drop Kadence's default 80px content-area top margin on the home (it left a big
   dead gap between the nav and the hero; inner pages already zero this). */
.home .content-area { margin-top: 0; }

/* ---- shared section + eyebrow (used across pages) ------------------------- */
.am-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* Side gutter for the full-bleed sections.
   These are `.alignfull` groups that break OUT of the content-container's edge
   padding so colour-band backgrounds reach the screen edge — Kadence does this by
   forcing `.entry-content .alignfull { padding-inline: 0 }`. The side effect: on a
   narrow viewport the inner constrained content (which only *centres*, with a
   max-width that exceeds the screen) had nothing holding it off the edges, so all
   the text touched the screen sides on mobile/tablet. Re-add the site's own edge
   padding INSIDE the band (backgrounds still bleed full-width — padding sits inside
   the bg box; content now lines up with the rest of the site). Needs to out-specify
   + out-order Kadence's reset, hence the `.entry-content` scope. Scoped to its own
   rule (not merged into `.am-section`) so the per-section `padding-block` overrides
   below — `.am-portal-hero`, `.am-close`, `.am-ws-intro`… — keep winning.
   `.am-visual-band` opts back out via its `padding:0 !important`. */
.entry-content .am-section,
.entry-content .am-typehero { padding-inline: var(--global-content-edge-padding, 1.5rem); }
.am-eyebrow {
	font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
	font-size: .78rem; color: var(--am-olive-deep); margin-bottom: .6rem; text-align: left;
}

/* ---- colour BANDS (the richness lives here — alternate cream/sage/cobre,
   terracota + olive as full blocks). Use as section backgrounds. ------------- */
.am-section--tint,
.am-band-sage   { background: var(--am-sage); }
.am-band-sage-soft { background: var(--am-sage-soft); }
.am-band-cobre  { background: var(--am-cobre-tint); }
.am-band-cobre .am-eyebrow { color: #8a6a2e; }
.am-band-terra  { background: var(--am-terracota); }
.am-band-olive  { background: var(--am-olive); }
/* text on the dark blocks → cream, with light eyebrows/links */
.am-band-terra, .am-band-terra :where(h1,h2,h3,h4,p,li,strong),
.am-band-olive, .am-band-olive :where(h1,h2,h3,h4,p,li,strong) { color: var(--am-cream); }
.am-band-terra .am-eyebrow { color: #f3d8bf; }
.am-band-olive .am-eyebrow { color: #e9efcf; }
.am-band-terra a:not(.button):not(.wp-block-button__link),
.am-band-olive a:not(.button):not(.wp-block-button__link) { color: #fff; }
/* eyebrow needs more contrast on the sage band */
.am-band-sage .am-eyebrow { color: #4a5407; }

/* homepage "três palavras" band */
.am-words-band { text-align: center; padding-block: clamp(1.7rem, 4vw, 2.6rem); }
.am-words { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.am-words span { font-weight: 500; font-size: clamp(1.05rem, 2.1vw, 1.3rem); color: var(--am-ink); letter-spacing: .01em; }
.am-words span + span::before { content: "·"; color: var(--am-terracota-deep); margin: 0 .9em; font-weight: 400; }

/* category-column helper (Contacto, etc.) */
.am-cats .wp-block-column { text-align: center; }
/* hand-drawn line icon above each column heading — terracota via CSS mask, set
   per-column with an inline --ic url (same mechanism as .am-vrow__icon). */
.am-cats .am-cat-icon {
	display: inline-block; width: 44px; height: 44px;
	background-color: var(--am-terracota-deep);
	-webkit-mask: var(--ic) no-repeat center / contain;
	        mask: var(--ic) no-repeat center / contain;
}
.am-cats h3 { margin-top: .55rem; font-size: 1.15rem; }
.am-cats h3 a { color: var(--am-terracota-deep); text-decoration: none; }
.am-cats h3 a:hover { color: var(--am-terracota-dark); text-decoration: underline; text-underline-offset: .18em; }
.am-cats .am-cat-sub { color: var(--am-muted); font-size: .92rem; margin-top: .15rem; }

/* ===========================================================================
   PORTAL HOMEPAGE — Samara's sketch: a hand-lettered title + a grid of entry
   tiles. White-led palette, terracota/olive accents. Type-led hero (minimal
   photo); the tiles carry the imagery and route everywhere (incl. the shop).
   =========================================================================== */

/* shared uppercase text-link with arrow nudge */
.am-textlink { margin: 0; }
.am-textlink a {
	display: inline-block; color: var(--am-terracota-deep); text-decoration: none;
	font-family: var(--global-body-font-family); font-weight: 500;
	letter-spacing: .12em; text-transform: uppercase; font-size: .76rem;
	border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .15s ease;
}
.am-textlink a:hover { color: var(--am-terracota-dark); }
.am-arrow { display: inline-block; transition: transform .25s ease; }
.am-textlink a:hover .am-arrow { transform: translateX(4px); }

/* hero — hand-lettered, type-led, centered, on warm off-white + a faint woven
   diamond-lattice texture (masked to fade at the edges) so the cream isn't flat. */
.am-portal-hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding-block: clamp(1.5rem, 3.5vw, 3rem) clamp(1.75rem, 4vw, 3rem); }
.am-portal-hero::before {
	content: ""; position: absolute; inset: -8% 0 0; z-index: -1;
	background: url('../icons/weave-lattice.svg') center top / 46px 46px repeat;
	opacity: .12;
	-webkit-mask: radial-gradient(72% 70% at 50% 42%, #000 8%, rgba(0,0,0,.5) 52%, transparent 78%);
	        mask: radial-gradient(72% 70% at 50% 42%, #000 8%, rgba(0,0,0,.5) 52%, transparent 78%);
	pointer-events: none;
}
/* eyebrow framed by short terracota hairlines */
.am-portal-hero .am-eyebrow { display: inline-flex; align-items: center; gap: clamp(.7rem, 2vw, 1.1rem); text-align: center; }
.am-portal-hero .am-eyebrow::before,
.am-portal-hero .am-eyebrow::after { content: ""; width: clamp(20px, 4vw, 38px); height: 1px; background: var(--am-terracota); opacity: .5; }
/* framed inner block (slim terracota top/bottom rules) + the in-hero shop CTA */
.am-portal-hero__inner {
	position: relative; max-width: 600px; margin-inline: auto;
	padding-block: clamp(2.3rem, 5vw, 3.3rem);
	border-top: 1px solid rgba(177, 90, 50, .4);
	border-bottom: 1px solid rgba(177, 90, 50, .4);
}
.am-hero-cta-wrap { margin-top: clamp(1.3rem, 3vw, 1.85rem); }
.am-hero-cta { font-size: .82rem; padding: .92em 2.3em; }

/* Content CTA buttons (wp:button on the pages) share the hero "Ver a loja" pill
   look: rounded, uppercase, letter-spaced, a sliding arrow, gentle lift. */
.wp-block-button__link {
	border-radius: 999px;
	padding: .92em 2.2em;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-size: .82rem;
	box-shadow: 0 14px 30px -16px rgba(177, 90, 50, .6);
	transition: background-color .15s ease, border-color .15s ease, transform .2s ease, box-shadow .2s ease;
}
.wp-block-button__link::after { content: "\2192"; display: inline-block; margin-left: .55em; transition: transform .25s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button__link:hover::after { transform: translateX(4px); }
.am-band-terra .wp-block-button__link, .am-band-olive .wp-block-button__link { box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .35); }

/* O Estúdio — intro with an integrated photo (Opção A) */
.am-introphoto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.am-introphoto .am-eyebrow { margin-bottom: .5rem; text-align: left; }
.am-introphoto h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--am-ink); font-weight: 600; letter-spacing: -.01em; margin: .2rem 0 .85rem; }
.am-introphoto p { font-size: 1.06rem; line-height: 1.72; color: var(--am-body); margin: 0; }
.am-introphoto p + p { margin-top: 1em; }
.am-introphoto__media { margin: 0; }
.am-introphoto__media img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; border-radius: 4px; display: block; }
@media (max-width: 781px) { .am-introphoto { grid-template-columns: 1fr; gap: 1.4rem; } .am-introphoto__media { order: -1; } }

/* O Estúdio — full manifesto: punchy opener (am-manifesto) + readable body */
.am-manifesto__body { max-width: 60ch; margin: clamp(1.2rem, 3vw, 1.8rem) auto 0; }
.am-manifesto .am-manifesto__body p { font-size: 1.1rem; font-weight: 400; line-height: 1.75; color: var(--am-body); margin: 0 auto; max-width: none; }
.am-manifesto .am-manifesto__body p + p { margin-top: 1em; }

/* Workshops — intro text (left) + peek/swipe carousel (right). One cohesive
   .am-ws-intro section, padding trimmed so it doesn't read as a dead gap. */
.am-section.am-ws-intro { padding-block: clamp(2.2rem, 5vw, 3.4rem) clamp(2.2rem, 5vw, 3.2rem); }
.am-ws-row { display: grid; grid-template-columns: 40% 1fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.am-ws-text .am-eyebrow { text-align: left; margin-bottom: .5rem; }
.am-ws-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--am-ink); font-weight: 600; letter-spacing: -.01em; margin: .2rem 0 .85rem; }
.am-ws-lead { font-size: 1.06rem; line-height: 1.72; margin: 0; color: var(--am-body); }
.am-ws-cap { margin-top: clamp(1rem, 2.5vw, 1.4rem); color: var(--am-muted); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }

.am-ws-carousel { min-width: 0; }
.am-ws-track {
	/* position:relative makes this the offsetParent of the slides, so the carousel
	   JS reads each slide's offsetLeft relative to the scroll content (not a far
	   page ancestor) — without it the dot clicks + active-dot tracking mis-scroll. */
	position: relative;
	display: flex; gap: clamp(.6rem, 1.4vw, .9rem); margin: 0; padding-bottom: 2px;
	overflow-x: auto; scroll-snap-type: x mandatory; cursor: grab;
	scrollbar-width: none; -ms-overflow-style: none; touch-action: pan-x;
}
.am-ws-track::-webkit-scrollbar { display: none; }
.am-ws-track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.am-ws-track:focus-visible { outline: 2px solid var(--am-terracota-deep); outline-offset: 3px; border-radius: 6px; }
.am-ws-track img {
	flex: 0 0 80%; width: 80%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 5px;
	scroll-snap-align: center; user-select: none; -webkit-user-drag: none;
}
.am-ws-dots { display: flex; gap: 8px; justify-content: center; margin-top: clamp(.8rem, 2vw, 1.1rem); }
.am-ws-dots button {
	width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
	background: var(--am-sage-deep); opacity: .55; cursor: pointer;
	transition: opacity .15s ease, width .2s ease, background-color .15s ease;
}
.am-ws-dots button[aria-current="true"] { opacity: 1; width: 22px; border-radius: 4px; background: var(--am-terracota-deep); }
@media (max-width: 781px) {
	.am-ws-row { grid-template-columns: 1fr; gap: clamp(1.3rem, 5vw, 1.9rem); }
	.am-ws-track img { flex-basis: 82%; width: 82%; }
}

/* Contacto — Cercal map embed */
.am-map { max-width: 940px; margin: 0 auto; border-radius: 6px; overflow: hidden; border: 1px solid var(--am-line); box-shadow: 0 16px 40px -24px rgba(46, 42, 37, .5); aspect-ratio: 16 / 7; }
.am-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.92); }
@media (max-width: 600px) { .am-map { aspect-ratio: 4 / 3; } }
.am-script {
	font-family: 'Caveat', 'Segoe Script', cursive; font-weight: 700;
	color: var(--am-ink); line-height: .92; margin: .12em 0 .3em;
	font-size: clamp(3.4rem, 12vw, 7.5rem); letter-spacing: 0;
}
.am-script .am-accent { color: var(--am-terracota-deep); font-weight: inherit; }
.am-portal-hero__sub {
	max-width: 48ch; margin: .4rem auto 0; color: var(--am-body);
	line-height: 1.7; font-size: clamp(1rem, 1.8vw, 1.12rem);
}

/* hero centerpiece = the real "alma mater" hand-lettering (isolated from the logo) */
.am-logomark { margin: .1em auto .45em; animation-delay: .16s; }
.am-logomark img { width: clamp(250px, 44vw, 460px); height: auto; display: block; margin: 0 auto; }
.am-visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* the tile portal */
.am-portal-section { padding-block: 0 clamp(2.5rem, 6vw, 4.5rem); }
.am-portal {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: clamp(.7rem, 1.5vw, 1.25rem);
	max-width: 1180px; margin-inline: auto;
}
/* 4-section portal = a full-width 2×2 (Rui: keep the 4 sections but span the full
   width like the old portal, not the narrow centred grid). Matches the old 1180px width. */
.am-portal--4 { grid-template-columns: repeat(2, 1fr); max-width: 1180px; gap: clamp(.7rem, 1.5vw, 1.1rem); }
.am-portal--4 .am-tile { aspect-ratio: 16 / 11; }
.am-portal--4 .am-tile__label .t { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.am-tile {
	position: relative; display: block; overflow: hidden; border-radius: 3px;
	aspect-ratio: 1 / 1; text-decoration: none;
}
.am-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.am-tile::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(40,34,28,0) 40%, rgba(40,34,28,.6) 100%);
	transition: background .3s ease;
}
.am-tile:hover img { transform: scale(1.05); }
.am-tile:hover::after { background: linear-gradient(180deg, rgba(40,34,28,.12) 18%, rgba(40,34,28,.66) 100%); }
.am-tile__label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(.85rem, 1.6vw, 1.2rem); color: #fff; }
.am-tile__label .t {
	display: block; font-family: var(--global-heading-font-family); font-weight: 500;
	font-size: clamp(1.05rem, 1.9vw, 1.35rem); line-height: 1.1; text-shadow: 0 1px 16px rgba(0,0,0,.32);
}
.am-tile__label .s {
	display: block; margin-top: .25rem; font-family: var(--global-body-font-family);
	font-weight: 300; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .92;
}

/* close band — coherent finale: hairline rule + brand sign-off + the tagline in
   the SAME light-weight Outfit as the section heads (was a heavier, orphaned h2). */
.am-close { text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem); }
.am-close__eyebrow { text-align: center; color: var(--am-terracota-deep); margin-bottom: 1rem; }
.am-close .am-yarn-divider { margin-top: clamp(1.6rem, 4vw, 2.4rem); }

/* ---- yarn-ball divider (the logo's ball of yarn as an ornamental rule) -------
   Use AT MOST once per page, on light/cream sections. */
.am-yarn-divider { display: flex; align-items: center; justify-content: center; gap: clamp(.9rem, 3vw, 1.6rem); padding-block: clamp(1.4rem, 4vw, 2.4rem); }
.am-yarn-divider::before, .am-yarn-divider::after { content: ""; height: 1px; flex: 0 1 clamp(40px, 12vw, 120px); background: var(--am-sage-deep); opacity: .6; }
.am-yarn-divider .am-yarn, .am-yarn-divider img { width: 38px; height: auto; display: block; flex: 0 0 auto; }
.am-close__line {
	font-family: var(--global-heading-font-family); font-weight: 300;
	font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.18; letter-spacing: -.01em;
	color: var(--am-ink); max-width: 22ch; margin: 0 auto;
}
.am-close__line .am-accent { color: var(--am-terracota-deep); font-weight: inherit; }

/* ===========================================================================
   EDITORIAL INNER PAGES — photo hero + 2-col intro + manifesto + numbered
   value cards + full-bleed image bands. (Rui §4, Direção A, 2026-06-25.)
   =========================================================================== */

/* Replace Kadence's flat page-title band on the inner pages with our cover hero. */
.page-id-11 .entry-hero.page-hero-section,
.page-id-12 .entry-hero.page-hero-section,
.page-id-13 .entry-hero.page-hero-section,
.page-id-14 .entry-hero.page-hero-section { display: none; }
.page-id-11 .content-area, .page-id-12 .content-area,
.page-id-13 .content-area, .page-id-14 .content-area { margin-top: 0; }
.page-id-11 .entry-content-wrap, .page-id-12 .entry-content-wrap,
.page-id-13 .entry-content-wrap, .page-id-14 .entry-content-wrap { padding-top: 0; }

/* photo hero with title over a scrim */
.am-pagehero {
	position: relative; min-height: clamp(260px, 38vw, 390px);
	display: flex; align-items: flex-end;
	background-size: cover; background-position: center; overflow: hidden;
}
.am-pagehero::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(46,42,37,.12) 0%, rgba(46,42,37,.66) 100%);
}
.am-pagehero__inner {
	position: relative; z-index: 2; width: 100%; max-width: 1080px;
	margin-inline: auto; padding: 0 clamp(1.2rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.3rem);
}
.am-pagehero .am-eyebrow { color: #f0d9bf; text-align: left; }
.am-pagehero__title {
	color: #fff; font-weight: 600; letter-spacing: -.01em; line-height: 1.04;
	font-size: clamp(2.2rem, 6vw, 3.4rem); margin: .2rem 0 0;
}
.am-pagehero__sub { color: #f1e7d9; font-size: clamp(1rem, 1.8vw, 1.15rem); margin: .5rem 0 0; max-width: 48ch; }
.am-pagehero--short { min-height: clamp(200px, 28vw, 290px); }

/* 2-column intro (small heading | mission text) */
.am-intro { gap: clamp(1.4rem, 4vw, 3rem) !important; align-items: flex-start; }
.am-intro h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); color: var(--am-ink); font-weight: 600; letter-spacing: -.01em; margin: 0; }
.am-intro p { font-size: 1.08rem; line-height: 1.75; margin: 0; }
.am-intro p + p { margin-top: 1em; }
.am-intro .am-eyebrow + h2 { margin-top: .5rem; }

/* manifesto pull-quote beat */
.am-manifesto { text-align: center; }
.am-manifesto p {
	font-weight: 300; font-size: clamp(1.5rem, 3.6vw, 2.2rem); line-height: 1.4;
	color: var(--am-ink); max-width: 24ch; margin-inline: auto; letter-spacing: -.01em;
}
.am-manifesto .am-accent { color: var(--am-terracota-deep); }

/* bio media-text */
.am-bio .wp-block-media-text__media img { border-radius: 3px; }
.am-bio h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); color: var(--am-ink); font-weight: 600; margin: .35rem 0 .7rem; }
.am-bio p { line-height: 1.7; }

/* numbered value cards */
.am-vgrid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: clamp(.7rem, 1.5vw, 1.1rem); max-width: 1000px; margin: 0 auto;
}
.am-vcard { background: var(--am-surface); border: 1px solid #cfd0b6; border-radius: 4px; padding: 1.15rem 1.3rem; }
.am-vcard .n { font-weight: 600; color: var(--am-olive-deep); font-size: .82rem; letter-spacing: .08em; }
.am-vcard b { display: block; color: var(--am-ink); font-size: 1.05rem; margin: .35rem 0 .3rem; }
.am-vcard p { font-size: .92rem; line-height: 1.5; color: #5b554a; margin: 0; }

/* full-bleed image band (Território etc.) — centered cream text on a scrim */
.am-imgband {
	position: relative; min-height: clamp(280px, 40vw, 420px);
	display: flex; align-items: center; justify-content: center; text-align: center;
	background-size: cover; background-position: center; overflow: hidden;
}
.am-imgband::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(46,42,37,.5), rgba(46,42,37,.72));
}
.am-imgband__inner { position: relative; z-index: 2; max-width: 64ch; margin-inline: auto; padding: clamp(2.5rem,6vw,3.5rem) clamp(1.3rem,4vw,2rem); }
.am-imgband .am-eyebrow { color: #f0d9bf; text-align: center; }
.am-imgband h2 { color: #fff; font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.2rem); margin: .3rem 0 .6rem; }
.am-imgband p { color: #efe6d8; font-size: 1.02rem; line-height: 1.65; margin: 0; }
.am-imgband .am-tag { margin-top: .9rem; color: #f0d9bf; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }

/* ---------------------------------------------------------------------------
   Direção 1 · Tipográfica (Rui 2026-06-25) — type heroes + colour-block
   statements + a woven-texture accent (NOT scene photos). Photo-light.
   --------------------------------------------------------------------------- */
.am-typehero { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(.5rem, 2vw, 1.25rem); }
.am-typehero .am-eyebrow { text-align: left; }
.am-typehero__title { font-weight: 600; font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--am-ink); letter-spacing: -.015em; line-height: 1.05; margin: .1rem 0 0; }
.am-typehero__sub { max-width: 52ch; font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.7; color: var(--am-muted); margin-top: .9rem; }
.am-typehero--center { text-align: center; }
.am-typehero--center .am-eyebrow { text-align: center; }
.am-typehero--center .am-typehero__sub { margin-inline: auto; }

/* numbered list (valores / formações / serviços) */
.am-vlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 4vw, 3rem); max-width: 920px; margin: 1.3rem auto 0; }
.am-vrow { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--am-line); }
.am-vrow .n { color: var(--am-terracota-deep); font-weight: 600; font-size: .9rem; min-width: 26px; }
/* Hand-drawn craft icons (Workshops "As formações") — terracota via CSS mask, set
   per-row with an inline --ic url. Scoped to .am-vlist--icons so the O Estúdio
   valores list keeps its numbers. */
.am-vlist--icons .am-vrow__icon {
	display: block; flex: 0 0 auto; width: 30px; height: 30px; margin: 0;
	background-color: var(--am-terracota-deep);
	-webkit-mask: var(--ic) no-repeat center / contain;
	        mask: var(--ic) no-repeat center / contain;
}
.am-vrow b { color: var(--am-ink); font-weight: 600; font-size: 1.02rem; }
.am-vrow span { display: block; color: var(--am-muted); font-size: .92rem; line-height: 1.5; margin-top: .15rem; }
.am-band-sage .am-vrow { border-color: #b9c79f; }
.am-band-sage .am-vrow span { color: #4f5340; }

/* centered statement inside a colour band */
.am-statement { text-align: center; max-width: 62ch; margin-inline: auto; }
.am-statement .am-eyebrow { text-align: center; }
.am-statement h2 { font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.2rem); margin: .3rem 0 .7rem; }
.am-statement p { line-height: 1.65; }
.am-statement .am-tag { display: block; margin-top: .9rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.am-band-terra .am-statement .am-tag, .am-band-olive .am-statement .am-tag { color: #f0d9bf; }
.am-band-cobre .am-statement .am-tag, .am-band-sage .am-statement .am-tag { color: var(--am-terracota-deep); }

/* breathing room above a CTA button that follows a statement inside a colour band */
.am-band-terra .wp-block-buttons,
.am-band-cobre .wp-block-buttons,
.am-band-olive .wp-block-buttons,
.am-band-sage .wp-block-buttons { margin-top: clamp(1.6rem, 3.5vw, 2.4rem); }

/* buttons on the dark colour bands → cream button (terracota-on-terracota would vanish) */
.am-band-terra .wp-block-button__link, .am-band-olive .wp-block-button__link {
	background: var(--am-cream); color: var(--am-terracota-deep); border-color: var(--am-cream);
}
.am-band-terra .wp-block-button__link:hover, .am-band-olive .wp-block-button__link:hover {
	background: #fff; color: var(--am-terracota-dark); border-color: #fff;
}

@media (max-width: 900px) { .am-vgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .am-vlist { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .am-vgrid { grid-template-columns: 1fr; } }

/* gentle CSS-only load entrance */
@keyframes am-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.am-portal-hero__inner > * { opacity: 0; animation: am-fade-up .7s ease forwards; }
.am-portal-hero__inner .am-eyebrow { animation-delay: .05s; }
.am-portal-hero__inner .am-portal-hero__sub { animation-delay: .3s; }
.am-portal-hero__inner .am-hero-cta-wrap { animation-delay: .42s; }
.am-tile { opacity: 0; animation: am-fade-up .6s ease forwards; }
.am-tile:nth-child(1) { animation-delay: .30s; }
.am-tile:nth-child(2) { animation-delay: .38s; }
.am-tile:nth-child(3) { animation-delay: .46s; }
.am-tile:nth-child(4) { animation-delay: .54s; }
.am-tile:nth-child(5) { animation-delay: .62s; }
.am-tile:nth-child(6) { animation-delay: .70s; }
@media (prefers-reduced-motion: reduce) {
	.am-portal-hero__inner > *, .am-tile { opacity: 1; animation: none; }
	.am-tile img { transition: none; }
}

/* mobile */
@media (max-width: 781px) {
	.am-portal { grid-template-columns: 1fr 1fr; gap: .6rem; }
	.am-portal--4 { gap: .6rem; }
	.am-portal--4 .am-tile { aspect-ratio: 1 / 1; }
	.am-portal--4 .am-tile__label .t { font-size: 1.15rem; }
}

/* ===========================================================================
   WooCommerce — shop + single product
   =========================================================================== */

/* Loja §3 — collapse the DOUBLE cream banner: hide Kadence's big product-archive
   title hero on the shop + category archives; the slim catalogue notice is the
   only header now. (Real class confirmed via DOM: .product-archive-hero-section.) */
.entry-hero.product-archive-hero-section { display: none; }
.woocommerce-shop .content-container,
.tax-product_cat .content-container { padding-top: clamp(1.25rem, 3vw, 2rem); }

/* Product-category intro (the rich category copy, above the grid). */
.am-cat-intro { max-width: 760px; margin: 0 auto clamp(1.6rem, 3.5vw, 2.4rem); color: var(--am-body); font-size: 1.05rem; line-height: 1.7; text-align: center; }
.am-cat-intro p { margin: 0 0 .8em; }
.am-cat-intro p:last-child { margin-bottom: 0; }

/* Catalogue notice → slim warm header bar (terracota rule, copper tint). */
.woocommerce .woocommerce-info,
.woocommerce-page .woocommerce-info {
	background: var(--am-cobre-tint); color: var(--am-ink);
	border-top: 0; border-left: 3px solid var(--am-terracota);
	border-radius: 2px; font-size: .92rem; padding: .9em 1.4em;
}
.woocommerce .woocommerce-info::before,
.woocommerce-page .woocommerce-info::before { color: var(--am-terracota); }
.woocommerce .woocommerce-info a { color: var(--am-terracota-deep); }
/* The catalogue notice is hooked into <main> ABOVE the padded .content-container,
   so its bar ran the full viewport width (touching the edges on mobile) and didn't
   line up with the product grid. Constrain it to the same content box + edge gutter
   so the bar aligns with the grid at every width. */
.post-type-archive-product .woocommerce-info,
.tax-product_cat .woocommerce-info {
	box-sizing: border-box;
	max-width: calc(var(--global-content-width, 1290px) - 2 * var(--global-content-edge-padding, 1.5rem));
	margin-inline: auto;
}
@media (max-width: 1290px) {
	.post-type-archive-product .woocommerce-info,
	.tax-product_cat .woocommerce-info { margin-inline: var(--global-content-edge-padding, 1.5rem); }
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price { color: var(--am-ink); font-weight: 500; }
.woocommerce span.onsale { background: var(--am-olive); }

.woocommerce div.product .product_title { margin-bottom: .5rem; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--am-ink); font-size: 1.55rem; font-weight: 500; }
.woocommerce div.product .woocommerce-product-details__short-description {
	color: var(--am-muted); font-size: 1.06rem; line-height: 1.6; margin-top: .4rem;
}

/* "Peça única" badge */
.am-unique-badge {
	display: inline-block; margin: 0 0 .7rem;
	padding: .3em .85em;
	font-family: var(--global-body-font-family); font-weight: 500;
	font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
	color: var(--am-terracota-dark); background: var(--am-sage); border-radius: 2px;
}
.woocommerce ul.products li.product .am-unique-badge { font-size: .6rem; margin: .45rem 0 0; }

/* Enquire CTA (catalogue mode, where add-to-cart would be) */
.am-enquire { margin: 1.5rem 0 .5rem; }
.am-enquire__note { margin-top: .8rem; color: var(--am-muted); font-size: .92rem; line-height: 1.55; }
.am-enquire__note a { color: var(--am-terracota-deep); }

/* Add-to-cart — only rendered once catalogue mode is OFF (selling enabled). Brand pill
   so the cart is on-brand the moment it's switched on. Harmless while catalogue mode
   is on (no add-to-cart buttons are printed). */
.woocommerce ul.products li.product a.button.add_to_cart_button,
.woocommerce div.product form.cart .button {
	background: var(--am-terracota-deep); color: #fff;
	border-radius: 999px; font-weight: 500; letter-spacing: .04em;
}
.woocommerce ul.products li.product a.button.add_to_cart_button:hover,
.woocommerce div.product form.cart .button:hover { background: var(--am-terracota-dark); color: #fff; }
.woocommerce a.added_to_cart { color: var(--am-terracota-deep); text-decoration: underline; }

/* WooCommerce Blocks filled buttons (Cart "Finalizar compras" + Checkout "Finalizar
   encomenda"): the theme coloured the label the SAME terracota as the fill, making the
   text invisible. Force white text on the terracota fill. */
.wc-block-components-button.contained,
.wc-block-components-button.contained .wc-block-components-button__text {
	color: #fff;
}
.wc-block-components-button.contained { background-color: var(--am-terracota-deep); }
.wc-block-components-button.contained:hover { background-color: var(--am-terracota-dark); }

/* Cart page header ornament — the hand-drawn shopping bag sits IN the tan title band,
   above "Carrinho"; the yarn-ball divider sits just below in the lighter content area.
   (Scoped to the cart page via the WooCommerce body class.) */
.woocommerce-cart .content-area { margin-top: clamp(1.25rem, 3vw, 2rem); } /* tighten Kadence's 80px */
.woocommerce-cart .entry-hero-container-inner .entry-title::before {
	content: ""; display: block; width: 42px; height: 42px; margin: 0 auto .55rem;
	background: var(--am-terracota-deep);
	-webkit-mask: url('../icons/cart-bag.svg') no-repeat center / contain;
	        mask: url('../icons/cart-bag.svg') no-repeat center / contain;
}
.woocommerce-cart .am-yarn-divider { margin-block: clamp(1.8rem, 4.5vw, 3rem); } /* closing ornament, after the cart */
/* Drop WooCommerce's default dark "sad-face" empty-cart glyph — our ornament is the visual now. */
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before { content: none; }

/* Product meta (Nº de Referência / categoria) */
.woocommerce div.product .product_meta {
	font-size: .85rem; color: var(--am-muted);
	border-top: 1px solid var(--am-line); margin-top: 1.6rem; padding-top: 1.1rem;
}
.woocommerce div.product .product_meta a { color: var(--am-terracota-deep); }

/* Gallery */
.woocommerce div.product div.images img { border-radius: 3px; }
.woocommerce div.product .flex-control-thumbs { margin-top: .6rem; gap: .5rem; display: flex; }
.woocommerce div.product .flex-control-thumbs li { margin: 0; width: 78px; }
.woocommerce div.product .flex-control-thumbs li img { border-radius: 2px; opacity: .6; transition: opacity .15s ease; }
.woocommerce div.product .flex-control-thumbs li img.flex-active,
.woocommerce div.product .flex-control-thumbs li img:hover { opacity: 1; }

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom: 2px solid var(--am-terracota-deep); }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-size: 1.4rem; }

/* "Também poderá gostar" */
.woocommerce .related > h2, .woocommerce .upsells > h2 {
	font-size: 1.5rem; text-align: center; margin-bottom: 1.6rem;
}
/* Set the "Também poderá gostar" zone on a warm cream ground so the WHITE product
   cards read against it — keeps the cards identical to the rest of the site
   (instead of restyling the cards themselves). */
.woocommerce .related, .woocommerce .upsells {
	background: var(--am-bg);
	margin-top: clamp(2.5rem, 5vw, 3.5rem) !important;
	padding: clamp(2rem, 4vw, 3rem) clamp(1.4rem, 4vw, 2.5rem);
	border-radius: 6px;
}

/* Make the hover-lift of the title/price block legible: a hairline separates it
   from the image, and on hover it takes a faint cream tint + a soft top shadow so
   the raised part reads against the otherwise-white card. */
.woocommerce ul.products li.product .product-details {
	border-top: 1px solid var(--am-line);
	transition: background-color .2s ease, box-shadow .25s ease, transform .3s ease;
}
.woocommerce ul.products li.product:hover .product-details,
.woocommerce ul.products li.product:focus-within .product-details {
	background: var(--am-surface);
	box-shadow: 0 -10px 20px -12px rgba(46, 42, 37, .22);
}

/* ---- footer: warm, structured -------------------------------------------- */
.site-footer { border-top: 2px solid var(--am-terracota-deep); }
.site-footer-row-container-inner { background: var(--am-ink); }
.site-footer .site-footer-row-container-inner { padding-block: clamp(2.2rem, 4vw, 3rem); }
.site-footer * { color: #e8e1d6; }
.am-footer__brand {
	display: block; font-family: var(--global-heading-font-family);
	font-weight: 600; font-size: 1.4rem; letter-spacing: .04em; color: #faf8f4;
}
.am-footer__tag {
	display: block; margin-top: .35rem;
	font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: #b4ab9d;
}
.am-footer__links { display: block; margin-top: 1.1rem; }
.am-footer__links a {
	color: #e8e1d6; margin: 0 .55rem; font-size: .8rem; letter-spacing: .08em;
	text-transform: uppercase; text-decoration: none;
	border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color .15s, border-color .15s;
}
.am-footer__links a:hover { color: #fff; border-bottom-color: var(--am-terracota); }
.am-footer__legal { display: block; margin-top: 1.3rem; font-size: .72rem; letter-spacing: .04em; color: #9b9388; }

/* footer social icons (Instagram + WhatsApp as icons, no text) */
.am-footer__links { display: flex; justify-content: center; align-items: center; gap: 1.5rem; }
.am-footer__links .am-social {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; margin: 0; padding: 0; border: 0; border-bottom: 0;
}
.am-footer__links .am-social::before {
	content: ""; width: 22px; height: 22px;
	background-color: #d8cfc1;
	-webkit-mask: var(--am-icon) no-repeat center / contain;
	        mask: var(--am-icon) no-repeat center / contain;
	transition: background-color .15s ease, transform .15s ease;
}
.am-footer__links .am-social:hover { border-bottom: 0; }
.am-footer__links .am-social:hover::before { background-color: var(--am-terracota); transform: translateY(-1px); }
.am-social--ig { --am-icon: url('../icons/instagram.svg'); }
.am-social--wa { --am-icon: url('../icons/whatsapp.svg'); }

/* ===========================================================================
   LOJA — product-line filter sidebar (2-col shop)
   =========================================================================== */
.am-shop { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start; }
.am-shop__main { min-width: 0; }
.am-shop__filters { position: sticky; top: 96px; }

.am-filter__title {
	font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
	font-size: .76rem; color: var(--am-olive-deep); margin: 0 0 .9rem;
	padding-bottom: .7rem; border-bottom: 1px solid var(--am-line);
}
.am-filter__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .12rem; }
.am-filter__item { margin: 0; }
.am-filter__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.am-filter__item label {
	display: flex; align-items: center; gap: .65rem; cursor: pointer;
	padding: .5rem .55rem; border-radius: 3px; color: var(--am-body);
	font-size: .98rem; transition: background-color .12s ease, color .12s ease;
}
.am-filter__item label::before {
	content: ""; width: 17px; height: 17px; flex: 0 0 auto;
	border: 1.5px solid var(--am-sage-deep); border-radius: 3px; background: #fff;
	transition: background-color .12s ease, border-color .12s ease;
}
.am-filter__item label:hover { background: var(--am-surface); color: var(--am-ink); }
.am-filter__item input:checked + label { color: var(--am-ink); font-weight: 500; }
.am-filter__item input:checked + label::before {
	background: var(--am-terracota-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / 12px;
	border-color: var(--am-terracota-deep);
}
.am-filter__item input:focus-visible + label { outline: 2px solid var(--am-terracota-deep); outline-offset: 2px; }
.am-filter__name { flex: 1; }
.am-filter__count { font-size: .8rem; color: var(--am-muted); }
.am-filter__actions { margin-top: 1.1rem; display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.am-filter__apply { font-size: .78rem; letter-spacing: .06em; padding: .5em 1.15em; }
.am-filter__reset {
	font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
	color: var(--am-terracota-deep); text-decoration: none;
	border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.am-filter__reset:hover { color: var(--am-terracota-dark); }

@media (max-width: 781px) {
	.am-shop { grid-template-columns: 1fr; gap: 1.1rem; }
	.am-shop__filters { position: static; }
	.am-filter__title { display: none; }
	.am-filter__list { flex-direction: row; flex-wrap: wrap; gap: .5rem; }
	.am-filter__item label { border: 1px solid var(--am-line); border-radius: 999px; padding: .4rem .85rem; }
	.am-filter__item label::before { display: none; }
	.am-filter__item input:checked + label { background: var(--am-terracota-deep); color: #fff; border-color: var(--am-terracota-deep); }
	.am-filter__item input:checked + label .am-filter__count { color: #f3d8bf; }
	.am-filter__actions { flex-direction: row; align-items: center; margin-top: .9rem; }
}

/* ===========================================================================
   INÍCIO — Basti-style editorial home: latest-in-shop + prominent CTA + cards
   =========================================================================== */
/* section heading row (eyebrow + light title, optional right "ver tudo") */
.am-secthead { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.2rem; margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
.am-secthead .am-eyebrow { margin-bottom: .4rem; }
.am-secthead__title { font-weight: 300; letter-spacing: -.01em; line-height: 1.08; font-size: clamp(1.9rem, 4.4vw, 3rem); color: var(--am-ink); margin: 0; }
.am-secthead__more {
	flex: 0 0 auto; color: var(--am-terracota-deep); text-decoration: none;
	font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem;
	white-space: nowrap; padding-bottom: 3px; border-bottom: 1px solid currentColor;
}
.am-secthead__more:hover { color: var(--am-terracota-dark); }
.am-secthead__more .am-arrow, .am-feature__more .am-arrow { display: inline-block; transition: transform .25s ease; }
.am-secthead__more:hover .am-arrow { transform: translateX(4px); }
.am-secthead--center { flex-direction: column; align-items: center; text-align: center; }
.am-secthead--center .am-eyebrow { text-align: center; }

/* latest-in-shop: re-grid the [products] shortcode into a clean 3-up. The CARD
   itself is deliberately left UNSTYLED here so it inherits the exact shop-loop look
   from /loja — same image, same title/price, and the same hairline top border on
   .product-details with its hover lift. We only own the grid container and the
   structural li resets CSS grid needs (Kadence otherwise floats the items). */
.am-latest .woocommerce { margin: 0; }
.am-latest ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 2rem) clamp(1rem, 2.2vw, 1.8rem); margin: 0 !important; padding: 0; }
.am-latest ul.products::before, .am-latest ul.products::after { content: none !important; display: none !important; }
.am-latest ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0 !important; }
@media (max-width: 781px) { .am-latest ul.products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .am-latest ul.products { grid-template-columns: 1fr; } }

/* prominent shop CTA (oversized terracota pill with a sliding arrow) */
.am-cta-wrap { text-align: center; margin-top: clamp(2.2rem, 4.5vw, 3.4rem); }
.am-cta-shop {
	display: inline-flex; align-items: center; gap: .7em;
	font-family: var(--global-heading-font-family); font-weight: 500;
	font-size: 1rem; letter-spacing: .16em; text-transform: uppercase;
	color: #fff; text-decoration: none;
	padding: 1.05em 2.5em; border-radius: 999px;
	background: var(--am-terracota-deep);
	box-shadow: 0 14px 30px -14px rgba(177, 90, 50, .75);
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.am-cta-shop:hover { background: var(--am-terracota-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 20px 42px -14px rgba(143, 68, 35, .8); }
.am-cta-shop__arrow { display: inline-block; transition: transform .25s ease; }
.am-cta-shop:hover .am-cta-shop__arrow { transform: translateX(5px); }

/* feature cards — image-top, light title, "ver mais" link (Basti pattern) */
.am-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.8rem); }
.am-feature { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.am-feature__media { display: block; overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 3; }
.am-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.am-feature:hover .am-feature__media img { transform: scale(1.05); }
.am-feature__body { padding-top: 1rem; }
.am-feature__title { display: block; font-family: var(--global-heading-font-family); font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 1.8rem); color: var(--am-ink); line-height: 1.12; }
.am-feature__text { display: block; margin-top: .45rem; color: var(--am-muted); font-size: .98rem; line-height: 1.5; }
.am-feature__more { display: inline-block; margin-top: .8rem; color: var(--am-terracota-deep); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.am-feature:hover .am-feature__more .am-arrow { transform: translateX(4px); }
@media (max-width: 781px) { .am-features { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* O Estúdio — full-bleed creative duotone visual band */
.am-visual-band { padding: 0 !important; }
.am-visual { position: relative; margin: 0; width: 100%; max-height: 460px; overflow: hidden; }
.am-visual img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; object-position: center 38%; display: block; }
.am-visual__cap {
	position: absolute; left: clamp(1rem, 4vw, 2.6rem); bottom: clamp(.9rem, 3vw, 1.5rem);
	color: #f3e7d3; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
	text-shadow: 0 1px 14px rgba(0, 0, 0, .5);
}
