/* ============================================================
   Casa Shae — Imersão Da Essência à Estratégia
   style.css
   ============================================================ */

/* ── RESET & TOKENS ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --deep:        #1A1208;
  --cream:       #FBF7F0;
  --warm-white:  #FEFCF8;
  --text:        #2C2116;
  --muted:       #7A6E62;
  --orange:      #D4813A;
  --section-bg:  #F5EFE4;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', Arial, sans-serif;

  --max-w: 1140px;
  --pad-x: clamp(24px, 8vw, 100px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

/* ── TYPOGRAPHY HELPERS ── */
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--deep);
}

.display em { color: var(--gold); font-style: italic; }

.body-copy {
  font-size: 14px;
  color: var(--text);
  line-height: 1.85;
}

.body-copy + .body-copy { margin-top: 16px; }

.blockquote {
  border-left: 3px solid var(--gold);
  padding: 18px 24px;
  background: rgba(201,168,76,0.07);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--deep);
  line-height: 1.55;
  margin: 28px 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.25s, color 0.25s, transform 0.15s;
}

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

.btn-gold {
  padding: 17px 46px;
  background: var(--gold);
  color: var(--deep);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  padding: 15px 40px;
  background: transparent;
  border: 1.5px solid var(--gold-light);
  color: var(--gold-light);
}
.btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--deep); }

/* whatsapp icon inside button */
.btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* ── SECTION WRAPPER ── */
.section { padding: 96px var(--pad-x); }
.section--dark  { background: var(--deep); }
.section--cream { background: var(--cream); }
.section--tint  { background: var(--section-bg); }

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section__header .display { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 20px; }
.section__header .body-copy { color: var(--muted); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px var(--pad-x);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(26,18,8,0.72) 0%,
    rgba(26,18,8,0.40) 55%,
    rgba(26,18,8,0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 500px;
  text-align: right;
}

.hero__logo {
  height: 56px;
  width: auto;
  margin-left: auto;
  margin-bottom: 28px;
  /* fallback se logo tiver fundo escuro */
  filter: brightness(0) invert(1);
}

.hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.02;
  margin-bottom: 20px;
}

.hero__title em { color: var(--gold-light); font-style: italic; }

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-style: italic;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  margin-bottom: 40px;
}

/* ── DATA STRIP ── */
.strip {
  background: var(--deep);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.strip__item {
  flex: 1 1 180px;
  text-align: center;
  padding: 36px 32px;
  border-right: 1px solid rgba(201,168,76,0.2);
}

.strip__item:last-child { border-right: none; }

.strip__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.strip__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.25;
}

.strip__value small {
  display: block;
  font-size: 0.65em;
  opacity: 0.55;
  margin-top: 2px;
}

/* ── INTRO (texto + foto) ── */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.intro__text {
  background: var(--cream);
  padding: 96px var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro__text .display { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 24px; }

.intro__photo {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

.intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ── PROGRAM ── */
.parts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(201,168,76,0.18);
}

.part-card {
  background: var(--warm-white);
  padding: 52px 48px;
}

.part-card__num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  margin-bottom: 2px;
}

.part-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--deep);
  line-height: 1.2;
  margin-bottom: 4px;
}

.part-card__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}

.part-card__list {
  list-style: none;
}

.part-card__list li {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  position: relative;
}

.part-card__list li:last-child { border-bottom: none; }

.part-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 11px;
}

/* ── GALLERY ── */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  align-items: start;   /* cada coluna tem altura independente */
}

.gallery__grid + .gallery__grid { margin-top: 4px; }

.gallery__item {
  position: relative;
  overflow: hidden;
}

.gallery__item img {
  width: 100%;
  height: auto;         /* altura livre — respeita a proporção original */
  display: block;
  transition: transform 0.5s ease;
}

.gallery__item:hover img { transform: scale(1.04); }

.gallery__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  padding: 5px 12px;
  text-transform: uppercase;
}

.gallery__badge--before { background: var(--deep); color: #fff; }
.gallery__badge--after  { background: var(--gold); color: var(--deep); }

/* ── PRICING ── */
.pricing__table {
  max-width: 740px;
  margin: 0 auto;
  border: 1px solid rgba(201,168,76,0.22);
}

.pricing__row {
  display: grid;
  grid-template-columns: 80px 1fr 160px;
  align-items: center;
  padding: 28px 40px;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.pricing__row:last-child { border-bottom: none; }

.pricing__row--head {
  padding: 15px 40px;
  background: rgba(201,168,76,0.08);
}

.pricing__row--head span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.pricing__lot {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold);
}

.pricing__avail {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

.pricing__price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold-light);
  text-align: right;
}

.pricing__note {
  max-width: 740px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  line-height: 1.75;
}

.pricing__cta {
  text-align: center;
  margin-top: 48px;
}

/* ── FINAL CTA ── */
.final-cta {
  position: relative;
  padding: 120px var(--pad-x);
  text-align: center;
  overflow: hidden;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.final-cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,18,8,0.78);
}

.final-cta__content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
}

.final-cta__content .display {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 22px;
}

.final-cta__content .body-copy {
  color: rgba(255,255,255,0.7);
  margin-bottom: 42px;
  font-size: 15px;
}

/* ── FOOTER ── */
.footer {
  background: var(--deep);
  padding: 40px var(--pad-x);
  text-align: center;
  border-top: 1px solid rgba(201,168,76,0.15);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.footer__copy {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .intro__photo { min-height: 380px; }
  .intro__text { padding: 64px var(--pad-x); }

  .parts { grid-template-columns: 1fr; }

  .gallery__item img { height: auto; }

  .pricing__row { grid-template-columns: 64px 1fr 120px; padding: 22px 24px; }
  .pricing__row--head { padding: 13px 24px; }

  .strip__item { flex: 1 1 50%; border-bottom: 1px solid rgba(201,168,76,0.15); }
  .strip__item:nth-child(even) { border-right: none; }
}

@media (max-width: 600px) {
  .hero { justify-content: center; }
  .hero__content { text-align: center; max-width: 100%; }
  .hero__logo { margin-left: auto; margin-right: auto; }

  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item img { height: auto; }

  .pricing__row { grid-template-columns: 50px 1fr 100px; padding: 18px 16px; }
  .pricing__price { font-size: 1.3rem; }

  .strip__item { flex: 1 1 100%; border-right: none; }

  .btn-gold, .btn-outline { padding: 16px 28px; font-size: 10px; }

  .part-card { padding: 40px 28px; }
}

/* ── STICKY HEADER ── */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(24px, 5vw, 60px);
  background: rgba(26,18,8,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

.sticky-header.header--visible {
  transform: translateY(0);
}

.sticky-header__logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ── SCROLL REVEAL ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.sticky-header__brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  flex: 1;
  margin-left: 14px;
}
