:root {
  --page-max: 1672px;
  --gutter: clamp(26px, 4.4vw, 74px);
  --bg: #041315;
  --bg-deep: #020b0d;
  --surface: #071c20;
  --surface-2: #0a252a;
  --text: #f5f7f7;
  --muted: #b9c6c7;
  --accent: #10e3ea;
  --accent-soft: #18cbd2;
  --line: rgba(16, 227, 234, 0.48);
  --line-soft: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 14% 4%, rgba(16, 227, 234, 0.08), transparent 20rem),
    linear-gradient(180deg, #06191c 0%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.35;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header,
.hero,
.production,
.services,
.site-footer {
  width: min(100%, var(--page-max));
  margin-inline: auto;
}

/* Header */
.site-header {
  min-height: 104px;
  padding: 8px var(--gutter);
  display: grid;
  grid-template-columns:
    minmax(132px, 1fr)
    minmax(360px, 1.35fr)
    auto
    auto;
  align-items: center;
  column-gap: 10px;
  background: rgba(3, 15, 17, 0.97);
  border-bottom: 1px solid rgba(16, 227, 234, 0.38);
}

.site-header__brand,
.site-header__whatsapp,
.site-header__cta {
  display: flex;
  align-items: center;
}

.site-header__brand {
  min-width: 0;
  justify-self: start;
}

.site-header__logo {
  width: 130px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  transform: none;
}

.site-header__services {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-transform: uppercase;
  justify-self: center;
  text-align: center;
  transform: translateX(-142px);
}

.site-header__services strong {
  color: var(--accent);
  font-size: 1.125rem;
  letter-spacing: 0.07em;
}

.site-header__services span {
  color: #e3eded;
  font-size: 0.912rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.site-header__whatsapp {
  gap: 12px;
  white-space: nowrap;
  justify-self: end;
  transform: translateX(-20px);
}

.site-header__whatsapp img {
  width: 41px;
  height: 41px;
}

.site-header__whatsapp span {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.site-header__whatsapp small {
  color: var(--muted);
  font-size: 0.792rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-header__whatsapp strong {
  font-size: 1.08rem;
}

.site-header__whatsapp-link,
.site-header__phone-link {
  color: inherit;
  text-decoration: none;
}

.site-header__whatsapp-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header__phone-link {
  display: inline-block;
}

.site-header__whatsapp-note {
  display: none;
}

.site-header__cta {
  min-height: 46px;
  justify-self: end;
  justify-content: center;
  gap: 12px;
  padding: 8px 18px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: linear-gradient(90deg, #13d7de, #17eff2);
  box-shadow: 0 0 22px rgba(16, 227, 234, 0.18);
  color: #001214;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.site-header__cta img {
  width: 22px;
  height: 22px;
  filter: brightness(0);
}

/* Hero */
.hero {
  min-height: 326px;
  display: grid;
  grid-template-columns: minmax(0, 70%) minmax(0, 30%);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 14, 16, 0.98) 0%, rgba(2, 14, 16, 0.82) 46%, rgba(2, 14, 16, 0.12) 72%),
    var(--surface);
  border-bottom: 1px solid rgba(16, 227, 234, 0.42);
}

.hero__content {
  z-index: 2;
  padding: 34px 8px 26px var(--gutter);
  align-self: center;
}

.hero__overline {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: clamp(0.88rem, 1.15vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-size: clamp(3.15rem, 5.35vw, 5.25rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero__title span,
.hero__title strong {
  display: block;
}

.hero__title strong {
  color: var(--accent);
  text-shadow: 0 0 24px rgba(16, 227, 234, 0.11);
}

.hero__text {
  max-width: 690px;
  margin: 12px 0 18px;
  color: #eef3f3;
  font-size: clamp(0.98rem, 1.22vw, 1.2rem);
}

.hero__commercial-line {
  margin: -4px 0 16px;
  color: var(--accent);
  font-size: clamp(1.104rem, 1.26vw, 1.26rem);
  font-weight: 700;
}

.hero__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(280px, 1.45fr);
  max-width: 1060px;
  align-items: stretch;
}

.hero-benefit {
  min-height: 62px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 11px;
  padding-right: 22px;
}

.hero-benefit + .hero-benefit {
  padding-left: 24px;
  border-left: 1px solid var(--accent);
}

.hero-benefit img {
  width: 42px;
  height: 42px;
}

.hero-benefit strong {
  font-size: 0.77rem;
  line-height: 1.12;
  text-transform: uppercase;
}

.hero-benefit + .hero-benefit.hero-benefit--featured {
  min-height: 64px;
  margin-left: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(16, 227, 234, 0.78);
  border-radius: 8px;
  background: rgba(16, 227, 234, 0.055);
  box-shadow: inset 0 0 20px rgba(16, 227, 234, 0.04);
}

.hero-benefit--featured img {
  width: 46px;
  height: 46px;
}

.hero-benefit--featured strong {
  color: #f5f7f7;
  font-size: 0.8rem;
  line-height: 1.18;
}

@media (min-width: 600px) {
  .hero__benefits {
    column-gap: 8px;
    row-gap: 12px;
  }

  .hero-benefit,
  .hero-benefit + .hero-benefit,
  .hero-benefit--featured,
  .hero-benefit + .hero-benefit.hero-benefit--featured {
    min-height: 64px;
    margin-left: 0;
    padding: 8px 14px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(16, 227, 234, 0.62);
    border-radius: 8px;
    background: rgba(16, 227, 234, 0.035);
    box-shadow: inset 0 0 18px rgba(16, 227, 234, 0.025);
  }

  .hero-benefit img,
  .hero-benefit--featured img {
    width: 42px;
    height: 42px;
  }

  .hero-benefit strong,
  .hero-benefit--featured strong {
    color: var(--text);
    font-size: 0.77rem;
    line-height: 1.12;
  }

  .hero-benefit--featured,
  .hero-benefit + .hero-benefit.hero-benefit--featured {
    border-color: var(--accent);
    background: rgba(16, 227, 234, 0.11);
    box-shadow:
      inset 0 0 24px rgba(16, 227, 234, 0.07),
      0 0 18px rgba(16, 227, 234, 0.12);
  }
}

.hero__media {
  position: relative;
  min-height: 326px;
  overflow: hidden;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(4, 19, 21, 0.58) 18%, rgba(4, 19, 21, 0.05) 52%),
    linear-gradient(180deg, transparent 64%, rgba(2, 11, 13, 0.62) 100%);
  pointer-events: none;
}

.hero__media > picture {
  display: contents;
}

.hero__media > img,
.hero__media > picture > img {
  width: 100%;
  height: 100%;
  min-height: 326px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

/* Desktop refinement — hero balance */
@media (min-width: 821px) {
  .hero {
    grid-template-columns: minmax(0, 68%) minmax(0, 32%);
  }

  .hero__content {
    padding-top: 26px;
    padding-bottom: 20px;
  }

  .hero__title {
    font-size: clamp(3.15rem, 5.1vw, 5rem);
  }

  .hero__text {
    margin: 10px 0 14px;
  }

  .hero__commercial-line {
    margin: -2px 0 12px;
  }

  .hero__benefits {
    column-gap: 7px;
  }

  .hero-benefit,
  .hero-benefit + .hero-benefit,
  .hero-benefit--featured,
  .hero-benefit + .hero-benefit.hero-benefit--featured {
    min-height: 60px;
    padding: 7px 12px;
    gap: 10px;
  }
}

/* Production / proposal */
.production {
  padding: 20px 0 18px;
  display: grid;
  grid-template-columns: minmax(260px, 0.70fr) minmax(320px, 1fr) minmax(430px, 1.32fr);
  gap: 30px;
  align-items: stretch;
  border-bottom: 1px solid rgba(16, 227, 234, 0.42);
}

.production__media {
  margin: 0;
  min-height: 268px;
  overflow: hidden;
  border: 1px solid rgba(16, 227, 234, 0.62);
  border-radius: 9px;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.production__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.production__content {
  align-self: stretch;
  padding: 6px 0 7px;
  display: flex;
  flex-direction: column;
}

.production__content h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 2.65vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.production__content > p {
  margin: 0 0 14px;
  color: #e7eeee;
  font-size: 0.84rem;
  letter-spacing: 0.24em;
  line-height: 1.45;
  text-transform: uppercase;
}

.production__lead-time {
  min-height: 116px;
  margin-top: auto;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: 76px auto 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--accent);
  border-radius: 8px;
}

.production__lead-time img {
  width: 68px;
  height: 68px;
}

.production__lead-time span {
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.production__lead-time strong {
  justify-self: end;
  color: var(--accent);
  font-size: clamp(2.2rem, 3.45vw, 4rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Quote form */
.quote-form {
  overflow: hidden;
  border: 1px solid rgba(16, 227, 234, 0.72);
  border-radius: 10px;
  background: rgba(6, 29, 33, 0.92);
  box-shadow: var(--shadow);
}

.quote-form__header {
  min-height: 42px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(90deg, #12d6dd, #13edf0);
  color: #001214;
}

.quote-form__header img {
  width: 24px;
  height: 24px;
  filter: brightness(0);
}

.quote-form__header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-form__form {
  padding: 8px 16px 8px;
  display: grid;
  gap: 5px;
}

.quote-form__field {
  min-height: 34px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 28px auto 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(16, 227, 234, 0.52);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
}

.quote-form__field img {
  width: 23px;
  height: 23px;
}

.quote-form__field span {
  color: #dbe5e6;
  font-size: 0.912rem;
  white-space: nowrap;
}

.quote-form__field input,
.quote-form__field textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 6px 0;
  background: transparent;
  color: var(--text);
}

.quote-form__field textarea {
  min-height: 36px;
  resize: vertical;
}

.quote-form__field input:-webkit-autofill,
.quote-form__field input:-webkit-autofill:hover,
.quote-form__field input:-webkit-autofill:focus,
.quote-form__field textarea:-webkit-autofill,
.quote-form__field textarea:-webkit-autofill:hover,
.quote-form__field textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: 0 0 0 1000px rgb(11, 33, 37) inset;
  -webkit-box-shadow: 0 0 0 1000px rgb(11, 33, 37) inset;
  transition: background-color 9999s ease-out 0s;
}

.quote-form__field--message {
  align-items: start;
  padding-top: 7px;
}

.quote-form__field--message img,
.quote-form__field--message span {
  margin-top: 1px;
}

@media (min-width: 600px) {
  .quote-form__field--message {
    padding-bottom: 7px;
    grid-template-columns: 28px minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: 4px;
  }

  .quote-form__field--message img {
    grid-column: 1;
    grid-row: 1;
  }

  .quote-form__field--message span {
    grid-column: 2;
    grid-row: 1;
  }

  .quote-form__field--message textarea {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    min-height: 36px;
    padding-top: 2px;
  }
}

.quote-form button {
  min-height: 38px;
  margin-top: 2px;
  border: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(90deg, #11d8df, #15edf1);
  color: #001214;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.quote-form button img {
  width: 21px;
  height: 21px;
  filter: brightness(0);
}

.quote-form__note {
  margin: 1px 0 0;
  color: #b9c6c7;
  text-align: center;
  font-size: 0.845rem;
}

.quote-form__required {
  margin: 0 0 1px;
  color: #dce6e7;
  font-size: 0.72rem;
  text-align: center;
}

.quote-form__field-group {
  display: grid;
}

.quote-form__field--invalid {
  border-color: #ff7d7d;
}

.quote-form__field [aria-invalid="true"] {
  color: var(--text);
}

.quote-form__error {
  min-height: 0;
  margin: 2px 8px 0;
  color: #ff9b9b;
  font-size: 0.7rem;
  line-height: 1.15;
}

.quote-form__error:empty {
  display: none;
}

.quote-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.quote-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.quote-form__status {
  min-height: 0;
  margin: 1px 0 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.quote-form__status:empty {
  display: none;
}

.quote-form__status--success {
  color: var(--accent);
}

.quote-form__status--error {
  color: #ff9b9b;
}

/* Desktop refinement — production and quote form */
@media (min-width: 821px) {
  .production__media {
    margin-left: clamp(24px, 2.2vw, 38px);
  }

  .production__content {
    padding: 8px 0;
  }

  .production__lead-time {
    min-height: 120px;
    padding: 13px 18px;
  }

  .quote-form__form {
    gap: 4px;
  }

  .quote-form__field {
    min-height: 38px;
  }

  .quote-form button {
    min-height: 40px;
  }
}

/* Services */
.services {
  padding: 12px var(--gutter);
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 4fr);
  gap: 24px;
  align-items: stretch;
  border-bottom: 1px solid rgba(16, 227, 234, 0.42);
}

.services__intro {
  padding: 2px 24px 0 0;
  border-right: 1px solid var(--accent);
}

.services__eyebrow {
  margin: 0 0 3px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.services__intro h2 {
  margin: 0 0 6px;
  font-size: 1.34rem;
  line-height: 0.98;
  text-transform: uppercase;
}

.services__intro > p:last-child {
  margin: 0;
  color: #dce6e7;
  font-size: 0.75rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service {
  min-height: 126px;
  padding: 8px 14px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service + .service {
  border-left: 1px solid rgba(16, 227, 234, 0.56);
}

.service img {
  width: 44px;
  height: 44px;
}

.service h3 {
  margin: 7px 0 4px;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.service p {
  margin: 0;
  color: #dce6e7;
  font-size: 0.7rem;
  line-height: 1.2;
}

/* Desktop refinement — services spacing */
@media (min-width: 821px) {
  .services {
    padding-top: 17px;
    padding-bottom: 17px;
  }

  .service {
    min-height: 130px;
  }
}


/* Desktop footer block alignment */
@media (min-width: 1181px) {
  .site-footer__brand {
    height: 100%;
    padding-inline: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-footer__address,
  .site-footer__contact {
    width: 100%;
    height: 100%;
    padding-inline: 24px;
    justify-content: center;
  }

  .site-footer__address {
    text-align: center;
  }

  .site-footer__contact {
    text-align: center;
  }

  .site-footer__claim {
    width: 100%;
    text-align: center;
    justify-self: stretch;
    align-self: center;
  }

  .site-footer__phone-link {
    min-height: 24px;
  }

  .site-footer__contact {
    gap: 4px;
  }
}

/* Footer */
.site-footer {
  min-height: 80px;
  padding: 8px var(--gutter);
  display: grid;
  grid-template-columns: 132px minmax(390px, 2.1fr) minmax(280px, 1fr) minmax(180px, 0.72fr);
  gap: 24px;
  align-items: center;
  background: rgba(4, 18, 21, 0.96);
}

.site-footer__brand {
  padding-right: 22px;
}

.site-footer__brand img {
  width: 94px;
  height: auto;
}

.site-footer__address,
.site-footer__contact {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #dce6e7;
  font-style: normal;
}

.site-footer__address img,
.site-footer__contact img {
  flex: 0 0 auto;
}

.site-footer__address {
  padding-right: 24px;
  font-size: 0.72rem;
}

.site-footer__address > span {
  display: grid;
  gap: 3px;
}

.site-footer__legal-id {
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.25;
}

.site-footer__contact {
  padding-right: 24px;
}

.site-footer__contact-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.site-footer__contact strong {
  font-size: 0.84rem;
}

.site-footer__contact small {
  color: var(--muted);
  font-size: 0.63rem;
  text-transform: uppercase;
}

.site-footer__whatsapp-link,
.site-footer__phone-link {
  color: inherit;
  text-decoration: none;
}

.site-footer__whatsapp-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-footer__phone-link {
  display: inline-block;
}

.site-footer__claim {
  margin: 0;
  color: #dce6e7;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* FASE 4 = desktop. Responsividade fina permanece reservada à FASE 6. */
@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 130px minmax(0, 1fr) auto auto;
    column-gap: 8px;
    padding-inline: clamp(14px, 2.4vw, 26px);
  }

  .site-header__services {
    transform: none;
  }

  .site-header__services strong {
    font-size: clamp(0.88rem, 1.55vw, 1rem);
  }

  .site-header__services span {
    font-size: clamp(0.72rem, 1.25vw, 0.82rem);
  }

  .site-header__whatsapp {
    display: flex;
    gap: 8px;
    transform: none;
  }

  .site-header__whatsapp img {
    width: 32px;
    height: 32px;
  }

  .site-header__whatsapp small {
    font-size: 0.68rem;
  }

  .site-header__whatsapp strong {
    font-size: 0.88rem;
  }

  .site-header__cta {
    gap: 8px;
    padding-inline: 10px;
    font-size: 0.68rem;
  }

  .production {
    grid-template-columns: minmax(250px, 0.8fr) minmax(300px, 1fr);
  }

  .quote-form {
    grid-column: 1 / -1;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .services__intro {
    border-right: 0;
    border-bottom: 1px solid var(--accent);
    padding: 0 0 12px;
  }

  .site-footer {
    grid-template-columns: 120px 1.7fr 1fr;
  }

  .site-footer__claim {
    display: none;
  }
}

@media (min-width: 821px) {
  .hero__benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 8px;
  }

  .hero-benefit,
  .hero-benefit + .hero-benefit,
  .hero-benefit--featured,
  .hero-benefit + .hero-benefit.hero-benefit--featured {
    width: 95%;
    justify-self: center;
  }

  .hero-benefit--featured {
    order: 0;
  }

  .hero-benefit:nth-child(2) {
    order: 1;
  }

  .hero-benefit:nth-child(3) {
    order: 2;
  }

  .hero-benefit:first-child {
    order: 3;
  }
}

@media (min-width: 600px) and (max-width: 820px) {
  .hero__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    column-gap: 8px;
    row-gap: 8px;
  }

  .hero-benefit,
  .hero-benefit + .hero-benefit,
  .hero-benefit--featured,
  .hero-benefit + .hero-benefit.hero-benefit--featured {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    padding: 8px 12px;
    justify-self: stretch;
  }

  .hero-benefit--featured {
    order: 0;
  }

  .hero-benefit:nth-child(3) {
    order: 1;
  }

  .hero-benefit:nth-child(2) {
    order: 2;
  }

  .hero-benefit:first-child {
    order: 3;
  }
}

/* =========================================================
   FASE 6 — MOBILE CONSOLIDADO
   Corte MDF — Cote Aqui
   ========================================================= */

@media (max-width: 599px) {
  :root {
    --gutter: 18px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    min-width: 0;
  }

  /* Header — composição mobile centralizada */
  .site-header {
    width: 100%;
    max-width: none;
    min-height: auto;
    margin: 0;
    padding: 18px var(--gutter) 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand brand"
      "services services"
      "whatsapp cta";
    column-gap: 12px;
    row-gap: 12px;
    align-items: center;
    justify-items: center;
    background: rgba(3, 15, 17, 0.98);
    border-bottom: 0;
  }

  .site-header__brand {
    grid-area: brand;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .site-header__logo {
    width: 116px;
    height: auto;
    transform: none;
  }

  .site-header__services {
    grid-area: services;
    width: 100%;
    margin-top: 0;
    display: grid;
    gap: 3px;
    justify-items: center;
    text-align: center;
    transform: none;
  }

  .site-header__services strong {
    color: var(--accent);
    font-size: 0.72rem;
    line-height: 1.08;
    letter-spacing: 0.045em;
  }

  .site-header__services span {
    color: #e3eded;
    font-size: 0.58rem;
    line-height: 1.15;
    letter-spacing: 0.035em;
    white-space: nowrap;
  }

  .site-header__whatsapp {
    grid-area: whatsapp;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin-top: 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transform: none;
    overflow: hidden;
    white-space: normal;
    border: 1px solid rgba(16, 227, 234, 0.42);
    border-radius: 9px;
    background: rgba(6, 29, 33, 0.58);
  }

  .site-header__whatsapp img {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
  }

  .site-header__whatsapp span {
    width: auto;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    line-height: 1;
  }

  .site-header__whatsapp > span > small:not(.site-header__whatsapp-note) {
    display: none;
  }

  .site-header__whatsapp-note {
    display: block;
    color: var(--text);
    font-size: 0.52rem;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    text-align: left;
    font-family: inherit;
  }

  .site-header__whatsapp strong {
    display: block;
    margin: 0;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
  }

  .site-header__cta {
    grid-area: cta;
    width: 100%;
    min-height: 48px;
    margin-top: 0;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.62rem;
    border-radius: 9px;
  }

  .site-header__cta img {
    width: 18px;
    height: 18px;
  }

  .site-header__cta span:first-of-type br {
    display: none;
  }

  /* Hero */
  .hero {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    max-width: none;
    min-height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #031316;
    border-bottom: 0;
  }

  .hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    z-index: 0;
    overflow: hidden;
  }

  .hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(
        180deg,
        rgba(2, 14, 16, 0.72) 0%,
        rgba(2, 14, 16, 0.54) 35%,
        rgba(2, 14, 16, 0.78) 72%,
        rgba(2, 14, 16, 0.92) 100%
      ),
      linear-gradient(
        90deg,
        rgba(2, 14, 16, 0.82) 0%,
        rgba(2, 14, 16, 0.50) 48%,
        rgba(2, 14, 16, 0.20) 100%
      );
    pointer-events: none;
  }

  .hero__media > img,
  .hero__media > picture > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    min-height: 0;
    object-fit: cover;
    object-position: 68% center;
    transform: none;
  }

  .hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 25px var(--gutter) 20px;
    display: flex;
    flex-direction: column;
  }

  .hero__overline {
    margin: 0 0 9px;
    font-size: 0.78rem;
    line-height: 1.15;
    letter-spacing: 0.13em;
  }

  .hero__title {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: clamp(2.75rem, 12.5vw, 3.8rem);
    line-height: 0.88;
    letter-spacing: -0.05em;
  }

  .hero__title span,
  .hero__title strong {
    display: block;
  }

  .hero__text {
    width: 100%;
    max-width: 21rem;
    margin: 17px 0 13px;
    font-size: 0.93rem;
    line-height: 1.42;
  }

  .hero__commercial-line {
    width: 100%;
    max-width: 21rem;
    margin: 0 0 17px;
    font-size: 0.96rem;
    line-height: 1.3;
    font-weight: 700;
  }

  .hero__benefits {
    width: 100%;
    max-width: none;
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-benefit,
  .hero-benefit + .hero-benefit {
    min-width: 0;
    min-height: 62px;
    margin: 0;
    padding: 9px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(16, 227, 234, 0.44);
    border-radius: 7px;
    background: rgba(2, 14, 16, 0.55);
  }

  .hero-benefit img {
    width: 30px;
    height: 30px;
  }

  .hero-benefit strong {
    min-width: 0;
    font-size: 0.62rem;
    line-height: 1.12;
  }

  .hero-benefit--featured,
  .hero-benefit + .hero-benefit.hero-benefit--featured {
    grid-column: auto;
    min-height: 62px;
    margin: 0;
    padding: 9px;
    grid-template-columns: 32px minmax(0, 1fr);
    border: 1px solid var(--accent);
    border-radius: 7px;
    background: rgba(16, 227, 234, 0.11);
    box-shadow:
      inset 0 0 24px rgba(16, 227, 234, 0.07),
      0 0 18px rgba(16, 227, 234, 0.12);
  }

  .hero-benefit--featured img {
    width: 30px;
    height: 30px;
  }

  .hero-benefit--featured strong {
    font-size: 0.58rem;
    line-height: 1.1;
  }

  .hero-benefit--featured {
    order: 0;
  }

  .hero-benefit:nth-child(3) {
    order: 1;
  }

  .hero-benefit:nth-child(2) {
    order: 2;
  }

  .hero-benefit:first-child {
    order: 3;
  }

  /* Produção / MDF */
  .production {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 16px var(--gutter) 20px;
    display: grid !important;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) !important;
    grid-template-areas:
      "media content"
      "form form";
    gap: 14px 12px;
    align-items: stretch;
    border-bottom: 0;
  }

  .production__media {
    grid-area: media;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 8px;
  }

  .production__media img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    object-position: center;
  }

  .production__content {
    grid-area: content;
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .production__content h2 {
    margin: 0 0 9px;
    font-size: clamp(1.38rem, 5.7vw, 1.78rem);
    line-height: 0.94;
    letter-spacing: -0.04em;
  }

  .production__content > p {
    margin: 0 0 12px;
    font-size: 0.64rem;
    line-height: 1.38;
    letter-spacing: 0.14em;
  }

  .production__lead-time {
    width: 100%;
    min-height: 96px;
    margin-top: auto;
    padding: 10px;
    display: grid;
    grid-template-columns: 40px auto;
    gap: 5px 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .production__lead-time img {
    width: 38px;
    height: 38px;
  }

  .production__lead-time span {
    font-size: 0.61rem;
    line-height: 1.08;
    text-align: left;
  }

  .production__lead-time strong {
    grid-column: 1 / -1;
    justify-self: center;
    font-size: clamp(1.55rem, 7vw, 2.1rem);
    white-space: nowrap;
  }

  .quote-form {
    grid-area: form;
    grid-column: auto !important;
    width: 100%;
  }

  /* Formulário */
  .quote-form {
    width: 100%;
    grid-column: auto;
    border-radius: 8px;
  }

  .quote-form--mobile-end {
    width: calc(100% - (2 * var(--gutter)));
    margin: 0 var(--gutter) 20px;
    grid-area: auto;
  }

  .quote-form__header {
    min-height: 44px;
    padding: 9px 12px;
    gap: 10px;
  }

  .quote-form__header h2 {
    font-size: 0.91rem;
  }

  .quote-form__header img {
    width: 21px;
    height: 21px;
  }

  .quote-form__form {
    padding: 8px 10px 10px;
    gap: 6px;
  }

  .quote-form__required {
    font-size: 0.66rem;
  }

  .quote-form__field {
    min-height: 42px;
    padding: 0 9px;
    grid-template-columns: 24px auto minmax(0, 1fr);
    gap: 6px;
  }

  .quote-form__field img {
    width: 20px;
    height: 20px;
  }

  .quote-form__field span {
    font-size: 0.78rem;
  }

  .quote-form__field input,
  .quote-form__field textarea {
    min-width: 0;
    font-size: 0.9rem;
  }

  .quote-form__field--message {
    padding-top: 8px;
    padding-bottom: 8px;
    grid-template-columns: 24px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    row-gap: 4px;
  }

  .quote-form__field--message img {
    grid-column: 1;
    grid-row: 1;
  }

  .quote-form__field--message span {
    grid-column: 2;
    grid-row: 1;
  }

  .quote-form__field--message textarea {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    min-height: 52px;
    padding-top: 2px;
  }

  .quote-form button {
    min-height: 44px;
    font-size: 0.86rem;
  }

  .quote-form__note {
    font-size: 0.73rem;
  }

  /* Serviços */
  .services {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 20px var(--gutter);
    display: block;
    border-bottom: 0;
  }

  .services__intro {
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 227, 234, 0.45);
  }

  .services__eyebrow {
    font-size: 0.7rem;
  }

  .services__intro h2 {
    margin: 3px 0 8px;
    font-size: 1.8rem;
    line-height: 0.98;
  }

  .services__intro > p:last-child {
    font-size: 0.8rem;
  }

  .services__grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .service,
  .service + .service {
    min-width: 0;
    min-height: 128px;
    padding: 12px 8px;
    border: 1px solid rgba(16, 227, 234, 0.48);
    border-radius: 8px;
    background: rgba(6, 29, 33, 0.55);
  }


  .service img {
    width: 40px;
    height: 40px;
  }

  .service h3 {
    margin: 7px 0 4px;
    font-size: 0.78rem;
  }

  .service p {
    font-size: 0.68rem;
  }

  /* Footer */
  .site-footer {
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 18px var(--gutter);
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-areas:
      "brand address"
      "claim claim";
    gap: 12px 10px;
    align-items: center;
  }

  .site-footer__brand {
    grid-area: brand;
    padding: 0;
    border-right: 0;
    border-bottom: 0;
    align-self: end;
  }

  .site-footer__brand img {
    width: 92px;
  }

  .site-footer__address {
    grid-area: address;
    align-self: center;
    padding: 0;
    border-right: 0;
    border-bottom: 0;
    font-size: 0.72rem;
    transform: translateY(-2px);
  }

  .site-footer__contact {
    display: none;
  }

  .site-footer__claim {
    grid-area: claim;
    width: 100%;
    padding: 0;
    border: 0;
    display: flex;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    font-size: 0.64rem;
    line-height: 1.1;
  }

  .site-footer__contact strong {
    font-size: 0.82rem;
  }

  .site-footer__contact small {
    font-size: 0.61rem;
  }

  .site-footer__claim {
    display: block;
    font-size: 0.62rem;
  }

  .site-footer__claim br {
    display: none;
  }
}

@media (max-width: 420px) {
  :root {
    --gutter: 16px;
  }

  .site-header {
    padding-inline: var(--gutter);
    column-gap: 8px;
  }

  .site-header__logo {
    width: 111px;
  }

  .site-header__services strong {
    font-size: 0.69rem;
  }

  .site-header__services span {
    font-size: 0.54rem;
  }

  .site-header__whatsapp {
    min-height: 48px;
    padding: 8px 9px;
    gap: 7px;
  }

  .site-header__whatsapp img {
    width: 23px;
    height: 23px;
  }

  .site-header__whatsapp-note {
    font-size: 0.52rem;
  }

  .site-header__whatsapp strong {
    font-size: 0.62rem;
  }

  .site-header__cta {
    padding-inline: 7px;
    gap: 6px;
    font-size: 0.56rem;
  }

  .hero__title {
    font-size: clamp(2.6rem, 12.2vw, 3.25rem);
  }

  .hero__media > img {
    object-position: 68% center;
  }

  .hero__text {
    font-size: 0.9rem;
  }

  .hero__commercial-line {
    font-size: 0.92rem;
  }

  .hero-benefit strong {
    font-size: 0.59rem;
  }

  .hero-benefit--featured strong {
    font-size: 0.64rem;
  }

  .quote-form__field {
    grid-template-columns: 22px auto minmax(0, 1fr);
  }

  .quote-form__field span {
    font-size: 0.73rem;
  }
}


/* WhatsApp floating action — W-B */
.whatsapp-float {
  --whatsapp-base-bottom: 20px;
  position: fixed;
  right: max(20px, calc((100vw - var(--page-max)) / 2 + 20px));
  bottom: var(--whatsapp-base-bottom);
  z-index: 1000;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}


.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.whatsapp-float img {
  width: 58px;
  height: 58px;
  display: block;
}

@media (max-width: 599px) {
  .whatsapp-float {
    --whatsapp-base-bottom: 14px;
    right: 14px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float img {
    width: 54px;
    height: 54px;
  }
}


/* TOUCH TARGET REFINEMENT — minimum comfortable interactive area */
.site-header__whatsapp-link,
.site-footer__whatsapp-link {
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

.site-header__phone-link,
.site-footer__phone-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.quote-form__field {
  min-height: 44px;
}

.quote-form__field input {
  min-height: 44px;
}

.quote-form__field textarea {
  min-height: 52px;
}

.quote-form button {
  min-height: 44px;
}


/* =========================================================
   LAB — PRIVACIDADE / LGPD VISUAL TEST
   ========================================================= */
.quote-form__privacy {
  margin: 2px 0 4px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.quote-form__privacy a,
.site-footer__privacy,
.privacy-page a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.quote-form__privacy a,
.site-footer__privacy,
.privacy-page__footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.quote-form__privacy a {
  padding-inline: 2px;
}

.quote-form__privacy a:focus-visible,
.site-footer__privacy:focus-visible,
.privacy-page a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.site-footer__privacy {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: -2px;
  font-size: 0.66rem;
  font-weight: 700;
}

.privacy-page {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 34px var(--gutter) 56px;
}

.privacy-page__notice {
  margin: 0 0 28px;
  padding: 14px 16px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: rgba(16, 227, 234, 0.08);
  color: var(--text);
  font-weight: 800;
}

.privacy-page__back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 26px;
  font-weight: 800;
}

.privacy-page h1 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 0.98;
}

.privacy-page__updated {
  margin: 0 0 28px;
  color: var(--muted);
}

.privacy-page section {
  margin-top: 30px;
}

.privacy-page h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.22rem;
}

.privacy-page p,
.privacy-page li {
  color: #dce6e7;
  line-height: 1.65;
}

.privacy-page ul {
  padding-left: 22px;
}

.privacy-page__placeholder {
  color: var(--accent);
  font-weight: 800;
}

.privacy-page__footer {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

@media (max-width: 599px) {
  .quote-form__privacy {
    font-size: 0.66rem;
  }

  .site-footer__privacy {
    grid-area: auto;
    grid-column: 1 / -1;
    margin-top: 0;
    font-size: 0.66rem;
  }

  .privacy-page {
    padding-top: 24px;
  }
}

/* HERO DESKTOP — imagem em fundo integral, como no hero mobile */
@media (min-width: 821px) {
  .hero {
    position: relative;
    isolation: isolate;
    display: block;
    grid-template-columns: none;
    overflow: hidden;
    background: #031316;
  }

  .hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    overflow: hidden;
  }

  .hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(
        180deg,
        rgba(2, 14, 16, 0.72) 0%,
        rgba(2, 14, 16, 0.54) 35%,
        rgba(2, 14, 16, 0.78) 72%,
        rgba(2, 14, 16, 0.92) 100%
      ),
      linear-gradient(
        90deg,
        rgba(2, 14, 16, 0.82) 0%,
        rgba(2, 14, 16, 0.50) 48%,
        rgba(2, 14, 16, 0.20) 100%
      );
    pointer-events: none;
  }

  .hero__media > picture {
    display: contents;
  }

  .hero__media > img,
  .hero__media > picture > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    min-height: 0;
    object-fit: cover;
    object-position: 68% center;
    transform: none;
  }

  .hero__content {
    position: relative;
    z-index: 2;
    width: 68%;
    min-width: 0;
    align-self: auto;
  }
}



/* FOOTER DESKTOP — refine contact helper text */
@media (min-width: 1181px) {
  .site-footer__contact small {
    font-size: 0.68rem;
    line-height: 1.2;
    letter-spacing: 0.03em;
  }
}

/* HERO DESKTOP — headline em uma única linha */
@media (min-width: 821px) {
  .hero__title {
    display: flex;
    align-items: baseline;
    gap: 0.18em;
    white-space: nowrap;
    font-size: clamp(2rem, 3.9vw, 4.15rem);
    line-height: 1;
  }

  .hero__title span,
  .hero__title strong {
    display: inline;
  }
}


/* HERO INTERMEDIÁRIO — 821 a 1180 px */
@media (min-width: 821px) and (max-width: 1180px) {
  .hero {
    padding-inline: clamp(24px, 3vw, 36px);
  }

  .hero__content {
    width: 100%;
  }

  .hero__title,
  .hero__text,
  .hero__commercial-line {
    max-width: 68%;
  }

  .hero__benefits {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 10px;
  }

  .hero-benefit,
  .hero-benefit + .hero-benefit,
  .hero-benefit--featured,
  .hero-benefit + .hero-benefit.hero-benefit--featured {
    width: 100%;
    min-width: 0;
    margin: 0;
    justify-self: stretch;
  }
}


/* PRODUCTION INTERMEDIÁRIA — deslocamento conjunto 10px à esquerda */
@media (min-width: 821px) and (max-width: 1180px) {
  .production__media,
  .production__content {
    transform: translateX(-10px);
  }
}


/* FOOTER DESKTOP — linha de contato e mensagem centralizadas de forma independente */
@media (min-width: 1181px) {
  .site-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    text-align: center;
  }

  .site-footer__contact-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .site-footer__whatsapp-link {
    min-width: 30px;
    min-height: 30px;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .site-footer__whatsapp-link img {
    width: 30px;
    height: 30px;
  }

  .site-footer__phone-link {
    min-height: 30px;
    margin: 0;
    white-space: nowrap;
    line-height: 1.2;
  }

  .site-footer__contact small {
    margin: 0;
    width: 100%;
    text-align: center;
    line-height: 1.2;
  }
}


/* PRODUCTION DESKTOP — centraliza conteúdo vertical e mantém 70px entre texto e prazo */
@media (min-width: 1181px) {
  .production__content {
    justify-content: center;
  }

  .production__content > p {
    margin-bottom: 0;
  }

  .production__lead-time {
    margin-top: 70px;
  }
}


/* HERO TABLET — 768 a 820 px
   mantém composição tablet, mas com imagem em fundo integral */
@media (min-width: 600px) and (max-width: 820px) {
  .hero {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #031316;
  }

  .hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    overflow: hidden;
  }

  .hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(
        180deg,
        rgba(2, 14, 16, 0.72) 0%,
        rgba(2, 14, 16, 0.54) 35%,
        rgba(2, 14, 16, 0.78) 72%,
        rgba(2, 14, 16, 0.92) 100%
      ),
      linear-gradient(
        90deg,
        rgba(2, 14, 16, 0.82) 0%,
        rgba(2, 14, 16, 0.50) 48%,
        rgba(2, 14, 16, 0.20) 100%
      );
    pointer-events: none;
  }

  .hero__media > picture {
    display: contents;
  }

  .hero__media > img,
  .hero__media > picture > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    min-height: 0;
    object-fit: cover;
    object-position: 68% center;
    transform: none;
  }

  .hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
  }
}


/* ANALYTICS MÍNIMO — consentimento explícito, sem CMP/GTM */
.analytics-consent {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 2000;
  display: grid;
  place-items: center;
}

.analytics-consent[hidden] {
  display: none;
}

.analytics-consent__content {
  width: min(100%, 760px);
  padding: 16px;
  border: 1px solid rgba(16, 227, 234, 0.55);
  border-radius: 10px;
  background: #071c20;
  color: var(--text);
  box-shadow: var(--shadow);
}

.analytics-consent__content p {
  margin: 0 0 12px;
  color: #dce6e7;
  line-height: 1.45;
}

.analytics-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.analytics-consent button,
.site-footer__analytics-preferences {
  min-height: 44px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

#analytics-accept {
  background: var(--accent);
  color: #021012;
}

#analytics-reject,
.site-footer__analytics-preferences {
  background: transparent;
  color: var(--accent);
}

.analytics-consent a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.site-footer__analytics-preferences {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: -4px;
  font-size: 0.66rem;
}

@media (max-width: 599px) {
  .analytics-consent {
    inset: auto 10px 10px;
  }

  .analytics-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer__analytics-preferences {
    grid-area: auto;
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

/* V4.2 — tablet 768–820: preservar footer original e corrigir somente contato comprimido */
@media (min-width: 600px) and (max-width: 820px) {
  .site-footer {
    grid-template-columns: 110px minmax(0, 1fr) minmax(290px, 1.08fr);
    gap: 12px;
    padding-inline: 18px;
  }

  .site-footer__brand {
    padding-right: 12px;
  }

  .site-footer__address {
    min-width: 0;
    padding-right: 12px;
    gap: 8px;
    font-size: 0.68rem;
  }

  .site-footer__legal-id {
    font-size: 0.61rem;
  }

  .site-footer__contact {
    min-width: 0;
    padding-right: 10px;
    gap: 8px;
  }

  .site-footer__contact-main {
    flex: 0 0 auto;
    gap: 7px;
  }

  .site-footer__whatsapp-link {
    flex: 0 0 30px;
    min-width: 30px;
    min-height: 30px;
  }

  .site-footer__whatsapp-link img {
    width: 30px;
    height: 30px;
  }

  .site-footer__phone-link {
    min-height: 30px;
    white-space: nowrap;
  }

  .site-footer__contact strong {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .site-footer__contact small {
    max-width: 92px;
    font-size: 0.57rem;
    line-height: 1.15;
    text-align: left;
  }
}

/* Header 600–699 — composição aprovada de 599, isolada por componente e faixa */
@media (min-width: 600px) and (max-width: 699px) {
  .site-header {
    width: 100%;
    max-width: none;
    min-height: auto;
    margin: 0;
    padding: 18px var(--gutter) 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand brand"
      "services services"
      "whatsapp cta";
    column-gap: 12px;
    row-gap: 12px;
    align-items: center;
    justify-items: center;
    background: rgba(3, 15, 17, 0.98);
    border-bottom: 0;
  }

  .site-header__brand {
    grid-area: brand;
    width: 100%;
    display: flex;
    justify-content: center;
    justify-self: auto;
  }

  .site-header__logo {
    width: 116px;
    height: auto;
    transform: none;
  }

  .site-header__services {
    grid-area: services;
    width: 100%;
    margin-top: 0;
    display: grid;
    gap: 3px;
    justify-items: center;
    justify-self: auto;
    text-align: center;
    transform: none;
  }

  .site-header__services strong {
    color: var(--accent);
    font-size: 0.72rem;
    line-height: 1.08;
    letter-spacing: 0.045em;
  }

  .site-header__services span {
    color: #e3eded;
    font-size: 0.58rem;
    line-height: 1.15;
    letter-spacing: 0.035em;
    white-space: nowrap;
  }

  .site-header__whatsapp {
    grid-area: whatsapp;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin-top: 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: auto;
    gap: 10px;
    transform: none;
    overflow: hidden;
    white-space: normal;
    border: 1px solid rgba(16, 227, 234, 0.42);
    border-radius: 9px;
    background: rgba(6, 29, 33, 0.58);
  }

  .site-header__whatsapp img {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
  }

  .site-header__whatsapp span {
    width: auto;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    line-height: 1;
  }

  .site-header__whatsapp > span > small:not(.site-header__whatsapp-note) {
    display: none;
  }

  .site-header__whatsapp-note {
    display: block;
    color: var(--text);
    font-size: 0.52rem;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    text-align: left;
    font-family: inherit;
  }

  .site-header__whatsapp strong {
    display: block;
    margin: 0;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
  }

  .site-header__cta {
    grid-area: cta;
    width: 100%;
    min-height: 48px;
    margin-top: 0;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: auto;
    gap: 8px;
    font-size: 0.62rem;
    border-radius: 9px;
  }

  .site-header__cta img {
    width: 18px;
    height: 18px;
  }

  .site-header__cta span:first-of-type br {
    display: none;
  }
}

/* V4.3 — tablet 768–820: centralizar cabeçalho de serviços */
@media (min-width: 600px) and (max-width: 1180px) {
  .services__intro,
  .services__eyebrow,
  .services__intro h2,
  .services__intro > p:last-child {
    text-align: center;
  }

  .services__intro h2 {
    white-space: nowrap;
    font-size: 1.34rem;
  }

  .services__intro h2 br {
    display: none;
  }
}


/* FOOTER MOBILE — 320–599 px
   Escopo isolado por componente/faixa. 600px+ permanece intocado. */
@media (min-width: 320px) and (max-width: 599px) {
  .site-footer {
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 18px var(--gutter) 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "address"
      "contact"
      "claim"
      "analytics";
    gap: 12px;
    align-items: center;
    justify-items: center;
  }

  .site-footer__brand {
    grid-area: brand;
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-self: auto;
  }

  .site-footer__brand img {
    width: 92px;
    height: auto;
  }

  .site-footer__address {
    grid-area: address;
    width: min(100%, 520px);
    min-width: 0;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    text-align: center;
    font-size: 0.7rem;
    line-height: 1.35;
    transform: none;
  }

  .site-footer__address > span {
    min-width: 0;
    justify-items: center;
  }

  .site-footer__address img {
    width: 24px;
    height: 24px;
    margin-top: 1px;
  }

  .site-footer__legal-id {
    font-size: 0.62rem;
    line-height: 1.3;
    text-align: center;
  }

  .site-footer__contact {
    grid-area: contact;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
  }

  .site-footer__contact-main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
  }

  .site-footer__whatsapp-link {
    flex: 0 0 28px;
    width: 28px;
    min-width: 28px;
    min-height: 28px;
  }

  .site-footer__whatsapp-link img {
    width: 28px;
    height: 28px;
  }

  .site-footer__phone-link {
    min-height: 28px;
    margin: 0;
    white-space: nowrap;
    line-height: 1.15;
  }

  .site-footer__contact strong {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .site-footer__contact small {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: 0.58rem;
    line-height: 1.2;
    text-align: center;
  }

  .site-footer__claim {
    grid-area: claim;
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    font-size: 0.61rem;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .site-footer__claim br {
    display: none;
  }

  .site-footer__analytics-preferences {
    grid-area: analytics;
    grid-column: 1;
    justify-self: center;
    margin: 0;
  }
}


/* SERVICES MOBILE — 320–599 px
   Layout compacto: 3 cards na primeira row + 2 cards centralizados na segunda.
   Escopo isolado por componente/faixa; 600px+ permanece intocado. */
@media (min-width: 320px) and (max-width: 599px) {
  .services__intro,
  .services__eyebrow,
  .services__intro h2,
  .services__intro > p:last-child {
    text-align: center;
  }

  .services__intro h2 {
    margin: 0 0 7px;
    font-size: clamp(1.28rem, 5vw, 1.62rem);
    line-height: 1.02;
    white-space: normal;
  }

  .services__intro h2 br {
    display: none;
  }

  .services__intro > p:last-child {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.28;
  }

  .services__grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }

  .service,
  .service + .service {
    grid-column: span 2;
    min-width: 0;
    min-height: 104px;
    padding: 9px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .service:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .service:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .service img {
    width: 34px;
    height: 34px;
  }

  .service h3 {
    margin: 6px 0 3px;
    font-size: 0.7rem;
    line-height: 1.08;
    text-align: center;
  }

  .service p {
    margin: 0;
    font-size: 0.6rem;
    line-height: 1.18;
    text-align: center;
  }
}


/* FORM MOBILE — 320–599 px
   Formulário ocupa a largura total da grade de produção. */
@media (min-width: 320px) and (max-width: 599px) {
  .production > .quote-form {
    grid-area: form;
    grid-column: 1 / -1 !important;
    width: 100%;
    min-width: 0;
  }
}


/* PRODUCTION 600–830 px
   Replica a composição aprovada em 599px somente neste componente/faixa.
   599px e 831px+ permanecem fora deste escopo. */
@media (min-width: 600px) and (max-width: 830px) {
  .production {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 16px var(--gutter) 20px;
    display: grid !important;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) !important;
    grid-template-areas:
      "media content"
      "form form";
    gap: 14px 12px;
    align-items: stretch;
    border-bottom: 0;
  }

  .production__media {
    grid-area: media;
    min-width: 0;
    min-height: 0;
    margin-left: 0;
    overflow: hidden;
    border-radius: 8px;
    transform: none;
  }

  .production__media img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    object-position: center;
  }

  .production__content {
    grid-area: content;
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    transform: none;
  }

  .production__content h2 {
    margin: 0 0 9px;
    font-size: clamp(1.38rem, 3.4vw, 1.78rem);
    line-height: 0.94;
    letter-spacing: -0.04em;
  }

  .production__content > p {
    margin: 0 0 12px;
    font-size: 0.64rem;
    line-height: 1.38;
    letter-spacing: 0.14em;
  }

  .production__lead-time {
    width: 100%;
    min-height: 96px;
    margin-top: auto;
    padding: 10px;
    display: grid;
    grid-template-columns: 40px auto;
    gap: 5px 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .production__lead-time img {
    width: 38px;
    height: 38px;
  }

  .production__lead-time span {
    font-size: 0.61rem;
    line-height: 1.08;
    text-align: left;
  }

  .production__lead-time strong {
    grid-column: 1 / -1;
    justify-self: center;
    font-size: clamp(1.55rem, 4vw, 2.1rem);
    white-space: nowrap;
  }

  .production > .quote-form {
    grid-area: form;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
}


/* HEADER ACTION CARDS 320–699 px
   Equaliza somente a altura dos dois cards de ação. 700px+ permanece intocado. */
@media (min-width: 320px) and (max-width: 699px) {
  .site-header__whatsapp,
  .site-header__cta {
    height: 48px;
    min-height: 48px;
    box-sizing: border-box;
  }
}


/* PRODUCTION MDF IMAGE 831–1125 px
   Preserva a proporção natural da imagem para impedir recorte progressivo.
   Escopo exclusivo da mídia; 830px e 1126px+ permanecem intocados. */
@media (min-width: 831px) and (max-width: 1125px) {
  .production__media {
    min-height: 0;
    aspect-ratio: 320 / 185;
    align-self: start;
  }

  .production__media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }
}


/* HEADER CTA 320–399 px
   Permite quebra do texto em duas linhas preservando a altura do card.
   400px+ permanece intocado. */
@media (min-width: 320px) and (max-width: 399px) {
  .site-header__whatsapp {
    padding-inline: 6px;
    gap: 6px;
  }

  .site-header__whatsapp > * {
    transform: translateX(-3px);
  }

  .site-header__whatsapp strong {
    white-space: nowrap;
  }

  .site-header__cta {
    height: 48px;
    min-height: 48px;
    padding-inline: 8px;
  }

  .site-header__cta span {
    white-space: normal;
    text-align: center;
    line-height: 1.05;
  }
}


/* FOOTER CONTACT 821–1180 px
   Centraliza ícone + telefone como conjunto e helper text abaixo.
   Escopo exclusivo do bloco de contato; restante do footer permanece intocado. */
@media (min-width: 821px) and (max-width: 1180px) {
  .site-footer__contact {
    min-width: 0;
    padding-right: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
  }

  .site-footer__contact-main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
  }

  .site-footer__whatsapp-link {
    flex: 0 0 30px;
    width: 30px;
    min-width: 30px;
    min-height: 30px;
  }

  .site-footer__whatsapp-link img {
    width: 30px;
    height: 30px;
  }

  .site-footer__phone-link {
    min-height: 30px;
    margin: 0;
    white-space: nowrap;
    line-height: 1.15;
  }

  .site-footer__contact strong {
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .site-footer__contact small {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: 0.70rem;
    line-height: 1.18;
    text-align: center;
  }

  .site-footer__contact small span {
    display: block;
  }
}


/* CONSENT BAR 7A — narrow, non-modal, both decisions equally prominent.
   Does not change layout/header/footer responsiveness. */
.analytics-consent {
  inset: auto 12px 12px;
  display: block;
  pointer-events: none;
}
.analytics-consent__content {
  width: min(100%, 940px);
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  border: 1px solid rgba(16,227,234,.32);
  border-radius: 8px;
  background: #071c20;
  box-shadow: 0 5px 18px rgba(0,0,0,.38);
  pointer-events: auto;
}
.analytics-consent__content p {
  flex: 1 1 370px;
  min-width: 0;
  margin: 0;
  font-size: .75rem;
  line-height: 1.35;
}
.analytics-consent__actions {
  flex: 0 1 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.analytics-consent__actions button {
  min-width: 125px;
  min-height: 40px;
  padding: 7px 10px;
  font-size: .75rem;
  font-weight: 700;
}
#analytics-reject, #analytics-accept {
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
}
#analytics-reject:hover, #analytics-accept:hover,
#analytics-reject:focus-visible, #analytics-accept:focus-visible {
  background: var(--accent);
  color: #021012;
}
@media (max-width: 599px) {
  .analytics-consent { inset: auto 8px 8px; }
  .analytics-consent__content { padding: 9px 10px; gap: 8px; }
  .analytics-consent__content p { flex: 1 1 100%; font-size: .68rem; }
  .analytics-consent__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .analytics-consent__actions button { width: 100%; min-width: 0; padding: 7px 4px; font-size: .68rem; }
}


/* CONSENT CARD 7A — left lower corner, non-modal.
   Override only consent component; protect previously approved landing layout. */
.analytics-consent {
  inset: auto auto 14px 14px;
  width: min(340px, calc(100vw - 28px));
  display: block;
  pointer-events: none;
}
.analytics-consent__content {
  width: 100%;
  margin: 0;
  padding: 14px;
  display: block;
  border: 1px solid rgba(16,227,234,.32);
  border-radius: 10px;
  background: #071c20;
  box-shadow: 0 6px 22px rgba(0,0,0,.35);
  pointer-events: auto;
}
.analytics-consent__content p {
  margin: 0 0 10px;
  font-size: .75rem;
  line-height: 1.42;
}
.analytics-consent__actions {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 8px;
  margin: 0;
}
.analytics-consent__actions button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 6px;
  font-size: .74rem;
}
@media (max-width: 599px) {
  .analytics-consent {
    inset: auto auto 8px 8px;
    width: min(320px, calc(100vw - 16px));
  }
  .analytics-consent__content { padding: 11px; }
  .analytics-consent__content p { font-size: .70rem; }
  .analytics-consent__actions { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}

/* CONSENT CARD 7B — explicit policy link; no form overlay at intermediate widths. */
.analytics-consent__content .analytics-consent__policy {
  margin: 0 0 10px;
  line-height: 1.4;
}
.analytics-consent__policy a {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
}
/* At intermediate layouts, place card in page flow after footer, aligned left.
   A fixed overlay at these widths intersects the approved quotation form. */
@media (min-width: 700px) and (max-width: 1180px) {
  .analytics-consent {
    position: relative;
    inset: auto;
    margin: 12px 14px;
    pointer-events: auto;
  }
}
