/* =========================================================
   Vila Alameda · Centro Comercial
   Paleta: praça arborizada de bairro
   ========================================================= */

:root {
  --ink:    #17352a;   /* verde-mata escuro, texto e marca */
  --moss:   #4e6e52;   /* verde médio */
  --sage:   #8fa98a;   /* verde claro dessaturado */
  --amber:  #e4a32b;   /* acento quente principal */
  --coral:  #e08a6e;   /* acento secundário (toldos) */
  --teal:   #3e6e7e;   /* acento frio (toldos) */
  --bg:     #f7f8f4;   /* fundo geral */
  --tint:   #eef1e9;   /* fundo de seção alternada */
  --surface:#ffffff;   /* cartões */
  --line:   #e1e6dc;   /* linhas e bordas */
  --muted:  #5e6b5e;   /* texto secundário */

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 12px 40px rgba(23, 53, 42, 0.10);
  --shadow-sm: 0 4px 16px rgba(23, 53, 42, 0.07);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------- Layout ---------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--tint); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.grid-2--map, .grid-2--contact { align-items: stretch; }

/* ---------------- Tipografia ---------------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 14px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.8vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-top: 18px;
}

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover { background: #0f281f; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled { border-color: var(--line); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width .22s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { flex: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: flex;
  flex-direction: column;
  padding: 8px var(--gutter) 20px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.nav__mobile a { padding: 13px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav__mobile a:last-child { border-bottom: none; }

/* ---------------- Hero ---------------- */
.hero { padding-top: clamp(48px, 8vw, 96px); overflow: hidden; }
.hero__inner { text-align: center; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-top: 6px;
}

.hero__lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  max-width: 56ch;
  margin: 22px auto 0;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.storefront { margin-top: clamp(40px, 6vw, 72px); }
.storefront__svg { width: 100%; height: auto; }

.shop { cursor: default; }
.shop__glow { transition: opacity .5s ease; }
.storefront.is-lit .shop__glow { opacity: 0.16; }
.shop:hover .shop__glow { opacity: 0.28; }

/* ---------------- Sobre / Facts ---------------- */
.facts {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.fact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}
.fact__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: -0.03em;
  color: var(--moss);
  line-height: 1;
}
.fact__unit { font-size: 1rem; font-weight: 600; color: var(--muted); margin-inline: 3px; }
.fact__label { display: block; margin-top: 10px; color: var(--muted); font-size: 0.94rem; }

/* ---------------- Head de seção ---------------- */
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 52px);
}
.section__note { color: var(--muted); font-size: 0.95rem; max-width: 32ch; }

/* ---------------- Lojas ---------------- */
.shops {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.shop-card {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.shop-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--accent, var(--amber));
}
.shop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }

.shop-card__icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent, var(--amber)) 16%, var(--surface));
  color: var(--accent, var(--amber));
  margin-top: 6px;
}
.shop-card__cat {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.shop-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.shop-card__desc { color: var(--muted); font-size: 0.95rem; }
.shop-card__more {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.shop-card__more span { transition: transform .2s ease; }
.shop-card:hover .shop-card__more span { transform: translateX(4px); }

/* ---------------- Galeria ---------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.ph {
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--moss) 22%, var(--tint)), color-mix(in srgb, var(--sage) 30%, var(--surface)));
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 16px; bottom: 14px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  padding: 5px 11px;
  border-radius: 999px;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5), transparent 45%);
}
.ph--tall { grid-row: span 2; }
.ph--wide { grid-column: span 2; }

/* ---------------- Localização ---------------- */
.info {
  margin: 26px 0;
  border-top: 1px solid var(--line);
}
.info__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.info__row dt { font-weight: 600; color: var(--muted); font-size: 0.9rem; }
.info__row dd a { color: var(--moss); font-weight: 600; }

.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 380px;
}
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------------- Contato ---------------- */
.channels { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .18s ease, box-shadow .18s ease;
}
.channel:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.channel__ic {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--moss) 14%, var(--surface));
  color: var(--moss);
  flex: none;
}
.channel span strong { display: block; font-size: 0.98rem; }
.channel span { color: var(--muted); font-size: 0.92rem; line-height: 1.35; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
  align-self: start;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color .18s ease, background .18s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--moss);
  background: var(--surface);
}
.form__status {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form__status.is-ok { color: var(--moss); }
.form__status.is-err { color: #c0563a; }

/* ---------------- Footer ---------------- */
.footer {
  background: var(--ink);
  color: color-mix(in srgb, var(--bg) 86%, transparent);
  padding-block: 48px;
}
.footer__inner { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.brand--foot .brand__name { color: var(--bg); }
.footer__addr { font-size: 0.95rem; }
.footer__legal { font-size: 0.85rem; opacity: 0.7; }

/* ---------------- WhatsApp flutuante ---------------- */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------------- Modal ---------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 30, 24, 0.55); backdrop-filter: blur(3px); }
.modal__panel {
  position: relative;
  background: var(--surface);
  border-radius: 18px;
  max-width: 460px;
  width: 100%;
  padding: clamp(26px, 4vw, 38px);
  box-shadow: var(--shadow);
  animation: pop .22s ease;
}
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--muted);
  width: 36px; height: 36px;
  border-radius: 50%;
}
.modal__close:hover { background: var(--tint); color: var(--ink); }

.modal__head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.modal__icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent, var(--amber)) 16%, var(--surface));
  color: var(--accent, var(--amber));
  flex: none;
}
.modal__cat { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.modal__title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.modal__desc { color: var(--muted); margin: 14px 0 18px; }
.modal__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.modal__list li { display: flex; gap: 10px; align-items: baseline; font-size: 0.96rem; }
.modal__list b { color: var(--ink); min-width: 74px; font-weight: 600; }
.modal__list span { color: var(--muted); }

/* ---------------- Animações de entrada ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------- Responsivo ---------------- */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .ph--wide { grid-column: span 2; }
  .ph--tall { grid-row: span 1; }
  .section__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .info__row { grid-template-columns: 1fr; gap: 4px; }
  .hero__actions .btn { flex: 1; }
}

/* ---------------- Movimento reduzido ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}