/* Obrigado da captura da franquia Facial Premium (ty-premium).
   Medidas copiadas da página antiga, que trocava de layout em 800px. */

:root {
  --lilas: rgb(199, 185, 219);
  --roxo: rgb(89, 55, 141);
  --cinza-claro: rgb(179, 179, 179);
  --cinza: rgb(160, 160, 160);
  --grafite: rgb(36, 36, 36);
  --caixa: rgb(240, 243, 245);
  --rodape: rgb(5, 5, 5);
  --rodape-texto: rgb(168, 168, 168);
  --rodape-linha: rgb(163, 186, 198);
  --creme: rgb(255, 252, 243);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

b {
  font-weight: 700;
}

/* fundo escuro com textura, preso à tela ao rolar (como na página antiga) */
.fundo-escuro {
  background-color: #fff;
  background-image: url("/assets/ty-premium/fundo-escuro.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ---------- 1. Topo: contato recebido ---------- */

.topo {
  position: relative;
  overflow: hidden;
  background-position: 4.3902% 8.6721%;
}

.topo__conteudo {
  position: relative;
  width: min(960px, 100%);
  min-height: 547.1px;
  margin: 0 auto;
  padding: 63.2px 16px 40px;
  text-align: center;
}

.topo__ornamento {
  position: absolute;
  left: 22.85px;
  top: 0;
  width: 914.4px;
  height: 456.5px;
  opacity: .25;
  pointer-events: none;
}

.topo__ornamento img {
  width: 100%;
  height: 100%;
  object-fit: none;
  object-position: 0 0;
}

.topo__logo {
  position: relative;
  width: 268px;
  height: 44px;
  margin: 0 auto;
  overflow: hidden;
}

.topo__logo img {
  width: 267.56px;
  height: auto;
}

.topo__titulo {
  position: relative;
  max-width: 734px;
  margin: 50.1px auto 0;
  font-size: 32px;
  line-height: 38.4px;
  font-weight: 600;
  color: var(--lilas);
}

.topo__texto {
  position: relative;
  max-width: 627px;
  margin: 27px auto 0;
  font-size: 18px;
  line-height: 25.2px;
  color: #fff;
}

.cinza {
  color: var(--cinza-claro);
}

/* ---------- 2. Consultoras ---------- */

.consultoras__conteudo {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 131.7px 16px 131.8px;
}

.consultoras__topo {
  display: grid;
  grid-template-columns: 348px 279px;
  column-gap: 30px;
  margin-left: 135px;
}

.consultoras__icone {
  display: block;
  grid-column: 1;
  width: 86px;
  height: 86px;
}

.consultoras__icone img {
  width: 100%;
  height: 100%;
}

.consultoras__titulo {
  grid-column: 1;
  margin-top: 30px;
  font-size: 32px;
  line-height: 38.4px;
  font-weight: 700;
  color: #000;
}

.roxo {
  color: var(--roxo);
}

.consultoras__texto {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin-top: 73.3px;
  font-size: 16px;
  line-height: 24px;
  color: var(--cinza);
}

.consultoras__lista {
  display: flex;
  justify-content: center;
  gap: 49.6px;
  margin-top: 70.1px;
}

.consultora {
  width: 235px;
  text-align: center;
}

.consultora__foto {
  height: 270px;
  border-radius: 20px;
  background-color: var(--caixa);
  background-size: cover;
  background-position: 49.4036% .5051%;
  background-repeat: no-repeat;
}

.consultora__foto--leticia {
  background-image: url("/assets/ty-premium/consultora-leticia.png");
}

.consultora__foto--mariana {
  background-image: url("/assets/ty-premium/consultora-mariana.png");
}

.consultora__nome {
  max-width: 209px;
  margin: 11.5px auto 0;
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
  color: var(--grafite);
}

.consultora__cargo {
  max-width: 209px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 19.6px;
  color: var(--cinza);
}

/* ---------- 3. Marca Facial Premium e equipe comercial ---------- */

.marca {
  position: relative;
  overflow: hidden;
  background-position: 5.3659% 7.8049%;
}

.marca__conteudo {
  position: relative;
  width: min(960px, 100%);
  min-height: 452px;
  margin: 0 auto;
  padding: 71.1px 16px 40px;
  text-align: center;
  color: var(--cinza);
}

.marca__ornamento {
  position: absolute;
  left: -7.37px;
  top: 36.6px;
  width: 974.8px;
  height: 415.1px;
  opacity: .25;
  pointer-events: none;
}

.marca__ornamento img {
  width: 100%;
  height: 100%;
  object-fit: none;
  object-position: 0 0;
}

.marca__logo {
  position: relative;
  width: 336px;
  height: 139px;
  margin: 0 auto;
  overflow: hidden;
}

.marca__logo img {
  width: 336px;
  height: auto;
}

.marca__direitos {
  position: relative;
  max-width: 407px;
  margin: 67px auto 0;
  font-size: 14px;
  line-height: 16.8px;
}

.marca__equipe {
  position: relative;
  max-width: 407px;
  margin: 12.2px auto 0;
  font-size: 14px;
  line-height: 25.2px;
}

/* ---------- 4. Rodapé (criado por) ---------- */

.rodape {
  position: relative;
  padding: 77.38px 16px 77.24px;
  background: var(--rodape);
  color: var(--rodape-texto);
  text-align: center;
  font-size: 14px;
  line-height: 19.6px;
}

.rodape__criado {
  max-width: 619px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 16.8px;
  letter-spacing: 5px;
}

.rodape__logo {
  width: 244.5px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 244.5 / 33;
  margin: 5.04px auto 0;
}

.rodape__dados,
.rodape__legal,
.rodape__equipe {
  max-width: 882px;
  margin-left: auto;
  margin-right: auto;
}

.rodape__dados {
  margin-top: 25.03px;
}

.branco {
  color: #fff;
}

.creme {
  color: var(--creme);
}

.rodape__aviso {
  max-width: 400px;
  margin: 29.97px auto 0;
  font-size: 16px;
  line-height: 1.4;
}

.rodape__legal {
  margin-top: 9.95px;
}

.rodape__equipe {
  margin-top: 38.97px;
}

.rodape__linha {
  max-width: 882px;
  height: 0;
  margin: 19.63px auto 0;
  border: 0;
  border-top: 1px solid var(--rodape-linha);
  opacity: .3;
}

.rodape__termos {
  max-width: 619px;
  margin: 19.5px auto 0;
  font-size: 12px;
  line-height: 16.8px;
}

.rodape__termos a {
  color: inherit;
  text-decoration: none;
}

.rodape__termos a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---------- Celular (a página antiga trocava de layout em 800px) ---------- */

@media (max-width: 800px) {
  .topo__conteudo {
    width: min(360px, 100%);
    min-height: 663.9px;
    padding: 40px 20px 40px;
  }

  .topo__ornamento {
    left: -30px;
    width: 420px;
    height: 426px;
  }

  .topo__logo {
    width: 188.27px;
    height: 25.72px;
  }

  .topo__logo img {
    width: 188.27px;
  }

  .topo__titulo {
    margin-top: 39.9px;
    font-size: 26px;
    line-height: 31.2px;
  }

  .topo__texto {
    margin-top: 30.1px;
  }

  .consultoras__conteudo {
    width: min(360px, 100%);
    padding: 72.3px 20px 72.3px;
  }

  .consultoras__topo {
    display: block;
    margin-left: 0;
    text-align: center;
  }

  .consultoras__icone {
    width: 72px;
    height: 72px;
    margin: 0 auto;
  }

  .consultoras__titulo {
    margin-top: 29.1px;
    font-size: 24px;
    line-height: 28.8px;
  }

  .consultoras__texto {
    max-width: 279px;
    margin: 29.9px auto 0;
  }

  .consultoras__lista {
    flex-direction: column;
    align-items: center;
    gap: 30.3px;
    margin-top: 39.9px;
  }

  .marca__conteudo {
    width: min(360px, 100%);
    min-height: 398.2px;
    padding: 74.2px 0 40px;
  }

  .marca__ornamento {
    left: -29.86px;
    top: 133.9px;
    width: 420px;
    height: 263.85px;
  }

  .marca__logo {
    width: 235.05px;
    height: 97.16px;
  }

  .marca__logo img {
    width: 235.05px;
  }

  .marca__direitos {
    max-width: 360px;
    margin-top: 29.84px;
    font-size: 12px;
    line-height: 14.4px;
  }

  .marca__equipe {
    max-width: 235px;
    margin-top: 21.2px;
    font-size: 12px;
    line-height: 21.6px;
  }

  .rodape {
    padding: 65.39px 35px 66.07px;
  }

  .rodape__criado {
    max-width: 150px;
  }

  .rodape__logo {
    margin-top: 9.99px;
  }

  .rodape__dados,
  .rodape__legal,
  .rodape__equipe,
  .rodape__linha,
  .rodape__termos {
    max-width: 320px;
  }

  .rodape__dados {
    margin-top: 30px;
  }

  .rodape__aviso {
    max-width: 165px;
    margin-top: 10.75px;
  }

  .rodape__legal {
    margin-top: 22.1px;
  }

  .rodape__equipe {
    margin-top: 39.72px;
  }

  .rodape__linha {
    margin-top: 35px;
  }

  .rodape__termos {
    margin-top: 35.21px;
  }
}
