:root {
  --bg: #f5f7f2;
  --surface: #ffffff;
  --ink: #102018;
  --muted: #617068;
  --line: #dfe6df;
  --accent: #244a36;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245,247,242,.95);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .92rem;
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
  padding: 13px 19px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.btn-small {
  padding: 9px 14px;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
}

.hero {
  padding: 84px 0 64px;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  font-weight: 800;
  color: var(--accent);
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin: 12px 0 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.25rem;
}

.hero p,
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-map {
  height: 470px;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 49px,
      rgba(30,60,40,.12) 50px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 49px,
      rgba(30,60,40,.12) 50px
    ),
    #dce7d9;
  border: 1px solid #ced9cc;
}

.parcel-shape {
  position: absolute;
  left: 22%;
  top: 18%;
  width: 58%;
  height: 58%;
  clip-path: polygon(
    10% 18%,
    62% 0,
    100% 32%,
    79% 87%,
    28% 100%,
    0 61%
  );
  background: rgba(36,74,54,.18);
}

.map-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: white;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.section {
  padding: 82px 0;
}

.section-soft {
  background: #edf2ec;
  border-block: 1px solid var(--line);
}

.cards {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.cards.three {
  grid-template-columns: repeat(3,1fr);
}

.card,
.mini-panel,
.parcel-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}

.card p,
.metric span {
  color: var(--muted);
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.metric:last-child {
  border-bottom: 0;
}

.parcel-section {
  background: #17291f;
  color: white;
}

.parcel-box {
  background: #20362a;
  border-color: #2d4938;
}

.parcel-box p {
  color: #d8e1db;
}

.parcel-form {
  display: grid;
  grid-template-columns: repeat(3,1fr) auto;
  gap: 12px;
  margin-top: 28px;
  align-items: end;
}

label {
  font-size: .84rem;
  font-weight: 800;
}

input {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
}

.legal-note {
  font-size: .78rem;
}

.cta,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {

  .main-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .split,
  .cards.three {
    grid-template-columns: 1fr;
  }

  .hero-map {
    height: 340px;
  }

  .parcel-form {
    grid-template-columns: 1fr;
  }

  .cta,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   NORTESENSE — IDENTIDADE VISUAL
   ========================================================= */

:root {
  --ns-dark: #071b25;
  --ns-dark-2: #0b2731;
  --ns-green: #82b82d;
  --ns-green-hover: #92ca35;
  --ns-white: #ffffff;
  --ns-light: #f7f8f5;
  --ns-text: #17211d;
  --ns-muted: #66716b;
  --ns-border: #dfe4df;
}

/* BASE */

body {
  background: var(--ns-light);
  color: var(--ns-text);
}

/* HEADER */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;

  background: linear-gradient(
    to bottom,
    rgba(4, 18, 26, .90),
    rgba(4, 18, 26, .55),
    transparent
  );

  border-bottom: 0;
}

.nav-wrap {
  min-height: 82px;
}

.brand {
  color: white;
  font-size: 1.55rem;
  letter-spacing: -.03em;
}

.brand::first-letter {
  color: var(--ns-green);
}

.main-nav a {
  color: rgba(255,255,255,.90);
}

.main-nav a:hover {
  color: var(--ns-green);
}

.main-nav .btn {
  background: var(--ns-green);
  border-color: var(--ns-green);
  color: white;
}

.main-nav .btn:hover {
  background: var(--ns-green-hover);
}

/* HERO */

.hero {
  min-height: 720px;
  padding: 160px 0 90px;

  display: flex;
  align-items: center;

  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(3,16,24,.94) 0%,
      rgba(3,16,24,.80) 38%,
      rgba(3,16,24,.38) 70%,
      rgba(3,16,24,.25) 100%
    ),
    linear-gradient(
      180deg,
      #183d47 0%,
      #1e4b45 45%,
      #38533b 100%
    );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 78% 45%,
      rgba(130,184,45,.18),
      transparent 25%
    );

  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 720px;
}

.hero .eyebrow {
  color: var(--ns-green);
}

.hero h1 {
  color: white;

  font-size: clamp(3.4rem, 6vw, 5.8rem);

  max-width: 760px;
  margin-top: 14px;
}

.hero p {
  color: rgba(255,255,255,.82);

  max-width: 650px;
  font-size: 1.15rem;
}

.hero .btn {
  background: var(--ns-green);
  border-color: var(--ns-green);
}

.hero .btn:hover {
  background: var(--ns-green-hover);
}

.hero .btn-ghost {
  background: rgba(0,0,0,.15);
  border-color: rgba(255,255,255,.65);
  color: white;
}

.hero .btn-ghost:hover {
  border-color: var(--ns-green);
  color: var(--ns-green);
}

/* MAPA VISUAL DO HERO */

.hero-map {
  height: 430px;

  background:
    linear-gradient(
      145deg,
      rgba(130,184,45,.15),
      rgba(7,27,37,.85)
    );

  border: 1px solid rgba(255,255,255,.18);

  box-shadow:
    0 30px 80px rgba(0,0,0,.28);

  border-radius: 22px;
}

.parcel-shape {
  background: rgba(130,184,45,.25);

  outline: 3px solid var(--ns-green);

  filter:
    drop-shadow(0 0 16px rgba(130,184,45,.25));
}

.map-badge {
  background: rgba(7,27,37,.90);
  color: white;

  border: 1px solid rgba(255,255,255,.15);
}

/* SECÇÕES */

.section {
  background: white;
}

.section-soft {
  background: #f3f5f2;
}

.eyebrow {
  color: #648d24;
}

.card,
.mini-panel {
  border-color: var(--ns-border);

  box-shadow:
    0 8px 28px rgba(13,35,27,.05);
}

/* PARCELA */

.parcel-section {
  background:
    linear-gradient(
      135deg,
      var(--ns-dark),
      var(--ns-dark-2)
    );
}

.parcel-box {
  background: rgba(255,255,255,.04);

  border: 1px solid rgba(255,255,255,.12);
}

.parcel-section .eyebrow {
  color: var(--ns-green);
}

.parcel-form .btn {
  background: var(--ns-green);
  border-color: var(--ns-green);
}

/* FOOTER */

.site-footer {
  background: var(--ns-dark);
  color: rgba(255,255,255,.78);
  border: 0;
}

.site-footer strong {
  color: white;
  font-size: 1.25rem;
}

.site-footer a {
  color: var(--ns-green);
}

/* MOBILE */

@media (max-width: 900px) {

  .site-header {
    position: absolute;
  }

  .main-nav {
    background: var(--ns-dark);
    border-color: rgba(255,255,255,.12);
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

}

/* =========================================================
   HERO NORTESENSE — IMAGEM AÉREA
   ========================================================= */

.hero {
  background:
    linear-gradient(
      90deg,
      rgba(3,16,24,.94) 0%,
      rgba(3,16,24,.82) 36%,
      rgba(3,16,24,.48) 62%,
      rgba(3,16,24,.18) 100%
    ),
    url('/assets/images/hero-nortesense.webp');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid {
  grid-template-columns: 1fr;
}

.hero-copy {
  max-width: 720px;
}

/* Esconde o gráfico provisório */
.hero-map {
  display: none;
}

.hero h1 {
  max-width: 700px;
}

@media (max-width: 900px) {

  .hero {
    background-position: 62% center;
  }

}

/* LOGO OFICIAL NORTESENSE */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.brand span {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.035em;
}

@media (max-width: 900px) {

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    font-size: 1.25rem;
  }

}

/* LOGO OFICIAL — AJUSTE HEADER */
.brand {
  display: block;
  flex-shrink: 0;
}

.brand img {
  width: 210px;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}

.brand span {
  display: none;
}

@media (max-width: 1100px) {
  .brand img {
    width: 175px;
  }
}

@media (max-width: 700px) {
  .brand img {
    width: 155px;
  }
}


/* HEADER — ALINHAMENTO FINAL DO LOGO */

.site-header .container,
.site-header .header-inner {
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.brand img {
  width: 210px;
  height: 105px;
  object-fit: contain;
  object-position: left center;
}

.site-header {
  min-height: 110px;
}


/* HERO — IMAGEM NORTESENSE */

.hero {
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(4, 22, 28, 0.92) 0%,
      rgba(4, 22, 28, 0.78) 30%,
      rgba(4, 22, 28, 0.35) 58%,
      rgba(4, 22, 28, 0.10) 100%
    ),
    url('/assets/images/hero-nortesense-ndvi.png');

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (max-width: 800px) {
  .hero {
    background-position: 62% center;
  }
}


/* HERO — TÍTULO FINAL APROVADO */

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  color: #8fca28;
  font-weight: 800;
}

.hero h1 {
  max-width: 720px;
  line-height: .98;
  letter-spacing: -.055em;
}



/* HERO — AJUSTE DE LARGURA DO TEXTO */
.hero-copy {
  max-width: 610px;
}

@media (max-width: 900px) {
  .hero-copy {
    max-width: 560px;
  }
}

/* HERO — LARGURA DESKTOP */
.hero-copy {
  max-width: 720px;
}

@media (max-width: 900px) {
  .hero-copy {
    max-width: 720px;
  }
}

/* =========================================================
   HERO RESPONSIVO FINAL — DESKTOP / TABLET / PHONE
   ========================================================= */

/* DESKTOP */
@media (min-width: 1101px) {
  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(4rem, 5.2vw, 5.8rem);
    line-height: .96;
  }

  .hero p {
    max-width: 640px;
  }

  .hero {
    background-position: center center;
  }
}

/* TABLET */
@media (min-width: 701px) and (max-width: 1100px) {
  .hero-copy {
    max-width: 650px;
  }

  .hero h1 {
    max-width: 650px;
    font-size: clamp(3.2rem, 6vw, 4.4rem);
    line-height: .97;
  }

  .hero p {
    max-width: 560px;
  }

  .hero {
    background-position: 58% center;
  }
}

/* PHONE */
@media (max-width: 700px) {
  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 10.5vw, 3.4rem);
    line-height: .98;
    letter-spacing: -.045em;
  }

  .hero p {
    max-width: 94%;
    font-size: 1.0625rem;
    line-height: 1.55;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero {
    background-position: 68% center;
  }
}

/* ==================================================
   HERO RESPONSIVO — TABLET + MOBILE
   ================================================== */

/* TABLET */
@media (min-width: 701px) and (max-width: 1100px) {

  .hero h1 {
    font-size: clamp(3.1rem, 6.3vw, 4.5rem);
    line-height: .98;
    max-width: 760px;
  }

  .hero-copy {
    max-width: 760px;
  }
}

/* MOBILE */
@media (max-width: 700px) {

  .hero h1 {
    font-size: clamp(2.65rem, 11vw, 3.6rem);
    line-height: .98;
    letter-spacing: -.05em;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero {
    background-position: 60% center;
  }

  .hero-actions {
    flex-wrap: wrap;
  }
}

/* ==================================================
   HERO — MOBILE FINAL
   ================================================== */
@media (max-width: 700px) {

  .site-header {
    min-height: 92px;
  }

  .brand img {
    width: 135px;
    height: 92px;
  }

  .hero {
    background-position: 58% center;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 10.5vw, 3.25rem);
    line-height: .96;
    letter-spacing: -.05em;
    max-width: 100%;
  }

  .hero-copy > p {
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 540px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* HERO — ALTURA FINAL MOBILE */
@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding-bottom: 55px;
  }

  .hero-grid {
    min-height: auto;
  }
}

/* ==================================================
   DO TERRENO À DECISÃO
   ================================================== */

.decision-section {
  position: relative;
}

.decision-intro {
  max-width: 780px;
  margin: 0 0 46px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.decision-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
  position: relative;
}

.decision-flow::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: rgba(143, 202, 40, .28);
}

.decision-step {
  position: relative;
  padding: 0;
}

.decision-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 56px;
  margin-bottom: 22px;
}

.decision-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  background: #8fca28;
  color: #102018;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .05em;
  box-shadow: 0 0 0 8px #fff;
}

.decision-dot {
  display: none;
}

.decision-step h3 {
  margin: 0 0 14px;
  max-width: 310px;
  font-size: 1.4rem;
  line-height: 1.18;
}

.decision-step p {
  margin: 0;
  max-width: 360px;
  color: var(--muted);
  line-height: 1.65;
}

/* Tablet */
@media (max-width: 900px) and (min-width: 651px) {
  .decision-flow {
    gap: 28px;
  }

  .decision-step h3 {
    font-size: 1.22rem;
  }

  .decision-step p {
    font-size: .96rem;
  }
}

/* Telemóvel */
@media (max-width: 650px) {
  .decision-intro {
    margin-bottom: 34px;
    font-size: 1.0625rem;
  }

  .decision-flow {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .decision-flow::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .decision-step {
    padding-left: 82px;
    min-height: 82px;
  }

  .decision-top {
    position: absolute;
    top: 0;
    left: 0;
    height: 56px;
    margin: 0;
  }

  .decision-step h3 {
    font-size: 1.25rem;
  }

  .decision-step p {
    font-size: .97rem;
  }
}

/* DECISÃO — LINHA TERMINA NO 03 */
@media (min-width: 651px) {
  .decision-flow::before {
    left: 28px;
    right: calc(16.6667% - 28px);
  }
}

/* DECISÃO — CORTE EXATO DA LINHA APÓS 03 */
@media (min-width: 651px) {

  .decision-step:last-child::after {
    content: "";
    position: absolute;
    top: 27px;
    left: 28px;
    right: 0;
    height: 4px;
    background: #fff;
    z-index: 1;
  }

  .decision-step:last-child .decision-top {
    z-index: 3;
  }
}

/* DECISÃO — ACABAMENTO FINAL MOBILE */
@media (max-width: 650px) {

  .decision-step {
    padding-left: 72px;
  }

  .decision-number {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    font-size: .76rem;
  }

  .decision-flow::before {
    left: 24px;
    top: 25px;
    bottom: auto;
    height: calc(100% - 50px);
  }

  /* A linha termina no centro do último círculo */
  .decision-step:last-child::after {
    content: "";
    position: absolute;
    left: 0;
    top: 25px;
    bottom: -40px;
    width: 50px;
    background: #fff;
    z-index: 1;
  }

  .decision-step:last-child .decision-top {
    z-index: 3;
  }
}

/* ==================================================
   MÉTODO NORTESENSE
   ================================================== */

.metodo-section {
  overflow: hidden;
}

.metodo-main {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 54px;
  align-items: center;
}

.metodo-copy h2 {
  max-width: 520px;
  margin-bottom: 22px;
}

.metodo-copy .lead {
  max-width: 560px;
  margin: 0;
}

.metodo-visual {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(9, 28, 23, .14);
}

.metodo-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.metodo-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 52px;
  position: relative;
}

.metodo-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(143, 202, 40, .28);
}

.metodo-step {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 14px;
}

.metodo-step span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #8fca28;
  color: #102018;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 0 0 7px var(--soft, #f5f7f3);
}

.metodo-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.0625rem;
}

.metodo-step p {
  margin: 0 auto;
  max-width: 190px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .metodo-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .metodo-steps {
    gap: 8px;
  }

  .metodo-step {
    padding: 0 8px;
  }

  .metodo-step p {
    font-size: .86rem;
  }
}

@media (max-width: 760px) {
  .metodo-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .metodo-copy h2 {
    max-width: 100%;
  }

  .metodo-visual {
    border-radius: 18px;
  }

  .metodo-steps {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 38px;
  }

  .metodo-steps::before {
    top: 24px;
    bottom: 24px;
    left: 23px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .metodo-step {
    text-align: left;
    min-height: 66px;
    padding: 0 0 0 72px;
  }

  .metodo-step span {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }

  .metodo-step p {
    margin: 0;
    max-width: 100%;
  }

  .metodo-step:last-child::after {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: -32px;
    width: 48px;
    background: var(--soft, #f5f7f3);
    z-index: -1;
  }
}

/* MÉTODO NORTESENSE — INTERAÇÃO */

.metodo-step {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.metodo-step span {
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.metodo-step:hover span,
.metodo-step:focus-visible span {
  transform: scale(1.06);
}

.metodo-step.is-active span {
  background: #153a2d;
  color: #fff;
  box-shadow: 0 0 0 7px var(--soft, #f5f7f3);
}

.metodo-step.is-active strong {
  color: #153a2d;
}

.metodo-detail {
  margin-top: 34px;
  padding: 28px 30px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(18, 49, 39, .08);
  box-shadow: 0 14px 36px rgba(9, 28, 23, .07);
}

.metodo-detail-label {
  display: block;
  margin-bottom: 8px;
  color: #74b817;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.metodo-detail h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.metodo-detail p {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 760px) {
  .metodo-detail {
    margin-top: 28px;
    padding: 22px 20px;
    border-radius: 16px;
  }

  .metodo-detail h3 {
    font-size: 1.18rem;
  }
}

/* MÉTODO NORTESENSE — INDICAÇÃO INTERATIVA */
.metodo-interaction-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 8px 0 18px;
  color: #6f9f20;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.metodo-interaction-hint span:last-child {
  font-size: 1.0625rem;
  line-height: 1;
}

/* reforça visualmente que os passos são interativos */
.metodo-step {
  cursor: pointer;
}

@media (hover: hover) {
  .metodo-step {
    transition: transform .18s ease;
  }

  .metodo-step:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 650px) {
  .metodo-interaction-hint {
    justify-content: flex-start;
    margin: 4px 0 22px;
    font-size: .78rem;
  }
}


/* MÉTODO — aproximar indicação dos passos */
.metodo-interaction-hint {
  transform: translateY(22px);
}


/* =========================================================
   AGRICULTURA DE PRECISÃO — HOME
   ========================================================= */

.agricultura-section {
  overflow: hidden;
}

.agricultura-head {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.agricultura-copy h2 {
  max-width: 650px;
  margin-bottom: 22px;
}

.agricultura-copy .lead {
  max-width: 620px;
  color: #56656a;
}

.agricultura-visual {
  position: relative;
  min-height: 390px;
  border-radius: 26px;
  overflow: hidden;
  background: #dfe6df;
  box-shadow: 0 22px 60px rgba(10, 35, 30, .13);
}

.agricultura-visual img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  object-fit: cover;
}

.agricultura-visual-tag {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 17px;
  border-radius: 14px;
  background: rgba(5, 29, 28, .88);
  color: #fff;
  backdrop-filter: blur(8px);
}

.agricultura-visual-tag strong {
  font-size: .92rem;
}

.agricultura-visual-tag span {
  font-size: .78rem;
  color: rgba(255,255,255,.76);
}

.agricultura-work {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.agricultura-card {
  padding: 27px 24px 26px;
  border: 1px solid #e3e9e4;
  border-radius: 18px;
  background: #fff;
}

.agricultura-card > span {
  display: block;
  margin-bottom: 26px;
  color: #78a928;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.agricultura-card h3 {
  margin: 0 0 11px;
  font-size: 1.08rem;
}

.agricultura-card p {
  margin: 0;
  color: #647176;
  font-size: .91rem;
  line-height: 1.55;
}

.agricultura-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e2e8e3;
}

.agricultura-footer p {
  margin: 0;
  font-weight: 700;
  color: #173f36;
}

.agricultura-footer span {
  color: #75817e;
  font-size: .84rem;
  text-align: right;
}

@media (max-width: 980px) {
  .agricultura-head {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .agricultura-work {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .agricultura-head {
    gap: 28px;
  }

  .agricultura-visual,
  .agricultura-visual img {
    min-height: 280px;
  }

  .agricultura-work {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  .agricultura-card {
    padding: 22px 20px;
  }

  .agricultura-card > span {
    margin-bottom: 15px;
  }

  .agricultura-footer {
    display: block;
  }

  .agricultura-footer span {
    display: block;
    margin-top: 12px;
    text-align: left;
    line-height: 1.7;
  }
}

/* AGRICULTURA — cartões compactos sem numeração */
.agricultura-card {
  padding: 24px 24px 23px;
  min-height: 0;
}

.agricultura-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

@media (max-width: 650px) {
  .agricultura-card {
    padding: 20px 20px;
  }
}

/* AGRICULTURA — navegação para trabalhos e culturas */

.agricultura-card {
  display: flex;
  flex-direction: column;
}

.agricultura-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  color: #6f9f20;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

.agricultura-card-link span {
  transition: transform .18s ease;
}

@media (hover: hover) {
  .agricultura-card-link:hover span {
    transform: translateX(4px);
  }
}

.agricultura-culturas {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0;
}

.agricultura-culturas a {
  color: #75817e;
  font-size: .84rem;
  text-decoration: none;
  white-space: nowrap;
}

.agricultura-culturas a:not(:last-child)::after {
  content: " · ";
  margin: 0 4px;
  color: #a6aeab;
}

@media (hover: hover) {
  .agricultura-culturas a:hover {
    color: #6f9f20;
  }
}

@media (max-width: 650px) {
  .agricultura-culturas {
    justify-content: flex-start;
    margin-top: 12px;
    line-height: 1.8;
  }
}

/* AGRICULTURA — CULTURAS */

.agricultura-culturas-area {
  display: block;
}

.agricultura-culturas-label {
  display: block;
  margin-bottom: 14px;
  color: #71807a;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.agricultura-culturas {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.agricultura-culturas a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 10px 13px;
  border: 1px solid #dfe8dc;
  border-radius: 14px;
  background: #f4f8ef;
  color: #23483c;
  text-decoration: none;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.agricultura-culturas a::after {
  display: none !important;
}

.agricultura-culturas strong {
  font-size: .84rem;
  font-weight: 750;
}

.cultura-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.cultura-arrow {
  margin-left: auto;
  color: #78a928;
  font-weight: 800;
}

@media (hover: hover) {
  .agricultura-culturas a:hover {
    transform: translateY(-2px);
    border-color: #b9ce9e;
    background: #eef6e5;
  }
}

@media (max-width: 1050px) {
  .agricultura-culturas {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 650px) {
  .agricultura-culturas {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }

  .agricultura-culturas a {
    min-height: 52px;
  }
}

/* CULTURAS — título com mais presença */
.agricultura-culturas-label {
  display: block;
  margin-bottom: 18px;
  color: #173f36;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: right;
}

/* CULTURAS — título final */
.agricultura-footer .agricultura-culturas-label {
  display: block;
  margin: 0 0 18px 0;
  color: #173f36;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.2;
}

@media (max-width: 650px) {
  .agricultura-footer .agricultura-culturas-label {
    text-align: right;
    margin-top: 0;
  }
}

/* CULTURAS — alinhamento final */
.agricultura-footer .agricultura-culturas-label {
  text-align: left;
}

@media (max-width: 650px) {
  .agricultura-footer .agricultura-culturas-label {
    text-align: left;
  }
}

/* CULTURAS — espaço entre título e opções */
.agricultura-footer .agricultura-culturas-label {
  margin-bottom: 26px;
}

/* AGRICULTURA — imagem à esquerda */
@media (min-width: 981px) {
  .agricultura-visual {
    order: 1;
  }

  .agricultura-copy {
    order: 2;
  }
}

/* AGRICULTURA — imagem esquerda com maior presença */
@media (min-width: 981px) {
  .agricultura-head {
    grid-template-columns: 1.15fr .95fr;
    gap: 58px;
  }
}

/* =========================================================
   GEO & TERRITÓRIO
   ========================================================= */

.geo-section {
  overflow: hidden;
}

.geo-head {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.geo-copy h2 {
  max-width: 590px;
  margin-top: 20px;
}

.geo-copy > p {
  max-width: 580px;
  color: #66736f;
  font-size: 1.05rem;
  line-height: 1.75;
}

.geo-visual img {
  display: block;
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 24px 55px rgba(17, 48, 40, .12);
}

.geo-bupi-note {
  max-width: 570px;
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid #83b52c;
  background: rgba(255,255,255,.65);
}

.geo-bupi-note strong,
.geo-bupi-note span {
  display: block;
}

.geo-bupi-note strong {
  margin-bottom: 5px;
  color: #173f36;
  font-size: .94rem;
}

.geo-bupi-note span {
  color: #697570;
  font-size: .88rem;
  line-height: 1.55;
}

.geo-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 46px;
}

.geo-service {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 28px;
  border: 1px solid #dde4df;
  border-radius: 20px;
  background: #fff;
}

.geo-service h3 {
  margin: 0 0 12px;
  color: #172b25;
}

.geo-service p {
  margin: 0;
  color: #6c7773;
  line-height: 1.6;
}

.geo-service a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: #739f27;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
}

.geo-service a span {
  transition: transform .18s ease;
}

@media (hover: hover) {
  .geo-service a:hover span {
    transform: translateX(4px);
  }
}

@media (max-width: 980px) {
  .geo-head {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .geo-services {
    grid-template-columns: 1fr;
  }

  .geo-service {
    min-height: auto;
  }
}

@media (max-width: 650px) {
  .geo-head {
    gap: 28px;
  }

  .geo-visual img {
    border-radius: 20px;
  }

  .geo-services {
    margin-top: 32px;
    gap: 14px;
  }

  .geo-service {
    padding: 22px;
  }
}

/* GEO & TERRITÓRIO — imagem com maior presença */
@media (min-width: 981px) {
  .geo-head {
    grid-template-columns: .82fr 1.18fr;
    gap: 54px;
  }
}

/* GEO — ligação Encontrar a minha parcela */
.geo-bupi-note {
  display: block;
  text-decoration: none;
  transition:
    transform .18s ease,
    background .18s ease;
}

.geo-bupi-link {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: #739f27 !important;
  font-size: .84rem !important;
  font-weight: 800;
}

.geo-bupi-link span {
  transition: transform .18s ease;
}

@media (hover: hover) {
  .geo-bupi-note:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.9);
  }

  .geo-bupi-note:hover .geo-bupi-link span {
    transform: translateX(4px);
  }
}

/* =========================================================
   ENCONTRAR A MINHA PARCELA
   ========================================================= */

.parcel-section {
  overflow: hidden;
}

.parcel-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.parcel-heading h2 {
  margin-top: 18px;
  margin-bottom: 16px;
}

.parcel-heading p {
  max-width: 680px;
  margin: 0;
  color: #687570;
  font-size: 1.03rem;
  line-height: 1.7;
}

.parcel-workspace {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
  border: 1px solid #dfe6e1;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(17, 48, 40, .08);
}

.parcel-search {
  padding: 34px;
  border-right: 1px solid #e2e8e4;
}

.parcel-country-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  padding: 5px;
  border-radius: 14px;
  background: #f1f4f1;
}

.parcel-country {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #65716d;
  font: inherit;
  font-size: .88rem;
  font-weight: 750;
  cursor: pointer;
}

.parcel-country.is-active {
  background: #fff;
  color: #173f36;
  box-shadow: 0 3px 12px rgba(17, 48, 40, .08);
}

.parcel-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  height: 20px;
  padding: 0 5px;
  border-radius: 5px;
  background: #e4eadf;
  color: #557821;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .05em;
}

.parcel-search-label,
.parcel-map-badge,
.parcel-next-step {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.parcel-search-label {
  margin-bottom: 24px;
}

.parcel-search-label > span,
.parcel-map-badge > span,
.parcel-next-number {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #83b52c;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
}

.parcel-search-label strong,
.parcel-map-badge strong,
.parcel-next-step strong {
  display: block;
  color: #173f36;
  font-size: .95rem;
}

.parcel-search-label small,
.parcel-map-badge small {
  display: block;
  margin-top: 3px;
  color: #7a8581;
  font-size: .78rem;
}

.parcel-form {
  display: grid;
  gap: 16px;
}

.parcel-form label {
  display: grid;
  gap: 7px;
  color: #344c44;
  font-size: .78rem;
  font-weight: 800;
}

.parcel-form input,
.parcel-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d9e1dc;
  border-radius: 11px;
  outline: none;
  background: #fbfcfb;
  color: #203a32;
  font: inherit;
}

.parcel-form input:focus,
.parcel-form select:focus {
  border-color: #83b52c;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(131,181,44,.10);
}

.parcel-form-row {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 14px;
}

.parcel-submit {
  width: 100%;
  margin-top: 5px;
  border: 0;
}

.parcel-alternative {
  margin-top: 21px;
  padding-top: 18px;
  border-top: 1px solid #e5eae7;
}

.parcel-alternative span {
  display: block;
  margin-bottom: 5px;
  color: #7a8581;
  font-size: .76rem;
}

.parcel-alternative a {
  color: #739f27;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.parcel-result-preview {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  background: #f2f5f1;
}

.parcel-map-placeholder {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)),
    #e5ebe4;
}

.parcel-map-grid {
  position: absolute;
  inset: 0;
  opacity: .7;
  background-image:
    linear-gradient(rgba(91,119,106,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,119,106,.10) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: rotate(-8deg) scale(1.2);
}

.parcel-shape {
  position: absolute;
  left: 28%;
  top: 24%;
  width: 44%;
  height: 48%;
  border: 3px solid #7cac2a;
  border-radius: 48% 34% 42% 29%;
  transform: rotate(-9deg);
  background: rgba(131,181,44,.12);
  box-shadow: 0 0 0 5px rgba(255,255,255,.65);
}

.parcel-shape span {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #7cac2a;
  box-shadow: 0 2px 5px rgba(17,48,40,.18);
}

.parcel-shape span:nth-child(1) { left: -7px; top: 12%; }
.parcel-shape span:nth-child(2) { right: -7px; top: 8%; }
.parcel-shape span:nth-child(3) { right: 8%; bottom: -7px; }
.parcel-shape span:nth-child(4) { left: 5%; bottom: -7px; }

.parcel-map-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 300px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 15px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px rgba(17,48,40,.10);
}

.parcel-next-step {
  padding: 24px 28px;
  background: #fff;
}

.parcel-next-step p {
  max-width: 520px;
  margin: 5px 0 0;
  color: #737f7a;
  font-size: .82rem;
  line-height: 1.55;
}

.parcel-legal {
  max-width: 900px;
  margin: 18px 0 0;
  color: #89918e;
  font-size: .72rem;
  line-height: 1.5;
}

@media (hover: hover) {
  .parcel-alternative a:hover {
    color: #173f36;
  }
}

@media (max-width: 980px) {
  .parcel-workspace {
    grid-template-columns: 1fr;
  }

  .parcel-search {
    border-right: 0;
    border-bottom: 1px solid #e2e8e4;
  }

  .parcel-map-placeholder {
    min-height: 350px;
  }
}

@media (max-width: 650px) {
  .parcel-heading {
    margin-bottom: 28px;
  }

  .parcel-workspace {
    border-radius: 20px;
  }

  .parcel-search {
    padding: 22px;
  }

  .parcel-country-tabs {
    margin-bottom: 24px;
  }

  .parcel-form-row {
    grid-template-columns: 1fr;
  }

  .parcel-map-placeholder {
    min-height: 300px;
  }

  .parcel-map-badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .parcel-next-step {
    padding: 20px;
  }
}

/* ENCONTRAR PARCELA — refinamento visual */
@media (min-width: 981px) {
  .parcel-workspace {
    grid-template-columns: 1.05fr .95fr;
  }

  .parcel-search {
    padding: 38px 40px;
  }

  .parcel-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
  }

  .parcel-form > label:nth-of-type(1),
  .parcel-form > label:nth-of-type(2) {
    grid-column: auto;
  }

  .parcel-form-row {
    grid-column: 1 / -1;
    grid-template-columns: .55fr 1.45fr;
    gap: 16px;
  }

  .parcel-submit {
    grid-column: 1 / -1;
    min-height: 52px;
    margin-top: 2px;
  }

  .parcel-map-placeholder {
    min-height: 445px;
  }
}

.parcel-form input,
.parcel-form select {
  min-width: 0;
}

.parcel-country-tabs {
  max-width: 510px;
}

.parcel-search-label {
  margin-bottom: 28px;
}

.parcel-alternative {
  margin-top: 24px;
}

/* PARCELA — Portugal / Galiza */
.parcel-field-es {
  grid-column: 1 / -1;
}

.parcel-field-es input {
  min-height: 54px;
}

.parcel-country {
  transition:
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}

@media (hover: hover) {
  .parcel-country:not(.is-active):hover {
    color: #173f36;
    background: rgba(255,255,255,.55);
  }
}

/* PARCELA — garantir troca correta Portugal / Galiza */
.parcel-form [hidden] {
  display: none !important;
}

/* =========================================================
   ENCONTRAR PARCELA — MAPA REAL
   ========================================================= */

.parcel-real-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #e8eee8;
}

.parcel-map-placeholder .leaflet-container {
  font-family: inherit;
}

.parcel-map-placeholder .leaflet-control-attribution {
  font-size: 9px;
}

.parcel-map-badge {
  z-index: 500;
}

.parcel-map-badge.is-found {
  border-color: rgba(131,181,44,.3);
}

.parcel-map-badge.is-found > span {
  background: #173f36;
}

.parcel-map-status strong {
  display: inline;
  color: #739f27;
}

.parcel-real-map .leaflet-interactive {
  filter: drop-shadow(0 3px 3px rgba(23,63,54,.18));
}

/* ENCONTRAR PARCELA — passo 02 fora do mapa */
.parcel-result-preview > .parcel-map-badge {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  max-width: none;
  margin: 0;
  padding: 18px 28px;
  border: 0;
  border-bottom: 1px solid #edf0ee;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

@media (max-width: 980px) {
  .parcel-result-preview > .parcel-map-badge {
    left: auto;
    right: auto;
    bottom: auto;
    padding: 18px 20px;
  }
}

/* ENCONTRAR PARCELA — botão de geolocalização */
.nortesense-locate-control a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 30px !important;
  height: 30px !important;
  font-size: 22px !important;
  font-weight: 700;
  line-height: 30px !important;
  color: #173f36 !important;
  text-decoration: none !important;
}

.nortesense-locate-control a.is-locating {
  opacity: .55;
}

/* ENCONTRAR PARCELA — adicionar outra parcela */
.parcel-add-another {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #78a923;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}

.parcel-add-another:hover {
  text-decoration: underline;
}

.parcel-add-another[hidden] {
  display: none !important;
}

/* ENCONTRAR PARCELA — aviso de duplicado */
.parcel-map-status.is-duplicate {
  color: #8a5a00 !important;
  font-weight: 800;
}

/* ENCONTRAR PARCELA — duplicado integrado */
.parcel-map-status.is-duplicate {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #6d821e !important;
}

.parcel-map-status.is-duplicate strong {
  display: block;
  color: #173f36;
  font-weight: 800;
}

.parcel-map-status.is-duplicate span {
  display: block;
  font-weight: 500;
}

/* ENCONTRAR PARCELA — lista de parcelas selecionadas */

.parcel-map-status {
  width: 100%;
}

.parcel-selected-row {
  display: grid !important;
  grid-template-columns: minmax(80px, 1fr) auto 30px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 7px 0;
  border-bottom: 1px solid #edf0ee;
}

.parcel-selected-name {
  color: #173f36;
  font-weight: 800;
}

.parcel-selected-area {
  color: #737f7a;
  white-space: nowrap;
}

.parcel-selected-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f5f2;
  color: #68766f;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.parcel-selected-remove:hover {
  background: #e8eee8;
  color: #173f36;
}

.parcel-selected-total {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding-top: 10px;
  color: #173f36;
}

.parcel-selected-total strong {
  font-weight: 900;
}

.parcel-selected-total > span {
  color: #78a923;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 600px) {

  .parcel-selected-row {
    grid-template-columns: 1fr auto 30px;
    gap: 8px;
  }

  .parcel-selected-total {
    align-items: flex-start;
  }
}

/* ENCONTRAR PARCELA — lista detalhada segura */

.parcel-selected-row {
  display: grid !important;
  grid-template-columns: minmax(90px, 1fr) auto 30px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid #edf0ee;
}

.parcel-selected-name {
  color: #173f36 !important;
  font-weight: 800;
}

.parcel-selected-area {
  color: #737f7a;
  white-space: nowrap;
}

.parcel-selected-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f4f1;
  color: #68766f;
  font-size: 20px;
  cursor: pointer;
}

.parcel-selected-remove:hover {
  background: #e5ebe5;
  color: #173f36;
}

.parcel-selected-total {
  display: flex !important;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding-top: 11px;
}

.parcel-selected-total strong {
  color: #173f36 !important;
  font-weight: 900;
}

.parcel-selected-total > span {
  color: #78a923;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 600px) {

  .parcel-selected-row {
    grid-template-columns: 1fr auto 30px;
    gap: 8px;
  }

}

/* Parcela selecionada — clicar para centrar no mapa */

.parcel-selected-focus {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  text-align: left;
  font: inherit;
  color: #173f36 !important;
  font-weight: 800;
  cursor: pointer;
  transition: color .18s ease;
}

.parcel-selected-focus:hover,
.parcel-selected-focus:focus-visible {
  color: #78a923 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.parcel-selected-focus:focus-visible {
  outline: 2px solid #8fca28;
  outline-offset: 3px;
  border-radius: 3px;
}

/* Parcelas selecionadas — identificação de elemento clicável */
.parcel-selected-focus {
  color: #78a923 !important;
  font-weight: 800;
  cursor: pointer;
}

.parcel-selected-focus:hover,
.parcel-selected-focus:focus-visible {
  color: #5f8f18 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   ENCONTRAR PARCELA — PASSO 03
   ========================================================= */

.parcel-step-three-content {
  width: 100%;
  min-width: 0;
}

.parcel-step-three-summary {
  margin: 5px 0 14px;
  color: #737f7a;
}

.parcel-service-selector {
  margin-top: 14px;
}

.parcel-service-question {
  display: block;
  margin-bottom: 10px;
  color: #173f36;
  font-weight: 800;
}

.parcel-service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.parcel-service-option {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #dfe6e1;
  border-radius: 9px;
  background: #fff;
  color: #173f36;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition:
    border-color .18s ease,
    background .18s ease,
    color .18s ease;
}

.parcel-service-option:hover {
  border-color: #8fca28;
}

.parcel-service-option.is-selected {
  border-color: #8fca28;
  background: #f2f8e7;
  color: #5f8f18;
}

.parcel-service-continue {
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: #82bb25;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.parcel-service-continue:disabled {
  background: #dfe5df;
  color: #99a29d;
  cursor: default;
}

@media (max-width: 600px) {
  .parcel-service-options {
    grid-template-columns: 1fr;
  }
}


/* PASSO 03 — opção de aconselhamento em largura total */
.parcel-service-option[data-service="aconselhamento"] {
  grid-column: 1 / -1;
}



/* =========================================================
   ENCONTRAR PARCELA — PASSO 03 FECHADO CLICÁVEL
   ========================================================= */

.parcel-step-three.has-parcels:not(.is-open) {
  cursor: pointer;
  transition:
    background .18s ease,
    box-shadow .18s ease;
}

.parcel-step-three.has-parcels:not(.is-open):hover {
  background: #f8fbf4;
}

.parcel-step-three.has-parcels:not(.is-open) .parcel-next-number {
  box-shadow: 0 0 0 4px rgba(143, 202, 40, .12);
}

.parcel-step-three-summary strong {
  display: block;
  color: #173f36;
  font-weight: 800;
}

.parcel-step-three-hint {
  display: inline-block;
  margin-top: 7px;
  color: #78a923;
  font-weight: 800;
}

.parcel-step-three.has-parcels:not(.is-open)
.parcel-step-three-hint {
  text-decoration: none;
}

.parcel-step-three.has-parcels:not(.is-open):hover
.parcel-step-three-hint {
  color: #5f8f18;
  text-decoration: underline;
  text-underline-offset: 3px;
}



/* =========================================================
   PASSO 03 — TÍTULO CLICÁVEL NO ESTADO FECHADO
   ========================================================= */

.parcel-step-three.has-parcels:not(.is-open) {
  position: relative;
  cursor: pointer;
  background: #fbfdf8;
}

.parcel-step-three.has-parcels:not(.is-open) > .parcel-step-three-content > strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #78a923;
  font-weight: 900;
}

.parcel-step-three.has-parcels:not(.is-open) > .parcel-step-three-content > strong::after {
  content: '→';
  font-size: 18px;
  line-height: 1;
  transition: transform .18s ease;
}

.parcel-step-three.has-parcels:not(.is-open):hover {
  background: #f4f9ec;
}

.parcel-step-three.has-parcels:not(.is-open):hover
> .parcel-step-three-content > strong::after {
  transform: translateX(4px);
}

.parcel-step-three.has-parcels:not(.is-open) .parcel-step-three-hint {
  color: #5f8f18;
  font-weight: 800;
}



/* =========================================================
   PASSO 03 — AÇÕES DO ESTADO FECHADO
   ========================================================= */

/* Ação principal: Escolher serviço e continuar */
.parcel-step-three.has-parcels:not(.is-open) .parcel-step-three-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #82bb25;
  color: #fff !important;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
  box-sizing: border-box;
  transition:
    background .18s ease,
    transform .18s ease;
}

.parcel-step-three.has-parcels:not(.is-open):hover .parcel-step-three-hint {
  background: #72a91e;
  color: #fff !important;
  text-decoration: none !important;
}

/* Ação secundária: adicionar outra parcela */
.parcel-step-three.has-parcels:not(.is-open) .parcel-add-another {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 9px;
  padding: 10px 18px;
  border: 1px solid #82bb25;
  border-radius: 999px;
  background: #fff;
  color: #6fa51c;
  font: inherit;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    background .18s ease,
    color .18s ease;
}

.parcel-step-three.has-parcels:not(.is-open) .parcel-add-another:hover {
  background: #f4f9ec;
  color: #5f8f18;
}


/* PASSO 03 — ocultar numeração visual */
.parcel-step-three > .parcel-next-number {
  display: none !important;
}



/* =========================================================
   PASSO 03 — ordem final das ações
   ========================================================= */

/* O bloco deixa de parecer globalmente clicável */
.parcel-step-three.has-parcels {
  cursor: default !important;
}

/* Transformamos a zona das ações em flex para controlar a ordem */
.parcel-step-three.has-parcels:not(.is-open) > div {
  display: flex;
  flex-direction: column;
}

/* Mantém título e resumo no topo */
.parcel-step-three.has-parcels:not(.is-open) > div > strong {
  order: 1;
}

.parcel-step-three.has-parcels:not(.is-open) .parcel-step-three-summary {
  order: 2;
}

/* Primeiro: adicionar outra parcela */
.parcel-step-three.has-parcels:not(.is-open) .parcel-add-another {
  order: 3;
  margin-top: 14px;
}

/* Último: ação principal */
.parcel-step-three.has-parcels:not(.is-open) .parcel-step-three-hint {
  order: 4;
  margin-top: 9px;
  cursor: pointer;
}



/* =========================================================
   PASSO 03 — AJUSTE VISUAL FINAL
   ========================================================= */

/* Título deixa de parecer clicável e perde a seta */
.parcel-step-three.has-parcels:not(.is-open)
> .parcel-step-three-content > strong {
  color: #173f36 !important;
  cursor: default !important;
}

.parcel-step-three.has-parcels:not(.is-open)
> .parcel-step-three-content > strong::after {
  content: none !important;
  display: none !important;
}


/* Permite ordenar separadamente o total e o botão principal */
.parcel-step-three.has-parcels:not(.is-open)
.parcel-step-three-summary {
  display: contents;
}

.parcel-step-three.has-parcels:not(.is-open)
.parcel-step-three-summary > strong {
  order: 2;
  display: block;
  margin-top: 5px;
  color: #173f36;
}


/* 1.º botão: adicionar outra parcela */
.parcel-step-three.has-parcels:not(.is-open)
.parcel-add-another {
  order: 3;
  margin-top: 14px;
}


/* 2.º botão: escolher serviço e continuar */
.parcel-step-three.has-parcels:not(.is-open)
.parcel-step-three-hint {
  order: 4;
  margin-top: 9px;
  cursor: pointer;
}


/* PASSO 03 — apenas os dois botões são clicáveis */
.parcel-step-three,
.parcel-step-three.has-parcels,
.parcel-step-three.has-parcels:not(.is-open),
.parcel-step-three-content,
.parcel-step-three-summary,
.parcel-step-three-content > strong {
  cursor: default !important;
}

.parcel-step-three.has-parcels:not(.is-open):hover {
  background: #fbfdf8 !important;
}

.parcel-step-three-hint,
.parcel-add-another {
  cursor: pointer !important;
}



/* =========================================================
   PASSO 03 — ESTADO ABERTO FINAL
   ========================================================= */

/* Depois de abrir os serviços, já não precisamos
   do convite "Escolher serviço e continuar" */
.parcel-step-three.is-open .parcel-step-three-hint {
  display: none !important;
}


/* Cabeçalho mais compacto no estado aberto */
.parcel-step-three.is-open .parcel-step-three-summary {
  margin-top: 4px !important;
  margin-bottom: 10px !important;
}

.parcel-step-three.is-open .parcel-service-selector {
  margin-top: 8px !important;
}


/* Adicionar outra parcela mantém aparência de botão secundário */
.parcel-step-three.is-open .parcel-add-another {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  padding: 10px 18px;
  border: 1px solid #82bb25;
  border-radius: 999px;
  background: #fff;
  color: #6fa51c !important;
  font: inherit;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.parcel-step-three.is-open .parcel-add-another:hover {
  background: #f4f9ec;
  color: #5f8f18 !important;
}


/* PASSO 03 — remover título redundante */
.parcel-step-three > strong {
  display: none !important;
}

/* PASSO 03 — remover definitivamente "Confirmar e avançar" */
.parcel-step-three .parcel-step-three-content > strong {
  display: none !important;
}

/* =========================================================
   PEDIDO — DADOS DE CONTACTO
   ========================================================= */

.parcel-request-contact {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(12, 47, 43, 0.12);
}

.parcel-request-contact[hidden] {
  display: none !important;
}

.parcel-request-contact-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 18px;
}

.parcel-request-contact-head strong {
  color: #173d37;
  font-size: 18px;
  line-height: 1.25;
}

.parcel-request-contact-head span {
  color: #64736f;
  font-size: 13px;
  line-height: 1.5;
}

.parcel-request-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.parcel-request-contact-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.parcel-request-contact-grid label > span {
  color: #173d37;
  font-size: 13px;
  font-weight: 700;
}

.parcel-request-contact-grid input,
.parcel-request-contact-grid textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(12, 47, 43, 0.16);
  border-radius: 10px;
  background: #fff;
  color: #173d37;
  font: inherit;
  font-size: 14px;
  padding: 11px 13px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.parcel-request-contact-grid input {
  min-height: 44px;
}

.parcel-request-contact-grid textarea {
  min-height: 90px;
  resize: vertical;
}

.parcel-request-contact-grid input:focus,
.parcel-request-contact-grid textarea:focus {
  border-color: #8fca28;
  box-shadow: 0 0 0 3px rgba(143, 202, 40, 0.12);
}

.parcel-request-message {
  grid-column: 1 / -1;
}

.parcel-request-submit {
  width: 100%;
  margin-top: 16px;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: #173d37;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.parcel-request-submit:hover {
  opacity: .92;
}

.parcel-request-note {
  display: block;
  margin-top: 10px;
  color: #73817e;
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 680px) {
  .parcel-request-contact-grid {
    grid-template-columns: 1fr;
  }

  .parcel-request-message {
    grid-column: auto;
  }
}


/* =========================================================
   CONFIRMAÇÃO DO PEDIDO
   ========================================================= */
.parcel-request-success {
    margin-top: 18px;
    padding: 20px 22px;
    background: #eef8f2;
    border: 1px solid #b9dfc8;
    border-left: 4px solid #168052;
    border-radius: 10px;
    color: #173c2d;
}

.parcel-request-success strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    color: #125f40;
}

.parcel-request-success span {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #172f25;
}

.parcel-request-success p {
    margin: 0;
    line-height: 1.55;
    color: #53645c;
}

/* =========================================================
   ENCONTRAR PARCELA — ESCOLHA DO MODO MANUAL
   ========================================================= */

.parcel-manual-chooser {
  position: relative;
  z-index: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #ffffff;
  border-bottom: 1px solid #e5eae7;
}

.parcel-manual-chooser[hidden] {
  display: none !important;
}

.parcel-manual-chooser > strong {
  margin-right: auto;
  color: #173f36;
  font-size: .82rem;
  font-weight: 800;
}

.parcel-manual-chooser button {
  appearance: none;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #d7dfda;
  border-radius: 999px;
  background: #ffffff;
  color: #173f36;
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    border-color .18s ease,
    background .18s ease,
    color .18s ease;
}

@media (hover: hover) {
  .parcel-manual-chooser button:hover {
    border-color: #83b52c;
    background: #f4f8ed;
  }
}

@media (max-width: 760px) {
  .parcel-manual-chooser {
    align-items: stretch;
    flex-direction: column;
  }

  .parcel-manual-chooser > strong {
    margin-right: 0;
  }

  .parcel-manual-chooser button {
    width: 100%;
  }
}

/* =========================================================
   ENCONTRAR PARCELA — RESULTADO DO DESENHO MANUAL
   ========================================================= */

.parcel-manual-result {
  position: relative;
  z-index: 550;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  background: #f7f9f6;
  border-bottom: 1px solid #e5eae7;
  color: #173f36;
  font-size: .80rem;
}

.parcel-manual-result strong {
  color: #173f36;
  font-weight: 800;
}

.parcel-manual-result span {
  color: #4f625c;
  font-weight: 700;
}

@media (max-width: 760px) {
  .parcel-manual-result {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* =========================================================
   ENCONTRAR PARCELA — MÉTRICAS DO DESENHO MANUAL
   ========================================================= */

.parcel-map-status .parcel-manual-metrics {
  display: flex;
  align-items: flex-start;
  gap: 34px;
  margin-top: 7px;
}

.parcel-map-status .parcel-manual-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.parcel-map-status .parcel-manual-metric + .parcel-manual-metric {
  padding-left: 34px;
  border-left: 1px solid #dfe5e1;
}

.parcel-map-status .parcel-manual-metric-label {
  color: #6b7772;
  font-size: .72rem;
  font-weight: 600;
}

.parcel-map-status .parcel-manual-metric strong {
  color: #173f36;
  font-size: .92rem;
  font-weight: 800;
}

.parcel-map-status .parcel-manual-metric-secondary {
  color: #7cae27;
  font-size: .75rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .parcel-map-status .parcel-manual-metrics {
    gap: 20px;
  }

  .parcel-map-status .parcel-manual-metric + .parcel-manual-metric {
    padding-left: 20px;
  }
}

/* =========================================================
   ENCONTRAR PARCELA — PESQUISA NO MAPA
   ========================================================= */

.nortesense-map-search {
  position: relative;
  width: 290px;
  margin-left: 8px;
}

.nortesense-map-search-box {
  display: flex;
  align-items: center;
  height: 38px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d7dfda;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(23, 63, 54, .16);
}

.nortesense-map-search-icon {
  flex: 0 0 auto;
  padding-left: 12px;
  color: #173f36;
  font-size: 20px;
  line-height: 1;
}

.nortesense-map-search-input {
  width: 100%;
  height: 100%;
  padding: 0 12px 0 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #173f36;
  font: inherit;
}

/* =========================================================
   ENCONTRAR PARCELA — DESTAQUE LOCALIZAR NO MAPA
   ========================================================= */

.parcel-alternative .parcel-manual-map {
  display: inline-block;
  margin-top: 4px;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.4;
}

/* =========================================================
   ENCONTRAR PARCELA — CONTROLOS MANUAIS PREMIUM 2026-09-21
   ========================================================= */

/* Escolha do método */
.parcel-manual-chooser > .parcel-manual-boundary,
.parcel-manual-chooser > .parcel-manual-point {
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid #cfd9d4;
  border-radius: 8px;
  background: #ffffff;
  color: #173f36;
  box-shadow: 0 1px 2px rgba(23, 63, 54, .04);
}

/* Método atualmente ativo */
.parcel-manual-chooser > .parcel-manual-boundary.is-active,
.parcel-manual-chooser > .parcel-manual-point.is-active {
  border-color: #173f36;
  background: #eef4f1;
  color: #173f36;
}

/* Zona das ações do modo ativo */
.parcel-manual-actions,
.parcel-manual-point-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid #dfe6e2;
}

.parcel-manual-actions[hidden],
.parcel-manual-point-actions[hidden] {
  display: none !important;
}

/* Ações: formato menos "cápsula" */
.parcel-manual-chooser .parcel-manual-actions button,
.parcel-manual-chooser .parcel-manual-point-actions button {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 7px;
  white-space: nowrap;
}

/* Ação principal */
.parcel-manual-chooser .parcel-manual-finish,
.parcel-manual-chooser .parcel-manual-point-finish {
  border-color: #173f36;
  background: #173f36;
  color: #ffffff;
}

/* Ações secundárias */
.parcel-manual-chooser .parcel-manual-undo {
  background: #ffffff;
  color: #173f36;
}

/* Cancelar / recomeçar */
.parcel-manual-chooser .parcel-manual-restart,
.parcel-manual-chooser .parcel-manual-point-cancel {
  border-color: transparent;
  background: transparent;
  color: #65756e;
}

/* Tablet / telemóvel */
@media (max-width: 760px) {
  .parcel-manual-actions,
  .parcel-manual-point-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 0 0;
    margin: 2px 0 0;
    border-left: 0;
    border-top: 1px solid #e3e9e6;
  }

  .parcel-manual-actions {
    grid-template-columns: 1fr 1fr;
  }

  .parcel-manual-actions .parcel-manual-finish {
    grid-column: 1 / -1;
  }

  .parcel-manual-chooser .parcel-manual-actions button,
  .parcel-manual-chooser .parcel-manual-point-actions button {
    width: 100%;
    min-height: 44px;
  }
}


/* Tablet horizontal — separar método e ações */
@media (min-width: 761px) and (max-width: 1100px) {
  .parcel-manual-chooser {
    flex-wrap: wrap;
  }

  .parcel-manual-chooser > strong {
    flex: 0 0 100%;
    margin-right: 0;
  }

  .parcel-manual-chooser > .parcel-manual-boundary,
  .parcel-manual-chooser > .parcel-manual-point {
    flex: 1 1 0;
  }

  .parcel-manual-actions,
  .parcel-manual-point-actions {
    flex: 0 0 100%;
    justify-content: flex-end;
    padding: 10px 0 0;
    margin: 2px 0 0;
    border-left: 0;
    border-top: 1px solid #e3e9e6;
  }
}



/* =========================================================
   PÁGINAS DE CULTURA — NORTESENSE
   ========================================================= */

.cultura-page {
  padding-top: 72px;
  padding-bottom: 72px;
}

.cultura-page .agricultura-head,
.cultura-investigacao .agricultura-head,
.cultura-entregaveis .agricultura-head {
  grid-template-columns: 1fr 1.08fr;
  gap: 58px;
}

.cultura-page h1 {
  margin: 12px 0 20px;
  max-width: 620px;
  color: #132a24;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.cultura-page .lead {
  font-size: 1.05rem;
  line-height: 1.7;
}

.cultura-page .hero-actions {
  margin-top: 28px;
}

.cultura-visual {
  min-height: 360px;
}

.cultura-visual .cultura-image-placeholder {
  width: 100%;
  min-height: 360px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background:
    linear-gradient(135deg, #e8eee8 0%, #dce6dd 100%);
  color: #718078;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
}

.cultura-note {
  margin: 22px 0 0;
  padding: 16px 20px;
  border-radius: 14px;
  background: #edf3e9;
  color: #53625d;
  font-size: .88rem;
  line-height: 1.6;
}

.cultura-investigacao h2,
.cultura-entregaveis h2 {
  max-width: 650px;
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.cultura-investigacao .agricultura-copy > p:not(.lead):not(.cultura-disclaimer) {
  color: #56656a;
  line-height: 1.7;
}

.cultura-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 27px 0 18px;
}

.cultura-flow span {
  padding: 10px 13px;
  border: 1px solid #dce6dc;
  border-radius: 999px;
  background: #f4f7f2;
  color: #26483f;
  font-size: .78rem;
  font-weight: 750;
  white-space: nowrap;
}

.cultura-flow b {
  color: #7da52e;
  font-weight: 800;
}

.cultura-disclaimer {
  margin: 0;
  color: #78827e;
  font-size: .78rem;
  line-height: 1.55;
}

.cultura-entregaveis .btn {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .cultura-page .agricultura-head,
  .cultura-investigacao .agricultura-head,
  .cultura-entregaveis .agricultura-head {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cultura-page h1 {
    max-width: 720px;
  }

  .cultura-visual {
    min-height: 300px;
  }

  .cultura-visual .cultura-image-placeholder {
    min-height: 300px;
  }
}

@media (max-width: 650px) {
  .cultura-page {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .cultura-page h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .cultura-investigacao h2,
  .cultura-entregaveis h2 {
    font-size: 2.25rem;
  }

  .cultura-flow {
    align-items: stretch;
    flex-direction: column;
  }

  .cultura-flow span {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .cultura-flow b {
    text-align: center;
    transform: rotate(90deg);
  }
}

/* Ajuste final do título das páginas de cultura */
/* Título das páginas de cultura */
.cultura-page h1 {
  max-width: 720px;
  font-size: clamp(2.5rem, 3.2vw, 3rem);
  line-height: 1.05;
}

@media (max-width: 650px) {
  .cultura-page h1 {
    font-size: clamp(2.15rem, 9vw, 2.7rem);
  }
}

/* AGRICULTURA — 5 SERVIÇOS */
@media (min-width: 901px) {
  .agricultura-work {
    grid-template-columns: repeat(6, 1fr);
  }

  .agricultura-work .agricultura-card {
    grid-column: span 2;
  }

  .agricultura-work .agricultura-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .agricultura-work .agricultura-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* =========================================================
   PEDIDO — SELEÇÃO DA CULTURA
   ========================================================= */
.parcel-culture-selector {
  margin-top: 18px;
}

.parcel-culture-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.parcel-culture-option {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #dfe6e1;
  border-radius: 9px;
  background: #fff;
  color: #173f36;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.parcel-culture-option:hover {
  border-color: #8fca28;
}

.parcel-culture-option.is-selected {
  border-color: #8fca28;
  background: #f2f8e7;
  color: #5f8f18;
}

.parcel-culture-other {
  display: block;
  margin-top: 12px;
}

.parcel-culture-other[hidden] {
  display: none;
}

.parcel-culture-other span {
  display: block;
  margin-bottom: 6px;
  color: #173f36;
  font-size: 13px;
  font-weight: 700;
}

.parcel-culture-other input {
  width: 100%;
}

@media (max-width: 600px) {
  .parcel-culture-options {
    grid-template-columns: 1fr;
  }
}

/* AGRICULTURA — OUTRAS CULTURAS */
.agricultura-outra-cultura {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
  padding: 18px 20px;
  border-top: 1px solid #dfe8dc;
}

.agricultura-outra-cultura-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #173f36;
  font-size: .96rem;
  font-weight: 800;
}

.agricultura-outra-cultura-copy p {
  max-width: 720px;
  margin: 0;
  color: #66736e;
  font-size: .88rem;
  line-height: 1.55;
}

.agricultura-outra-cultura-link {
  flex-shrink: 0;
  color: #6f9428;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.agricultura-outra-cultura-link span {
  margin-left: 4px;
}

@media (hover: hover) {
  .agricultura-outra-cultura-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

@media (max-width: 650px) {
  .agricultura-outra-cultura {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px 4px 4px;
  }
}

/* OUTRAS CULTURAS — manter CTA unido */
.agricultura-outra-cultura-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.agricultura-outra-cultura-link span {
  margin-left: 0;
}

/* =========================================================
   FOOTER NORTESENSE — V2
   ========================================================= */

.site-footer {
  padding: 56px 0 44px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  align-items: start;
  gap: 48px;
}

.site-footer .footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer .footer-column strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 1rem;
}

.site-footer .footer-brand strong {
  font-size: 1.25rem;
}

.site-footer .footer-column p {
  margin: 0;
  line-height: 1.6;
}

.site-footer .footer-column a {
  display: inline-block;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  line-height: 1.5;
}

.site-footer .footer-column a:hover {
  color: var(--ns-green);
}

.site-footer .footer-brand {
  max-width: 330px;
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding: 44px 0 38px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.site-footer .footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
}

.site-footer .footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: .88rem;
}

/* =========================================================
   LEGAL E PRIVACIDADE — NORTESENSE
   ========================================================= */
.legal-page {
  padding: 72px 0 88px;
  background: #fff;
}

.legal-page .legal-container {
  max-width: 980px;
}

.legal-page .legal-header {
  max-width: 780px;
  margin: 0 0 54px;
}

.legal-page .legal-header .eyebrow {
  margin: 0 0 12px;
  color: var(--ns-green);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-page .legal-header h1 {
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.legal-page .legal-header > p:last-child {
  max-width: 720px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #5f6b70;
}

.legal-page .legal-content {
  max-width: 820px;
}

.legal-page .legal-content section {
  padding: 30px 0;
  border-top: 1px solid #e4e9e7;
}

.legal-page .legal-content section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-page .legal-content h2 {
  margin: 0 0 14px;
  font-size: 1.28rem;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.legal-page .legal-content p {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.75;
  color: #455257;
}

.legal-page .legal-content p:last-child {
  margin-bottom: 0;
}

.legal-page .legal-content strong {
  color: #17272d;
}

.legal-page .legal-content a {
  color: #278c42;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .legal-page {
    padding: 48px 0 64px;
  }

  .legal-page .legal-header {
    margin-bottom: 38px;
  }

  .legal-page .legal-header h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .legal-page .legal-content section {
    padding: 24px 0;
  }

  .legal-page .legal-content h2 {
    font-size: 1.18rem;
  }
}


/* =========================================================
   ATUALIDADES — HOME
   ========================================================= */
.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.news-card .news-meta {
  margin-bottom: 12px;
  color: var(--ns-green);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-card h3 {
  margin-top: 0;
}

.news-card p {
  flex: 1;
}

.news-card a {
  margin-top: 10px;
  color: var(--ns-green);
  font-weight: 700;
  text-decoration: none;
}

.news-card a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .cards.four {
    grid-template-columns: 1fr;
  }
}

/* ARTIGOS — ATUALIDADES */
@media (max-width: 768px) {
  #conhecimento + section h1,
  .section h1 {
    font-size: clamp(2rem, 8vw, 2.7rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .section .container[style*="max-width:900px"] {
    padding-left: 22px;
    padding-right: 22px;
  }

  .section .container[style*="max-width:900px"] > p {
    line-height: 1.7;
  }
}

/* ATUALIDADES — ajuste tablet */
@media (min-width: 769px) and (max-width: 1100px) {
  .section .container[style*="max-width:900px"] h1 {
    font-size: clamp(2.8rem, 4.5vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
  }
}

/* ATUALIDADES — tipografia própria dos artigos */
.article-page h1 {
  max-width: 850px;
  font-size: clamp(3rem, 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

@media (max-width: 768px) {
  .article-page h1 {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }
}

.article-page h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
}

/* ATUALIDADES — links de fontes oficiais */
.article-page a[target="_blank"] {
  color: var(--ns-green);
  font-weight: 700;
  text-decoration: none;
}

.article-page a[target="_blank"]:hover {
  text-decoration: underline;
}
