/* ==========================================================================
   XAVI Creative — estilos do site
   ========================================================================== */

/* ---------- Fontes ---------- */
@font-face { font-family: "Overused Grotesk"; src: url("../fonts/OverusedGrotesk-Roman.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Overused Grotesk"; src: url("../fonts/OverusedGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Overused Grotesk"; src: url("../fonts/OverusedGrotesk-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Overused Grotesk"; src: url("../fonts/OverusedGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Playfair Display (reserva gratuita, embutida no tema). A Abril Display entra por cima quando os arquivos estiverem em assets/fonts (ver inc/setup.php). */
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-SemiBoldItalic.woff2") format("woff2"); font-weight: 500 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-BoldItalic.woff2") format("woff2"); font-weight: 700 900; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--bg: #f5f5f5;
	--paper: #ffffff;
	--ink: #05000a;
	--ink-2: #0c0c0c;
	--ink-3: #14101a;
	--yellow: #fee402;
	--yellow-ink: #d9b800;
	--muted: #6f6f74;
	--muted-2: #9a9a9f;
	--line: rgba(5, 0, 10, 0.1);
	--line-light: rgba(255, 255, 255, 0.12);

	--sans: "Overused Grotesk", "Helvetica Neue", Arial, sans-serif;
	--serif: "Abril Display", "Playfair Display", Georgia, serif;

	--gutter: clamp(16px, 2.8vw, 40px);
	--max: 100%;
	--radius: 24px;
	--radius-sm: 14px;
	--section: clamp(56px, 7vw, 110px);
	--ease: cubic-bezier(0.22, 0.75, 0.2, 1);
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Rolagem suave (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: -0.02em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	overflow-x: clip; /* corta sem virar área de rolagem: mantém o topo fixo funcionando no Safari */
}
/* Granulado sutil, como no Framer */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9999;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[hidden] { display: none !important; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--yellow-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--yellow); color: var(--ink); }

.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(24px, 3vw, 48px); }

/* Destaque em itálico */
.accent, .stats__num, .servico__num, .faq-item__num, .depo-mini__num {
	font-synthesis: none;
}
.accent {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 700;
	color: var(--yellow-ink);
	letter-spacing: -0.01em;
}
.section-title--light .accent, .footer-card .accent, .hero .accent { color: var(--yellow); }

/* ---------- Botões ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -0.02em;
	white-space: nowrap;
	transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s;
	border: 1px solid transparent;
}
.btn:active { transform: scale(.97); }
.btn__roll { display: inline-grid; overflow: hidden; height: 1.25em; line-height: 1.25; }
.btn__roll > span { grid-area: 1 / 1; transition: transform .45s var(--ease); }
.btn__roll > span + span { transform: translateY(110%); }
.btn:hover .btn__roll > span:first-child { transform: translateY(-110%); }
.btn:hover .btn__roll > span + span { transform: translateY(0); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #241e2a; }
.btn--light { background: #fff; color: var(--ink); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #fff04d; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.round-btn {
	width: 48px; height: 48px; border-radius: 50%;
	display: inline-grid; place-items: center;
	border: 1px solid var(--line-light); color: #fff;
	transition: background .3s, color .3s;
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: #fff; color: var(--ink); }

.icon-arrow { width: 1em; height: 1em; flex: none; }

/* ---------- Cabeçalho ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	padding: 14px var(--gutter);
	color: var(--ink);
	transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), padding .4s var(--ease);
}
.site-header.is-scrolled {
	background: rgba(245, 245, 245, 0.82);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	padding-block: 10px;
	box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.is-home .site-header:not(.is-scrolled) { color: #fff; top: 12px; }
.site-header__inner { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 48px; }
.site-header__actions { justify-self: end; }
.site-header__logo { width: clamp(64px, 5.4vw, 86px); flex: none; }
.site-header__logo svg { width: 100%; height: auto; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a { display: inline-flex; padding: 10px 14px; border-radius: 999px; font-weight: 500; transition: background .3s; }
.site-nav a:hover { background: rgba(127,127,127,.12); }
.site-nav a[aria-current="page"] { background: rgba(127,127,127,.14); }
.roll { display: inline-grid; overflow: hidden; height: 1.3em; line-height: 1.3; }
.roll > span { grid-area: 1/1; transition: transform .45s var(--ease); }
.roll > span + span { transform: translateY(110%); }
a:hover .roll > span:first-child { transform: translateY(-110%); }
a:hover .roll > span + span { transform: none; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }

.badge-cta {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 18px; border-radius: 999px;
	background: var(--yellow); color: var(--ink);
	font-weight: 600; font-size: 15px; white-space: nowrap;
	transition: transform .3s var(--ease);
}
.badge-cta:hover { transform: translateY(-2px); }
.badge-cta__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); position: relative; }
.badge-cta__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; place-items: center; }
.is-home .site-header:not(.is-scrolled) .menu-toggle { background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), background .2s; }
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
	position: fixed; inset: 0; z-index: 90;
	background: var(--ink); color: #fff;
	padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
	display: flex; flex-direction: column; justify-content: space-between;
	opacity: 0; transition: opacity .35s var(--ease);
}
.mobile-menu:not(.is-open) { pointer-events: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu a { display: block; font-size: clamp(40px, 11vw, 64px); line-height: 1.15; letter-spacing: -0.04em; padding: 4px 0; }
.mobile-menu .badge-cta { align-self: flex-start; font-size: 15px; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Botão flutuante: abre as redes sociais */
.float-menu { position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.float-cta {
	width: 58px; height: 58px; border-radius: 50%;
	background: var(--yellow); color: var(--ink);
	display: grid; place-items: center;
	box-shadow: 0 10px 30px rgba(5,0,10,.18);
	transition: transform .4s var(--ease), background .3s;
}
.float-cta svg { width: 24px; height: 24px; transition: transform .5s var(--ease); }
.float-cta:hover { transform: scale(1.06); }
.float-menu.is-open .float-cta { background: var(--ink); color: var(--yellow); }
.float-menu.is-open .float-cta svg { transform: rotate(135deg); }
.float-menu__list { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.float-menu__list li { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .35s var(--ease), transform .45s var(--ease); transition-delay: calc((var(--n) - var(--i)) * 40ms); }
.float-menu.is-open .float-menu__list { pointer-events: auto; }
.float-menu.is-open .float-menu__list li { opacity: 1; transform: none; transition-delay: calc((var(--n) - var(--i)) * 50ms); }
.float-menu__list a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; box-shadow: 0 8px 24px rgba(5,0,10,.18); border: 1px solid rgba(255,255,255,.14); transition: background .3s, color .3s; }
.float-menu__list a:hover { background: var(--yellow); color: var(--ink); }
.float-menu__list svg { width: 14px; height: 14px; }

/* ---------- Herói ---------- */
.hero { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; z-index: 0; }
.hero__inner { position: absolute; inset: 0; will-change: transform; }
.hero__bg { position: absolute; inset: 0; filter: brightness(.85); }
/* Desfoque suave na parte de baixo da foto (igual ao Framer): ajuda a ler o texto */
.hero__blur {
	position: absolute; inset: auto 0 0; height: 62%; pointer-events: none;
	-webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
	background: linear-gradient(180deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.41) 100%);
	-webkit-mask-image: linear-gradient(180deg, transparent 20%, #000 75%); mask-image: linear-gradient(180deg, transparent 20%, #000 75%);
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transform: scale(1.06); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__inner::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(5,0,10,.28) 0%, rgba(5,0,10,0) 25%, rgba(5,0,10,0) 45%, rgba(5,0,10,.55) 100%);
	pointer-events: none;
}
.hero__content { position: absolute; inset: auto 0 0; z-index: 1; max-width: none; padding-bottom: clamp(16px, 2.5vw, 40px); display: flex; flex-direction: column; gap: clamp(8px, 1.4vw, 24px); }
.hero__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero__title { font-weight: 400; font-size: clamp(40px, 4.7vw, 110px); line-height: 1; letter-spacing: -0.04em; color: var(--yellow); }
.hero__line { display: block; opacity: 0; transform: translateY(40%); animation: lineIn 1s var(--ease) forwards; animation-delay: calc(.3s + var(--i) * .12s); }
.hero__line:nth-child(2) { padding-left: .9em; }
@keyframes lineIn { to { opacity: 1; transform: none; } }
.hero__text { max-width: clamp(320px, 25vw, 480px); font-size: clamp(16px, 1.1vw, 21px); font-weight: 600; line-height: 1.15; opacity: 0; animation: lineIn 1s var(--ease) .6s forwards; }
.hero__name {
	font-size: 16.8vw; /* o JS ajusta para ocupar a largura exata */
	width: max-content;
	max-width: none;
	line-height: .86;
	letter-spacing: -0.06em;
	font-weight: 400;
	white-space: nowrap;
	opacity: 0; transform: translateY(30%);
	animation: lineIn 1.2s var(--ease) .45s forwards;
}
.hero__name .accent { font-weight: 600; letter-spacing: -0.03em; }

.page-sheet { position: relative; z-index: 1; background: var(--bg); }

/* ---------- Logos ---------- */
.logos { padding-block: clamp(28px, 3.5vw, 48px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.logos__track.is-js { animation: none; will-change: transform; }
.logos__row { display: flex; align-items: center; gap: clamp(40px, 5vw, 80px); padding-right: clamp(40px, 5vw, 80px); }
.logos__row img { height: clamp(26px, 2.6vw, 38px); width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: opacity .3s, filter .3s; }
.logos__row img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Títulos de seção ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 72px); flex-wrap: wrap; }
.section-head--light { color: #fff; }
.section-title { font-size: clamp(36px, 3.4vw, 50px); font-weight: 500; line-height: 1.12; letter-spacing: -0.03em; max-width: 14ch; }
.section-title--light { color: #fff; }
.section-foot { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 56px); }
.section-foot--left { justify-content: flex-start; }

/* ---------- Manifesto ---------- */
.manifesto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.manifesto__media { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: #e8e8e8; }
.manifesto__media img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__content { display: flex; flex-direction: column; gap: 24px; padding-block: 8px; }
.manifesto__title { font-size: clamp(32px, 4.1vw, 60px); font-weight: 400; line-height: 1.15; letter-spacing: -0.04em; }
.manifesto__text { color: var(--muted); font-size: 18px; line-height: 1.35; max-width: 56ch; }
.manifesto .btn { align-self: flex-start; }

.stats { margin-top: auto; padding-top: 16px; }
.stats__item { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.stats__num { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(32px, 3vw, 44px); line-height: 1; letter-spacing: -0.01em; }
.stats__label { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ---------- Projetos ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
/* Filtro por serviço (página de Projetos) */
.work-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.work-filter__chip { display: inline-flex; align-items: center; gap: 4px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; font-weight: 500; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.work-filter__chip sup { font-size: 11px; opacity: .55; transform: translateY(-2px); }
.work-filter__chip:hover { border-color: var(--ink); }
.work-filter__chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.work-filter__chip.is-active sup { color: var(--yellow); opacity: 1; }
.work-card.is-filtering-out { opacity: 0 !important; transform: scale(.97) !important; transition: opacity .3s var(--ease), transform .3s var(--ease) !important; }
.work-card.is-filtering-in { animation: workIn .6s var(--ease) both; }
@keyframes workIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.work-card { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; background: #ddd; color: #fff; isolation: isolate; }
.work-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.work-card__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .55s var(--ease), transform 1.1s var(--ease); pointer-events: none; }
.work-card.is-previewing .work-card__preview.is-ready { opacity: 1; transform: none; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card.is-opening .work-card__media img { transform: scale(1.06); transition: transform .8s var(--ease); }

/* Transição ao abrir um projeto: cortina escura sobe com o nome do projeto e se abre na página do case */
.page-curtain {
	position: fixed; inset: 0; z-index: 9500;
	background: var(--ink); color: #fff;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: var(--gutter);
	pointer-events: none;
	transform: translateY(100%);
	transition: transform .75s cubic-bezier(.77, 0, .18, 1);
}
.page-curtain.is-in, .page-curtain.is-cover { transform: none; }
.page-curtain.is-cover.is-out { transform: translateY(-100%); transition-duration: .9s; }
.page-curtain__label { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; opacity: 0; transform: translateY(16px); transition: opacity .5s .25s, transform .6s .25s var(--ease); }
.page-curtain__title { font-size: clamp(56px, 10vw, 180px); line-height: .95; letter-spacing: -0.05em; overflow: hidden; }
.page-curtain__title span { display: inline-block; transform: translateY(105%); transition: transform .8s .2s var(--ease); }
.page-curtain.is-in .page-curtain__label, .page-curtain.is-cover .page-curtain__label { opacity: 1; transform: none; }
.page-curtain.is-in .page-curtain__title span, .page-curtain.is-cover .page-curtain__title span { transform: none; }
.page-curtain.is-cover.is-out .page-curtain__title span { transform: translateY(-40%); transition: transform .9s var(--ease); }
.page-curtain::after { content: ""; position: absolute; inset: 0 0 auto; height: 12px; background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s .1s var(--ease); }
.page-curtain.is-in::after, .page-curtain.is-cover::after { transform: scaleX(1); }
.has-curtain .case__cover img { animation-delay: .35s; }
.case__cover img { animation: coverIn 1.3s var(--ease) both; }
@keyframes coverIn { from { transform: scale(1.12); } to { transform: none; } }
.work-card::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(5,0,10,.6)); z-index: 0; pointer-events: none; }
.work-card__info { position: absolute; inset: auto 0 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: clamp(14px, 1.6vw, 22px); }
.work-card__left { display: flex; flex-direction: column; }
.work-card__title { font-size: clamp(16px, 1.4vw, 20px); font-weight: 500; line-height: 1.2; }
.work-card__year { font-size: 14px; opacity: .8; }
.work-card__right { display: inline-grid; overflow: hidden; height: 1.3em; line-height: 1.3; text-align: right; font-weight: 500; }
.work-card__right > span { grid-area: 1/1; transition: transform .5s var(--ease); justify-self: end; }
.work-card__view { display: inline-flex; align-items: center; gap: 6px; transform: translateY(110%); }
.work-card:hover .work-card__service { transform: translateY(-110%); }
.work-card:hover .work-card__view { transform: none; }

/* ---------- Serviços ---------- */
.servicos__panel { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(56px, 8vw, 120px) clamp(20px, 3vw, 40px); }
.servicos__panel .section-title { margin-bottom: clamp(32px, 5vw, 72px); }
/* Lista interativa: passe o mouse e a imagem do serviço acompanha o cursor */
.servicos__list { position: relative; border-bottom: 1px solid var(--line-light); }
.servico {
	position: relative;
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) auto; gap: clamp(20px, 4vw, 64px); align-items: center;
	padding: clamp(26px, 3vw, 44px) 0;
	border-top: 1px solid var(--line-light);
	transition: opacity .5s var(--ease);
}
.servico__head { display: flex; align-items: flex-start; gap: clamp(12px, 1.6vw, 24px); min-width: 0; }
.servico__num { font-family: var(--serif); font-style: italic; font-weight: 700; color: var(--yellow); font-size: clamp(22px, 2vw, 32px); line-height: 1; padding-top: .35em; }
.servico__title { font-size: clamp(40px, 6.2vw, 112px); font-weight: 400; letter-spacing: -0.055em; line-height: 1; transition: transform .7s var(--ease); }
.servico__roll { display: inline-grid; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.servico__roll > span { grid-area: 1 / 1; transition: transform .7s var(--ease); }
.servico__roll > span + span { transform: translateY(130%); color: var(--yellow); font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -0.03em; }
.servico__text { color: var(--muted-2); max-width: 46ch; margin-bottom: 18px; font-size: clamp(15px, 1.05vw, 17px); transition: color .5s var(--ease); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 14px; color: #b9b9be; border: 1px solid var(--line-light); border-radius: 999px; padding: 6px 14px; transition: border-color .5s var(--ease), color .5s var(--ease); }
.servico__arrow { width: clamp(48px, 4vw, 64px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), transform .7s var(--ease); }
.servico__arrow svg { width: 40%; height: 40%; }
.servico__media { display: none; }
.servico__media img { width: 100%; height: 100%; object-fit: cover; }

.servico__link { position: absolute; inset: 0; z-index: 2; border-radius: 4px; }
.servico__link:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.tags li.is-highlight { background: var(--yellow); border-color: var(--yellow); color: var(--ink); font-weight: 600; }
.servico.is-active .tags li.is-highlight { color: var(--ink); }

/* Com mouse: realce da linha ativa e imagem flutuante */
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
	.servicos__list.is-hovering .servico:not(.is-active) { opacity: .32; }
	.servico.is-active .servico__title { transform: translateX(clamp(8px, 1.2vw, 20px)); }
	.servico.is-active .servico__roll > span:first-child { transform: translateY(-130%); }
	.servico.is-active .servico__roll > span + span { transform: none; }
	.servico.is-active .servico__text { color: #e6e6e9; }
	.servico.is-active .tags li { border-color: rgba(254, 228, 2, .45); color: #fff; }
	.servico.is-active .servico__arrow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); transform: rotate(45deg); }
	.servicos__preview {
		position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
		width: clamp(240px, 22vw, 380px); aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
		background: var(--ink-3); box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
		opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.6);
		transition: opacity .35s var(--ease);
		will-change: transform;
	}
	.servicos__preview.is-on { opacity: 1; }
	.servicos__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.15); transition: clip-path .7s var(--ease), transform 1s var(--ease); }
	.servicos__preview img.is-active { clip-path: inset(0 0 0 0); transform: none; z-index: 1; }
	.servicos__preview img.is-leaving { clip-path: inset(0 0 0 0); z-index: 0; }
}
/* Toque (celular/tablet): imagem dentro de cada serviço */
@media (hover: none), (pointer: coarse), (max-width: 860px) {
	.servico { grid-template-columns: 1fr; gap: 16px; }
	.servico__arrow { display: none; }
	.servico__media { display: block; order: -1; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink-3); }
	.servicos__preview { display: none; }
}

/* ---------- Método (página Sobre) ---------- */
.method__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.method__intro { color: var(--muted); font-size: clamp(16px, 1.25vw, 20px); line-height: 1.45; max-width: 46ch; justify-self: end; }
.method__track { position: relative; height: 14px; margin: 0 calc(100% / 6 - 7px) 28px; }
.method__line { position: absolute; left: 7px; right: 7px; top: 6px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.method__fill { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); transition: transform .2s linear; }
.method__dot { position: absolute; top: 0; left: calc(var(--p) * (100% - 14px)); width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); transition: background .4s; }
.method__dot.is-on { background: var(--yellow); }
.method__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 16px); counter-reset: none; }
.step {
	--icon-bg: var(--paper);
	display: flex; flex-direction: column; gap: 14px;
	padding: clamp(24px, 2.4vw, 40px);
	border-radius: var(--radius);
	background: var(--paper);
	transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease), opacity .9s var(--ease);
	transition-delay: 0s, 0s, 0s, calc(var(--d) * .12s);
}
.step:hover { background: var(--ink); color: #fff; --icon-bg: var(--ink); transform: translateY(-6px); }
.step__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: clamp(12px, 2vw, 36px); }
.step__icon { width: clamp(64px, 5.4vw, 88px); color: var(--ink); transition: transform .9s var(--ease), color .5s; }
.step:hover .step__icon { color: var(--yellow); transform: rotate(45deg); }
.step__num { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(44px, 4.2vw, 72px); line-height: .9; color: var(--yellow-ink); font-synthesis: none; }
.step:hover .step__num { color: var(--yellow); }
.step__title { font-size: clamp(24px, 2vw, 32px); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; }
.step__phrase { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(19px, 1.5vw, 24px); line-height: 1.2; letter-spacing: -0.01em; font-synthesis: none; }
.step__text { color: var(--muted); line-height: 1.5; transition: color .5s; }
.step:hover .step__text { color: rgba(255,255,255,.7); }
.step__list { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); transition: border-color .5s; }
.step:hover .step__list { border-color: var(--line-light); }
.step__label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.step:hover .step__label { color: rgba(255,255,255,.55); }
.step__list ul { display: flex; flex-direction: column; gap: 6px; }
.step__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.step__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); flex: none; box-shadow: 0 0 0 1px rgba(5,0,10,.15); }

/* ---------- Depoimentos ---------- */
.depo { padding-inline: 10px; }
.depo__panel { color: var(--ink); padding-block: clamp(24px, 3vw, 48px); overflow: hidden; }
.depo__viewport {
	overflow: hidden;
	padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
	cursor: grab;
	touch-action: pan-y;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
	padding-block: 12px 24px;
}
.depo__viewport.is-dragging { cursor: grabbing; }
.depo__track { display: flex; gap: 16px; width: max-content; will-change: transform; }
.depo__track .depo-card { user-select: none; }
.depo-card {
	flex: 0 0 clamp(280px, 28vw, 420px);
	display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
	min-height: 300px;
	padding: 28px;
	border-radius: 20px;
	background: var(--paper);
	border: 1px solid var(--line);
	transition: box-shadow .4s var(--ease);
}
.depo-card:hover { box-shadow: 0 14px 40px rgba(5, 0, 10, .08); }
.depo-card blockquote { font-size: 18px; line-height: 1.45; color: #2a2530; }
.depo-card figcaption { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.depo-card__who { display: flex; align-items: center; gap: 12px; }
.depo-card__who strong, .depo-mini figcaption strong { display: block; font-weight: 500; }
.depo-card__who small, .depo-mini figcaption small { display: block; font-size: 13px; opacity: .65; }
.depo-card__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.stars { display: inline-flex; gap: 2px; color: var(--yellow); }
.depo .stars { color: var(--yellow-ink); }
.depo .round-btn { border-color: var(--line); color: var(--ink); }
.depo .round-btn:hover { background: var(--ink); color: #fff; }
.stars svg { width: 15px; height: 15px; }
.depo__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
.faq__head p { color: var(--muted); max-width: 36ch; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--paper); border-radius: var(--radius-sm); transition: box-shadow .3s; }
.faq-item:hover { box-shadow: 0 6px 24px rgba(5,0,10,.06); }
.faq-item summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; font-size: 18px; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__num { font-family: var(--serif); font-style: italic; font-weight: 700; color: var(--yellow-ink); font-size: 20px; width: 28px; flex: none; }
.faq-item__q { flex: 1; }
.faq-item__icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: rotate(0); }
.faq-item__a { padding: 0 24px 24px 68px; color: var(--muted); }
.faq-item__a p + p { margin-top: 10px; }

/* ---------- Artigos ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.post-card { display: flex; flex-direction: column; gap: 6px; }
.post-card__media { aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: #e4e4e4; margin-bottom: 10px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__title { font-size: clamp(17px, 1.3vw, 20px); font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.post-card:hover .post-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-card__date { color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; transition: background .3s, color .3s; }
.chips a:hover, .chips a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); }
.pagination .current { background: var(--ink); color: #fff; }
.empty { color: var(--muted); padding: 40px 0; }

/* ---------- Páginas internas ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 110px)); padding-bottom: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; }
.page-hero--center { grid-template-columns: 1fr; text-align: center; justify-items: center; min-height: 70vh; align-content: center; }
.page-title { font-size: clamp(48px, 7.4vw, 112px); font-weight: 400; line-height: .98; letter-spacing: -0.05em; }
.page-hero__side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.page-hero__text { color: var(--muted); font-size: 18px; line-height: 1.4; max-width: 46ch; }
.back-link { display: inline-block; color: var(--muted); font-weight: 500; margin-bottom: 20px; transition: color .3s; }
.back-link:hover { color: var(--ink); }

/* ---------- Case ---------- */
.case__head { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 90px)); padding-bottom: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.case__title { font-size: clamp(56px, 8.4vw, 128px); font-weight: 400; line-height: .95; letter-spacing: -0.05em; }
.case__desc { color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 60ch; }
.case__facts { display: flex; flex-wrap: wrap; gap: 14px 48px; padding-block: 18px; border-block: 1px solid var(--line); margin-bottom: 16px; }
.case__fact { display: flex; gap: 8px; font-size: 15px; }
.case__fact dt { color: var(--muted); }
.case__fact dd { font-weight: 500; }
.case__cover { border-radius: var(--radius); overflow: hidden; background: #e6e6e6; }
.case__cover img { width: 100%; height: auto; }
.case__block { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(20px, 4vw, 64px); padding-block: clamp(48px, 7vw, 110px); }
.case__label { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 8px; }
.case__text { font-size: clamp(20px, 1.9vw, 28px); line-height: 1.35; letter-spacing: -0.025em; }
.case__text p + p { margin-top: 16px; }
.case__gallery { display: grid; gap: 10px; }
.case__gallery--pairs { grid-template-columns: repeat(2, 1fr); }
.case__gallery figure, .case__feature { border-radius: 18px; overflow: hidden; background: #e6e6e6; }
.case__gallery img, .case__gallery video, .case__feature img, .case__feature video { width: 100%; height: 100%; object-fit: cover; }
.case__gallery--pairs figure { aspect-ratio: auto; }
.case__feature { margin-block: 10px; }
.case__gallery + .case__gallery, .case__feature + .case__gallery { margin-top: 10px; }

/* ---------- Artigo / páginas de texto ---------- */
.artigo__head { max-width: 1040px; padding-top: calc(var(--header-h) + clamp(40px, 6vw, 90px)); padding-bottom: 28px; }
.artigo__title { font-size: clamp(36px, 4.8vw, 68px); font-weight: 400; line-height: 1.05; letter-spacing: -0.045em; }
.artigo__meta { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.artigo__meta div { display: flex; gap: 6px; }
.artigo__meta dt { color: var(--muted); }
.artigo__meta dd { font-weight: 500; }
.artigo__cover { max-width: 1240px; }
.artigo__cover img { width: 100%; border-radius: var(--radius); }
.prose { max-width: calc(760px + var(--gutter) * 2); padding-block: clamp(40px, 5vw, 72px); font-size: 18px; line-height: 1.7; color: #2a2530; letter-spacing: -0.01em; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--ink); font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; margin-top: 2em; }
.prose h2 { font-size: clamp(26px, 2.4vw, 34px); }
.prose h3 { font-size: 22px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose img, .prose figure img { border-radius: 16px; }
.prose figure { margin-block: 2em; }
.prose blockquote { border-left: 3px solid var(--yellow); padding-left: 20px; font-size: 22px; color: var(--ink); }
.artigo--page .artigo__head { max-width: calc(760px + var(--gutter) * 2); }
.artigo--page .artigo__title { font-size: clamp(36px, 4.2vw, 60px); }
.artigo--page .prose { padding-top: clamp(16px, 2vw, 32px); }
.artigo__cta { margin-top: 2.4em !important; }

/* ---------- Sobre ---------- */
.sobre__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.sobre__content { display: flex; flex-direction: column; gap: 24px; }
.sobre__small { width: min(100%, 360px); aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; }
.sobre__small img, .sobre__tall img { width: 100%; height: 100%; object-fit: cover; }
.sobre__title { font-size: clamp(34px, 3.6vw, 52px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.08; max-width: 14ch; }
.sobre__text { color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 54ch; }
.sobre__text p + p { margin-top: 14px; }
.sobre__content .btn { align-self: flex-start; }
.sobre__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: sticky; top: calc(var(--header-h) + 16px); }
.sobre__tall { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 5; background: #e4e4e4; }
.sobre__tall--alt { margin-top: 48px; }
.sobre__photos > :only-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }

.depo-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.depo-mini__card { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 20px; background: var(--ink); color: #fff; min-height: 300px; }
.depo-mini__card.is-yellow { background: var(--yellow); color: var(--ink); }
.depo-mini__card.is-yellow .stars { color: var(--ink); }
.depo-mini__num { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 20px; }
.depo-mini__card blockquote { font-size: 19px; line-height: 1.4; flex: 1; }
.depo-mini__card figcaption { display: flex; align-items: center; gap: 12px; }

.video-block { border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video-block video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sobre (novo layout, igual ao Framer) ---------- */
.about { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 100px)); padding-bottom: clamp(48px, 6vw, 96px); }
.about__title { font-size: clamp(56px, 6.2vw, 112px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; margin-bottom: clamp(40px, 6vw, 100px); }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 1.8vw, 28px); align-items: stretch; margin-bottom: clamp(40px, 5vw, 80px); }
.about-story__left { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(32px, 5vw, 72px); padding-block: 8px; }
.about-story__top { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(16px, 1.8vw, 28px); align-items: start; }
.about-story__small { aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #e4e4e4; }
.about-story__small img, .about-story__big img { width: 100%; height: 100%; object-fit: cover; }
.about-story__text { display: flex; flex-direction: column; gap: 22px; }
.about-story__heading { font-size: clamp(30px, 2.9vw, 50px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; }
.about-story__body { color: var(--muted); font-size: clamp(14px, 1vw, 17px); line-height: 1.45; }
.about-story__body p + p { margin-top: 14px; }
.about-story__big { position: relative; border-radius: var(--radius); overflow: hidden; background: #e4e4e4; min-height: 520px; }
.about-story__big img, .about-mani__media img { position: absolute; inset: 0; }
.about-story .stats { margin-top: 0; padding-top: 0; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; align-self: flex-start; border-bottom: 1px solid transparent; transition: border-color .3s; }
.text-link:hover { border-color: currentColor; }
.text-link svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.text-link:hover svg { transform: rotate(45deg); }

.about-mani { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 1.8vw, 28px); margin-bottom: clamp(40px, 5vw, 80px); }
.about-mani__media { position: relative; border-radius: var(--radius); overflow: hidden; background: #e4e4e4; min-height: 520px; }
.about-mani__media img { width: 100%; height: 100%; object-fit: cover; }
.about-mani__content { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-block: 8px; }
.about-mani__top { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.about-mani__title { font-size: clamp(30px, 2.9vw, 50px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.12; }
.about-mani__text { color: var(--muted); font-size: clamp(14px, 1vw, 17px); line-height: 1.45; max-width: 64ch; }
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.about-card-wrap { display: flex; flex-direction: column; gap: 8px; }
.about-card__num { font-weight: 600; font-size: 14px; }
.about-card { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: clamp(12px, 1vw, 18px); border-radius: 14px; background: var(--ink); color: #fff; aspect-ratio: 204 / 292; overflow: hidden; }
.about-card.is-yellow { background: var(--yellow); color: var(--ink); }
.about-card.is-yellow .stars { color: var(--ink); }
.about-card .stars svg { width: 12px; height: 12px; }
.about-card blockquote { flex: 1; font-size: clamp(12px, .92vw, 15px); font-weight: 600; line-height: 1.3; overflow: hidden; }
.about-card figcaption { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.about-card figcaption strong { display: block; font-weight: 600; }
.about-card figcaption small { display: block; opacity: .65; }
.about-card__avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.about-card--photo { padding: 0; background: #ddd; }
.about-card--photo img { width: 100%; height: 100%; object-fit: cover; }
.about .video-block { margin-top: 0; }

/* ---------- Blog (cabeçalho e grid, igual ao Framer) ---------- */
.blog-head { padding-top: calc(var(--header-h) + clamp(60px, 8vw, 120px)); padding-bottom: clamp(40px, 6vw, 100px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.blog-head__title { font-size: clamp(56px, 6.2vw, 112px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.blog-head__side { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.blog-head__text { font-size: clamp(18px, 1.7vw, 28px); font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; max-width: 30ch; }
.post-grid--blog { gap: 8px; row-gap: clamp(32px, 4vw, 56px); }
.post-grid--blog .post-card__media { aspect-ratio: 443 / 380; border-radius: 12px; }
.post-grid--blog .post-card__title { font-size: clamp(18px, 1.4vw, 22px); }
.post-grid--blog .post-card__date { font-size: 15px; }

/* ---------- Contato ---------- */
.contato { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 100px)); }
.contato__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.contato__info { display: flex; flex-direction: column; gap: 24px; }
.canais { margin-top: 8px; border-top: 1px solid var(--line); }
.canais a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; transition: padding .4s var(--ease); }
.canais a:hover { padding-left: 10px; }
.canais svg { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.canais a:hover svg { transform: rotate(45deg); }
.form-card { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; scroll-margin-top: calc(var(--header-h) + 20px); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid transparent; border-radius: 12px; padding: 14px 16px; transition: border-color .2s, background .2s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form-note { font-size: 12px; color: var(--muted); line-height: 1.45; }
.form-note a { text-decoration: underline; }
.form-msg { padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form-msg--ok { background: #eafbe7; color: #145c22; }
.form-msg--err { background: #fdecec; color: #8a1c1c; }

/* ---------- Rodapé (tela cheia, cresce ao chegar) ---------- */
.site-footer { position: relative; z-index: 1; background: var(--bg); padding: 10px; min-height: 100vh; min-height: 100svh; display: flex; }
.footer-card {
	--grow: 1;
	flex: 1;
	display: flex; flex-direction: column; justify-content: space-between;
	min-height: calc(100vh - 20px); min-height: calc(100svh - 20px);
	background: var(--ink); color: #fff; border-radius: var(--radius);
	padding: clamp(32px, 4vw, 64px) clamp(20px, 3vw, 40px) 28px;
	transform: scale(calc(0.8 + 0.2 * var(--grow)));
	transform-origin: 50% 100%;
	will-change: transform;
}
.footer-card { gap: clamp(28px, 3.5vw, 56px); color: #fff; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 80px); align-items: end; }
.footer-top__title { font-size: clamp(36px, 4.4vw, 84px); font-weight: 400; line-height: 1.02; letter-spacing: -0.045em; max-width: 13ch; }
.footer-top__side { display: flex; flex-direction: column; gap: 24px; }
.footer-top__side p { color: var(--muted-2); font-size: clamp(16px, 1.2vw, 19px); max-width: 38ch; }
.footer-top__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.footer-mail:hover { color: var(--yellow); border-color: var(--yellow); }
.footer-mail svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.footer-mail:hover svg { transform: rotate(45deg); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line-light); }
.footer-col__label { display: block; color: var(--muted-2); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { display: inline-flex; font-size: clamp(15px, 1.1vw, 18px); transition: color .3s; }
.footer-col a:hover { color: var(--yellow); }
.footer-col__info li { font-size: clamp(15px, 1.1vw, 18px); }
.footer-col__muted { color: var(--muted-2); font-size: 13px; }
.footer-col__status { display: inline-flex !important; align-items: center; gap: 10px; color: var(--yellow); margin-top: 6px; }
.footer-col__status .badge-cta__dot { background: var(--yellow); }
.footer-col__status .badge-cta__dot::after { border-color: var(--yellow); }
.footer-brand { color: #15101b; line-height: 0; margin: 0 calc(-1 * clamp(20px, 3vw, 40px)) -28px; padding: 0 clamp(20px, 3vw, 40px); aspect-ratio: 168 / 30; overflow: hidden; }
.footer-brand svg { width: 100%; height: auto; display: block; transform: translateY(8%); transition: transform 1.2s var(--ease); }
.site-footer:hover .footer-brand svg { transform: translateY(2%); }
.footer-brand svg path { fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; font-size: 14px; color: var(--muted-2); padding-right: 76px; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a:hover, .footer-top-btn:hover { color: var(--yellow); }
.footer-top-btn { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.footer-top-btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.footer-top-btn:hover svg { transform: translateY(-4px); }

/* ---------- Barra amarela no topo do herói (entra depois do carregamento e fica) ---------- */
.hero__bar { position: absolute; inset: 0 0 auto; height: 12px; z-index: 2; display: flex; pointer-events: none; }
.hero__bar span { flex: 1; background: var(--yellow); opacity: 0; transition: transform 1.3s cubic-bezier(.77, 0, .18, 1), opacity .4s; }
.hero__bar span:first-child { transform: translateX(-101%); }
.hero__bar span:last-child { transform: translateX(101%); }
.is-loaded .hero__bar span { transform: none; opacity: 1; transition-delay: .35s; }

/* ---------- Tela de carregamento (Home) ---------- */
.preloader { position: fixed; inset: 0; z-index: 10000; pointer-events: none; animation: preFailsafe 0s 6s forwards; }
@keyframes preFailsafe { to { visibility: hidden; } }
.preloader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); transition: transform 1.1s cubic-bezier(.77, 0, .18, 1); }
.preloader__half--top { top: 0; }
.preloader__half--bottom { bottom: 0; }
.preloader__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.12); transform-origin: center; transform: scaleX(0); animation: preLine 1s var(--ease) .1s forwards; }
@keyframes preLine { to { transform: scaleX(1); } }
.preloader__logo { position: absolute; left: 50%; top: 50%; width: clamp(110px, 12vw, 170px); aspect-ratio: 1; transform: translate(-50%, -50%) scale(.6); opacity: 0; border-radius: 50%; overflow: hidden; animation: preLogo .7s var(--ease) .15s forwards; transition: transform .6s var(--ease), opacity .4s; }
.preloader__logo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes preLogo { to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.preloader.is-done .preloader__half--top { transform: translateY(-100%); }
.preloader.is-done .preloader__half--bottom { transform: translateY(100%); }
.preloader.is-done .preloader__logo { transform: translate(-50%, -50%) scale(.4); opacity: 0; animation: none; }
.preloader.is-done .preloader__line { opacity: 0; transition: opacity .3s; }
.preloader.is-gone { display: none; }
/* Herói só anima depois da tela de carregamento */
.has-preloader .hero__line, .has-preloader .hero__text, .has-preloader .hero__name, .has-preloader .hero__bg img { animation-play-state: paused; }
.has-preloader.is-loaded .hero__line, .has-preloader.is-loaded .hero__text, .has-preloader.is-loaded .hero__name, .has-preloader.is-loaded .hero__bg img { animation-play-state: running; }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.logos__track { animation: none; }
	.footer-card { transform: none; }
	.preloader { display: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
	.site-nav { display: none; }
	.site-header__inner { grid-template-columns: 1fr auto; }
	.menu-toggle { display: grid; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
	.footer-bottom { padding-right: 0; }
}

@media (max-width: 860px) {
	:root { --header-h: 68px; }
	.site-header__actions .badge-cta { display: none; }
	.manifesto__grid, .page-hero, .case__head, .case__block, .faq__grid, .contato__grid, .sobre__grid { grid-template-columns: 1fr; }
	.manifesto__media { min-height: 0; aspect-ratio: 4 / 4.4; }
	.faq__head { position: static; }
	.method__head, .method__steps { grid-template-columns: 1fr; }
	.method__intro { justify-self: start; }
	.method__track { display: none; }
	.post-grid { grid-template-columns: 1fr 1fr; }
	.sobre__photos { position: static; }
	.hero__top { flex-direction: column; align-items: flex-start; gap: 14px; }
	.hero__text { max-width: 100%; }
	.faq-item__a { padding-left: 24px; }
	.about-story, .about-mani, .blog-head { grid-template-columns: 1fr; }
	.about-story__big, .about-mani__media { min-height: 0; aspect-ratio: 4 / 5; }
}

@media (max-width: 600px) {
	.work-grid, .post-grid, .case__gallery--pairs { grid-template-columns: 1fr; }
	.section-head { align-items: flex-start; flex-direction: column; }
	.hero__line:nth-child(2) { padding-left: .5em; }
	.hero__name { font-size: 16.5vw; }
	.footer-top { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.depo-card { flex-basis: 84vw; }
	.sobre__tall--alt { margin-top: 24px; }
	.case__facts { flex-direction: column; gap: 8px; }
	.about-story__top { grid-template-columns: 1fr; }
	.about-story__small { width: 70%; }
	.about-cards { grid-template-columns: 1fr 1fr; }
	.about-card { aspect-ratio: auto; min-height: 260px; }
	.float-cta { width: 52px; height: 52px; }
	.float-menu__list a { padding: 10px 16px; font-size: 15px; }
}

/* ---------- Cursor personalizado (só com mouse) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	html.has-cursor, html.has-cursor * { cursor: none !important; }
	html.has-cursor input, html.has-cursor textarea, html.has-cursor select, html.has-cursor [contenteditable] { cursor: text !important; }
	html.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 10000; pointer-events: none; }
	.cursor__dot {
		width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
		background: #fff; mix-blend-mode: difference;
		transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), border-radius .45s var(--ease), opacity .3s;
	}
	.cursor__dot.is-link { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
	.cursor__dot.is-down { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
	.cursor__dot.is-text { width: 4px; height: 28px; margin: -14px 0 0 -2px; border-radius: 2px; }
	.cursor__dot.has-label { opacity: 0; }
	html.has-cursor .cursor__label {
		display: inline-flex; align-items: center; gap: 6px;
		transform: translate(-50%, -50%) scale(.3); opacity: 0;
		padding: 12px 18px; border-radius: 999px; background: var(--yellow); color: var(--ink);
		font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
		transition: transform .45s var(--ease), opacity .3s var(--ease);
	}
	.cursor__label svg { width: 13px; height: 13px; }
	html.has-cursor .cursor__label.has-label { transform: translate(-50%, -50%) scale(1); opacity: 1; }
	.cursor.is-hidden { opacity: 0 !important; }
}

/* ---------- Manifesto: palavras acendem com a rolagem ---------- */
.js [data-words] .mw { opacity: .16; transition: opacity .35s linear; }
.js [data-words] .mw.is-lit { opacity: 1; }

/* ---------- Próximo projeto (fim do case) ---------- */
.next-case { padding-block: clamp(72px, 9vw, 140px) clamp(40px, 5vw, 80px); --p: 0; }
.next-case__link { position: relative; display: block; color: var(--ink); }
.next-case__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 500; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.next-case__label span { font-family: var(--serif); font-style: italic; color: var(--ink); }
.next-case__title {
	display: block; font-size: clamp(64px, 13vw, 220px); font-weight: 400; letter-spacing: -0.06em; line-height: .9;
	margin: clamp(18px, 2vw, 32px) 0 clamp(24px, 3vw, 44px);
	transform: translateY(calc((1 - var(--p)) * 30%)); opacity: calc(.25 + var(--p) * .75);
	transition: color .5s var(--ease);
}
.next-case__link:hover .next-case__title { color: var(--yellow-ink); }
.next-case__media {
	display: block; aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--radius);
	clip-path: inset(calc((1 - var(--p)) * 18%) calc((1 - var(--p)) * 28%) round var(--radius));
	background: #e6e6e6;
}
.next-case__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - var(--p) * .25)); transition: filter .6s var(--ease); }
.next-case__link:hover .next-case__media img { filter: brightness(1.05); }
.next-case__foot { display: flex; justify-content: center; margin-top: clamp(28px, 3vw, 48px); }

/* ---------- Barra de leitura (artigos e cases) ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 120; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Botões magnéticos ---------- */
.is-magnetic { transition: transform .6s var(--ease); will-change: transform; }
.is-magnetic.is-pulling { transition: transform .15s linear; }


@media (prefers-reduced-motion: reduce) {
	.js [data-words] .mw { opacity: 1; }
	.next-case { --p: 1 !important; }
}
