/*
Theme Name: Son Card
Theme URI: 
Description: 
Author: 
Author URI: 
*/

:root {
  --primary: #3e4095;
  --accent: #d0dd39;
  --text: #333333;
  --claro: #ffffff;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--claro);
  line-height: 1.6;
  background: var(--accent);
}

body.customize-support header {
  padding-top: 52px;
}

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

header.header {
  background: var(--accent);
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: flex-start;
  gap: 3em;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-header {
  max-width: 100px;
}

nav a {
  color: var(--text);
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}

nav a:hover::after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: -6px;
  left: 0;
  display: block;
  background-color: var(--primary);
  animation: linha 0.2s forwards;
}

@keyframes linha {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

nav a:hover {
  color: var(--primary);
}

.hero {
  background: var(--accent);
  padding: 200px 20px 0px;
}
.hero h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  line-height: 1.4em;
  margin-bottom: 0.4em;
  color: var(--primary);
}

.hero p {
  margin-bottom: 2em;
}
.hero h2 span {
  color: var(--accent);
}
.tagline {
  font-size: 1.2rem;
  margin-bottom: 40px;
}
.cta-btn {
  background: var(--primary);
  border: 1px solid var(--primary);
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
  display: inline-block;
}

.cta-btn.primary {
  color: var(--claro);
}

.cta-btn.amarelo {
  background: var(--accent);
  color: var(--primary);
}

.cta-btn.amarelo:hover {
  border: 1px solid var(--claro);
  background: transparent;
  color: var(--claro);
}

.cta-btn.primary:hover {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.hero > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero .persona {
  z-index: 1;
}

.section {
  padding: 100px 20px;
}
.section.alt {
  background: #f8f8fb;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
}

.features {
  list-style: none;
  padding: 0;
}
.features li {
  margin: 16px 0;
  background: #fff;
  border-left: 6px solid var(--accent);
  padding: 12px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.features .cta-btn {
  margin-top: 1em;
  display: inline-block;
}

.features strong {
  display: block;
  color: var(--primary);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.card h3 {
  color: var(--primary);
  margin-top: 0;
}

.columns {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.columns h3 {
  color: var(--primary);
}
.columns ul {
  padding-left: 20px;
}

.contact {
  text-align: center;
}
.contact-info {
  margin: 30px auto;
  background: #fff;
  display: inline-block;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* FAIXA 
=======================================*/
.faixa {
  height: 80px;
  background-color: var(--primary);
  transform: translateY(-80px);
}

/* O QUE É
====================================== */
#oque-e {
  background-color: var(--accent);
  transform: translateY(-80px);
}

#oque-e h2 span {
  font-weight: 300;
}

.wr-inf-oque {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 4em;
  margin-top: 3em;
}

#oque-e .wr-video,
#oque-e p {
  max-width: 900px;
  margin: 0 auto;
}

#oque-e .wr-iframe-video {
  position: relative;
  padding-bottom: 56.25%; /* Proporção de 16:9 */
  height: 0;
  overflow: hidden;
}

.wr-iframe-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#oque-e h2 {
  font-size: 5em;
  padding: 0;
  margin: 0;
}

#oque-e p {
  margin-bottom: 2em;
}

#oque-e .healine-cta {
  margin-top: 2em;
  font-size: 2em;
  line-height: 1.3em;
  margin-bottom: 0.5em;
}

#oque-e .wr-video {
  /* background: var(--primary); */
  padding: 1em;
  border-radius: 8px;
}

/* Thumbnail */
.video-thumb {
  position: relative;
  display: inline-block;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.video-thumb:hover {
  transform: scale(1.03);
}

.video-thumb img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
}

.video-thumb:hover .play-btn {
  background: rgba(0, 0, 0, 0.6);
}

/* Modal */
.video-modal {
  display: none; /* escondido por padrão */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  background: #000;
  width: 90%;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
}

.modal-content iframe {
  width: 100%;
  height: 450px;
  display: block;
}

/* Botão fechar */
.close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ff4d4d;
}

@media (max-width: 600px) {
  .modal-content iframe {
    height: 250px;
  }
}

/* PORQUE
============================== */
#porque {
  transform: translateY(-30px);
  background: var(--primary);
}

#porque h2 {
  color: var(--accent);
  font-size: 4em;
  line-height: 1.1em;
}

#porque span {
  font-weight: 300;
}

/* MOTIVOS 
============================= */
.wr-motivos {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2em;
  align-items: center;
}

.wr-motivos img {
  max-width: 300px;
}

.wr-motivos .features li {
  display: flex;
  align-items: center;
  gap: 1em;
}

.wr-motivos .features li span:first-child {
  font-size: 3em;
  font-weight: 900 !important;
  color: var(--primary);
}

.wr-motivos .features strong {
  line-height: 1.3em;
}
.wr-motivos .features strong {
  font-size: 1.3em;
}

/* COMO FUNCIONA
============================== */

#funciona {
  background: var(--accent);
  transform: translateY(0px);
}

#funciona h2 {
  font-size: 4em;
  line-height: 1.1em;
}

#funciona h2 span {
  color: var(--primary) !important;
  font-weight: 300;
}

section.facilidade {
  background-color: var(--cor-principal);
  padding: 15em 0 0;
}

.wrapper_itens_facil {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 4em;
}

.wrapper_itens_facil div.item_facil {
  flex: 1 200px;
}

.wrapper_itens_facil .numero_facil {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary);
  width: 3em;
  height: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrapper_itens_facil .item_facil {
  position: relative;
}

.wrapper_itens_facil .item_facil div:first-child::before {
  content: " ";
  width: 70%;
  border-bottom: 4px dashed;
  height: 0px;
  display: block;
  position: absolute;
  top: 34px;
  left: 82px;
  /* background: var(--text); */
  /* box-shadow: 5px 5px 15px 0px rgb(44 44 44 / 50%); */
}

.wrapper_itens_facil .item_facil:last-child div:first-child::before {
  display: none;
}

.wrapper_itens_facil .item_facil div:last-child {
  margin: 0em 3em 0 0;
  align-items: center;
  /* border: 5px solid; */
  padding: 0 0 0 1em;
  border-radius: 20px;
  /* background: var(--claro); */
  /* box-shadow: 5px 5px 15px 0px rgb(44 44 44 / 50%); */
}

.wrapper_itens_facil .item_facil div:last-child span:last-child {
  flex: 2;
  display: block;
}

.wrapper_itens_facil .item_facil div:last-child span:first-child img {
  width: 6em;
  height: auto;
}

.wrapper_itens_facil .item_facil div span:last-child {
  font-size: 1em;
  line-height: 1.3;
  margin-top: 1em;
}

.item_facil strong {
  font-size: 1.5em;
}

#funciona .cta-btn {
  margin-top: 6em;
}

/* ========================================================= */

/* BENEFÍCIOS
================================== */

#beneficios {
  background: var(--primary);
  transform: translateY(0px);
  padding-bottom: 0;
}

/* maquina de escrever */

.typing-section h2 {
  color: var(--accent);
  font-size: 4em;
  line-height: 1.1em;
  text-align: center;
}

.typing {
  color: var(
    --accent
  ); /* azul padrão, pode ajustar para a cor da sua identidade visual */
  font-weight: 300;
  border-right: 3px solid var(--accent);
  padding-right: 4px;
  animation: blink 0.8s infinite;
  white-space: nowrap;
}

/* Efeito de cursor piscando */
@keyframes blink {
  0%,
  50%,
  100% {
    border-color: transparent;
  }
  25%,
  75% {
    border-color: var(--accent);
  }
}
/*********************/

.tabs-container {
  margin: 0 auto;
  overflow: hidden;
  color: var(--claro);
}

.tabs {
  display: flex;
  justify-content: space-around;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--claro);
}

.tab {
  flex: 1;
  padding: 16px;
  cursor: pointer;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  color: var(--claro);
}

.tab:hover,
.tab.active:hover {
  background: var(--accent);
  color: var(--primary);
}

.tab.active {
  border-bottom: 3px solid var(--accent);
  color: var(--accent);
}

.tab-content {
  display: none;
  padding: 24px 32px 0;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

#beneficios ul {
  list-style-type: none;
  padding-left: 0;
}

#beneficios li {
  margin-bottom: 12px;
  line-height: 1.5;
}

#beneficios strong {
  color: #333;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wr-inf-tab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3em;
}

.wr-inf-tab div ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}

#beneficios .wr-inf-tab div ul li {
  border: 1px solid var(--claro);
  margin-bottom: 0;
  background: #fff;
  border-left: 6px solid var(--accent);
  padding: 12px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  color: var(--text);
}

#beneficios .wr-inf-tab div ul li strong {
  color: var(--primary);
  font-size: 1.5em;
  line-height: 1.2em;
}

/* SEGURANÇA E TECNOLOGIA 
================================*/
#seguranca {
  background: var(--accent);
  /* transform: translateY(-80px); */
  overflow-x: hidden;
}
#seguranca h2 {
  font-size: 4em;
  line-height: 1.1em;
}

#seguranca h2 span {
  font-weight: 300;
}

#seguranca ul {
  display: flex;
  list-style: none;
  padding: 0;
}

#seguranca li {
  flex: 1 150px;
  padding: 2em;
  border-radius: 1.5em;
  box-shadow: 5px 5px 15px 0px rgb(44 44 44 / 50%);
}

#seguranca li img {
  max-height: 70px;
  width: auto;
}

#seguranca li div.wr-inf-card {
  display: grid;
  grid-template-rows: auto 1fr auto; /* define linhas para topo, espaço e bottom */
  min-height: 300px;
}

#seguranca li .wr-inf-card div:first-child {
  font-size: 2em;
  line-height: 1.1em;
}

#seguranca li .wr-inf-card div:last-child {
  align-self: flex-end;
  line-height: 1.2em;
}

#seguranca ul li:nth-child(1) {
  z-index: 2;
}

#seguranca ul li:nth-child(2) {
  position: relative;
  left: -2em;
  z-index: 10;
  background: var(--accent);
}
#seguranca ul li:nth-child(3) {
  position: relative;
  left: -4em;
  z-index: 20;
}
#seguranca ul li:nth-child(4) {
  position: relative;
  left: -6em;
  z-index: 50;
  background: var(--accent);
}

#seguranca li:nth-child(odd) {
  background: var(--primary);
  color: var(--claro);
}

#seguranca .cta-btn {
  margin-top: 2em;
}

/* CONTATO
================================= */
#contato {
  padding: 5em 2em 8em;
  background: var(--primary) url(img/bleza-bg.png) right center;
  /* transform: translateY(-80px); */
  background-repeat: no-repeat;
  background-size: cover;
}

#contato h3 {
  font-size: 4em;
  line-height: 1.1em;
  color: var(--accent);
  margin-bottom: 0;
}

#contato .cta-btn {
  margin-top: 2em;
}

#contato h3 span {
  font-weight: 300;
}

#contato p {
  color: var(--claro);
}

.wr-contato {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* .linha-footer {
  transform: translateY(-160px);
  padding: 0 0 2em 0;
} */

/* FOOTER */

footer.footer {
  color: var(--text);
  text-align: center;
  padding: 5em 2em 0em;
  font-size: 0.9rem;
  background: var(--accent);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-radius: 5em 5em 0 0;
  transform: translateY(-80px);
}

footer img {
  max-width: 100px;
}

footer div {
  margin: 0 auto;
}

footer .ft-redes-sociais {
  display: flex;
  gap: 2em; 
  align-items: center;
}

footer .ft-redes-sociais img {
  width: 50px;
}



/* ANIMA SCROLL
---------------------------------*/
/* anima sombra menu */

.sombra {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* anima itens */

[data-animacao] {
  opacity: 0;
  transform: translate3d(-50px, 0, 0);
  transition: 0.3s;
}

[data-animacao="left"] {
  transform: translate3d(-50px, 0, 0);
}

[data-animacao="right"] {
  transform: translate3d(50px, 0, 0);
}

[data-animacao="right-card-2"] {
  transform: translate3d(75px, 0, 0);
}
[data-animacao="right-card-3"] {
  transform: translate3d(115px, 0, 0);
}

[data-animacao="right-card-4"] {
  transform: translate3d(125px, 0, 0);
}

[data-animacao="top"] {
  transform: translate3d(0, -50px, 0);
}

[data-animacao].ativo {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* =========================== */

/* RESPONSIVO
================================== */

@media (max-width: 1470px) {
  .hero {
    padding: 160px 20px 0px;
  }

  #oque-e h2,
  #porque h2,
  #funciona h2,
  .typing-section h2,
  #seguranca h2,
  #contato h3 {
    font-size: 3.5em;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: 120px 50px 116px;
  }

  .section {
    padding: 100px 50px;
  }

  .hero .persona img {
    position: relative;
    top: 78px;
  }

  #contato {
    background: var(--primary) url(img/bleza-bg.png) -65em center;
  }
  #seguranca ul li:nth-child(2) {
    left: -1em;
  }
  #seguranca ul li:nth-child(3) {
    left: -2em;
  }
  #seguranca ul li:nth-child(4) {
    left: -3em;
    background: var(--accent);
  }
  #contato {
    padding: 2em 50px 8em;
  }
}

@media (max-width: 800px) {
  .hero > div {
    grid-template-columns: 1fr;
  }
  .hero .persona img {
    position: relative;
    top: 0;
  }
  .hero {
    padding: 120px 50px 80px;
  }
  .wr-inf-oque {
    grid-template-columns: 260px 1fr;
    gap: 2em;
  }
  #oque-e .healine-cta {
    margin-top: 0em;
  }

  .wrapper_itens_facil .item_facil div:first-child::before {
    display: none;
  }
  .wr-inf-tab {
    grid-template-columns: 1fr;
    gap: 0em;
  }

  .wr-inf-tab img {
    max-width: 300px;
    margin: 0 auto;
  }

  #seguranca ul {
    gap: 3em;
    flex-wrap: wrap;
  }

  #seguranca ul li:nth-child(2),
  #seguranca ul li:nth-child(3),
  #seguranca ul li:nth-child(4) {
    left: 0em;
  }
  #contato {
    background: var(--primary) url(img/bleza-bg.png) -80em top;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
  }
  nav a {
    display: inline-block;
    margin: 10px;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .section {
    padding: 80px 20px;
  }
  #seguranca ul {
    gap: 1em;
  }
  #seguranca,
  #porque {
    overflow-x: hidden;
  }
  .hero .persona img {
    max-width: 415px;
    margin: 0 auto;
  }
  #oque-e h2,
  #porque h2,
  #funciona h2,
  .typing-section h2,
  #seguranca h2,
  #contato h3 {
    font-size: 3em;
  }
}

@media (max-width: 600px) {
  .tab {
    font-size: 0.9rem;
    padding: 12px;
  }

  .tab-content {
    padding: 20px;
  }

  .wr-inf-oque {
    grid-template-columns: 1fr;
    gap: 1em;
  }

  .section {
    padding: 80px 50px;
  }

  .video-thumb img {
    width: 100%;
    max-width: 100%;
  }

  .wr-motivos {
    grid-template-columns: 1fr;
    gap: 1em;
  }

  .wr-motivos .picture-motivos img {
    display: none;
  }
  .wrapper_itens_facil div.item_facil {
    margin-top: 1em;
  }

  .wr-inf-tab img {
    display: none;
  }

  #contato {
    background: var(--primary) url(img/bleza-bg.png) left top;
  }
  .wr-contato {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  #oque-e h2,
  #porque h2,
  #funciona h2,
  .typing-section h2,
  #seguranca h2,
  #contato h3 {
    font-size: 2.5em;
    line-height: 1;
  }
  #oque-e .healine-cta {
    font-size: 1.5em;
  }

  .typing-section h2 {
    font-size: 1.5em;
  }

  .tab-content {
    padding: 20px 0;
  }

  .wr-inf-tab {
    overflow-x: scroll;
  }
  .wr-inf-tab div ul {
    grid-template-columns: repeat(4, 240px);
  }
  .hero {
    padding: 120px 2em 80px;
  }
  .section {
    padding: 6em 2em 2em;
  }

  #contato {
    padding: 4em 2em 8em;
  }
 
footer.footer {
  grid-template-columns: 1fr;
  padding: 3em 2em 0;
  gap: 1em;
}

}

/* ===========================
   MENU MOBILE
=========================== */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: 0.3s ease;
}
.close-menu {
  display: none;
}

/* Exibe somente no mobile */
@media (max-width: 900px) {
  nav {
    display: none; /* some o menu desktop */
  }

  .mobile-menu-btn {
    display: flex;
    margin-left: auto;
  }

  /* Menu Mobile full-screen */
  #mobileMenu {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: var(--primary);
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    padding: 80px 30px;
    transition: right 0.35s ease;
    z-index: 2000;
  }

  #mobileMenu a {
    color: var(--claro);
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 600;
  }

  #mobileMenu.open {
    right: 0;
  }

  .close-menu {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    color: var(--claro);
    font-size: 40px;
    cursor: pointer;
  }
}
