/* =========================================
   ESTILOS CUSTOMIZADOS PARA O SITE ROOMO
   Versão: 1.0
   Data: 2024
========================================= */

/* =========================================
   VARIÁVEIS CSS
========================================= */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --info-color: #0dcaf0;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #212529;

  /* Cores customizadas do projeto */
  --roomo-blue: #165788;
  --roomo-green: #34b233;
  --roomo-bg: #f2f1ef;
  --roomo-text: #747678;
  --roomo-light-bg: #e0ded8;
}

/* =========================================
   FONTES PERSONALIZADAS
========================================= */
@font-face {
  font-family: "corsa_groteskbold";
  src: url("../fonts/corsa-grotesk-bold-webfont.woff2") format("woff2"),
    url("../fonts/corsa-grotesk-bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "corsa_groteskregular";
  src: url("../fonts/typedepot_-_corsa_grotesk_regular-webfont.woff2")
      format("woff2"),
    url("../fonts/typedepot_-_corsa_grotesk_regular-webfont.woff")
      format("woff");
  font-weight: normal;
  font-style: normal;
}

/* =========================================
   ESTILOS GERAIS
========================================= */
body {
  font-family: "corsa_groteskregular", "Segoe UI", Tahoma, Geneva, Verdana,
    sans-serif;
  line-height: 1.6;
  background-color: var(--roomo-bg) !important;
}

img {
  width: inherit;
}

/* =========================================
   TIPOGRAFIA
========================================= */
/* Títulos */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "corsa_groteskbold", "Segoe UI", Tahoma, Geneva, Verdana,
    sans-serif;
}

/* Tamanhos de fonte para títulos */
h1,
.h1 {
  font-size: 4rem;
}

/* 64px */
h2,
.h2 {
  font-size: 2.5rem;
}

/* 40px */
h3,
.h3 {
  font-size: 2rem;
}

/* 32px */
h4,
.h4 {
  font-size: 1.25rem;
}

/* 20px */

/* Texto em negrito */
b {
  font-family: "corsa_groteskbold", "Segoe UI", Tahoma, Geneva, Verdana,
    sans-serif;
}

/* Parágrafos */
p,
.lead,
.card-text {
  font-family: "corsa_groteskregular", "Segoe UI", Tahoma, Geneva, Verdana,
    sans-serif;
  color: var(--roomo-text);
}
.accordion-body p {
  color: #1f1f1f;
}
.circle-right img {
  position: absolute;
  left: 100px;
}

.circle-left img {
  position: absolute;
  left: -100px;
}

.circle-left {
  position: absolute;
  width: 275px;
  height: 645px;
  top: -350px;
  overflow: hidden;
}

.circle-right {
  position: absolute;
  right: 0px;
  top: -350px;
  width: 275px;
  height: 645px;
  overflow: hidden;
}

.vantagens-section-roomo-transamerica {
  position: relative;
}

.section-item {
  position: relative;
}

.vantagens-section-roomo-transamerica .circle-right {
  top: inherit;
  bottom: -48px;
}

/* Cores de texto */
.text-blue {
  color: var(--roomo-blue);
}

.text-green {
  color: var(--roomo-green);
}

/* =========================================
   RESPONSIVIDADE - TIPOGRAFIA
========================================= */
/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  h1,
  .h1 {
    font-size: 2rem;
  }

  /* 60px */
  h2,
  .h2 {
    font-size: 1.8rem;
  }

  /* 38px */
  h3,
  .h3 {
    font-size: 1.575rem;
  }

  /* 24px */
  h4,
  .h4 {
    font-size: 1.125rem;
  }

  /* 18px */
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1,
  .h1 {
    font-size: 2.75rem;
  }

  /* 60px */
  h2,
  .h2 {
    font-size: 2rem;
  }

  /* 38px */
  h3,
  .h3 {
    font-size: 1.875rem;
  }

  /* 28px */
  h4,
  .h4 {
    font-size: 1.125rem;
  }

  /* 18px */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  h1,
  .h1 {
    font-size: 2.75rem;
  }

  /* 60px */
  h2,
  .h2 {
    font-size: 2rem;
  }

  /* 38px */
  h3,
  .h3 {
    font-size: 1.875rem;
  }

  /* 30px */
  h4,
  .h4 {
    font-size: 1.1875rem;
  }

  /* 19px */
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  h1,
  .h1 {
    font-size: 2.75rem;
  }

  /* 60px */
  h2,
  .h2 {
    font-size: 2rem;
  }

  /* 39px */
  h3,
  .h3 {
    font-size: 1.5375rem;
  }

  /* 31px */
  h4,
  .h4 {
    font-size: 1.21875rem;
  }

  /* 19.5px */
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  h1,
  .h1 {
    font-size: 4rem;
  }

  /* 64px */
  h2,
  .h2 {
    font-size: 2.5rem;
  }

  /* 40px */
  h3,
  .h3 {
    font-size: 2rem;
  }

  /* 32px */
  h4,
  .h4 {
    font-size: 1.25rem;
  }

  /* 20px */
}

/* =========================================
   HERO SECTION
========================================= */
.hero-section {
  background-image: url(../images/bg-roomo.png);
  display: flex;
  align-items: center;
  position: relative;
  background-size: 1920px;
  background-position-x: right;
}

.hero-section-container {
  position: relative;
  z-index: 9;
}

.hero-section-container p {
  color: #fff !important;
}

.hero-section__logo {
  margin-top: 200px;
  margin-bottom: 140px;
}

/* Overlays do Hero */
.hero-section:before {
  content: "";
  background: linear-gradient(
    310deg,
    rgba(30, 30, 30, 0) 0%,
    rgba(24, 69, 103, 0.69) 62%,
    rgba(23, 78, 120, 1) 85%,
    rgba(22, 87, 136, 1) 100%
  );
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0px;
}

.hero-section:after {
  content: "";
  background: linear-gradient(
    180deg,
    rgba(30, 30, 30, 0) 0%,
    rgba(26, 56, 79, 0.3) 36%,
    rgba(24, 69, 103, 0.69) 69%,
    rgba(23, 78, 120, 1) 85%,
    rgba(22, 87, 136, 1) 100%
  );
  position: absolute;
  width: 100%;
  height: 40%;
  bottom: 0px;
}

/* Responsividade do Hero */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .display-4 {
    font-size: 2rem;
  }
}

/* =========================================
   NAVBAR
========================================= */
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
}

.navbar-nav .nav-link:hover {
  color: var(--info-color) !important;
}

/* =========================================
   BOTÕES
========================================= */
.btn {
  border-radius: 25px;
  font-weight: 500;
}

.btn:hover {
  /* Estilos de hover podem ser adicionados aqui */
}

/* =========================================
   SEÇÕES DE CONTEÚDO
========================================= */
.section-item_invert {
  background: var(--roomo-blue);
  background: linear-gradient(
    180deg,
    rgba(22, 87, 136, 1) 40%,
    rgba(242, 241, 239, 1) 40%
  );
}

.section-item_invert .section-item_img {
  order: 1;
}

.section-item_content {
  display: flex;
  align-items: center;
}

/* Background com imagens */
.block-bg-img {
  background-image: url(../images/bg-bloco.png);
  background-position-x: right;
  background-repeat: no-repeat;
  background-size: contain;
}

.section-item_invert .block-bg-img {
  background-image: url(../images/bg-bloco-rotate.png);
  background-position-x: left;
}

/* Seção de vantagens */
.vantagens-row {
  background-color: #fff;
  border-radius: 10px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.vantagens-row figure {
  display: table;
  height: 56px;
}

.vantagens-row h5.card-title {
  margin-bottom: 20px;
  color: var(--roomo-blue);
  font-weight: 700;
}

.vantagens-row p.card-text {
  font-size: 0.9rem;
  color: var(--roomo-text);
  display: table;
  max-width: 293px;
}

/* =========================================
   CARDS E IMAGENS
========================================= */
.card-img-top {
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

/* Responsividade para cards */
@media (max-width: 768px) {
  .col-md-4.col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 576px) {
  .col-md-4.col-lg-2 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* =========================================
   FAQ - ACCORDION
========================================= */
.accordion-button {
  font-weight: 600;
  color: #333;
  border-radius: 8px !important;
  transition: all 0.3s ease;
  background-color: transparent;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: #0d6efd;
}

.accordion-item {
  background-color: transparent;
}

.accordion-body {
  background-color: #f8f9fa;
  border-radius: 0 0 8px 8px;
  padding: 1.5rem 0px;
}

/* Números do accordion */
strong.accordion-number {
  display: flex;
  width: 30px;
  height: 30px;
  background-color: var(--roomo-blue);
  justify-content: center;
  align-items: center;
  margin-bottom: 0px;
  border-radius: 100px;
  line-height: 0;
  color: #fff;
}

/* Setas do FAQ */
.faq-arrow {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: #6c757d;
}

.accordion-button:not(.collapsed) .faq-arrow {
  transform: rotate(180deg);
  color: #0d6efd;
}

/* Conteúdo do FAQ */
.conteudo-faq {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* =========================================
   SEÇÃO DE CONTATO
========================================= */
.contato {
  background: linear-gradient(rgb(242, 241, 239) 50%, rgb(22, 87, 136) 50%);
}

.contato-row {
  background-color: var(--roomo-light-bg);
  padding-top: 80px;
  padding-bottom: 80px;
  border-radius: 30px;
}

/* =========================================
   SLIDER DE SOLUÇÕES
========================================= */
.soluctions {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.soluctions .owl-carousel .owl-stage-outer {
  overflow: unset;
}

.soluctions .owl-carousel .owl-nav .owl-next:focus,
.soluctions .owl-carousel .owl-nav .owl-prev:focus {
  outline: 0;
}

/* Navegação do slider */
.soluctions-nav {
  display: flex;
  justify-content: start;
  margin-top: 45px;
  gap: 10px;
}

.soluctions-nav button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  background-color: #54545608;
  border: 1px solid #2e2e2e;
}

.soluctions-nav button.disabled,
.soluctions-nav button.disabled span,
.soluctions-nav button.disabled svg,
.soluctions-nav button.disabled path {
  cursor: not-allowed !important;
  border-color: #cdd6dd !important;
  color: #cdd6dd !important;
  background: transparent !important;
  opacity: 1 !important;
}

.soluctions-nav button.disabled svg path {
  stroke: #cdd6dd !important;
}

/* Itens do slider */
.solutions__item {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
}

.solutions__item img {
  max-width: inherit;
  width: auto !important;
}

p.solutions__item-description {
  margin-bottom: 0px;
}

.logo-footer {
  display: table;
  margin-top: 50px;
}

/* =========================================
   FOOTER
========================================= */
.social-links a {
  font-size: 1.5rem;
}

.social-links a:hover {
  color: var(--info-color) !important;
}

/* =========================================
   UTILITÁRIOS
========================================= */
.bg-blue {
  background-color: var(--roomo-blue);
}

.p-9 {
  padding-bottom: 130px;
}

/* Loading spinner customizado */
.spinner-border-custom {
  width: 3rem;
  height: 3rem;
  border-width: 0.25em;
}

/* Tooltips customizados */
.tooltip-custom {
  position: relative;
  cursor: help;
}

.tooltip-custom::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-color);
  color: white;
  padding: 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.tooltip-custom:hover::after {
  opacity: 1;
  visibility: visible;
}
.accordion-body {
  background-color: transparent;
}
.accordion-button:not(.collapsed) {
  background-color: transparent;
  color: inherit;
  box-shadow: none;
}
.faq-content-text {
  padding-left: 70px;
  display: table;
}
.accordion-item:after {
  content: "";
  width: 100%;
  display: table;
  height: 1px;
  background-color: #e0ded8c4;
}
button.accordion-button {
  padding-left: 0px;
  padding-right: 0px;
}
.form-roomo-transamerica input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.form-control {
    background: rgba(255, 255, 255, 0.40);
}
.form-roomo-transamerica textarea.wpcf7-form-control.wpcf7-textarea.form-control {
    background: rgba(255, 255, 255, 0.40);
}
.form-roomo-transamerica span.wpcf7-form-control-wrap {
  border-radius: 4px;
}
.form-roomo-transamerica
  input.wpcf7-form-control.wpcf7-submit.has-spinner.contact-button {
  width: 100%;
  border-radius: 4px;
  background-color: #34b233;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  padding: 15px;
}
.form-roomo-transamerica p {
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  color: #747678;
}
/* =========================================
   RESPONSIVIDADE GERAL
========================================= */
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1140px;
  }
}

@media (max-width: 1199.98px) {
  .hero-section__logo {
    margin-top: 100px;
    margin-bottom: 80px;
  }

  .p-9 {
    padding-bottom: 80px;
  }
}

@media (max-width: 991.98px) {
  figure.circle-left {
    display: none;
  }
  figure.circle-right {
    display: none;
  }
  .section-item_invert .section-item_img {
    order: 0;
  }

  .section-item_content {
    background-color: #e0ded8;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    padding: 30px;
  }

  .block-bg-img {
    background-image: none !important;
  }

  .section-item_img {
    padding: 0px;
  }

  .section-item_img {
    background: #e0ded8;
    background: linear-gradient(
      0deg,
      rgba(224, 222, 216, 1) 50%,
      rgba(242, 241, 239, 0) 50%
    );
  }

  .contato-row {
    padding-left: 30px;
    padding-right: 30px;
  }

  .contato-text {
    margin-bottom: 50px;
    text-align: center;
  }

  .logo-footer {
    order: 0;
  }

  .contato-text {
    display: flex;
    flex-direction: column;
  }
  .logo-footer {
    display: none;
  }
  .faq-h3 {
    text-align: center;
  }
  .faq-p {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }
  .hero-section__logo svg {
    max-width: 140px;
  }
}
