/* ==========================================================================
   Waybox Atelier — "Nocturne"
   Scoped to the Atelier Nocturne page template only (body.wbx-atelier-page).
   Source: Claude Design "Atelier Nocturne PT.dc.html".
   ========================================================================== */

/* --------------------------------------------------------------------------
   1 · Site chrome — dark header variant, dark canvas
   The theme header/footer are the real ones; only their colours change here.
   -------------------------------------------------------------------------- */

body.wbx-atelier-page,
body.wbx-atelier-page .qodef-content,
body.wbx-atelier-page .qodef-content .qodef-content-inner,
body.wbx-atelier-page .qodef-full-width,
body.wbx-atelier-page .qodef-full-width .qodef-full-width-inner {
	background-color: #101312;
}

body.wbx-atelier-page .qodef-full-width .qodef-full-width-inner {
	padding: 0;
}

/* Desktop header bar + sticky header: warm dark instead of white.
   The MOBILE header is deliberately left alone — the theme prints a single
   mobile logo with a dark wordmark and no light variant, so darkening that bar
   would hide the logo. Mobile keeps the site's standard white chrome. */
body.wbx-atelier-page .qodef-page-header .qodef-menu-area,
body.wbx-atelier-page .qodef-page-header .qodef-fixed-wrapper.fixed .qodef-menu-area,
body.wbx-atelier-page .qodef-sticky-header .qodef-sticky-holder {
	background-color: #2e2e30 !important;
	border-bottom: none !important;
}

/* Nav + search icon in cream; hover keeps the site's own accent. */
body.wbx-atelier-page .qodef-page-header .qodef-main-menu > ul > li > a,
body.wbx-atelier-page .qodef-page-header .qodef-main-menu > ul > li > a > span,
body.wbx-atelier-page .qodef-sticky-header .qodef-main-menu > ul > li > a,
body.wbx-atelier-page .qodef-sticky-header .qodef-main-menu > ul > li > a > span {
	color: #ffffff;
}

body.wbx-atelier-page .qodef-page-header .qodef-search-opener,
body.wbx-atelier-page .qodef-sticky-header .qodef-search-opener,
body.wbx-atelier-page .qodef-page-header .qodef-search-opener span,
body.wbx-atelier-page .qodef-sticky-header .qodef-search-opener span {
	color: #ffffff;
}

/* Logo: the theme prints all three variants — show the light one. */
body.wbx-atelier-page .qodef-page-header .qodef-normal-logo,
body.wbx-atelier-page .qodef-page-header .qodef-dark-logo,
body.wbx-atelier-page .qodef-sticky-header .qodef-normal-logo,
body.wbx-atelier-page .qodef-sticky-header .qodef-dark-logo {
	display: none !important;
}

/* The theme parks the inactive logo variants off-canvas with a translateY(-120px)
   and fades them out, so display alone is not enough — the light logo has to be
   un-faded and moved back into place. */
body.wbx-atelier-page .qodef-page-header .qodef-light-logo,
body.wbx-atelier-page .qodef-sticky-header .qodef-light-logo {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

/* PT/EN toggle on the dark header: cream labels, teal chip on the current one.
   (The label colour itself comes from the nav rules above.) */
body.wbx-atelier-page .qodef-page-header li.wbx-lang-item-current .wbx-lang-chip,
body.wbx-atelier-page .qodef-sticky-header li.wbx-lang-item-current .wbx-lang-chip {
	background-color: #00C4B4;
	color: #101312;
}

/* --------------------------------------------------------------------------
   2 · Page
   -------------------------------------------------------------------------- */

.wbx-atl {
	--wbx-ink: #101312;
	--wbx-ink-deep: #0D100F;
	--wbx-cream: #F0EAE0;
	--wbx-teal: #00C4B4;
	--wbx-serif: "Playfair Display", "Times New Roman", Georgia, serif;
	--wbx-sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: var(--wbx-ink);
	font-family: var(--wbx-sans);
	min-width: 320px;
	overflow-x: hidden;
}

.wbx-atl ::selection {
	background: rgba(0, 196, 180, 0.35);
	color: #F7F2E9;
}

.wbx-atl p {
	margin: 0;
}

.wbx-atl a {
	color: #F7F2E9;
	text-decoration: none;
}

.wbx-atl a:hover {
	color: var(--wbx-teal);
}

.wbx-atl-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 28px;
}

/* Eyebrow labels + hairlines — the flyer's structural vocabulary. */
.wbx-atl-eyebrow-row {
	display: flex;
	align-items: center;
	gap: 26px;
}

.wbx-atl-eyebrow-row--left {
	gap: 20px;
}

.wbx-atl-rule {
	flex: 1;
	height: 1px;
	background: rgba(247, 242, 233, 0.18);
}

.wbx-atl-eyebrow {
	font-family: var(--wbx-sans);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: rgba(247, 242, 233, 0.58);
	white-space: nowrap;
	line-height: 1.4;
}

.wbx-atl-hairline {
	height: 1px;
	background: rgba(247, 242, 233, 0.14);
}

/* --- 1 · Hero ------------------------------------------------------------ */

.wbx-atl-hero {
	position: relative;
	overflow: hidden;
	background: var(--wbx-ink);
}

.wbx-atl-glow {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: radial-gradient(1400px 1000px at 10% -8%, #1E1D18 0%, #1A1915 32%, #161714 55%, #101312 76%);
	animation: wbxGlowIn 1.6s ease both;
}

.wbx-atl-hero-inner {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	padding: clamp(70px, 9vw, 130px) 28px clamp(60px, 7vw, 100px);
	text-align: center;
}

.wbx-atl-hero .wbx-atl-eyebrow-row {
	max-width: 820px;
	margin: 0 auto;
}

.wbx-atl h1.wbx-atl-word {
	font-family: var(--wbx-serif);
	font-weight: 500;
	font-style: normal;
	text-transform: none;
	color: var(--wbx-cream);
	font-size: clamp(78px, 16.5vw, 252px);
	line-height: 0.98;
	letter-spacing: -0.015em;
	margin: clamp(30px, 4vw, 64px) 0 0;
	padding: 0;
	text-wrap: balance;
}

.wbx-atl-lead {
	font-family: var(--wbx-serif);
	color: var(--wbx-cream);
	font-size: clamp(24px, 3vw, 40px);
	line-height: 1.35;
	margin: clamp(28px, 3.5vw, 52px) auto 0 !important;
	max-width: 640px;
	text-wrap: balance;
}

.wbx-atl-lead em {
	font-style: italic;
}

.wbx-atl-sub {
	color: rgba(247, 242, 233, 0.62);
	font-size: 15px;
	line-height: 1.85;
	max-width: 520px;
	margin: 26px auto 0 !important;
	text-wrap: pretty;
}

/* --- 2 · Manifesto ------------------------------------------------------- */

.wbx-atl-manifesto {
	background: var(--wbx-ink);
}

.wbx-atl-manifesto-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: clamp(50px, 6vw, 90px) 28px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 48px;
}

.wbx-atl-manifesto-text {
	grid-column: span 2;
	min-width: min(100%, 480px);
}

.wbx-atl-manifesto-p1 {
	font-family: var(--wbx-serif);
	color: rgba(247, 242, 233, 0.88);
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.6;
	text-wrap: pretty;
}

.wbx-atl-manifesto-p2 {
	font-family: var(--wbx-serif);
	color: rgba(247, 242, 233, 0.66);
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.65;
	margin: 34px 0 0 !important;
	text-wrap: pretty;
}

/* --- 3 · Método + the day arc -------------------------------------------- */

.wbx-atl-method {
	background: var(--wbx-ink-deep);
	padding: clamp(60px, 7vw, 110px) 0 clamp(56px, 6vw, 96px);
}

.wbx-atl-method .wbx-atl-eyebrow-row {
	justify-content: center;
}

.wbx-atl-wave-label {
	font-size: 10px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: rgba(247, 242, 233, 0.45);
	margin: clamp(44px, 5vw, 72px) 0 14px;
}

.wbx-atl-wave {
	height: clamp(120px, 16vw, 210px);
	display: flex;
	align-items: flex-end;
	gap: 3px;
	overflow: hidden;
	padding: 0 2px;
}

.wbx-atl-bar {
	flex: 1 1 0;
	min-width: 2px;
	transform-origin: bottom;
}

.wbx-atl-wave-baseline {
	height: 1px;
	background: rgba(247, 242, 233, 0.14);
}

.wbx-atl-dayparts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0 clamp(8px, 3vw, 40px);
	margin-top: 18px;
}

.wbx-atl-tick {
	display: inline-block;
	width: 1px;
	height: 10px;
	background: rgba(247, 242, 233, 0.35);
}

.wbx-atl-tick--peak {
	background: var(--wbx-teal);
}

.wbx-atl-daypart {
	font-size: clamp(8px, 1vw, 10px);
	letter-spacing: clamp(0.12em, 0.5vw, 0.3em);
	text-transform: uppercase;
	color: rgba(247, 242, 233, 0.5);
	margin-top: 8px;
}

.wbx-atl-daypart--peak {
	color: var(--wbx-teal);
}

.wbx-atl-pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 52px 40px;
	margin-top: clamp(52px, 6vw, 84px);
}

.wbx-atl-pillar-rule {
	height: 1px;
	background: rgba(247, 242, 233, 0.18);
	margin-bottom: 22px;
}

.wbx-atl-pillar-num {
	font-size: 12px;
	letter-spacing: 0.18em;
	color: rgba(247, 242, 233, 0.4);
}

.wbx-atl h3.wbx-atl-pillar-title {
	font-family: var(--wbx-serif);
	font-weight: 500;
	text-transform: none;
	color: var(--wbx-cream);
	font-size: 24px;
	line-height: 1.25;
	letter-spacing: 0;
	margin: 14px 0 16px;
	padding: 0;
}

.wbx-atl-pillar-text {
	color: rgba(247, 242, 233, 0.6);
	font-size: 13.5px;
	line-height: 1.8;
	text-wrap: pretty;
}

/* --- 4 · O ouvido humano ------------------------------------------------- */

.wbx-atl-human {
	position: relative;
	overflow: hidden;
	background: var(--wbx-ink);
}

.wbx-atl-glow--human {
	background: radial-gradient(1000px 700px at 88% 110%, #1A1915 0%, #141512 45%, #101312 72%);
	animation: none;
}

.wbx-atl-human-inner {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding: clamp(80px, 10vw, 150px) 28px;
	text-align: center;
}

.wbx-atl-human-text {
	font-family: var(--wbx-serif);
	color: var(--wbx-cream);
	font-size: clamp(24px, 3.4vw, 42px);
	line-height: 1.45;
	margin: clamp(36px, 4vw, 56px) 0 0 !important;
	text-wrap: balance;
}

.wbx-atl-human-text em {
	font-style: italic;
}

/* --- 5 · Confiança + CTA ------------------------------------------------- */

.wbx-atl-close {
	background: var(--wbx-ink-deep);
}

.wbx-atl-trust {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 28px 0;
	padding: clamp(36px, 4vw, 54px) 0;
}

.wbx-atl-trust-item {
	padding: 0 32px;
	border-left: 1px solid rgba(247, 242, 233, 0.12);
	text-align: center;
	color: rgba(247, 242, 233, 0.62);
	font-size: 13.5px;
	line-height: 1.75;
	text-wrap: pretty;
}

.wbx-atl-trust-item:first-child {
	border-left-color: transparent;
}

.wbx-atl-cta {
	text-align: center;
	padding: clamp(70px, 9vw, 130px) 0 clamp(80px, 10vw, 140px);
}

.wbx-atl-cta-label {
	font-size: 11px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--wbx-teal);
}

.wbx-atl-cta-text {
	font-family: var(--wbx-serif);
	color: var(--wbx-cream);
	font-size: clamp(24px, 3vw, 38px);
	line-height: 1.4;
	max-width: 720px;
	margin: 30px auto 0 !important;
	text-wrap: balance;
}

.wbx-atl-cta-btn-wrap {
	margin-top: 46px;
}

.wbx-atl a.wbx-atl-cta-btn {
	display: inline-block;
	padding: 17px clamp(28px, 4vw, 52px);
	border: 1px solid rgba(247, 242, 233, 0.35);
	white-space: nowrap;
	color: var(--wbx-cream);
	font-family: var(--wbx-sans);
	font-size: 12px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	line-height: 1;
	border-radius: 0;
	background: transparent;
	transition: border-color 0.3s ease, color 0.3s ease;
}

.wbx-atl a.wbx-atl-cta-btn:hover {
	border-color: var(--wbx-teal);
	color: var(--wbx-teal);
	background: transparent;
}

.wbx-atl-cta-contacts {
	color: rgba(247, 242, 233, 0.5);
	font-size: 13px;
	letter-spacing: 0.04em;
	margin: 34px 0 0 !important;
}

.wbx-atl-cta-contacts a {
	color: rgba(247, 242, 233, 0.65);
}

/* --------------------------------------------------------------------------
   3 · Motion
   Scroll-driven where supported; IntersectionObserver otherwise; nothing at
   all under prefers-reduced-motion. Content is always in the HTML and legible
   with no animation running.
   -------------------------------------------------------------------------- */

@keyframes wbxGlowIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes wbxFadeUp {
	from { opacity: 0; transform: translateY(26px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes wbxBarRise {
	from { transform: scaleY(0.04); opacity: 0.3; }
	to   { transform: scaleY(1); opacity: 1; }
}

@supports (animation-timeline: view()) {
	.wbx-atl-reveal {
		animation: wbxFadeUp 1s ease both;
		animation-timeline: view();
		animation-range: entry 0% entry 45%;
	}

	/* Each bar finishes later the further right it sits — the arc plays as it scrolls in. */
	.wbx-atl-bar {
		animation: wbxBarRise 1.1s ease-out both;
		animation-timeline: view();
		animation-range: entry 5% entry var(--wbx-r, 60%);
	}
}

/* Fallback path: the class is only added by JS when scroll timelines are missing. */
.wbx-js-anim .wbx-atl-reveal {
	opacity: 0;
}

.wbx-js-anim .wbx-atl-reveal.wbx-in {
	animation: wbxFadeUp 1s ease both;
}

.wbx-js-anim .wbx-atl-wave .wbx-atl-bar {
	transform: scaleY(0.04);
	opacity: 0.3;
}

.wbx-js-anim .wbx-atl-wave.wbx-in .wbx-atl-bar {
	animation: wbxBarRise 1.1s ease-out both;
	animation-delay: var(--wbx-d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
	.wbx-atl *,
	.wbx-atl-reveal,
	.wbx-atl-bar {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

/* --------------------------------------------------------------------------
   4 · Narrow viewports
   170 bars cannot each hold 2px below ~900px — tighten the arc instead of
   clipping it.
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
	.wbx-atl-wave {
		gap: 2px;
	}

	.wbx-atl-bar {
		min-width: 1px;
	}
}

@media (max-width: 600px) {
	.wbx-atl-wave {
		gap: 1px;
	}

	/* The long eyebrows cannot hold one line at this width — let them wrap
	   instead of running off the edge. */
	.wbx-atl-eyebrow {
		white-space: normal;
		font-size: 10px;
		letter-spacing: 0.22em;
		text-align: center;
	}

	.wbx-atl-eyebrow-row {
		gap: 14px;
	}

	.wbx-atl-eyebrow-row--left .wbx-atl-eyebrow {
		text-align: left;
	}

	.wbx-atl-dayparts {
		gap: 0 8px;
	}

	.wbx-atl-trust-item {
		padding: 0 8px;
		border-left-color: transparent;
	}

	.wbx-atl-manifesto-text {
		grid-column: span 1;
	}
}
