/* =========================================================
   Ciara Estética
   Paleta nude & caramelo · cantos arredondados · GSAP
   ========================================================= */

:root {
  --cream: #F4ECE3;
  --cream-2: #EFE4D8;
  --sand: #E7D6C5;
  --nude: #D8BCA4;
  --blush: #E9CFC0;
  --caramel: #B07A4F;
  --caramel-deep: #8E5C38;
  --cocoa: #3A291F;
  --espresso: #231812;
  --ink: #2D2019;
  --muted: #7B6657;
  --line: rgba(58, 41, 31, .14);
  --line-light: rgba(244, 236, 227, .18);

  --serif: "Cormorant Garamond", "Cormorant", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --r-xl: 44px;
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;

  --wrap: 1320px;
  --gutter: clamp(16px, 4.5vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--caramel); color: var(--cream); }

:focus-visible { outline: 2px solid var(--caramel); outline-offset: 4px; border-radius: 6px; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 12px 18px; border-radius: 999px;
  background: var(--espresso); color: var(--cream);
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Textura de papel sutil */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .32; mix-blend-mode: multiply;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .16 0 0 0 0 .12 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografia ---------- */
.display, .display-md, .display-lg, .manifesto, .t-name, .step h3, .quote-text p, .footer-mark, .logo-name, .intro-word {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -.02em;
}
.display em, .display-md em, .display-lg em, .quote-text em {
  font-style: italic; font-weight: 400; color: var(--caramel);
}
.display { margin: 0; font-size: clamp(46px, min(7.4vw, 13.5vh), 112px); line-height: .94; }
.display-md { margin: 0; font-size: clamp(42px, 5.6vw, 84px); line-height: .98; }
.display-lg { margin: 0; font-size: clamp(56px, 10vw, 156px); line-height: .9; }

.label {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 26px; font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--caramel-deep);
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.label-light { color: var(--nude); }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 30px; padding: 8px 16px 8px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, .35);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--caramel); box-shadow: 0 0 0 4px rgba(176, 122, 79, .18); }

.section-intro { max-width: 420px; margin: 0; color: var(--muted); font-size: 16px; }

/* Máscaras de texto (preenchidas via JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .14em .1em .06em; margin: 0 -.14em -.1em -.06em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Botões ---------- */
.pill {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .02em; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease);
}
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.pill:hover::before { transform: none; }
.pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.pill:hover svg { transform: translateX(3px); }
.pill-dark { background: var(--cocoa); color: var(--cream); }
.pill-dark::before { background: var(--caramel); }
.pill-light { background: var(--cream); color: var(--espresso); }
.pill-light::before { background: var(--nude); }
.pill-lg { min-height: 64px; padding: 0 32px; font-size: 15px; }
.pill .wa { width: 22px; height: 22px; fill: currentColor; stroke: none; }

/* ---------- Botão em relevo ----------
   Base: Uiverse.io by FColombati, adaptado à paleta nude e caramelo */
.btn3d {
  --face-1: #C68A59; --face-2: #8E5530;
  --text-1: #FFFBF6; --text-2: #F4E3D0; --icon: #FFF7EE;
  all: unset; box-sizing: border-box; display: inline-block; cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  position: relative; border-radius: 100em; font-size: 15px;
  background-color: rgba(58, 41, 31, .72);
  box-shadow: -0.15em -0.15em 0.15em -0.075em rgba(58, 41, 31, .25), 0.0375em 0.0375em 0.0675em 0 rgba(58, 41, 31, .1);
}
.btn3d--nude { --face-1: #FFFAF5; --face-2: #E2CAB4; --text-1: #2D2019; --text-2: #6B4A37; --icon: #3A291F; }
.btn3d--sm { font-size: 14px; }
.btn3d--lg { font-size: 16px; }
.btn3d:focus-visible { outline: 2px solid var(--caramel); outline-offset: 5px; }
.btn3d::after {
  content: ""; position: absolute; z-index: 0; width: calc(100% + .3em); height: calc(100% + .3em); top: -.15em; left: -.15em;
  border-radius: inherit; background: linear-gradient(-135deg, rgba(58, 41, 31, .5), transparent 20%, transparent 100%);
  filter: blur(.0125em); opacity: .25; mix-blend-mode: multiply;
}
.btn3d-outer {
  display: block; position: relative; z-index: 1; border-radius: inherit; transition: box-shadow 300ms ease; will-change: box-shadow;
  box-shadow: 0 .05em .05em -.01em rgba(58, 41, 31, 1), 0 .01em .01em -.01em rgba(58, 41, 31, .5), .15em .3em .1em -.01em rgba(58, 41, 31, .25);
}
.btn3d:hover .btn3d-outer { box-shadow: 0 0 0 0 rgba(58, 41, 31, 1), 0 0 0 0 rgba(58, 41, 31, .5), 0 0 0 0 rgba(58, 41, 31, .25); }
.btn3d-inner {
  display: block; position: relative; z-index: 1; border-radius: inherit; padding: 1em 1.6em;
  background-image: linear-gradient(135deg, var(--face-1), var(--face-2));
  transition: box-shadow 300ms ease, clip-path 250ms ease, transform 250ms ease;
  will-change: box-shadow, clip-path, transform; overflow: clip; clip-path: inset(0 0 0 0 round 100em);
  box-shadow:
    0 0 0 0 inset rgba(58, 41, 31, .1),
    -.05em -.05em .05em 0 inset rgba(58, 41, 31, .25),
    0 0 0 0 inset rgba(58, 41, 31, .1),
    0 0 .05em .2em inset rgba(255, 255, 255, .25),
    .025em .05em .1em 0 inset rgba(255, 255, 255, 1),
    .12em .12em .12em inset rgba(255, 255, 255, .25),
    -.075em -.25em .25em .1em inset rgba(58, 41, 31, .25);
}
.btn3d:hover .btn3d-inner {
  clip-path: inset(clamp(1px, .0625em, 2px) clamp(1px, .0625em, 2px) clamp(1px, .0625em, 2px) clamp(1px, .0625em, 2px) round 100em);
  box-shadow:
    .1em .15em .05em 0 inset rgba(58, 41, 31, .75),
    -.025em -.03em .05em .025em inset rgba(58, 41, 31, .5),
    .25em .25em .2em 0 inset rgba(58, 41, 31, .5),
    0 0 .05em .5em inset rgba(255, 255, 255, .15),
    0 0 0 0 inset rgba(255, 255, 255, 1),
    .12em .12em .12em inset rgba(255, 255, 255, .25),
    -.075em -.12em .2em .1em inset rgba(58, 41, 31, .25);
}
.btn3d:active .btn3d-inner { transform: scale(.975); }
.btn3d-label {
  position: relative; z-index: 4; display: flex; align-items: center; justify-content: center; gap: .7em;
  transition: transform 250ms ease; will-change: transform; user-select: none; -webkit-user-select: none;
}
.btn3d:hover .btn3d-label { transform: scale(.975); }
.btn3d-label span {
  font-family: var(--sans); font-weight: 500; letter-spacing: .01em; line-height: 1.2; white-space: nowrap;
  color: transparent; background-image: linear-gradient(135deg, var(--text-1), var(--text-2));
  -webkit-background-clip: text; background-clip: text; text-shadow: rgba(58, 41, 31, .12) 0 0 .1em;
}
.btn3d-label svg { flex: 0 0 auto; width: 1.15em; height: 1.15em; fill: none; stroke: var(--icon); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn3d-label svg.wa { width: 1.35em; height: 1.35em; fill: var(--icon); stroke: none; }

.link-underline {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.link-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px;
  background: currentColor; transform-origin: right; transition: transform .6s var(--ease);
}
.link-underline:hover::after { transform: scaleX(0); }
.link-underline::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px;
  background: var(--caramel); transform: scaleX(0); transform-origin: left; transition: transform .6s .15s var(--ease);
}
.link-underline:hover::before { transform: scaleX(1); }

/* ---------- Abertura ---------- */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center;
  background: var(--sand); border-radius: 0 0 0 0;
}
.intro-mark { display: grid; justify-items: center; gap: 10px; color: var(--cocoa); }
.intro-word { font-size: clamp(64px, 12vw, 150px); line-height: .8; font-style: italic; }
.intro-line { width: 120px; height: 1px; background: var(--caramel); transform-origin: left; }
.intro-sub { font-size: 12px; letter-spacing: .5em; text-transform: uppercase; color: var(--caramel-deep); padding-left: .5em; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px var(--gutter); pointer-events: none;
  transition: transform .6s var(--ease);
}
.header.is-hidden { transform: translateY(-120%); }
/* Linha que separa o menu do conteúdo no topo da página */
.header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; margin: 0 auto;
  width: min(calc(var(--wrap) - 2 * var(--gutter)), calc(100% - 2 * var(--gutter)));
  background: var(--line); transition: opacity .4s var(--ease);
}
.header.is-scrolled::after { opacity: 0; }
.header-bar {
  pointer-events: auto; max-width: calc(var(--wrap) - 2 * 0px); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 68px; padding: 0 10px 0 26px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s;
}
.header.is-scrolled .header-bar {
  background: rgba(244, 236, 227, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border-color: rgba(58, 41, 31, .08);
  box-shadow: 0 12px 40px -18px rgba(58, 41, 31, .25);
}
.logo { display: inline-flex; align-items: baseline; gap: 8px; line-height: 1; }
.logo-name { font-size: 34px; font-style: italic; font-weight: 400; color: var(--cocoa); letter-spacing: -.03em; }
.logo-sub { font-size: 10px; letter-spacing: .38em; text-transform: uppercase; color: var(--caramel-deep); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-size: 14px; color: var(--ink); transition: background .35s var(--ease), color .35s;
}
.nav a:hover { background: rgba(176, 122, 79, .12); }
.nav a.is-active { background: var(--cocoa); color: var(--cream); }
.nav-mobile-cta { display: none; }
.header-cta .btn3d-inner { padding: .85em 1.4em; }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 0; overflow: hidden; }
.hero-grid {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero-copy { position: relative; z-index: 2; padding-bottom: 40px; }
.hero h1 { max-width: 10ch; }
.hero-lede { max-width: 440px; margin: 34px 0 40px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

.hero-visual {
  position: relative; display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
  gap: clamp(12px, 1.4vw, 20px); align-items: stretch;
}
.frame { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--nude); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-main .frame { height: clamp(360px, 70vh, 720px); }
.hero-main img { position: absolute; left: 0; top: -6%; height: 112%; object-position: 50% 30%; }
.hero-second { margin-bottom: 0; display: flex; flex-direction: column; }
.hero-second .frame { flex: 1 1 auto; min-height: 0; }
.hero-second img { object-position: 50% 25%; }
.hero-visual figcaption {
  display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; margin-top: 12px;
  border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero-main figcaption { margin-top: 12px; }
.hero-second figcaption { margin-top: 12px; }

.hero-facts {
  max-width: var(--wrap); margin: 64px auto 0; padding: 0 var(--gutter); list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.hero-facts li {
  padding: 26px 24px 30px 0; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px; line-height: 1.5;
}
.hero-facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-facts span { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--cocoa); }

/* ---------- Faixa ---------- */
/* ---------- Faixa ----------
   Duas listas iguais: a segunda fica logo depois da primeira e o conjunto
   anda exatamente a largura da primeira, criando um loop sem emenda. */
:root { --marquee-padding: 0px; --marquee-padding-negative: calc(var(--marquee-padding) * -1); }
.marquee-footer { margin-top: clamp(50px, 5.75vw, 82px); }
.marquee {
  white-space: nowrap; overflow: hidden; margin: 0 auto; padding: 5px 0;
  background-color: #E4C3B6; color: var(--cocoa);
}
.marquee .marquee_text { position: relative; display: inline-block; animation: marquee 30s linear infinite; }
.marquee .marquee_text ul {
  display: inline-flex; margin: 0; padding: 0; font-size: 14px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; list-style-position: inside;
}
.marquee .marquee_text ul.marquee-content-primary { padding-left: 0; }
.marquee .marquee_text ul > li { padding: 6px 14px; }
.marquee .marquee_text ul > li::marker { color: var(--caramel-deep); }
.marquee-content-secondary { position: absolute; left: 0; top: 0; padding-left: var(--marquee-padding) !important; }
@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--marquee-padding-negative), 0, 0); }
}

/* ---------- A clínica ---------- */
.about { padding: clamp(64px, 7.5vw, 104px) 0 clamp(90px, 12vw, 160px); }
.manifesto {
  max-width: 1120px; margin: 0; font-size: clamp(30px, 4.1vw, 60px); line-height: 1.12; color: var(--cocoa);
}
.js .manifesto .mw { opacity: .16; }
.about-grid {
  margin-top: clamp(70px, 9vw, 120px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas: "img1 copy img2";
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.rounded { border-radius: var(--r-md); overflow: hidden; }
/* As duas fotos com o mesmo formato e tamanho, alinhadas no topo e na base */
.about-image, .about-detail { aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; }
.about-image { grid-area: img1; }
.about-detail { grid-area: img2; }
.about-image img, .about-detail img { width: 100%; height: 115%; object-fit: cover; }
.about-copy { grid-area: copy; }
.about-copy p { margin: 0 0 18px; color: var(--muted); }
.about-copy .lead { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; color: var(--cocoa); margin-bottom: 26px; }

/* ---------- Tratamentos ---------- */
.treatments { position: relative; padding: clamp(100px, 12vw, 160px) 0; background: var(--cream-2); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 40px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .label { grid-column: 1 / -1; margin-bottom: 0; }

.t-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.t-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.t-item { border-bottom: 1px solid var(--line); }
.t-head {
  width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr) 52px; grid-template-areas: "num name icon" ". tags icon";
  align-items: center; column-gap: 20px; row-gap: 6px;
  padding: clamp(20px, 2.2vw, 30px) 0; text-align: left; transition: color .4s;
}
.t-num { grid-area: num; align-self: start; padding-top: .9em; font-size: 13px; letter-spacing: .1em; color: var(--caramel-deep); }
.t-name { grid-area: name; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; transition: transform .6s var(--ease), color .4s; }
.t-tags { grid-area: tags; font-size: 14px; color: var(--muted); }
.t-icon {
  grid-area: icon; position: relative; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line);
  transition: background .4s var(--ease), border-color .4s, transform .6s var(--ease);
}
.t-icon::before, .t-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; margin: -.75px 0 0 -8px;
  background: var(--cocoa); transition: transform .5s var(--ease), background .4s;
}
.t-icon::after { transform: rotate(90deg); }
.t-head:hover .t-name, .t-item.is-current .t-name { transform: translateX(10px); font-style: italic; }
.t-head:hover .t-icon { background: var(--cocoa); border-color: var(--cocoa); }
.t-head:hover .t-icon::before, .t-head:hover .t-icon::after { background: var(--cream); }
.t-item.is-open .t-icon { transform: rotate(45deg); background: var(--caramel); border-color: var(--caramel); }
.t-item.is-open .t-icon::before, .t-item.is-open .t-icon::after { background: var(--cream); }
.t-item.is-open .t-name { font-style: italic; color: var(--caramel-deep); }

/* Painel de foto fixo ao lado da lista */
.t-preview { position: sticky; top: 110px; }
.t-preview-frame { aspect-ratio: 4 / 5; max-height: calc(100svh - 190px); width: 100%; }
.t-preview-frame img {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.06);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
.t-preview-frame img.is-active { opacity: 1; transform: none; }
.t-preview-cap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.t-preview-name { font-family: var(--serif); font-size: 22px; font-style: italic; letter-spacing: 0; text-transform: none; color: var(--cocoa); }

.t-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.t-item.is-open .t-body { grid-template-rows: 1fr; }
.t-body-inner { overflow: hidden; display: grid; grid-template-columns: 48px minmax(0, 520px); column-gap: 20px; }
.t-body-inner::before { content: ""; }
.t-body-inner > div { padding-bottom: 36px; }
.t-body-inner p { margin: 0 0 10px; color: var(--muted); font-size: 16px; }
.t-thumb { display: none; width: 220px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); margin-bottom: 36px; }



/* ---------- Método ---------- */
.method {
  position: relative; padding: clamp(100px, 12vw, 160px) 0 clamp(80px, 10vw, 140px);
  background: var(--espresso); color: var(--cream);
  border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(-1 * var(--r-xl));
}
.section-head-light .display-md em { color: var(--nude); }
.section-head-light .label { color: var(--nude); }
.steps { display: grid; gap: 22px; }
.step {
  position: sticky; top: 110px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: stretch;
  /* O cartão sempre cabe na janela: altura visível menos o topo fixo e o empilhamento */
  height: clamp(360px, calc(100vh - 210px), 620px); height: clamp(360px, calc(100svh - 210px), 620px);
  padding: clamp(26px, 3.4vw, 48px);
  border-radius: var(--r-xl); background: var(--sand); color: var(--ink);
  transform-origin: 50% 0;
}
.step:nth-child(2) { top: 128px; background: var(--nude); }
.step:nth-child(3) { top: 146px; background: var(--blush); }
.step:nth-child(4) { top: 164px; background: var(--cream); }
.step-text { display: flex; flex-direction: column; justify-content: flex-start; gap: 0; padding: 8px 0; }
.step-num { font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--caramel-deep); }
.step-num small { font-size: inherit; opacity: .55; }
.step h3 { margin: 28px 0 22px; font-size: clamp(44px, 5vw, 76px); line-height: .95; }
.step p { max-width: 420px; margin: 0; font-size: 17px; color: var(--muted); }
.step-img { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 0; }
.step-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Notebooks e janelas baixas: tipografia mais compacta para caber no cartão */
@media (min-width: 901px) and (max-height: 760px) {
  .step { padding: 30px 34px; }
  .step h3 { margin: 16px 0 14px; font-size: clamp(40px, 4vw, 58px); }
  .step p { max-width: 460px; font-size: 15px; line-height: 1.6; }
}
/* Janelas muito baixas: sem empilhamento, cartões em sequência */
@media (min-width: 901px) and (max-height: 540px) {
  .step, .step:nth-child(n) { position: relative; top: auto; height: auto; min-height: 420px; }
}

/* ---------- Citação ---------- */
.quote { position: relative; background: var(--espresso); }
.js .quote { height: 190vh; }
.quote-stage {
  position: relative; height: 100vh; min-height: 560px; display: grid; place-items: center; overflow: hidden;
}
.js .quote-stage { position: sticky; top: 0; }
.quote-frame {
  position: absolute; inset: 0; overflow: hidden; border-radius: 0;
}
.quote-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.quote-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35, 24, 18, .15), rgba(35, 24, 18, .62)); }
.quote-text { position: relative; z-index: 2; max-width: 980px; margin: 0; padding: 0 var(--gutter); text-align: center; color: var(--cream); }
.quote-text p { margin: 0; font-size: clamp(36px, 5.6vw, 84px); line-height: 1.02; }
.quote-text em { color: var(--blush); }
.quote-text footer { margin-top: 30px; font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--nude); }

/* ---------- Espaço ---------- */
.space { padding: clamp(100px, 12vw, 150px) 0; overflow: hidden; }
.space-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; margin-bottom: 56px; }
.space-head .label { width: 100%; margin-bottom: 0; }
.space-track {
  display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 28px);
  padding: 0 var(--gutter) 10px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.space-track::-webkit-scrollbar { display: none; }
.space-track::after { content: ""; flex: 0 0 1px; margin-left: calc(var(--gutter) - 1px); }
.space-card { flex: 0 0 auto; scroll-snap-align: start; }
.space-card img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); transition: transform 1s var(--ease); }
.space-card > img { height: calc(100% - 44px); }
/* Todas as fotos com a mesma altura: sem vazios acima das horizontais */
.space-card { display: flex; flex-direction: column; height: clamp(380px, 60vh, 600px); }
.space-card.s-tall { width: clamp(240px, 26vw, 380px); }
.space-card.s-wide { width: clamp(400px, 48vw, 700px); }
.space-card figcaption { display: flex; gap: 14px; align-items: baseline; padding-top: 14px; font-size: 14px; color: var(--muted); }
.space-card figcaption span { font-size: 12px; color: var(--caramel-deep); letter-spacing: .1em; }
.space-card { overflow: visible; }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 clamp(100px, 12vw, 160px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); }
.faq-grid { align-items: stretch; }
.faq-photo { min-height: 320px; }
.faq-photo img { position: absolute; inset: 0; object-position: 60% 40%; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; color: var(--cocoa);
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--caramel-deep); }
.faq-item summary span {
  position: relative; flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--sand);
  transition: transform .5s var(--ease), background .3s;
}
.faq-item summary span::before, .faq-item summary span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--cocoa);
}
.faq-item summary span::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.faq-item[open] summary span { background: var(--caramel); }
.faq-item[open] summary span::before, .faq-item[open] summary span::after { background: var(--cream); }
.faq-item[open] summary span::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { max-width: 620px; margin: 0; padding: 0 60px 30px 0; color: var(--muted); }

/* ---------- Contato ---------- */
.contact { padding: 0 clamp(10px, 1.6vw, 22px); }
.contact-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(70px, 9vw, 130px) clamp(22px, 6vw, 96px) clamp(36px, 4vw, 56px);
  border-radius: var(--r-xl); background: var(--caramel-deep); color: var(--cream);
  background-image: radial-gradient(120% 90% at 85% 10%, #B98256 0%, rgba(185, 130, 86, 0) 60%), radial-gradient(90% 70% at 0% 100%, #6E4429 0%, rgba(110, 68, 41, 0) 70%);
}
.contact-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.contact-top { position: relative; z-index: 2; align-self: center; }
.contact .display-lg em { color: var(--blush); }
.contact-lede { max-width: 440px; margin: 30px 0 40px; font-size: 17px; color: rgba(244, 236, 227, .82); }
.contact-photo {
  position: relative; z-index: 1; min-height: 420px; border-radius: var(--r-md); overflow: hidden;
}
.contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; }
.contact-info {
  grid-column: 1 / -1; position: relative; z-index: 2; margin: clamp(48px, 6vw, 80px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light);
}
.contact-info > div { padding: 26px 20px 0 0; }
.contact-info > div + div { padding-left: 20px; border-left: 1px solid var(--line-light); }
.contact-info dt { margin-bottom: 8px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--nude); }
.contact-info dd { margin: 0; font-size: 15px; line-height: 1.6; }
.contact-info a { border-bottom: 1px solid var(--line-light); transition: border-color .3s; }
.contact-info a:hover { border-color: var(--cream); }

/* ---------- Rodapé ---------- */
.footer { padding: 0 var(--gutter) 28px; overflow: hidden; }
.footer-mark {
  margin: 0 auto; max-width: var(--wrap); text-align: center;
  font-size: clamp(120px, 31vw, 440px); font-style: italic; line-height: .78; letter-spacing: -.05em; color: var(--sand);
  padding-top: .1em; user-select: none;
}
.footer-row {
  max-width: var(--wrap); margin: 0 auto; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px;
  font-size: 13px; color: var(--muted);
}
.footer-row p { margin: 0; }
.footer-row nav { display: flex; gap: 24px; }
.footer-row a { transition: color .3s; }
.footer-row a:hover { color: var(--caramel-deep); }
.footer-note { max-width: var(--wrap); margin: 14px auto 0; font-size: 12px; color: var(--muted); opacity: .8; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cocoa); color: var(--cream);
  box-shadow: 0 16px 34px -14px rgba(35, 24, 18, .6);
  transition: transform .5s var(--ease), background .3s, opacity .4s;
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float:hover { background: var(--caramel); transform: scale(1.06); }
.js .wa-float { opacity: 0; transform: scale(.6); pointer-events: none; }
.js .wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1100px) {
  .nav a { padding: 10px 11px; font-size: 13px; }
  .about-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "img1 img2" "copy copy"; row-gap: 40px; }
  .about-copy { max-width: 640px; }
  .t-layout { grid-template-columns: 1fr; }
  .t-preview { display: none; }
  .t-thumb { display: block; }
  .t-body-inner { grid-template-columns: 48px 200px minmax(0, 1fr); column-gap: 20px; }
}

@media (max-width: 900px) {
  .burger {
    display: grid; place-items: center; position: relative; width: 52px; height: 52px; border-radius: 50%;
    background: var(--cocoa); z-index: 2;
  }
  .burger span { position: absolute; width: 20px; height: 1.5px; background: var(--cream); transition: transform .5s var(--ease); }
  .burger span:first-child { transform: translateY(-4px); }
  .burger span:last-child { transform: translateY(4px); }
  .burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .header-cta { display: none; }
  .header-bar { padding: 0 8px 0 22px; height: 64px; }

  .nav {
    position: fixed; inset: 10px; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0;
    padding: 100px 26px 30px; border-radius: var(--r-lg); background: var(--sand);
    clip-path: inset(0 0 100% 0 round var(--r-lg)); visibility: hidden;
    transition: clip-path .8s var(--ease), visibility 0s .8s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0 round var(--r-lg)); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
  .nav a {
    width: 100%; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line);
    font-family: var(--serif); font-size: clamp(36px, 10vw, 54px); line-height: 1.05; font-weight: 300;
  }
  .nav a:hover, .nav a.is-active { background: none; color: var(--caramel-deep); }
  .nav-mobile-cta { display: inline-flex !important; margin-top: 26px; justify-content: center; border: 0 !important;
    font-family: var(--sans) !important; font-size: 15px !important; font-weight: 500 !important; padding: 18px !important;
    border-radius: 999px !important; background: var(--cocoa) !important; color: var(--cream) !important; }

  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { max-width: 12ch; }
  .hero-main .frame { height: auto; aspect-ratio: 4 / 5; }
  .hero-second { margin-bottom: 0; }
  .hero-visual figcaption { font-size: 10px; letter-spacing: .14em; }
  .hero-main figcaption span + span { display: none; }

  .hero-facts { grid-template-columns: 1fr; margin-top: 40px; }
  .hero-facts li, .hero-facts li + li { padding: 20px 0; border-left: 0; }

  .section-head { grid-template-columns: 1fr; }
  .about-grid { column-gap: 12px; }

  .step { grid-template-columns: 1fr; height: auto; min-height: 0; top: 90px; }
  .step:nth-child(2) { top: 104px; } .step:nth-child(3) { top: 118px; } .step:nth-child(4) { top: 132px; }
  .step h3 { margin: 18px 0 14px; font-size: clamp(34px, 9.6vw, 52px); }
  .step-img { min-height: 0; aspect-ratio: 16 / 10; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-photo { min-height: 0; aspect-ratio: 4 / 3; }

  .contact-card { grid-template-columns: 1fr; }
  .contact-photo { min-height: 0; aspect-ratio: 4 / 3.4; margin-top: 44px; }
  .contact-info { grid-template-columns: 1fr 1fr; margin-top: 50px; }
  .contact-info > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact-info > div { padding-bottom: 20px; }
}

/* Telas baixas: o cartão não caberia inteiro, então os cartões seguem em fluxo normal */
@media (max-width: 900px) and (max-height: 780px) {
  .step, .step:nth-child(n) { position: relative; top: auto; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .logo-name { font-size: 30px; }
  .logo-sub { display: none; }
  .hero-lede { font-size: 16px; margin: 26px 0 32px; }
  .hero-actions .btn3d { width: 100%; }
  .t-head { grid-template-columns: 30px minmax(0, 1fr) 44px; column-gap: 12px; }
  .t-tags { font-size: 13px; }
  .t-icon { width: 44px; height: 44px; }
  .t-name { font-size: clamp(30px, 9vw, 40px); min-width: 0; overflow-wrap: anywhere; }
  .t-body-inner { grid-template-columns: 1fr; gap: 0; }
  .t-body-inner::before { display: none; }
  .t-thumb { width: 100%; aspect-ratio: 16 / 11; margin-bottom: 20px; }
  .faq-a p { padding-right: 0; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-info > div, .contact-info > div + div { padding-left: 0; border-left: 0; }
  .contact .btn3d { width: 100%; }
  .footer-row nav { order: 3; width: 100%; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .intro { display: none; }
  .js .quote { height: auto; }
  .js .quote-stage { position: relative; }
  .js .manifesto .mw { opacity: 1; }
  .js .wa-float { opacity: 1; transform: none; pointer-events: auto; }
}
