/* =========================================================================
   ÊXITO ENGENHARIA E COMÉRCIO — style.css
   Design system "patrimônio arquitetônico":
   travertino + carvão + blocos espresso + acento bronze/champanhe.
   Assinatura: monograma de 3 barras inclinadas (.tribar) recorrente.
   Tudo recolorível pelos tokens em :root.
   ========================================================================= */

:root {
  /* ---- Superfícies claras --------------------------------------------- */
  --travertine: #EFE9DF;   /* fundo da página — travertino quente          */
  --paper:      #FAF7F1;   /* cards / superfícies elevadas                 */
  --paper-2:    #F4EEE4;   /* faixas suaves                                */

  /* ---- Blocos escuros (marrom-espresso da marca) ---------------------- */
  --espresso:   #211A12;
  --espresso-2: #2C2318;   /* elevação sobre o escuro                      */

  /* ---- Texto ---------------------------------------------------------- */
  --ink:       #1B1712;    /* principal                                    */
  --stone:     #6B6155;    /* secundário                                   */
  --stone-soft:#8C8174;    /* terciário / metadados                        */
  --cream:     #F3ECE0;    /* texto sobre espresso                         */
  --cream-dim: rgba(243, 236, 224, .72);

  /* ---- Acento ÚNICO = bronze/champanhe -------------------------------- */
  --bronze:      #A87A47;
  --bronze-hi:   #C8A06A;  /* mais claro — texto/realce sobre escuro       */
  --bronze-deep: #855E33;  /* pressionado / hover                          */

  /* ---- Linhas e sombras ----------------------------------------------- */
  --line:       rgba(27, 23, 18, .14);
  --line-soft:  rgba(27, 23, 18, .07);
  --line-cream: rgba(243, 236, 224, .18);
  --shadow:      0 24px 60px rgba(33, 26, 18, .14);
  --shadow-card: 0 16px 40px rgba(33, 26, 18, .10);

  /* ---- WhatsApp (fixo) ------------------------------------------------- */
  --wa: #25D366;

  /* ---- Tipografia ----------------------------------------------------- */
  --font-display: "Archivo", system-ui, sans-serif;   /* títulos / dados   */
  --font-body:    "Inter", system-ui, sans-serif;      /* corpo            */

  /* ---- Escala fluida -------------------------------------------------- */
  --fs-hero: clamp(2.6rem, 6vw, 5rem);
  --fs-h2:   clamp(1.95rem, 4vw, 3.1rem);
  --fs-h3:   clamp(1.15rem, 1.7vw, 1.4rem);
  --fs-lead: clamp(1.05rem, 1.35vw, 1.2rem);

  /* ---- Layout e forma ------------------------------------------------- */
  --container:   1200px;
  --gutter:      clamp(20px, 5vw, 56px);
  --section-pad: clamp(84px, 11vw, 152px);
  --radius:      4px;
  --radius-lg:   8px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur:  .55s;
}

/* ========================= Base ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--travertine);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--bronze); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.06;
  letter-spacing: -.012em;
  font-weight: 600;
  color: var(--ink);
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ====================== Assinatura: monograma 3 barras ================== */
.tribar { display: inline-flex; gap: 3px; flex: none; }
.tribar i {
  display: block;
  width: 5px;
  height: 18px;
  background: var(--bronze);
  transform: skewX(-15deg);
}
.tribar--sm i { width: 4px; height: 14px; }
.tribar--lg i { width: 7px; height: 26px; }
.tribar--cream i { background: var(--bronze-hi); }

/* logo (header/footer) */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 34px; height: 38px; flex: none; }
.brand__mark polygon { fill: var(--bronze); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .02em;
  line-height: 1;
  color: inherit;
}
.brand__name small {
  display: block;
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: .42em;
  margin-top: 3px;
  color: var(--stone);
}

/* ========================= Tipografia utilitária ======================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 12.5px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 20px;
}
.eyebrow--cream { color: var(--bronze-hi); }

.section__title { font-size: var(--fs-h2); margin-bottom: 24px; }
.lead { font-size: var(--fs-lead); color: var(--stone); max-width: 56ch; }
.lead--cream { color: var(--cream-dim); }

.section__head { max-width: 700px; margin-bottom: clamp(48px, 5.5vw, 80px); }

/* ============================= Botões =================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 16px 30px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--bronze); color: #fff; }
.btn--primary:hover { background: var(--bronze-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--on-dark { background: transparent; color: var(--cream); border-color: var(--line-cream); }
.btn--on-dark:hover { border-color: var(--bronze-hi); color: var(--bronze-hi); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* link com seta */
.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 26px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--bronze-deep);
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ============================== Header ================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.header .brand { color: var(--cream); }
.header .brand__name small { color: var(--cream-dim); }
.header .brand__mark polygon { fill: var(--bronze-hi); }

.header.is-scrolled {
  background: rgba(250, 247, 241, .94);
  backdrop-filter: blur(12px);
  border-color: var(--line-soft);
  box-shadow: 0 4px 24px rgba(33, 26, 18, .06);
}
.header.is-scrolled .brand { color: var(--ink); }
.header.is-scrolled .brand__name small { color: var(--stone); }
.header.is-scrolled .brand__mark polygon { fill: var(--bronze); }
.header.is-scrolled .nav a { color: var(--stone); }
.header.is-scrolled .nav a:hover { color: var(--ink); }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 14.5px;
  color: var(--cream-dim); position: relative; transition: color .2s;
}
.nav a:hover { color: var(--cream); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--bronze); transition: width .25s var(--ease);
}
.nav a:hover::after { width: 100%; }
.header__cta { padding: 12px 22px; font-size: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 2px; background: var(--cream); transition: .25s; }
.header.is-scrolled .nav-toggle span { background: var(--ink); }

/* =============================== Hero =================================== */
.hero {
  position: relative;
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(120px, 16vh, 188px) 0 clamp(64px, 9vw, 104px);
  overflow: hidden;
}
.hero::before { /* marca-d'água de barras gigantes */
  content: ""; position: absolute; top: -8%; right: -4%; width: 46%; height: 116%;
  background:
    repeating-linear-gradient(-15deg, var(--espresso-2) 0 14px, transparent 14px 108px);
  opacity: .32; pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.hero__title {
  font-size: var(--fs-hero); font-weight: 700; color: var(--cream);
  margin-bottom: 26px; letter-spacing: -.018em;
}
.hero__title em { font-style: normal; color: var(--bronze-hi); }
.hero__sub { font-size: var(--fs-lead); color: var(--cream-dim); max-width: 48ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__meta { display: flex; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--line-cream); padding-top: 26px; }
.hero__meta b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--cream); }
.hero__meta span { font-size: 13px; color: var(--cream-dim); letter-spacing: .02em; }

.hero__figure { position: relative; }
.hero__figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero__figure::after { /* moldura bronze deslocada */
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--bronze); border-radius: var(--radius-lg);
  z-index: -1;
}
.hero__badge {
  position: absolute; left: -22px; bottom: 26px; z-index: 4;
  background: var(--paper); color: var(--ink);
  padding: 18px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
}
.hero__badge b { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--bronze-deep); }
.hero__badge span { font-size: 12.5px; color: var(--stone); max-width: 12ch; line-height: 1.3; }

/* ============================ Faixa de números ========================== */
.trust { background: var(--espresso-2); border-top: 1px solid var(--line-cream); }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust__item { text-align: center; color: var(--cream); padding: 38px 18px; }
.trust__item + .trust__item { border-left: 1px solid var(--line-cream); }
.trust__num { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--bronze-hi); letter-spacing: -.015em; }
.trust__lbl { display: block; margin-top: 8px; font-size: 13.5px; color: var(--cream-dim); letter-spacing: .03em; }

/* ============================== Seções ================================== */
.section { padding: var(--section-pad) 0; }
.section--soft { background: var(--paper-2); }
.section--dark { background: var(--espresso); color: var(--cream); }
.section--dark .section__title { color: var(--cream); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }

/* figura institucional (Sobre) */
.figure-frame { position: relative; }
.figure-frame img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.figure-frame::before {
  content: ""; position: absolute; left: -16px; top: -16px; width: 64px; height: 64px;
  border-left: 2px solid var(--bronze); border-top: 2px solid var(--bronze);
}
.figure-frame::after {
  content: ""; position: absolute; right: -16px; bottom: -16px; width: 64px; height: 64px;
  border-right: 2px solid var(--bronze); border-bottom: 2px solid var(--bronze);
}
.about__list { margin-top: 28px; display: grid; gap: 14px; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--stone); font-size: 15.5px; }
.about__list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--bronze); }

/* ====================== Áreas de atuação (cards) ======================== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 24px; }
.area {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 34px 30px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.area:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--line); }
.area .tribar { margin-bottom: 22px; }
.area h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.area p { color: var(--stone); font-size: 15px; }

/* ====================== Empreendimentos (portfólio) ===================== */
.emps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.emp {
  position: relative; background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.emp:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.emp__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.emp__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.emp:hover .emp__media img { transform: scale(1.05); }
.emp__tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 11.5px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 13px; border-radius: var(--radius-pill);
  background: var(--espresso); color: var(--cream);
}
.emp__tag--sold { background: var(--bronze); color: #fff; }
.emp__tag--ready { background: #2F6B43; color: #fff; }
.emp__body { padding: 24px 26px 28px; }
.emp__bairro { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-deep); }
.emp__name { font-size: 1.35rem; margin: 8px 0 10px; }
.emp__desc { color: var(--stone); font-size: 14.5px; margin-bottom: 18px; }
.emp__cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); }
.emp__cta svg { width: 16px; height: 16px; color: var(--wa); }
.emp__cta:hover { color: var(--bronze-deep); }

/* ============================== Galeria ================================= */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery button { border: 0; padding: 0; cursor: pointer; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }
.gallery button::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(27,23,18,.34));
  opacity: 0; transition: opacity .3s;
}
.gallery button:hover::after { opacity: 1; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(20, 16, 11, .92); padding: 5vw; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox__close { position: absolute; top: 22px; right: 26px; background: none; border: 0; color: var(--cream); font-size: 34px; line-height: 1; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(243,236,224,.12); border: 1px solid var(--line-cream); color: var(--cream); width: 52px; height: 52px; border-radius: 50%; font-size: 24px; cursor: pointer; transition: background .2s; }
.lightbox__nav:hover { background: var(--bronze); }
.lightbox__prev { left: 18px; } .lightbox__next { right: 18px; }

/* ============================== Bairros ================================= */
.bairros { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.bairros span {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  padding: 12px 20px; border-radius: var(--radius-pill);
}
.bairros span::before { content: ""; width: 7px; height: 7px; background: var(--bronze); transform: skewX(-15deg); }

/* ===================== Missão / Visão / Valores ========================= */
.mvv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); }
.mvv__block { padding: 30px 0; }
.mvv__block + .mvv__block { border-top: 1px solid var(--line-cream); }
.mvv__block h3 { color: var(--bronze-hi); font-size: 1.15rem; letter-spacing: .04em; margin-bottom: 12px; }
.mvv__block p { color: var(--cream-dim); font-size: 1.05rem; }
.values { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.values span {
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  border: 1px solid var(--line-cream); color: var(--cream);
  padding: 11px 18px; border-radius: var(--radius-pill);
}

/* ============================== Sócios ================================== */
.socios { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.socios__names { display: grid; gap: 18px; margin-top: 28px; }
.socios__names li { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.socios__names li .tribar { flex: none; }

/* ============================= Faixa CTA ================================ */
.ctaband { background: var(--espresso); color: var(--cream); position: relative; overflow: hidden; }
.ctaband::before {
  content: ""; position: absolute; inset: 0; opacity: .22;
  background: repeating-linear-gradient(-15deg, var(--espresso-2) 0 13px, transparent 13px 96px);
}
.ctaband__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.ctaband h2 { color: var(--cream); max-width: 18ch; }
.ctaband p { color: var(--cream-dim); margin-top: 10px; max-width: 44ch; }

/* ============================== Contato ================================= */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-info { margin-top: 30px; display: grid; gap: 22px; }
.contact-info .row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info svg { width: 22px; height: 22px; flex: none; color: var(--bronze); margin-top: 2px; }
.contact-info dt { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .04em; color: var(--ink); text-transform: uppercase; }
.contact-info dd { color: var(--stone); font-size: 15.5px; margin-top: 2px; }
.contact-info dd a:hover { color: var(--bronze-deep); }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px); display: grid; gap: 16px; box-shadow: var(--shadow-card); }
.form label { display: grid; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--ink); }
.form input, .form textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--travertine); width: 100%; transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--bronze); background: #fff; }
.form__status { font-size: 14px; font-weight: 600; text-align: center; min-height: 18px; }

.map { margin-top: 30px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 260px; border: 0; filter: grayscale(.3) contrast(1.02); }

/* ============================== Rodapé ================================== */
.footer { background: var(--espresso); color: var(--cream-dim); padding: clamp(56px, 7vw, 88px) 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-cream); }
.footer .brand { color: var(--cream); }
.footer .brand__name small { color: var(--cream-dim); }
.footer__desc { margin-top: 20px; font-size: 14.5px; color: var(--cream-dim); max-width: 38ch; }
.footer__col h4 { color: var(--cream); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; font-size: 14.5px; color: var(--cream-dim); margin-bottom: 11px; }
.footer__col a:hover { color: var(--bronze-hi); }
.footer__bottom { padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(243,236,224,.5); }

/* ============================ WhatsApp float ============================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .42);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: pulse 2.6s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

/* ============================== Reveal ================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================ Responsivo ================================ */
@media (max-width: 940px) {
  .hero__inner, .grid-2, .contact, .socios, .mvv { grid-template-columns: 1fr; }
  .hero__figure { order: -1; max-width: 460px; }
  .hero__figure::after { inset: 12px -12px -12px 12px; }
  .socios__figure { max-width: 480px; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(odd) { border-left: 0; }
  .trust__item:nth-child(even) { border-left: 1px solid var(--line-cream); }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line-cream); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px;
  }
  .nav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
  .nav.is-open a::after { display: none; }
  .ctaband__inner { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .hero__badge { left: 0; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::before { animation: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* =========================================================================
   Cards de empreendimento clicáveis (home + relacionados)
   ========================================================================= */
a.emp__media { display: block; }
.emp__tag { z-index: 2; }
.emp__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 52%, rgba(27, 23, 18, .42));
  opacity: 0; transition: opacity .3s;
}
.emp:hover .emp__media::after { opacity: 1; }
.emp__see {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  letter-spacing: .03em; color: #fff;
  background: rgba(33, 26, 18, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 8px 14px; border-radius: var(--radius-pill);
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.emp:hover .emp__see { opacity: 1; transform: none; }
.emp__name a { transition: color .2s; }
.emp__name a:hover { color: var(--bronze-deep); }
.emp__actions { display: flex; flex-direction: column; gap: 12px; }
.emp__detail {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  color: var(--bronze-deep);
}
.emp__detail span { transition: transform .25s var(--ease); }
.emp__detail:hover span { transform: translateX(5px); }

/* =========================================================================
   Selo "Em breve" — teaser de lançamento sobre a foto
   Usado nas imagens de empreendimentos ainda não lançados (marcados com
   emBreve: true em js/empreendimentos.js).
   ========================================================================= */
.soon {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 20px; text-align: center;
  background: linear-gradient(180deg, rgba(33, 26, 18, .28), rgba(33, 26, 18, .62));
  border-radius: inherit;
}
.soon::before, .soon::after {
  content: ""; width: 46px; height: 1px; background: var(--bronze-hi); opacity: .9;
}
.soon__txt {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem); line-height: 1;
  letter-spacing: .3em; text-indent: .3em; color: var(--cream);
}
.soon__sub {
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream-dim);
}
.soon--hero .soon__txt { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.soon--hero::before, .soon--hero::after { width: 58px; }
/* tag e "ver detalhes" continuam legíveis por cima do selo */
.emp__media .emp__tag, .emp__media .emp__see { z-index: 4; }
/* miniaturas da galeria: selo menor para caber */
.dgallery .soon__txt { font-size: .95rem; letter-spacing: .22em; text-indent: .22em; }
.dgallery .soon::before, .dgallery .soon::after { width: 34px; }

@media (max-width: 560px) {
  .soon { padding: 16px; gap: 9px; }
  .soon__txt, .soon--hero .soon__txt { font-size: 1.2rem; letter-spacing: .24em; text-indent: .24em; }
  .soon__sub { font-size: 10.5px; letter-spacing: .1em; }
  .soon::before, .soon::after, .soon--hero::before, .soon--hero::after { width: 40px; }
}

/* =========================================================================
   Página de detalhe do empreendimento (imovel.html)
   ========================================================================= */
.emp-detail { padding-top: clamp(116px, 15vh, 156px); }

.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 500; font-size: 13.5px;
  color: var(--stone); margin-bottom: 34px;
}
.crumb a { color: var(--bronze-deep); }
.crumb a:hover { color: var(--ink); }
.crumb .sep { color: var(--line); }
.crumb strong { color: var(--ink); font-weight: 600; }

.emp-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.emp-hero__status {
  display: flex; width: fit-content; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 11.5px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--espresso); color: var(--cream);
}
.emp-hero__status[hidden] { display: none; }
.emp-hero__status--ready { background: #2F6B43; color: #fff; }
.emp-hero__status--sold { background: var(--bronze); color: #fff; }
.emp-hero .eyebrow { margin-bottom: 8px; }
.emp-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin: 6px 0 18px; }
.emp-hero .lead { max-width: 52ch; }
.emp-hero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.emp-hero__media img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.emp-hero__media::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1.5px solid var(--bronze); border-radius: var(--radius-lg); z-index: -1;
}
.emp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
  gap: 10px 26px; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 24px;
}
.spec dt { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--ink); letter-spacing: -.01em; }
.spec dd { font-size: 13px; color: var(--stone); letter-spacing: .02em; margin-top: 2px; }

.emp-block { margin-top: clamp(54px, 7vw, 88px); }
.emp-block > .eyebrow { margin-bottom: 22px; }

.dgallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.dgallery button { border: 0; padding: 0; cursor: pointer; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); position: relative; aspect-ratio: 4 / 3; }
.dgallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dgallery button:hover img { transform: scale(1.06); }
.dgallery button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(27,23,18,.34)); opacity: 0; transition: opacity .3s; }
.dgallery button:hover::after { opacity: 1; }
.dgallery--single { grid-template-columns: minmax(0, 660px); }

.emp-cols { display: grid; grid-template-columns: 1.5fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: clamp(54px, 7vw, 88px); }
.prose .eyebrow { margin-bottom: 14px; }
.prose h2 { margin-bottom: 20px; font-size: var(--fs-h2); }
.prose p { color: var(--stone); font-size: var(--fs-lead); margin-bottom: 16px; max-width: 62ch; }
.emp-aside { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-card); position: sticky; top: 100px; }
.emp-aside h3 { font-size: 1.25rem; margin-bottom: 18px; }
.emp-aside .about__list { margin-top: 0; }

@media (max-width: 860px) {
  .emp-hero { grid-template-columns: 1fr; }
  .emp-hero__media { order: -1; }
  .emp-hero__media::after { inset: 10px -10px -10px 10px; }
  .emp-cols { grid-template-columns: 1fr; }
  .emp-aside { position: static; }
}

/* =========================================================================
   Instagram — galeria do feed real (@exito_engenhariaecomercio)
   ========================================================================= */
.ig-section { padding: var(--section-pad) 0; background: var(--paper-2); }
.ig-head { max-width: 700px; margin-bottom: clamp(40px, 5vw, 64px); }
.ig-head .section__title { margin-bottom: 12px; }
.ig-handle {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: .02em; color: var(--bronze-deep); transition: color .2s;
}
.ig-handle:hover { color: var(--ink); }

.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ig-item {
  position: relative; display: block; aspect-ratio: 1;
  overflow: hidden; border-radius: var(--radius); background: var(--travertine);
}
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-item:hover img { transform: scale(1.07); }
.ig-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(33, 26, 18, .05), rgba(33, 26, 18, .62));
  opacity: 0; transition: opacity .3s var(--ease);
}
.ig-item:hover .ig-overlay { opacity: 1; }

.ig-cta { margin-top: clamp(34px, 4vw, 48px); }

@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .ig-item:hover img { transform: none; } }
