/* Minha Planta — estilos compartilhados */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("/assets/fonts/roboto.woff2") format("woff2"); }

:root {
  --navy: #0f1045;      /* títulos e botões */
  --navy-menu: #110f47; /* itens do menu */
  --text: #232425;
  --muted: #7a7a7a;
  --link: #4169e1;
  --soft-bg: #f2f3f9;   /* seções em destaque */
  --footer-bg: #f5f5f5;
  --font: "Poppins", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font); }

.container { width: 100%; max-width: 980px; margin: 0 auto; padding: 0; }
.container--narrow { max-width: 920px; }
.container--wide { max-width: 1140px; }

/* ---------- Cabeçalho ---------- */
.site-header { position: relative; z-index: 10; background: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; padding: 0 10px 0 49px; }
.site-header__logo img { width: 146px; height: 64px; object-fit: contain; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.site-nav a { display: block; padding: 0 20px; line-height: 50px; font-size: 17px; font-weight: 600; color: var(--navy-menu); text-decoration: none; }
.site-nav a:hover { color: var(--link); }
.nav-toggle { display: none; width: 56px; height: 50px; border: 0; background: #fff; cursor: pointer; padding: 0 13px; }
.nav-toggle span { display: block; height: 3px; margin: 6px 0; border-radius: 2px; background: var(--navy-menu); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 60px 10px; text-align: center; color: #fff; background: #191f22; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/planta-para-usucapiao.webp") center / cover no-repeat; filter: brightness(20%) contrast(107%); }
.hero > * { position: relative; }
.hero h1 { font-size: 40px; line-height: 45px; font-weight: 600; text-shadow: 0 0 10px rgba(0,0,0,.3); }
.hero__lead { max-width: 700px; margin: 50px auto 0; font-size: 23px; line-height: 30px; font-weight: 500; }
.btn { display: inline-block; padding: 15px 30px; border-radius: 100px; background: var(--navy); color: #fff; font-size: 21px; line-height: 20px; font-weight: 600; text-decoration: none; text-shadow: 0 0 10px rgba(0,0,0,.3); box-shadow: 0 10px 10px 5px rgba(0,0,0,.5); }
.hero .btn { margin-top: 45px; }

/* ---------- Seções ---------- */
.section { padding: 20px 0; }
.section--soft { background: var(--soft-bg); padding: 45px 0 30px; }
.eyebrow { font-size: 18px; line-height: 27px; font-weight: 500; text-align: center; margin: 8px 0 17px; }
.about__text .eyebrow { max-width: none; }
.title { font-size: 30px; line-height: 35px; font-weight: 500; color: var(--navy); }
.title--center { text-align: center; font-weight: 600; line-height: 30px; }
.about { display: flex; align-items: center; gap: 20px; }
.about__text { flex: 0 0 739px; }
.about__text .title { margin-bottom: 17px; max-width: 640px; }
.about__text p { font-size: 17px; line-height: 25.5px; margin-bottom: 25.5px; }
.about__photo { flex: 1; display: flex; justify-content: center; }
.about__photo img { width: 221px; border-radius: 256px; }
.prose-center { text-align: center; }
.prose-center p { font-size: 20px; line-height: 30px; margin-bottom: 30px; }
.section--soft .title { margin-bottom: 40px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--footer-bg); padding: 26px 10px 34px; text-align: center; font-family: "Roboto", sans-serif; font-size: 16px; line-height: 24px; color: var(--muted); }
.site-footer p { margin: 0 0 24px; }
.site-footer p:last-child { margin: 0; }
.site-footer a { color: var(--link); text-decoration: none; }

/* ---------- Tablet / celular ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 10px; }
  .site-header__inner { height: 82px; padding: 7px 10px 5px 34px; }
  .site-header__logo img { width: 127px; height: 56px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 8px 16px rgba(0,0,0,.12); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 0 24px; border-top: 1px solid #eee; }
  .about { flex-direction: column; text-align: center; }
  .about__text { flex: none; }
  .about__text .title { margin-inline: auto; }
}

@media (max-width: 767px) {
  .hero { padding: 45px 0 55px; }
  .hero h1 { font-size: 36px; line-height: 43.2px; padding: 0 26px; }
  .hero__lead { margin-top: 35px; font-size: 21px; line-height: 31.5px; }
  .hero .btn { margin-top: 35px; padding: 15px 20px; line-height: 31.5px; }
  .eyebrow { font-size: 17px; line-height: 20.4px; }
  .title { font-size: 27px; line-height: 32.4px; text-align: center; }
  .about__text .title { padding: 0 30px; }
  .title--center { font-size: 25px; line-height: 30px; }
  .about__text p { font-size: 18px; line-height: 23.4px; margin-bottom: 23.4px; }
  .about__photo img { width: 148px; }
  .section--soft { padding-top: 30px; }
  .prose-center p { font-size: 18px; line-height: 25.2px; margin-bottom: 25.2px; }
  .container { padding: 0 5px; }
}

/* ---------- Página de destino (planta-para-usucapiao-urbano) ---------- */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 20px; }
.site-header--landing .site-header__inner { height: 78px; padding: 0 19px 0 42px; }
.site-header--landing .site-header__logo img { width: 120px; height: 53px; }
.site-header--landing .site-nav { margin-left: auto; margin-right: 20px; }
.site-header__phone { font-size: 17px; line-height: 25.5px; font-weight: 500; }
.site-header__phone a { color: #000080; text-decoration: none; }
.btn--whatsapp { display: inline-flex; align-items: center; gap: 8px; padding: 15px 34px; background: #24bd24; }
.btn--whatsapp svg { width: 21px; height: 21px; fill: currentColor; }
.hero--landing h1 { max-width: 642px; margin: 0 auto; }
.hero--landing .hero__lead { max-width: 653px; margin-top: 58px; }
.hero--landing .btn { margin-top: 65px; }
.stats { display: flex; justify-content: center; gap: 20px; padding: 20px 10px 5px; text-align: center; }
.stats > div { flex: 0 0 313px; }
.stats strong { display: block; font-size: 40px; line-height: 40px; font-weight: 600; color: var(--navy); }
.stats span { display: block; font-size: 20px; line-height: 30px; font-weight: 500; }
.section--plain { padding: 40px 0 0; }
.section--plain .title { margin-bottom: 40px; }
.section--plain .prose-center p { margin-bottom: 0; }
.models { max-width: 1120px; margin: 15px auto 0; padding: 0 0 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.model { padding: 15px 10px 10px; box-shadow: 0 0 2px rgba(0,0,0,.5); border-radius: 3px; text-align: center; }
.model--wide { grid-column: 1 / -1; }
.model h3 { font-size: 18px; line-height: 18px; font-weight: 600; font-style: italic; color: #536396; margin-bottom: 30px; }
.model p { font-size: 17px; line-height: 19px; margin: 0 auto 40px; }
.model img { margin: 0 auto; }
.model--wide img { max-width: 768px; width: 100%; }
.section--testimonials { padding: 50px 0 60px; background: var(--soft-bg); }
.section--testimonials .title { margin-bottom: 40px; }
.section--testimonials .prose-center p { margin: 0; }
.steps { list-style: none; margin: 40px auto 0; padding: 0; max-width: 831px; font-size: 17px; line-height: 24px; }
.steps li + li { margin-top: 25px; padding-top: 0; }
.steps li { padding-bottom: 25px; }
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 45px 10px 55px; }
.cta-band h3 { font-size: 30px; line-height: 30px; font-weight: 600; margin-bottom: 41px; }

/* Depoimentos (avaliações do Google) */
.reviews { position: relative; max-width: 1000px; margin: 30px auto 0; padding: 0 20px; }
.reviews__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 16px 4px; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; background: #fff; border-radius: 4px; box-shadow: 0 0 5px rgba(0,0,0,.15); padding: 20px; font-family: "Segoe UI", system-ui, sans-serif; color: #000; text-align: left; }
.review__head { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.review__head img { width: 40px; height: 40px; border-radius: 50%; }
.review__who { flex: 1; min-width: 0; }
.review__name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review__date { font-size: 13px; color: #8c8c8c; }
.review__g { width: 20px; height: 20px; flex: none; align-self: flex-start; }
.review__stars { color: #f6bb06; font-size: 20px; letter-spacing: 1px; line-height: 1; margin-bottom: 10px; }
.review__text { font-size: 15px; line-height: 22px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.review.is-expanded .review__text { -webkit-line-clamp: unset; }
.review__more { border: 0; background: none; padding: 0; margin-top: 6px; color: #8c8c8c; font: inherit; font-size: 14px; cursor: pointer; }
.reviews__arrow { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 32px; line-height: 1; color: #c0c0c0; cursor: pointer; padding: 4px; }
.reviews__arrow--prev { left: 0; }
.reviews__arrow--next { right: 0; }

@media (max-width: 1024px) {
  .site-header--landing .site-header__inner { justify-content: center; height: 104px; padding: 7px 10px 5px; }
  .site-header--landing .site-header__logo img { width: 163px; height: 72px; }
  .site-header--landing .site-nav, .site-header--landing .nav-toggle, .site-header__phone { display: none !important; }
  .models { grid-template-columns: 1fr; padding: 0 15px 25px; }
  .review { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 767px) {
  .hero--landing h1 { padding: 0 26px; }
  .hero--landing .hero__lead { margin-top: 45px; }
  .hero--landing .btn { margin-top: 57px; padding: 15px 30px; }
  .stats { gap: 20px; padding: 20px 10px 10px; }
  .stats > div { flex: 1 1 0; }
  .stats strong { font-size: 23px; line-height: 23px; }
  .stats span { font-size: 16px; line-height: 19.2px; margin-top: 6px; }
  .section--plain { padding-top: 30px; }
  .section--plain .prose-center p { font-size: 20px; line-height: 24px; padding: 0 21px; }
  .model h3 { font-size: 20px; line-height: 20px; margin-bottom: 17px; }
  .model p { margin-bottom: 25px; }
  .section--testimonials { padding: 30px 0 40px; }
  .section--testimonials .prose-center p { font-size: 18px; line-height: 21.6px; padding: 0 25px; }
  .steps { padding: 0 20px; }
  .cta-band h3 { font-size: 25px; }
  .review { flex-basis: 100%; }
}

/* ---------- Páginas internas (Serviços, Sobre, Contato, Blog, posts) ---------- */
html { background: var(--footer-bg); }
.site-header--boxed .site-header__inner { max-width: 1030px; margin: 0 auto; height: 70px; padding: 0 0 0 29px; }
.site-header--boxed .site-header__logo img { width: 109px; height: 48px; }
.hero--page { padding: 30px 10px; }
.page-content { padding: 47px 0 30px; }
.page-content p { font-size: 17px; line-height: 25.5px; margin-bottom: 25.5px; }
.page-content p:last-child { margin-bottom: 0; }
.page-content a { color: var(--link); text-decoration: none; }
.page-content h2 { font-size: 20px; line-height: 20px; font-weight: 600; color: #0e0d4a; margin: -5px 0 17px; }
.site-footer--short { padding: 26px 10px 34px; }

@media (max-width: 1024px) {
  .site-header--boxed .site-header__inner { height: 84px; padding: 7px 10px 7px 34px; }
  .site-header--boxed .site-header__logo img { width: 127px; height: 56px; }
}
@media (max-width: 767px) {
  .hero--page h1 { font-size: 36px; line-height: 43.2px; }
  .page-content { padding: 47px 10px 30px; text-align: center; }
  .page-content p { line-height: 22.1px; margin-bottom: 25px; }
  .page-content h2 { margin-bottom: 17px; }
}

/* ---------- Blog ---------- */
@font-face { font-family: "Roboto Slab"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("/assets/fonts/robotoslab.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("/assets/fonts/montserrat.woff2") format("woff2"); }
.blog-grid { max-width: 881px; margin: 0 auto; padding: 10px 0 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,.15); overflow: hidden; }
.card__body { flex: 1; padding: 20px 30px 20px; }
.card h3 { font-family: "Montserrat", sans-serif; font-size: 20px; line-height: 25px; font-weight: 600; color: #0d0e47; margin-bottom: 25px; }
.card h3 a { text-decoration: none; }
.card p { font-family: "Montserrat", sans-serif; font-size: 15px; line-height: 20px; color: #181818; margin-bottom: 30px; }
.card__more { font-family: "Roboto", sans-serif; font-size: 12px; line-height: 18px; font-weight: 500; text-transform: uppercase; color: #0d0e47; text-decoration: none; }
.card__meta { border-top: 1px solid #eaeaea; padding: 15px 30px; font-family: "Roboto Slab", Georgia, serif; font-size: 12px; color: #adadad; }
.card__meta span + span::before { content: "•"; margin: 0 7px; }

.hero--post h1 { font-size: 25px; line-height: 25px; max-width: 684px; margin: 0 auto; }
.post-meta { max-width: 880px; margin: 0 auto; padding: 30px 0 0; display: flex; gap: 16px; font-size: 15px; line-height: 22.5px; color: #54595f; }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-meta svg { width: 14px; height: 14px; fill: currentColor; }
.post-meta a { color: inherit; text-decoration: none; }
.post-body { max-width: 880px; margin: 0 auto; padding: 55px 10px 30px; font-family: "Montserrat", sans-serif; font-size: 17px; line-height: 25.5px; color: #181818; }
.post-body p, .post-body ul, .post-body ol { margin: 0 0 25.5px; }
.post-body h2 { font-family: "Montserrat", sans-serif; font-size: 25.5px; line-height: 38.25px; font-weight: 700; margin: 0 0 25.5px; }
.post-body h3 { font-family: "Montserrat", sans-serif; font-size: 21px; line-height: 30px; font-weight: 700; margin: 0 0 20px; }
.post-body a { color: var(--link); text-decoration: none; }

@media (max-width: 1024px) {
  .blog-grid { padding: 10px 15px; }
  .post-meta { padding: 30px 15px 0; flex-wrap: wrap; }
  .post-body { padding: 35px 15px 30px; }
}
@media (max-width: 767px) {
  .blog-grid { grid-template-columns: 1fr; }
  .hero--post h1 { font-size: 18px; line-height: 21.6px; padding: 0 10px; }
  .post-meta { padding-top: 20px; }
  .post-body { padding: 31px 25px 30px; line-height: 23.8px; }
  .post-body p, .post-body ul, .post-body ol { margin-bottom: 26px; }
  .post-body h2 { line-height: 23.8px; margin-bottom: 21px; }
}
