/* Ionscap Hair — folha de estilos */

/* ---------- Fontes ---------- */
@font-face { font-family: "Roboto"; src: url("../fonts/roboto.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- Base ---------- */
:root {
  --vermelho: #f74c3a;
  --amarelo: #fbaf0a;
  --roboto: "Roboto", sans-serif;
  --archivo: "Archivo", sans-serif;
  --helvetica: Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: #4a4a4a; font: 14px/1.8 "Open Sans", sans-serif; overflow-x: hidden; }
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--vermelho); outline-offset: 3px; }
.icone { width: 1em; height: 1em; fill: currentColor; flex: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 10px; }

.botao {
  display: inline-block; padding: 17px 36px 18px; border: 2px solid var(--vermelho);
  background: var(--vermelho); color: #fff; font: 500 16px/21px var(--roboto); text-align: center;
  transition: color .3s, background .3s;
}
.botao:hover { background: transparent; color: var(--vermelho); }

/* ---------- Topo ---------- */
.topo { position: relative; padding: 114px 0 118px; background: #f9f9f9 url("../img/fundo.jpg") no-repeat 0 0 / cover; }
.topo::before { content: ""; position: absolute; inset: 0; background: url("../img/fundo.jpg") 0 0 / cover; opacity: .8; }
.topo .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0; }
.topo-texto { padding: 10px; }
.topo-logo { width: 39%; margin-bottom: 53px; }
.topo h1 { color: #14223b; font: 800 45px/44px var(--roboto); }
.topo p { margin-top: 30px; color: #14223b; font: 400 16px/21px var(--roboto); }

.comparador { position: relative; margin: 20px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; touch-action: pan-y; user-select: none; cursor: ew-resize; animation: surgir 1.25s both; --pos: 50%; }
.comparador img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.comparador-antes { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.comparador-alca { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; }
.comparador-alca::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Cpath d='M17 16v12l-6-6zM27 16v12l6-6z'/%3E%3C/svg%3E");
}
.comparador-alca:focus-visible::after { box-shadow: 0 0 0 3px var(--vermelho); }
@keyframes surgir { from { opacity: 0; } }

/* ---------- Diferenciais ---------- */
.diferenciais { position: relative; padding-bottom: 53px; }
.diferenciais ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: -47px 0 0; padding: 0 10px; }
.diferenciais li { padding: 20px; border: 1px solid #f5f4f5; border-radius: 5px; background: #fff; text-align: center; transition: border-color .3s; }
.diferenciais li:hover { border-color: var(--vermelho); }
.diferenciais span { display: grid; place-items: center; width: 90px; height: 90px; margin: 30px auto 25px; border-radius: 50%; background: var(--vermelho); color: #fff; font-size: 40px; transform: translateX(-10px); transition: color .3s, background .3s; }
.diferenciais li:hover span { background: #f5f5f5; color: #000; }
.diferenciais h2 { margin-bottom: 20px; color: #000; font-size: 18px; font-weight: 600; line-height: 1.4; }

/* ---------- O que é ---------- */
.sobre { display: grid; grid-template-columns: 1fr 1fr; }
.sobre-foto { background: url("../img/banner-doutora.jpg") no-repeat top right / cover; min-height: 611px; }
.sobre-texto { display: flex; justify-content: center; padding: 131px 20px 20px; background: url("../img/banner-textura.png") 0 0 / cover; }
.sobre-texto > div { width: 100%; max-width: 747px; color: #1e1e1e; font-family: var(--roboto); }
.sobre-texto h2 { margin-bottom: 20px; color: #363636; font: 800 56px/66px var(--roboto); }
.sobre-texto h3 { margin-bottom: 20px; color: #333; font: 600 20px/28px var(--roboto); }
.sobre-texto p { margin-bottom: 20px; }
.sobre-texto strong { font-weight: 600; }
.sobre-texto .botao { margin-top: 43px; }

/* ---------- Vídeo ---------- */
.video { max-width: 747px; margin: 0 auto; padding: 63px 10px 10px; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 18px; background: #000; }

/* ---------- Preços ---------- */
.precos { padding: 60px 0 220px; text-align: center; }
.precos > .container > h2 { padding: 0 10px; color: #101010; font: 600 45px/49px var(--archivo); letter-spacing: -.2px; }
.precos > .container > p { margin: 3px 0 54px; color: #666; font: 400 16px/24px var(--roboto); }
.precos ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 10px; }
.precos li { padding: 50px 40px 40px; border: 1px solid #f2f2f2; border-radius: 20px; background: #fff; transition: background .3s, box-shadow .3s, border-color .3s; }
.precos li img { width: 100%; margin-bottom: 10px; }
.precos h3 { padding-bottom: 1px; color: #1b191a; font: 500 23px/26px var(--archivo); }
.precos li p { margin: 7px 0 10px; color: #666; font: 400 16px/24px var(--archivo); }
.preco { display: block; margin: 46px 0 32px; color: #1b191a; font: 700 64px/65px var(--archivo); letter-spacing: -.3px; }
.preco small { margin-left: 14px; color: #666; font-size: 16px; font-weight: 500; letter-spacing: -.1px; }
.precos li a { display: block; padding: 14px 30px; border-radius: 6px; background: rgba(247, 76, 58, .1); color: var(--vermelho); font: 500 15px/24px var(--archivo); transition: color .3s, background .3s; }
.precos li:hover { border-color: #6c6c6c; background: #757575; box-shadow: 15px 15px 50px rgba(247, 76, 58, .4); }
.precos li:hover :is(h3, p, .preco, small) { color: #fff; }
.precos li:hover a { box-shadow: 15px 15px 50px rgba(0, 0, 0, .2); }
.precos li a:hover { background: #fff; color: #101010; }

/* ---------- Autoestima ---------- */
.autoestima { padding: 50px 0; background: #ff7d43 url("../img/fundo.jpg") no-repeat center / cover; }
.autoestima .container { display: grid; grid-template-columns: 39.386% 1fr; align-items: center; padding: 0; }
.autoestima-foto { padding: 17px; background: url("../img/circulo.png") no-repeat center / 61% auto; }
.autoestima-foto img { width: 86%; margin: 0 auto; border-radius: 360px; }
.autoestima-texto { padding: 27px; }
.autoestima h2 { margin-bottom: -14px; color: #303030; font: 800 64px/60px var(--roboto); text-transform: uppercase; }
.autoestima p { margin-top: 26px; color: #272727; font: 400 16px/26px var(--roboto); }
.autoestima .botao { margin-top: 43px; }

/* ---------- Perguntas ---------- */
.perguntas { padding: 117px 0 119px; }
.pergunta { border: 1px solid #d5d8dc; }
.pergunta + .pergunta { border-top: 0; }
.pergunta button { display: block; width: 100%; padding: 15px 20px; color: var(--vermelho); font: 600 27px/1 var(--roboto); text-align: left; text-transform: uppercase; }
.pergunta button::before { content: "+"; float: left; width: 21px; height: 14px; font-size: 22px; line-height: 16px; }
.pergunta.aberta button { color: #000; }
.pergunta.aberta button::before { content: "–"; }
.resposta { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .35s, visibility .35s; }
.pergunta.aberta .resposta { grid-template-rows: 1fr; visibility: visible; }
.resposta > div { min-height: 0; overflow: hidden; }
.resposta p { padding: 15px 20px; border-top: 1px solid #d5d8dc; color: #7a7a7a; font-family: var(--helvetica); }
.pergunta:first-child .resposta p { padding-bottom: 35px; }

/* ---------- Carrosséis ---------- */
.carrossel { position: relative; }
.carrossel-janela { overflow: hidden; touch-action: pan-y; }
.carrossel-trilho { display: flex; transition: transform .5s ease; }
.carrossel-trilho > * { flex: 0 0 100%; min-width: 0; }
.carrossel-seta { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; transform: translateY(-50%); }
.carrossel-seta.anterior { left: 0; }
.carrossel-seta.proxima { right: 0; }
.carrossel-pontos { display: flex; justify-content: center; align-items: center; }
.carrossel-pontos button { border-radius: 50%; }

/* ---------- Depoimentos ---------- */
.depoimentos { padding: 110px 0 100px; background: #f7f9fb; }
.depoimentos .carrossel { margin: 0 10px; padding: 25px 0 55px; }
.depoimento { display: grid; grid-template-columns: 1fr 1fr; align-items: center; align-self: flex-start; gap: 30px; margin: 0 15px 8px; padding: 55px 25px; flex-basis: calc(100% - 30px) !important; border-radius: 10px; background: #fff; box-shadow: 4px 5px 6px rgba(0, 0, 0, .1); }
.depoimento > * { min-width: 0; }
.depoimento > img { width: 100%; }
.depoimento-logo { width: 100%; margin-bottom: 41px; }
.depoimento p { margin-bottom: 30px; color: #8c8c8c; }
.depoimento p::after { content: ""; display: block; width: 40px; height: 2px; margin-top: 40px; background: #2575fc; }
.depoimento strong { display: block; color: #000; font-size: 18px; font-weight: 700; }
.depoimento small { color: rgba(0, 0, 0, .5); font-size: 13px; }
.depoimentos .carrossel-seta { width: 50px; height: 50px; color: #000; font-size: 36px; }
.depoimentos .carrossel-seta.anterior { left: -10px; }
.depoimentos .carrossel-seta.proxima { right: -10px; }
.depoimentos .carrossel-pontos { position: absolute; right: 0; bottom: -50px; left: 0; gap: 12px; height: 20px; }
.depoimentos .carrossel-pontos button { width: 8px; height: 8px; background: #e7e7e7; transition: .3s; }
.depoimentos .carrossel-pontos button[aria-current="true"] { width: 19px; height: 19px; background: var(--amarelo); }

/* ---------- Resultados ---------- */
.resultados { position: relative; padding: 80px 10px 81px; background: url("../img/fundo.jpg") no-repeat bottom center / cover; }
.resultados::before, .resultados::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 20' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0v3h483.4c9.2 0 16.6 7.4 16.6 16.6 0-9.1 7.4-16.6 16.6-16.6H1000V0z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
}
.resultados::before { top: -1px; }
.resultados::after { bottom: -1px; transform: rotate(180deg); }
.resultados-conteudo { max-width: 790px; margin: 0 auto; }
.resultados h2 { margin-bottom: 20px; color: #000; font: 900 41px/1.1 var(--roboto); text-align: center; text-transform: uppercase; }
.caso { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 691px; margin: 0 auto; padding: 10px 10px 20px; }
.caso + .caso { margin-top: 50px; position: relative; }
.caso + .caso::before { content: ""; position: absolute; top: -35px; left: 50%; width: min(790px, 100vw - 20px); transform: translateX(-50%); border-top: 1px solid var(--vermelho); }
.caso figure { margin: 0; }
.caso img { margin: 0 auto; border-radius: 12px; }
.caso figcaption { margin-top: 20px; color: #252525; font: 600 18px/1 var(--roboto); text-align: center; }

/* ---------- Ativos ---------- */
.ativos { margin-top: 40px; padding: 10px 0 11px; }
.ativos .container { display: grid; grid-template-columns: 1fr 1fr; }
.ativos-texto { padding: 67px 10px 10px; text-align: center; }
.ativos h2 { color: var(--vermelho); font: 900 40px/.9 var(--roboto); text-transform: uppercase; }
.ativos-texto p { margin-top: 8px; color: #7a7a7a; font: 400 16px/1.3 var(--helvetica); }
.ativos .carrossel { margin: 10px; padding-bottom: 40px; min-width: 0; }
.ativo { padding: 20px 33px; color: #7a7a7a; text-align: center; font-family: var(--roboto); }
.ativo p { font-size: 18.2px; font-style: italic; line-height: 1.5; }
.ativo div { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 25px; text-align: left; }
.ativo img { width: 50px; border-radius: 50%; }
.ativo strong { font-size: 22px; font-weight: 600; line-height: 33px; text-transform: uppercase; }
.ativos .carrossel-seta { top: calc(50% - 20px); color: #d8d8d8; font-size: 30px; line-height: 1; width: 24px; height: 36px; transition: color .3s; }
.ativos .carrossel-seta:hover { color: #7a7a7a; }
.ativos .carrossel-pontos { position: absolute; right: 0; bottom: 5px; left: 0; gap: 12px; height: 25px; }
.ativos .carrossel-pontos button { width: 6px; height: 6px; background: #000; opacity: .2; }
.ativos .carrossel-pontos button[aria-current="true"] { opacity: 1; }

/* ---------- Rodapé ---------- */
.rodape-marca { padding: 40px 0; background: var(--vermelho); color: #fff; }
.rodape-marca > div { display: grid; grid-template-columns: 34.41% 31.923% 1fr; max-width: 1300px; margin: 0 auto; }
.rodape-marca > div > * { padding: 30px; border-right: 1px solid rgba(255, 255, 255, .24); }
.rodape-marca img { width: 53%; margin-bottom: 20px; }
.rodape-marca p { font: 400 15px/1.3 var(--helvetica); }
.redes { display: flex; justify-content: center; align-items: flex-start; gap: 5px; grid-column: 3; }
.redes a { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--vermelho); font-size: 25px; transition: opacity .3s; }
.redes a:hover { opacity: .9; }

.rodape-info { padding: 30px 0; }
.rodape-info > div { display: grid; grid-template-columns: 35.768% 38.513% 1fr; max-width: 1300px; margin: 0 auto; }
.rodape-info > div > * { padding: 30px; }
.rodape-info h2 { color: #5b5959; font: 600 18px/1 var(--roboto); }
.rodape-info h2 + * { margin-top: 20px; }
.atendimento { display: flex; align-items: center; color: #595959; font: 700 18px/32px var(--roboto); text-transform: uppercase; }
.rodape-info .icone { margin-right: 10px; color: #636363; font-size: 19px; }
.horario { margin: 20px 0; color: #303030; font: 400 13px/1.8 var(--helvetica); }
.contatos { display: flex; flex-wrap: wrap; column-gap: 16px; }
.contatos li { display: flex; align-items: center; color: #484848; font: 400 15px/27px var(--helvetica); }
.pagamento { width: 66%; }
.selo { display: block; padding: 10px; }
.selo img { margin: 0 auto; }

.rodape-direitos { padding: 5px; background: #393939; }
.rodape-direitos > div { display: grid; grid-template-columns: 88.32% 1fr; align-items: center; max-width: 1300px; margin: 0 auto; }
.rodape-direitos p { padding: 10px; color: #b8b8b8; font: 300 15px/1 "Montserrat", sans-serif; text-align: center; }
.rodape-direitos a { padding: 10px; }
.rodape-direitos img { width: 57%; margin: 0 auto; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .topo h1 { font-size: 40px; line-height: 38px; }
  .precos { padding: 90px 0 100px; }
  .precos ul { grid-template-columns: 1fr 1fr; }
  .precos li:last-child { grid-column: 1 / -1; }
  .autoestima { margin-top: 100px; }
  .autoestima h2 { font-size: 51px; }
  .depoimentos { padding: 50px 0 60px; }
  .depoimento { margin-right: 10px; margin-left: 10px; flex-basis: calc(100% - 20px) !important; }
  .ativos { margin: 0 0 20px; }
}

/* ---------- Celular ---------- */
@media (max-width: 767px) {
  .topo { padding: 30px 20px; }
  .topo .container, .sobre, .autoestima .container, .ativos .container,
  .rodape-marca > div, .rodape-info > div, .rodape-direitos > div { grid-template-columns: minmax(0, 1fr); }
  .diferenciais ul, .precos ul, .caso { grid-template-columns: 100%; }
  .topo-logo { width: 69%; margin: 0 auto 53px; }
  .topo-texto { text-align: center; }
  .topo h1 { font-size: 29px; line-height: 28px; }
  .comparador { margin: 11px 20px 20px; }
  .sobre-texto { padding: 50px 20px 20px; }
  .sobre-texto h2 { font-size: 60px; line-height: 49px; }
  .botao { width: 89%; }
  .precos { padding: 70px 0 80px; }
  .precos > .container > h2 { margin-bottom: 15px; padding: 0; font-size: 36px; line-height: 42px; }
  .precos > .container > p { padding: 0 10px; margin-bottom: 53px; }
  .precos li { padding: 45px 30px 60px; }
  .precos li:last-child { grid-column: auto; }
  .autoestima { margin-top: 60px; }
  .autoestima h2 { font-size: 36px; line-height: 42px; }
  .pergunta button { padding: 12px 15px; font-size: 26px; line-height: 1.1; }
  .pergunta button::before { width: 17px; }
  .resposta p { padding: 7px 15px; }
  .pergunta:first-child .resposta p { padding-bottom: 27px; }
  .depoimento { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .depoimento > img { margin-top: 10px; }
  .resultados { padding-top: 49px; }
  .caso { padding: 10px 50px 20px; }
  .ativos { padding: 10px 20px 11px; }
  .redes { grid-column: 1; }
  .rodape-marca > div > * { border-right-width: 0; }
  .rodape-direitos img { width: 23%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
