/* Mais Rodapé — camada de conversão e SEO local
   Preserva o desenho técnico do catálogo e cria mais contraste no caminho
   principal: entender, calcular e chamar no WhatsApp. */

:root {
  --conversao-escuro: #15191a;
  --conversao-ouro: #c77618;
  --conversao-ouro-claro: #f5e4c7;
  --conversao-raio: 18px;
}

body {
  background: #f4f0e8 !important;
  color-scheme: light;
}

.cabecalho {
  background: color-mix(in srgb, var(--gesso) 92%, transparent);
  backdrop-filter: blur(14px) saturate(1.08);
}

.abertura {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 82% 8%, rgba(198, 126, 37, .10), transparent 31%),
    #f4f0e8;
  color: #1c1d1d;
}

.abertura::before {
  content: "";
  position: absolute;
  width: min(34vw, 500px);
  height: min(34vw, 500px);
  top: -250px;
  right: -150px;
  border: 1px solid color-mix(in srgb, var(--mel) 22%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.abertura-topo {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
  align-items: start;
  gap: clamp(28px, 4.6vw, 72px);
  padding-top: clamp(14px, 2.2vw, 30px);
  margin-block-end: clamp(28px, 3.6vw, 48px);
}

.abertura-topo h1 {
  max-width: 10.8ch;
  font-size: clamp(3.25rem, 4.65vw, 5.25rem);
  line-height: .95;
  letter-spacing: -.045em;
}

.abertura-topo h1 em {
  text-decoration-thickness: .08em;
  text-underline-offset: .08em;
}

.lede {
  max-width: 42ch;
}

.abertura-topo > div:last-child {
  max-width: 410px;
  padding-top: clamp(4px, 1vw, 14px);
}

.abertura-topo .lede {
  max-width: 35ch;
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.6;
}

.gancho {
  border: 1px solid color-mix(in srgb, var(--mel) 52%, var(--fio));
  border-radius: 14px;
  background: color-mix(in srgb, var(--mel-fundo) 58%, var(--branco));
  box-shadow: 0 16px 36px -28px color-mix(in srgb, var(--mel) 52%, transparent);
  padding: 14px 17px;
}

.hero-carrossel {
  position: relative;
  max-width: 410px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--grafite) 15%, var(--fio));
  border-radius: 16px;
  background: var(--branco);
  box-shadow: 0 16px 38px -30px rgba(10, 15, 15, .74);
}

.hero-carrossel-viewport {
  position: relative;
  aspect-ratio: 1.62;
  min-height: 176px;
  background: var(--fio-2);
}

.hero-carrossel--exemplos .hero-carrossel-viewport::before {
  content: "IMAGENS DE REFERÊNCIA";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 7px;
  border: 1px solid rgba(91, 65, 34, .38);
  border-radius: 999px;
  background: rgba(255, 252, 246, .82);
  color: #5f482e;
  font: 500 .56rem/1 var(--cota);
  letter-spacing: .12em;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--e);
}

.hero-slide[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

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

.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(180deg, transparent 20%, rgba(255, 250, 241, .92));
  pointer-events: none;
}

.hero-slide figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  display: grid;
  gap: 2px;
  color: #1c1d1d;
}

.hero-slide figcaption .cota {
  color: #6b5b49;
  font-size: .62rem;
}

.hero-slide figcaption strong {
  font-family: var(--placa);
  font-size: 1.08rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-slide figcaption small {
  max-width: 38ch;
  color: #665d54;
  font-size: .74rem;
}

.hero-carrossel-controles {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px 9px;
  border-top: 1px solid var(--fio);
}

.hero-carrossel-seta {
  color: var(--mel-forte);
  font: 500 1rem/1 var(--cota);
}

.hero-carrossel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.hero-carrossel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid var(--mel);
  border-radius: 50%;
  background: transparent;
}

.hero-carrossel-dots button[aria-selected="true"] {
  background: var(--mel);
}

.hero-sinais {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 640px;
  margin-top: 26px;
  border-block: 1px solid color-mix(in srgb, var(--fio) 84%, transparent);
}

.hero-sinais span {
  display: grid;
  gap: 2px;
  padding: 12px 14px 11px 12px;
  border-left: 1px solid color-mix(in srgb, var(--mel) 70%, transparent);
  background: transparent;
}

.hero-sinais span:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero-sinais b {
  font-size: .78rem;
  line-height: 1.15;
  letter-spacing: .01em;
}

.hero-sinais small {
  color: var(--cinza);
  font-size: .71rem;
}

.prancha {
  border: 1px solid color-mix(in srgb, var(--grafite) 16%, var(--fio));
  border-radius: 20px;
  box-shadow: 0 24px 58px -44px rgba(10, 15, 15, .72);
  margin-top: clamp(28px, 3.6vw, 52px);
  background: #fffdfa;
  color: #1c1d1d;
}

.beneficios {
  background: #f4f0e8 !important;
}

.prancha-topo {
  padding-inline: clamp(20px, 3vw, 34px);
  background: color-mix(in srgb, var(--mel-fundo) 62%, var(--branco));
}

.beneficios {
  background: var(--conversao-escuro);
  border-block: 1px solid color-mix(in srgb, var(--conversao-escuro) 70%, #fff);
}

.beneficios .ben {
  min-height: 94px;
}

.ben b {
  font-size: .96rem;
}

.ben span span {
  color: #bcc2c2;
}

.micro-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 18px;
  color: var(--cinza);
}

.micro-cta p {
  margin: 0;
}

.micro-cta strong {
  color: var(--grafite);
}

.grade .peca {
  border-radius: var(--conversao-raio);
  transition: transform .28s var(--e), box-shadow .28s var(--e), border-color .28s var(--e);
}

.grade .peca:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--mel) 62%, var(--fio));
  box-shadow: 0 22px 40px -28px rgba(12, 16, 16, .75);
}

.peca .btn--cheio {
  min-height: 44px;
}

.obra-prova {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.obra-prova article {
  min-height: 220px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--fio);
  border-radius: var(--conversao-raio);
  background: var(--branco);
  box-shadow: var(--sombra);
}

.prova-num {
  display: block;
  margin-bottom: 34px;
  color: var(--mel);
  font: 500 .76rem/1 var(--cota);
  letter-spacing: .18em;
}

.obra-prova h3 {
  max-width: 16ch;
  margin-bottom: 10px;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.1;
}

.obra-prova p {
  color: var(--cinza);
  font-size: .95rem;
}

.obra-prova-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--mel) 54%, var(--fio));
  border-radius: var(--conversao-raio);
  background: var(--mel-fundo);
}

.obra-prova-cta p {
  margin: 0;
  color: var(--grafite);
}

.obra-prova-cta strong {
  display: block;
  margin-bottom: 4px;
}

.cobertura {
  position: relative;
}

.cobertura::after {
  content: "SC";
  position: absolute;
  right: 3vw;
  bottom: -20px;
  color: color-mix(in srgb, var(--mel) 14%, transparent);
  font: 700 clamp(6rem, 16vw, 13rem)/1 var(--placa);
  letter-spacing: -.12em;
  pointer-events: none;
}

.fechamento {
  background: linear-gradient(140deg, var(--conversao-escuro), #202829);
}

.fechamento h2 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: -.045em;
}

.form-caixa {
  border-radius: 22px;
  box-shadow: 0 28px 70px -42px rgba(0, 0, 0, .8);
}

.form .btn--cheio {
  min-height: 50px;
  font-size: .92rem;
}

.flutuante {
  border: 2px solid rgba(255, 255, 255, .72);
}

/* Hero em tela cheia, inspirado em sites automotivos: a imagem conduz a
   primeira decisão e o texto funciona como camada de oferta. */
@media (min-width: 721px) {
  .servico {
    display: none;
  }

  .cabecalho {
    background: #fff;
    border-block-end-color: #ece9e3;
  }

  .cabecalho .faixa {
    padding-block: 16px;
  }

  .abertura {
    padding-block: 0 clamp(48px, 5vw, 72px);
    background: #f4f0e8;
    color: #1c1d1d;
  }

  .abertura::before {
    opacity: .34;
  }

  .abertura > .faixa {
    padding-inline: var(--gutter);
  }

  .abertura-topo {
    display: block;
    min-height: clamp(500px, 50vw, 650px);
    margin-inline: calc(var(--gutter) * -1);
    margin-block-end: clamp(34px, 4vw, 58px);
    padding: 0 var(--gutter);
  }

  .abertura-topo--visual > div:first-child {
    display: none;
  }

  .abertura-topo > div:first-child {
    position: absolute;
    left: var(--gutter);
    bottom: clamp(98px, 10vw, 142px);
    z-index: 4;
    max-width: min(64%, 790px);
  }

  .abertura-topo > div:first-child .cota {
    color: rgba(255, 255, 255, .72);
  }

  .abertura-topo h1 {
    max-width: 12ch;
    color: #fff;
    font-size: clamp(3.2rem, 5.1vw, 6.4rem);
    text-shadow: 0 2px 22px rgba(0, 0, 0, .16);
  }

  .abertura-topo h1 em {
    color: #e4a04b;
  }

  .abertura-topo > div:last-child {
    position: static;
    max-width: none;
    padding: 0;
  }

  .abertura-topo > div:last-child .lede {
    position: absolute;
    top: clamp(72px, 8vw, 116px);
    right: var(--gutter);
    z-index: 4;
    width: min(31%, 400px);
    max-width: none;
    color: rgba(255, 255, 255, .84);
  }

  .abertura-topo .acoes {
    position: absolute;
    top: clamp(210px, 22vw, 298px);
    right: var(--gutter);
    z-index: 4;
  }

  .abertura-topo .gancho {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(138px, 14vw, 192px);
    z-index: 4;
    width: min(31%, 400px);
    margin: 0;
    color: var(--grafite);
  }

  .hero-carrossel {
    position: absolute;
    inset: 0;
    z-index: 0;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #f4f0e8;
  }

  .hero-carrossel-viewport {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .hero-slide img {
    object-fit: cover;
    object-position: center bottom;
    filter: brightness(.99) saturate(.94) contrast(.98);
  }

  .hero-slide::after {
    inset: 0;
    background:
      linear-gradient(90deg, rgba(255, 250, 241, .12) 0%, rgba(255, 250, 241, .04) 55%, rgba(255, 250, 241, .16) 100%),
      linear-gradient(0deg, rgba(255, 250, 241, .72), transparent 58%);
  }

  .hero-slide figcaption {
    right: var(--gutter);
    bottom: clamp(46px, 5vw, 78px);
    left: auto;
    width: min(31%, 400px);
  }

  .hero-slide figcaption small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-carrossel--exemplos .hero-slide figcaption small {
    font-size: .62rem;
    opacity: .78;
  }

  .hero-carrossel-controles {
    position: absolute;
    right: auto;
    bottom: 24px;
    left: var(--gutter);
    z-index: 4;
    width: 172px;
    border-top: 0;
    color: #2a2927;
    background: rgba(255, 252, 246, .82);
    border: 1px solid rgba(91, 65, 34, .2);
    border-radius: 999px;
    padding: 7px 10px;
  }

  .hero-carrossel-seta {
    color: #7a4c1b;
  }

  .hero-carrossel-dots button {
    border-color: rgba(122, 76, 27, .68);
  }

  .hero-carrossel-dots button[aria-selected="true"] {
    background: #7a4c1b;
  }

  .hero-sinais {
    display: none;
  }
}

@media (max-width: 720px) {
  .abertura-topo h1 {
    max-width: 13ch;
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .abertura-topo {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 8px;
  }

  .abertura-topo > div:last-child {
    max-width: none;
    padding-top: 0;
  }

  .hero-carrossel {
    max-width: none;
  }

  .hero-sinais {
    grid-template-columns: 1fr;
    border-block: 0;
  }

  .hero-sinais span {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 8px;
    padding: 10px 0;
    border-left: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--fio) 84%, transparent);
  }

  .hero-sinais span:first-child {
    padding-left: 0;
  }

  .micro-cta,
  .obra-prova-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .micro-cta .btn,
  .obra-prova-cta .btn {
    width: 100%;
    text-align: center;
  }

  .obra-prova {
    grid-template-columns: 1fr;
  }

  .obra-prova article {
    min-height: 0;
  }

  .prova-num {
    margin-bottom: 18px;
  }
}
