:root {
  --ink: #281e18;
  --warm-ink: #39291f;
  --cream: #f5f0e8;
  --paper: #fbf8f2;
  --sand: #e8d9c5;
  --gold: #c9ad83;
  --gold-deep: #9d7950;
  --hairline: rgba(249,241,228,.27);
  font-family: "Figtree", "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--cream);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }

.home { background: #221a16; min-height: 100svh; }
.cinema, .cinema__video, .cinema__gradient { position: fixed; inset: 0; width: 100%; height: 100%; }
.cinema { background: #201812 url('/assets/poster.jpg') center / cover no-repeat; z-index: 0; overflow: hidden; }
.cinema__video { object-fit: cover; object-position: center center; }
.cinema__gradient {
  background:
    linear-gradient(90deg, rgba(18,14,12,.84) 0%, rgba(20,15,12,.73) 30%, rgba(27,19,15,.46) 51%, rgba(27,20,15,.13) 83%),
    linear-gradient(0deg, rgba(18,13,11,.75) 0%, transparent 28%, transparent 74%, rgba(15,11,9,.36) 100%);
}
.page {
  position: relative; z-index: 1; display: grid; grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: max(29px, env(safe-area-inset-top)) clamp(24px, 5.55vw, 96px) max(24px, env(safe-area-inset-bottom));
}
.header { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; min-height: 52px; text-decoration: none; flex-shrink: 0; }
.brand__type { font-size: clamp(17px, 1.5vw, 22px); line-height: 1; letter-spacing: .22em; font-weight: 350; white-space: nowrap; }
.brand__type span { font-weight: 650; }
.brand__original { max-height: 65px; max-width: 220px; object-fit: contain; }
.header__right { display: flex; align-items: center; gap: clamp(16px,2.4vw,36px); }
.live-note { font-size: 10px; font-weight: 600; letter-spacing: .24em; color: #ede0cb; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.live-note__dot { width: 5px; height: 5px; border-radius: 50%; background: #e1b981; box-shadow: 0 0 10px rgba(225,185,129,.4); }
.header__divider { height: 28px; width: 1px; background: var(--hairline); }
.socials { display: flex; gap: 9px; align-items: center; }
.socials__link { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,248,237,.35); border-radius: 50%; background: rgba(15,12,9,.13); color: #fff7eb; text-decoration: none; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.socials__link svg { width: 19px; height: 19px; }
.socials__link[href]:hover { background: rgba(235,214,187,.18); border-color: var(--gold); transform: translateY(-2px); }
.socials__link.is-unavailable { opacity: .6; cursor: default; }

.main { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.hero { max-width: 900px; padding: clamp(55px,11vh,110px) 0 clamp(62px,9vh,102px); }
.hero__eyebrow { display: flex; gap: 18px; align-items: center; font-size: clamp(9px,.83vw,11px); font-weight: 650; letter-spacing: .22em; color: #e3cab0; }
.hero__rule { display: inline-block; flex-shrink: 0; width: 39px; height: 1px; background: #cfad80; }
.hero h1 { font-size: clamp(53px, 6.5vw, 112px); font-weight: 300; line-height: 1.03; letter-spacing: -.062em; max-width: 1020px; margin: 29px 0 25px; }
.hero h1 em { font-style: normal; color: #e0c9ab; font-weight: 300; }
.hero p { max-width: 470px; margin: 0; font-weight: 380; font-size: clamp(15px,1.2vw,18px); line-height: 1.8; color: #eee3d6; }
.hero__action { display: flex; align-items: center; flex-wrap: wrap; gap: 21px 25px; margin-top: 40px; }
.cta { border: 1px solid var(--cream); border-radius: 2px; background: var(--cream); color: #2f251e; display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 56px; padding: 17px 21px 17px 25px; font-size: 13px; font-weight: 700; letter-spacing: .03em; transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.cta svg { height: 18px; width: 18px; transition: transform .2s ease; }
.cta:hover:not(:disabled) { background: #e4d1b7; border-color: #e4d1b7; transform: translateY(-2px); }
.cta:hover:not(:disabled) svg { transform: translate(2px, -2px); }
.cta:disabled { opacity: .76; cursor: not-allowed; }
.hero__hint { font-size: 12px; color: #e2d2bf; opacity: .9; }
.hero-index { align-self: end; padding-bottom: 88px; display: flex; align-items: center; gap: 18px; writing-mode: vertical-rl; font-size: 9px; font-weight: 700; letter-spacing: .21em; color: #e3cfb8; opacity: .8; }
.hero-index__line { width: 1px; height: 48px; background: #dcc1a2; }

.footer { display: flex; gap: 26px 40px; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--hairline); padding-top: 24px; }
.footer__location { display: flex; align-items: flex-start; gap: 13px; max-width: 650px; }
.footer__location > svg { flex-shrink: 0; width: 17px; height: 17px; margin-top: 3px; color: #dec5a5; }
.footer__label { display: block; font-size: 9px; font-weight: 650; letter-spacing: .2em; color: #d9c2a4; margin-bottom: 9px; }
.footer address { font-style: normal; line-height: 1.7; font-size: 11px; color: #e8e0d6; }
.footer__legal { display: flex; justify-content: flex-end; align-items: center; gap: 14px 24px; flex-wrap: wrap; color: #e1d3c4; font-size: 10px; letter-spacing: .045em; }
.footer__company { font-weight: 700; }
.footer__legal a { text-decoration: none; border-bottom: 1px solid rgba(245,240,232,.5); padding-bottom: 3px; transition: color .2s ease; }
.footer__legal a:hover { color: #fff; }

.dialog { border: 1px solid rgba(180,152,116,.45); border-radius: 3px; background: var(--paper); color: var(--warm-ink); width: min(92vw, 524px); max-height: min(93dvh, 870px); padding: 0; box-shadow: 0 24px 95px rgba(0,0,0,.55); overflow: auto; }
.dialog::backdrop { background: rgba(13,9,7,.76); backdrop-filter: blur(9px); }
.dialog__inner { position: relative; padding: clamp(29px,4.6vw,48px); }
.dialog__close { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; border: 0; background: transparent; color: #574435; height: 34px; width: 34px; }
.dialog__close svg { width: 21px; height: 21px; }
.dialog__kicker { color: #8e6b48; font-size: 10px; font-weight: 750; letter-spacing: .19em; display: flex; align-items: center; gap: 11px; }
.dialog__kicker span { display: inline-block; width: 20px; height: 1px; background: #b69a78; }
.dialog h2 { margin: 20px 0 12px; font-size: clamp(31px,3vw,43px); font-weight: 350; line-height: 1.17; letter-spacing: -.052em; }
.dialog h2 em { font-style: normal; color: #997450; }
.dialog__desc { margin: 0 0 27px; font-size: 13px; line-height: 1.65; color: #796759; }
.waitlist { display: flex; flex-direction: column; }
.waitlist > label:not(.consent) { color: #47382c; font-size: 11px; font-weight: 700; margin: 0 0 7px; }
.waitlist > input { border: 1px solid #d6c8b9; background: #fffcf7; padding: 14px 14px; border-radius: 2px; color: #2c231e; outline-offset: 1px; margin-bottom: 17px; width: 100%; font-size: 14px; }
.waitlist > input:focus { border-color: #a68260; outline: 1px solid #b9966d; }
.waitlist > input::placeholder { color: #a99e94; }
.consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 11px; line-height: 1.56; color: #69574a; margin: 4px 0 18px; }
.consent input { accent-color: #856645; margin: 2px 0 0; flex-shrink: 0; }
.consent a { text-underline-offset: 2px; color: #75563c; }
.form-status { margin: 0 0 10px; font-size: 12px; line-height: 1.5; min-height: 4px; color: #a44433; }
.form-status.is-success { color: #476247; }
.cta--dark { width: 100%; background: #372a23; color: #f8f0e7; border-color: #372a23; }
.cta--dark:hover:not(:disabled) { color: #2f231c; background: #d7b990; border-color: #d7b990; }
.trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.privacy-page { background: #f5f0e8; color: #362820; min-height: 100svh; }
.privacy-content { max-width: 840px; margin: auto; padding: clamp(30px,5vw,70px) 25px 100px; }
.privacy-back { text-decoration: none; font-size: 13px; color: #8f7056; }
.privacy-eyebrow { margin-top: 70px; font-weight: 700; color: #9f7850; letter-spacing: .21em; font-size: 10px; }
.privacy-content h1 { max-width: 700px; font-size: clamp(36px,5vw,67px); font-weight: 350; line-height: 1.15; letter-spacing: -.045em; margin: 19px 0 30px; }
.privacy-lead { font-size: 18px !important; color: #594d43 !important; }
.privacy-content h2 { margin-top: 37px; font-size: 20px; font-weight: 650; color: #3c3028; }
.privacy-content p { line-height: 1.85; color: #66574b; font-size: 14px; }
.privacy-alert { background: #ece1d2; border-left: 3px solid #aa875d; padding: 18px; font-size: 13px; line-height: 1.6; color: #54412d; margin: 35px 0; }
.privacy-foot { border-top: 1px solid #d9cabc; margin-top: 65px; padding-top: 22px; color: #8f795f; font-size: 11px; letter-spacing: .1em; }

@media (max-width: 1120px) {
  .hero-index { display: none; }
  .footer { align-items: flex-start; }
  .footer__legal { max-width: 300px; }
}
@media (max-width: 700px) {
  .cinema__video { object-position: 53% 50%; }
  .cinema__gradient { background: linear-gradient(90deg, rgba(22,15,12,.72), rgba(22,15,12,.52)), linear-gradient(0deg, rgba(18,12,10,.88), transparent 52%, rgba(17,12,10,.5)); }
  .page { padding: max(23px, env(safe-area-inset-top)) 23px max(20px, env(safe-area-inset-bottom)); }
  .brand__type { font-size: 16px; letter-spacing: .11em; }
  .brand__original { max-width: 155px; max-height: 55px; }
  .header { gap: 15px; }
  .header__right { gap: 8px; }
  .live-note { display: none; }
  .header__divider { display: none; }
  .socials { gap: 6px; }
  .socials__link { width: 36px; height: 36px; }
  .socials__link svg { width: 17px; height: 17px; }
  .hero { padding: 55px 0 52px; }
  .hero__eyebrow { font-size: 9px; letter-spacing: .13em; gap: 10px; }
  .hero__rule { width: 23px; }
  .hero h1 { font-size: clamp(43px,10.3vw,65px); margin: 23px 0 18px; line-height: 1.07; letter-spacing: -.06em; }
  .hero p { font-size: 14px; line-height: 1.65; max-width: 345px; }
  .hero__action { margin-top: 26px; gap: 13px; }
  .cta { min-height: 52px; padding: 14px 19px; }
  .hero__hint { font-size: 11px; }
  .footer { flex-direction: column; gap: 19px; padding-top: 18px; }
  .footer address { font-size: 10px; }
  .footer__legal { max-width: unset; width: 100%; justify-content: flex-start; gap: 8px 16px; font-size: 9px; }
  .footer__location { gap: 10px; }
  .footer__label { margin-bottom: 5px; font-size: 8px; }
}
@media (max-height: 710px) and (min-width: 701px) {
  .hero { padding: 25px 0; }
  .hero h1 { font-size: clamp(55px,5vw,82px); }
  .hero__action { margin-top: 25px; }
}
@media (max-height: 620px) and (max-width: 700px) {
  .main { align-items: flex-start; }
  .hero { padding: 35px 0; }
  .hero h1 { font-size: 41px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition: none !important; }
}

/* ===== CASA TERON - REFINAMENTO PREMIUM V3 ===== */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  clip-path: inset(50%);
}

/* Video como protagonista */

.cinema__gradient {
  background:
    linear-gradient(180deg,
      rgba(18,13,10,.35) 0%,
      rgba(18,13,10,.07) 35%,
      rgba(18,13,10,.08) 58%,
      rgba(18,13,10,.78) 100%);
}

.main {
  align-items: flex-end;
  justify-content: center;
}

.hero {
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: center;
  padding: 0 0 clamp(24px,5vh,65px);
}

.hero__action {
  margin: 0;
  justify-content: center;
}

.hero__eyebrow,
.hero > h1:not(.visually-hidden),
.hero > p,
.hero__hint,
.hero-index,
.live-note,
.header__divider {
  display: none !important;
}

/* Logo horizontal original */

.brand {
  background: rgba(248,243,234,.94);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 12px;
  padding: 2px 15px;
  min-height: 58px;
  box-shadow: 0 12px 38px rgba(15,10,7,.16);
  backdrop-filter: blur(12px);
}

.brand__original {
  display: block;
  width: 225px;
  max-width: 100%;
  max-height: 70px;
  height: auto;
  object-fit: contain;
}

/* Botao de interesse */

.cta:not(.cta--dark) {
  min-height: 58px;
  border-radius: 999px;
  padding: 15px 25px;
  background: rgba(250,245,236,.96);
  color: #2e241d;
  border-color: rgba(255,255,255,.8);
  box-shadow: 0 12px 42px rgba(17,11,7,.28);
  backdrop-filter: blur(10px);
}

.cta:not(.cta--dark):hover {
  background: #fffaf2;
  transform: translateY(-3px);
}

/* Abertura cinematografica com logo oficial */

.opening {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(135deg,#f8f4ed,#e8dfd1);
  animation: ct-opening-out 1.9s ease-in-out forwards;
}

.opening::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
    rgba(255,255,255,.6),
    transparent 60%);
}

.opening img {
  display: block;
  position: relative;
  z-index: 1;
  width: min(68vw,390px);
  height: auto;
  object-fit: contain;
  animation: ct-opening-logo 1.9s ease-in-out both;
}

@keyframes ct-opening-out {
  0%,52% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes ct-opening-logo {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(.985);
  }
  23%,62% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-9px) scale(1.015);
  }
}

/* Modal refinado com movimento de entrada e saida */

.dialog {
  width: min(92vw,500px);
  max-height: min(94dvh,850px);
  border-radius: 20px;
  border: 1px solid rgba(229,215,194,.7);
  background: rgba(253,249,242,.99);
  box-shadow: 0 35px 110px rgba(0,0,0,.4);
  transform-origin: center center;
  overscroll-behavior: contain;
}

.dialog[open]:not(.is-closing) {
  animation: ct-modal-in .44s cubic-bezier(.2,.8,.2,1) both;
}

.dialog[open]::backdrop {
  background: rgba(18,13,10,.55);
  backdrop-filter: blur(7px);
  animation: ct-backdrop-in .35s ease-out both;
}

.dialog.is-closing {
  animation: ct-modal-out .23s ease-in both;
}

.dialog.is-closing::backdrop {
  animation: ct-backdrop-out .23s ease-in both;
}

.dialog__inner {
  padding: clamp(24px,4vw,43px);
}

.dialog__close {
  background: #eee6dc;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  top: 18px;
  right: 18px;
  transition: background .2s,transform .2s;
}

.dialog__close:hover {
  background: #e3d2c0;
  transform: rotate(90deg);
}

.waitlist > input {
  border-radius: 9px;
  background: #fffdf9;
  min-height: 48px;
  transition: border-color .2s,box-shadow .2s;
}

.waitlist > input:focus {
  border-color: #9b7b58;
  box-shadow: 0 0 0 3px rgba(171,132,85,.12);
}

.cta--dark {
  border-radius: 999px;
}

@keyframes ct-modal-in {
  from { opacity: 0; transform: translateY(18px) scale(.965); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ct-modal-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(10px) scale(.98); }
}

@keyframes ct-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ct-backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Aviso de privacidade */

.cookie-banner {
  position: fixed;
  z-index: 50;
  left: clamp(16px,4vw,60px);
  bottom: max(20px,env(safe-area-inset-bottom));
  width: min(540px,calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 21px;
  border-radius: 16px;
  border: 1px solid rgba(182,153,115,.35);
  background: rgba(250,247,242,.98);
  box-shadow: 0 18px 65px rgba(0,0,0,.28);
  color: #3c2f26;
  animation: ct-cookie-in .45s ease-out both;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__content {
  flex: 1;
  min-width: 0;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}

.cookie-banner p {
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
  color: #706052;
}

.cookie-banner a {
  color: #674b35;
  text-underline-offset: 3px;
}

.cookie-banner button {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 12px 19px;
  background: #3b2c23;
  color: #faf3e9;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner button:hover {
  background: #624a37;
}

@keyframes ct-cookie-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ajustes para celular */

@media (max-width:700px) {
  .page {
    padding:
      max(18px,env(safe-area-inset-top))
      18px
      max(18px,env(safe-area-inset-bottom));
  }

  .brand {
    min-height: 46px;
    border-radius: 9px;
    padding: 0 10px;
  }

  .brand__original {
    width: 146px;
    max-height: 54px;
  }

  .hero {
    padding-bottom: clamp(18px,4vh,40px);
  }

  .cta:not(.cta--dark) {
    min-height: 53px;
    padding: 13px 20px;
  }

  .dialog {
    border-radius: 17px;
    max-height: calc(100dvh - 24px);
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 17px;
  }

  .cookie-banner button {
    width: 100%;
  }

  .footer__legal {
    row-gap: 10px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .opening {
    display: none !important;
  }

  .dialog,
  .dialog::backdrop,
  .cookie-banner {
    animation: none !important;
  }
}

/* ===== CASA TERON - REFINAMENTO PREMIUM V3 ===== */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  clip-path: inset(50%);
}

/* Video como protagonista */

.cinema__gradient {
  background:
    linear-gradient(180deg,
      rgba(18,13,10,.35) 0%,
      rgba(18,13,10,.07) 35%,
      rgba(18,13,10,.08) 58%,
      rgba(18,13,10,.78) 100%);
}

.main {
  align-items: flex-end;
  justify-content: center;
}

.hero {
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: center;
  padding: 0 0 clamp(24px,5vh,65px);
}

.hero__action {
  margin: 0;
  justify-content: center;
}

.hero__eyebrow,
.hero > h1:not(.visually-hidden),
.hero > p,
.hero__hint,
.hero-index,
.live-note,
.header__divider {
  display: none !important;
}

/* Logo horizontal original */

.brand {
  background: rgba(248,243,234,.94);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 12px;
  padding: 2px 15px;
  min-height: 58px;
  box-shadow: 0 12px 38px rgba(15,10,7,.16);
  backdrop-filter: blur(12px);
}

.brand__original {
  display: block;
  width: 225px;
  max-width: 100%;
  max-height: 70px;
  height: auto;
  object-fit: contain;
}

/* Botao de interesse */

.cta:not(.cta--dark) {
  min-height: 58px;
  border-radius: 999px;
  padding: 15px 25px;
  background: rgba(250,245,236,.96);
  color: #2e241d;
  border-color: rgba(255,255,255,.8);
  box-shadow: 0 12px 42px rgba(17,11,7,.28);
  backdrop-filter: blur(10px);
}

.cta:not(.cta--dark):hover {
  background: #fffaf2;
  transform: translateY(-3px);
}

/* Abertura cinematografica com logo oficial */

.opening {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(135deg,#f8f4ed,#e8dfd1);
  animation: ct-opening-out 1.9s ease-in-out forwards;
}

.opening::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
    rgba(255,255,255,.6),
    transparent 60%);
}

.opening img {
  display: block;
  position: relative;
  z-index: 1;
  width: min(68vw,390px);
  height: auto;
  object-fit: contain;
  animation: ct-opening-logo 1.9s ease-in-out both;
}

@keyframes ct-opening-out {
  0%,52% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes ct-opening-logo {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(.985);
  }
  23%,62% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-9px) scale(1.015);
  }
}

/* Modal refinado com movimento de entrada e saida */

.dialog {
  width: min(92vw,500px);
  max-height: min(94dvh,850px);
  border-radius: 20px;
  border: 1px solid rgba(229,215,194,.7);
  background: rgba(253,249,242,.99);
  box-shadow: 0 35px 110px rgba(0,0,0,.4);
  transform-origin: center center;
  overscroll-behavior: contain;
}

.dialog[open]:not(.is-closing) {
  animation: ct-modal-in .44s cubic-bezier(.2,.8,.2,1) both;
}

.dialog[open]::backdrop {
  background: rgba(18,13,10,.55);
  backdrop-filter: blur(7px);
  animation: ct-backdrop-in .35s ease-out both;
}

.dialog.is-closing {
  animation: ct-modal-out .23s ease-in both;
}

.dialog.is-closing::backdrop {
  animation: ct-backdrop-out .23s ease-in both;
}

.dialog__inner {
  padding: clamp(24px,4vw,43px);
}

.dialog__close {
  background: #eee6dc;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  top: 18px;
  right: 18px;
  transition: background .2s,transform .2s;
}

.dialog__close:hover {
  background: #e3d2c0;
  transform: rotate(90deg);
}

.waitlist > input {
  border-radius: 9px;
  background: #fffdf9;
  min-height: 48px;
  transition: border-color .2s,box-shadow .2s;
}

.waitlist > input:focus {
  border-color: #9b7b58;
  box-shadow: 0 0 0 3px rgba(171,132,85,.12);
}

.cta--dark {
  border-radius: 999px;
}

@keyframes ct-modal-in {
  from { opacity: 0; transform: translateY(18px) scale(.965); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ct-modal-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(10px) scale(.98); }
}

@keyframes ct-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ct-backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Aviso de privacidade */

.cookie-banner {
  position: fixed;
  z-index: 50;
  left: clamp(16px,4vw,60px);
  bottom: max(20px,env(safe-area-inset-bottom));
  width: min(540px,calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 21px;
  border-radius: 16px;
  border: 1px solid rgba(182,153,115,.35);
  background: rgba(250,247,242,.98);
  box-shadow: 0 18px 65px rgba(0,0,0,.28);
  color: #3c2f26;
  animation: ct-cookie-in .45s ease-out both;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__content {
  flex: 1;
  min-width: 0;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}

.cookie-banner p {
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
  color: #706052;
}

.cookie-banner a {
  color: #674b35;
  text-underline-offset: 3px;
}

.cookie-banner button {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 12px 19px;
  background: #3b2c23;
  color: #faf3e9;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner button:hover {
  background: #624a37;
}

@keyframes ct-cookie-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ajustes para celular */

@media (max-width:700px) {
  .page {
    padding:
      max(18px,env(safe-area-inset-top))
      18px
      max(18px,env(safe-area-inset-bottom));
  }

  .brand {
    min-height: 46px;
    border-radius: 9px;
    padding: 0 10px;
  }

  .brand__original {
    width: 146px;
    max-height: 54px;
  }

  .hero {
    padding-bottom: clamp(18px,4vh,40px);
  }

  .cta:not(.cta--dark) {
    min-height: 53px;
    padding: 13px 20px;
  }

  .dialog {
    border-radius: 17px;
    max-height: calc(100dvh - 24px);
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 17px;
  }

  .cookie-banner button {
    width: 100%;
  }

  .footer__legal {
    row-gap: 10px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .opening {
    display: none !important;
  }

  .dialog,
  .dialog::backdrop,
  .cookie-banner {
    animation: none !important;
  }
}

/* CASA TERON VISUAL V4 */

.home .cinema__gradient {
  background:
    linear-gradient(90deg,
      rgba(10,8,7,.84) 0%,
      rgba(12,9,7,.73) 36%,
      rgba(12,9,7,.49) 72%,
      rgba(12,9,7,.43) 100%),
    linear-gradient(0deg,
      rgba(8,6,5,.77) 0%,
      transparent 32%,
      rgba(8,6,5,.15) 100%);
}

/* Marca original sem caixa */

.home .brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 !important;
  min-height: 52px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.home .brand__icon {
  display: block;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.home .brand__original {
  width: 174px;
  height: auto;
  max-width: unset !important;
  max-height: 60px !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.home .brand__type {
  color: #fff7ea;
}

/* Apresentacao editorial */

.home .main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.home .hero {
  display: block;
  width: 100%;
  max-width: 690px;
  padding: clamp(20px,5vh,56px) 0;
  text-align: left;
}

.home .hero > h1#heroTitle {
  display: block !important;
  margin: 0 0 23px;
  max-width: 680px;
  font-size: clamp(42px,4.9vw,78px);
  line-height: 1.065;
  font-weight: 400;
  letter-spacing: -.047em;
  color: #fcf7ee;
  text-wrap: balance;
  text-shadow: 0 3px 25px rgba(0,0,0,.16);
}

.home .hero > p {
  display: block !important;
  margin: 0;
  max-width: 480px;
  color: #e6dbcf;
  font-size: clamp(14px,1.15vw,17px);
  line-height: 1.7;
  font-weight: 400;
}

.home .hero__action {
  justify-content: flex-start;
  margin-top: 32px;
}

/* Botao mais discreto */

.home .hero .cta:not(.cta--dark) {
  min-height: 54px;
  padding: 14px 22px;
  border: 1px solid rgba(255,247,231,.65);
  border-radius: 9px;
  box-shadow: 0 8px 28px rgba(0,0,0,.17);
  outline: none;
  background: #f3e9db;
  color: #2e231c;
}

.home .hero .cta:focus-visible {
  outline: 2px solid #f3e9db;
  outline-offset: 4px;
}

/* Validacao do formulario */

.phone-help {
  display: block;
  margin: -10px 0 17px;
  font-size: 11px;
  line-height: 1.45;
  color: #75685b;
}

.phone-help.is-error {
  color: #ad4b3c;
}

.waitlist > input[aria-invalid="true"] {
  border-color: #ad4b3c;
  box-shadow: 0 0 0 3px rgba(173,75,60,.12);
}

/* Celular */

@media (max-width:700px) {
  .home .cinema__gradient {
    background:
      linear-gradient(0deg,
        rgba(10,8,7,.80),
        rgba(10,8,7,.43) 62%,
        rgba(10,8,7,.53)),
      linear-gradient(90deg,
        rgba(10,8,7,.26),
        rgba(10,8,7,.2));
  }

  .home .brand {
    gap: 2px;
    min-height: 42px;
  }

  .home .brand__icon {
    width: 36px;
    height: 36px;
  }

  .home .brand__original {
    width: 125px;
    max-height: 48px !important;
  }

  .home .main {
    align-items: flex-end;
  }

  .home .hero {
    max-width: 420px;
    padding: 28px 0 38px;
  }

  .home .hero > h1#heroTitle {
    font-size: clamp(32px,8.7vw,49px);
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .home .hero > p {
    max-width: 350px;
    font-size: 13px;
    line-height: 1.6;
  }

  .home .hero__action {
    margin-top: 22px;
  }

  .home .hero .cta:not(.cta--dark) {
    min-height: 51px;
  }
}

@media (max-width:370px) {
  .home .brand__icon {
    width: 28px;
    height: 28px;
  }

  .home .brand__original {
    width: 106px;
  }

  .home .socials__link {
    width: 32px;
    height: 32px;
  }

  .home .hero > h1#heroTitle {
    font-size: 31px;
  }
}

/* ===== CASA TERON MOBILE V5 ===== */

@media (max-width: 700px) {
  .home .page {
    min-height: 100svh;
    grid-template-rows: auto minmax(min-content, 1fr) auto;
    padding:
      max(21px, env(safe-area-inset-top))
      19px
      max(18px, env(safe-area-inset-bottom));
  }

  .home .main {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
  }

  .home .hero {
    width: 100%;
    max-width: 380px;
    padding: 0;
    margin: 0;
    text-align: left;
    transform: translateY(clamp(8px, 3vh, 26px));
  }

  .home .hero > h1#heroTitle {
    font-size: clamp(31px, 8.3vw, 39px);
    line-height: 1.13;
    letter-spacing: -.045em;
    margin: 0 0 17px;
    max-width: 370px;
  }

  .home .hero > p {
    font-size: 13px;
    line-height: 1.65;
    max-width: 340px;
    margin: 0;
  }

  .home .hero__action {
    margin-top: 24px;
    justify-content: flex-start;
  }

  .home .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 15px;
  }

  .home .footer address {
    font-size: 10px;
    line-height: 1.55;
  }

  .home .footer__legal {
    gap: 9px 14px;
    justify-content: flex-start;
    font-size: 9px;
    line-height: 1.5;
  }

  .home .footer__location {
    max-width: 100%;
  }
}

@media (max-width: 700px) and (max-height: 680px) {
  .home .hero {
    transform: none;
  }

  .home .hero > h1#heroTitle {
    font-size: clamp(29px, 7.8vw, 35px);
    margin-bottom: 12px;
  }

  .home .hero__action {
    margin-top: 18px;
  }

  .home .footer {
    gap: 8px;
    padding-top: 10px;
  }
}
