/* Aviação Santa Bárbara — site público
   Paleta tirada do emblema (anel verde-mata, estrelas douradas, helicópteros marinho)
   e do vídeo (lavoura de soja ao entardecer). */

/* Fontes em arquivos estáticos (um por peso): funcionam até em navegadores sem suporte a fontes variáveis. */
@font-face {
  font-family: "Hepta Slab";
  src: url("../assets/fonts/hepta-slab-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hepta Slab";
  src: url("../assets/fonts/hepta-slab-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-symbols.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+2248;
}
/* Reservas com métricas próximas, para a troca de fonte não empurrar o texto. */
@font-face {
  font-family: "Hepta Slab Reserva";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 112%;
  ascent-override: 92%;
  descent-override: 24%;
}
@font-face {
  font-family: "Archivo Reserva";
  src: local("Arial"), local("Helvetica"), local("Roboto");
  size-adjust: 98%;
  ascent-override: 90%;
  descent-override: 22%;
}

:root {
  --noite: #0d1610;
  --noite-2: #111d14;
  --noite-3: #08100a;
  --mata: #163a22;
  --mata-2: #1f4a2d;
  --palha: #efe7d4;
  --palha-2: #d4ccb8;
  --palha-3: #a9ab97;
  --papel: #efe7d4;
  --papel-2: #e4d9bf;
  --tinta: #13261a;
  --tinta-2: #4b5948;
  --dourado: #e8b931;
  --dourado-2: #f4cd55;
  --marinho: #1e2b5c;
  --marinho-2: #2a3a74;
  --soja: #7aa64a;
  --soja-tinta: #2f5d1a;
  --linha: rgba(239, 231, 212, 0.14);
  --linha-forte: rgba(239, 231, 212, 0.3);

  --f-display: "Hepta Slab", "Hepta Slab Reserva", Georgia, serif;
  --f-text: "Archivo", "Archivo Reserva", Arial, sans-serif;

  --fs-small: 0.875rem;
  --fs-body: clamp(1rem, 0.965rem + 0.18vw, 1.0625rem);
  --fs-lede: clamp(1.125rem, 1.03rem + 0.45vw, 1.375rem);
  --fs-h3: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
  --fs-display: clamp(2.125rem, 1.35rem + 3.3vw, 3.75rem);
  --fs-hero: clamp(2.6rem, 0.9rem + 7.6vw, 6rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --pad-l: max(var(--gutter), env(safe-area-inset-left));
  --pad-r: max(var(--gutter), env(safe-area-inset-right));
  --section: clamp(4rem, 2.8rem + 5.5vw, 8.5rem);
  --topbar-h: 4rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --radius: 6px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--safe-top));
  background: var(--noite);
  scrollbar-color: #2e5238 var(--noite-3);
}
html.nav-open { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--noite);
  color: var(--palha);
  font-family: var(--f-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--dourado);
  overflow-x: clip;
}

::selection { background: var(--dourado); color: var(--noite); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--noite-3); }
::-webkit-scrollbar-thumb { background: #2e5238; border-radius: 8px; border: 3px solid var(--noite-3); }
::-webkit-scrollbar-thumb:hover { background: #3c6a48; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
p, h1, h2, h3, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

:focus-visible {
  outline: 3px solid var(--dourado);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  left: var(--pad-l);
  top: calc(var(--safe-top) + 0.5rem);
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--dourado);
  color: var(--noite);
  font-weight: 600;
  border-radius: var(--radius);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(78rem + var(--pad-l) + var(--pad-r));
  margin-inline: auto;
  padding-left: var(--pad-l);
  padding-right: var(--pad-r);
}

.icon { flex: none; }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -0.012em;
}
.h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--f-text);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.15;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0.85rem 1.45rem; font-size: 1.0625rem; }
.btn--gold { background: var(--dourado); color: #111a10; }
.btn--gold:hover { background: var(--dourado-2); }
.btn--gold:focus-visible { outline-color: var(--palha); }
.btn--line { border-color: var(--linha-forte); color: var(--palha); background: transparent; }
.btn--line:hover { border-color: var(--palha); background: rgba(239, 231, 212, 0.06); }

/* ---------- Barra superior e menu ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: var(--safe-top);
  background: rgba(13, 22, 16, 0.94);
  border-bottom: 1px solid var(--linha);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: var(--topbar-h);
  max-width: calc(78rem + var(--pad-l) + var(--pad-r));
  margin-inline: auto;
  padding-left: var(--pad-l);
  padding-right: var(--pad-r);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  margin-right: auto;
  color: var(--palha);
  text-decoration: none;
}
.brand__mark img { width: 40px; height: 40px; }
.brand__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.02;
  letter-spacing: 0.01em;
}
.brand__name span { display: block; }

.nav__list { display: flex; }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--palha-2);
  text-decoration: none;
  font-weight: 500;
}
.nav__link:hover { color: var(--palha); }
.nav__link[aria-current] {
  color: var(--palha);
  text-decoration: underline;
  text-decoration-color: var(--dourado);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.55em;
}

.topbar__wa { min-height: 44px; padding: 0.55rem 1rem; font-size: 0.9375rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.75rem 0 0.6rem;
  background: transparent;
  border: 1px solid var(--linha-forte);
  border-radius: var(--radius);
  color: var(--palha);
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
.nav-toggle svg { display: block; }

@media (min-width: 1100px) {
  .nav { display: flex; align-items: center; }
  .nav__list { gap: clamp(1.1rem, 0.2rem + 1.4vw, 1.9rem); }
  .nav__link { font-size: 0.9375rem; }
  .nav__extra { display: none; }
  .topbar__wa { margin-left: 1rem; }
}

@media (max-width: 1099.98px) {
  .nav-toggle { display: inline-flex; }
  .topbar__wa { padding: 0; width: 44px; }
  .topbar__wa span { display: none; }
  .nav {
    position: fixed;
    top: calc(var(--topbar-h) + var(--safe-top));
    left: 0;
    right: 0;
    height: calc(100vh - var(--topbar-h) - var(--safe-top));
    height: calc(100dvh - var(--topbar-h) - var(--safe-top));
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem var(--pad-r) calc(1.5rem + env(safe-area-inset-bottom)) var(--pad-l);
    background: var(--noite);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.75rem);
    transition: opacity 0.22s var(--ease-out), transform 0.32s var(--ease-out), visibility 0s linear 0.32s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.22s var(--ease-out), transform 0.32s var(--ease-out), visibility 0s;
  }
  .nav__list { flex-direction: column; }
  .nav__list li { border-bottom: 1px solid var(--linha); }
  .nav__link {
    width: 100%;
    min-height: 3.6rem;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
    color: var(--palha);
  }
  .nav__link[aria-current] { text-underline-offset: 0.3em; }
  .nav__extra { display: flex; flex-direction: column; gap: 0.75rem; margin-top: auto; }
  .nav__extra .btn { width: 100%; min-height: 56px; }
}
@media (max-width: 1099.98px) and (max-height: 520px) {
  .nav { gap: 1rem; }
  .nav__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .nav__link { min-height: 3rem; font-size: 1.3rem; }
  .nav__extra { flex-direction: row; }
  .nav__extra .btn { width: auto; flex: 1; min-height: 48px; }
}
@media (max-width: 379.98px) {
  .nav-toggle { padding: 0; width: 44px; justify-content: center; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand__name { font-size: 0.875rem; }
}

/* ---------- Abertura (vídeo) ---------- */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: #39472b;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__poster,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}
.hero__video { opacity: 0; transition: opacity 0.9s ease; }
.hero__video.is-playing { opacity: 1; }
/* Sombra só embaixo, onde o texto fica; o céu continua limpo. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--noite) 0%, rgba(13, 22, 16, 0.78) 24%, rgba(13, 22, 16, 0.35) 46%, rgba(13, 22, 16, 0) 64%);
  pointer-events: none;
}
.hero__body {
  padding-top: calc(var(--topbar-h) + var(--safe-top) + 3rem);
  padding-bottom: clamp(2.5rem, 1rem + 6vh, 5rem);
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-hero);
  line-height: 0.96;
  letter-spacing: -0.018em;
  color: var(--palha);
  text-shadow: 0 2px 24px rgba(8, 14, 10, 0.4);
}
.hero__line { display: block; }
.hero__lead {
  max-width: 38ch;
  margin-top: 1.25rem;
  font-size: var(--fs-lede);
  line-height: 1.5;
  color: #f4eedf;
  text-shadow: 0 1px 12px rgba(8, 14, 10, 0.55);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}
.hero__link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 600;
  color: var(--palha);
  text-decoration: underline;
  text-decoration-color: var(--dourado);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
}
.hero__link:hover { text-decoration-color: var(--palha); }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--linha-forte);
  max-width: 44rem;
  font-size: 0.9375rem;
  color: var(--palha-2);
}
.hero__toggle {
  position: absolute;
  right: var(--pad-r);
  bottom: calc(1rem + env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--linha-forte);
  background: rgba(13, 22, 16, 0.55);
  color: var(--palha);
}
.hero__toggle-play { display: none; }
.hero__toggle[aria-pressed="true"] .hero__toggle-pause { display: none; }
.hero__toggle[aria-pressed="true"] .hero__toggle-play { display: block; }

/* Entrada única: o nome sobe de dentro da própria linha. */
@media (prefers-reduced-motion: no-preference) {
  .hero__line {
    animation: line-in 1s var(--ease-out) both;
    animation-delay: 0.1s;
  }
  .hero__line + .hero__line { animation-delay: 0.22s; }
  /* Frase, botões e fatos ficam visíveis desde o primeiro quadro: o orçamento não espera a animação. */
}
@keyframes line-in {
  from { clip-path: inset(-1em -1em 100% -1em); transform: translateY(0.45em); }
  to { clip-path: inset(-1em -1em -1em -1em); transform: none; }
}

@media (min-width: 1024px) {
  .hero__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 26rem);
    column-gap: clamp(2rem, 1rem + 3vw, 4.5rem);
    align-items: end;
  }
  .hero__title { font-size: clamp(3.25rem, 1rem + 4.2vw, 5.5rem); }
  .hero__line { white-space: nowrap; }
  .hero__aside { padding-bottom: 0.35rem; }
  .hero__lead { margin-top: 0; font-size: 1.1875rem; }
  .hero__actions { margin-top: 1.5rem; }
  .hero__facts { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 599.98px) {
  .hero::after {
    background: linear-gradient(to top, var(--noite) 0%, rgba(13, 22, 16, 0.82) 34%, rgba(13, 22, 16, 0.4) 58%, rgba(13, 22, 16, 0) 76%);
  }
  /* o nome começa abaixo da faixa de céu do vídeo (≈ 1/4 da altura) */
  .hero__body { padding-top: calc(var(--topbar-h) + var(--safe-top) + 9.5rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__link { margin-inline: auto; }
  .hero__facts { flex-direction: column; margin-top: 1.5rem; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero__title { font-size: clamp(2.2rem, 7vh + 1rem, 3.2rem); }
  .hero__body { padding-top: calc(var(--topbar-h) + var(--safe-top) + 1.5rem); padding-bottom: 1.5rem; }
  .hero__lead { max-width: 52ch; margin-top: 0.75rem; font-size: 1rem; }
  .hero__actions { margin-top: 1rem; }
  .hero__facts { display: none; }
  .hero::after {
    background: linear-gradient(to top, var(--noite) 0%, rgba(13, 22, 16, 0.8) 40%, rgba(13, 22, 16, 0.2) 80%);
  }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section); }

.photo-frame { overflow: hidden; border-radius: 4px; background: var(--noite-2); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* A empresa */
.about__grid { display: grid; gap: 2.5rem; }
.about__story { font-size: var(--fs-lede); line-height: 1.55; max-width: 36em; color: var(--palha); }
.about__values p,
.about__audience p { max-width: 34em; color: var(--palha-2); }
.about__figure { aspect-ratio: 4 / 3; }
.star-list { display: grid; gap: 0.65rem; margin-top: 1.4rem; }
.star-list li { display: flex; gap: 0.75rem; align-items: baseline; font-weight: 500; }
.star-list__star { color: var(--dourado); transform: translateY(0.12em); }

@media (min-width: 1200px) {
  .about__grid:not(.has-image) .about__values { grid-column: 6 / span 4; grid-row: 2; }
  .about__grid:not(.has-image) .about__audience { grid-column: 10 / -1; grid-row: 2; }
}
@media (min-width: 960px) {
  .about__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: clamp(3rem, 2rem + 3vw, 5rem);
  }
  /* Sem foto: o título segura a coluna da esquerda; história, valores e público formam um bloco só à direita. */
  .about__title { grid-column: 1 / span 5; grid-row: 1 / span 3; align-self: start; }
  .about__story { grid-column: 6 / -1; grid-row: 1; padding-top: 0.6rem; }
  .about__values,
  .about__audience { grid-column: 6 / -1; padding-top: 2rem; border-top: 1px solid var(--linha); }
  .about__values { grid-row: 2; }
  .about__audience { grid-row: 3; }
  .about__grid.has-image .about__title { grid-row: 1; }
  .about__grid:not(.has-image) { row-gap: 2.5rem; }
  .about__grid:not(.has-image) .about__title { position: sticky; top: calc(var(--topbar-h) + var(--safe-top) + 2rem); }
  .about__grid.has-image .about__values,
  .about__grid.has-image .about__audience { padding-top: 0; border-top: 0; }
  .about__grid.has-image .about__figure { grid-column: 1 / span 6; grid-row: 2 / span 2; aspect-ratio: auto; min-height: 22rem; }
  .about__grid.has-image .about__values { grid-column: 8 / -1; grid-row: 2; }
  .about__grid.has-image .about__audience { grid-column: 8 / -1; grid-row: 3; }
}

/* Serviços */
.services { background: var(--noite); border-top: 1px solid var(--linha); }
.services__head { display: grid; gap: 1.5rem 2rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.services__intro { margin-top: 1.1rem; max-width: 40em; font-size: var(--fs-lede); line-height: 1.5; color: var(--palha-2); }
.services__figure { aspect-ratio: 3 / 2; }
.services__list { border-top: 1px solid var(--linha-forte); }
.service {
  display: grid;
  gap: 0.6rem 2rem;
  padding-block: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  border-bottom: 1px solid var(--linha);
}
.service__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem);
  line-height: 1.15;
}
.service--main .service__title { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); font-weight: 800; }
.service__text { max-width: 38em; color: var(--palha-2); }
.service--main .service__text { color: var(--palha); font-size: var(--fs-lede); line-height: 1.5; }
.service__more {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--dourado);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}
.service__more:hover { color: var(--dourado-2); }

@media (min-width: 860px) {
  .services__head.has-image { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .service { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: baseline; }
  .service__text, .service__more { grid-column: 2; }
}

/* Operação — faixa verde-mata */
.ops { background: var(--mata); }
.ops__grid { display: grid; gap: 2.5rem; }
.ops__intro p { margin-top: 1.25rem; max-width: 34em; font-size: var(--fs-lede); line-height: 1.5; color: #e6dfcb; }
.ops__figure { margin-top: 2rem; aspect-ratio: 4 / 3; background: var(--mata-2); }
.steps { counter-reset: none; }
.steps__item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(239, 231, 212, 0.2);
}
.steps__item:last-child { border-bottom: 1px solid rgba(239, 231, 212, 0.2); }
.steps__n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  line-height: 0.9;
  color: var(--dourado);
  font-variant-numeric: lining-nums;
}
.steps__item p { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; max-width: 34em; }

@media (min-width: 960px) {
  .ops__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; }
  .ops__intro { grid-column: 1 / span 5; align-self: start; position: sticky; top: calc(var(--topbar-h) + var(--safe-top) + 2rem); }
  .steps { grid-column: 7 / -1; }
  .steps__item { grid-template-columns: 4.5rem minmax(0, 1fr); }
}

/* Precisão — a ficha de aplicação */
.precision__grid { display: grid; gap: 2.5rem; }
.precision__text p { margin-top: 1.25rem; max-width: 30em; font-size: var(--fs-lede); line-height: 1.5; color: var(--palha-2); }

.sheet {
  --focus: var(--tinta);
  background: var(--papel);
  color: var(--tinta);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 28px 60px -22px rgba(0, 0, 0, 0.75), 0 2px 6px rgba(0, 0, 0, 0.25);
  font-variant-numeric: lining-nums tabular-nums;
}
.sheet ::selection { background: var(--mata); color: var(--papel); }
.sheet__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 0.6rem + 1.6vw, 1.75rem);
  background: var(--mata);
  color: var(--palha);
}
.sheet__logo img { width: 52px; height: 52px; }
.sheet__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  line-height: 1.1;
}
.sheet__org { margin-top: 0.2rem; font-size: 0.875rem; color: var(--palha-2); }
.sheet__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 3rem;
  padding: 1.1rem clamp(1rem, 0.6rem + 1.6vw, 1.75rem);
  border-bottom: 1px solid rgba(19, 38, 26, 0.16);
}
.sheet dt,
.sheet__label,
.sheet__table tbody th {
  font-family: var(--f-text);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--tinta-2);
}
.sheet__meta dd {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
}
.sheet__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.sheet__table th,
.sheet__table td { padding: 0.8rem clamp(1rem, 0.6rem + 1.6vw, 1.75rem); vertical-align: baseline; }
.sheet__table thead th {
  padding-top: 1.35rem;
  padding-bottom: 0.65rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  border-bottom: 2px solid var(--tinta);
}
.sheet__table thead .sheet__corner { border-bottom: 2px solid var(--tinta); }
.sheet__table tbody tr { border-bottom: 1px solid rgba(19, 38, 26, 0.14); }
.sheet__table tbody th { width: 34%; font-weight: 500; }
.sheet__table tbody td {
  font-weight: 600;
  font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.sheet__table tbody tr.is-quality td { color: var(--soja-tinta); font-weight: 700; }
.sheet__none { color: rgba(19, 38, 26, 0.35); font-weight: 400; }
.sheet__table tfoot td {
  padding-top: 0.85rem;
  padding-bottom: 1.15rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--tinta-2);
  vertical-align: top;
}
.sheet__conditions {
  padding: 1.1rem clamp(1rem, 0.6rem + 1.6vw, 1.75rem) 1.2rem;
  background: var(--papel-2);
}
.sheet__label { margin-bottom: 0.7rem; }
.sheet__conditions ul { display: flex; flex-wrap: wrap; gap: 0.7rem 2rem; }
.sheet__conditions li { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 600; text-wrap: balance; }
.sheet__conditions svg,
.sheet__note svg { color: var(--mata); }
.sheet__note {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem clamp(1rem, 0.6rem + 1.6vw, 1.75rem) 0.35rem;
  font-size: 0.9375rem;
  color: var(--tinta);
}
.sheet__legend {
  padding: 0.35rem clamp(1rem, 0.6rem + 1.6vw, 1.75rem) 1.1rem;
  font-size: 0.8125rem;
  color: var(--tinta-2);
}

@media (min-width: 1024px) {
  .precision__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; align-items: start; }
  .precision__text { grid-column: 1 / span 4; position: sticky; top: calc(var(--topbar-h) + var(--safe-top) + 2rem); }
  .sheet { grid-column: 5 / -1; }
}

/* Celular estreito: o nome da linha vai para cima dos dois valores. */
@media (max-width: 559.98px) {
  .sheet__table thead tr,
  .sheet__table tbody tr,
  .sheet__table tfoot tr { display: grid; grid-template-columns: 1fr 1fr; }
  .sheet__table .sheet__corner { display: none; }
  .sheet__table tbody th { grid-column: 1 / -1; width: auto; padding-bottom: 0; }
  .sheet__table tbody td { padding-top: 0.3rem; }
  .sheet__table th,
  .sheet__table td { padding-left: 1rem; padding-right: 0.5rem; }
}

/* Alcance — faixa marinho */
.area { background: var(--marinho); }
.area__head { display: grid; gap: 1rem 2rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.area__head p { max-width: 32em; font-size: var(--fs-lede); line-height: 1.5; color: #dcd8cf; }
.cities {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.7em;
  row-gap: 0.15em;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.375rem, 0.95rem + 2.1vw, 2.625rem);
  line-height: 1.3;
}
.cities__item { display: inline-flex; align-items: baseline; gap: 0.7em; }
.cities__item + .cities__item::before {
  content: "";
  width: 0.36em;
  height: 0.36em;
  flex: none;
  align-self: center;
  background: var(--dourado);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.7 5.6 6.1.8-4.5 4.2 1.1 6.1L12 16.6l-5.4 2.9 1.1-6.1-4.5-4.2 6.1-.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.7 5.6 6.1.8-4.5 4.2 1.1 6.1L12 16.6l-5.4 2.9 1.1-6.1-4.5-4.2 6.1-.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cities__item.is-base { color: var(--dourado); }
.cities__tag {
  align-self: center;
  padding: 0.2rem 0.55rem 0.25rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--f-text);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1;
  letter-spacing: 0.02em;
}
@media (min-width: 860px) {
  .area__head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; }
}

/* Faixa de fotos */
.strip { padding-bottom: calc(var(--section) * 0.8); }
.strip__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
}
.strip__head p { margin-top: 1rem; max-width: 36em; color: var(--palha-2); }
.strip__list {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad-l);
  padding: 0 var(--pad-r) 1rem var(--pad-l);
  scrollbar-width: thin;
}
.strip__list:focus-visible { outline-offset: -3px; }
.strip__item {
  flex: none;
  height: clamp(13rem, 9rem + 14vw, 20rem);
  aspect-ratio: var(--r, 1.5);
  max-width: 86vw;
  scroll-snap-align: start;
}
.strip__item a { display: block; height: 100%; border-radius: 4px; overflow: hidden; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
@media (hover: hover) {
  .strip__item a:hover img { transform: scale(1.03); }
}
@media (min-width: 1360px) {
  .strip__list { padding-left: calc((100vw - 78rem) / 2); scroll-padding-inline: calc((100vw - 78rem) / 2); }
}

/* Contato */
.contact { background: var(--noite-2); border-top: 1px solid var(--linha); }
.contact__grid { display: grid; gap: 2.5rem; }
.contact__head p { margin-top: 1.1rem; max-width: 34em; font-size: var(--fs-lede); line-height: 1.5; color: var(--palha-2); }

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.45rem; min-width: 0; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field__opt { font-weight: 400; color: var(--palha-3); }
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 0.95rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--palha);
  background: var(--noite-3);
  border: 1px solid rgba(239, 231, 212, 0.3);
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field input[type="date"] { color-scheme: dark; display: block; min-width: 0; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8d9786; opacity: 1; }
.field input:hover,
.field textarea:hover { border-color: rgba(239, 231, 212, 0.5); }
.field input:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--dourado); outline-offset: 1px; border-color: var(--dourado); border-radius: var(--radius); }
.field [aria-invalid="true"] { border-color: #f0937a; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 0.25rem; }
.form__note { font-size: var(--fs-small); color: var(--palha-3); max-width: 28em; }
.form__status { min-height: 1.5em; font-weight: 600; color: var(--palha); }
.form__status.is-error { color: #f6a58f; }

.contact__aside p { max-width: 30em; color: var(--palha-2); }
.contact__list { display: grid; gap: 1rem; margin-top: 1.6rem; }
.contact__list dt { font-size: var(--fs-small); color: var(--palha-3); }
.contact__list dd { font-weight: 600; overflow-wrap: anywhere; }
.contact__list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--palha); text-decoration-color: var(--dourado); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.contact__list a:hover { color: var(--dourado-2); }

@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 3rem; }
  .contact__head { grid-column: 1 / span 7; }
  .form { grid-column: 1 / span 7; }
  .contact__aside { grid-column: 9 / -1; grid-row: 2; padding-top: 0.25rem; }
}
@media (max-width: 639.98px) {
  .form__foot .btn { width: 100%; }
}

/* ---------- Rodapé ---------- */
.footer {
  background: var(--noite-3);
  border-top: 1px solid var(--linha);
  padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0 calc(1.5rem + env(safe-area-inset-bottom));
  font-size: 0.9375rem;
  color: var(--palha-2);
}
.footer__inner {
  display: grid;
  gap: 2rem;
  max-width: calc(78rem + var(--pad-l) + var(--pad-r));
  margin-inline: auto;
  padding-left: var(--pad-l);
  padding-right: var(--pad-r);
}
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__mark img { width: 72px; height: 72px; }
.footer__name { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; color: var(--palha); line-height: 1.2; }
.footer__place { margin-top: 0.2rem; }
.footer__contact,
.footer__links { display: grid; gap: 0.15rem; align-content: start; }
.footer__contact a,
.footer__links a,
.footer__install {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--palha);
  text-decoration: none;
}
.footer__contact a:hover,
.footer__links a:hover { text-decoration: underline; text-decoration-color: var(--dourado); text-underline-offset: 0.3em; }
.footer__contact svg { color: var(--dourado); }
.footer__domain { display: inline-flex; min-height: 44px; align-items: center; color: var(--palha-3); }
.footer__install {
  padding: 0 0.9rem;
  border: 1px solid var(--linha-forte);
  border-radius: var(--radius);
  background: transparent;
  font-weight: 600;
}
.footer__install:hover { border-color: var(--palha); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linha);
  font-size: var(--fs-small);
  color: var(--palha-3);
}
.footer__base strong { color: var(--palha-2); font-weight: 600; }
.footer__admin { display: inline-flex; align-items: center; min-height: 44px; color: var(--palha-3); }
.footer__admin:hover { color: var(--palha); }
@media (min-width: 900px) {
  .footer__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); }
  .footer__base { grid-column: 1 / -1; }
  .footer__base p:last-child { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media print {
  .topbar, .hero__media, .hero__toggle, .form, .footer__install, .nav-toggle, .skip-link, .pwa-invite, .gallery-strip { display: none !important; }
  html, body, main, section, .hero, .ops, .area, .contact, .footer { background: #fff !important; color: #000 !important; min-height: 0 !important; height: auto !important; }
  .hero { padding: 0 0 1rem !important; }
  .hero::after, .hero::before { display: none !important; }
  p, li, dd, dt, td, th, .h3, h1, h2, h3, a { color: #000 !important; text-shadow: none !important; }
  .sheet, table, tr, .contact__aside { break-inside: avoid; page-break-inside: avoid; }
  a[href^="tel:"]::after, a[href^="mailto:"]::after { content: none; }
}

/* Orçamento: alternativa quando o WhatsApp não abre (tablet/computador) */
.form__fallback p { margin: 0 0 0.6rem; }
.form__fallback-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.form__fallback-actions .btn { min-height: 44px; }

/* Textos editados pelo painel nunca cortam nem empurram a página para os lados */
.hero__line { white-space: normal; }
.hero__title { overflow-wrap: anywhere; text-wrap: balance; }
.sheet__table { table-layout: fixed; width: 100%; }
.sheet__table th, .sheet__table td { overflow-wrap: anywhere; }
.sheet__table tbody td { white-space: normal; }
.topbar__inner > * { min-width: 0; }
/* Rodapé: e-mail longo quebra a linha em vez de alargar a página (fonte grande no celular) */
.footer__inner { grid-template-columns: minmax(0, 1fr); }
.footer__inner > * { min-width: 0; }
.footer__contact a, .footer__contact span, .contact__list dd { overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .footer__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); }
}
