/* ============================================================
   AMBIAGRO — Folha de estilos principal
   Fonte: Open Sans (400, 600, 700)
   Cor primária: #C54C1F
   ============================================================ */

/* ============================================================
   VARIÁVEIS
   ============================================================ */
:root {
  --color-primary:       #C54C1F;
  --color-primary-dark:  #a03d18;
  --color-dark:          #141414;
  --color-dark-card:     #1e1e1e;
  --color-dark-border:   rgba(255, 255, 255, 0.08);
  --color-text:          #1f1f1f;
  --color-text-muted:    #6b6b6b;
  --color-bg:            #ffffff;
  --color-bg-soft:       #f7f7f5;
  --color-border:        #e5e5e5;

  --font:                'Open Sans', sans-serif;
  --fw-regular:          400;
  --fw-semibold:         600;
  --fw-bold:             700;

  --radius:              4px;
  --radius-md:           8px;
  --max-width:           1200px;
  --nav-height:          76px;
  --section-pad:         80px;

  --ease:                0.2s ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================================
   LAYOUT — CONTAINER
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--fw-bold);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h3 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: var(--fw-semibold);
  line-height: 1.35;
}
p {
  font-size: 0.9375rem;
  line-height: 1.75;
}
.text-center { text-align: center; }
.text-muted   { color: var(--color-text-muted); }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  line-height: 1;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-white:hover,
.btn-outline-white:focus-visible {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}
.btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* ============================================================
   NAVEGAÇÃO
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 var(--color-border);
  transition: box-shadow var(--ease);
}
.nav.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}
.nav__logo img {
  height: 56px;
  width: auto;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color var(--ease);
}
.nav__link:hover,
.nav__link.active {
  color: var(--color-primary);
}
.nav__cta {
  margin-left: 8px;
  padding: 9px 20px;
  font-size: 0.8125rem;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  transition: background var(--ease);
}
.nav__hamburger:hover { background: var(--color-bg-soft); }
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile menu — overlay backdrop */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 299;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.nav__overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}

/* Mobile menu — full-height right-side panel */
.nav__mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: calc(100% - 48px);
  max-width: 400px;
  height: 100%;
  height: 100dvh;
  background: #fff;
  z-index: 300;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
  visibility: hidden;
}
.nav__mobile.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.3s ease, visibility 0s;
}

/* Close button row */
.nav__mobile-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: var(--nav-height);
  padding: 0 20px;
  flex-shrink: 0;
}
.nav__mobile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  color: var(--color-text);
  transition: background var(--ease);
}
.nav__mobile-close:hover { background: var(--color-bg-soft); }

/* Nav links list */
.nav__mobile-links {
  display: flex;
  flex-direction: column;
  padding: 0 24px 24px;
  flex: 1;
}
.nav__mobile-link {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-text);
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: color var(--ease);
}
.nav__mobile-link:first-child { border-top: 1px solid var(--color-border); }
.nav__mobile-link:hover,
.nav__mobile-link.active { color: var(--color-primary); }

/* CTA — Pedir Proposta */
.nav__mobile-cta {
  display: block;
  margin-top: 16px;
  padding: 16px;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  font-weight: var(--fw-bold);
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--ease);
}
.nav__mobile-cta:hover { background: var(--color-primary-dark); }

/* Contact info + logo at the bottom */
.nav__mobile-footer {
  padding: 24px 24px 40px;
  text-align: center;
  flex-shrink: 0;
}
.nav__mobile-footer p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 4px 0;
  line-height: 1.5;
}
.nav__mobile-logo {
  display: block;
  margin: 24px auto 0;
  height: 42px;
  width: auto;
  object-fit: contain;
}
.nav__mobile-ambimetric {
  display: block;
  margin: 12px auto 0;
}
.nav__mobile-ambimetric img {
  display: block;
  margin: 0 auto;
  height: 28px;
  width: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 80vh;
  height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero--short {
  height: 52vh;
  min-height: 52vh;
  align-items: center;
  justify-content: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 680px;
}
.hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}
.hero__content h1 {
  color: #fff;
  margin-bottom: 10px;
}
.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}
.hero__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.8;
}
/* Hero de páginas legais (título centrado) */
.hero--short .hero__content {
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
}
.hero--short h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}
.hero--short p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

/* ============================================================
   SECÇÕES — ESTRUTURA GERAL
   ============================================================ */
.section {
  padding: var(--section-pad) 0;
}
.section--soft {
  background: var(--color-bg-soft);
}
.section--dark {
  background: var(--color-dark);
  color: #fff;
}
.section__header {
  margin-bottom: 48px;
}
.section__header.text-center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section__label {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.section__header h2 {
  margin-bottom: 14px;
}
.section__header p {
  color: var(--color-text-muted);
}
.section--dark .section__header p {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   CARDS DE FUNCIONALIDADES (homepage)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.features-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
.feature-card {
  background: var(--color-dark-card);
  color: #fff;
  padding: 36px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-dark-border);
  transition: border-color var(--ease);
}
.feature-card:hover {
  border-color: rgba(197, 76, 31, 0.4);
}
.feature-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--color-primary);
}
.feature-card__icon svg {
  width: 100%;
  height: 100%;
}
.feature-card__title {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  margin-bottom: 10px;
  color: #fff;
}
.feature-card__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
}

/* ============================================================
   LAYOUT DIVIDIDO (imagem + texto)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split--top { align-items: start; }
.split--reverse .split__image { order: 2; }
.split--reverse .split__text  { order: 1; }
.split--sticky-image { align-items: start; }
.split__image img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}
.split__image--stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.split__text h2  { margin-bottom: 16px; }
.split__text h3  { margin-bottom: 12px; }
.split__text p   { color: var(--color-text-muted); margin-bottom: 28px; }
.split__text ul  {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.split__text ul li {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
}
.split__text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ============================================================
   INTRO DO SISTEMA — itens HARDWARE / SOFTWARE
   ============================================================ */
.product-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.product-item {
  padding-left: 16px;
  border-left: 2px solid var(--color-text);
}
.product-item .product-item__title {
  font-weight: var(--fw-bold);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 4px;
}
.product-item .product-item__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================================
   TABELA DE ESPECIFICAÇÕES GERAIS
   ============================================================ */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
}
.specs-table thead tr {
  background: var(--color-dark-card);
}
.specs-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.specs-table tbody tr {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.specs-table tbody tr:last-child {
  border-bottom: none;
}
.specs-table tbody td {
  padding: 13px 18px;
  vertical-align: top;
  line-height: 1.5;
}
.specs-table tbody td:first-child {
  font-weight: 600;
  width: 44%;
  color: var(--color-text);
}
.specs-table tbody td:last-child {
  color: var(--color-text-muted);
}
.sistema-img {
  margin-top: 48px;
  text-align: center;
}
.sistema-img img {
  display: block;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-md);
}

/* ============================================================
   CARDS DE CASOS DE ESTUDO
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================================
   CASO DE ESTUDO — CARD + LOCALIZAÇÃO
   ============================================================ */
.page-intro {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}
.page-intro strong { color: var(--color-text); }

.legal-body {
  max-width: 780px;
  line-height: 1.85;
  color: var(--color-text);
}
.legal-body p { margin-bottom: 1.25rem; }
.legal-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.legal-version {
  margin-top: 2rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.case-block {
  display: grid;
  grid-template-columns: 62fr 38fr;
  align-items: start;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.case-block__text {
  padding: 0 48px 0 0;
}
.case-block__text h2 {
  margin-bottom: 0;
  line-height: 1.25;
}
.case-block__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case__location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: 14px;
  margin-bottom: 28px;
}
.case__location svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.case-block__text p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.case-block__text p:last-child { margin-bottom: 0; }

/* ============================================================
   ACORDEÃO LATERAL — CASOS DE ESTUDO
   ============================================================ */
.case-tabs {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 40px;
}
.case-tabs__nav {
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}
.case-tabs__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: var(--fw-regular);
  color: var(--color-text-muted);
  line-height: 1.4;
  transition: color var(--ease), background var(--ease);
}
.case-tabs__btn:last-child { border-bottom: none; }
.case-tabs__btn:hover {
  background: var(--color-bg-soft);
  color: var(--color-text);
}
.case-tabs__btn.active {
  color: var(--color-text);
  font-weight: var(--fw-semibold);
}
.case-tabs__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  opacity: 0.25;
  transition: opacity var(--ease), color var(--ease);
}
.case-tabs__btn.active .case-tabs__icon {
  opacity: 1;
  color: var(--color-primary);
}
.case-tabs__btn:hover .case-tabs__icon { opacity: 0.6; }

.case-tabs__panel {
  padding: 32px 40px;
  background: var(--color-bg-soft);
}
.case-tabs__list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.case-tabs__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.65;
}
.case-tabs__list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}
.case-tabs__panel p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.case-tabs__panel p:last-child { margin-bottom: 0; }

/* variante: acordeão dentro de secção com fundo soft → painel fica branco */
.case-tabs--on-soft .case-tabs__panel { background: var(--color-bg); }
.case-tabs--on-soft .case-tabs__btn:hover { background: rgba(0, 0, 0, 0.04); }

.case-summary {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.case-summary:last-of-type { margin-bottom: 0; }

/* ============================================================
   GALERIA — SISTEMA INSTALADO
   ============================================================ */
.case-gallery__heading {
  font-size: 1.375rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin-bottom: 24px;
}
.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.case-gallery__item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.case-gallery__item img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
}
.case-gallery__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case-gallery__name {
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}
.case-gallery__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.case-gallery__location svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ============================================================
   CARROSSEL POR ESTAÇÃO — ARBI
   ============================================================ */
.case-stations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.case-station__carousel {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}
.case-station__track {
  display: flex;
  transition: transform 0.35s ease;
  user-select: none;
}
.case-station__track img { pointer-events: none; }
.case-station__slide {
  flex: 0 0 100%;
  margin: 0;
}
.case-station__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.case-station__prev,
.case-station__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--ease), background var(--ease);
}
.case-station__carousel:hover .case-station__prev,
.case-station__carousel:hover .case-station__next { opacity: 1; }
.case-station__prev:hover,
.case-station__next:hover { background: #fff; }
.case-station__prev { left: 12px; }
.case-station__next { right: 12px; }
.case-station__prev svg,
.case-station__next svg {
  width: 16px;
  height: 16px;
  color: var(--color-text);
}
.case-station__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ============================================================
   GRELHA DE FOTOS — CASOS DE ESTUDO
   ============================================================ */
.case-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-self: start;
}
.case-photos img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

/* Sensores instalados */
.case-sensors__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 24px;
  margin-bottom: 10px;
}
.sensor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.sensor-chip {
  font-size: 0.8rem;
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  color: var(--color-text-muted);
}
.case-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--ease), transform var(--ease);
}
.case-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.case-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.case-card:hover .case-card__image img {
  transform: scale(1.04);
}
.case-card__body {
  padding: 20px 24px 24px;
}
.case-card__tag {
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.case-card__title {
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 8px;
}
.case-card__excerpt {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================
   BANDA CTA
   ============================================================ */
.cta-band {
  position: relative;
  background-color: var(--color-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 72px 0;
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}
.cta-band .container {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: 10px;
}
.cta-band__sub {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
  font-size: 0.9375rem;
}
.cta-band .btn {
  font-size: 0.9375rem;
  padding: 14px 36px;
}
.cta-band__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   TABELA DE ESPECIFICAÇÕES TÉCNICAS
   ============================================================ */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}
.specs-table th {
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  padding: 0 24px 14px;
  text-align: left;
  border-bottom: 2px solid var(--color-primary);
}
.specs-table td {
  padding: 20px 24px;
  border-bottom: 1px solid #e4e4e0;
  font-size: 0.9375rem;
  vertical-align: top;
  line-height: 1.6;
}
.specs-table td:first-child {
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  width: 38%;
}
.specs-table td:last-child {
  color: var(--color-text-muted);
}
.specs-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 640px) {
  .specs-table thead { display: none; }
  .specs-table tr    { display: block; padding: 9px 0; border-bottom: 1px solid #e4e4e0; }
  .specs-table td,
  .specs-table tbody td { display: block; padding: 0; border: none; width: 100% !important; }
  .specs-table td:first-child,
  .specs-table tbody td:first-child { font-size: 1rem; margin-bottom: 6px; }
}

/* CTA dentro de feature-card */
.feature-card .btn {
  margin-top: 24px;
  font-size: 0.875rem;
  padding: 10px 24px;
}

/* ============================================================
   SECÇÃO "VEJA COMO..." — banda escura simples
   ============================================================ */
.demo-band {
  background: var(--color-dark-card);
  padding: 56px 0;
  text-align: center;
  border-top: 1px solid var(--color-dark-border);
  border-bottom: 1px solid var(--color-dark-border);
}
.demo-band h2 {
  color: #fff;
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}
.demo-band p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
  font-size: 0.9375rem;
}

/* ============================================================
   CABEÇALHO DE SECÇÃO EM LINHA (heading + botão lado a lado)
   ============================================================ */
.section__header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.section__header--row > div { margin-bottom: 0; }

/* Botão outline na cor primária */
.btn-outline-primary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
  background: var(--color-primary);
  color: #fff;
}

/* ============================================================
   PARCEIROS
   ============================================================ */
.partners {
  padding: 56px 0;
  border-top: 1px solid var(--color-border);
}
.partners__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.partners__logos img {
  height: 30px;
  width: auto;
  filter: grayscale(1) opacity(0.5);
  transition: filter var(--ease);
}
.partners__logos img:hover {
  filter: grayscale(0) opacity(1);
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.footer {
  background: rgba(255, 255, 255, 0.97);
  color: var(--color-text-muted);
  padding: 64px 0 0;
  box-shadow: 0 -1px 0 var(--color-border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}
.footer__logo img {
  height: 42px;
  width: auto;
  margin-bottom: 16px;
}
.footer__tagline {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.footer__brand-logo {
  height: 40px;
  width: auto;
}
.footer__heading {
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  transition: color var(--ease);
}
.footer__links a:hover { color: var(--color-primary); }
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__contact a,
.footer__contact p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  transition: color var(--ease);
  line-height: 1.6;
}
.footer__contact a:hover { color: var(--color-primary); }
.footer__contact-group { margin-bottom: 20px; }
.footer__copy {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.footer__legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-self: flex-start;
}
.footer__legal a {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  transition: color var(--ease);
}
.footer__legal a:hover { color: var(--color-text); }
.footer__dev {
  display: block;
  margin-top: 4px;
  font-size: 0.6875rem;
  color: var(--color-border);
}
.footer__dev a {
  color: var(--color-border);
  transition: color var(--ease);
}
.footer__dev a:hover { color: var(--color-text-muted); }
.footer__bottom {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__bottom-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__funding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.footer__funding img {
  height: 90px;
  width: auto;
}
.footer__funding-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
}
.footer__prr-btn {
  display: inline-block;
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 4px 10px;
  white-space: nowrap;
  transition: color var(--ease), border-color var(--ease);
}
.footer__prr-btn:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

/* ============================================================
   MAPA (Google Maps embed)
   ============================================================ */
.map-wrap {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   CONTACTOS — layout e info
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 16px;
}
.contact-info > p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 40px;
  line-height: 1.7;
}
.contact-info__block { margin-bottom: 28px; }
.contact-info__heading {
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.contact-info__line {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.7;
}
a.contact-info__line:hover { color: var(--color-primary); }

/* Feedback de envio do formulário */
.form-feedback {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-top: 16px;
}
.form-feedback--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form-feedback--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ============================================================
   FORMULÁRIO
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group--full {
  grid-column: 1 / -1;
}
.form-label {
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}
.form-label .required {
  color: var(--color-primary);
  margin-left: 2px;
}
.form-input,
.form-select,
.form-textarea {
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 10px 14px;
  transition: border-color var(--ease), box-shadow var(--ease);
  width: 100%;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(197, 76, 31, 0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-select { appearance: none; }

/* Checkboxes de sensores */
.sensors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.sensor-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  cursor: pointer;
  line-height: 1.5;
}
.sensor-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Honeypot anti-spam */
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* RGPD checkbox */
.form-rgpd {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.form-rgpd input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-rgpd a { color: var(--color-primary); text-decoration: underline; }

/* Toggle formulário simples / proposta */
.form-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}
.form-toggle__btn {
  padding: 9px 20px;
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  background: #fff;
  border: none;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}
.form-toggle__btn.active {
  background: var(--color-primary);
  color: #fff;
}

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.accordion__item {
  border-bottom: 1px solid var(--color-border);
}
.accordion__item:last-child { border-bottom: none; }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  background: #fff;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
  gap: 16px;
}
.accordion__trigger:hover { background: var(--color-bg-soft); }
.accordion__trigger.open { color: var(--color-primary); }
.accordion__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, border-color var(--ease);
}
.accordion__trigger.open .accordion__icon {
  transform: rotate(45deg);
  border-color: var(--color-primary);
}
.accordion__icon svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
}
.accordion__body {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}
.accordion__body.open { display: block; }

/* ============================================================
   ACCORDION — VARIANTE ESPECIFICAÇÕES DE SENSORES
   ============================================================ */
.accordion--specs .accordion__item { background: var(--color-bg); }
.accordion--specs .accordion__body { padding: 0; }
.accordion--specs .accordion__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  flex-shrink: 0;
}
.accordion--specs .accordion__toggle-open   { display: none; }
.accordion--specs .accordion__toggle-closed { display: inline; }
.accordion--specs .accordion__trigger.open .accordion__toggle-open   { display: inline; }
.accordion--specs .accordion__trigger.open .accordion__toggle-closed { display: none; }
.accordion--specs .accordion__chevron {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.accordion--specs .accordion__trigger.open .accordion__chevron { transform: rotate(180deg); }

.accordion__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 24px 24px 32px;
  border-top: 1px solid var(--color-border);
}
.accordion__specs--simple { grid-template-columns: 1fr; }
.accordion__brand {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.accordion__specs-subheading {
  font-size: 0.9375rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin-bottom: 16px;
}
.accordion__spec-section { margin-bottom: 16px; }
.accordion__spec-section:last-of-type { margin-bottom: 0; }
.accordion__spec-label {
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin-bottom: 6px;
}
.accordion__spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.accordion__spec-list li {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
}
.accordion__spec-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.accordion__specs .btn {
  margin-top: 24px;
  font-size: 0.875rem;
  padding: 10px 20px;
}
.accordion__specs-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.accordion__specs-img img {
  max-width: 300px;
  max-height: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.accordion__specs-pending {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-style: italic;
}
@media (max-width: 767px) {
  .accordion__specs             { grid-template-columns: 1fr; gap: 24px; }
  .accordion__specs-img         { order: -1; }
}

/* ============================================================
   MONITORIZAÇÃO — lista dois colunas (sistema.html)
   ============================================================ */
.monitor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  max-width: 860px;
  margin: 0 auto;
}
.monitor-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}
.monitor-item::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ============================================================
   DESTAQUES — 3 colunas (sistema.html)
   ============================================================ */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.highlight-card {
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  transition: box-shadow var(--ease), border-color var(--ease);
}
.highlight-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border-color: rgba(197, 76, 31, 0.25);
}
.highlight-card__icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.highlight-card__icon svg {
  width: 100%;
  height: 100%;
}
.highlight-card__title {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin-bottom: 10px;
}
.highlight-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ============================================================
   PLATAFORMA AmbiDS — galeria de screenshots (sistema.html)
   ============================================================ */
.ambids-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  user-select: none;
}
.ambids-gallery img,
.screens-gallery img { pointer-events: none; }
.ambids-slide {
  display: none;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}
.ambids-slide--active {
  display: block;
}
.ambids-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.ambids-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--ease);
}
.ambids-dot--active {
  background: var(--color-primary);
}

/* ============================================================
   PROCESSAMENTOS — layout sticky (sistema.html)
   ============================================================ */
.modulo-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 72px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}
.modulo-block:first-child { border-top: none; padding-top: 0; }
.modulo-sticky {
  position: sticky;
  top: calc(var(--nav-height) + 40px);
}
.modulo-sticky__label {
  font-size: 0.875rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
}
.modulo-numbered {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}
.modulo-numbered__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--color-border);
}
.modulo-numbered__item:last-child { border-bottom: none; }
.modulo-numbered__num {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: rgba(0, 0, 0, 0.15);
  min-width: 28px;
  flex-shrink: 0;
  padding-top: 2px;
}
.modulo-numbered__text {
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  line-height: 1.55;
}
.modulo-numbered__text--dark {
  color: var(--color-text);
  font-weight: var(--fw-regular);
}
.modulo-chips-title {
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.modulo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.modulo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}
.modulo-chip__check {
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
}

/* ============================================================
   SCREENSHOTS — dispositivos (sistema.html)
   ============================================================ */
.screens-gallery {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.screens-slide {
  display: none;
}
.screens-slide--active {
  display: block;
}
.screenshots-group__label {
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 16px;
}
.screenshots-desktop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.screenshots-mobile {
  display: flex;
  justify-content: center;
  gap: 32px;
}
.screenshots-mobile img {
  max-width: 220px;
  width: 100%;
}
@media (max-width: 640px) {
  .screenshots-mobile {
    gap: 16px;
  }
  .screenshots-mobile img {
    max-width: calc(50% - 8px);
  }
}
.screens-gallery img {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  width: 100%;
}

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.flex  { display: flex; }
.items-center { align-items: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 64px; }

  .features-grid     { grid-template-columns: repeat(2, 1fr); }
  .cases-grid        { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid   { grid-template-columns: repeat(2, 1fr); }
  .split             { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__image { order: 0; }
  .split--reverse .split__text  { order: 0; }
  .footer__grid      { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .nav__menu       { display: none; }
  .nav__hamburger  { display: flex; }
}

@media (max-width: 768px) {
  :root { --section-pad: 48px; }

  .hero--short     { min-height: 42vh; }

  .features-grid   { grid-template-columns: 1fr; }
  .cases-grid      { grid-template-columns: 1fr; }
  .form-grid       { grid-template-columns: 1fr; }
  .sensors-grid    { grid-template-columns: 1fr; }
  .footer__grid    { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer__logo img { margin: 0 auto 16px; }
  .footer__brand   { justify-content: center; }
  .footer__links   { align-items: center; }
  .footer__contact { align-items: center; }
  .footer__bottom-row { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .footer__legal   { flex-wrap: wrap; gap: 10px; justify-content: center; }
  .footer__funding img { height: auto; max-width: 100%; }

  .monitor-grid    { grid-template-columns: 1fr; gap: 0; }
  .highlights-grid { grid-template-columns: 1fr; }
  .modulo-block    { grid-template-columns: 1fr; gap: 20px 0; }
  .modulo-sticky   { position: static; }

  .case-block             { grid-template-columns: 1fr; }
  .case-block__image      { order: -1; }
  .case-block__text       { padding: 32px 0 0; }

  .case-tabs              { grid-template-columns: 1fr; }
  .case-tabs__nav         { border-right: none; border-bottom: 1px solid var(--color-border); }
  .case-gallery           { grid-template-columns: 1fr; }
  .case-gallery__item img { height: 260px; }
  .case-stations          { grid-template-columns: 1fr; }
  .case-station__slide img { aspect-ratio: 3 / 4; height: auto; }
  .case-station__prev,
  .case-station__next     { opacity: 0.7; }

  .partners__logos { gap: 28px; }
  .partners__logos img { height: 22px; }

  .cta-band { padding: 56px 0; }

  .form-toggle { width: 100%; }
  .form-toggle__btn { flex: 1; text-align: center; }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .map-wrap { height: 300px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .feature-card { padding: 28px 22px; }
  .case-card__body { padding: 16px 18px 20px; }
}

/* ============================================================
   BARRA DE COOKIES
   ============================================================ */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
}
.cookie-bar__text {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}
.cookie-bar__text a {
  color: var(--color-primary);
  text-decoration: underline;
}
.cookie-bar__btn {
  flex-shrink: 0;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 24px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--ease);
}
.cookie-bar__btn:hover { opacity: 0.85; }
@media (max-width: 600px) {
  .cookie-bar { flex-direction: column; align-items: flex-start; padding: 16px 20px; }
  .cookie-bar__btn { width: 100%; text-align: center; }
}
