/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #3B3F2B;
  --green-deep: #2E3121;
  --cream: #F2EFE4;
  --terracotta: #B5763F;
  --gray: #8A8A80;
  --text-dark: #2A2A24;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.narrow-center { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.15; }

.eyebrow {
  font-size: .78rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 1rem; font-weight: 500;
}
.eyebrow.center { text-align: center; }

.section__title { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.section__text { font-size: 1.05rem; margin-bottom: 1.2rem; color: inherit; }
.section__signature {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.4rem; color: var(--terracotta); margin-top: 1.5rem;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block; padding: .9rem 1.8rem; border-radius: 2px;
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; font-weight: 500; cursor: pointer;
  transition: all .3s ease; border: 1px solid transparent;
}
.btn--primary { background: var(--terracotta); color: #fff; }
.btn--primary:hover { background: #9c6231; }
.btn--outline { background: transparent; border-color: var(--cream); color: var(--cream); }
.btn--outline:hover { background: var(--cream); color: var(--green); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.15); }
.btn--full { width: 100%; text-align: center; }

/* ============ HEADER (fixo + cor do logo) ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #3B3F2B;
  padding: .8rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
  transition: padding .4s ease;
}
.header.scrolled { padding: .55rem 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; }
.header__logo img { height: 42px; width: auto; }

.nav { display: flex; gap: 2rem; }
.nav a {
  color: var(--cream); text-decoration: none; font-size: .85rem;
  letter-spacing: .05em; text-transform: uppercase; transition: color .3s;
}
.nav a:hover { color: var(--terracotta); }


.header__cta {
  font-size: .78rem;
  padding: .7rem 1.2rem;
  background: var(--terracotta);
  color: #fff;
  border: 1px solid var(--terracotta);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: all .3s ease;
}

.header__cta:hover {
  transform: translateY(-1px);
  background: #9c6231;
  border-color: #9c6231;
}


.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 1100; }
.nav__toggle span { width: 26px; height: 2px; background: var(--cream); transition: .3s; }

/* ============ HERO ============ */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; color: #fff; padding-top: 110px;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(46,49,33,.85), rgba(46,49,33,.35)); z-index: -1; }
.hero__content { max-width: 720px; }
.hero__eyebrow { color: var(--terracotta); letter-spacing: .3em; font-size: .8rem; margin-bottom: 1rem; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: .5rem; }
.hero__subtitle { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.3rem, 3vw, 2rem); font-style: italic; margin-bottom: 1.5rem; color: var(--cream); }
.hero__lead { font-size: 1.05rem; max-width: 560px; margin-bottom: 2rem; opacity: .95; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: 1.5rem; text-decoration: none; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* ============ SECTIONS ============ */
.section { padding: 6rem 0; }
.section--dark { background: var(--green); color: var(--cream); }
.section--dark .section__text { color: rgba(242,239,228,.9); }
.section--light { background: var(--cream); color: var(--text-dark); }

.location-layout {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-top: 3rem;
}

.location-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.location-copy__lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
  max-width: 560px;
  text-align: left;
}
/* ============ LOCALIZAÇÃO — versão premium ============ */

.loc-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem .5rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
  border-radius: 8px;
  transition: background .3s ease, transform .3s ease;
}
.loc-item:last-child { border-bottom: none; }
.loc-item:hover {
  background: rgba(181,118,63,.06);
  transform: translateX(4px);
}


.loc-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(59,63,43,.06);
  color: var(--terracotta);      /* cor do traço do ícone */
}
.loc-icon svg {
  width: 22px; height: 22px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.loc-list--card .loc-item.active,
.loc-list--card .loc-item--highlight.active,
.loc-list--card .loc-item--ibiti.active {
  background: rgba(181,118,63,.15);
  box-shadow: inset 4px 0 0 var(--terracotta);
}

/* Pílula de distância — largura fixa */
.loc-dist {
  display: inline-flex;
  align-items: center;        /* centraliza na vertical */
  justify-content: center;    /* centraliza na horizontal ← o que faltava */
  text-align: center;         /* reforço para o texto */
  width: 72px;
  min-width: 72px;
  flex-shrink: 0;
  padding: .35rem 0;
  border-radius: 999px;
  background: rgba(181,118,63,.1);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--terracotta);
}

/* Nome + categoria */
.loc-info { display: flex; flex-direction: column; }
.loc-info strong { font-size: 1rem; color: var(--text-dark); font-weight: 500; }
.loc-info small { font-size: .78rem; color: var(--gray); letter-spacing: .02em; }

/* Item de DESTAQUE (o metrô — argumento nº1) */
.loc-item--highlight {
  background: var(--green);
  margin: .5rem 0;
}
.loc-item--highlight:hover { background: var(--green-deep); transform: translateX(4px); }
.loc-item--highlight .loc-icon { background: rgba(255,255,255,.12); }
.loc-item--highlight .loc-info strong { color: var(--cream); }
.loc-item--highlight .loc-info small { color: rgba(242,239,228,.7); }
.loc-item--highlight .loc-dist { background: var(--terracotta); color: #fff; }


.loc-item--ibiti .loc-icon svg {
  color: var(--terracotta);
  stroke: var(--terracotta);
}
.loc-item--ibiti .loc-icon {
  background: rgba(255,255,255,.15);   /* ← esse é o círculo claro */
}

.loc-item--ibiti .loc-dist {
  background: var(--terracotta);
  color: #fff;
  font-size: .9rem;
  letter-spacing: .05em;
  justify-content: center;   /* mantém "IBITI" centralizado também */
}



.location-map {
  width: 100%;
  min-height: 640px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 640px;
  display: block;
}

.section--location .section__title {
  margin-bottom: 1rem;
}

.section--location .section__signature {
  margin-top: 2.5rem;
  text-align: center;
}

@media (max-width: 900px) {
  .location-layout {
    grid-template-columns: 1fr;
  }

  .location-map,
  .location-map iframe {
    min-height: 380px;
  }

  .location-copy {
    align-items: flex-start;
  }

  .location-copy__lead {
    text-align: left;
  }
  
    .signature-block {
    grid-template-columns: 1fr;   /* empilha texto e fotos */
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
  }
  .signature-block__media {
    grid-template-columns: 1fr 1fr; /* mantém as 2 fotos lado a lado */
    margin-top: 1rem;
  }
  .signature-block__content h3::after {
    width: 120px;   /* acento discreto no mobile */
  }
}


/* ============ SPLIT ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; padding: 0; background: var(--green); color: var(--cream); }
.split__media img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.split__content { padding: 4rem; }
.stats { list-style: none; display: flex; gap: 2.5rem; margin-top: 2rem; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--terracotta); }
.stats span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* ============ LOCALIZAÇÃO ============ */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 2.5rem; }
.loc-list { list-style: none; }
.loc-list li { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(0,0,0,.08); font-size: 1rem; }
.loc-media img { border-radius: 4px; height: 100%; object-fit: cover; }

.loc-media--map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.loc-media--map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
}




.signature-block {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 2.8rem;
  align-items: start;
  margin-top: 3rem;
  margin-bottom: 4.5rem;
}

.signature-block__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3.4rem;
}

.signature-block__content p {
  max-width: 580px;
}

.signature-block__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.signature-block__kicker {
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(242,239,228,.65);
  margin-bottom: 1rem;
}

.signature-block__content h3 {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: .75rem;
  letter-spacing: .02em;
  overflow-wrap: break-word;   /* ← quebra palavras longas */
  word-break: break-word;      /* ← reforço p/ navegadores antigos */
  hyphens: auto;               /* ← hifeniza se precisar */
}
.signature-block__content h3::after {
  content: "";
  display: block;
  width: min(600px, 100%);   /* ← antes era 600px */
  height: 2px;
  background: var(--terracotta);
  margin-top: .5rem;
}



/* ============ CARDS 3 ============ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 3rem 0; }
.card-sign { border: 1px solid rgba(181,118,63,.4); padding: 2.5rem 1.5rem; text-align: center; border-radius: 4px; transition: transform .3s, border-color .3s; }
.card-sign:hover { transform: translateY(-6px); border-color: var(--terracotta); }
.card-sign h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.card-sign p { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); }

/* ============ FEATURE GRID ============ */
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.feature-grid li { position: relative; padding: 1.5rem 1.5rem 1.5rem 2.5rem; background: #fff; border-radius: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.05); font-size: .95rem; }
.feature-grid li::before { content: "—"; position: absolute; left: 1rem; color: var(--terracotta); font-weight: 700; }
.features__lead {
  max-width: 760px;
  margin: -0.5rem auto 2.5rem;
  color: rgba(42, 42, 36, .75);
  font-size: 1.02rem;
  line-height: 1.8;
}

.features__hero-single {
  position: relative;
  margin-bottom: 2rem;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.features__hero-single img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.features__hero-badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  max-width: 420px;
  background: rgba(46,49,33,.88);
  color: var(--cream);
  padding: 1.4rem 1.4rem 1.2rem;
  border-radius: 14px;
  backdrop-filter: blur(6px);
}

.features__hero-badge h3 {
  font-size: 1.8rem;
  margin: .5rem 0 .4rem;
  color: var(--cream);
}

.features__hero-badge p {
  color: rgba(242,239,228,.9);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(181,118,63,.12);
  border-radius: 12px;
  padding: 1.3rem 1.2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.03);
  line-height: 1.6;
  min-height: 88px;
}

/* ============ TIMELINE ============ */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 3rem 0; }
.timeline__item { border-left: 2px solid var(--terracotta); padding-left: 1.2rem; }
.timeline__time { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--terracotta); margin-bottom: .5rem; }

/* ============ GALLERY ============ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; transition: transform .4s; }
.gallery img:hover { transform: scale(1.04); }

/* ============ PLANS ============ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 3rem 0; }
.plan { background: #fff; padding: 2.5rem 1.5rem; text-align: center; border-radius: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.05); transition: transform .3s; }
.plan:hover { transform: translateY(-6px); }
.plan h3 { font-size: 2.2rem; color: var(--terracotta); margin-bottom: .5rem; }
.plan p { font-size: .9rem; }
.plan--highlight { background: var(--green); color: var(--cream); }
.plan--highlight h3 { color: var(--terracotta); }

/* ============ TAGS ============ */
.tags { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }
.tags span { border: 1px solid var(--terracotta); color: var(--terracotta); padding: .5rem 1.2rem; border-radius: 30px; font-size: .85rem; }


/* ============ CTA FINAL ============ */
.cta-final {
  position: relative;          /* ESSENCIAL: âncora para o fundo absoluto */
  background: var(--green);    /* fallback verde */
  color: #fff;
  text-align: center;
  padding: 6rem 0;
  overflow: hidden;
}

/* A imagem vira FUNDO cobrindo toda a seção */
.cta-final__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;                  /* fica atrás */
}

.cta-final__overlay {
  position: absolute;
  inset: 0;
  background: rgba(46,49,33,.85);
  z-index: 1;                  /* filtro escuro sobre a imagem */
}

.cta-final__inner {
  position: relative;
  z-index: 2;                  /* conteúdo por cima de tudo */
  max-width: 640px;
  margin: 0 auto;
}

/* ============ FORM ============ */
.form { margin-top: 2rem; text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form input, .form select {
  width: 100%; padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1); color: #fff; border-radius: 3px; font-family: inherit; font-size: .95rem;
}
.form input::placeholder, .form select { color: rgba(255,255,255,.7); }
.form select option { color: #000; }
.form input:focus, .form select:focus { outline: none; border-color: var(--terracotta); }
.form input[name="horario"] { margin-bottom: 1rem; }
.form__msg { margin-top: 1rem; font-size: .9rem; color: var(--terracotta); }

/* Espaço entre o select de horário e o botão */
.form select[name="horario"],
.form #horario {
  margin-bottom: 1rem;
}

/* ============ FORM — validação ============ */
.form__field { display: flex; flex-direction: column; }
.form__row .form__field { margin-bottom: 0; }
.form__error {
  font-size: .78rem;
  color: #e6b98f;            /* terracota clara, legível no fundo escuro */
  margin-top: .35rem;
  min-height: 1rem;
  opacity: 0;
  transition: opacity .25s ease;
}
.form__error.show { opacity: 1; }
.form input.invalid,
.form select.invalid { border-color: #e6b98f; }
.form input.valid { border-color: rgba(120,180,120,.6); }
.form__msg.success { color: #9fd39f; }
.form__msg.error { color: #e6b98f; }



/* ============ FOOTER ============ */
.footer { background: var(--green-deep); color: var(--cream); padding: 3rem 0 2rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem; }
.footer__logo { height: 46px; }
.footer__brands p { font-size: .9rem; }
.footer__legal { font-size: .72rem; line-height: 1.7; opacity: .7; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; }

/* ============ FLOATING CTA (mobile) ============ */
.floating-cta {
  display: none; position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%);
  background: var(--terracotta); color: #fff; padding: .9rem 2rem; border-radius: 30px;
  text-decoration: none; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase;
  z-index: 999; box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* ============ REVEAL ANIMATION ============ */
/* Fallback: se JS não carregar, conteúdo continua visível */
.reveal { opacity: 1; transform: translateY(0); transition: opacity .8s ease, transform .8s ease; }
html.js .reveal { opacity: 0; transform: translateY(30px); }
html.js .reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .cards-3, .feature-grid, .timeline, .plans { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__media img { min-height: 320px; }
  .split__content { padding: 3rem 1.5rem; }
  .loc-grid { grid-template-columns: 1fr; }
  .features__hero-single img {
    height: 300px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features__hero-badge {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
  
   .signature-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
  }
  .signature-block__media {
    grid-template-columns: 1fr 1fr;
    margin-top: 1rem;
  }
  .signature-block__content { min-width: 0; }   /* ← ESSENCIAL em grid */
  .signature-block__content h3 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .signature-block__content h3::after { width: 120px; }
  .signature-block__content p { max-width: 100%; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .nav {
    position: fixed; top: 0; right: -100%; width: 70%; height: 100vh;
    background: var(--green); flex-direction: column; justify-content: center;
    align-items: center; gap: 2rem; transition: right .4s ease; padding: 2rem;
  }
  .nav.open { right: 0; }
  .nav__toggle { display: flex; }
  .header__cta { display: none; }
  .cards-3, .feature-grid, .timeline, .plans, .gallery { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .stats { flex-wrap: wrap; gap: 1.5rem; }
  .floating-cta { display: block; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}


/* ============ PLANTAS (upgrade visual) ============ */
.plan {
  cursor: pointer;
  overflow: hidden;
  padding: 0 0 2rem;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.plan:hover, .plan:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  outline: none;
}
.plan__thumb {
  width: 100%;
  height: 220px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #eee;
}
.plan__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.plan:hover .plan__thumb img { transform: scale(1.06); }
.plan__cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 500;
}
.plan--highlight .plan__cta { color: var(--terracotta); }


/* ---- Modal (base que estava faltando) ---- */
.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;                 /* escondido por padrão */
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.plan-modal.open { display: flex; }   /* ← é isso que o clique aciona */

.plan-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(46,49,33,.85);
  backdrop-filter: blur(4px);
}

.plan-modal__box {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.7fr 1fr;   /* dá mais espaço para a planta */
  max-width: 1100px;                  /* um pouco mais largo */
  width: 100%;
  max-height: 92vh;
  background: var(--cream);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: modalIn .35s ease;
}


.plan-modal__img img {
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;                /* mostra a planta INTEIRA, sem cortar */
}

/* ---- Destaque do Penthouse (sem encher de verde) ---- */
.plan--highlight {
  background: #fff;                 /* volta ao branco, planta respira */
  border: 2px solid var(--terracotta);
  position: relative;
}

.plan--highlight p { color: var(--text-dark); }
.plan--highlight h3,
.plan--highlight .plan__cta { color: var(--terracotta);}


/* Selo de exclusividade */
.plan--highlight::before {
  content: "EXCLUSIVO";
  position: absolute;
  top: 1rem; right: 1rem; z-index: 2;
  background: var(--terracotta); color: #fff;
  font-size: .65rem; letter-spacing: .12em;
  padding: .35rem .7rem; border-radius: 3px;
}

.reg { font-size: .90em; letter-spacing: 0; vertical-align: super; }


@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.plan-modal__img { background: #fff; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.plan-modal__img img { max-width: 100%; max-height: 80vh; object-fit: contain; }
.plan-modal__info { padding: 2.5rem 2rem; display: flex; flex-direction: column; }
.plan-modal__info h3 { font-size: 2.4rem; color: var(--text-dark); margin-bottom: .3rem; }
.plan-modal__info > p { color: var(--terracotta); font-weight: 500; margin-bottom: 1.5rem; }
.plan-modal__perks { list-style: none; margin-bottom: auto; }
.plan-modal__perks li { padding: .5rem 0 .5rem 1.5rem; position: relative; font-size: .95rem; }
.plan-modal__perks li::before { content: "—"; position: absolute; left: 0; color: var(--terracotta); }
.plan-modal__close {
  position: absolute; top: .8rem; right: 1rem; z-index: 2;
  background: none; border: none; font-size: 2rem; line-height: 1;
  color: var(--text-dark); cursor: pointer; transition: color .3s;
}
.plan-modal__close:hover { color: var(--terracotta); }

@media (max-width: 768px) {
  .plan-modal__box { grid-template-columns: 1fr; overflow-y: auto; }
  .plan-modal__info { padding: 1.5rem; }
}

/* ============ LIGHTBOX (galeria imersiva) ============ */
.gallery img { cursor: pointer; }

.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  background: rgba(20,22,14,.96);
  padding: 2rem 1rem;
}
.lightbox.open { display: flex; }

.lightbox__stage {
  max-width: 90vw; max-height: 72vh;
  display: flex; flex-direction: column; align-items: center;
  animation: lbFade .35s ease;
}
@keyframes lbFade { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: scale(1); } }

.lightbox__stage img {
  max-width: 90vw; max-height: 68vh;
  object-fit: contain; border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__stage figcaption {
  color: var(--cream); margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-style: italic;
  text-align: center;
}

.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none; color: var(--cream);
  font-size: 2.5rem; line-height: 1; cursor: pointer; transition: color .3s;
}
.lightbox__close:hover { color: var(--terracotta); }

.lightbox__nav {
  position: absolute; top: 45%;
  background: rgba(0,0,0,.35); border: 1px solid rgba(242,239,228,.3);
  color: var(--cream); width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer; transition: all .3s;
}
.lightbox__nav:hover { background: var(--terracotta); border-color: var(--terracotta); }
.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

.lightbox__thumbs {
  display: flex; gap: .6rem; margin-top: 1.5rem;
  max-width: 90vw; overflow-x: auto; padding-bottom: .5rem;
}
.lightbox__thumbs img {
  width: 78px; height: 56px; object-fit: cover; border-radius: 4px;
  opacity: .5; cursor: pointer; transition: opacity .3s, transform .3s;
  flex-shrink: 0;
}
.lightbox__thumbs img:hover { opacity: .85; }
.lightbox__thumbs img.active { opacity: 1; outline: 2px solid var(--terracotta); }

@media (max-width: 640px) {
  .lightbox__nav { width: 40px; height: 40px; top: 40%; }
  .lightbox__thumbs img { width: 60px; height: 44px; }
}


/* ============ SELO "IMAGEM ILUSTRATIVA" (global e sutil) ============ */

/* Envolve qualquer imagem que deva receber o selo */
.ilustrativa {
  position: relative;
  display: inline-block;      /* respeita o tamanho da imagem */
  width: 100%;
}
.ilustrativa::after {
  content: "Imagem meramente ilustrativa";
  position: absolute;
  bottom: 6px; right: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: .58rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.35);
  padding: 2px 7px;
  border-radius: 3px;
  backdrop-filter: blur(2px);
  pointer-events: none;       /* não atrapalha o clique da lightbox */
  line-height: 1.4;
}

.ilustrativa::after { opacity: 0; transition: opacity .3s; }
.ilustrativa:hover::after { opacity: 1; }





.loc-item--ibiti .loc-icon {
  background: rgba(255,255,255,.15);   /* ← esse é o círculo claro */
}


/* ============ PÁGINA OBRIGADO ============ */
.thanks {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 4rem 0;
  overflow: hidden;
}
.thanks__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.thanks__overlay {
  position: absolute; inset: 0;
  background: rgba(46,49,33,.9); z-index: 1;
}
.thanks__inner {
  position: relative; z-index: 2;
  max-width: 640px;
}

/* Ícone de check animado */
.thanks__check {
  width: 84px; height: 84px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  animation: checkPop .5s ease;
}
.thanks__check svg {
  width: 42px; height: 42px;
  color: #fff;
  stroke-linecap: round; stroke-linejoin: round;
}
@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.thanks__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 1.2rem;
}
.thanks__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(242,239,228,.92);
  margin-bottom: 2rem;
}
.thanks__highlight {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}
.thanks__actions {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
}

@media (max-width: 640px) {
  .thanks__actions { flex-direction: column; }
  .thanks__actions .btn { width: 100%; text-align: center; }
}


/* Em telas bem pequenas, empilhe também as duas fotos */
@media (max-width: 480px) {
  .signature-block__media {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 768px) {
  .plan-modal__box {
    grid-template-columns: 1fr;   /* empilha: planta em cima, texto embaixo */
    overflow-y: auto;
  }
  .plan-modal__img {
    padding: .5rem;
  }
  .plan-modal__img img {
    max-height: 70vh;             /* deixa espaço para rolar até o texto */
  }
  .plan-modal__info { padding: 1.5rem; }
}


