:root{
  --green:#244f39;
  --green-soft:#edf4ec;
  --blue:#263b79;
  --blue-dark:#182750;
  --paper:#f5f6f1;
  --text:#26312b;
  --muted:#66736c;
  --white:#ffffff;
  --shadow:0 12px 28px rgba(22,47,34,.13);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Arial,Helvetica,sans-serif;background:var(--paper);color:var(--text);line-height:1.65}
img{display:block;max-width:100%}
.hero{min-height:100svh;background:url('img/hero/hero.jpg') center/cover no-repeat;position:relative}
.hero-overlay{min-height:100svh;background:linear-gradient(rgba(12,30,22,.44),rgba(12,30,22,.72));display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#fff;padding:28px 18px}
.logo-row{display:flex;gap:18px;justify-content:center;align-items:center;margin-bottom:26px;flex-wrap:wrap}
.logo-box{background:rgba(255,255,255,.94);border-radius:20px;padding:10px;box-shadow:var(--shadow)}
.logo-box img{width:112px;height:112px;object-fit:contain}
.eyebrow{font-size:16px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:5px}
.hero h1{font-size:clamp(38px,8vw,66px);line-height:1.04;margin-bottom:12px}
.company-line{font-size:clamp(16px,4vw,23px);font-weight:700;margin-bottom:20px}
.hero-text{max-width:760px;font-size:clamp(18px,4vw,24px);line-height:1.5}
.section{max-width:980px;margin:0 auto;padding:56px 20px}
.soft-green{max-width:none;background:var(--green-soft)}
.soft-green>*{max-width:940px;margin-left:auto;margin-right:auto}
.section-heading{text-align:center;margin-bottom:24px}
.section-heading span,.company-title span{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:13px;color:#66806f;font-weight:700;margin-bottom:4px}
.section-heading h2,.company-title h2{font-size:clamp(31px,6vw,46px);line-height:1.1;color:var(--green)}
.main-image{width:100%;height:min(58vw,470px);object-fit:cover;border-radius:22px;box-shadow:var(--shadow);margin:22px 0}
.main-image.portrait{object-position:center 42%}
.card{background:#fff;border-radius:20px;box-shadow:var(--shadow)}
.text-card{padding:24px;margin:22px 0}
.text-card p+p{margin-top:14px}
.company-title{display:flex;align-items:center;gap:16px;margin-bottom:16px}
.company-title img{width:95px;height:95px;object-fit:contain;background:#fff;border-radius:18px;padding:8px;box-shadow:var(--shadow)}
blockquote{font-size:clamp(19px,4vw,25px);font-style:italic;line-height:1.55;color:#314b3b;border-left:5px solid #7aa082;padding:12px 0 12px 18px;margin:22px 0}
.two-gallery{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
.two-gallery figure{background:#fff;border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.two-gallery img{width:100%;height:270px;object-fit:cover}
.two-gallery figcaption{text-align:center;padding:11px;font-weight:700;color:#425148}
.blue-section{max-width:none;background:linear-gradient(160deg,var(--blue-dark),var(--blue));padding-left:20px;padding-right:20px}
.blue-section>*{max-width:940px;margin-left:auto;margin-right:auto}
.section-heading.light span,.section-heading.light h2,.light-text{color:#fff}
.intro{font-size:19px;text-align:center;max-width:800px;margin-bottom:24px}
.cupla-card{background:#f7f8f4;border-radius:26px;padding:24px;box-shadow:0 18px 45px rgba(0,0,0,.24)}
.cupla-card h3{text-align:center;color:var(--green);font-size:clamp(42px,9vw,64px);line-height:1;margin-bottom:20px}
.cupla-card h3 sup{font-size:.35em;vertical-align:top}
.cupla-card h4{text-align:center;color:var(--green);font-size:25px;margin:28px 0 16px}
.origin-card{background:#e8f0e4;padding:18px;border-radius:16px;margin-bottom:20px}
.origin-card p+p{margin-top:6px}
.metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.metrics div{background:#fff;border-radius:16px;padding:17px;text-align:center;box-shadow:0 8px 18px rgba(26,44,34,.09)}
.metrics strong{display:block;color:var(--blue);font-size:23px;margin-bottom:4px}
.metrics span{font-size:14px;color:#55615b}
.photo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:22px}
.photo-grid img{width:100%;height:235px;object-fit:cover;border-radius:16px}
.contact-section{background:#1d3729;color:#fff;text-align:center;padding:56px 20px}
.contact-section>*{max-width:820px;margin-left:auto;margin-right:auto}
.contact-logos{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-bottom:22px}
.contact-logos img{width:105px;height:105px;object-fit:contain;background:#fff;border-radius:18px;padding:8px}
.contact-section h2{font-size:38px;margin-bottom:6px}
.contact-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:18px;padding:20px;margin-top:22px}
.contact-card p+p{margin-top:13px}
.whatsapp{display:inline-block;margin-top:20px;background:#25d366;color:#fff;text-decoration:none;padding:15px 24px;border-radius:999px;font-weight:700;box-shadow:0 10px 24px rgba(0,0,0,.2)}
footer{text-align:center;padding:26px 16px;background:#12241a;color:#cdd7d0;font-size:13px}
footer p+p{margin-top:4px}
@media(max-width:640px){
  .logo-box img{width:82px;height:82px}
  .section{padding:44px 14px}
  .company-title{align-items:center}
  .company-title img{width:78px;height:78px}
  .two-gallery{grid-template-columns:1fr}
  .two-gallery img{height:320px}
  .metrics{grid-template-columns:1fr 1fr}
  .photo-grid img{height:190px}
  .cupla-card{padding:17px}
}
@media(max-width:390px){
  .metrics{grid-template-columns:1fr}
  .photo-grid{grid-template-columns:1fr}
  .photo-grid img{height:260px}
}

.trace-link {
  display: inline-block;
  margin-top: 28px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}
.trace-link:hover { background: var(--green-soft); }
.trace-section { scroll-margin-top: 12px; }
.trace-card {
  max-width: 700px;
  margin-inline: auto;
  padding: clamp(20px, 5vw, 36px);
  border: 1px solid #dbe6dc;
}
.trace-card h2 {
  margin-bottom: 10px;
  color: var(--green);
  font-size: clamp(27px, 5vw, 38px);
  line-height: 1.12;
}
.trace-card > p { color: var(--muted); }
.trace-card form { margin-top: 20px; }
.trace-card label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}
.trace-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.trace-controls input, .trace-controls button {
  min-height: 48px;
  padding: 9px 14px;
  border: 1px solid var(--green);
  border-radius: 10px;
  font: inherit;
}
.trace-controls input {
  min-width: 0;
  border-color: #748b7b;
  background: var(--white);
  color: var(--text);
  text-transform: uppercase;
}
.trace-controls button {
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}
.trace-controls button:hover { background: #193b29; }
.trace-controls button:disabled { cursor: wait; opacity: .7; }
.trace-link:focus-visible, .trace-controls :focus-visible {
  outline: 3px solid #5475bf;
  outline-offset: 3px;
}
.trace-status:not(:empty) { margin-top: 13px; }
.trace-card [data-erro] { color: #7c342c; }
.trace-result {
  margin-top: 13px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--green-soft);
  overflow-wrap: anywhere;
}
.trace-result div + div { margin-top: 8px; }
.trace-result dt { color: var(--green); font-size: 14px; }
.trace-result dd { font-weight: 700; }
.trace-stages { display: grid; gap: 22px; margin-top: 22px; }
.trace-stages h3 { color: var(--green); font-size: 18px; line-height: 1.25; }
.trace-entry {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid #dbe6dc;
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.trace-entry h4 { color: var(--green); font-size: 16px; }
.trace-entry h5 { margin-top: 10px; font-size: 14px; }
.trace-stages p { color: var(--muted); font-size: 14px; }
.trace-entry ul { list-style: none; margin-top: 8px; }
.trace-entry li {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 12px;
  padding: 6px 0;
  border-top: 1px solid #e5ece6;
  font-size: 14px;
}
.trace-entry li span { color: var(--muted); }
@media (max-width: 420px) {
  .trace-controls { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
