/* IMPORTS */
@font-face {
  font-family: "CINEMAX Gotham Titling";
  src: url("../fonts/cinemax-gotham-titling-italic.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-stretch: 100%;
}

/* RESET */
* {
  padding: 0;
  margin: 0;
}

body {
  line-height: 130%;
}

figure {
  padding: 0;
  margin: 0;
}

/* VARIAVEIS */
:root {
  --red-600: #d6030a;
  --red-900: #ae0000;

  --gray-theme-200: #f1f1f2;
  --gray-theme: #606062;
  --font-theme: "CINEMAX Gotham Titling", sans-serif;
}

/* DEFAULTS */
.btn-theme {
  background-color: var(--red-600);
  color: #fff;
}

.btn-theme:hover {
  background-color: var(--red-900);
  color: #fff;
}

.ftheme {
  font-family: var(--font-theme);
  letter-spacing: 2px;
}

.color-theme {
  color: var(--red-600);
}

.back-to-top {
  width: 50px;
  height: 50px;
  background-color: var(--red-900);
  color: #fff;
  position: fixed;
  display: flex;
  right: 30px;
  bottom: 30px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  justify-self: center;
  transition: ease-in-out 0.3s;
  padding: 0;
  border: 2px solid #000;
}

.back-to-top:hover {
  color: var(--gray-theme-200);
  background-color: var(--red-600);
}

.back-to-top i {
  line-height: 1;
  font-size: 2rem;
  padding: 0;
  margin: 0;
}

.title-main-style {
  font-size: 72px;
}

/* 
1 - Header
2 - Main
    2.1 - Hero
    2.2 - Proteja seu veiculo
    2.3 - Ancore Protege
    2.4 - Rastrear sistems
    2.5 - Seguros auto
    2.6 - Fale conosco
3 - Footer

4- Media Queries

5- Key Frames
*/

/* 1 - HEADER */
.social-icons a {
  text-decoration: none;
  padding: 8px 10px;
  background: var(--bs-gray-200);
  border-radius: 50%;
  margin: 0 10px 0;
  line-height: 1;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--red-900);
  margin-top: -5px;
}

.social-icons a:hover i {
  color: #fff;
}

.social-icons a i {
  font-size: 26px;
  font-style: normal;
  color: var(--red-600);
}

.logo {
  width: 80%;
}

.fale-conosco-header {
  float: right;
}

.fale-conosco-header img {
  width: 50px;
  margin: 0 10px;
}

.fale-conosco-header .text {
  font-weight: 600;
  color: var(--red-600);
}

.fale-conosco-header .number {
  font-size: 1.5rem;
  line-height: 1;
}
/* FIM 1 HEADER */

/* 2 - MAIN */
/* 2.1 - Hero */
.hero {
  background: var(--red-600) url("../img/webp/img-fundo-cabecalho.webp") top
    center no-repeat;
  background-size: 100% 95%;
  min-height: 700px;
}

.hero .hero-slogan {
  font-size: 82px;
  font-weight: bold;
  color: var(--bs-white);
  line-height: 130%;
  margin-bottom: 1rem;
}

.hero-container {
  min-height:700px;
  height: 100%;
}
/* Fim 2.1 - Hero */

/* 2.2 - Proteja seu veiculo */
.escolha-seguro-label {
  background: #f9f9f9;
  padding: 10px;
  width: 100%;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: normal;
  line-height: 100%;
  color: var(--red-600);
}

.escolha-seguro-label:hover {
  background-color: #e5e5e5;
}

.escolha-seguro-input {
  display: none;
}

.escolha-seguro-input[type="radio"]:checked ~ label img {
  filter: invert(100%);
}

.escolha-seguro-input[type="radio"]:checked ~ label {
  background: var(--red-900);
  width: 100%;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
}

.form-escolha-seguro label {
  font-size: 1.4rem;
  color: var(--red-600);
  font-weight: 600;
}

.form-escolha-seguro input {
  height: 50px;
  border: 3px solid #999;
}

.cta-btn-form {
  background-color: #000;
  color: #fff;
  width: 100%;
  font-size: 1.4rem;
  border-radius: 24px;
  padding: 12px auto;
  letter-spacing: 3px;
}

.cta-btn-form:hover {
  background-color: var(--red-900);
  color: #fff;
}
/* Fim 2.2 - Proteja seu veiculo */

/* 2.3 - Ancore Protege */
.ancore-protege {
  background: url("../img/bg-ancore-protege.webp") top left no-repeat;
  background-size: 100% 100%;
}

.swiper {
  width: 100%;
}

.swiper-slide .card {
  cursor: pointer;
}

.card-w-hover {
  border: 2px solid var(--gray-theme);
  transition: all 0.3s;
}

.card-w-hover:hover {
  border-color: var(--red-900);
  margin-top: -15px;
}

.card-bg-glass {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--gray-theme);
}

.card-bg-glass .btn-theme {
  padding: 8px 80px;
  font-size: 20px;
}

.card-bg-glass .btn-theme:hover {
  background-color: var(--red-900);
  color: #fff;
}
/* Fim 2.3 - Ancore Protege */

/* 2.4 - Rastrear sistems */
.rastraer-sistems-bg {
  background: var(--red-600) url("../img/bg-rastrear-sistems.webp") left bottom
    no-repeat;
  background-size: 250px auto;
}

.rastraer-sistems-bg h1,
.rastraer-sistems-bg h3 {
  color: #fff;
}

.rastraer-sistems-bg p {
  font-size: 30px;
  font-weight: 500;
  color: #fff;
}
.cta-btn-rastrear-sistems img {
  transition: ease-in-out 0.3s;
}
.cta-btn-rastrear-sistems img:hover {
  transform: scale(1.1);
}
/* Fim 2.4 - Rastrear sistems */

/* 2.5 - Seguros auto */
.seguros-auto {
  background: url("../img/webp/fundo-seg-aut.webp") bottom center no-repeat;
  background-size: 100% auto;
}

.cta-btn-seguros-auto {
  background-color: var(--red-600);
  color: #fff;
  font-size: 26px;
  border-radius: 28px;
  padding: 12px 40px 14px;
  margin: 0;
  line-height: 100%;
}

.cta-btn-seguros-auto:hover {
  background-color: var(--red-900);
  color: #fff;
}
/* Fim 2.5 - Seguros auto */

/* 2.5 - Fale conosco */
.form-contact {
  background-color: var(--gray-theme-200);
}

.cta-form {
  padding: 10px 30px;
  border-radius: 25px;
}
/* Fim 2.5 - Fale conosco */

/* Fim 2 - MAIN */

/* FOOTER */
.footer {
  background-color: #000;
  color: #fff;
}

/* MEDIA QUERIES */
@media screen and (max-width: 480px) {
  .seguros-auto {
    background: #fff;
  }

  .hero {
    min-height: 30vh;
  }
  .hero-container {
    min-height: 28vh;
  }
  .hero .hero-slogan, .title-main-style {
    font-size: 44px;
  }

  h4 {
    font-size: calc(.8rem + .2vw);
  }
  
    .swiper-slide .card {
        margin: 15px;
    }
}

/* Keyframes */
.an-shake {
  animation: shake 2s cubic-bezier(0.36, 0.07, 0.19, 0.97) both infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.05, 1.05);
  }
  100% {
    transform: scale(1, 1);
  }
}

.zoom-in-zoom-out {
  animation: zoom-in-zoom-out 1s ease-out infinite;
}
