:root {
  --ammo-navy: #000019;
  --ammo-green: #08783d;
}

.nav .brand { flex-shrink: 0; align-items: center; }
.nav .brand img { width: 184px; height: 70px; }
.nav { gap: clamp(18px, 3vw, 40px); }
.nav nav { gap: clamp(14px, 1.9vw, 26px); }
.nav-cta { flex: 0 0 auto; padding: 10px 13px; font-size: 12px; white-space: nowrap; }

.intro.section { padding: 68px 6vw 72px; }
.intro .section-head { margin-bottom: 30px; gap: 18px 36px; }
.projects { grid-template-columns: 1.25fr 1fr; gap: 10px; }
.project { height: 155px; }
.project.large { grid-row: span 3; height: 485px; }
.project div { left: 20px; bottom: 18px; }
.project h3 { font-size: clamp(17px, 1.8vw, 25px); }
.project p { font-size: 12px; }

.catalog.section { align-items: start; gap: clamp(28px, 4vw, 60px); padding: 72px 5vw; }
.catalog-copy { min-width: 0; }
.catalog-copy h2 { font-size: clamp(38px, 4.2vw, 62px); }
.brands { gap: 8px; margin-top: 24px; }
.brands button { padding: 7px 9px; }
.catalog-ui { min-width: 0; padding: clamp(18px, 2.3vw, 30px); }

.simulator-panel {
  margin-top: 25px;
  padding: 14px;
  color: var(--ink);
  background: #f7f4ef;
  border: 1px solid #d8d1c6;
  box-shadow: 0 12px 28px #0003;
}
.simulator-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.simulator-kicker { margin: 0 0 4px; color: var(--accent); font-size: 8px; letter-spacing: 1.6px; font-weight: 700; }
.simulator-head h3 { font-size: 15px; line-height: 1.15; }
.simulator-expand, .simulator-close {
  border: 1px solid #c7c0b5;
  background: #fff;
  color: var(--ink);
  padding: 8px 10px;
  font: inherit;
  font-size: 10px;
  white-space: nowrap;
  cursor: pointer;
}
.simulator-close { border-color: transparent; background: transparent; }
.simulator-close[hidden] { display: none; }
.simulator-stage {
  position: relative;
  isolation: isolate;
  height: 238px;
  overflow: hidden;
  background: linear-gradient(180deg, #e7e1d8 0 63%, #c8bfae 63% 100%);
  border: 1px solid #ded8ce;
}
.simulator-scene { position: absolute; inset: 0; z-index: 1; }
.simulator-scene canvas { display: block; width: 100%; height: 100%; }
.simulator-loading { position: absolute; z-index: 3; left: 12px; bottom: 8px; margin: 0; color: #514b43; font-size: 10px; }
.simulator-panel.is-rendered .simulator-loading { display: none; }
.simulator-fallback { position: absolute; inset: 0; overflow: hidden; transition: opacity .25s ease; }
.simulator-panel.is-rendered .simulator-fallback { opacity: 0; pointer-events: none; }
.fallback-wall { position: absolute; inset: 0 0 28%; background: linear-gradient(110deg, #e6ded2, #c9bca9 72%, #e8e1d6); }
.fallback-window { position: absolute; right: 8%; top: 12%; width: 23%; height: 36%; border: 5px solid #f2eee7; background: linear-gradient(130deg, #c7d0cf, #f3dfc3 55%, #899285); box-shadow: 0 0 0 1px #b9b0a4; }
.fallback-shelf { position: absolute; left: 13%; top: 49%; width: 72%; height: 5px; background: #8f6748; box-shadow: 0 9px 14px #55463555; }
.fallback-upper { position: absolute; top: 15%; left: 12%; width: 51%; height: 32%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.fallback-upper i, .fallback-lower i, .fallback-island i { border: 1px solid #715a44; background-color: #c8b69d; background-image: var(--sim-pattern-url); background-size: cover; box-shadow: inset 1px 0 #ffffff44, inset -1px 0 #0002; }
.fallback-counter { position: absolute; top: 55%; left: 9%; width: 73%; height: 8%; background: linear-gradient(180deg, #f4ede2, #aca091); transform: skewY(-2deg); box-shadow: 0 6px 8px #372a1c33; }
.fallback-lower { position: absolute; left: 10%; top: 63%; width: 70%; height: 25%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: #554737; padding: 4px; transform: skewY(-2deg); }
.fallback-island { position: absolute; right: 6%; bottom: 3%; width: 43%; height: 29%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 5px; background: #d8d0c4; box-shadow: 0 10px 16px #34281c55; transform: skewY(-5deg); }
.simulator-selection { display: flex; align-items: center; gap: 10px; min-height: 52px; padding-top: 10px; }
.simulator-selection img { width: 42px; height: 38px; object-fit: cover; border: 1px solid #d2c9bc; }
.simulator-selection span { display: grid; gap: 3px; min-width: 0; }
.simulator-selection strong { font-size: 11px; line-height: 1.25; }
.simulator-selection small { color: var(--muted); font-size: 9px; }
.simulator-backdrop { position: fixed; inset: 0; z-index: 89; background: #000019d9; }
.simulator-backdrop[hidden] { display: none; }
.simulator-panel.is-expanded {
  position: fixed;
  z-index: 90;
  inset: 4vh 4vw;
  width: auto;
  max-width: 1100px;
  height: max-content;
  max-height: 92vh;
  overflow: auto;
  margin: auto;
  padding: clamp(16px, 3vw, 32px);
  background: #f7f4ef;
  box-shadow: 0 24px 70px #0007;
}
.simulator-panel.is-expanded .simulator-stage { height: min(64vh, 620px); }
.simulator-panel.is-expanded .simulator-head h3 { font-size: clamp(18px, 2vw, 26px); }
.simulator-panel.is-expanded .simulator-selection strong { font-size: 15px; }
.simulator-panel.is-expanded .simulator-selection small { font-size: 12px; }

.swatch-card { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 8px; }
.swatch-select { display: block; width: 100%; border: 2px solid transparent; padding: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.swatch-select.selected { border-color: var(--ammo-navy); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ammo-navy); }
.swatch-select:focus-visible, .swatch-zoom:focus-visible, .simulator-expand:focus-visible, .simulator-close:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.swatch-zoom { align-self: flex-start; border: 0; padding: 4px 0 0; background: transparent; color: #49443d; font: inherit; font-size: 10px; text-decoration: underline; cursor: zoom-in; }
.swatch-select .swatch-image { height: clamp(72px, 8vw, 105px); }
.swatch-select b { display: block; margin: 8px 0 2px; font-size: 12px; line-height: 1.25; }
.swatch-select small { display: block; margin-top: 3px; font-size: 10px; }

.process.section { padding: 64px 5vw 72px; }
.process .section-head { margin-bottom: 24px; }
.process .section-head h2 { font-size: clamp(34px, 4.3vw, 58px); }
.service-highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 30px; border-top: 1px solid #b5aea4; border-bottom: 1px solid #b5aea4; }
.service-highlights article { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 15px 13px; border-right: 1px solid #c6bfb4; }
.service-highlights article:last-child { border-right: 0; }
.service-highlights svg { flex: 0 0 28px; width: 28px; height: 28px; fill: none; stroke: #171716; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-highlights h3 { font-size: 12px; line-height: 1.3; }
.service-highlights p { margin: 4px 0 0; color: #6e6a63; font-size: 10px; line-height: 1.45; }
.steps article { padding: 22px 18px; }
.steps h3 { margin: 19px 0 8px; font-size: 18px; }
.steps p { font-size: 12px; }

.story {
  display: grid;
  grid-template-columns: .95fr 1.02fr 1.08fr;
  grid-template-areas: "coverage image copy" "reviews reviews reviews";
  gap: 14px;
  padding: 32px 4vw;
  align-items: stretch;
  background: var(--ammo-navy);
}
.coverage-card { grid-area: coverage; display: grid; grid-template-columns: minmax(0, 1fr) minmax(115px, .85fr); grid-template-rows: auto auto auto 1fr auto; gap: 8px 12px; padding: 19px; background: var(--paper); color: var(--ink); }
.coverage-card .eyebrow { grid-column: 1 / -1; margin: 0; font-size: 9px; }
.coverage-card h2 { grid-column: 1 / -1; font-size: clamp(20px, 2.2vw, 29px); line-height: 1.06; letter-spacing: -1px; }
.coverage-card > p:not(.eyebrow) { grid-column: 1 / -1; margin: 0; color: #625e58; font-size: 10px; line-height: 1.5; }
.brazil-map { grid-column: 1; grid-row: 4; align-self: center; width: 100%; max-height: 235px; }
.brazil-shape { fill: #d8c5b1; stroke: #c8b39d; stroke-width: 2; stroke-linejoin: round; }
.map-pin { fill: #91603d; stroke: #fff; stroke-width: 1.5; }
.map-pin.main { fill: #000019; stroke: #b9835c; stroke-width: 2.5; }
.city-list { grid-column: 2; grid-row: 4; align-self: center; margin: 0; padding: 0; list-style: none; font-size: 9px; line-height: 1.55; }
.city-list li { position: relative; padding-left: 8px; }
.city-list li::before { position: absolute; left: 0; top: .45em; width: 4px; height: 4px; border-radius: 50%; background: #95613c; content: ""; }
.coverage-card .coverage-note { grid-column: 1 / -1; padding-top: 7px; border-top: 1px solid #d5cabe; font-weight: 600; }
.story-image { grid-area: image; min-height: 370px; }
.story-copy { grid-area: copy; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 50px); background: #080827; }
.story-copy h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.02; letter-spacing: -2px; }
.story-copy p:nth-of-type(2) { font-size: 13px; }
.review-strip { grid-area: reviews; display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 2fr); gap: 14px 20px; padding: 21px; background: #f2efe9; color: var(--ink); }
.review-summary .eyebrow { margin-bottom: 8px; font-size: 9px; }
.review-summary h2 { font-size: clamp(21px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -1px; }
.rating-line { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.rating-line strong { font: 600 27px/1 "Manrope", sans-serif; }
.review-stars { color: #e8a400; letter-spacing: 1px; white-space: nowrap; }
.review-count { margin: 5px 0 10px; color: var(--muted); font-size: 10px; }
.review-summary a { color: #3f2c1f; font-size: 11px; font-weight: 700; text-underline-offset: 3px; }
.review-links { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.review-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.review-cards article { display: flex; flex-direction: column; justify-content: center; min-height: 112px; padding: 13px; background: #fff; box-shadow: 0 4px 14px #0000000c; }
.review-cards .review-stars { font-size: 12px; }
.review-cards p { margin: 9px 0; font-size: 12px; line-height: 1.45; }
.review-cards small { color: var(--muted); font-size: 9px; }
.review-note { grid-column: 2; margin: -4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.4; }

footer {
  grid-template-columns: 1.05fr 1.25fr 1.2fr .82fr .82fr;
  gap: 22px;
  align-items: start;
  padding: 40px 5vw 24px;
  color: #dddce5;
  font-size: 13px;
}
footer h3 { margin: 0 0 12px; color: #fff; font-size: 13px; }
footer p, footer a { font-size: 12px; line-height: 1.65; }
footer p { color: #d1d0d9; }
footer a { color: #e2e1e8; }
footer a:hover { color: #fff; }
footer .footer-contact a { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
footer .footer-contact svg { flex: 0 0 18px; width: 18px; height: 18px; }
footer .footer-brand img { width: 172px; height: 76px; }
footer .copy { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 17px; border-top: 1px solid #ffffff30; color: #d1d0d9; }

.whatsapp {
  position: fixed;
  display: flex;
  align-items: center;
  gap: 10px;
  right: 24px;
  bottom: 24px;
  width: max-content;
  max-width: min(410px, calc(100vw - 48px));
  min-height: 64px;
  height: auto;
  padding: 10px 15px;
  border: 1px solid #e4f2e8;
  border-radius: 16px;
  background: var(--ammo-green);
  color: #fff;
  box-shadow: 0 10px 28px #0005;
}
.whatsapp svg { flex: 0 0 34px; width: 34px; height: 34px; color: #fff; }
.whatsapp-copy { display: grid; gap: 3px; min-width: 0; max-width: 250px; text-align: left; }
.whatsapp-copy strong { font-size: 13px; line-height: 1.25; overflow-wrap: anywhere; }
.whatsapp-copy small { font-size: 10px; line-height: 1.25; overflow-wrap: anywhere; }
.whatsapp:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 1050px) {
  .story { grid-template-columns: 1fr 1fr; grid-template-areas: "coverage image" "copy copy" "reviews reviews"; }
  .coverage-card { min-height: 360px; }
  .story-image { min-height: 360px; }
  footer { grid-template-columns: 1fr 1.2fr 1.2fr; }
  footer .footer-links, footer .footer-social { padding-top: 6px; }
}

@media (max-width: 850px) {
  .nav .brand img { width: 148px; height: 58px; }
  .intro.section { padding: 54px 20px 58px; }
  .intro .section-head { margin-bottom: 25px; }
  .project, .project.large { grid-row: auto; height: 280px; }
  .catalog.section { padding: 60px 20px; gap: 30px; }
  .catalog-copy h2 { font-size: clamp(38px, 9vw, 56px); }
  .simulator-stage { height: 250px; }
  .simulator-panel.is-expanded { inset: 2vh 3vw; width: auto; max-height: 96vh; }
  .simulator-panel.is-expanded .simulator-stage { height: 60vh; }
  .service-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-highlights article:nth-child(2) { border-right: 0; }
  .service-highlights article:nth-child(-n+2) { border-bottom: 1px solid #c6bfb4; }
  .process.section { padding: 54px 20px 58px; }
  .story { grid-template-columns: 1fr; grid-template-areas: "coverage" "image" "copy" "reviews"; padding: 20px; }
  .coverage-card { grid-template-columns: minmax(150px, .75fr) minmax(0, 1fr); min-height: 0; }
  .brazil-map { max-height: 250px; }
  .city-list { font-size: 10px; }
  .story-image { min-height: 300px; }
  .story-copy { padding: 36px 26px; }
  .review-strip { grid-template-columns: 1fr; padding: 18px; }
  .review-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-note { grid-column: 1; }
  footer { grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: 34px 20px 20px; }
  footer .footer-brand { grid-column: 1 / -1; }
  footer .copy { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .project, .project.large { height: 245px; }
  .simulator-stage { height: 218px; }
  .simulator-panel.is-expanded { inset: 1vh 2vw; padding: 12px; }
  .simulator-panel.is-expanded .simulator-stage { height: 57vh; }
  .simulator-head { flex-wrap: wrap; }
  .simulator-head > div { flex: 1 1 100%; }
  .service-highlights article { align-items: flex-start; padding: 13px 8px; gap: 8px; }
  .service-highlights svg { flex-basis: 23px; width: 23px; height: 23px; }
  .service-highlights h3 { font-size: 11px; }
  .service-highlights p { font-size: 9px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps article { padding: 16px 11px; }
  .steps h3 { font-size: 15px; }
  .coverage-card { grid-template-columns: 1fr; }
  .brazil-map { grid-column: 1; grid-row: auto; width: min(100%, 220px); justify-self: center; }
  .city-list { grid-column: 1; grid-row: auto; columns: 2; column-gap: 16px; font-size: 9px; }
  .coverage-card .coverage-note { grid-column: 1; }
  .review-cards { grid-template-columns: 1fr; }
  .review-cards article { min-height: 88px; }
  footer { grid-template-columns: 1fr; }
  footer .footer-brand, footer .copy { grid-column: 1; }
  .whatsapp { right: 12px; bottom: 12px; max-width: calc(100vw - 24px); min-height: 58px; padding: 9px 12px; border-radius: 14px; }
  .whatsapp svg { flex-basis: 30px; width: 30px; height: 30px; }
  .whatsapp-copy { max-width: calc(100vw - 72px); }
  .whatsapp-copy strong { font-size: 11px; }
  .whatsapp-copy small { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .simulator-fallback { transition: none; }
}
