/* ============================================================
   HIDDEN — Convite mobile
   ============================================================ */

:root {
  /* tweakable */
  --bg: #0a0807;
  --bg-deep: #050403;
  --ink: #e9e2d6;
  --ink-soft: #b6ab98;
  --ink-dim: #7a6f5e;
  --accent: oklch(0.42 0.12 25);          /* wine */
  --accent-soft: oklch(0.62 0.10 28);
  --gold: #b8924e;                         /* logo "at" gold */
  --line: oklch(0.28 0.01 50);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* layout */
  --col: min(100vw, 520px);
  --gutter: clamp(20px, 6vw, 32px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  /* subtle vignette on desktop where the contained column doesn't fill the viewport */
  background:
    radial-gradient(ellipse at center, var(--bg) 0%, var(--bg-deep) 70%);
}

/* The page is a single vertical column, centered on desktop, full-bleed on mobile */
.page {
  width: var(--col);
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 80px rgba(0,0,0,0.6);
  overflow: hidden;
}

/* ============================================================
   Typography
   ============================================================ */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 400;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.display em {
  font-style: italic;
  color: var(--accent-soft);
  font-weight: 400;
}

.label-cap {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ============================================================
   Reveal animation (driven by IntersectionObserver)
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s cubic-bezier(.2,.6,.2,1), transform 1.1s cubic-bezier(.2,.6,.2,1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-blur {
  opacity: 0;
  filter: blur(8px);
  transition: opacity 1.6s ease, filter 1.6s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal-blur.in {
  opacity: 1;
  filter: blur(0);
}

/* ============================================================
   1. HERO
   ============================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 6vh, 48px) var(--gutter);
}

.hero__bg {
  position: absolute; inset: -10% 0;
  background-image: url('assets/lounge.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(0.85);
  z-index: 0;
  will-change: transform;
  transition: background-image 0.6s ease;
}

/* What-it-is card photos — kept in CSS so they inline cleanly when bundled */
.is-cards .is-card:nth-child(1) .is-card__img { background-image: url('assets/persianas.jpg'); }
.is-cards .is-card:nth-child(2) .is-card__img { background-image: url('assets/luminaria.jpg'); }
.is-cards .is-card:nth-child(3) .is-card__img { background-image: url('assets/salao.jpg'); }

.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,7,0.55) 0%, rgba(10,8,7,0.25) 40%, rgba(10,8,7,0.9) 100%);
  z-index: 1;
}

.hero__top, .hero__center, .hero__bottom {
  position: relative; z-index: 2;
}

.hero__top {
  display: flex; justify-content: space-between; align-items: center;
}

.hero__mark {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: var(--ink-soft);
}

.hero__edition {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: var(--accent-soft);
}

.hero__center {
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
}

.hero__pre {
  margin-bottom: 18px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(58px, 16vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.015em;
}

.hero__title .line {
  display: block;
}

.hero__title .accent {
  color: var(--accent-soft);
  font-style: italic;
}

.hero__logo {
  display: block;
  width: clamp(216px, 70%, 342px);
  height: auto;
  margin-inline: auto;
  /* logo is near-white cream artwork on transparent — sits well on the dark hero */
  filter: drop-shadow(0 4px 28px rgba(0,0,0,0.45));
}

.hero__sub {
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.6;
}

.hero__bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-dim);
}

.scroll-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, transparent, var(--ink-dim), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: translateY(-6px); }
  50%      { opacity: 1;   transform: translateY(6px); }
}

/* ============================================================
   2. MANIFESTO (the secret-table sentence)
   ============================================================ */

.manifesto {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 18vh, 140px) var(--gutter);
  text-align: left;
}

.manifesto .label-cap { margin-bottom: 28px; }

.manifesto__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 9vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.manifesto__text em {
  color: var(--accent-soft);
  font-style: italic;
}

.manifesto__rule {
  margin-top: 56px;
  width: 32px; height: 1px;
  background: var(--accent);
}

/* ============================================================
   3. DETAILS CARD
   ============================================================ */

.details {
  padding: clamp(56px, 12vh, 80px) var(--gutter) clamp(130px, 22vh, 200px);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.details__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
}

.details__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 8vw, 44px);
  line-height: 1;
}

.details__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--accent-soft);
}

.details__date {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(60px, 17vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.details__date sup {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent-soft);
  vertical-align: top;
  position: relative;
  top: 12px;
  margin-left: 8px;
}

.details__date-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 48px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px 24px;
  align-items: baseline;
}

.detail-grid .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding-top: 2px;
}

.detail-grid .v {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 400;
  color: var(--ink);
}

.detail-grid .v small {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 4px;
  font-weight: 300;
}

/* ============================================================
   4. THE PLACE — fullbleed photo
   ============================================================ */

.place {
  position: relative;
  height: 110svh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter);
}

.place__img {
  position: absolute; inset: -8% 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.98);
  z-index: 0;
  will-change: transform;
}

.place__layer {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.place__layer.is-on { opacity: 1; }

.place__dots {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.place__dot {
  width: 34px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.place__dot::before {
  content: "";
  width: 2px;
  height: 16px;
  background: var(--gold);
  opacity: 0.3;
  transition: opacity 0.35s ease, height 0.35s ease;
}
.place__dot.is-on::before { opacity: 1; height: 26px; }

/* ✦ Slide 4 — MOBILE ONLY: per-photo tuning (desktop untouched) */
@media (max-width: 899px) {
  /* Foto 1 (lounge) é clara — escurece um pouco p/ legibilidade do texto */
  .place__layer:nth-child(1) { filter: brightness(0.72); }
  /* Fotos 5, 6 e 7 — mostrar mais a parte de baixo */
  .place__layer:nth-child(5),
  .place__layer:nth-child(6),
  .place__layer:nth-child(7) { background-position: center 82%; }
  /* Foto 6 estava escura — clareia um pouco */
  .place__layer:nth-child(6) { filter: brightness(1.18); }
}

.place__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,7,0.6) 0%, transparent 30%, transparent 50%, rgba(10,8,7,0.95) 100%);
  z-index: 1;
}

.place__content {
  position: relative; z-index: 2;
  margin-bottom: 16vh;
}

.place__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent-soft);
  margin-bottom: 28px;
}

.place__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(68px, 19vw, 110px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.place__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 5.4vw, 30px);
  line-height: 1.22;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 28ch;
}

.place__quote em {
  color: var(--ink);
  font-style: italic;
}

.place__desc {
  margin-top: 32px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 36ch;
  font-weight: 300;
}

/* ============================================================
   5. WHAT IT ISN'T
   ============================================================ */

.isnt {
  padding: clamp(48px, 9vh, 80px) var(--gutter) clamp(140px, 24vh, 210px);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.isnt__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 11vw, 64px);
  line-height: 0.95;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.isnt__title em {
  font-style: italic;
  color: var(--accent-soft);
}

.isnt-list { display: flex; flex-direction: column; }

.isnt-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  align-items: baseline;
}
.isnt-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.isnt-item__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
  padding-top: 6px;
}

.isnt-item__neg {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--accent-soft);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.isnt-item__what {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 6.8vw, 36px);
  line-height: 1.05;
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}

.isnt-item__desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
}

.isnt__seal {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--accent-soft);
}

.isnt__seal-line { flex: 1; height: 1px; background: var(--accent); opacity: 0.6; }

.isnt__seal-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
}

/* ============================================================
   6. WHAT IT IS — POP-UP CONCEPT
   ============================================================ */

.is {
  padding: clamp(80px, 16vh, 120px) 0 clamp(80px, 14vh, 100px);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.is__header {
  padding: 0 var(--gutter);
  margin-bottom: 56px;
}

.is__concept {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent-soft);
  margin-bottom: 14px;
}

.is__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 13vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

.is__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 4.8vw, 22px);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 30ch;
}

.is-cards {
  display: flex;
  flex-direction: column;
}

.is-card {
  position: relative;
  height: 78svh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter) var(--gutter) clamp(40px, 7vh, 60px);
}

.is-card__img {
  position: absolute; inset: -8% 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.42) saturate(0.85);
  z-index: 0;
  will-change: transform;
}

.is-card__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,7,0.5) 0%, rgba(10,8,7,0.1) 35%, rgba(10,8,7,0.85) 100%);
  z-index: 1;
}

.is-card__content { position: relative; z-index: 2; }

.is-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent-soft);
  margin-bottom: 24px;
}

.is-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 9vw, 50px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.is-card__title em {
  font-style: italic;
  color: var(--accent-soft);
}

.is-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 36ch;
}

/* ✦ Slide 6 — MOBILE ONLY: intro + 3 photo screens, one per viewport.
   Desktop (min-width:900px) keeps its own grid layout, untouched. */
@media (max-width: 899px) {
  .is { padding: 0; }
  .is__header {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--gutter) var(--gutter) clamp(96px, 16vh, 150px);
    margin-bottom: 0;
  }
  .is-card {
    height: 100svh;
    min-height: 0;
    padding-bottom: clamp(96px, 16vh, 150px);
  }
  .is-cards { counter-reset: pc; }
  .is-card__num::before {
    counter-increment: pc;
    content: "O QUE É · 0" counter(pc) " / 03";
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.28em;
    color: var(--accent-soft);
  }
}

/* ============================================================
   7. CTA + WHATSAPP
   ============================================================ */

.cta {
  padding: clamp(80px, 16vh, 140px) var(--gutter) clamp(60px, 10vh, 90px);
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.cta__logo {
  display: block;
  width: min(78%, 300px);
  height: auto;
  margin: 0 auto 8px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.4));
}

.cta__seal {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(32px, 8vw, 46px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.cta__seal em {
  font-style: italic;
  color: var(--accent-soft);
}

.cta__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-bottom: 56px;
}

.cta__rule {
  width: 1px; height: 56px;
  margin: 0 auto 56px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

.cta__pre {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.cta__contact {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 5vw, 28px);
  margin-bottom: 6px;
}

.cta__phone {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin-bottom: 40px;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--accent);
  color: var(--ink);
  border: 1px solid var(--accent);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, letter-spacing 0.3s ease;
  min-height: 56px;
  min-width: 280px;
}

.wa-btn:hover, .wa-btn:active {
  background: var(--accent-soft);
  letter-spacing: 0.28em;
}

.wa-btn:active { transform: scale(0.98); }

.wa-btn__icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
}

.cta__footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--ink-dim);
  text-transform: uppercase;
  line-height: 1.8;
}

.cta__footer span { color: var(--accent-soft); }

/* ============================================================
   Mobile tweaks: reduce some scale
   ============================================================ */

@media (max-width: 380px) {
  :root { --gutter: 20px; }
  .detail-grid { grid-template-columns: 88px 1fr; }
}

/* Tweaks panel mount — keep small */
#tweaks-root { position: fixed; inset: 0; pointer-events: none; z-index: 9999; }
#tweaks-root > * { pointer-events: auto; }

/* ============================================================
   ✦ DESKTOP / RESPONSIVE LAYOUT  (additive only — mobile untouched)
   Full-bleed photo panels with overlaid text, like the PPT slides.
   ============================================================ */

@media (min-width: 900px) {

  :root { --dgut: clamp(64px, 6.5vw, 150px); }

  body { background: #000; }

  .page { width: 100%; max-width: none; box-shadow: none; }

  .hero, .manifesto, .details, .place, .isnt, .is, .cta {
    min-height: 100vh;
    border-top: none;
    position: relative;
    overflow: hidden;
  }

  /* 1. HERO */
  .hero { padding: clamp(44px, 5vh, 72px) var(--dgut); }
  .hero__logo { width: clamp(320px, 26vw, 480px); }
  .hero__sub { font-size: 16px; margin-top: 34px; letter-spacing: 0.24em; }
  .hero__bottom { justify-content: center; }

  /* 2. MANIFESTO */
  .manifesto {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: var(--dgut);
    background-image:
      linear-gradient(rgba(10,8,7,0.58), rgba(10,8,7,0.68)),
      url('assets/luminaria.jpg');
    background-size: cover; background-position: center;
  }
  .manifesto .label-cap { margin-bottom: 40px; }
  .manifesto__text { font-size: clamp(56px, 5.6vw, 100px); line-height: 1.05; max-width: 18ch; }
  .manifesto__rule { margin: 60px auto 0; }

  /* 3. DETAILS — photo full-bleed, info on the right */
  .details {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: var(--dgut); padding-left: 52%;
    background-image:
      linear-gradient(90deg, rgba(10,8,7,0.05) 18%, rgba(10,8,7,0.55) 40%, rgba(10,8,7,0.93) 54%, rgba(10,8,7,0.97) 100%),
      url('assets/salao.jpg');
    background-size: cover; background-position: left center;
  }
  .details__header { margin-bottom: 36px; }
  .details__date { margin-top: 4px; }
  .details__date-meta { margin-bottom: 40px; }
  .detail-grid { max-width: 520px; gap: 20px 28px; }

  /* 4. THE PLACE — portrait photo on the left half, text on the right */
  .place { display: block; padding: var(--dgut); background: var(--bg-deep); }
  .place__img { right: 50%; }
  .place__veil {
    background: linear-gradient(90deg, rgba(10,8,7,0) 0%, rgba(10,8,7,0) 38%, rgba(10,8,7,0.55) 48%, rgba(10,8,7,0.96) 56%, var(--bg-deep) 64%);
  }
  .place__dots { right: 24px; }
  .place__content {
    margin-bottom: 0; position: absolute; top: 50%; transform: translateY(-50%);
    right: var(--dgut); left: 58%;
  }
  .place__quote { max-width: none; }
  .place__desc { max-width: 44ch; }

  /* 5. WHAT IT ISN'T — dark, title + 3 columns */
  .isnt {
    display: flex; flex-direction: column; justify-content: center;
    background: var(--bg-deep); padding: var(--dgut);
  }
  .isnt__title { font-size: clamp(60px, 7vw, 120px) !important; margin-bottom: 64px; }
  .isnt-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
  .isnt-item { border-top: 1px solid var(--accent); border-bottom: none !important; padding: 32px 0 0; display: block; }
  .isnt-item__num { margin-bottom: 20px; }
  .isnt__seal { margin-top: 64px; max-width: none; gap: 24px; }
  .isnt__seal-text { font-size: clamp(36px, 4vw, 60px); color: oklch(0.58 0.16 32); font-style: italic; }
  .isnt__seal-line { background: oklch(0.58 0.16 32); opacity: 0.5; }

  /* 6. WHAT IT IS — dark, big title left, list right */
  .is {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 5vw, 96px);
    align-items: center; background: var(--bg-deep); padding: var(--dgut);
  }
  .is__header { padding: 0; margin-bottom: 0; max-width: none; }
  .is__title { font-size: clamp(72px, 8.5vw, 150px) !important; margin-bottom: 28px; }
  .is__lede { font-size: clamp(19px, 1.7vw, 26px); max-width: 36ch; }
  .is-cards { display: flex; flex-direction: column; gap: 0; padding: 0; counter-reset: pc; }
  .is-card { height: auto; min-height: 0; display: block; padding: 30px 0; border-top: 1px solid var(--line); }
  .is-card:last-child { border-bottom: 1px solid var(--line); }
  .is-card__img, .is-card__veil { display: none; }
  .is-card__content { position: static; }
  .is-card__num { margin-bottom: 14px; }
  .is-card__num::before {
    counter-increment: pc; content: "0" counter(pc);
    font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.22em; color: var(--accent-soft);
  }
  .is-card__title { font-size: clamp(26px, 2.4vw, 38px); margin-bottom: 12px; }
  .is-card__desc { font-size: 15px; max-width: 46ch; }

  /* 7. CTA — centered over photo */
  .cta {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: var(--dgut);
    background-image:
      linear-gradient(rgba(10,8,7,0.72), rgba(10,8,7,0.84)),
      url('assets/persianas.jpg');
    background-size: cover; background-position: center;
  }
  .cta__logo { width: clamp(300px, 26vw, 460px); margin-bottom: 8px; }
  .cta__seal { font-size: clamp(48px, 5.2vw, 84px); }
  .cta__footer { margin-top: 72px; }
}

@media (min-width: 1500px) {
  :root { --dgut: clamp(120px, 9vw, 240px); }
}

/* ============================================================
   ✦ PASSWORD GATE (charm, not security)
   ============================================================ */

body.gate-locked { overflow: hidden; }

#gate {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 5, 4, 0);
  pointer-events: none;
  transition: background 1.4s ease, opacity 1.1s ease;
}
#gate.armed {
  background: rgba(6, 5, 4, 0.97);
  pointer-events: auto;
}
#gate.unlocked {
  opacity: 0;
  pointer-events: none;
}

.gate__panel {
  text-align: center;
  padding: 0 32px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s ease 0.25s, transform 1s ease 0.25s;
}
#gate.armed .gate__panel { opacity: 1; transform: none; }

.gate__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 30px;
}

.gate__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.gate__input {
  width: min(78vw, 300px);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 26px;
  text-align: center;
  letter-spacing: 0.06em;
  padding: 8px 4px;
  outline: none;
  transition: border-color 0.3s ease;
}
.gate__input:focus { border-color: var(--accent-soft); }
.gate__input::placeholder {
  color: var(--ink-dim);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.gate__btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  padding: 13px 30px;
  cursor: pointer;
  min-height: 46px;
  transition: border-color 0.3s ease, color 0.3s ease, letter-spacing 0.3s ease;
}
.gate__btn:hover {
  border-color: var(--accent-soft);
  color: var(--ink);
  letter-spacing: 0.28em;
}

.gate__error {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-soft);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gate__error.show { opacity: 1; }

@keyframes gateShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}
.gate__panel.shake { animation: gateShake 0.45s ease; }

/* ============================================================
   ✦ DOOR REVEAL VIDEO (mobile only)
   ============================================================ */
.door-cv {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #000;
  display: none;
}
.door-cv.on { display: block; }
.door-cv__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  /* clima noir — um pouco mais escuro e contrastado */
  filter: brightness(0.8) contrast(1.1) saturate(1.02);
  transform-origin: center center;
}
/* zoom lento (Ken Burns) — disfarça a oscilação da filmagem */
.door-cv__video.kb { animation: doorKen 6s ease-out forwards; }
@keyframes doorKen {
  from { transform: scale(1.0); }
  to   { transform: scale(1.07); }
}
/* vinheta — escurece as bordas, foca o centro */
.door-cv__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0,0,0,0.5) 100%);
}
/* camada de fade preto (entrada e saída) */
.door-cv__fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: #000;
  opacity: 1;
  transition: opacity 0.7s ease;
}
.door-cv__skip {
  position: absolute;
  bottom: 30px;
  right: 22px;
  z-index: 3;
  background: rgba(10, 8, 7, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 11px 17px;
  cursor: pointer;
}
/* Botão ENTRAR — aparece sobre o último quadro do vídeo (toque = abertura limpa) */
.door-cv__enter {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(184, 146, 78, 0.4);
  border-bottom: 1px solid rgba(184, 146, 78, 0.4);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  padding: 17px 16px;
  cursor: pointer;
}
.door-cv__enter.show {
  opacity: 1;
  pointer-events: auto;
  animation: enterGlow 2.8s ease-in-out infinite;
}
@keyframes enterGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(184,146,78,0); border-color: rgba(184,146,78,0.3); }
  50%      { text-shadow: 0 0 12px rgba(184,146,78,0.45); border-color: rgba(184,146,78,0.68); }
}

/* ============================================================
   ✦ CLICK-TO-ADVANCE BUTTON (Option A — glass arrow)
   ============================================================ */

#nav-next {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(10, 8, 7, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, background 0.3s ease, border-color 0.3s ease;
}
#nav-next.show {
  opacity: 1;
  pointer-events: auto;
  animation: navBreath 2.6s ease-in-out infinite;
}
#nav-next:hover { background: rgba(10, 8, 7, 0.78); }
#nav-next svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  transition: transform 0.4s ease;
}
#nav-next.up svg { transform: rotate(180deg); }

@keyframes navBreath {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(5px); }
}

@media (min-width: 900px) {
  #nav-next { width: 58px; height: 58px; bottom: 36px; }
  #nav-next svg { width: 20px; height: 20px; }
}
