/* Final visual polish: preserves the established visual system. */
.menu .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.success-message{margin:18px 0;color:#0d673a;font-weight:700}.contact-list{display:grid;gap:12px;margin:24px 0}.contact-list p{margin:0;display:grid;gap:2px}.contact-list a{color:var(--green);font-weight:700;text-decoration:none}.contact-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.button.ghost{background:transparent;color:var(--green);border:1px solid currentColor}.button:disabled{opacity:.7;cursor:wait}

.brand {
  cursor: default;
}

.footer img {
  filter: none;
  background: transparent;
}

.footer p {
  color: #d4e2d6;
}

.mascot img {
  mix-blend-mode: multiply;
}

@media (min-width: 781px) {
  .brand img {
    width: 138px;
    height: 64px;
  }

  .header {
    height: 82px;
  }

  body:has(.hero) .hero {
    padding: 60px 0 64px;
  }

  body:has(.hero) .hero-image {
    height: 435px;
  }

  body:has(.hero) .section {
    padding-block: 70px;
  }

  body:has(.hero) .cta {
    padding-block: 70px;
  }

  body:has(#quoteForm) .page-hero {
    padding: 54px 0 30px;
  }

  body:has(#quoteForm) .section {
    padding: 52px 0 74px;
  }
}

.map {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(16, 52, 31, .10);
  background: linear-gradient(145deg, #fff 0%, #f6faf6 100%);
}

.map svg,
.territory-map {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 12px rgba(14, 63, 34, .10));
}

.region,
.feature-list .value {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.region:hover,
.feature-list .value:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(16, 52, 31, .09);
  border-color: #82b992;
}

body:has(#quoteForm) .form {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(16, 52, 31, .10);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 780px) {
  .hero-image {
    order: initial;
  }

  body:has(#quoteForm) .page-hero {
    padding: 46px 0 28px;
  }

  body:has(#quoteForm) .section {
    padding: 38px 0 58px;
  }

  .map {
    border-radius: 7px;
    box-shadow: 0 12px 30px rgba(16, 52, 31, .09);
  }
}

/* Vintage-modern proposal: intentionally scoped to the Home route only. */
.home-vintage {
  --vintage-green: #173d2b;
  --vintage-cream: #f3ebdd;
  --vintage-sand: #d8c6a8;
  --vintage-copper: #a96d43;
  --vintage-charcoal: #242820;
  background: var(--vintage-cream);
  color: var(--vintage-charcoal);
}

.home-vintage h1,
.home-vintage h2,
.home-vintage h3 {
  color: var(--vintage-green);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -.045em;
}

.home-vintage .eyebrow,
.home-vintage-kicker {
  color: var(--vintage-copper);
}

.home-vintage-kicker {
  margin: 0 0 14px;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-vintage .button {
  border-radius: 999px;
  background: var(--vintage-green);
  border-color: var(--vintage-green);
  box-shadow: 4px 4px 0 var(--vintage-copper);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.home-vintage .button:hover {
  background: #0e2e20;
  border-color: #0e2e20;
  box-shadow: 2px 2px 0 var(--vintage-copper);
  transform: translate(2px, 2px);
}

.home-vintage-hero {
  position: relative;
  isolation: isolate;
  padding: 64px 0 68px;
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 13%, rgba(169,109,67,.18) 0 1px, transparent 1.5px) 0 0/13px 13px,
    linear-gradient(112deg, #f3ebdd 0%, #f3ebdd 54%, #d8c6a8 54%, #d8c6a8 100%);
}

.home-vintage-hero::after {
  content: 'VALGG';
  position: absolute;
  right: -20px;
  bottom: -70px;
  z-index: -1;
  color: rgba(23,61,43,.07);
  font: 900 clamp(8rem, 22vw, 20rem)/1 Georgia, serif;
  letter-spacing: -.1em;
}

.home-vintage-copy { padding: 8px 0; }
.home-vintage-copy h1 { max-width: 630px; font-size: clamp(3.1rem, 6vw, 5.7rem); }
.home-vintage-copy > p:not(.home-vintage-kicker) { max-width: 520px; color: #4d554a; }

.home-vintage-frame {
  height: 450px;
  padding: 12px;
  background: var(--vintage-cream);
  border: 1px solid rgba(36,40,32,.32);
  border-radius: 0;
  box-shadow: 13px 13px 0 rgba(23,61,43,.92), 22px 22px 0 rgba(169,109,67,.35);
  transform: rotate(1.25deg);
}

.home-vintage-frame img {
  border-radius: 0;
  filter: saturate(.82) contrast(.98) sepia(.08);
}

.home-vintage-frame::after { display: none; }

.home-vintage-stats { padding: 0; background: var(--vintage-green); }
.home-vintage-stats .stats { border-color: rgba(243,235,221,.22); }
.home-vintage-stats .stat { color: #f3ebdd; border-color: rgba(243,235,221,.22); padding: 31px 28px; }
.home-vintage-stats .stat strong { color: #e7dcc5; font-family: Georgia, serif; }

.home-vintage-transport { background: #f8f3ea; }
.home-vintage-transport .split { gap: 86px; }
.home-vintage-photo { position: relative; margin: 0; padding: 10px; background: #fffaf0; border: 1px solid var(--vintage-sand); transform: rotate(-1.4deg); box-shadow: 10px 12px 0 rgba(169,109,67,.28); }
.home-vintage-photo .photo { height: 420px; border-radius: 0; filter: saturate(.82) sepia(.09); }
.home-vintage-photo figcaption { margin-top: 10px; color: var(--vintage-copper); font: italic .92rem Georgia, serif; text-align: right; }
.home-vintage .link-arrow { color: var(--vintage-green); text-decoration: underline; text-decoration-color: var(--vintage-copper); text-underline-offset: 5px; }

.home-vintage-regions { background: var(--vintage-sand); }
.home-vintage-region-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 68px; align-items: center; }
.home-vintage-map { position: relative; padding: 13px; background: var(--vintage-cream); border: 1px solid rgba(23,61,43,.25); box-shadow: -12px 12px 0 var(--vintage-green); }
.home-vintage-map::before { content: 'ÁREAS ATENDIDAS'; position: absolute; top: 22px; left: -20px; z-index: 1; padding: 6px 10px; background: var(--vintage-copper); color: var(--vintage-cream); font-size: .68rem; font-weight: 800; letter-spacing: .1em; transform: rotate(-90deg) translateX(-100%); transform-origin: top left; }
.home-vintage-map img { display: block; width: 100%; height: auto; filter: sepia(.09) saturate(.82) hue-rotate(10deg); }
.home-vintage .region-grid { gap: 0; border: 1px solid rgba(23,61,43,.24); }
.home-vintage .region { border: 0; border-right: 1px solid rgba(23,61,43,.24); border-top: 5px solid var(--vintage-green); background: rgba(243,235,221,.7); color: var(--vintage-green); }
.home-vintage .region:last-child { border-right: 0; }

.home-vintage-values { background: #f8f3ea; }
.home-vintage-values .values { counter-reset: value; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--vintage-sand); border-bottom: 1px solid var(--vintage-sand); }
.home-vintage-values .value { min-height: 178px; padding: 24px 20px; border: 0; border-right: 1px solid var(--vintage-sand); background: transparent; }
.home-vintage-values .value:last-child { border-right: 0; }
.home-vintage-values .value { counter-increment: value; }
.home-vintage-values .value h3::before { content: '0' counter(value) ' /'; display: block; margin-bottom: 13px; color: var(--vintage-copper); font: 800 .72rem/1.1 Arial, sans-serif; letter-spacing: .11em; }
.home-vintage-values .value h3 { min-height: 2.25em; }

.home-vintage-mascot { position: relative; overflow: hidden; background: #e8dfce; }
.home-vintage-mascot::before { content: ''; position: absolute; inset: 20px; border: 1px solid rgba(169,109,67,.45); pointer-events: none; }
.home-vintage-mascot .mascot { position: relative; }
.home-vintage-mascot .mascot img { max-height: 330px; padding: 10px; background: #f7f0e4; border-radius: 50% 50% 4px 4px; box-shadow: 7px 8px 0 var(--vintage-copper); mix-blend-mode: normal; }

.home-vintage-cta { background: var(--vintage-charcoal); position: relative; overflow: hidden; }
.home-vintage-cta::before { content: ''; position: absolute; inset: 0; opacity: .45; background: repeating-linear-gradient(135deg, transparent 0 11px, rgba(216,198,168,.11) 11px 12px); }
.home-vintage-cta .container { position: relative; }
.home-vintage-cta h2 { color: #f3ebdd; }
.home-vintage-cta p { color: #d8c6a8; }

@media (max-width: 780px) {
  .home-vintage-hero { padding: 38px 0 44px; background: linear-gradient(180deg, #f3ebdd 0 58%, #d8c6a8 58%); }
  .home-vintage-copy { padding: 0; }
  .home-vintage-copy h1 { font-size: clamp(3rem, 13vw, 4.25rem); }
  .home-vintage-frame { height: 320px; margin-top: 20px; padding: 8px; box-shadow: 8px 8px 0 var(--vintage-green), 14px 14px 0 rgba(169,109,67,.35); transform: rotate(.6deg); }
  .home-vintage-stats .stat { padding: 25px 20px; }
  .home-vintage-transport .split { gap: 38px; }
  .home-vintage-photo { transform: none; }
  .home-vintage-photo .photo { height: 310px; }
  .home-vintage-region-layout { grid-template-columns: 1fr; gap: 42px; }
  .home-vintage-map { padding: 9px; box-shadow: -7px 7px 0 var(--vintage-green); }
  .home-vintage-map::before { top: 16px; left: -16px; font-size: .6rem; }
  .home-vintage .region-grid { grid-template-columns: 1fr; }
  .home-vintage .region { border-right: 0; border-bottom: 1px solid rgba(23,61,43,.24); }
  .home-vintage .region:last-child { border-bottom: 0; }
  .home-vintage-values .values { grid-template-columns: 1fr; }
  .home-vintage-values .value { min-height: 0; border-right: 0; border-bottom: 1px solid var(--vintage-sand); }
  .home-vintage-values .value:last-child { border-bottom: 0; }
  .home-vintage-mascot .mascot img { max-width: 270px; margin: auto; }
}

/* Internal pages inherit the approved Home palette without changing its composition. */
body:has(.page-hero) {
  --vintage-green: #173d2b;
  --vintage-cream: #f3ebdd;
  --vintage-sand: #d8c6a8;
  --vintage-copper: #a96d43;
  --vintage-charcoal: #242820;
  background: var(--vintage-cream);
}

body:has(.page-hero) .page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 8% 22%, rgba(169,109,67,.17) 0 1px, transparent 1.4px) 0 0/13px 13px,
    linear-gradient(112deg, var(--vintage-cream) 0%, var(--vintage-cream) 65%, var(--vintage-sand) 65%);
  border-bottom: 1px solid rgba(23,61,43,.15);
}

body:has(.page-hero) .page-hero::after {
  content: 'VALGG';
  position: absolute;
  right: -14px;
  bottom: -82px;
  color: rgba(23,61,43,.06);
  font: 900 clamp(7rem, 20vw, 16rem)/1 Georgia, 'Times New Roman', serif;
  letter-spacing: -.12em;
  pointer-events: none;
}

body:has(.page-hero) .page-hero .container { position: relative; z-index: 1; }
body:has(.page-hero) .page-hero h1,
body:has(.page-hero) main h2,
body:has(.page-hero) main h3 {
  color: var(--vintage-green);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
}

body:has(.page-hero) .page-hero h1 { max-width: 850px; font-size: clamp(3rem, 5.4vw, 5.25rem); }
body:has(.page-hero) .page-hero p { max-width: 680px; color: #4d554a; }
body:has(.page-hero) main > .section { position: relative; background: #faf6ee; }
body:has(.page-hero) main > .section.soft { background: #e9e1d2; }
body:has(.page-hero) main > .section:nth-of-type(even)::before {
  content: '';
  position: absolute;
  top: 0;
  left: max(20px, calc((100% - 1160px) / 2));
  right: max(20px, calc((100% - 1160px) / 2));
  border-top: 1px solid rgba(169,109,67,.32);
}

body:has(.page-hero) main p { color: #4d554a; }
body:has(.page-hero) main .eyebrow { color: var(--vintage-copper); }
body:has(.page-hero) main .button {
  border-radius: 999px;
  background: var(--vintage-green);
  border-color: var(--vintage-green);
  box-shadow: 4px 4px 0 var(--vintage-copper);
}
body:has(.page-hero) main .button:hover { background: #0e2e20; border-color: #0e2e20; }
body:has(.page-hero) main .button.secondary { color: var(--vintage-green) !important; background: transparent; border-color: var(--vintage-green); }
body:has(.page-hero) main .link-arrow { color: var(--vintage-green); text-decoration: underline; text-decoration-color: var(--vintage-copper); text-underline-offset: 5px; }

/* Printed-photo treatment for documentary fleet images. */
body:has(.page-hero) main .photo,
body:has(.page-hero) main .split > img:not(.territory-map) {
  border-radius: 0;
  padding: 9px;
  background: #fffaf0;
  border: 1px solid var(--vintage-sand);
  box-shadow: 9px 10px 0 rgba(169,109,67,.26);
  filter: saturate(.84) sepia(.06);
}

/* A Valgg: restrained album / editorial rhythm. */
body:has(.timeline) .timeline {
  position: relative;
  border-left: 0;
  padding-left: 34px;
  gap: 36px;
}
body:has(.timeline) .timeline::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 2px;
  background: var(--vintage-copper);
}
body:has(.timeline) .timeline > div { position: relative; }
body:has(.timeline) .timeline > div::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 9px;
  width: 13px;
  height: 13px;
  border: 3px solid #faf6ee;
  border-radius: 50%;
  background: var(--vintage-green);
}
body:has(.timeline) .timeline h2 { font-size: clamp(1.65rem, 2.5vw, 2.45rem); }
body:has(.timeline) .mascot { position: relative; }
body:has(.timeline) .mascot img { padding: 8px; background: #fffaf0; border-radius: 50% 50% 3px 3px; box-shadow: 7px 8px 0 var(--vintage-copper); mix-blend-mode: normal; }

/* Transporte: a commercial page with deliberate hierarchy, not a card grid. */
body:has(.feature-list) .feature-list { gap: 0; border-top: 1px solid var(--vintage-sand); border-bottom: 1px solid var(--vintage-sand); }
body:has(.feature-list) .feature-list .value {
  min-height: 156px;
  padding: 26px 28px;
  border: 0;
  border-right: 1px solid var(--vintage-sand);
  border-top: 0;
  background: transparent;
}
body:has(.feature-list) .feature-list .value:nth-child(even) { border-right: 0; }
body:has(.feature-list) .feature-list .value h3::before {
  content: '—';
  display: block;
  margin-bottom: 10px;
  color: var(--vintage-copper);
  font-size: 1.35rem;
}
body:has(.feature-list) .note { border-left-color: var(--vintage-copper); background: rgba(255,250,240,.76); color: #4d554a; }

/* Área de atuação: the geographic map remains the protagonist. */
body:has(.map-wrap) .map-wrap { gap: 72px; }
body:has(.map-wrap) .map {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(23,61,43,.25);
  border-radius: 0;
  background: var(--vintage-cream);
  box-shadow: -12px 12px 0 var(--vintage-green);
}
body:has(.map-wrap) .map::before {
  content: 'ÁREAS ATENDIDAS';
  position: absolute;
  top: 21px;
  left: -18px;
  z-index: 1;
  padding: 6px 10px;
  color: var(--vintage-cream);
  background: var(--vintage-copper);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: top left;
}
body:has(.map-wrap) .map svg { filter: sepia(.08) saturate(.84); }
body:has(.map-wrap) .region-grid { gap: 0; border: 1px solid rgba(23,61,43,.22); }
body:has(.map-wrap) .region { border: 0; border-right: 1px solid rgba(23,61,43,.22); border-top: 5px solid var(--vintage-green); border-radius: 0; color: var(--vintage-green); background: rgba(243,235,221,.68); }
body:has(.map-wrap) .region:last-child { border-right: 0; }

/* Cotação and Trabalhe Conosco: tactile details around, not inside, the fields. */
body:has(#quoteForm) main > .section,
body:has(#workForm) main > .section { background: var(--vintage-cream); }
body:has(#quoteForm) .form,
body:has(#workForm) .form {
  position: relative;
  max-width: 940px;
  padding: 42px;
  border: 1px solid rgba(23,61,43,.24);
  border-radius: 0;
  background: #fffdf8;
  box-shadow: 11px 12px 0 rgba(169,109,67,.20);
}
body:has(#quoteForm) .form::before,
body:has(#workForm) .form::before {
  content: 'VALGG TRANSPORTES';
  position: absolute;
  top: 0;
  right: 28px;
  padding: 7px 12px;
  color: var(--vintage-cream);
  background: var(--vintage-green);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
}
body:has(#quoteForm) .fieldset,
body:has(#workForm) .fieldset { border-top-color: var(--vintage-sand); }
body:has(#quoteForm) .fieldset legend,
body:has(#workForm) .fieldset legend { color: var(--vintage-green); font-family: Georgia, 'Times New Roman', serif; }
body:has(#quoteForm) input,
body:has(#quoteForm) select,
body:has(#quoteForm) textarea,
body:has(#workForm) input,
body:has(#workForm) select,
body:has(#workForm) textarea { border-color: #b8ad98; border-radius: 2px; background: #fff; }
body:has(#quoteForm) label,
body:has(#workForm) label { color: var(--vintage-charcoal); }
body:has(#quoteForm) .success,
body:has(#workForm) .success { border: 1px solid var(--vintage-sand); border-radius: 0; background: #e9e1d2; }

/* Contato: useful information is intentionally scan-friendly. */
body:has(.contact-list) .contact-list { gap: 0; border-top: 1px solid var(--vintage-sand); border-bottom: 1px solid var(--vintage-sand); }
body:has(.contact-list) .contact-list p { grid-template-columns: 150px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(216,198,168,.72); }
body:has(.contact-list) .contact-list p:last-child { border-bottom: 0; }
body:has(.contact-list) .contact-list strong { color: var(--vintage-copper); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
body:has(.contact-list) .contact-list a { color: var(--vintage-green); text-decoration: underline; text-decoration-color: var(--vintage-copper); text-underline-offset: 4px; }
body:has(.contact-list) .contact-actions .ghost { border-color: var(--vintage-green); color: var(--vintage-green); }

/* Legal content stays calm and reading-first. */
body:has(.prose) .prose { max-width: 790px; }
body:has(.prose) .prose h2 { margin-top: 42px; font-size: clamp(1.45rem, 2.4vw, 2.05rem); }
body:has(.prose) .prose h2:first-child { margin-top: 0; }
body:has(.prose) .prose p { max-width: 72ch; line-height: 1.75; }
body:has(.prose) .prose a { color: var(--vintage-green); text-decoration-color: var(--vintage-copper); text-underline-offset: 4px; }

body:has(.page-hero) .cta.dark {
  background: var(--vintage-charcoal);
  position: relative;
  overflow: hidden;
}
body:has(.page-hero) .cta.dark::before { content: ''; position: absolute; inset: 0; opacity: .38; background: repeating-linear-gradient(135deg, transparent 0 11px, rgba(216,198,168,.11) 11px 12px); }
body:has(.page-hero) .cta.dark .container { position: relative; }
body:has(.page-hero) .cta.dark h2 { color: var(--vintage-cream); }
body:has(.page-hero) .cta.dark p { color: var(--vintage-sand); }
body:has(.page-hero) .cta.dark .button.secondary {
  color: var(--vintage-cream) !important;
  border-color: var(--vintage-copper);
  background: transparent;
  box-shadow: 4px 4px 0 rgba(169,109,67,.34);
}
body:has(.page-hero) .cta.dark .button.secondary:hover {
  color: var(--vintage-charcoal) !important;
  border-color: var(--vintage-copper);
  background: var(--vintage-copper);
}
body:has(.page-hero) .cta.dark .button.secondary:focus-visible {
  outline-color: var(--vintage-cream);
  outline-offset: 4px;
}

@media (max-width: 780px) {
  body:has(.page-hero) .page-hero { padding: 46px 0 36px; background: linear-gradient(180deg, var(--vintage-cream) 0 76%, var(--vintage-sand) 76%); }
  body:has(.page-hero) .page-hero h1 { font-size: clamp(2.8rem, 12vw, 4.1rem); }
  body:has(.page-hero) main > .section:nth-of-type(even)::before { left: 20px; right: 20px; }
  body:has(.page-hero) main .photo,
  body:has(.page-hero) main .split > img:not(.territory-map) { box-shadow: 6px 7px 0 rgba(169,109,67,.26); }
  body:has(.timeline) .timeline { padding-left: 26px; }
  body:has(.timeline) .timeline > div::before { left: -33px; }
  body:has(.feature-list) .feature-list .value { min-height: 0; border-right: 0; border-bottom: 1px solid var(--vintage-sand); }
  body:has(.feature-list) .feature-list .value:last-child { border-bottom: 0; }
  body:has(.map-wrap) .map-wrap { gap: 42px; }
  body:has(.map-wrap) .map { padding: 10px; box-shadow: -7px 7px 0 var(--vintage-green); }
  body:has(.map-wrap) .map::before { top: 16px; left: -16px; font-size: .58rem; }
  body:has(.map-wrap) .region { border-right: 0; border-bottom: 1px solid rgba(23,61,43,.22); }
  body:has(.map-wrap) .region:last-child { border-bottom: 0; }
  body:has(#quoteForm) .form,
  body:has(#workForm) .form { padding: 36px 18px 26px; box-shadow: 6px 7px 0 rgba(169,109,67,.20); }
  body:has(#quoteForm) .form::before,
  body:has(#workForm) .form::before { right: 18px; }
  body:has(.contact-list) .contact-list p { grid-template-columns: 1fr; gap: 4px; }
}
