/* ==========================================================================
   Armis Studios — Hotsite de campanha
   Design: editorial, premium, claro. Vermelho Armis como acento.
   ========================================================================== */

:root {
  --armis-red: #b5342f;
  --armis-red-dark: #8f2722;
  --ink: #2b2b2b;
  --ink-soft: #4a4a4a;
  --muted: #767069;
  --bg: #fbfaf8;
  --bg-alt: #f3efe8;
  --sand: #e7e0d4;
  --line: #e3ddd2;
  --white: #ffffff;
  --green: #1f8a55;
  --shadow-sm: 0 1px 3px rgba(43, 43, 43, .08);
  --shadow-md: 0 10px 30px rgba(43, 43, 43, .12);
  --shadow-lg: 0 30px 60px rgba(43, 43, 43, .18);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section__eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .76rem;
  font-weight: 600; color: var(--armis-red); margin-bottom: 14px; font-family: var(--sans);
}
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.muted { color: var(--muted); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .55em; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--armis-red); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--armis-red-dark); box-shadow: var(--shadow-md); }
.btn--wa { background: #25d366; color: #0a3622; }
.btn--wa:hover { background: #1eb858; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { box-shadow: var(--shadow-md); }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 1.15em; height: 1.15em; }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 248, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: auto; }
.brand__sep { width: 1px; height: 30px; background: var(--line); }
.brand__tag { font-family: var(--serif); font-size: 1rem; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a.nav__link { font-size: .94rem; color: var(--ink-soft); font-weight: 500; }
.nav a.nav__link:hover { color: var(--armis-red); }
.header-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(20,18,16,.86) 0%, rgba(20,18,16,.45) 55%, rgba(20,18,16,.15) 100%); }
.hero__inner { position: relative; z-index: 2; padding: clamp(40px, 6vw, 84px) 0 clamp(70px, 11vw, 150px); color: #fff; }
.hero__content { max-width: 660px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25); padding: 7px 16px; border-radius: 999px;
  font-size: .8rem; letter-spacing: .05em; margin-bottom: 22px;
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #25d366; }
.hero h1 { color: #fff; }
.hero__sub { font-size: 1.18rem; color: rgba(255,255,255,.86); max-width: 540px; margin-bottom: 14px; }
.hero__addr { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.78); margin-bottom: 30px; font-size: 1rem; }
.hero__addr svg { width: 18px; height: 18px; color: var(--armis-red); flex: none; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; gap: 38px; margin-top: 46px; flex-wrap: wrap; }
.hero__stat .n { font-family: var(--serif); font-size: 1.9rem; color: #fff; }
.hero__stat .l { font-size: .82rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .12em; }

/* Benefits ----------------------------------------------------------------- */
.bens { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.ben {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.ben:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ben__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--armis-red); margin-bottom: 16px; }
.ben__icon svg { width: 24px; height: 24px; }
.ben h3 { margin-bottom: 6px; }
.ben p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Gallery ------------------------------------------------------------------ */
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); cursor: zoom-in; position: relative; }
.gallery img { width: 100%; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery__tag { position: absolute; left: 12px; bottom: 12px; background: rgba(20,18,16,.7);
  color: #fff; font-size: .72rem; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }

.tabs { display: inline-flex; gap: 8px; background: var(--bg-alt); padding: 6px; border-radius: 999px; margin-bottom: 32px; }
.tabs button { border: 0; background: transparent; padding: 9px 20px; border-radius: 999px; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.tabs button.active { background: #fff; color: var(--armis-red); box-shadow: var(--shadow-sm); }

/* Floor plan --------------------------------------------------------------- */
.plant { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.plant__svg-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm); }
.plant__svg { width: 100%; height: auto; }
.unit-shape { cursor: pointer; transition: fill .2s ease, opacity .2s ease; }
.unit-shape:hover { opacity: .85; }
.unit-shape.is-active { stroke: var(--ink); stroke-width: 2.5; }
.info-shape { cursor: pointer; transition: opacity .2s ease; }
.info-shape:hover { opacity: .85; }

.floor-tabs { display: inline-flex; gap: 6px; background: var(--bg-alt); padding: 5px; border-radius: 999px; margin-bottom: 18px; }
.floor-tabs button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: .88rem; color: var(--ink-soft); }
.floor-tabs button.active { background: #fff; color: var(--armis-red); box-shadow: var(--shadow-sm); }
.legend .swatch-cowork { background: #dce7f3; border: 1px solid #5a7fb0; }
.areas-tipo { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; font-size: .88rem; color: var(--ink-soft); }
.areas-tipo span { display: inline-flex; align-items: center; gap: 6px; }
.areas-tipo span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--armis-red); display: inline-block; }
.areas-tipo strong { font-weight: 600; }
/* SVG não respeita o atributo [hidden] por padrão (display:inline). */
.floor-panel[hidden] { display: none; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: .85rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 13px; height: 13px; border-radius: 4px; display: inline-block; }
.swatch-disp { background: #d8e9dd; border: 1px solid var(--green); }
.swatch-res { background: #f3e6c5; border: 1px solid #c79a2b; }
.swatch-loc { background: #ece8e2; border: 1px solid #b3a89a; }

.unit-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); position: sticky; top: 92px; }
.unit-card__status { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.status-disponivel { background: #d8e9dd; color: var(--green); }
.status-reservado { background: #f7edcf; color: #9a7414; }
.status-locado { background: #ece8e2; color: #7a7064; }
.unit-card h3 { font-size: 1.7rem; }
.unit-card__meta { display: flex; gap: 22px; margin: 14px 0 18px; flex-wrap: wrap; }
.unit-card__meta div .n { font-family: var(--serif); font-size: 1.35rem; }
.unit-card__meta div .l { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.unit-card ul { list-style: none; padding: 0; margin: 0 0 22px; }
.unit-card ul li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: .95rem; color: var(--ink-soft); }
.unit-card ul li svg { width: 18px; height: 18px; color: var(--armis-red); flex: none; margin-top: 3px; }

/* Forms -------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); background: #fff; }
.form-side { background: var(--ink); color: #fff; padding: clamp(34px, 5vw, 56px); }
.form-side h2 { color: #fff; }
.form-side .lead { color: rgba(255,255,255,.8); }
.form-side__list { list-style: none; padding: 0; margin: 26px 0 0; }
.form-side__list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); }
.form-side__list li:first-child { border-top: 0; }
.form-side__list svg { width: 20px; height: 20px; color: #25d366; flex: none; margin-top: 2px; }
.form-main { padding: clamp(34px, 5vw, 56px); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg);
  transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--armis-red); box-shadow: 0 0 0 3px rgba(181,52,47,.12); background: #fff;
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field .errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: var(--armis-red); font-size: .82rem; }
.form-help { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.helptext { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; }

.alert { padding: 14px 18px; border-radius: 11px; margin-bottom: 18px; font-size: .92rem; }
.alert--success { background: #e0f0e6; color: #176b41; border: 1px solid #b7ddc4; }
.alert--error { background: #fbe6e4; color: var(--armis-red-dark); border: 1px solid #f0c4c0; }

/* Broker / schedule -------------------------------------------------------- */
.broker { display: flex; gap: 16px; align-items: center; background: var(--bg-alt); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 22px; }
.broker img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.broker__ph { width: 56px; height: 56px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--armis-red); }
.broker .nome { font-weight: 700; }
.broker .creci { font-size: .82rem; color: var(--muted); }

/* CTA band ----------------------------------------------------------------- */
.cta-band { background: var(--armis-red); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 26px; }
.cta-band .btn--light { color: var(--armis-red); }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.site-footer img.flogo { height: 40px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 14px; font-family: var(--sans); letter-spacing: .04em; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.footer-link-armis { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 600; }
.footer-link-armis svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; display: flex;
  justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.55); }

/* Floating WhatsApp -------------------------------------------------------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px;
  border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: var(--shadow-md);
  transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }

/* Lightbox ----------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,13,11,.93); display: none;
  align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox__stage { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 94vw; }
.lightbox #lbImg { max-width: 92vw; max-height: 72vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__count { color: rgba(255,255,255,.7); font-size: .82rem; letter-spacing: .05em; }
.lightbox__close { position: absolute; top: 20px; right: 26px; color: #fff; font-size: 2.2rem; line-height: 1;
  cursor: pointer; background: none; border: 0; z-index: 2; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
  border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff;
  font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 2;
  transition: background .15s ease; }
.lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
.lightbox__thumbs { display: flex; gap: 8px; overflow-x: auto; max-width: 92vw; padding: 4px 2px; scrollbar-width: thin; }
.lightbox__thumbs img { width: 66px; height: 48px; object-fit: cover; border-radius: 6px; cursor: pointer;
  opacity: .5; border: 2px solid transparent; flex: none; transition: opacity .15s ease; }
.lightbox__thumbs img:hover { opacity: .85; }
.lightbox__thumbs img.active { opacity: 1; border-color: #fff; }
@media (max-width: 560px) {
  .lightbox__nav { width: 42px; height: 42px; font-size: 1.5rem; }
  .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; }
  .lightbox #lbImg { max-height: 60vh; }
}

/* Modal -------------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(15,13,11,.6); display: none;
  align-items: flex-start; justify-content: center; padding: 5vh 20px; overflow-y: auto; }
.modal.open { display: flex; }
.modal__box { background: #fff; border-radius: var(--radius-lg); max-width: 540px; width: 100%;
  box-shadow: var(--shadow-lg); overflow: hidden; }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px;
  border-bottom: 1px solid var(--line); }
.modal__head h3 { margin: 0; }
.modal__close { background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--muted); line-height: 1; }
.modal__body { padding: 26px; }

/* Utilities ---------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .plant { grid-template-columns: 1fr; }
  .unit-card { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .field--row { grid-template-columns: 1fr; }
  .gallery { columns: 2 150px; }
  .hero__stats { gap: 24px; }
}
