/* ============================================
   MAZZO MÓVEIS PLANEJADOS — Landing
   Design system + estilos
   ============================================ */

/* ---------- Tokens ---------- */
:root {
  /* Cores — paleta marcenaria */
  --cream:      #F6F1E9;
  --cream-2:    #EFE7DA;
  --paper:      #FBF8F3;
  --ink:        #211E1A;
  --ink-soft:   #3B352E;
  --espresso:   #2A231C;
  --walnut:     #7A5230;
  --walnut-2:   #93683F;
  --brass:      #B08D57;
  --brass-2:    #C7A46B;
  --sand:       #C9B79C;
  --line:       rgba(33, 30, 26, 0.12);
  --line-light: rgba(246, 241, 233, 0.16);

  /* Tipografia */
  --serif: "Fraunces", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;

  /* Espaço */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 150px);

  /* Efeitos */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

::selection { background: var(--walnut); color: var(--cream); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.hide-mobile { display: none; }
@media (min-width: 720px) { .hide-mobile { display: inline; } }

/* ---------- Tipografia utilitária ---------- */
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: var(--walnut); margin-bottom: 26px;
}
.eyebrow__line { width: 34px; height: 1px; background: var(--walnut); display: inline-block; }
.eyebrow--light { color: var(--brass-2); }
.eyebrow--light .eyebrow__line { background: var(--brass-2); }

.section__title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section__title--light { color: var(--cream); }

.section__text { font-size: 1.05rem; color: var(--ink-soft); max-width: 46ch; margin-top: 22px; }
.section__text--light { color: rgba(246, 241, 233, 0.72); }
.section__text--right { align-self: end; }

.section__head {
  display: grid; gap: 32px; margin-bottom: clamp(40px, 6vw, 72px);
  align-items: end;
}
@media (min-width: 900px) { .section__head { grid-template-columns: 1.3fr 1fr; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
  padding: 16px 28px; border-radius: 100px;
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
  position: relative; overflow: hidden;
}
.btn__icon { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--solid { background: var(--ink); color: var(--cream); }
.btn--solid:hover { background: var(--walnut); box-shadow: 0 14px 30px -12px rgba(122, 82, 48, .6); transform: translateY(-2px); }

.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.btn--full { width: 100%; justify-content: center; }

.link-underline {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 0.95rem; color: var(--ink);
  padding-bottom: 4px; position: relative;
}
.link-underline svg { width: 17px; height: 17px; transition: transform .5s var(--ease); }
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(1); transform-origin: right; transition: transform .5s var(--ease);
}
.link-underline:hover::after { transform: scaleX(0); }
.link-underline:hover svg { transform: translateX(5px); }
.link-underline--light { color: var(--cream); }

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark { text-align: center; }
.preloader__word {
  font-family: var(--serif); font-size: 2.2rem; letter-spacing: 0.3em;
  color: var(--cream); display: block; padding-left: 0.3em;
  opacity: 0; animation: fadeUp .8s var(--ease) forwards;
}
.preloader__bar {
  display: block; height: 2px; width: 0; background: var(--brass);
  margin: 18px auto 0; animation: barGrow 1.1s var(--ease) .2s forwards;
}
@keyframes barGrow { to { width: 120px; } }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-block: 22px;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(246, 241, 233, 0.86);
  backdrop-filter: blur(14px);
  padding-block: 13px;
  box-shadow: 0 1px 0 var(--line);
}
/* escurecimento sutil atrás do nav sobre o hero, p/ logo e menu ficarem sempre legíveis
   (some quando o nav vira barra clara ao rolar) */
.nav::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 220%;
  background: linear-gradient(to bottom, rgba(20,16,12,.5), transparent);
  pointer-events: none; transition: opacity .4s var(--ease);
}
.nav.is-scrolled::before { opacity: 0; }
.nav__inner { position: relative; display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__logo { width: 34px; height: 34px; color: var(--walnut); flex-shrink: 0; }
.brand__logo svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 500; font-size: 1.32rem; letter-spacing: 0.14em; }
.brand__sub { font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--walnut); margin-top: 4px; }

/* Logo personalizada do site (enviada em Configurações do painel) */
.site-logo-img { max-height: 46px; max-width: min(240px, 52vw); width: auto; height: auto; object-fit: contain; display: block; }
.brand--footer .site-logo-img { max-height: 52px; }
.preloader__mark .site-logo-img { max-height: 68px; max-width: min(280px, 62vw); margin: 0 auto; }
/* No topo: versão clara sobre a foto do hero; versão principal na barra clara ao rolar */
.site-logo-img--clara { display: none; }
.nav:not(.is-scrolled) .site-logo-img--escura { display: none; }
.nav:not(.is-scrolled) .site-logo-img--clara { display: block; }

/* muda cor da brand quando nav está sobre o hero (transparente) */
.nav:not(.is-scrolled) .brand { color: var(--cream); }
.nav:not(.is-scrolled) .brand__sub { color: var(--brass-2); }
.nav:not(.is-scrolled) .nav__links a { color: var(--cream); }
.nav:not(.is-scrolled) .nav__cta { border-color: var(--line-light); }
.nav:not(.is-scrolled) .nav__toggle span { background: var(--cream); box-shadow: 0 0 4px rgba(20,16,12,.6); }
.nav:not(.is-scrolled) .brand { text-shadow: 0 1px 10px rgba(20,16,12,.45); }

.nav__links { display: none; align-items: center; gap: 34px; }
@media (min-width: 940px) { .nav__links { display: flex; } }
.nav__links a {
  font-size: 0.9rem; font-weight: 500; color: var(--ink-soft);
  position: relative; transition: color .3s var(--ease);
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta {
  border: 1px solid var(--line); padding: 9px 20px; border-radius: 100px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.nav__cta:hover { background: var(--walnut); color: var(--cream) !important; border-color: var(--walnut) !important; }

.nav__toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; z-index: 101; }
@media (min-width: 940px) { .nav__toggle { display: none; } }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s var(--ease); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* menu mobile */
@media (max-width: 939px) {
  /* No iOS, backdrop-filter faz a barra virar "âncora" de filhos position:fixed,
     o que fazia o menu vazar quando rolado. No mobile a barra fica sólida. */
  .nav.is-scrolled { background: rgba(246,241,233,0.97); backdrop-filter: none; -webkit-backdrop-filter: none; }

  .nav__links {
    position: fixed; inset: 0; background: var(--espresso);
    flex-direction: column; justify-content: center; gap: 8px;
    display: flex; transform: translateY(-100%);
    transition: transform .5s var(--ease), visibility .5s var(--ease);
    pointer-events: none; visibility: hidden;   /* fechado = nunca pintado (à prova de falha) */
  }
  .nav__links.is-open { transform: translateY(0); pointer-events: auto; visibility: visible; }
  .nav__links a { color: var(--cream) !important; font-family: var(--serif); font-size: 2rem; padding: 8px 0; }
  .nav__links .nav__cta { border: 1px solid var(--line-light); font-size: 1rem; margin-top: 16px; padding: 12px 28px; }
}

/* hero: no celular os botões empilham (largura total) e não vazam */
@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__actions .btn { width: 100%; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding-bottom: clamp(60px, 9vh, 110px); padding-top: 140px; overflow: hidden;
  background: var(--espresso);
}
/* Sobra generosa em cima e embaixo: o parallax desloca a foto até ~19% da altura,
   então sem essa folga a borda inferior subia e criava um corte seco na rolagem. */
.hero__media { position: absolute; inset: -12% 0 -26% 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20,16,12,.92) 0%, rgba(20,16,12,.35) 45%, rgba(20,16,12,.5) 100%),
    linear-gradient(to right, rgba(20,16,12,.55), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; }

.hero__title {
  font-family: var(--serif); font-weight: 300; color: var(--cream);
  font-size: clamp(2.9rem, 8.5vw, 6.4rem); line-height: 1.02; letter-spacing: -0.02em;
  margin: 8px 0 28px;
}
.hero__title span { display: block; }
.hero__title .serif-italic { color: var(--brass-2); }

.hero .eyebrow { color: var(--brass-2); }
.hero .eyebrow__line { background: var(--brass-2); }

.hero__lead { color: rgba(246,241,233,.82); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__actions .btn--solid { background: var(--cream); color: var(--ink); }
.hero__actions .btn--solid:hover { background: var(--brass-2); color: var(--ink); }
.hero__actions .btn--ghost { border-color: var(--line-light); color: var(--cream); }
.hero__actions .btn--ghost:hover { background: var(--cream); color: var(--ink); }

.hero__scroll {
  position: absolute; bottom: 32px; right: var(--gutter); z-index: 2;
  display: none; flex-direction: column; align-items: center; gap: 12px;
  color: var(--cream); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
}
@media (min-width: 720px) { .hero__scroll { display: flex; } }
.hero__scroll-line { width: 1px; height: 60px; background: linear-gradient(var(--brass-2), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content:""; position:absolute; top:0; left:0; width:100%; height:40%; background: var(--cream); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0%{ transform: translateY(-100%);} 100%{ transform: translateY(250%);} }

/* ============================================
   MARQUEE
   ============================================ */
.marquee { background: var(--ink); color: var(--cream); padding: 22px 0; overflow: hidden; white-space: nowrap; }
/* 4 blocos idênticos lado a lado; a animação avança exatamente 1 bloco (-25%),
   então o conteúdo nunca "acaba" na tela — loop contínuo em qualquer largura. */
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: 34px; padding-right: 34px; flex: 0 0 auto; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: rgba(246,241,233,.85); }
.marquee__track .dot { color: var(--brass); font-style: normal; }
@keyframes marquee { to { transform: translateX(-25%); } }

/* ============================================
   SOBRE
   ============================================ */
.sobre__grid { display: grid; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (min-width: 900px) { .sobre__grid { grid-template-columns: 1fr 1fr; } }

.sobre__media { position: relative; }
.sobre__img { overflow: hidden; border-radius: var(--radius); background: linear-gradient(135deg, var(--sand), var(--walnut)); }
.sobre__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sobre__img:hover img { transform: scale(1.05); }
.sobre__img--main { aspect-ratio: 4/5; }
.sobre__img--accent {
  position: absolute; bottom: -34px; right: -20px; width: 52%; aspect-ratio: 1/1;
  border: 8px solid var(--cream); box-shadow: 0 24px 50px -20px rgba(33,30,26,.4);
}
@media (max-width: 560px) { .sobre__img--accent { width: 46%; right: 0; bottom: -20px; } }
.sobre__badge {
  position: absolute; top: -26px; left: -26px; background: var(--ink); color: var(--cream);
  padding: 20px 24px; border-radius: var(--radius); text-align: center;
  box-shadow: 0 20px 40px -16px rgba(33,30,26,.5);
}
@media (max-width: 560px) { .sobre__badge { left: 0; top: -18px; padding: 14px 18px; } }
.sobre__badge-num { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--brass-2); display: block; }
.sobre__badge-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 6px; display: block; opacity: .8; }

.sobre__values { display: grid; gap: 22px; margin: 38px 0; }
.sobre__values li { display: flex; gap: 18px; align-items: flex-start; }
.sobre__value-ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream-2); color: var(--walnut);
  border: 1px solid var(--line);
}
.sobre__value-ico svg { width: 22px; height: 22px; }
.sobre__values strong { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 2px; }
.sobre__values span { color: var(--ink-soft); font-size: 0.92rem; }

/* ============================================
   STATS
   ============================================ */
.stats { background: var(--espresso); color: var(--cream); padding-block: clamp(48px, 7vw, 84px); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
@media (min-width: 780px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; position: relative; }
.stat::after { content:""; position:absolute; right:-10px; top: 10%; height: 80%; width:1px; background: var(--line-light); }
@media (min-width: 780px){ .stat:nth-child(4)::after{display:none;} }
@media (max-width: 779px){ .stat:nth-child(even)::after{display:none;} }
.stat__num { font-family: var(--serif); font-weight: 350; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--brass-2); display: block; }
.stat__label { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246,241,233,.65); margin-top: 12px; display: block; }

/* ============================================
   SERVIÇOS
   ============================================ */
.servicos { background: var(--paper); }
.servicos__grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .servicos__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .servicos__grid { grid-template-columns: repeat(3, 1fr); } }

.scard {
  background: var(--paper); padding: clamp(30px, 4vw, 46px); position: relative;
  min-height: 260px; display: flex; flex-direction: column;
  transition: background .5s var(--ease); overflow: hidden;
}
.scard::before {
  content:""; position:absolute; inset:0; background: var(--ink);
  transform: translateY(101%); transition: transform .6s var(--ease); z-index: 0;
}
.scard:hover::before { transform: translateY(0); }
.scard > * { position: relative; z-index: 1; transition: color .5s var(--ease); }
.scard:hover .scard__title, .scard:hover .scard__text { color: var(--cream); }
.scard:hover .scard__ico { color: var(--brass-2); border-color: var(--line-light); }
.scard:hover .scard__num { color: rgba(246,241,233,.15); }

.scard__ico {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--walnut); margin-bottom: 24px;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.scard__ico svg { width: 26px; height: 26px; }
.scard__title { font-family: var(--serif); font-weight: 450; font-size: 1.4rem; margin-bottom: 10px; }
.scard__text { color: var(--ink-soft); font-size: 0.95rem; margin-top: auto; }
.scard__num {
  position: absolute; top: 24px; right: 28px; font-family: var(--serif);
  font-size: 1rem; color: var(--sand); z-index: 1;
}
.scard--cta { background: var(--walnut); }
.scard--cta::before { display: none; }
.scard--cta .scard__title, .scard--cta .scard__text { color: var(--cream); }
.scard--cta .scard__text { color: rgba(246,241,233,.8); margin-bottom: 20px; }

/* ============================================
   PROCESSO
   ============================================ */
.processo { background: var(--ink); color: var(--cream); }
.processo__list { display: grid; gap: 0; }
.pstep {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 50px); align-items: center;
  padding: clamp(28px, 4vw, 42px) 0; border-top: 1px solid var(--line-light);
  transition: padding-left .5s var(--ease);
}
.pstep:last-child { border-bottom: 1px solid var(--line-light); }
.pstep:hover { padding-left: 16px; }
.pstep__num { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--brass); font-style: italic; }
.pstep__body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.pstep__body p { color: rgba(246,241,233,.62); font-size: 0.98rem; max-width: 60ch; }
.pstep__ico { width: 40px; height: 40px; color: var(--sand); opacity: .5; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pstep__ico svg { width: 100%; height: 100%; }
.pstep:hover .pstep__ico { opacity: 1; transform: scale(1.1); color: var(--brass-2); }
@media (max-width: 600px) { .pstep__ico { display: none; } .pstep { grid-template-columns: auto 1fr; } }

/* ============================================
   PORTFÓLIO
   ============================================ */
.portfolio__filters { display: flex; flex-wrap: wrap; gap: 10px; justify-self: start; }
@media (min-width: 900px) { .portfolio__filters { justify-self: end; align-self: end; } }
.filter {
  font-size: 0.85rem; font-weight: 500; color: var(--ink-soft);
  padding: 11px 20px; min-height: 44px; display: inline-flex; align-items: center;
  border-radius: 100px; border: 1px solid var(--line);
  transition: all .35s var(--ease);
}
.filter:hover { border-color: var(--walnut); color: var(--walnut); }
.filter.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.portfolio__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 22px);
  grid-auto-rows: 240px; grid-auto-flow: dense;
}
@media (min-width: 760px) { .portfolio__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; } }

.pitem {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sand), var(--walnut));
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.pitem--tall { grid-row: span 2; }
.pitem--wide { grid-column: span 2; }
@media (max-width: 759px) { .pitem--wide { grid-column: span 2; } .pitem--tall { grid-row: span 2; } }
.pitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pitem:hover img { transform: scale(1.07); }
.pitem::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(to top, rgba(20,16,12,.8), transparent 55%);
  opacity: .7; transition: opacity .5s var(--ease);
}
.pitem:hover::after { opacity: 1; }
.pitem--noimg::before {
  content: "MAZZO"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); letter-spacing: .3em; color: rgba(246,241,233,.4); font-size: 1.2rem;
}
.pitem figcaption {
  position: absolute; left: 0; bottom: 0; padding: 22px 24px; z-index: 2; color: var(--cream);
  transform: translateY(8px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.pitem:hover figcaption { transform: translateY(0); opacity: 1; }
.pitem__cat { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-2); display: block; margin-bottom: 4px; }
.pitem__name { font-family: var(--serif); font-size: 1.15rem; }
.pitem.is-hidden { display: none; }

/* ============================================
   FEATURE / QUOTE
   ============================================ */
.feature { position: relative; padding-block: clamp(90px, 16vw, 200px); overflow: hidden; background: var(--espresso); }
/* mesma folga do hero (parallax 0.12 → deslocamento menor, mas o corte é o mesmo) */
.feature__media { position: absolute; inset: -10% 0 -20% 0; z-index: 0; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__overlay { position: absolute; inset: 0; background: rgba(20,16,12,.72); }
.feature__inner { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.feature__quote {
  font-family: var(--serif); font-weight: 300; color: var(--cream);
  font-size: clamp(1.5rem, 3.6vw, 2.6rem); line-height: 1.3;
}
.feature__quote .serif-italic { color: var(--brass-2); }
.feature__author { margin-top: 28px; color: rgba(246,241,233,.6); font-size: 0.9rem; letter-spacing: 0.1em; }

/* ============================================
   DEPOIMENTOS
   ============================================ */
.depo { background: var(--cream); }
.depo__nav { display: flex; gap: 12px; justify-self: start; }
@media (min-width: 900px) { .depo__nav { justify-self: end; align-self: end; } }
.depo__arrow {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink); transition: all .35s var(--ease);
}
.depo__arrow svg { width: 20px; height: 20px; }
.depo__arrow:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.depo__viewport { overflow: hidden; }
.depo__track { display: flex; gap: 24px; transition: transform .7s var(--ease); }
.depo__card {
  flex: 0 0 100%; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(30px, 4vw, 48px);
}
@media (min-width: 720px) { .depo__card { flex-basis: calc(50% - 12px); } }
@media (min-width: 1040px) { .depo__card { flex-basis: calc(33.333% - 16px); } }
.depo__foto {
  width: 66px; height: 66px; border-radius: 50%; object-fit: cover; display: block;
  margin-bottom: 18px; border: 2px solid var(--line); background: var(--cream-2);
}
.depo__stars { display: flex; gap: 4px; color: var(--brass); margin-bottom: 22px; }
.depo__stars svg { width: 18px; height: 18px; }
.depo__card blockquote { font-family: var(--serif); font-size: 1.2rem; font-weight: 350; line-height: 1.5; color: var(--ink-soft); }
.depo__card figcaption { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.depo__card figcaption strong { display: block; font-weight: 600; }
.depo__card figcaption span { font-size: 0.85rem; color: var(--walnut); }

/* ============================================
   CONTATO
   ============================================ */
.contato { background: var(--espresso); color: var(--cream); }
.contato__grid { display: grid; gap: clamp(44px, 6vw, 80px); }
@media (min-width: 940px) { .contato__grid { grid-template-columns: 1fr 1fr; align-items: start; } }

.contato__info { display: grid; gap: 24px; margin-top: 44px; }
.contato__info li { display: flex; gap: 18px; align-items: center; }
.contato__ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-light); display: grid; place-items: center; color: var(--brass-2);
}
.contato__ico svg { width: 20px; height: 20px; }
.contato__info span { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246,241,233,.5); margin-bottom: 3px; }
.contato__info a { color: var(--cream); font-size: 1.02rem; transition: color .3s var(--ease); }
.contato__info a:hover { color: var(--brass-2); }

/* form */
.form {
  background: rgba(246,241,233,.04); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); display: grid; gap: 22px;
}
.form__row { display: grid; gap: 22px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line-light);
  color: var(--cream); font-family: inherit; font-size: 1rem; padding: 12px 0 10px; outline: none;
  transition: border-color .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 60px; }
.field select { cursor: pointer; }
.field select option { background: var(--espresso); color: var(--cream); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass-2); }
.field label {
  position: absolute; left: 0; top: 12px; color: rgba(246,241,233,.5); font-size: 1rem;
  pointer-events: none; transition: transform .3s var(--ease), font-size .3s var(--ease), color .3s var(--ease); transform-origin: left;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field__label--select {
  transform: translateY(-24px) scale(0.78); color: var(--brass-2);
}
.field select:invalid { color: rgba(246,241,233,.5); }
.field select:valid + label { transform: translateY(-24px) scale(0.78); color: var(--brass-2); }
.field.error input, .field.error select, .field.error textarea { border-color: #d98b7a; }

/* ---- Select customizado (dropdown próprio + animação) ---- */
.field select.csel-native { display: none; }
.csel { position: relative; }
.csel__btn {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line-light);
  color: var(--cream); font-family: inherit; font-size: 1rem; padding: 12px 26px 10px 0;
  text-align: left; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; transition: border-color .3s var(--ease);
}
.csel__btn:focus-visible { outline: none; border-color: var(--brass-2); }
.csel.is-open .csel__btn { border-color: var(--brass-2); }
.csel__val { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csel__val--placeholder { color: rgba(246,241,233,.5); }
.csel__chev { width: 18px; height: 18px; flex-shrink: 0; color: rgba(246,241,233,.6);
  transition: transform .3s var(--ease), color .3s var(--ease); }
.csel.is-open .csel__chev { transform: rotate(180deg); color: var(--brass-2); }
.csel__menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; margin: 0;
  list-style: none; background: var(--espresso); border: 1px solid var(--line-light);
  border-radius: 14px; padding: 6px; box-shadow: 0 22px 44px -18px rgba(0,0,0,.65);
  opacity: 0; transform: translateY(-8px) scale(.97); transform-origin: top center;
  pointer-events: none; transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.csel.is-open .csel__menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.csel__opt {
  padding: 11px 14px; border-radius: 9px; cursor: pointer; font-size: .96rem;
  color: rgba(246,241,233,.82); display: flex; align-items: center; justify-content: space-between;
  gap: 10px; transition: background .18s var(--ease), color .18s var(--ease);
}
.csel__opt:hover, .csel__opt.is-foco { background: rgba(246,241,233,.07); color: var(--cream); }
.csel__opt.is-sel { color: var(--brass-2); }
.csel__opt.is-sel::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass-2); flex-shrink: 0; }
.field.error .csel__btn { border-color: #d98b7a; }

.form .btn--solid { background: var(--cream); color: var(--ink); }
.form .btn--solid:hover { background: var(--brass-2); }
.form__note { font-size: 0.9rem; text-align: center; min-height: 1.2em; }
.form__note.ok { color: var(--brass-2); }
.form__note.err { color: #e0a294; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--ink); color: var(--cream); padding-top: clamp(60px, 8vw, 90px); }
.footer__grid { display: grid; gap: 44px; padding-bottom: 56px; }
@media (min-width: 680px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer__brand p { color: rgba(246,241,233,.55); font-size: 0.92rem; margin-top: 20px; max-width: 34ch; }
.brand--footer .brand__name { color: var(--cream); }
.footer__col h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 20px; }
.footer__col a { display: block; color: rgba(246,241,233,.7); font-size: 0.95rem; padding: 11px 0; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--cream); }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a { width: 44px; height: 44px; border: 1px solid var(--line-light); border-radius: 50%; display: grid; place-items: center; padding: 0; }
.footer__social a:hover { background: var(--walnut); border-color: var(--walnut); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-block: 26px; border-top: 1px solid var(--line-light);
  font-size: 0.82rem; color: rgba(246,241,233,.45);
}

/* ============================================
   WHATSAPP FLUTUANTE
   ============================================ */
.whats {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25623b;
  color: var(--cream); display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.4); transition: transform .4s var(--ease);
  animation: whatsPulse 2.6s var(--ease) infinite;
}
.whats:hover { transform: scale(1.08); }
.whats svg { width: 30px; height: 30px; }
@keyframes whatsPulse { 0%,100%{ box-shadow: 0 12px 28px -8px rgba(0,0,0,.4), 0 0 0 0 rgba(37,98,59,.4);} 50%{ box-shadow: 0 12px 28px -8px rgba(0,0,0,.4), 0 0 0 14px rgba(37,98,59,0);} }

/* ============================================
   ANIMAÇÃO DE REVEAL
   ============================================ */
.reveal, [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible, [data-reveal].is-visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px);} to { opacity: 1; transform: none;} }

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__track, .whats, .hero__scroll-line::after { animation: none !important; }
}
