/* ==========================================================================
   Samuel Rodrigo — Web Designer
   Direção: “Pétalas ao amanhecer” — luxo claro, editorial e silencioso.
   ========================================================================== */

/* ---------- Fontes (auto-hospedadas, subconjunto latino) ---------- */
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
/* Métricas aproximadas das fontes de fallback, para reduzir o layout shift na troca */
@font-face { font-family: "Serif Fallback"; src: local("Times New Roman"), local("Times"); size-adjust: 92%; ascent-override: 98%; descent-override: 26%; }
@font-face { font-family: "Sans Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 104%; ascent-override: 102%; descent-override: 29%; }

/* ---------- Tokens ---------- */
:root {
  --ivory: #F6F1E9;
  --paper: #FBF8F3;
  --sand-soft: #EFE7DB;
  --sand: #E8DDCD;
  --sand-deep: #D9CAB4;
  --stone: #B5AA9B;
  --taupe: #8A8075;
  --mineral: #5E5852;
  --graphite: #2B2825;
  --graphite-2: #302C29;
  --champagne: #C8A979;
  --champagne-soft: #E9DCC7;
  --champagne-deep: #8B6A3F;
  --blush: #EBD7CC;
  --line: rgba(43, 40, 37, .12);
  --line-strong: rgba(43, 40, 37, .22);

  --serif: "Instrument Serif", "Serif Fallback", Georgia, serif;
  --sans: "Manrope", "Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.9rem, 1rem + 6.1vw, 8rem);
  --fs-h2: clamp(2.6rem, 1.5rem + 4.3vw, 6.2rem);
  --fs-h3: clamp(2rem, 1.5rem + 1.9vw, 3.4rem);
  --fs-lead: clamp(1.05rem, .98rem + .32vw, 1.24rem);
  --fs-small: .8125rem;

  --gutter: clamp(1rem, .4rem + 2.6vw, 2.75rem);
  --section-y: clamp(5.5rem, 3rem + 8vw, 11rem);
  --radius: clamp(1.25rem, .8rem + 1.6vw, 2.25rem);
  --nav-h: 4.75rem;

  --ease-out: cubic-bezier(.16, 1, .3, 1);      /* revelações — expo-out */
  --ease-soft: cubic-bezier(.33, 1, .68, 1);    /* opacidades — cubic-out */
  --ease-io: cubic-bezier(.83, 0, .17, 1);      /* transições de estado — quint-in-out */
  --ease-back: cubic-bezier(.34, 1.56, .64, 1); /* microinterações com leve rebote */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--graphite);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; }
ol, ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--champagne-soft); color: var(--graphite); }
:focus-visible { outline: 2px solid var(--champagne-deep); outline-offset: 4px; border-radius: 4px; }

.container { width: 100%; max-width: 1640px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 200; padding: .75rem 1.1rem; border-radius: 999px;
  background: var(--graphite); color: var(--ivory); transform: translateY(-160%); transition: transform .4s var(--ease-out);
}
.skip:focus { transform: none; }

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--champagne-soft), var(--champagne)); transform-origin: left; transform: scaleX(var(--progress, 0)); }

/* ---------- Tipografia utilitária ---------- */
.label {
  display: inline-flex; align-items: center; gap: .75rem;
  font: 500 var(--fs-small)/1.4 var(--sans); letter-spacing: .01em; color: var(--mineral);
}
.label::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: .55; }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font: 500 .9rem/1.3 var(--sans); color: var(--mineral); }
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 0 .3rem rgba(200, 169, 121, .2); }
.title { font: 400 var(--fs-h2)/.98 var(--serif); letter-spacing: -.022em; text-wrap: balance; }
.title em, .contact__title em, .idea__text em { font-style: italic; }
.title--sm { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.6rem); }

.link { position: relative; display: inline-flex; align-items: center; gap: .4em; font-weight: 600; }
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.18em; height: 1px; background: currentColor;
  transform: scaleX(1); transform-origin: left; transition: transform .6s var(--ease-out);
}
.link:hover::after { animation: underline .9s var(--ease-out); }
@keyframes underline { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.link--arrow span { display: inline-block; transition: transform .5s var(--ease-back); }
.link--arrow:hover span { transform: translate(3px, -3px); }
.link--muted { color: var(--mineral); font-weight: 500; }

/* ---------- Botões ---------- */
.btn {
  --tx: 0px; --ty: 0px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 3rem; padding: .85rem 1.5rem; border-radius: 999px;
  font: 600 .95rem/1 var(--sans); letter-spacing: .005em; white-space: nowrap;
  translate: var(--tx) var(--ty);
  transition: translate .6s var(--ease-out), color .5s var(--ease-out), box-shadow .6s var(--ease-out), background-color .5s;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  background: var(--champagne); transform: translateY(102%);
  transition: transform .75s var(--ease-out), border-radius .75s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; border-radius: 0; }
.btn--dark { background: var(--graphite); color: var(--ivory); box-shadow: 0 14px 30px -18px rgba(43, 40, 37, .85); }
.btn--dark:hover, .btn--dark:focus-visible { color: var(--graphite); box-shadow: 0 20px 38px -20px rgba(139, 106, 63, .9); }
.btn--ghost { color: var(--graphite); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost::before { background: var(--graphite); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ivory); }
.btn--sm { min-height: 2.6rem; padding: .7rem 1.15rem; font-size: .875rem; }
.btn--lg { min-height: 3.5rem; padding: 1rem 1.7rem; font-size: 1rem; }
.btn--xl { min-height: 4.25rem; padding: 1.2rem 2.2rem; font-size: 1.08rem; }
.btn__icon { position: relative; width: 1em; height: 1em; overflow: hidden; flex: none; }
.btn__icon svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease-out); }
.btn__icon svg + svg { transform: translateX(-130%); }
.btn:hover .btn__icon svg:first-child { transform: translateX(130%); }
.btn:hover .btn__icon svg + svg { transform: none; }
.btn__icon--down svg + svg { transform: translateY(-130%); }
.btn:hover .btn__icon--down svg:first-child { transform: translateY(130%); }
.btn__wa { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-left: -.55rem; border-radius: 50%; background: rgba(246, 241, 233, .12); transition: background .5s; }
.btn__wa svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.btn:hover .btn__wa { background: rgba(43, 40, 37, .1); }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: 0 max(var(--gutter), calc((100% - 1640px) / 2 + var(--gutter)), env(safe-area-inset-right)) 0 max(var(--gutter), calc((100% - 1640px) / 2 + var(--gutter)), env(safe-area-inset-left));
  transition: transform .7s var(--ease-out), background-color .5s, box-shadow .5s, opacity .9s var(--ease-soft);
}
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(246, 241, 233, .78); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .5s; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-105%); }
.js .nav { opacity: 0; transform: translateY(-1.25rem); }
.js.is-loaded .nav { opacity: 1; transform: none; transition-delay: .55s; }
.js.is-loaded .nav.is-hidden { transform: translateY(-105%); transition-delay: 0s; }
.js.is-loaded .nav:not(.is-hidden) { transition-delay: 0s; }
html.is-loaded:not(.is-settled) .nav { transition-delay: .55s; }

.brand { display: inline-flex; align-items: center; gap: .65rem; justify-self: start; }
.brand__mark { width: 1.75rem; height: 1.75rem; overflow: visible; }
.brand__petals { fill: var(--champagne); transform-origin: center; transition: transform 1.2s var(--ease-out); }
.brand__mark circle { fill: var(--graphite); }
.brand:hover .brand__petals { transform: rotate(72deg); }
.brand__name { font: 600 1.02rem/1 var(--sans); letter-spacing: -.01em; }
.brand__name em { font: italic 400 1.28em/1 var(--serif); letter-spacing: 0; }

.nav__links { display: flex; gap: clamp(1.25rem, 2.4vw, 2.5rem); font: 500 .94rem/1 var(--sans); }
.nav__links a { position: relative; padding: .5rem 0; color: var(--mineral); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 50%; bottom: -.15rem; width: .3rem; height: .3rem; margin-left: -.15rem; border-radius: 50%; background: var(--champagne); transform: scale(0); transition: transform .5s var(--ease-back); }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--graphite); }
.nav__links a[aria-current="true"]::after { transform: scale(1); }
.nav__cta { justify-self: end; }
.nav__toggle { display: none; justify-self: end; position: relative; width: 2.9rem; height: 2.9rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); }
.nav__toggle i { position: absolute; left: 50%; top: 50%; width: 1.1rem; height: 1.5px; margin-left: -.55rem; background: currentColor; border-radius: 2px; transition: transform .55s var(--ease-io); }
.nav__toggle i:first-of-type { transform: translateY(-3.5px); }
.nav__toggle i:last-of-type { transform: translateY(3.5px); }
.nav__toggle[aria-expanded="true"] i:first-of-type { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:last-of-type { transform: rotate(-45deg); }

/* Menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background: var(--ivory); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io), visibility 0s .8s; visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.menu[hidden] { display: none; }
.menu ol { display: grid; gap: .35rem; }
.menu a[data-menu-link] { display: flex; align-items: baseline; gap: 1rem; font: 400 clamp(2.6rem, 11vw, 4rem)/1.1 var(--serif); letter-spacing: -.01em; }
.menu a[data-menu-link] span { font: 500 .8rem/1 var(--sans); color: var(--mineral); }
.menu li { overflow: hidden; }
.menu li a { transform: translateY(110%); transition: transform .9s var(--ease-out); }
.menu.is-open li a { transform: none; }
.menu.is-open li:nth-child(2) a { transition-delay: .06s; } .menu.is-open li:nth-child(3) a { transition-delay: .12s; }
.menu.is-open li:nth-child(4) a { transition-delay: .18s; } .menu.is-open li:nth-child(5) a { transition-delay: .24s; }
.menu__foot { display: grid; gap: 1.25rem; justify-items: start; opacity: 0; transform: translateY(1rem); transition: .8s var(--ease-out) .3s; }
.menu.is-open .menu__foot { opacity: 1; transform: none; }

/* ---------- Revelações ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .07em .16em; margin: -.02em -.07em -.16em; }
.w > span { display: inline-block; }
.nw { white-space: nowrap; }
.js [data-split]:not(.is-split) { opacity: 0; animation: failsafe 0s 2.5s forwards; }
@keyframes failsafe { to { opacity: 1; } }
.js [data-split].is-split .w > span { transform: translate3d(0, 112%, 0) rotate(4deg); transform-origin: 0 100%; transition: transform 1.25s var(--ease-out) calc(var(--d, 0s) + var(--i, 0) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }
.js [data-reveal] { opacity: 0; transform: translate3d(0, 2.25rem, 0); transition: opacity 1s var(--ease-soft) var(--d, 0s), transform 1.3s var(--ease-out) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-top: var(--nav-h); overflow: hidden; isolation: isolate; }
.hero__sky {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(58% 60% at 86% 4%, rgba(236, 214, 193, .9), rgba(236, 214, 193, 0) 70%),
    radial-gradient(45% 50% at 6% 96%, rgba(226, 213, 194, .7), rgba(226, 213, 194, 0) 70%),
    linear-gradient(180deg, #F9F5EF 0%, #F4EDE3 100%);
}
.hero__sky::after, .contact::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__petals, .contact__petals { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 2.2s var(--ease-soft); }
.hero__petals.is-live, .contact__petals.is-live { opacity: 1; }

.hero__inner { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 1.75rem); align-items: center; padding-block: clamp(2rem, 5vh, 4rem) clamp(1.5rem, 3vh, 2.5rem); }
.hero__copy { grid-column: 1 / 8; grid-row: 1; position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: clamp(1.25rem, 3vh, 2rem); }
.hero__title { font: 400 var(--fs-display)/.92 var(--serif); letter-spacing: -.025em; }
.hero__line { display: block; }
.hero__line--indent { padding-left: 1.05em; }
.hero__title em { font-style: italic; letter-spacing: -.01em; }
.hero__ink { position: relative; color: var(--champagne-deep); }
.hero__ink::after {
  content: ""; position: absolute; left: -.04em; right: -.06em; bottom: -.02em; height: .2em; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M3 15C70 7 160 4 297 11' fill='none' stroke='%23C8A979' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-io) 1.15s;
}
.is-loaded .hero__ink::after { clip-path: inset(0 0 0 0); }
html:not(.js) .hero__ink::after { clip-path: none; }
.hero__lead { max-width: 33rem; margin-top: clamp(1.5rem, 3.5vh, 2.25rem); font-size: var(--fs-lead); line-height: 1.6; color: var(--mineral); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.75rem, 4vh, 2.5rem); }
.js [data-intro] { opacity: 0; transform: translate3d(0, 1.5rem, 0); transition: opacity 1s var(--ease-soft), transform 1.3s var(--ease-out); }
.js.is-loaded [data-intro] { opacity: 1; transform: none; }
.js.is-loaded [data-intro="1"] { transition-delay: .05s; }
.js.is-loaded [data-intro="2"] { transition-delay: .35s; }
.js.is-loaded [data-intro="3"] { transition-delay: .5s; }
.js.is-loaded [data-intro="4"] { transition-delay: 1.1s; }

/* Composição da primeira dobra: um “quadro de referências” vivo */
.stage { grid-column: 8 / 13; grid-row: 1; position: relative; z-index: 1; aspect-ratio: 1 / .92; width: 100%; max-height: calc(100svh - var(--nav-h) - 6rem); justify-self: end; margin-right: calc(var(--gutter) * -.25); container-type: inline-size; }
.stage > * { position: absolute; }
.js .stage > [data-depth], .js .stage__cursor, .js .stage__guides { opacity: 0; transform: translate3d(0, 3rem, 0) scale(.96); transition: opacity 1.1s var(--ease-soft), transform 1.6s var(--ease-out), filter 1.2s var(--ease-soft); }
/* desfoque de entrada só em telas grandes — no celular, opacidade e deslocamento bastam */
@media (min-width: 961px) { .js .stage > [data-depth], .js .stage__cursor { filter: blur(10px); } }
.js.is-loaded .stage > [data-depth], .js.is-loaded .stage__cursor, .js.is-loaded .stage__guides { opacity: 1; transform: none; filter: none; }
.js.is-loaded .stage__silk { transition-delay: .35s; }
.js.is-loaded .stage__win { transition-delay: .45s; }
.js.is-loaded .stage__phone { transition-delay: .7s; }
.js.is-loaded .stage__type { transition-delay: .85s; }
.js.is-loaded .stage__palette { transition-delay: 1s; }
.js.is-loaded .stage__guides { transition-delay: .2s; }
.js.is-loaded .stage__cursor { transition-delay: 1.4s; }

.stage__guides { inset: 0; pointer-events: none; }
.stage__guides .g-v { position: absolute; left: 9%; top: -6%; bottom: -4%; width: 1px; background: linear-gradient(180deg, transparent, rgba(139, 106, 63, .35) 15%, rgba(139, 106, 63, .35) 85%, transparent); }
.stage__guides .g-h { position: absolute; top: 18%; left: -8%; right: -6%; height: 1px; background: linear-gradient(90deg, transparent, rgba(139, 106, 63, .35) 12%, rgba(139, 106, 63, .35) 88%, transparent); }
.g-l { position: absolute; font: 500 .66rem/1 var(--sans); letter-spacing: .06em; color: var(--mineral); background: var(--ivory); padding: .25rem .4rem; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(139, 106, 63, .25); }
.g-l--w { top: calc(18% - .7rem); left: 46%; }
.g-l--h { left: calc(9% - 2.6rem); top: 58%; transform: rotate(-90deg); }

.stage__silk { right: 1%; top: 0; width: 31%; margin: 0; z-index: 1; }
.stage__silk img { width: 100%; aspect-ratio: 3 / 4.1; object-fit: cover; border-radius: 999px 999px .9rem .9rem; box-shadow: 0 30px 50px -30px rgba(90, 64, 34, .55); }

.stage__win { left: 11%; top: 21%; width: 76%; z-index: 3; border-radius: .9rem; overflow: hidden; background: var(--paper); box-shadow: 0 2px 0 rgba(255, 255, 255, .6) inset, 0 50px 90px -40px rgba(60, 44, 28, .55), 0 0 0 1px rgba(43, 40, 37, .08); }
.chrome { display: flex; align-items: center; gap: .9rem; height: 2.1rem; padding: 0 .85rem; background: #F2EDE5; border-bottom: 1px solid var(--line); }
.chrome__dots { display: flex; gap: .3rem; }
.chrome__dots i { width: .5rem; height: .5rem; border-radius: 50%; background: #D8CDBE; }
.chrome__url { flex: 1; max-width: 15rem; margin-inline: auto; padding: .22rem .75rem; border-radius: 99px; background: rgba(255, 255, 255, .75); font: 500 .68rem/1.2 var(--sans); color: var(--mineral); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateX(-1.1rem); }
.chrome--dark { background: #1C1F33; border-color: rgba(255, 255, 255, .06); }
.chrome--dark .chrome__dots i { background: #3A3F5C; }
.chrome--dark .chrome__url { background: rgba(255, 255, 255, .06); color: #9AA0BB; }
.stage__screen { aspect-ratio: 16 / 10; background: #E7E1D8; }
.stage__video { width: 100%; height: 100%; object-fit: cover; }

.stage__phone { left: 2%; bottom: 3%; width: 25%; z-index: 4; aspect-ratio: 9 / 18.6; padding: .4rem; border-radius: 1.6rem; background: var(--graphite); box-shadow: 0 40px 70px -30px rgba(40, 28, 16, .7), inset 0 0 0 1px rgba(255, 255, 255, .08); rotate: -5deg; }
.phone__notch { position: absolute; z-index: 2; left: 50%; top: .75rem; width: 30%; height: .7rem; margin-left: -15%; border-radius: 99px; background: var(--graphite); }
.phone__screen { width: 100%; height: 100%; overflow: hidden; border-radius: 1.25rem; background: #F5F0E6; }
.phone__screen img { width: 100%; height: auto; animation: phone-scroll 22s var(--ease-io) infinite; will-change: transform; }
@keyframes phone-scroll {
  0%, 10% { transform: translateY(0); }
  30%, 38% { transform: translateY(var(--p1, -22%)); }
  58%, 66% { transform: translateY(var(--p2, -46%)); }
  84%, 90% { transform: translateY(var(--p3, -68%)); }
  100% { transform: translateY(0); }
}

.stage__type { left: 2%; top: 3%; z-index: 5; display: flex; align-items: center; gap: .9rem; padding: .85rem 1.15rem .85rem .9rem; border-radius: 1rem; background: rgba(251, 248, 243, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 40px -26px rgba(60, 44, 28, .55), 0 0 0 1px rgba(43, 40, 37, .07); }
.type__aa { font: 400 clamp(2rem, 6cqi, 3.1rem)/.8 var(--serif); letter-spacing: -.02em; }
.type__meta { display: grid; gap: .2rem; font: 500 .7rem/1.2 var(--sans); color: var(--mineral); }
.type__meta b { font-weight: 600; font-size: .78rem; color: var(--graphite); }

.stage__palette { right: 3%; bottom: 7%; z-index: 5; display: flex; align-items: center; gap: .3rem; padding: .5rem .9rem .5rem .55rem; border-radius: 999px; background: rgba(251, 248, 243, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 40px -26px rgba(60, 44, 28, .55), 0 0 0 1px rgba(43, 40, 37, .07); }
.stage__palette i { width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(43, 40, 37, .14); }
.stage__palette i + i { margin-left: -.55rem; }
.stage__palette span { margin-left: .5rem; font: 500 .7rem/1 var(--sans); color: var(--mineral); white-space: nowrap; }

.stage__cursor { left: 0; top: 0; z-index: 6; display: flex; align-items: flex-start; gap: .1rem; pointer-events: none; animation: cursor-path 14s var(--ease-io) infinite; }
.stage__cursor svg { width: 1.1rem; height: 1.2rem; fill: var(--champagne-deep); stroke: #fff; stroke-width: 1.3; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .2)); }
.stage__cursor span { margin-top: 1rem; padding: .28rem .6rem; border-radius: .4rem .9rem .9rem .9rem; background: var(--champagne-deep); color: #fff; font: 600 .7rem/1 var(--sans); }
@keyframes cursor-path {
  0%, 6% { translate: 58cqi 62cqi; }
  20%, 30% { translate: 20cqi 13cqi; }
  44%, 54% { translate: 76cqi 30cqi; }
  68%, 78% { translate: 74cqi 82cqi; }
  92%, 100% { translate: 58cqi 62cqi; }
}

.hero__foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: clamp(1.25rem, 3vh, 2rem); font: 500 .82rem/1.2 var(--sans); color: var(--mineral); }
.scrollcue { display: inline-flex; align-items: center; gap: .8rem; }
.scrollcue__bar { position: relative; width: 1px; height: 2.6rem; overflow: hidden; background: var(--line-strong); }
.scrollcue__bar::after { content: ""; position: absolute; inset: 0; background: var(--graphite); transform: translateY(-100%); animation: drip 2.6s var(--ease-out) infinite; }
@keyframes drip { 55%, 100% { transform: translateY(100%); } }
.hero__tags { display: flex; align-items: center; gap: 1rem; }
.hero__tags span { display: inline-flex; align-items: center; gap: 1rem; }
.hero__tags span + span::before { content: ""; width: .3rem; height: .3rem; border-radius: 50%; background: var(--champagne); }
.motion-toggle { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .8rem; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); font: 500 .78rem/1 var(--sans); color: var(--mineral); transition: box-shadow .3s, color .3s; }
.motion-toggle:hover { color: var(--graphite); box-shadow: inset 0 0 0 1px var(--line-strong); }
.motion-toggle i { width: .55rem; height: .65rem; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.is-still .motion-toggle i { width: 0; height: 0; border: 0; border-left: .55rem solid currentColor; border-top: .33rem solid transparent; border-bottom: .33rem solid transparent; }
.is-still .stage *, .is-still .scrollcue__bar::after { animation-play-state: paused !important; }

/* ---------- MANIFESTO ---------- */
.idea { padding-block: var(--section-y); }
.idea__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 1.75rem); row-gap: 3rem; }
.idea .label { grid-column: 1 / 3; align-self: start; padding-top: .9rem; }
.idea__text { grid-column: 3 / 12; font: 400 clamp(2rem, 1.1rem + 3.3vw, 4.5rem)/1.08 var(--serif); letter-spacing: -.018em; text-wrap: pretty; }
.idea__text em { color: var(--champagne-deep); }
/* palavras “apagadas” mantêm contraste mínimo de 3:1 (texto grande) */
.js .idea__text .sw { color: #938A80; transition: color .6s var(--ease-soft); }
.js .idea__text .sw.on { color: var(--graphite); }
.js .idea__text em .sw.on { color: var(--champagne-deep); }
.idea__aside { grid-column: 7 / 12; display: grid; gap: 1.5rem; justify-items: start; font-size: 1.05rem; color: var(--mineral); }
.idea__aside strong { color: var(--graphite); font-weight: 600; }

/* ---------- PORTFÓLIO ---------- */
.works { padding-block: calc(var(--section-y) * .6) var(--section-y); background: linear-gradient(180deg, var(--ivory) 0, var(--sand-soft) 22rem, var(--sand-soft) calc(100% - 20rem), var(--ivory) 100%); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 1.75rem); row-gap: 1.75rem; margin-bottom: clamp(3.5rem, 7vw, 7rem); }
.section-head .label { grid-column: 1 / 3; align-self: start; padding-top: 1rem; }
.section-head .title { grid-column: 3 / 12; }
.section-head .section-head__text { grid-column: 7 / 12; }
.section-head__text { max-width: 34rem; font-size: 1.05rem; color: var(--mineral); }
.section-head__text strong { color: var(--graphite); font-weight: 600; }

.works__list { display: grid; gap: clamp(5rem, 10vw, 10rem); }
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 1.75rem); align-items: center; }
.work__media, .work__toggle { grid-column: 1 / 9; grid-row: 1; }
.work__info { grid-column: 9 / 13; grid-row: 1; padding-left: clamp(0rem, 1.5vw, 1.5rem); }
.work--flip .work__media, .work--flip .work__toggle { grid-column: 5 / 13; }
.work--flip .work__info { grid-column: 1 / 5; padding: 0 clamp(0rem, 1.5vw, 1.5rem) 0 0; }

.work__media {
  --mx: 50%; --my: 50%;
  position: relative; display: block; padding: clamp(1rem, 3.4vw, 3.25rem); border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: var(--panel); cursor: pointer;
}
.work__media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(42rem circle at var(--mx) var(--my), rgba(255, 255, 255, var(--glow, .14)), transparent 55%); opacity: 0; transition: opacity .6s; }
.work__media:hover::before { opacity: 1; }
.work__media::after { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--panel-art, none); opacity: .9; transform: scale(1.04); transition: transform 1.6s var(--ease-out); }
.work__media:hover::after { transform: scale(1); }
.work__frame { position: relative; border-radius: .8rem; overflow: hidden; background: #fff; box-shadow: 0 50px 90px -40px rgba(20, 12, 6, .65), 0 0 0 1px rgba(0, 0, 0, .06); transform: translateZ(0); transition: transform 1s var(--ease-out), box-shadow 1s var(--ease-out); }
.work__media:hover .work__frame { transform: translateY(-.5rem) scale(1.012); box-shadow: 0 70px 100px -40px rgba(20, 12, 6, .7), 0 0 0 1px rgba(0, 0, 0, .06); }
.work__screen { aspect-ratio: 16 / 10; background: var(--screen, #EEE7DC); }
.work__screen video { width: 100%; height: 100%; object-fit: cover; }
.work__toggle {
  z-index: 3; align-self: start; justify-self: end; margin: clamp(1.4rem, 3.4vw, 3.6rem); translate: 0 0;
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: rgba(251, 248, 243, .82); color: var(--graphite); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); transition: transform .5s var(--ease-back), background .3s;
}
.work__toggle:hover { transform: scale(1.08); background: #fff; }
.i-pause { width: .7rem; height: .8rem; border-left: 2.5px solid currentColor; border-right: 2.5px solid currentColor; }
.work__toggle.is-paused .i-pause { width: 0; height: 0; margin-left: .2rem; border: 0; border-left: .7rem solid currentColor; border-top: .45rem solid transparent; border-bottom: .45rem solid transparent; }

.work--veu { --panel: linear-gradient(150deg, #6A2530 0%, #3A1419 100%); --panel-art: radial-gradient(70% 90% at 85% 10%, rgba(232, 178, 168, .35), transparent 60%); --screen: #EFE7DC; }
.work--mono { --panel: linear-gradient(160deg, #DDD3C5 0%, #C9BCAA 100%); --panel-art: radial-gradient(60% 80% at 15% 15%, rgba(255, 246, 232, .7), transparent 60%); --screen: #E9E4DB; --glow: .35; }
.work--raiz { --panel: linear-gradient(160deg, #CBD6C1 0%, #AFC0A4 100%); --panel-art: radial-gradient(60% 70% at 90% 90%, rgba(238, 155, 110, .32), transparent 60%); --screen: #F5F0E6; --glow: .35; }
.work--orbe { --panel: linear-gradient(160deg, #1D2138 0%, #0E1020 100%); --panel-art: radial-gradient(60% 70% at 80% 20%, rgba(163, 174, 255, .28), transparent 60%), radial-gradient(50% 60% at 10% 90%, rgba(147, 228, 210, .18), transparent 60%); --screen: #0C0E19; --glow: .1; }

.work__meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.work__num { font: italic 400 1.6rem/1 var(--serif); color: var(--champagne-deep); }
.badge { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .75rem; border-radius: 999px; background: rgba(251, 248, 243, .7); box-shadow: inset 0 0 0 1px var(--line); font: 600 .72rem/1 var(--sans); color: var(--mineral); }
.badge::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--champagne); }
.work__title { font: 400 clamp(3.2rem, 2rem + 3.6vw, 6rem)/.9 var(--serif); letter-spacing: -.025em; }
.work__cat { margin-top: .9rem; font: 600 .92rem/1.4 var(--sans); }
.work__desc { margin-top: 1.1rem; color: var(--mineral); }
.work__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.4rem; }
.work__tags li { padding: .35rem .7rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font: 500 .76rem/1 var(--sans); color: var(--mineral); }
.work__links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem; margin-top: 2rem; }

.works__note { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: clamp(5rem, 9vw, 9rem); padding-top: 2.25rem; border-top: 1px solid var(--line-strong); }
.works__note p { max-width: 40rem; font: 400 clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem)/1.2 var(--serif); }

/* Cursor de contexto (apenas mouse) */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; display: none; }
.cursor span {
  display: grid; place-items: center; width: 6.5rem; height: 6.5rem; margin: -3.25rem 0 0 -3.25rem; border-radius: 50%;
  background: rgba(43, 40, 37, .86); color: var(--ivory); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 600 .8rem/1 var(--sans); transform: scale(0); transition: transform .55s var(--ease-out);
}
.cursor.is-on span { transform: scale(1); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } .work__media { cursor: none; } }

/* ---------- SERVIÇOS ---------- */
.services { padding-block: var(--section-y); }
.section-head--split .section-head__text { grid-column: 3 / 8; }
.svc { border-bottom: 1px solid var(--line-strong); }
.svc__item {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 1.75rem); align-items: center;
  padding: clamp(1.6rem, 2.6vw, 2.4rem) 0; border-top: 1px solid var(--line-strong);
}
.svc__item::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: linear-gradient(90deg, var(--champagne-soft), rgba(233, 220, 199, .25)); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); }
.svc__num { grid-column: 1 / 2; font: italic 400 1.35rem/1 var(--serif); color: var(--mineral); transition: color .4s; }
.svc__name { grid-column: 2 / 7; font: 400 clamp(1.9rem, 1.3rem + 1.9vw, 3.2rem)/1.02 var(--serif); letter-spacing: -.015em; transition: transform .8s var(--ease-out); }
.svc__benefit { grid-column: 7 / 11; color: var(--mineral); max-width: 32rem; }
.svc__benefit b { color: var(--graphite); font-weight: 600; }
.svc__cta { grid-column: 11 / 13; justify-self: end; position: relative; display: inline-flex; align-items: center; gap: .75rem; }
.svc__cta > span:first-child { position: absolute; right: calc(100% + .75rem); white-space: nowrap; font: 600 .85rem/1 var(--sans); opacity: 0; transform: translateX(.75rem); transition: opacity .5s, transform .6s var(--ease-out); pointer-events: none; }
.svc__cta svg { box-sizing: content-box; width: 1rem; height: 1rem; padding: 1rem; border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .5s var(--ease-out), color .5s, transform .6s var(--ease-back), box-shadow .5s; }
.svc__item:hover::before, .svc__item:focus-within::before { transform: scaleY(1); }
.svc__item:hover .svc__name, .svc__item:focus-within .svc__name { transform: translateX(.75rem); }
.svc__item:hover .svc__num, .svc__item:focus-within .svc__num { color: var(--champagne-deep); }
.svc__item:hover .svc__cta > span:first-child, .svc__item:focus-within .svc__cta > span:first-child { opacity: 1; transform: none; }
.svc__item:hover .svc__cta svg, .svc__cta:focus-visible svg { background: var(--graphite); color: var(--ivory); box-shadow: none; transform: rotate(45deg); }
.svc__cta::after { content: ""; position: absolute; inset: -1rem; }

/* ---------- DIFERENCIAIS ---------- */
.craft { padding-inline: clamp(.5rem, 1.6vw, 1.5rem); }
.craft__sheet {
  padding-block: var(--section-y); border-radius: var(--radius); background: radial-gradient(80% 60% at 85% 0%, #3E3934, transparent 70%), var(--graphite-2); color: var(--ivory);
  transform: scale(calc(.95 + var(--sheet, 1) * .05)); transform-origin: 50% 0;
}
.craft .label, .craft .section-head__text { color: rgba(246, 241, 233, .66); }
.craft .title em { color: var(--champagne); }
.craft :focus-visible { outline-color: var(--champagne); }
.craft__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 4rem) clamp(1.25rem, 2.4vw, 2.5rem); }
.q { padding-top: 1.5rem; border-top: 1px solid rgba(246, 241, 233, .16); }
.q h3 { margin-top: 1.75rem; font: 400 clamp(1.7rem, 1.35rem + .9vw, 2.3rem)/1.05 var(--serif); }
.q p { margin-top: .7rem; color: rgba(246, 241, 233, .66); max-width: 25rem; }
.q__viz { position: relative; height: 8.5rem; border-radius: 1rem; overflow: hidden; background: rgba(246, 241, 233, .045); box-shadow: inset 0 0 0 1px rgba(246, 241, 233, .07); }
.q__viz * { animation-play-state: paused; }
.craft.is-visible .q__viz * { animation-play-state: running; }
.q__viz svg { overflow: visible; }

.viz-type { display: flex; align-items: center; justify-content: center; gap: 1.4rem; font: 400 3.2rem/1 var(--serif); }
.viz-type span { opacity: .28; animation: type-cycle 4.5s var(--ease-io) infinite; }
.viz-type span:nth-child(2) { animation-delay: 1.5s; color: var(--champagne); }
.viz-type span:nth-child(3) { animation-delay: 3s; }
.viz-type .sans { font: 700 2.5rem/1 var(--sans); letter-spacing: -.04em; }
@keyframes type-cycle { 0%, 40%, 100% { opacity: .28; transform: none; } 12%, 28% { opacity: 1; transform: translateY(-.35rem) scale(1.08); } }

.viz-resp { display: grid; place-items: center; }
.resp { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .35rem; width: 80%; height: 5.4rem; padding: .5rem; border-radius: .5rem; box-shadow: inset 0 0 0 1.5px rgba(246, 241, 233, .4); animation: resp 7s var(--ease-io) infinite; overflow: hidden; }
.resp i { flex: 1 1 calc(50% - .35rem); min-width: 3.2rem; height: 1.6rem; border-radius: .3rem; background: rgba(246, 241, 233, .14); }
.resp i:first-child { flex-basis: 100%; height: 1.1rem; background: var(--champagne); opacity: .8; }
@keyframes resp { 0%, 18% { width: 80%; } 33%, 50% { width: 46%; } 66%, 84% { width: 24%; } 100% { width: 80%; } }

.viz-hier { display: grid; align-content: center; gap: .45rem; padding: 0 1.5rem; }
.viz-hier i, .viz-hier b { display: block; border-radius: .25rem; transform-origin: left; animation: hier 5s var(--ease-out) infinite; }
.viz-hier i:nth-child(1) { width: 78%; height: 1.15rem; background: rgba(246, 241, 233, .85); }
.viz-hier i:nth-child(2) { width: 52%; height: .6rem; background: rgba(246, 241, 233, .45); animation-delay: .15s; }
.viz-hier i:nth-child(3) { width: 88%; height: .35rem; background: rgba(246, 241, 233, .2); animation-delay: .3s; }
.viz-hier i:nth-child(4) { width: 70%; height: .35rem; background: rgba(246, 241, 233, .2); animation-delay: .4s; }
.viz-hier b { width: 5.5rem; height: 1.3rem; margin-top: .35rem; border-radius: 99px; background: var(--champagne); animation-delay: .6s; }
@keyframes hier { 0% { transform: scaleX(0); opacity: 0; } 14%, 82% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }

.viz-ux { display: grid; place-items: center; }
.viz-ux b { width: 7.5rem; height: 2.3rem; border-radius: 99px; background: rgba(246, 241, 233, .14); box-shadow: inset 0 0 0 1px rgba(246, 241, 233, .25); animation: ux-btn 4s var(--ease-out) infinite; }
.viz-ux svg { position: absolute; left: 50%; top: 50%; width: 1.3rem; height: 1.4rem; fill: var(--ivory); stroke: var(--graphite); stroke-width: 1.2; animation: ux-cur 4s var(--ease-io) infinite; }
@keyframes ux-cur { 0% { transform: translate(5.5rem, 3rem); } 40%, 50% { transform: translate(.6rem, .2rem); } 54% { transform: translate(.6rem, .2rem) scale(.85); } 60%, 70% { transform: translate(.6rem, .2rem); } 100% { transform: translate(5.5rem, 3rem); } }
@keyframes ux-btn { 0%, 50% { background: rgba(246, 241, 233, .14); transform: none; } 55% { background: var(--champagne); transform: scale(.96); } 62%, 80% { background: var(--champagne); transform: none; } 100% { background: rgba(246, 241, 233, .14); } }

.viz-perf { display: grid; place-items: center; }
.viz-perf svg { width: 9rem; height: auto; margin-top: 1rem; }
.viz-perf path { fill: none; stroke-width: 7; stroke-linecap: round; }
.viz-perf .track { stroke: rgba(246, 241, 233, .1); }
.viz-perf .fill { stroke: var(--champagne); stroke-dasharray: 1; stroke-dashoffset: 1; animation: perf 4s var(--ease-out) infinite; }
@keyframes perf { 0% { stroke-dashoffset: 1; } 30%, 80% { stroke-dashoffset: .04; } 100% { stroke-dashoffset: .04; opacity: 0; } }

.viz-conv { display: flex; align-items: center; padding-left: 1.5rem; }
.viz-conv i { position: absolute; left: 1.5rem; width: .55rem; height: .55rem; border-radius: 50%; background: rgba(246, 241, 233, .55); animation: conv 3.6s var(--ease-io) infinite; }
.viz-conv i:nth-child(1) { top: 22%; } .viz-conv i:nth-child(2) { top: 38%; animation-delay: .25s; } .viz-conv i:nth-child(3) { top: 54%; animation-delay: .5s; }
.viz-conv i:nth-child(4) { top: 70%; animation-delay: .75s; } .viz-conv i:nth-child(5) { top: 46%; animation-delay: 1s; }
.viz-conv b { position: absolute; right: 1.5rem; top: 50%; display: grid; place-items: center; width: 3rem; height: 3rem; margin-top: -1.5rem; border-radius: 50%; background: var(--champagne); animation: pop 3.6s var(--ease-back) infinite; }
.viz-conv b svg { width: 1.5rem; height: 1.5rem; fill: var(--graphite-2); }
@keyframes conv { 0% { transform: none; opacity: 0; } 10% { opacity: 1; } 60% { opacity: 1; } 75%, 100% { transform: translate(calc(var(--vw, 16rem) - 3rem), calc(50% + 0px)); opacity: 0; } }
@keyframes pop { 0%, 55% { transform: scale(1); } 66% { transform: scale(1.18); } 78%, 100% { transform: scale(1); } }

/* ---------- PROCESSO ---------- */
.process { padding-block: var(--section-y); }
.process__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 1.75rem); align-items: start; }
.process__intro { grid-column: 1 / 6; position: sticky; top: calc(var(--nav-h) + 3rem); display: grid; gap: 1.75rem; justify-items: start; }
.steps { grid-column: 7 / 13; position: relative; }
.steps__rail { position: absolute; left: 1.45rem; top: 2.6rem; bottom: 2.6rem; width: 1px; background: var(--line-strong); }
.steps__rail span { position: absolute; inset: 0; background: var(--champagne-deep); transform-origin: top; transform: scaleY(var(--rail, 0)); }
.step { position: relative; display: grid; grid-template-columns: 2.9rem 1fr; gap: clamp(1.25rem, 2.5vw, 2.5rem); padding-block: clamp(2rem, 3.6vw, 3rem); }
.step + .step { border-top: 1px solid var(--line); }
.step__n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line-strong); font: italic 400 1.15rem/1 var(--serif); color: var(--mineral);
  transition: background .6s var(--ease-out), color .6s, box-shadow .6s, transform .7s var(--ease-back);
}
.step.is-active .step__n { background: var(--graphite); color: var(--ivory); box-shadow: 0 0 0 .4rem rgba(200, 169, 121, .25); transform: scale(1.06); }
.step h3 { font: 400 clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem)/1.05 var(--serif); letter-spacing: -.01em; transition: color .5s; }
.step p { margin-top: .75rem; color: var(--mineral); max-width: 30rem; }
.js .step:not(.is-active) h3 { color: var(--taupe); }

/* ---------- DÚVIDAS ---------- */
.faq { padding-block: calc(var(--section-y) * .8) var(--section-y); background: linear-gradient(180deg, var(--ivory), var(--sand-soft)); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 1.75rem); row-gap: 2.5rem; }
.faq__grid > div:first-child { grid-column: 1 / 5; display: grid; gap: 1.5rem; align-content: start; justify-items: start; }
.faq__more { color: var(--mineral); }
.faq__list { grid-column: 6 / 13; border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; list-style: none; cursor: pointer; font: 600 clamp(1.05rem, 1rem + .3vw, 1.22rem)/1.35 var(--sans); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .5s var(--ease-out), box-shadow .5s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 1.5px; margin: -.75px 0 0 -.4rem; background: currentColor; border-radius: 2px; transition: transform .6s var(--ease-io); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item summary:hover .faq__icon { background: var(--champagne-soft); box-shadow: none; }
.faq__item[open] .faq__icon { background: var(--graphite); color: var(--ivory); box-shadow: none; }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__body { display: grid; grid-template-rows: 1fr; }
.js .faq__body { grid-template-rows: 0fr; transition: grid-template-rows .65s var(--ease-io); }
.js .faq__item.is-open .faq__body { grid-template-rows: 1fr; }
.faq__body > div { min-height: 0; overflow: hidden; }
.faq__body p { padding-bottom: 1.6rem; max-width: 40rem; color: var(--mineral); }

/* ---------- CONTATO ---------- */
.contact { position: relative; isolation: isolate; overflow: hidden; padding-block: calc(var(--section-y) * 1.1); text-align: center;
  background: radial-gradient(70% 60% at 50% 110%, #E7D3BC 0%, rgba(231, 211, 188, 0) 70%), radial-gradient(50% 50% at 50% 0%, rgba(255, 255, 255, .6), transparent 70%), var(--sand-soft); }
.contact::after { z-index: -1; }
.contact__inner { display: grid; justify-items: center; gap: 1.75rem; }
.contact__title { max-width: 15ch; font: 400 clamp(3rem, 1.4rem + 6vw, 8rem)/.94 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.contact__title em { color: var(--champagne-deep); }
.contact__lead { max-width: 34rem; font-size: var(--fs-lead); color: var(--mineral); }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem 2rem; margin-top: .75rem; }
.mail { display: inline-flex; align-items: center; gap: .9rem; flex-wrap: wrap; justify-content: center; }
.mail__link { font-size: 1.05rem; }
.mail__copy { padding: .5rem .85rem; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-strong); font: 600 .78rem/1 var(--sans); color: var(--mineral); transition: background .4s, color .4s, box-shadow .4s; }
.mail__copy:hover { background: var(--graphite); color: var(--ivory); box-shadow: none; }
.mail__copy.is-done { background: var(--champagne); color: var(--graphite); box-shadow: none; }
.next { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.25rem; margin-top: 1.5rem; font: 500 .92rem/1.3 var(--sans); color: var(--mineral); }
.next li { display: inline-flex; align-items: center; gap: .65rem; }
.next span { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: rgba(251, 248, 243, .85); box-shadow: inset 0 0 0 1px var(--line-strong); font: italic 400 .95rem/1 var(--serif); color: var(--graphite); }
.contact__phone { font-size: .92rem; color: var(--mineral); }
.contact__phone .link { font-weight: 600; color: var(--graphite); }

/* ---------- RODAPÉ ---------- */
.foot { position: relative; overflow: hidden; padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: max(2rem, env(safe-area-inset-bottom)); background: var(--graphite-2); color: rgba(246, 241, 233, .7); }
.foot__sign { font: 400 clamp(3.6rem, 13.5vw, 15rem)/.86 var(--serif); letter-spacing: -.035em; color: var(--ivory); white-space: nowrap; margin-left: -.04em; }
.foot__sign em { color: var(--champagne); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(246, 241, 233, .14); font-size: .9rem; }
.foot__links { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.foot a { transition: color .3s; }
.foot__links a, .foot__top { display: inline-block; padding-block: .45rem; }
.foot a:hover { color: var(--ivory); }
.foot :focus-visible { outline-color: var(--champagne); }
.foot__note { margin-top: 1.25rem; font-size: .8rem; color: rgba(246, 241, 233, .62); }

/* ---------- Botão flutuante ---------- */
.fab {
  position: fixed; z-index: 80; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: .6rem; height: 3.25rem; padding: 0 1.2rem 0 .45rem; border-radius: 999px;
  background: var(--graphite); color: var(--ivory); font: 600 .88rem/1 var(--sans);
  box-shadow: 0 18px 36px -16px rgba(43, 40, 37, .75), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transform: translateY(160%); opacity: 0; transition: transform .8s var(--ease-out), opacity .5s, background .4s;
}
.fab.is-on { transform: none; opacity: 1; }
.fab svg { width: 2.35rem; height: 2.35rem; padding: .55rem; border-radius: 50%; background: var(--champagne); fill: var(--graphite); transition: transform .6s var(--ease-back); }
.fab:hover { background: #3A3531; }
.fab:hover svg { transform: rotate(-12deg) scale(1.06); }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .work__media, .work__toggle, .work--flip .work__media, .work--flip .work__toggle { grid-column: 1 / 13; }
  .work__info, .work--flip .work__info { grid-column: 1 / 13; grid-row: 2; padding: 2.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .work__info > * { grid-column: 1; }
  .work__info .work__desc, .work__info .work__tags, .work__info .work__links { grid-column: 2; }
  .work__info .work__desc { grid-row: 1 / 3; margin-top: 0; }
  .craft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --nav-h: 4.25rem; }
  .nav { grid-template-columns: 1fr auto auto; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__cta { padding-inline: 1rem; }

  .hero__inner { grid-template-columns: 1fr; row-gap: 3.5rem; align-items: start; padding-top: 1.75rem; }
  .hero__copy, .stage { grid-column: 1; }
  .stage { grid-row: 2; justify-self: center; width: min(100%, 36rem); max-height: none; margin-right: 0; }
  .hero__foot { display: none; }
  .hero { min-height: 0; padding-bottom: 3rem; }

  .idea__grid, .section-head, .process__grid, .faq__grid { grid-template-columns: 1fr; }
  .idea .label, .idea__text, .idea__aside, .section-head .label, .section-head .title, .section-head .section-head__text,
  .process__intro, .steps, .faq__grid > div:first-child, .faq__list { grid-column: 1; }
  .section-head .label, .idea .label { padding-top: 0; }
  .process__intro { position: static; margin-bottom: 2.5rem; }

  .svc__item { grid-template-columns: 2.5rem 1fr auto; row-gap: .75rem; align-items: start; }
  .svc__num { grid-column: 1; padding-top: .5rem; }
  .svc__name { grid-column: 2; }
  .svc__benefit { grid-column: 2 / 4; }
  .svc__cta { grid-column: 3; grid-row: 1; }
  .works__note { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .nav__cta { display: none; }
}

@media (max-width: 700px) {
  .hero__line--indent { padding-left: 0; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .work__info, .work--flip .work__info { display: block; padding-top: 1.75rem; }
  .work__media { padding: .9rem; border-radius: 1.1rem; }
  .work__toggle { margin: 1.4rem; width: 2.3rem; height: 2.3rem; }
  .chrome { height: 1.6rem; gap: .5rem; padding: 0 .55rem; }
  .chrome__dots i { width: .38rem; height: .38rem; }
  .chrome__url { font-size: .6rem; padding: .12rem .5rem; }
  .craft__grid { grid-template-columns: 1fr; }
  .craft { padding-inline: .5rem; }
  .stage__type { padding: .6rem .8rem .6rem .7rem; gap: .6rem; }
  .type__meta { display: none; }
  .stage__palette span { display: none; }
  .stage__palette { padding: .4rem; }
  .g-l { display: none; }
  .fab { padding: 0; width: 3.4rem; height: 3.4rem; justify-content: center; }
  .fab__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fab svg { width: 3.4rem; height: 3.4rem; padding: .85rem; background: transparent; fill: var(--champagne); }
  .next { flex-direction: column; align-items: flex-start; }
  .contact__inner { text-align: left; justify-items: start; }
  .contact__actions { justify-content: flex-start; }
  .contact__actions .btn { width: 100%; }
  .foot__row { flex-direction: column; align-items: flex-start; }
}

@media (hover: none) {
  .svc__cta > span:first-child { position: static; opacity: 1; transform: none; order: -1; }
  .svc__cta { grid-column: 2 / 4 !important; grid-row: auto !important; justify-self: start; margin-top: .25rem; }
  .svc__cta svg { padding: .7rem; }
}

/* ---------- Movimento reduzido ---------- */
/* Movimento reduzido: o site continua animado, mas sem deslocamentos amplos.
   Revelações viram fades curtos e efeitos de profundidade são desligados.
   O botão “Pausar movimento” continua disponível para parar tudo. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-intro] { transform: none; }
  .js [data-split].is-split .w > span { transform: translate3d(0, 40%, 0); opacity: 0; transition: transform .9s var(--ease-out) calc(var(--d, 0s) + var(--i, 0) * 30ms), opacity .7s var(--ease-soft) calc(var(--d, 0s) + var(--i, 0) * 30ms); }
  .js [data-split].is-in .w > span { transform: none; opacity: 1; }
  .js .stage > [data-depth], .js .stage__cursor, .js .stage__guides { transform: none; filter: none; }
  .craft__sheet { transform: none; }
}

@media print {
  .nav, .fab, .cursor, .progress, canvas, .menu { display: none !important; }
  .js [data-reveal], .js [data-intro], .js [data-split] .w > span { opacity: 1 !important; transform: none !important; }
}
