/* Homepage CorruTech — carregado apenas em is_front_page(). Tokens em style.css (:root). */

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: clamp(6px, .9vw, 12px);
  background: var(--color-accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: min(78vh, 700px);
  padding-block: clamp(48px, 7vw, 96px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  z-index: 1;
}

.hero-copy .lead {
  max-width: 34em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex: none;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-media img {
  width: 100%;
  max-width: 560px;
  height: auto;
}

@media (max-width: 899.98px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: clamp(32px, 6vw, 48px);
  }

  .hero-media img {
    max-width: 440px;
  }
}

/* ===== CREDENCIAIS ===== */
.creds {
  background: var(--color-panel);
  border-block: 1px solid var(--color-border);
}

.creds-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-block: clamp(28px, 4vw, 44px);
}

.cred {
  background: var(--color-tile);
  border-left: 6px solid var(--color-accent);
  color: #fff;
  padding: 22px 18px 20px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.cred strong {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.05;
  letter-spacing: -.01em;
}

.cred strong.sm {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
}

.cred span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.55;
  color: #e9ecef;
}

@media (max-width: 639.98px) {
  .creds-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cred {
    min-height: 130px;
  }

  .cred:last-child {
    grid-column: 1 / -1;
  }
}

/* ===== QUEM SOMOS ===== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-media::after {
  content: "";
  position: absolute;
  inset: auto auto -14px -14px;
  width: 42%;
  height: 42%;
  border-left: 6px solid var(--color-accent);
  border-bottom: 6px solid var(--color-accent);
  z-index: -1;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-copy p.strong {
  font-weight: 700;
  color: var(--color-ink);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.pillar {
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  padding: 18px 16px;
  background: #fff;
}

.pillar h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.3;
  margin-bottom: 6px;
}

.pillar p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-muted);
}

@media (max-width: 899.98px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }

  .about-media img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 639.98px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* ===== PRODUTOS ===== */
.products {
  background: var(--color-panel);
}

.prod-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.prod-head .section-head {
  margin: 0;
}

.prod-head-note {
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-muted);
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow .25s, translate .25s, border-color .25s, opacity .6s ease, transform .6s ease;
}

.pcard:hover {
  box-shadow: 0 22px 44px -22px rgba(28, 36, 40, .35);
  translate: 0 -3px;
  border-color: #d5dadf;
}

.pcard-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: radial-gradient(120% 90% at 50% 35%, #fff 0%, #eef0f2 55%, #dee2e6 100%);
  overflow: hidden;
}

.pcard-media img {
  position: absolute;
  inset: 10% 12% 12%;
  width: 76%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 16px 16px rgba(28, 36, 40, .25));
  transition: transform .4s ease;
}

.pcard:hover .pcard-media img {
  transform: scale(1.04);
}

.pcard-media img.photo {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.pcard-media .seal {
  inset: 12px 12px auto auto;
  width: 84px;
  height: auto;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35));
  transform: none !important;
}

.pcard-line {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-ink);
  background: rgba(255, 255, 255, .92);
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

.pcard-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px 22px;
  flex: 1;
}

.pcard h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-ink);
}

.pcard h3 small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0;
}

.pcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pcard-tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.pcard-use {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-muted);
}

.pcard-use b {
  color: var(--color-text);
  font-weight: 700;
}

.pcard-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.pcard-foot .more {
  flex: 1;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  font-size: 14px;
}

.pcard-foot .more svg {
  width: 18px;
  height: 18px;
}

.pcard-foot .quote {
  flex: none;
  width: 44px;
  min-height: 44px;
  padding: 0;
  background: #fff;
  border-color: var(--color-border);
  color: var(--color-wa-dark);
}

.pcard-foot .quote:hover {
  border-color: var(--color-wa);
  background: #f0fbf4;
}

.pcard-foot .quote svg {
  width: 22px;
  height: 22px;
}

/* card inteiro clicavel abre a ficha; o botao do WhatsApp fica acima */
.pcard .more::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pcard .quote {
  position: relative;
  z-index: 1;
}

.pcard:hover .more {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.pcard.is-top {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.pcard.is-top .pcard-line {
  background: var(--color-accent);
  color: #fff;
}

.detail {
  display: none;
}

.swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}

.sw-amarelo { background: #f4cc00; }
.sw-laranja { background: #f07a1a; }
.sw-vermelho { background: #c8102e; }
.sw-azul { background: #1f5bb0; }

/* bobinas de mangueira (ilustracao CSS enquanto nao ha foto) */
.coils {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coil {
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0 -3.5%;
  background: repeating-radial-gradient(circle, var(--c) 0 5px, color-mix(in srgb, var(--c) 70%, #000) 5px 7px);
  -webkit-mask: radial-gradient(circle, transparent 0 31%, #000 32%);
  mask: radial-gradient(circle, transparent 0 31%, #000 32%);
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .3));
}

.coil:nth-child(2) {
  transform: translateY(-6%);
}

.coil-amarelo { --c: #f2c500; }
.coil-vermelho { --c: #c8102e; }
.coil-azul { --c: #1f5bb0; }

.prod-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(20px, 2.4vw, 28px);
  padding: clamp(22px, 2.6vw, 30px) clamp(20px, 3vw, 36px);
  background: var(--color-accent-dark);
  color: #fff;
  border-radius: var(--radius-card);
}

.prod-cta p {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.4;
  max-width: 44ch;
}

@media (max-width: 1023.98px) {
  .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639.98px) {
  .prod-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pcard {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .pcard-media {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .pcard-media img {
    inset: 8%;
    width: 84%;
    height: 84%;
  }

  .pcard-media .seal {
    inset: auto auto 8px 8px;
    width: 56px;
  }

  .pcard-line,
  .pcard-use {
    display: none;
  }

  .pcard-body {
    padding: 16px 14px 14px;
    gap: 10px;
  }

  .pcard h3 {
    font-size: 19px;
  }

  .pcard h3 small {
    font-size: 13px;
  }

  .pcard-tags li {
    min-height: 26px;
    padding: 0 8px;
    font-size: 12px;
  }

  .pcard-foot {
    padding-top: 10px;
  }

  .pcard-foot .more {
    min-height: 42px;
    font-size: 13px;
    padding: 0 12px;
    white-space: nowrap;
    justify-content: center;
  }

  .pcard-foot .more svg {
    display: none;
  }

  .pcard-foot .quote {
    width: 42px;
    min-height: 42px;
  }
}

/* ===== FICHA TECNICA (MODAL) ===== */
.sheet {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
  overflow: hidden;
}

.sheet::backdrop {
  background: rgba(20, 26, 30, .62);
  backdrop-filter: blur(3px);
}

.sheet[open] {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  animation: sheetIn .25s ease;
}

@keyframes sheetIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.sheet-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: var(--color-ink);
}

.sheet-close:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.sheet-media {
  position: relative;
  min-height: 100%;
  background: radial-gradient(120% 90% at 50% 35%, #fff 0%, #eef0f2 55%, #dee2e6 100%);
}

.sheet-media img {
  position: absolute;
  inset: 12%;
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(28, 36, 40, .25));
}

.sheet-media img.photo {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.sheet-media .seal {
  inset: 16px auto auto 16px;
  width: 110px;
  height: auto;
}

.sheet-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  padding: clamp(24px, 3.2vw, 40px);
  overflow-y: auto;
  max-height: calc(100dvh - 48px);
}

.sheet-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sheet-body .kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding-right: 48px;
}

.sheet-body h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  color: var(--color-ink);
}

.sheet-body h3 .soft {
  display: block;
  color: var(--color-muted);
  font-weight: 400;
  font-size: .72em;
}

.sheet-body p {
  font-size: 15px;
  line-height: 1.7;
}

.bullets {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.bullets li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.bullets li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: .55em;
  background: var(--color-accent);
}

.specs-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.table-wrap th {
  padding: 11px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-align: left;
  border-bottom: 2px solid var(--color-accent);
  white-space: nowrap;
}

.table-wrap td {
  padding: 11px 14px;
  border-top: 1px solid var(--color-border);
}

.table-wrap tbody tr:nth-child(even) {
  background: var(--color-panel);
}

.table-wrap td:first-child {
  font-weight: 700;
  white-space: nowrap;
}

.table-wrap td .swatch {
  margin-right: 8px;
  vertical-align: baseline;
}

.sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

body.sheet-open {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .sheet {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    margin: 0;
  }

  .sheet[open] {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .sheet-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .sheet-body {
    max-height: none;
  }

  .sheet-actions .btn {
    flex: 1 1 100%;
  }
}

/* ===== CONSTRUTORAS (B2B) ===== */
.b2b {
  position: relative;
  color: #fff;
  background: var(--color-ink);
  isolation: isolate;
}

.b2b-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

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

.b2b-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 36, 40, .94) 0%, rgba(28, 36, 40, .86) 45%, rgba(28, 36, 40, .55) 100%);
}

.b2b .h2 {
  color: #fff;
}

.b2b .lead {
  color: #dde2e6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(36px, 5vw, 56px);
}

.step {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-top: 3px solid var(--color-accent-bright);
  padding: 24px 22px;
  backdrop-filter: blur(4px);
}

.step b {
  display: block;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 600;
  color: #f1a9ae;
  line-height: 1;
  margin-bottom: 14px;
}

.step h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.step p {
  font-size: 15px;
  line-height: 1.6;
  color: #d3d9de;
}

@media (max-width: 899.98px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ===== CONFORMIDADE ===== */
.compliance {
  background: var(--color-accent-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.compliance::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 56px solid rgba(255, 255, 255, .05);
  pointer-events: none;
}

.comp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.compliance .h2 {
  color: #fff;
}

.compliance .lead {
  color: #f3dadc;
}

.check-list {
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.check-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  color: #fff;
}

.check-list small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #ebc4c7;
}

.comp-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 899.98px) {
  .comp-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTATO ===== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.ccard {
  background: var(--color-tile);
  border-left: 6px solid var(--color-accent);
  color: #fff;
  padding: 20px 20px 22px;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: background .18s;
}

a.ccard:hover {
  background: #4f5861;
}

.ccard span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #e9ecef;
}

.ccard strong {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.ccard strong.addr {
  font-size: 15px;
  font-weight: 600;
}

.ccard em {
  font-style: normal;
  font-size: 13px;
  color: #e9ecef;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form h3 {
  grid-column: 1 / -1;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-ink);
  line-height: 1.3;
}

.form > p {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--color-muted);
  margin-top: -8px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-field-border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: border-color .15s, box-shadow .15s;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(122, 15, 23, .15);
}

fieldset.field {
  border: 0;
  padding: 0;
  margin: 0;
}

.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.opt {
  position: relative;
}

.opt input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.opt span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--color-field-border);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}

.opt input:checked + span {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.opt input:focus-visible + span {
  outline: 3px solid var(--color-accent-bright);
  outline-offset: 2px;
}

.form .actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.form .note {
  font-size: 13px;
  color: var(--color-muted);
}

.form > .form-consent {
  margin-top: -4px;
  font-size: 13px;
}

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

.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form > .form-status {
  grid-column: 1 / -1;
  display: none;
  margin-top: 0;
  padding: 12px 16px;
  border-radius: var(--radius);
  border-left: 4px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.form-status.is-success {
  display: block;
  color: #1b6b3a;
  background: #e8f6ee;
}

.form-status.is-error {
  display: block;
  color: var(--color-accent);
  background: var(--color-accent-soft);
}

.form .btn[disabled] {
  opacity: .7;
  cursor: progress;
}

.form-recaptcha {
  min-height: 78px;
}

@media (max-width: 379.98px) {
  .form-recaptcha .g-recaptcha {
    transform: scale(.9);
    transform-origin: 0 0;
  }
}

@media (max-width: 1099.98px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ANIMACAO DE ENTRADA ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ===== AJUSTES MOBILE ===== */
@media (max-width: 519.98px) {
  .hero-ctas .btn,
  .prod-cta .btn,
  .comp-ctas .btn {
    flex: 1 1 100%;
  }

  .cred:last-child {
    min-height: 0;
  }

  .contact-cards,
  .form {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media print {
  .form {
    display: none;
  }
}
