:root {
  --bg: #0a3f26;
  --bg-2: #0f5533;
  --ink: #f4f7f5;
  --muted: #c5d4cb;
  --green: #0a3f26;
  --green-2: #07301c;
  --flame: #ff6b1a;
  --flame-2: #e85a0f;
  --card: #ffffff;
  --line: #1a5c3a;
  --paper: #f3f6f4;
  --from: #5c6b62;
  --wa: #25d366;
  --header-h: 4.5rem;
  --font: "Barlow", "Segoe UI", system-ui, sans-serif;
  --font-display: "Barlow Condensed", "Barlow", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.45;
  overflow-x: clip;
}

h1, h2, h3,
.brand-text strong,
.kicker,
.price,
.info-card h3 {
  font-family: var(--font-display);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible,
iframe:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--flame);
  color: #fff;
  padding: .5rem 1rem;
  font-weight: 700;
  text-decoration: none;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: .55rem max(1.4rem, env(safe-area-inset-right)) .55rem max(1.4rem, env(safe-area-inset-left));
  background: var(--bg);
  border-bottom: 3px solid var(--flame);
  flex-wrap: nowrap;
  transition: box-shadow .25s ease;
}

.header.is-stuck {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.25);
  background: var(--green-2);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: .02em;
  font-weight: 800;
}

.brand-text span {
  display: block;
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .02em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

.nav a {
  position: relative;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav a:not(.btn-wa)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: var(--flame);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}

.nav a:not(.btn-wa):hover::after,
.nav a:not(.btn-wa).is-active::after {
  transform: scaleX(1);
}

.nav a:hover { text-decoration: none; }

.nav a.is-active { text-decoration: none; }

.btn-wa {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: .7rem 1.15rem;
  min-height: 44px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.btn-wa:hover { text-decoration: none; }

@media (hover: hover) and (pointer: fine) {
  .btn-wa:hover { filter: brightness(1.05); transform: translateY(-1px); }
}

.hero .btn-wa,
.contact-cta .btn-wa {
  background: var(--flame);
  color: #fff;
}

.hero .btn-wa:hover,
.contact-cta .btn-wa:hover {
  background: var(--flame-2);
  filter: none;
}

.nav a.btn-wa {
  color: #fff;
  padding: .55rem 1rem;
}

.btn-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .btn-sheen {
    animation: sheen 4.2s ease-in-out 1.2s infinite;
  }
  .hero-copy h1::after {
    animation: lineDraw .7s ease .15s both;
  }
  .hero .btn-wa {
    animation: ctaPulse .9s ease 1.15s 1;
  }
}

@keyframes ctaPulse {
  0%, 100% { transform: none; }
  45% { transform: scale(1.045); }
}

@keyframes sheen {
  0%, 70% { transform: translateX(-120%); }
  85% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

@keyframes lineDraw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.menu-btn {
  display: none;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: .4rem .7rem;
  font-weight: 700;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(78vh, 720px);
  padding: 2.2rem 0 3rem;
  overflow: hidden;
  background: #07301c;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease;
}

.hero-slides img.is-on {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.1s ease, transform 7s ease-out;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,48,28,.92) 0%, rgba(7,48,28,.62) 48%, rgba(7,48,28,.3) 100%),
    linear-gradient(180deg, rgba(7,48,28,.35) 0%, rgba(7,48,28,.15) 40%, rgba(7,48,28,.55) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: .6rem;
  max-width: 38rem;
}

.hero-copy h1 {
  margin: 0 0 .55rem;
  color: #fff;
  font-size: clamp(2.15rem, 4.4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.05;
  max-width: 16ch;
  position: relative;
}

.hero-copy h1::after {
  content: "";
  display: block;
  width: 4.2rem;
  height: 4px;
  margin-top: .7rem;
  background: var(--flame);
  transform-origin: left;
}

.kicker {
  margin: 0 0 .45rem;
  color: var(--flame);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-copy p {
  margin: 0 0 1.2rem;
  color: #ececec;
  max-width: 42ch;
}

.place {
  margin: -.4rem 0 1.1rem;
  max-width: none;
}

.place a {
  color: var(--flame);
  font-weight: 700;
  text-decoration: none;
  font-size: .95rem;
}

.place a:hover { text-decoration: underline; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  color: #111;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  transition: transform .22s ease, box-shadow .22s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 28%;
  height: 6px;
  background: var(--green);
  transition: width .35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,.14);
  }
  .card:hover::before { width: 100%; }
  .card:hover img { transform: scale(1.07); }
  .js [data-reveal].in.card:hover { transform: translateY(-6px); }
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .5s ease;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
  transition: opacity .55s ease, transform .55s ease;
}

.js .grid [data-reveal]:nth-child(1) { transition-delay: .04s; }
.js .grid [data-reveal]:nth-child(2) { transition-delay: .12s; }
.js .grid [data-reveal]:nth-child(3) { transition-delay: .2s; }
.js .grid [data-reveal]:nth-child(4) { transition-delay: .28s; }

.section {
  padding: 2.6rem 0;
  border-top: 1px solid var(--line);
}

.section.paper {
  background: var(--paper);
  color: #111;
  border-top: 0;
}

.section.paper h2 { color: #111; }

.section.paper .sub,
.section.paper .lead { color: #444; }

.section h2 {
  margin: 0 0 .35rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

#catalogo h2::after {
  content: "";
  display: block;
  width: 4.2rem;
  height: 4px;
  margin-top: .55rem;
  background: var(--flame);
}

.sub {
  margin: .2rem 0 1.3rem;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card-body {
  padding: .85rem .9rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card h3 {
  margin: 0 0 .35rem;
  font-size: .98rem;
}

.card .desc {
  margin: 0 0 .45rem;
  font-size: .85rem;
  color: #555;
  line-height: 1.35;
}

.from {
  margin: 0;
  font-size: .8rem;
  color: var(--from);
}

.price {
  margin: .1rem 0 0;
  color: var(--green);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.btn-card {
  margin-top: auto;
  width: 100%;
  font-size: .82rem;
  padding: .65rem .7rem;
  min-height: 44px;
  background: var(--flame);
  color: #fff;
}

.btn-wa.btn-card:hover {
  background: var(--flame-2);
  filter: none;
  transform: translateY(-1px);
}

.lead {
  margin: 0 0 1.2rem;
  color: var(--muted);
  max-width: 62ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 1.2rem;
  align-items: stretch;
  margin-top: 1.15rem;
}

.contact-panel { min-width: 0; }

.info-card {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: .95rem;
  margin: 0 0 .8rem;
  padding: 1.15rem 1.15rem 1.2rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--flame);
  border-radius: 12px;
}

.info-card:last-child { margin-bottom: 0; }

.info-ico {
  color: var(--flame);
  display: grid;
  place-items: start center;
  padding-top: .15rem;
}

.info-ico svg {
  width: 26px;
  height: 26px;
}

.info-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.15rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}

.info-card address {
  font-style: normal;
  margin: 0 0 .75rem;
}

.info-card p {
  margin: 0 0 .45rem;
  color: #e8e8e8;
  font-size: 1.05rem;
  line-height: 1.45;
}

.info-card p:last-child { margin-bottom: 0; }

.info-card .btn-outline { margin-top: .15rem; }

.contato a:not(.btn-wa):not(.btn-outline) {
  color: var(--flame);
  font-weight: 700;
  text-decoration: none;
}

.contato a:not(.btn-wa):not(.btn-outline):hover { text-decoration: underline; }

.contact-cta { margin: 1.15rem 0 0; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .55rem 1rem;
  border: 1px solid var(--flame);
  border-radius: 999px;
  color: var(--flame);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline:hover { text-decoration: none; }

.map-wrap {
  margin: 0;
  min-height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--flame);
  background: var(--bg-2);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.map-wrap iframe[hidden] { display: none; }

.quote {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(0, 0, 0, .72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}

.quote.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quote[hidden] { display: none; }

body.is-quote { overflow: hidden; }

.quote-box {
  position: relative;
  width: min(440px, 100%);
  background: #0a3f26;
  color: #fff;
  border-top: 4px solid var(--flame);
  border-radius: 16px 16px 0 0;
  padding: 1.15rem 1.15rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  transition: transform .38s cubic-bezier(.22, .8, .28, 1);
}

.quote.is-open .quote-box { transform: none; }

.quote-x {
  position: absolute;
  top: .7rem;
  right: .7rem;
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  min-height: 40px;
  padding: .3rem .65rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.quote-box .kicker { margin-bottom: .2rem; }

.quote-box h2 {
  margin: 0 0 .35rem;
  font-size: 1.85rem;
}

.quote-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .95rem;
}

.quote-box label {
  display: block;
  margin: .55rem 0 .3rem;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
}

.quote-box input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #1a5c3a;
  border-radius: 10px;
  background: #07301c;
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  padding: .6rem .8rem;
}

.quote-box input:focus {
  outline: 2px solid var(--flame);
  outline-offset: 2px;
}

.quote-err {
  margin: .55rem 0 0;
  color: #ffb4b4;
  font-size: .9rem;
  font-weight: 700;
}

.quote-box .btn-wa {
  width: 100%;
  margin-top: 1rem;
  background: var(--flame);
}

@media (min-width: 721px) {
  .quote { align-items: center; padding: 1.2rem; }
  .quote-box {
    border-radius: 14px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--flame);
    transform: translateY(28px);
  }
  .quote.is-open .quote-box { transform: none; }
}

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  background: var(--wa);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  padding: .7rem 1.05rem;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.wa-float.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.footer {
  padding: 1.15rem 0 1.6rem;
  color: var(--muted);
  font-size: .9rem;
  border-top: 3px solid var(--flame);
  background: var(--bg);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.4rem;
}

.footer p { margin: 0; max-width: 42ch; }

.footer a {
  color: var(--flame);
  text-decoration: none;
  font-weight: 700;
}

.footer .btn-wa {
  color: #fff;
  flex-shrink: 0;
}

@media (max-width: 1080px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .header {
    flex-wrap: nowrap;
    padding: .45rem max(1rem, env(safe-area-inset-right)) .45rem max(1rem, env(safe-area-inset-left));
  }
  .menu-btn { margin-left: auto; }
  .brand-mark { width: 42px; height: 42px; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: .8rem 1rem 1.1rem;
    gap: .15rem;
    border-bottom: 3px solid var(--flame);
    box-shadow: 0 12px 24px rgba(0,0,0,.35);
  }
  .nav.open { display: flex; }
  .nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: .4rem .2rem;
  }
  .nav a:not(.btn-wa)::after { bottom: 8px; }
  .nav a.btn-wa {
    margin-top: .55rem;
    width: 100%;
    justify-content: center;
  }
  .wrap { padding: 0 1rem; }
  .hero {
    min-height: min(52dvh, 420px);
    padding: 1.5rem 0 2.2rem;
  }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7,48,28,.9) 0%, rgba(7,48,28,.65) 42%, rgba(7,48,28,.8) 100%);
  }
  .hero-copy {
    max-width: none;
    padding-top: .15rem;
  }
  .hero-copy h1 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
    max-width: 14ch;
  }
  .hero-copy p { max-width: none; }
  .hero .btn-wa { min-height: 48px; }
  .section { padding: 1.7rem 0; }
  .card img { height: 190px; }
  .btn-card { font-size: .8rem; }
  .footer { padding: 1.15rem 0 5rem; }
  .footer-row { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .grid,
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap iframe { min-height: 260px; }
}

@media (max-width: 560px) {
  .brand-text span { display: none; }
  .contato .btn-wa,
  .contato .btn-outline { width: 100%; }
  .hero { padding: 1.25rem 0 2rem; }
  .map-wrap iframe { min-height: 220px; height: 220px; }
  .info-card { padding: .9rem .85rem; }
}

@media (min-width: 1081px) {
  .wa-float { display: none; }
  .hero { min-height: min(78vh, 720px); }
  .grid { grid-template-columns: repeat(4, 1fr); }
}

@media print {
  .header,
  .wa-float,
  .menu-btn,
  .map-wrap,
  .btn-wa,
  .btn-outline,
  .quote,
  .nav { display: none !important; }
  body { background: #fff; color: #111; }
  .hero-copy h1,
  .price { color: #111; }
  a { color: #111; }
}
