/* ===== Passarela da Freguesia — estilos ===== */
:root {
  --bg: #E9E7DE;
  --cream: #FBFAF6;
  --cream-2: #FFFDF7;
  --white: #ffffff;
  --green: #508051;
  --green-accent: #52804F;
  --green-dark: #244624;
  --green-darker: #224127;
  --green-deep: #203120;
  --green-ink: #172119;
  --text: #172119;
  --muted: #687365;
  --soft: #596558;
  --meta: #899186;
  --line: #dcdccf;
  --font-display: 'Barlow', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, sans-serif;
  --container: 1240px;
  --radius: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.accent { color: var(--green-accent); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 18px;
}
.eyebrow-light { color: #cfe0cd; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--green-ink); line-height: 1.04; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  padding: 15px 26px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { font-size: 1.05em; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--green-dark); border: 1.5px solid #c8cdbf; }
.btn-ghost:hover { background: #fff; }
.btn-dark { background: var(--green-dark); color: #fff; }
.btn-dark:hover { background: var(--green-deep); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: var(--cream); }
.btn-pill-light {
  background: transparent; color: var(--cream-2);
  border: 1.5px solid rgba(255,255,255,.4); padding-left: 8px;
}
.btn-pill-light .pill-ico {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream-2); color: var(--green-dark);
  display: inline-flex; align-items: center; justify-content: center; font-size: .9rem;
}
.btn-pill-light:hover { background: rgba(255,255,255,.12); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(233,231,222,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.nav-wrap { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand-logo { height: 34px; width: auto; }
.main-nav { display: flex; gap: 26px; margin-left: 12px; }
.main-nav a {
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  color: var(--green-deep); transition: color .2s;
}
.main-nav a:hover { color: var(--green-accent); }
.btn-header { margin-left: auto; padding: 12px 22px; font-size: .9rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; margin-left: auto; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--green-deep); border-radius: 2px; transition: .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; background: var(--cream); overflow: hidden; padding: 70px 0 90px; }
.hero-texture {
  position: absolute; inset: 0;
  background: url('assets/img/bg-texture.png') center/cover no-repeat;
  opacity: .08; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.hero-copy .eyebrow { color: var(--green-accent); }
.hero h1 {
  font-weight: 700; font-size: clamp(3rem, 6.5vw, 6.4rem);
  color: var(--green-ink); letter-spacing: -.02em; margin-bottom: 22px;
}
.hero-lead { font-size: 1.18rem; color: var(--soft); max-width: 440px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; min-height: 460px; }
.hero-img-main {
  width: 74%; margin-left: auto; height: 560px; object-fit: cover;
  border-radius: 220px 220px 26px 26px;
}
.hero-img-small {
  position: absolute; left: 0; bottom: 60px;
  width: 46%; height: 300px; object-fit: cover;
  border-radius: 26px 26px 130px 130px;
  border: 8px solid var(--cream);
}

/* ===== Section head ===== */
.section-head {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
  align-items: end; margin-bottom: 48px;
}
.section-head h2 { font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 4.4rem); letter-spacing: -.01em; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 400px; }

/* ===== Directory ===== */
.directory { background: var(--bg); }
.dir-tools {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.dir-search { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 220px; }
.search-ico { color: var(--muted); font-size: 1.2rem; }
.dir-search input {
  border: none; background: transparent; font-family: var(--font-body);
  font-size: 1rem; color: var(--text); width: 100%; outline: none;
}
.dir-search input::placeholder { color: #9a9a9a; }
.dir-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--font-body); font-size: .9rem; padding: 9px 18px;
  border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--soft); cursor: pointer; transition: .2s;
}
.chip.is-active { background: var(--green); color: #fff; border-color: var(--green); }
.chip:hover:not(.is-active) { border-color: var(--green); color: var(--green); }

.dir-list { margin-top: 6px; }
.dir-item {
  display: grid; grid-template-columns: 60px 1fr 320px 60px;
  gap: 28px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.dir-num { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--green-accent); }
.dir-tag {
  font-family: var(--font-display); font-weight: 900; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--green-accent);
}
.dir-body h3 { font-weight: 800; font-size: 1.7rem; color: var(--green-dark); margin: 6px 0 8px; }
.dir-body p { color: var(--muted); max-width: 460px; }
.dir-meta { display: inline-block; margin-top: 8px; color: var(--meta); font-size: .88rem; }
.dir-thumb { height: 128px; border-radius: 18px; overflow: hidden; }
.dir-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dir-go {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  color: var(--green-dark); transition: .25s; justify-self: end;
}
.dir-go:hover { background: var(--green); color: #fff; border-color: var(--green); }
.dir-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ===== Blocks card (história) ===== */
.blocks-card {
  background: var(--green); color: var(--cream-2); border-radius: 40px;
  padding: 64px; display: grid; grid-template-columns: 1.15fr .95fr; gap: 56px;
  align-items: center;
}
.blocks-title { font-weight: 800; color: var(--cream-2); font-size: clamp(2.4rem, 4.4vw, 4.2rem); margin: 18px 0 24px; }
.blocks-copy p { color: rgba(255,255,255,.85); max-width: 400px; margin-bottom: 34px; font-size: 1.05rem; }
.blocks-media img { border-radius: 200px 200px 24px 24px; height: 460px; width: 100%; object-fit: cover; }
.blocks-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 30px; }
.blocks-list li { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--cream-2); }
.blocks-list li span { display: block; color: #86A982; font-size: .8rem; font-weight: 700; margin-bottom: 6px; }

/* ===== Facilidades ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature { border-top: 2px solid var(--green-accent); padding-top: 24px; }
.feature-ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: #e7efe4; color: var(--green-accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-ico svg { width: 26px; height: 26px; }
.feature h3 { font-weight: 800; font-size: 1.4rem; color: var(--green-dark); margin-bottom: 10px; line-height: 1.15; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ===== Estacionamento ===== */
.park-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.park-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 22px;
  padding: 30px 26px; text-align: left;
}
.park-card .feature-ico { margin-bottom: 20px; }
.park-card h3 { font-weight: 800; font-size: 1.35rem; color: var(--green-dark); }

/* ===== Novidades ===== */
.news-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 24px; }
.news-hero {
  grid-row: 1 / 3; position: relative; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; min-height: 460px; color: #fff;
  display: flex; align-items: flex-end;
}
.news-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,33,25,.05) 30%, rgba(23,33,25,.85) 100%); }
.news-hero-content { position: relative; padding: 40px; width: 100%; }
.news-hero-content h3 { color: #fff; font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2.2rem); max-width: 460px; margin: 16px 0; }
.news-tags { display: flex; gap: 10px; align-items: center; }
.tag-light, .tag-outline, .tag-soft {
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.tag-light { background: var(--cream-2); color: var(--green-dark); }
.tag-outline { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.tag-soft { background: #e7e4d8; color: var(--muted); }
.tag-soft.muted { background: transparent; color: var(--meta); }
.news-arrow {
  position: absolute; top: 40px; right: 40px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.news-arrow.dark { position: static; background: transparent; color: var(--green-dark); width: auto; height: auto; }
.news-side {
  background: var(--cream); border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 150px 1fr; align-items: stretch;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-side-body { padding: 24px; display: flex; flex-direction: column; }
.news-side-body h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; color: var(--muted); margin: 12px 0; line-height: 1.15; }
.news-side-body .news-arrow { align-self: flex-start; margin-top: auto; }

/* ===== Seu negócio ===== */
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 40px; overflow: hidden; }
.biz-media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.biz-card { background: var(--green); color: #fff; padding: 60px; }
.biz-card .eyebrow { color: #cfe0cd; }
.biz-title { color: #fff; font-weight: 700; font-size: clamp(2.2rem, 3.6vw, 3.4rem); margin-bottom: 20px; }
.biz-card > p { color: rgba(255,255,255,.85); max-width: 420px; margin-bottom: 28px; }
.biz-list { margin-bottom: 34px; display: grid; gap: 22px; }
.biz-list li { display: flex; align-items: flex-start; gap: 16px; }
.biz-ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.15); display: inline-flex; align-items: center; justify-content: center; }
.biz-ico svg { width: 22px; height: 22px; color: #fff; }
.biz-list li div { display: flex; flex-direction: column; gap: 4px; }
.biz-list strong { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; }
.biz-list small { font-size: .95rem; line-height: 1.4; color: rgba(255,255,255,.82); }

/* ===== Como chegar ===== */
.map-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; border-radius: 40px; overflow: hidden; background: var(--cream); }
.map-media img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.map-card { padding: 56px; display: flex; flex-direction: column; justify-content: center; background: var(--cream-2); }
.map-card h3 { font-weight: 800; font-size: 2rem; color: var(--green-deep); margin-bottom: 26px; }
.map-label { font-family: var(--font-display); font-weight: 900; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-accent); }
.map-address { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--green-deep); margin: 6px 0; line-height: 1.1; }
.map-city { color: var(--meta); margin-bottom: 28px; }
.map-card h3 { margin-bottom: 20px; }
.access { padding: 16px 0; border-top: 1px solid var(--line); }
.access:first-of-type { border-top: none; padding-top: 4px; }
.access-title { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--green-deep); margin-bottom: 4px; }
.access-addr { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.map-card .btn { align-self: flex-start; margin-top: 22px; }

/* ===== Footer ===== */
.site-footer { background: var(--green-dark); color: #fff; border-radius: 40px 40px 0 0; margin-top: 40px; padding: 64px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-logo { height: 54px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.8); font-family: var(--font-display); font-weight: 300; font-size: 1.4rem; max-width: 420px; line-height: 1.3; }
.footer-cta { text-align: right; }
.footer-cta p { font-family: var(--font-display); font-weight: 300; font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 16px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: .85rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: rgba(255,255,255,.85); }
.footer-links a:hover { color: #fff; }
.footer-top-link { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .section { padding: 64px 0; }
  .main-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: var(--cream); flex-direction: column; gap: 0; padding: 12px 24px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .btn-header { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid, .section-head, .blocks-card, .feature-grid, .park-grid, .biz-grid, .map-grid { grid-template-columns: 1fr; }
  .feature-grid, .park-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-media { min-height: 0; margin-top: 20px; }
  .hero-img-main { width: 100%; height: 420px; }
  .hero-img-small { display: none; }
  .section-head { gap: 16px; }
  .blocks-card { padding: 40px; gap: 32px; }
  .blocks-list { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { gap: 28px; }
  .news-grid { grid-template-rows: auto; }
  .news-hero { grid-row: auto; }
  .biz-media img, .map-media img { min-height: 320px; }
  .biz-card, .map-card { padding: 40px; }
  .footer-cta { text-align: left; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 52px 0; }
  /* Diretório: empilhado, sem sobreposição da seta */
  .dir-item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; position: relative; }
  .dir-num { font-size: 1.6rem; }
  .dir-body { order: 2; }
  .dir-thumb { order: 3; width: 100%; height: 190px; }
  .dir-go { position: absolute; top: 24px; right: 0; width: 46px; height: 46px; }
  .dir-body h3 { font-size: 1.5rem; }
  .dir-body p { max-width: none; }
  /* Blocos / negócio / mapa */
  .blocks-card { padding: 30px 24px; border-radius: 28px; }
  .blocks-media img { height: 320px; }
  .blocks-list { grid-template-columns: 1fr; }
  .biz-grid, .map-grid { border-radius: 28px; }
  .biz-card, .map-card { padding: 32px 24px; }
  .biz-media img, .map-media img { min-height: 240px; }
  .map-address { font-size: 1.5rem; }
  .map-card h3 { font-size: 1.6rem; }
  /* Estacionamento */
  .feature-grid, .park-grid { grid-template-columns: 1fr; }
  .dir-cta { margin-top: 32px; }
  /* Footer */
  .footer-top { flex-direction: column; }
  .footer-brand p { font-size: 1.15rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}
