/* ==========================================================================
   PROJETOS DE PORTEIRAS — Landing page
   ========================================================================== */

:root {
  --bg: #0C1712;
  --bg-2: #0F1D16;
  --black: #070D0A;
  --green: #132B20;
  --olive: #344D36;
  --wood: #A66A38;
  --gold: #C49A5A;
  --gold-soft: #D8B57E;
  --beige: #E9DFCF;
  --off: #F8F5EF;
  --text: #F7F3EB;
  --ink: #15241C;
  --ink-soft: #4A5A50;

  --muted: rgba(247, 243, 235, .7);
  --muted-2: rgba(247, 243, 235, .5);
  --line: rgba(196, 154, 90, .26);
  --line-soft: rgba(247, 243, 235, .1);
  --line-dark: rgba(21, 36, 28, .14);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(84px, 11vw, 150px);
  --header-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
@supports (overflow: clip) { html { overflow-x: clip; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section); }

/* ---------- Texturas ---------- */
.grain-wrap { position: relative; isolation: isolate; }
.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.light .eyebrow, .light-beige .eyebrow { color: var(--wood); }

.title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.15rem, 1.35rem + 3.4vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
}
.title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0;
}
.title--xl { font-size: clamp(2.3rem, 1.3rem + 4.2vw, 4.8rem); }
.title--dark { color: var(--ink); }
.title--dark em { color: var(--wood); }

.text {
  font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 58ch;
}
.text--dark { color: var(--ink-soft); }

.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .title + .text { margin-top: 24px; }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .title { max-width: 12.5em; }
.section-head--center .text { margin-inline: auto; }
.section-head--split {
  display: grid;
  gap: 24px;
  align-items: end;
}
.section-head--split .title { max-width: 10em; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--bg);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 16px 30px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
  text-align: center;
  color: var(--btn-fg);
  background: var(--btn-bg);
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s, color .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn__icon { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--gold {
  background: linear-gradient(135deg, #D2AB6E 0%, var(--gold) 45%, #AE7A45 100%);
  box-shadow: 0 10px 30px -12px rgba(196, 154, 90, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--gold:hover { box-shadow: 0 18px 40px -14px rgba(196, 154, 90, .7), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn--dark {
  --btn-bg: var(--bg);
  --btn-fg: var(--off);
  box-shadow: 0 12px 30px -16px rgba(12, 23, 18, .7);
}
.btn--dark .btn__icon { color: var(--gold); }
.btn--dark:hover { --btn-bg: var(--green); }
.btn--sm { min-height: 42px; padding: 10px 20px; font-size: .7rem; letter-spacing: .16em; }
.btn--lg { min-height: 64px; padding: 20px 38px; font-size: .84rem; }
.btn--block { width: 100%; }

.center-cta { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 72px); }

/* ---------- Ícones ---------- */
.icon-ring {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  transition: border-color .4s, background-color .4s, transform .5s var(--ease-out);
}
.icon-ring svg { width: 22px; height: 22px; }
.icon-ring--lg { width: 64px; height: 64px; }
.icon-ring--lg svg { width: 26px; height: 26px; }

/* ---------- Mídia + placeholders ---------- */
.media {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(196, 154, 90, .035) 0 1px, transparent 1px 22px),
    radial-gradient(120% 90% at 30% 20%, #1B3a2b 0%, #10241A 55%, #0A1510 100%);
}
.media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 1.4s var(--ease-out), opacity .6s;
}
.media__img.is-missing { display: none; }
.ph {
  position: absolute;
  inset: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(196, 154, 90, .2);
  color: rgba(196, 154, 90, .55);
  text-align: center;
}
.ph__icon { width: min(42%, 150px); height: auto; aspect-ratio: 3 / 2; opacity: .8; }
.ph__label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(247, 243, 235, .38);
  word-break: break-all;
}
.ph__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}
.ph--light { border-color: rgba(166, 106, 56, .25); color: rgba(166, 106, 56, .55); }
.ph--light .ph__icon { width: 46px; aspect-ratio: 1; }
.ph--light .ph__label { color: rgba(21, 36, 28, .4); }

/* Fotos opcionais: somem no site publicado enquanto o arquivo não existir (ver script.js) */
[data-opcional].is-empty { display: none !important; }
.thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.thumbs .media { aspect-ratio: 1; }
.thumbs .media:hover .media__img { transform: scale(1.06); }
.thumbs .ph { inset: 8px; gap: 8px; padding: 8px; }
.thumbs:not(:has(> :not(.is-empty))) { display: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color .5s var(--ease), border-color .5s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  transition: height .5s var(--ease);
}
.header.is-scrolled {
  background: rgba(10, 20, 15, .82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.header.is-scrolled .header__inner { height: 68px; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
}
.brand__mark svg { width: 24px; height: 16px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__text strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__text small {
  margin-top: 3px;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav { display: none; gap: 36px; }
.nav a {
  position: relative;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 40px) 96px;
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  /* Foto principal — troque/ajuste o enquadramento em background-position */
  background:
    url("assets/images/hero-porteira.jpg") center 55% / cover no-repeat,
    radial-gradient(70% 60% at 75% 40%, rgba(166, 106, 56, .22) 0%, transparent 60%),
    radial-gradient(90% 80% at 20% 90%, #1B3a2b 0%, transparent 60%),
    linear-gradient(160deg, #132B20 0%, #0C1712 70%);
  transform: scale(1.08);
  animation: heroZoom 2.8s var(--ease-out) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(12, 23, 18, .75) 0%, rgba(12, 23, 18, .55) 35%, rgba(12, 23, 18, .82) 75%, var(--bg) 100%);
}
.hero__grain { z-index: -1; opacity: .06; }

.hero__grid { display: grid; gap: 56px; align-items: center; }
.hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }

.seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(12, 23, 18, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 28px;
}
.seal__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 154, 90, .18);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.15rem, 1.1rem + 5vw, 5.3rem);
  line-height: 1;
  letter-spacing: -.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__micro span { white-space: nowrap; }
.hero__micro { text-wrap: balance; text-align: center; }
.hero__title em {
  display: block;
  margin-top: .08em;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  background: linear-gradient(100deg, #E2C08A 0%, var(--gold) 45%, var(--wood) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  margin-top: 26px;
  max-width: 50ch;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  line-height: 1.7;
  color: var(--muted);
}

.hero__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 28px;
  max-width: 560px;
}
.hero__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 500;
  color: rgba(247, 243, 235, .86);
}
.hero__list svg { width: 16px; height: 16px; flex: none; color: var(--gold); }

.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.hero__micro {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted-2);
}
.hero__micro i { font-style: normal; color: var(--gold); margin-inline: 6px; }

.hero__visual { display: none; position: relative; }

.arch { position: relative; width: 100%; max-width: 440px; margin-left: auto; padding: 0 22px 22px 0; }
.arch__frame {
  position: absolute;
  inset: 22px 0 0 22px;
  border: 1px solid var(--gold);
  border-radius: 999px 999px 2px 2px;
  opacity: .55;
}
.arch__media {
  aspect-ratio: 4 / 5.4;
  border-radius: 999px 999px 2px 2px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.arch__media .ph { border-radius: 999px 999px 2px 2px; }

.hero__badge {
  position: absolute;
  left: -28px;
  bottom: -6px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px 16px 16px;
  background: rgba(12, 23, 18, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.hero__badge-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(196, 154, 90, .12);
  color: var(--gold);
}
.hero__badge-icon svg { width: 26px; height: 18px; }
.hero__badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.1;
}
.hero__badge small {
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: none;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 2px;
  height: 8px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrollDot 2s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ==========================================================================
   FAIXA DE BENEFÍCIOS
   ========================================================================== */
.strip {
  position: relative;
  background: var(--green);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip__grid { display: grid; }
.strip__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
}
.strip__item:last-child { border-bottom: 0; }
.strip__item h3 {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 6px;
}
.strip__item p { font-size: .9rem; line-height: 1.6; color: var(--muted); }
.strip__item:hover .icon-ring { background: rgba(196, 154, 90, .1); border-color: var(--gold); }

/* ==========================================================================
   SEÇÕES CLARAS
   ========================================================================== */
.light { background: var(--off); color: var(--ink); }
.light-beige { background: var(--beige); color: var(--ink); }

/* ==========================================================================
   DESEJO
   ========================================================================== */
.desire__grid { display: grid; gap: 64px; align-items: center; }
.desire__visual { position: relative; padding: 0 0 28px 28px; }
.desire__block {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72%;
  height: 72%;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .06) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #B57A45, var(--wood) 60%, #8C562B);
}
.desire__media {
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 70px -40px rgba(12, 23, 18, .6);
}
.desire__media:hover .media__img { transform: scale(1.04); }
.desire__tag {
  position: absolute;
  right: -1px;
  top: 32px;
  z-index: 2;
  padding: 18px 22px;
  background: var(--bg);
  color: var(--text);
  text-align: right;
  line-height: 1;
}
.desire__tag span {
  display: block;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.desire__tag strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 500;
}
.desire__content .text { margin-top: 24px; }

.steps-list { margin: 44px 0 48px; border-top: 1px solid var(--line-dark); }
.steps-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-dark);
}
.steps-list__n {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  font-style: italic;
  line-height: .9;
  color: var(--wood);
  min-width: 2.2ch;
}
.steps-list h3 {
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}
.steps-list p { font-size: .95rem; color: var(--ink-soft); line-height: 1.6; }

/* ==========================================================================
   GALERIA
   ========================================================================== */
.gallery { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.gallery__grid { display: grid; gap: 18px; }
.gcard {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: border-color .6s;
}
.gcard__media { aspect-ratio: 4 / 5; }
.gcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(7, 13, 10, 0) 30%, rgba(7, 13, 10, .55) 62%, rgba(7, 13, 10, .94) 100%);
  transition: opacity .6s;
}
.gcard__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 28px 26px 30px;
}
.gcard__n {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 8px;
}
.gcard h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem);
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.02;
}
.gcard p {
  margin-top: 10px;
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(247, 243, 235, .78);
  max-width: 34ch;
}
.gcard__line {
  display: block;
  width: 36px;
  height: 1px;
  margin-top: 20px;
  background: var(--gold);
  transition: width .7s var(--ease-out);
}
.gcard:hover { border-color: var(--line); }
.gcard:hover .media__img { transform: scale(1.07); }
.gcard:hover .gcard__line { width: 96px; }
.gcard .ph { bottom: 40%; }

/* ==========================================================================
   SPLIT (VISUAL PREMIUM)
   ========================================================================== */
.split { display: grid; }
.split__media .media { aspect-ratio: 4 / 5; height: 100%; }
.split__media:hover .media__img { transform: scale(1.04); }
.split__content { display: flex; align-items: center; padding: var(--section) var(--gutter); }
.split__inner { max-width: 540px; }
.split__inner .text { margin-top: 24px; margin-bottom: 40px; }

/* ==========================================================================
   COMO FUNCIONA
   ========================================================================== */
.how { background: var(--bg); }
.timeline { position: relative; display: grid; gap: 0; max-width: 1100px; margin-inline: auto; }
.timeline__step {
  position: relative;
  padding: 0 0 48px 84px;
}
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 62px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(196, 154, 90, .1));
}
.timeline__step:last-child::before { display: none; }
.timeline__n {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 61px;
  height: 61px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  transition: background-color .5s, color .5s;
}
.timeline__step:hover .timeline__n { background: var(--gold); color: var(--bg); }
.timeline__step h3 {
  padding-top: 10px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.1;
}
.timeline__step { display: flex; flex-direction: column; }
.timeline__step p { flex-grow: 1; }
.timeline__step p { margin-top: 10px; color: var(--muted); font-size: .96rem; max-width: 34ch; }
.timeline__media { margin-top: 22px; aspect-ratio: 4 / 3; border: 1px solid var(--line-soft); }
.timeline__step:hover .timeline__media .media__img { transform: scale(1.05); }

/* ==========================================================================
   DEPOIMENTOS
   ========================================================================== */
.proof { overflow: hidden; }
.proof .section-head { margin-bottom: 40px; }
.proof__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 30px var(--gutter) 44px;
  scroll-padding-inline: var(--gutter);
}
.proof__track::-webkit-scrollbar { display: none; }
.proof__card {
  flex: 0 0 min(78%, 340px);
  scroll-snap-align: center;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(166, 106, 56, .22);
  box-shadow: 0 24px 50px -28px rgba(12, 23, 18, .4), 0 2px 6px rgba(12, 23, 18, .05);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.proof__card:nth-child(1) { transform: rotate(-1.6deg); }
.proof__card:nth-child(2) { transform: rotate(1.1deg) translateY(10px); }
.proof__card:nth-child(3) { transform: rotate(-.8deg); }
.proof__card:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 34px 60px -30px rgba(12, 23, 18, .5); }
.proof__media {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #F4EEE3, var(--beige));
}
.proof__media .media__img { object-position: center top; }
.proof__media .ph { inset: 10px; }
.proof__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--wood);
}
.proof__hint svg { width: 16px; height: 16px; }

/* ==========================================================================
   EXCLUSIVIDADE
   ========================================================================== */
.exclusive { background: var(--black); }
.exclusive .section-head--center .title { max-width: 12em; }
.exclusive__frame { position: relative; padding: 12px; border: 1px solid var(--line); }
.exclusive__media { aspect-ratio: 4 / 5; }
.exclusive__frame:hover .media__img { transform: scale(1.04); }
.split__thumbs { margin: -8px 0 40px; max-width: 420px; }
.exclusive__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  text-align: center;
}

/* ==========================================================================
   OFERTA
   ========================================================================== */
.offer {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(196, 154, 90, .14) 0%, transparent 70%),
    radial-gradient(80% 60% at 50% 100%, rgba(52, 77, 54, .45) 0%, transparent 70%),
    var(--green);
}
.offer__card {
  position: relative;
  max-width: 680px;
  margin-inline: auto;
  padding: 64px 24px 40px;
  text-align: center;
  background: linear-gradient(180deg, #10251B 0%, var(--bg) 100%);
  border: 1px solid rgba(196, 154, 90, .45);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .75);
}
.offer__card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(196, 154, 90, .14);
  pointer-events: none;
}
.offer__seal {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 9px 20px;
  background: linear-gradient(135deg, #D2AB6E, var(--gold) 50%, #AE7A45);
  color: var(--bg);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  white-space: nowrap;
}
.offer__mark {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
}
.offer__mark svg { width: 34px; height: 24px; }
.offer__title {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.offer__qty {
  margin-top: 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.offer__qty[hidden] { display: none; }
.offer__text { margin: 18px auto 0; max-width: 44ch; color: var(--muted); }

.offer__list {
  display: grid;
  gap: 14px;
  margin: 36px auto 0;
  padding: 28px 0;
  max-width: 460px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}
.offer__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  font-weight: 500;
}
.offer__list svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
}

.offer__price { display: flex; flex-direction: column; align-items: center; margin: 34px 0 30px; }
.offer__old { font-size: .86rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.offer__old s { text-decoration-color: rgba(196, 154, 90, .8); }
.offer__por {
  margin-top: 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}
.offer__now {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 2.8rem + 4vw, 5.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
}
.offer__unique { margin-top: 10px; font-size: .78rem; color: var(--muted-2); letter-spacing: .06em; }

.offer__secure {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  font-size: .74rem;
  color: var(--muted-2);
}
.offer__secure svg { width: 15px; height: 15px; color: var(--gold); }
.offer__secure i { font-style: normal; color: var(--gold); }

/* Confiança */
.trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 56px auto 0;
}
.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 12px;
  border: 1px solid var(--line-soft);
  text-align: center;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(247, 243, 235, .85);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--beige); }
.faq__grid { display: grid; gap: 48px; }
.faq__head .text { margin-top: 22px; }
.accordion { border-top: 1px solid var(--line-dark); }
.acc { border-bottom: 1px solid var(--line-dark); }
.acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 26px 0;
  text-align: left;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .3s;
}
.acc__q:hover { color: var(--wood); }
.acc__icon {
  width: 34px;
  height: 34px;
  padding: 8px;
  flex: none;
  border: 1px solid rgba(166, 106, 56, .4);
  border-radius: 50%;
  color: var(--wood);
  transition: transform .5s var(--ease-out), background-color .4s, color .4s;
}
.acc.is-open .acc__icon { transform: rotate(45deg); background: var(--wood); color: var(--off); }
.acc__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease-out);
}
.acc__a > div { overflow: hidden; }
.acc__a p {
  padding: 0 54px 28px 0;
  color: var(--ink-soft);
  font-size: .98rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .4s, transform .5s var(--ease-out);
}
.acc.is-open .acc__a { grid-template-rows: 1fr; }
.acc.is-open .acc__a p { opacity: 1; transform: none; transition-delay: .1s; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.final {
  position: relative;
  padding-block: clamp(110px, 14vw, 190px);
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}
.final__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("assets/images/hero-porteira.jpg") center / cover no-repeat,
    radial-gradient(60% 70% at 50% 50%, rgba(166, 106, 56, .2), transparent 70%),
    linear-gradient(180deg, #132B20, #0C1712);
}
.final__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(80% 90% at 50% 50%, rgba(12, 23, 18, .7) 0%, rgba(12, 23, 18, .92) 100%);
}
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final .title { max-width: 12em; }
.final .text { margin: 24px auto 0; }
.final__actions { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 calc(40px + env(safe-area-inset-bottom));
  text-align: center;
}
.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}
.footer__brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.footer__links a {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}
.footer__links a:hover { color: var(--gold); }
.footer__notice {
  max-width: 70ch;
  margin: 28px auto 0;
  font-size: .8rem;
  line-height: 1.7;
  color: var(--muted-2);
}
.footer__copy { margin-top: 16px; font-size: .74rem; color: rgba(247, 243, 235, .4); letter-spacing: .04em; }

/* ==========================================================================
   CTA FIXO MOBILE
   ========================================================================== */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  background: rgba(10, 20, 15, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7);
  transform: translateY(calc(100% + 30px));
  opacity: 0;
  visibility: hidden;
  transition: transform .6s var(--ease-out), opacity .4s, visibility .6s;
}
.sticky-cta.is-visible { transform: none; opacity: 1; visibility: visible; }
.sticky-cta__info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sticky-cta__info strong {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta__info span { font-size: .74rem; color: var(--muted); }
.sticky-cta__info b { color: var(--gold); font-weight: 700; }
.sticky-cta .btn { flex: none; }

/* ==========================================================================
   ANIMAÇÕES DE ENTRADA
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .proof__track[data-reveal] { transform: translateX(40px); }
.js .proof__track[data-reveal].is-visible { transform: none; }

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

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

/* Telas muito pequenas (320px) */
@media (max-width: 374px) {
  :root { --gutter: 18px; }
  .brand__text small { display: none; }
  .brand__text strong { font-size: 1rem; letter-spacing: .03em; }
  .brand__mark { width: 36px; height: 36px; }
  .header__cta { padding-inline: 14px; letter-spacing: .1em; }
  .btn { letter-spacing: .08em; padding-inline: 20px; }
  .btn--lg { padding-inline: 20px; font-size: .78rem; }
  .eyebrow { letter-spacing: .18em; font-size: .66rem; gap: 10px; }
  .eyebrow::before, .eyebrow--center::after { width: 18px; }
  .hero__list { flex-direction: column; align-items: center; }
  .offer__card { padding-inline: 18px; }
  .offer__seal { letter-spacing: .2em; }
  .trust__item { letter-spacing: .1em; }
}

/* Mobile geral */
@media (max-width: 599px) {
  .brand__text small { display: none; }
  .brand__text strong { white-space: normal; font-size: 1rem; line-height: 1.05; }
  .hero__micro, .offer__secure { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
  .hero__micro i, .offer__secure i { display: none; }
  .hero__micro span::before { content: "•"; color: var(--gold); margin-right: 6px; }
  .offer__secure span { white-space: nowrap; }
  .btn--lg { padding-inline: 22px; font-size: .78rem; letter-spacing: .1em; }
  .hero__actions .btn, .final__actions .btn, .center-cta .btn,
  .desire__content .btn, .split__inner .btn, .exclusive__foot .btn {
    width: 100%;
    max-width: 420px;
  }
  .hero__list li { font-size: .84rem; }
  .acc__a p { padding-right: 0; }
  .desire__tag { padding: 14px 16px; }
  .desire__tag strong { font-size: 1.4rem; }
}

@media (min-width: 600px) {
  .strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .strip__item:nth-last-child(2) { border-bottom: 0; }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer__card { padding: 72px 48px 48px; }
  .offer__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .exclusive__media { aspect-ratio: 16 / 10; }
  .proof__card { flex-basis: 320px; }
}

@media (min-width: 768px) {
  :root { --header-h: 90px; }
  .section-head--split { grid-template-columns: 1.3fr 1fr; gap: 48px; }
  .section-head--split .text { justify-self: end; }
  .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__top { flex-direction: row; justify-content: space-between; }
  .footer { text-align: left; }
  .footer__notice { margin-left: 0; }
  .hero__scroll { display: block; }

  /* Timeline horizontal */
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .timeline__step { padding: 92px 0 0; text-align: left; }
  .timeline__step::before {
    left: 76px;
    right: -40px;
    top: 30px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), rgba(196, 154, 90, .12));
  }
  .timeline__step h3 { padding-top: 0; }

  /* Depoimentos sem arrastar */
  .proof__track {
    justify-content: center;
    overflow: visible;
    gap: 28px;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
  }
  .proof__card { flex: 1 1 0; max-width: 360px; }
  .proof__hint { display: none; }
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; min-height: 720px; }
  .split__media .media { aspect-ratio: auto; min-height: 100%; }
  .split__content { padding: var(--section) clamp(40px, 6vw, 96px); }
  .desire__grid { grid-template-columns: .95fr 1.05fr; gap: clamp(56px, 7vw, 110px); }
  .faq__grid { grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
  .faq__head { position: sticky; top: 110px; }
}

@media (min-width: 1024px) {
  .strip__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
  .strip__item {
    flex-direction: column;
    gap: 22px;
    padding: 48px 32px;
    border-bottom: 0;
    border-left: 1px solid var(--line-soft);
  }
  .strip__item:first-child { border-left: 0; padding-left: 0; }
  .strip__item:last-child { padding-right: 0; }

  .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .gallery__grid .gcard:nth-child(3n+2) { transform: translateY(40px); }
  .js .gallery__grid .gcard:nth-child(3n+2)[data-reveal] { transform: translateY(68px); }
  .js .gallery__grid .gcard:nth-child(3n+2)[data-reveal].is-visible { transform: translateY(40px); }
  .gallery .center-cta { margin-top: 110px; }


  .exclusive__media { aspect-ratio: 21 / 9; }
  .exclusive__foot { flex-direction: row; justify-content: space-between; text-align: left; gap: 48px; }

  .nav { display: flex; gap: 28px; }

  /* Hero desktop: texto à esquerda, composição à direita */
  .hero__grid { grid-template-columns: 1.35fr .65fr; gap: 56px; }
  .hero__content { text-align: left; align-items: flex-start; }
  .hero__title { font-size: clamp(3rem, 1.2rem + 2.9vw, 4.1rem); }
  .hero__micro { text-align: left; }
  .hero__list { justify-content: flex-start; display: grid; grid-template-columns: repeat(2, auto); gap: 12px 32px; }
  .hero__actions { flex-direction: row; align-items: center; gap: 28px; width: auto; flex-wrap: wrap; }
  .hero__visual { display: block; }
  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(12, 23, 18, .96) 0%, rgba(12, 23, 18, .86) 42%, rgba(12, 23, 18, .55) 100%),
      linear-gradient(180deg, transparent 70%, var(--bg) 100%);
  }

  .sticky-cta { display: none; }
}

@media (min-width: 1280px) {
  .nav { gap: 36px; }
  .hero__grid { gap: 80px; }
}

/* Telas baixas em desktop (evita hero espremido) */
@media (min-width: 1024px) and (max-height: 760px) {
  .hero__title { font-size: 3.3rem; }
  .arch { max-width: 330px; }
  .hero__lead { margin-top: 18px; }
  .hero__list { margin-top: 20px; }
  .hero__actions { margin-top: 28px; }
}
