/* =========================================================
   RUFINI — PADRONIZAÇÃO GLOBAL
========================================================= */

:root {
  --color-primary: #34515E;
  --color-primary-dark: #123F49;
  --color-text: #4E4E4E;
  --color-white: #FFFFFF;

  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;
  --font-button: "Roboto", sans-serif;
}


/* =========================================================
   HTML E BODY
========================================================= */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;

  background-color: var(--color-white);
  color: var(--color-text);

  font-family: var(--font-body);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 141.234%;
}


/* =========================================================
   SCROLLBAR
========================================================= */

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  border-radius: 20px;
  border: 3px solid var(--color-white);
}


/* =========================================================
   TÍTULOS
========================================================= */

h2 {
  color: var(--color-primary-dark);

  font-family: var(--font-heading);
  font-size: 44.478px;
  font-style: normal;
  font-weight: 700;
  line-height: 112.902%;
  letter-spacing: 0.612px;
}

h2.big {
  font-family: var(--font-heading);
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 112.902%;
  letter-spacing: 0.551px;
}

h3,
h4,
h5 {
  color: var(--color-primary-dark);

  font-family: var(--font-heading);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}


/* =========================================================
   PARÁGRAFOS, LISTAS E LINKS
========================================================= */

p,
li,
a,
.fonte-padrao {
  color: var(--color-text);

  font-family: var(--font-body);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 141.234%;
}

body strong {
  font-weight: 800;
}


/* =========================================================
   CORES — RUFINI
========================================================= */

.fonte-verde-escuro,
.color-green,
.color-blue,
.color-rose,
.color-gold,
.color-pink {
  color: var(--color-primary);
}

.color-black {
  color: var(--color-text);
}

.color-white {
  color: var(--color-white);
}

.fonte-gold {
  background: linear-gradient(180deg,
      var(--color-primary) 0%,
      var(--color-primary-dark) 100%);

  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* =========================================================
   PESOS E TAMANHOS DE FONTE
========================================================= */

.fonte-bold {
  font-weight: 700;
}

.size-16 {
  font-size: 16px;
}

.size-24 {
  font-size: 24px;
}


/* =========================================================
   BOTÕES — CTA PRINCIPAL
========================================================= */

.btn-primary,
.hero-btn-primary,
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 48px;
  padding: 12px 28px;

  border-radius: 999px;
  border: 1px solid var(--color-white);

  background: var(--color-primary-dark);
  box-shadow: 0 3px 32.2px 0 rgba(255, 255, 255, 0.40);

  color: var(--color-white);

  font-family: var(--font-button);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;

  text-align: center;
  text-decoration: none;

  cursor: pointer;

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.btn-primary:hover,
.hero-btn-primary:hover,
.cta-primary:hover {
  background: var(--color-primary);
  border-color: var(--color-white);
  color: var(--color-white);

  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary:focus-visible,
.hero-btn-primary:focus-visible,
.cta-primary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}


/* =========================================================
   CLASSES AUXILIARES
========================================================= */

.p-relative {
  position: relative;
}

.f-right {
  float: right;
}

.centraliza {
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.center {
  display: flex;
  align-items: center !important;
  justify-content: center !important;
}

.centraliza-desk-position {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* =========================================================
   CONTAINER
========================================================= */

@media (min-width: 1200px) {
  .container {
    max-width: 1280px;
  }
}


/* =========================================================
   OWL CAROUSEL
========================================================= */

.owl-theme .owl-dots {
  display: none;
}


/* =========================================================
   WHATSAPP FLUTUANTE
========================================================= */

.cta-container-2 {
  position: fixed;
  right: 25px;
  bottom: 45px;

  display: flex;
  align-items: center;
  gap: 10px;

  z-index: 1000;
}

.cta-button {
  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  border: 1px solid var(--color-white);

  background-color: var(--color-primary-dark);
  box-shadow: 0 4px 16px rgba(18, 63, 73, 0.22);

  color: var(--color-white);
  font-size: 30px;
  text-align: center;
  text-decoration: none;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.cta-button:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.cta-text {
  padding: 8px 12px;

  background: var(--color-primary-dark);
  border-radius: 5px;

  color: var(--color-white);

  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;

  opacity: 1;
  transform: translateX(-10px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.cta-container-2:hover .cta-text {
  opacity: 1;
  transform: translateX(0);
}


/* =========================================================
   WORD — LINHA ANIMADA
========================================================= */

.word {
  position: relative;
}

.word::after {
  content: "";

  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 1.5px;

  background-color: var(--color-primary);

  transform-origin: left center;
  animation: infinite-line 2s linear infinite;
}

@keyframes infinite-line {
  0% {
    transform: scaleX(0);
  }

  50% {
    transform: scaleX(1);
  }

  100% {
    transform: scaleX(0);
  }
}


/* =========================================================
   BOTÕES FIXOS NO RODAPÉ
========================================================= */

.botao-fixo-rodape-1,
.botao-fixo-rodape-2 {
  position: fixed;
  left: 0;

  width: 100%;

  transition: bottom 0.5s ease-in-out;
  z-index: 1000;
}


/* =========================================================
   BOTÃO FIXO — WHATSAPP
========================================================= */

.botao-fixo-rodape-1 {
  bottom: 38.5px;
}

.botao-fixo-rodape-1 a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;

  background-color: var(--color-primary-dark);
  color: var(--color-white);

  font-family: var(--font-button);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;

  text-decoration: none;
}

.botao-fixo-rodape-1 a:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}


/* =========================================================
   BOTÃO FIXO — TELEFONE
========================================================= */

.botao-fixo-rodape-2 {
  bottom: 0;
}

.botao-fixo-rodape-2 a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;

  background-color: var(--color-white);
  color: var(--color-primary-dark);

  font-family: var(--font-button);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;

  text-decoration: none;
}

.botao-fixo-rodape-2 a:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}


/* =========================================================
   VISIBILIDADE — DESKTOP E MOBILE
========================================================= */

@media (min-width: 992px) {
  .esconde-desktop {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .esconde-mobile {
    display: none !important;
  }
}


/* =========================================================
   RESPONSIVIDADE — TABLET
========================================================= */

@media (max-width: 991.98px) {

  h2 {
    font-size: 40px;
    line-height: 112.902%;
  }

  h2.big {
    font-size: 52px;
    line-height: 112.902%;
  }

}


/* =========================================================
   RESPONSIVIDADE — MOBILE
========================================================= */

@media (max-width: 767.98px) {

  h2 {
    font-size: 36px;
    line-height: 112.902%;
    letter-spacing: 0.4px;
  }

  h2.big {
    font-size: 44px;
    line-height: 112.902%;
    letter-spacing: 0.4px;
  }

  h3,
  h4,
  h5 {
    font-size: 22px;
  }

  p,
  li,
  a,
  .fonte-padrao {
    font-size: 16px;
    line-height: 141.234%;
  }

  .btn-primary,
  .hero-btn-primary,
  .cta-primary {
    padding: 12px 24px;
    font-size: 16px;
    line-height: 24px;
  }

  .cta-container-2 {
    right: 15px;
    bottom: 20px;
  }

  .cta-button {
    width: 54px;
    height: 54px;
    font-size: 26px;
  }

}


/* =========================================================
   ACESSIBILIDADE — MOVIMENTO REDUZIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .word::after {
    animation: none;
  }

  .btn-primary,
  .hero-btn-primary,
  .cta-primary,
  .cta-button,
  .cta-text {
    transition: none;
  }

}


/* =========================================================
   HERO — DR. GUILHERME RUFINI
========================================================= */

.rufini-hero {
  position: relative;
  display: flex;
  align-items: flex-start;

  width: 100%;
  min-height: 820px;

  overflow: hidden;
  isolation: isolate;

  background: #123F49;

  border-radius: 0 0 190px 0;
}


/* =========================================================
   IMAGEM DE FUNDO
========================================================= */

.rufini-hero-background {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  z-index: -1;
  pointer-events: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.rufini-hero .container {
  position: relative;
  z-index: 2;

  width: 100%;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.rufini-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  max-width: 640px;

  padding-top: 155px;
  padding-bottom: 120px;
}


/* =========================================================
   LOGO
========================================================= */

.rufini-hero-logo {
  margin-bottom: 48px;
}

.rufini-hero-logo img {
  display: block;

  width: 180px;
  max-width: 100%;
  height: auto;
}


/* =========================================================
   H1
========================================================= */

.rufini-hero-title {
  max-width: 650px;

  margin: 0 0 8px;

  color: #FFFFFF;

  font-family: "Cormorant Garamond", serif;
  font-size: 61.715px;
  font-style: normal;
  font-weight: 700;
  line-height: 112.902%;
  letter-spacing: 0.686px;
}

.rufini-hero-title span {
  display: block;

  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}


/* =========================================================
   SUBTÍTULO
========================================================= */

.rufini-hero-subtitle {
  max-width: 590px;

  margin: 0 0 18px;

  color: #FFFFFF;

  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 141.234%;
}


/* =========================================================
   DESCRIÇÃO
========================================================= */

.rufini-hero-description {
  max-width: 540px;

  margin: 0 0 42px;

  color: #FFFFFF;

  font-family: "Inter", sans-serif;
  font-size: 15.686px;
  font-style: normal;
  font-weight: 400;
  line-height: 141.234%;
}


/* =========================================================
   CTA
========================================================= */

.rufini-hero-actions {
  display: flex;
  align-items: center;
}

.rufini-hero-cta {
  display: flex;
  width: 289px;
  height: 49px;

  padding: 15px 30px;

  justify-content: space-between;
  align-items: center;
  gap: 16px;

  border-radius: 999px;
  border: 1px solid #FFFFFF;

  background: #E9EFF0;

  box-shadow:
    0 3px 32.2px 0 rgba(255, 255, 255, 0.40);

  color: #123F49;

  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;

  text-decoration: none;
  white-space: nowrap;

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.rufini-hero-cta span {
  color: inherit;
}

.rufini-hero-cta i {
  display: flex;
  align-items: center;
  justify-content: center;

  color: inherit;
  font-size: 15px;

  transition: transform 0.3s ease;
}

.rufini-hero-cta:hover {
  background: #FFFFFF;
  color: #123F49;

  transform: translateY(-3px);

  box-shadow:
    0 6px 35px rgba(255, 255, 255, 0.45);
}

.rufini-hero-cta:hover i {
  transform: translate(3px, -3px);
}

.rufini-hero-cta:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 4px;
}


/* =========================================================
   NOTEBOOKS
========================================================= */

@media (min-width: 992px) and (max-width: 1399.98px) {

  .rufini-hero {
    min-height: 650px;
    border-bottom-right-radius: 140px;
  }

  .rufini-hero-content {
    max-width: 510px;

    padding-top: 105px;
    padding-bottom: 90px;
  }

  .rufini-hero-logo {
    margin-bottom: 32px;
  }

  .rufini-hero-logo img {
    width: 145px;
  }

  .rufini-hero-title {
    font-size: 49px;
  }

  .rufini-hero-subtitle {
    font-size: 17px;
  }

  .rufini-hero-description {
    font-size: 14px;
    margin-bottom: 30px;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

  .rufini-hero {
    min-height: 680px;
    border-bottom-right-radius: 110px;
  }

  .rufini-hero-background {
    object-position: 60% center;
  }

  .rufini-hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(90deg,
        rgba(18, 63, 73, 0.96) 0%,
        rgba(18, 63, 73, 0.78) 55%,
        rgba(18, 63, 73, 0.15) 100%);

    z-index: 0;
    pointer-events: none;
  }

  .rufini-hero-content {
    max-width: 540px;

    padding-top: 90px;
    padding-bottom: 100px;
  }

  .rufini-hero-logo {
    margin-bottom: 38px;
  }

  .rufini-hero-title {
    font-size: 52px;
  }

  .rufini-hero-subtitle {
    font-size: 18px;
  }

}



/* =========================================================
   HERO — FUNDO RESPONSIVO
========================================================= */

.rufini-hero-picture {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  z-index: -1;
  pointer-events: none;
}

.rufini-hero-picture .rufini-hero-background {
  position: static;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}


/* =========================================================
   HERO — MOBILE
========================================================= */

@media (max-width: 767.98px) {

  /* HERO PRINCIPAL */

  .rufini-hero {
    position: relative;

    display: block;

    width: 100%;
    min-height: 0;

    padding: 0;

    overflow: hidden;

    border-radius: 0 0 110px 0;

    background: #123F49;
  }


  /* FUNDO MOBILE */

  .rufini-hero-picture {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .rufini-hero-picture .rufini-hero-background {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;
  }

  /* O GRADIENTE JÁ ESTÁ NA ARTE MOBILE */

  .rufini-hero::after {
    display: none;
  }


  /* CONTAINER */

  .rufini-hero .container {
    position: relative;
    z-index: 2;

    width: 100%;
  }


  /* CONTEÚDO */

  .rufini-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    max-width: 100%;

    margin: 0 auto;

    padding: clamp(275px, 88vw, 350px) 0 72px;

    text-align: center;
  }


  /* LOGO */

  .rufini-hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin: 0 0 26px;
  }

  .rufini-hero-logo img {
    display: block;

    width: 150px;
    max-width: 100%;
    height: auto;
  }


  /* H1 */

  .rufini-hero-title {
    width: 100%;
    max-width: 370px;

    margin: 0 auto 10px;

    color: #FFFFFF;

    font-size: clamp(30px, 9.9vw, 39px);
    line-height: 108%;
    letter-spacing: 0.2px;

    text-align: center;
  }

  .rufini-hero-title span {
    display: block;

    color: inherit;
    font: inherit;
    letter-spacing: inherit;
  }


  /* SUBTÍTULO */

  .rufini-hero-subtitle {
    width: 100%;
    max-width: 350px;

    margin: 0 auto 12px;

    color: #FFFFFF;

    font-size: 15px;
    font-weight: 400;
    line-height: 135%;

    text-align: center;
  }

  .rufini-hero-subtitle strong {
    color: inherit;
    font-weight: 700;
  }


  /* PARÁGRAFO */

  .rufini-hero-description {
    width: 100%;
    max-width: 345px;

    margin: 0 auto 36px;

    color: #FFFFFF;

    font-size: 13px;
    line-height: 140%;

    text-align: center;
  }


  /* CONTAINER DO CTA */

  .rufini-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    margin: 0;
  }


  /* CTA MOBILE */

  .rufini-hero-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 236px;
    max-width: 100%;
    height: 43px;
    min-height: 43px;

    padding: 10px 23px;
    gap: 15px;

    border-radius: 999px;
    border: 1px solid #FFFFFF;

    background: #E9EFF0;

    box-shadow:
      0 3px 32.2px 0 rgba(255, 255, 255, 0.40);

    color: #123F49;

    font-size: 13px;
    font-weight: 600;
    line-height: 20px;

    text-align: left;
    text-decoration: none;
    white-space: nowrap;
  }

  .rufini-hero-cta span,
  .rufini-hero-cta i {
    color: inherit;
  }

  .rufini-hero-cta i {
    font-size: 13px;
  }

}


/* =========================================================
   MOBILE PEQUENO — ATÉ 375PX
========================================================= */

@media (max-width: 375px) {

  .rufini-hero {
    border-bottom-right-radius: 105px;
  }

  .rufini-hero-content {
    padding-bottom: 70px;
  }

  .rufini-hero-title {
    font-size: clamp(30px, 9.9vw, 37px);
  }

  .rufini-hero-subtitle {
    font-size: 15px;
  }

  .rufini-hero-description {
    font-size: 13px;
  }

}


/* =========================================================
   TELAS MUITO PEQUENAS
========================================================= */

@media (max-width: 340px) {

  .rufini-hero-content {
    padding-top: 280px;
    padding-bottom: 65px;
  }

  .rufini-hero-logo img {
    width: 140px;
  }

  .rufini-hero-title {
    font-size: 30px;
  }

  .rufini-hero-subtitle {
    font-size: 14px;
  }

  .rufini-hero-description {
    font-size: 12.5px;
  }

}


/* =========================================================
   MOVIMENTO REDUZIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .rufini-hero-cta,
  .rufini-hero-cta i {
    transition: none;
  }

  .rufini-hero-cta:hover {
    transform: none;
  }

}


/* =========================================================
   INFORMAÇÃO E SEGURANÇA — RUFINI
========================================================= */

.informacao-seguranca {
  width: 100%;
  padding: 80px 0;
}


/* =========================================================
   BOX PRINCIPAL
========================================================= */

.informacao-seguranca-box {
  width: 100%;

  padding: 70px;

  border-radius: 20px;

  background: linear-gradient(103deg,
      #E9EFF0 34.06%,
      #FFFFFF 93.23%);
}


/* =========================================================
   CONTEÚDO
========================================================= */

.informacao-seguranca-content h2 {
  margin: 0 0 16px;
}

.informacao-seguranca-content p {
  margin: 0 0 18px;
}

.informacao-seguranca-content p:last-of-type {
  margin-bottom: 28px;
}


/* =========================================================
   CTA
========================================================= */

.informacao-seguranca-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  max-width: 275px;
  min-height: 49px;

  gap: 24px;
}

.informacao-seguranca-cta span {
  color: inherit;
}

.informacao-seguranca-cta span:last-child {
  font-size: 18px;
  line-height: 1;
}


/* =========================================================
   IMAGEM
========================================================= */

.informacao-seguranca-image {
  width: 100%;
  overflow: hidden;

  border-radius: 16px;
}

.informacao-seguranca-image img {
  display: block;

  width: 100%;
  height: auto;
  aspect-ratio: 1.6 / 1;

  object-fit: cover;
  object-position: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199.98px) {

  .informacao-seguranca-box {
    padding: 45px;
  }

  .informacao-seguranca-content h2 {
    margin-bottom: 14px;
  }

}


/* =========================================================
   TABLET E MOBILE
========================================================= */

@media (max-width: 991.98px) {

  .informacao-seguranca {
    padding: 60px 0;
  }

  .informacao-seguranca-box {
    padding: 40px;
  }

  .informacao-seguranca-content {
    max-width: 100%;
  }

  .informacao-seguranca-image img {
    aspect-ratio: 16 / 10;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

  .informacao-seguranca {
    padding: 40px 0;
  }

  .informacao-seguranca-box {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .informacao-seguranca-content h2 {
    margin-bottom: 16px;
  }

  .informacao-seguranca-content p {
    margin-bottom: 16px;
  }

  .informacao-seguranca-content p:last-of-type {
    margin-bottom: 25px;
  }

  .informacao-seguranca-cta {
    max-width: 100%;
  }

  .informacao-seguranca-image {
    border-radius: 12px;
  }

  .informacao-seguranca-image img {
    aspect-ratio: 4 / 3;
  }

}



/* =========================================================
   ESPECIALIDADE EM CIRURGIA DO QUADRIL
========================================================= */

.especialidade-quadril {
  width: 100%;
  overflow: hidden;
}


/* =========================================================
   IMAGEM ESQUERDA
========================================================= */

.especialidade-quadril-image {
  position: relative;

  width: 100%;
  height: 100%;
  min-height: 560px;

  overflow: hidden;

  background: #E9EFF0;
}

.especialidade-quadril-image img {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
}


/* =========================================================
   COLUNA DIREITA — FUNDO DECORATIVO
========================================================= */

.especialidade-quadril-right {
  display: flex;
  align-items: center;

  width: 100%;
  height: 100%;
  min-height: 560px;

  padding: 70px clamp(40px, 5.2vw, 100px);

  background-color: #123F49;
  background-image: url("/wp-content/themes/rufini/img/fundo-quadril.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.especialidade-quadril-content {
  width: 100%;
  max-width: 580px;
}

.especialidade-quadril-content h2 {
  margin: 0 0 24px;
}

.especialidade-quadril-content p {
  max-width: 530px;

  margin: 0 0 20px;

  color: #FFFFFF;
}

.especialidade-quadril-content p:last-of-type {
  margin-bottom: 32px;
}


/* =========================================================
   CTA — REUTILIZA ESTILO DO HERO
========================================================= */

.especialidade-quadril-cta {
  margin-top: 0;
}

.especialidade-quadril-cta span:last-child {
  font-size: 17px;
  line-height: 1;
}


/* =========================================================
   NOTEBOOK
========================================================= */

@media (min-width: 992px) and (max-width: 1399.98px) {

  .especialidade-quadril-image,
  .especialidade-quadril-right {
    min-height: 520px;
  }

  .especialidade-quadril-right {
    padding: 55px 45px;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

  .especialidade-quadril-image {
    height: 430px;
    min-height: 0;
  }

  .especialidade-quadril-right {
    min-height: 0;
    padding: 65px 45px;
  }

  .especialidade-quadril-content {
    max-width: 100%;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

  .especialidade-quadril-image {
    height: 320px;
  }

  .especialidade-quadril-image img {
    object-position: center;
  }

  .especialidade-quadril-right {
    padding: 55px 25px;

    background-position: center;
  }

  .especialidade-quadril-content h2 {
    margin-bottom: 22px;
  }

  .especialidade-quadril-content p {
    margin-bottom: 18px;
  }

  .especialidade-quadril-content p:last-of-type {
    margin-bottom: 28px;
  }

  .especialidade-quadril-cta {
    max-width: 100%;
  }

}


/* =========================================================
   SEÇÃO 01 — VIA ANTERIOR
========================================================= */

.rufini-via-anterior {
  width: 100%;
  padding: 80px 0 40px;
}


/* =========================================================
   CONTEÚDO — VIA ANTERIOR
========================================================= */

.rufini-via-anterior-content {
  width: 100%;
  max-width: 570px;
}

.rufini-via-anterior-content h2 {
  margin: 0 0 24px;
}

@media(min-width: 992px) {
  .rufini-via-anterior-content h2 {
    font-size: 56px;
  }
}

.rufini-via-anterior-content p {
  max-width: 530px;
  margin: 0 0 20px;
}

.rufini-via-anterior-content p:last-of-type {
  margin-bottom: 30px;
}


/* =========================================================
   IMAGEM — VIA ANTERIOR
========================================================= */

.rufini-via-anterior-image {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.rufini-via-anterior-image img {
  display: block;

  width: 100%;
  height: auto;
  aspect-ratio: 1.55 / 1;

  object-fit: cover;
  object-position: center;
}


/* =========================================================
   CTA COMPARTILHADO
========================================================= */

.rufini-section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  width: 270px;
  max-width: 100%;
  min-height: 49px;

  gap: 20px;
}

.rufini-section-cta span {
  color: inherit;
}

.rufini-section-cta span:last-child {
  font-size: 18px;
  line-height: 1;
}


/* =========================================================
   SEÇÃO 02 — SOBRE O DR. GUILHERME RUFINI
========================================================= */

.rufini-sobre-medico {
  width: 100%;
  padding: 40px 0 100px;
}


/* =========================================================
   IMAGEM ÚNICA — COMPOSIÇÃO DAS TRÊS FOTOS
========================================================= */

.rufini-sobre-medico-image {
  width: 100%;
  max-width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.rufini-sobre-medico-image img {
  display: block;

  width: 100%;
  max-width: 100%;
  height: auto;

  object-fit: contain;
}


/* =========================================================
   CONTEÚDO — SOBRE O MÉDICO
========================================================= */

.rufini-sobre-medico-content {
  width: 100%;
  max-width: 510px;
}

.rufini-sobre-medico-content h2 {
  margin: 0 0 24px;
}

.rufini-sobre-medico-content p {
  max-width: 490px;
  margin: 0 0 20px;
}

.rufini-sobre-medico-registro {
  margin-bottom: 30px !important;
}


/* =========================================================
   NOTEBOOK — 992px ATÉ 1399px
========================================================= */

@media (min-width: 992px) and (max-width: 1399.98px) {

  /* VIA ANTERIOR */

  .rufini-via-anterior {
    padding: 65px 0 35px;
  }

  .rufini-via-anterior-content h2 {
    margin-bottom: 20px;
  }

  /* SOBRE O MÉDICO */

  .rufini-sobre-medico {
    padding: 35px 0 80px;
  }

  .rufini-sobre-medico-content h2 {
    margin-bottom: 20px;
  }

}


/* =========================================================
   TABLET — ATÉ 991px
========================================================= */

@media (max-width: 991.98px) {

  /* VIA ANTERIOR */

  .rufini-via-anterior {
    padding: 60px 0 30px;
  }

  .rufini-via-anterior-content {
    max-width: 100%;
  }

  .rufini-via-anterior-image img {
    aspect-ratio: 16 / 9;
  }

  /* SOBRE O MÉDICO */

  .rufini-sobre-medico {
    padding: 40px 0 70px;
  }

  .rufini-sobre-medico-image {
    max-width: 720px;
    margin: 0 auto;
  }

  .rufini-sobre-medico-content {
    max-width: 100%;
  }

}


/* =========================================================
   MOBILE — ATÉ 767px
========================================================= */

@media (max-width: 767.98px) {

  /* VIA ANTERIOR */

  .rufini-via-anterior {
    padding: 45px 0 25px;
  }

  .rufini-via-anterior-content h2 {
    margin-bottom: 20px;
  }

  .rufini-via-anterior-content p {
    margin-bottom: 16px;
  }

  .rufini-via-anterior-content p:last-of-type {
    margin-bottom: 26px;
  }

  .rufini-via-anterior-image {
    border-radius: 16px;
  }

  .rufini-via-anterior-image img {
    aspect-ratio: 4 / 3;
  }

  /* CTA */

  .rufini-section-cta {
    width: 100%;
    max-width: 300px;
  }

  /* SOBRE O MÉDICO */

  .rufini-sobre-medico {
    padding: 35px 0 65px;
  }

  .rufini-sobre-medico-image {
    width: 100%;
    max-width: 100%;
  }

  .rufini-sobre-medico-image img {
    width: 100%;
    height: auto;
  }

  .rufini-sobre-medico-content h2 {
    margin-bottom: 20px;
  }

  .rufini-sobre-medico-content p {
    margin-bottom: 18px;
  }

  .rufini-sobre-medico-registro {
    margin-bottom: 26px !important;
  }

}


/* =========================================================
   MOBILE PEQUENO — ATÉ 375px
========================================================= */

@media (max-width: 375px) {

  .rufini-section-cta {
    max-width: 100%;
  }

  .rufini-sobre-medico-image {
    width: 100%;
  }

}


/* =========================================================
   QUANDO PROCURAR UMA AVALIAÇÃO — RUFINI
========================================================= */

.rufini-quando-avaliar {
  position: relative;

  display: flex;
  align-items: center;

  width: 100%;
  min-height: 500px;

  padding: 80px 0;

  background-color: #E9EFF0;
  background-image: url("/wp-content/themes/rufini/img/fundo-avaliacao.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}


/* =========================================================
   CONTAINER
========================================================= */

.rufini-quando-avaliar .container {
  position: relative;
  z-index: 1;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.rufini-quando-avaliar-content {
  width: 100%;
  max-width: 540px;
}


/* =========================================================
   TÍTULO
========================================================= */

.rufini-quando-avaliar-content h2 {
  margin: 0 0 26px;
}


/* =========================================================
   LISTA COM CHECK PERSONALIZADO
========================================================= */

.rufini-quando-avaliar-lista {
  display: flex;
  flex-direction: column;

  gap: 12px;

  margin: 0 0 32px;
  padding: 0;

  list-style: none;
}

.rufini-quando-avaliar-lista li {
  position: relative;

  margin: 0;
  padding-left: 28px;
}


/* =========================================================
   ÍCONE CHECK — IMAGEM
========================================================= */

.rufini-quando-avaliar-lista li::before {
  content: "";

  position: absolute;
  top: 3px;
  left: 0;

  width: 17px;
  height: 17px;

  background-image: url("/wp-content/themes/rufini/img/check-rufini.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}


/* =========================================================
   CTA
========================================================= */

.rufini-quando-avaliar .rufini-section-cta {
  margin-top: 0;
}


/* =========================================================
   NOTEBOOK
========================================================= */

@media (min-width: 992px) and (max-width: 1399.98px) {

  .rufini-quando-avaliar {
    min-height: 440px;
    padding: 65px 0;
  }

  .rufini-quando-avaliar-content {
    max-width: 500px;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

  .rufini-quando-avaliar {
    min-height: 450px;
    padding: 65px 0;

    background-position: 65% center;
  }

  .rufini-quando-avaliar-content {
    max-width: 480px;
  }

}


/* =========================================================
   QUANDO PROCURAR UMA AVALIAÇÃO — MOBILE
========================================================= */

@media (max-width: 767.98px) {

  /* SEÇÃO PRINCIPAL */

  .rufini-quando-avaliar {
    display: block;

    width: 100%;
    min-height: 615px;

    padding: 185px 0 80px;

    background-color: #E9EFF0;
    background-image: url("/wp-content/themes/rufini/img/banner-mobile-avaliacao.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
  }


  /* CONTAINER */

  .rufini-quando-avaliar .container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }


  /* CONTEÚDO */

  .rufini-quando-avaliar-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: 100%;
    max-width: 100%;
  }


  /* TÍTULO */

  .rufini-quando-avaliar-content h2 {
    max-width: 310px;

    margin: 0 0 24px 20px;
  }


  /* LISTA */

  .rufini-quando-avaliar-lista {
    display: flex;
    flex-direction: column;

    width: 100%;
    gap: 7px;

    margin: 0 0 30px;
    padding: 0;

    list-style: none;
  }

  .rufini-quando-avaliar-lista li {
    position: relative;

    margin: 0;
    padding-left: 26px;

    font-size: 13px;
    line-height: 1.35;
  }


  /* CHECKS */

  .rufini-quando-avaliar-lista li::before {
    content: "";

    position: absolute;
    top: 2px;
    left: 0;

    width: 17px;
    height: 17px;

    background-image: url("/wp-content/themes/rufini/img/check-rufini.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }


  /* CTA CENTRALIZADO */

  .rufini-quando-avaliar .rufini-section-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    align-self: center;

    width: 235px;
    max-width: 100%;
    min-height: 41px;

    margin: 0;
    padding: 8px 22px;
    gap: 20px;

    font-size: 13px;
    line-height: 20px;
  }

  .rufini-quando-avaliar .rufini-section-cta span {
    color: inherit;
  }

}


/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 375px) {

  .rufini-quando-avaliar {
    padding-top: 185px;
    padding-bottom: 75px;
  }

  .rufini-quando-avaliar-content h2 {
    margin-left: 18px;
  }

  .rufini-quando-avaliar-lista li {
    font-size: 13px;
  }

}



/* =========================================================
   LOCALIZAÇÃO — DR. GUILHERME RUFINI
========================================================= */

.rufini-localizacao {
  width: 100%;
  padding: 80px 0;

  background: #F8F8F8;
}


/* =========================================================
   MAPA
========================================================= */

.rufini-localizacao-mapa {
  position: relative;

  width: 100%;
  aspect-ratio: 1.8 / 1;

  overflow: hidden;

  border-radius: 16px;
  background: #E9EFF0;
}

.rufini-localizacao-mapa iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.rufini-localizacao-content {
  width: 100%;
  max-width: 550px;
}

.rufini-localizacao-content h2 {
  margin: 0 0 24px;
}

.rufini-localizacao-content p {
  max-width: 510px;
  margin: 0 0 20px;
}

.rufini-localizacao-content p:last-of-type {
  margin-bottom: 30px;
}


/* =========================================================
   ENDEREÇO
========================================================= */

.rufini-localizacao-endereco a {
  color: inherit;
  text-decoration: none;

  transition: color 0.3s ease;
}

.rufini-localizacao-endereco a:hover {
  color: #34515E;
  text-decoration: underline;
}


/* =========================================================
   CTA
========================================================= */

.rufini-localizacao .rufini-section-cta {
  margin-top: 0;
}


/* =========================================================
   NOTEBOOK
========================================================= */

@media (min-width: 992px) and (max-width: 1399.98px) {

  .rufini-localizacao {
    padding: 70px 0;
  }

  .rufini-localizacao-content h2 {
    margin-bottom: 20px;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

  .rufini-localizacao {
    padding: 60px 0;
  }

  .rufini-localizacao-mapa {
    aspect-ratio: 16 / 9;
  }

  .rufini-localizacao-content {
    max-width: 100%;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

  .rufini-localizacao {
    padding: 50px 0 60px;
  }

  .rufini-localizacao-mapa {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .rufini-localizacao-content h2 {
    margin-bottom: 20px;
  }

  .rufini-localizacao-content p {
    margin-bottom: 16px;
  }

  .rufini-localizacao-content p:last-of-type {
    margin-bottom: 26px;
  }

  .rufini-localizacao .rufini-section-cta {
    width: 100%;
    max-width: 300px;
  }

}


/* =========================================================
   LOCALIZAÇÃO — CARD DO MAPA
========================================================= */

.rufini-localizacao-mapa {
  width: 100%;
  aspect-ratio: auto;

  overflow: hidden;

  border-radius: 16px;
  background: #FFFFFF;
}


/* =========================================================
   CABEÇALHO
========================================================= */

.rufini-localizacao-mapa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
  padding: 24px 30px;

  background: #FFFFFF;
}


/* =========================================================
   INFORMAÇÕES DA CLÍNICA
========================================================= */

.rufini-localizacao-mapa-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 8px;
}

.rufini-localizacao-mapa-eyebrow {
  color: #34515E;

  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;

  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.rufini-localizacao-mapa-nome {
  color: #4E4E4E;

  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}


/* =========================================================
   LOGO CLÍNICA CEN
========================================================= */

.rufini-localizacao-mapa-logo {
  flex-shrink: 0;
}

.rufini-localizacao-mapa-logo img {
  display: block;

  width: 110px;
  max-width: 100%;
  height: auto;

  object-fit: contain;
}


/* =========================================================
   GOOGLE MAPS
========================================================= */

.rufini-localizacao-mapa-embed {
  width: 100%;
  height: 265px;

  overflow: hidden;
}

.rufini-localizacao-mapa-embed iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

  .rufini-localizacao-mapa-header {
    padding: 24px;
  }

  .rufini-localizacao-mapa-embed {
    height: 300px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

  .rufini-localizacao-mapa {
    border-radius: 14px;
  }

  .rufini-localizacao-mapa-header {
    padding: 22px 18px;
    gap: 12px;
  }

  .rufini-localizacao-mapa-info {
    gap: 6px;
  }

  .rufini-localizacao-mapa-eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .rufini-localizacao-mapa-nome {
    font-size: 32px;
  }

  .rufini-localizacao-mapa-logo img {
    width: 85px;
  }

  .rufini-localizacao-mapa-embed {
    height: 260px;
  }

}


/* =========================================================
   CTA FINAL — DR. GUILHERME RUFINI
========================================================= */

.rufini-cta-final {
  width: 100%;
  padding: 70px 0;
}


/* =========================================================
   BOX PRINCIPAL — FUNDO DECORATIVO
========================================================= */

.rufini-cta-final-box {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 300px;

  padding: 55px 40px;

  overflow: hidden;
  border-radius: 20px;

  background-color: #123F49;
  background-image: url("/wp-content/themes/rufini/img/fundo-cta-final.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


/* =========================================================
   CONTEÚDO CENTRALIZADO
========================================================= */

.rufini-cta-final-content {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  max-width: 950px;

  margin: 0 auto;
  text-align: center;
}


/* =========================================================
   TÍTULO
========================================================= */

.rufini-cta-final-content h2 {
  margin: 0 0 22px;
}


/* =========================================================
   DESCRIÇÃO
========================================================= */

.rufini-cta-final-content p {
  max-width: 800px;

  margin: 0 0 32px;

  color: #FFFFFF;
  text-align: center;
}


/* =========================================================
   CTA — REUTILIZA BOTÃO DO HERO
========================================================= */

.rufini-cta-final-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  width: 260px;
  max-width: 100%;
  min-height: 49px;

  gap: 25px;

  margin: 0;
}

.rufini-cta-final-button span {
  color: inherit;
}

.rufini-cta-final-button span:last-child {
  font-size: 18px;
  line-height: 1;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

  .rufini-cta-final {
    padding: 55px 0;
  }

  .rufini-cta-final-box {
    min-height: 280px;
    padding: 50px 35px;
  }

  .rufini-cta-final-content h2 {
    margin-bottom: 20px;
  }

  .rufini-cta-final-content p {
    margin-bottom: 28px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

  .rufini-cta-final {
    padding: 45px 0;
  }

  .rufini-cta-final-box {
    min-height: 0;

    padding: 55px 24px;

    border-radius: 18px;

    background-position: center;
  }

  .rufini-cta-final-content {
    max-width: 100%;
  }

  .rufini-cta-final-content h2 {
    margin-bottom: 22px;
  }

  .rufini-cta-final-content p {
    margin-bottom: 30px;
  }

  .rufini-cta-final-button {
    width: 100%;
    max-width: 270px;
  }

}


/* =========================================================
   FOOTER — DR. GUILHERME RUFINI
========================================================= */

.rufini-footer {
  width: 100%;

  padding: 60px 0 140px;

  background: #123F49;
  color: #FFFFFF;
}


/* =========================================================
   CONTAINER INTERNO
========================================================= */

.rufini-footer-inner {
  width: 100%;
  max-width: 1100px;

  margin: 0 auto;
}


/* =========================================================
   COLUNAS SUPERIORES
========================================================= */

.rufini-footer-top {
  display: grid;

  grid-template-columns: 1.2fr 1.2fr 1fr;
  align-items: start;

  gap: 60px;

  padding-bottom: 45px;
}


/* =========================================================
   LOGO
========================================================= */

.rufini-footer-brand img {
  display: block;

  width: 180px;
  max-width: 100%;
  height: auto;
}


/* =========================================================
   INFORMAÇÕES
========================================================= */

.rufini-footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rufini-footer-info strong {
  display: block;

  margin-bottom: 2px;

  color: #FFFFFF;
  font-weight: 600;
}

.rufini-footer-info p {
  margin: 0;

  color: #FFFFFF;
  line-height: 1.4;
}

.rufini-footer-info small {
  display: block;

  margin-top: 8px;

  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  line-height: 1.4;
}


/* =========================================================
   LINHA DIVISÓRIA
========================================================= */

.rufini-footer-divider {
  width: 100%;
  height: 1px;

  background: rgba(255, 255, 255, 0.25);
}


/* =========================================================
   COPYRIGHT
========================================================= */

.rufini-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 8px;

  padding-top: 32px;

  text-align: center;
}

.rufini-footer-bottom p {
  margin: 0;

  color: #FFFFFF;
}

.rufini-footer-bottom a {
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;

  transition: opacity 0.3s ease;
}

.rufini-footer-bottom a:hover {
  color: #FFFFFF;
  opacity: 0.75;
  text-decoration: underline;
}

.rufini-footer-bottom a:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 4px;
}


/* =========================================================
   NOTEBOOK
========================================================= */

@media (min-width: 992px) and (max-width: 1399.98px) {

  .rufini-footer {
    padding: 55px 0 75px;
  }

  .rufini-footer-top {
    gap: 40px;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

  .rufini-footer {
    padding: 55px 0 65px;
  }

  .rufini-footer-top {
    grid-template-columns: repeat(2, 1fr);

    gap: 35px;
    padding-bottom: 40px;
  }

  .rufini-footer-brand {
    grid-column: 1 / -1;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

  .rufini-footer {
    padding: 50px 0 55px;
  }

  .rufini-footer-top {
    display: flex;
    flex-direction: column;

    gap: 30px;

    padding-bottom: 35px;
  }

  .rufini-footer-brand {
    margin-bottom: 5px;
  }

  .rufini-footer-brand img {
    width: 160px;
  }

  .rufini-footer-info {
    width: 100%;
  }

  .rufini-footer-divider {
    background: rgba(255, 255, 255, 0.20);
  }

  .rufini-footer-bottom {
    gap: 10px;

    padding-top: 28px;
  }

  .rufini-footer-bottom p {
    text-align: center;
  }

}

@media(max-width: 550px) {
  h2 {
    font-size: 34px;
    line-height: 112.902%;
    letter-spacing: 0.4px;
  }

  h2.big {
    font-size: 40px;
    line-height: 112.902%;
    letter-spacing: 0.4px;
  }
}

@media(max-width: 420px) {
  h2 {
    font-size: 32px;
    line-height: 112.902%;
    letter-spacing: 0.4px;
  }

  h2.big {
    font-size: 38px;
    line-height: 112.902%;
    letter-spacing: 0.4px;
  }
}

@media(max-width: 370px) {
  h2 {
    font-size: 31px;
    line-height: 112.902%;
    letter-spacing: 0.4px;
  }

  h2.big {
    font-size: 36px;
    line-height: 112.902%;
    letter-spacing: 0.4px;
  }
}

@media(max-width: 330px) {
  h2 {
    font-size: 30px;
    line-height: 112.902%;
    letter-spacing: 0.4px;
  }

  h2.big {
    font-size: 34px;
    line-height: 112.902%;
    letter-spacing: 0.4px;
  }
}


/* =========================================================
   CTA FIXO — DR. GUILHERME RUFINI
========================================================= */

.rufini-cta-fixo {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 9998;

  width: auto;
  max-width: calc(100% - 30px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateX(-50%) translateY(30px);

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease;
}

.rufini-cta-fixo.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateX(-50%) translateY(0);
}


/* =========================================================
   BOX PRINCIPAL
========================================================= */

.rufini-cta-fixo-box {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  min-width: 580px;
  min-height: 88px;

  padding: 14px 16px 14px 32px;
  gap: 22px;

  border: 2px solid rgba(52, 81, 94, 0.30);
  border-radius: 999px;

  background: rgba(233, 239, 240, 0.97);

  box-shadow:
    0 18px 45px rgba(18, 63, 73, 0.18);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


/* =========================================================
   STATUS DE ATENDIMENTO
========================================================= */

.rufini-cta-fixo-status {
  display: flex;
  align-items: center;

  gap: 12px;

  white-space: nowrap;
}

.rufini-cta-fixo-status span:last-child {
  color: #123F49;

  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}


/* =========================================================
   INDICADOR VISUAL
========================================================= */

.rufini-cta-status-dot {
  position: relative;

  display: inline-block;
  flex-shrink: 0;

  width: 13px;
  height: 13px;

  border-radius: 50%;

  background: #34515E;

  box-shadow:
    0 0 12px rgba(52, 81, 94, 0.40);

  animation: rufiniPulseDot 2s infinite ease-in-out;
}

.rufini-cta-status-dot::after {
  content: "";

  position: absolute;
  inset: -6px;

  border: 2px solid rgba(52, 81, 94, 0.30);
  border-radius: 50%;

  animation: rufiniPulseRing 2s infinite ease-out;
}


/* =========================================================
   ANIMAÇÕES
========================================================= */

@keyframes rufiniPulseDot {

  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 10px rgba(52, 81, 94, 0.35);
  }

  50% {
    transform: scale(1.12);
    box-shadow:
      0 0 18px rgba(52, 81, 94, 0.60);
  }

}

@keyframes rufiniPulseRing {

  0% {
    opacity: 0.7;
    transform: scale(0.7);
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
  }

}


/* =========================================================
   BOTÃO PRINCIPAL
========================================================= */

.rufini-cta-fixo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  flex-shrink: 0;

  width: auto;
  min-width: 255px;
  min-height: 56px;

  margin: 0;
  padding: 10px 12px 10px 25px;
  gap: 25px;

  border: 1px solid #FFFFFF;
  border-radius: 999px;

  background: #123F49;
  box-shadow:
    0 3px 20px rgba(18, 63, 73, 0.16);

  color: #FFFFFF;

  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;

  text-decoration: none;
  white-space: nowrap;

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.rufini-cta-fixo-btn > span:first-child {
  color: inherit;
}


/* =========================================================
   ÍCONE DO BOTÃO
========================================================= */

.rufini-cta-fixo-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 34px;
  height: 34px;

  border-radius: 50%;

  background: #E9EFF0;
  color: #123F49;

  font-size: 13px;

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.rufini-cta-fixo-icon i {
  color: inherit;
}


/* =========================================================
   HOVER CTA
========================================================= */

.rufini-cta-fixo-btn:hover {
  background: #34515E;
  color: #FFFFFF;

  transform: translateY(-2px);

  box-shadow:
    0 12px 28px rgba(18, 63, 73, 0.25);
}

.rufini-cta-fixo-btn:hover .rufini-cta-fixo-icon {
  background: #FFFFFF;
  color: #123F49;

  transform: rotate(45deg);
}

.rufini-cta-fixo-btn:focus-visible {
  outline: 2px solid #123F49;
  outline-offset: 4px;
}


/* =========================================================
   VOLTAR AO TOPO
========================================================= */

.rufini-btn-scroll-topo {
  position: fixed;
  right: 28px;
  bottom: 38px;

  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;

  padding: 0;

  border: 2px solid rgba(52, 81, 94, 0.40);
  border-radius: 50%;

  background: rgba(233, 239, 240, 0.97);
  color: #123F49;

  font-size: 17px;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(25px);

  box-shadow:
    0 12px 35px rgba(18, 63, 73, 0.16);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease,
    background-color 0.35s ease,
    color 0.35s ease;
}

.rufini-btn-scroll-topo.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0);
}


/* =========================================================
   HOVER VOLTAR AO TOPO
========================================================= */

.rufini-btn-scroll-topo:hover {
  background: #123F49;
  border-color: #123F49;
  color: #FFFFFF;

  transform: translateY(-4px);
}

.rufini-btn-scroll-topo:focus-visible {
  outline: 2px solid #123F49;
  outline-offset: 4px;
}


/* =========================================================
   TABLET / MOBILE — ATÉ 991PX
========================================================= */

@media (max-width: 991.98px) {

  /* CTA FIXO */

  .rufini-cta-fixo {
    left: 0;
    bottom: 0;

    width: 100%;
    max-width: 100%;

    transform: translateY(30px);
  }

  .rufini-cta-fixo.show {
    transform: translateY(0);
  }


  /* BOX */

  .rufini-cta-fixo-box {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: auto;

    padding:
      15px
      25px
      calc(14px + env(safe-area-inset-bottom, 0px));

    gap: 10px;

    border-top: 2px solid rgba(52, 81, 94, 0.25);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;

    border-radius: 0;

    background: rgba(233, 239, 240, 0.98);

    box-shadow:
      0 -10px 35px rgba(18, 63, 73, 0.14);
  }


  /* BOTÃO */

  .rufini-cta-fixo-btn {
    width: 100%;
    max-width: 300px;
    min-width: 0;
    min-height: 52px;

    padding: 9px 10px 9px 22px;

    font-size: 14px;
  }

  .rufini-cta-fixo-icon {
    width: 32px;
    height: 32px;

    font-size: 12px;
  }


  /* STATUS */

  .rufini-cta-fixo-status {
    justify-content: center;
    gap: 9px;
  }

  .rufini-cta-fixo-status span:last-child {
    font-size: 12px;
  }

  .rufini-cta-status-dot {
    width: 11px;
    height: 11px;
  }

  .rufini-cta-status-dot::after {
    inset: -5px;
  }


  /* VOLTAR AO TOPO */

  .rufini-btn-scroll-topo {
    right: 14px;
    bottom: calc(125px + env(safe-area-inset-bottom, 0px));

    width: 46px;
    height: 46px;

    font-size: 15px;
  }

}


/* =========================================================
   MOBILE — ATÉ 575PX
========================================================= */

@media (max-width: 575.98px) {

  .rufini-cta-fixo-box {
    padding:
      13px
      20px
      calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .rufini-cta-fixo-btn {
    max-width: 280px;
  }

  .rufini-btn-scroll-topo {
    bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  }

}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .rufini-cta-fixo,
  .rufini-cta-fixo-btn,
  .rufini-cta-fixo-icon,
  .rufini-btn-scroll-topo {
    transition: none;
  }

  .rufini-cta-status-dot,
  .rufini-cta-status-dot::after {
    animation: none;
  }

}



/* =========================================================
   CURSOR PERSONALIZADO — RUFINI
========================================================= */

.rufini-cursor {
  position: fixed;
  top: 0;
  left: 0;

  z-index: 99999;

  color: #34515E;
  font-size: 22px;

  pointer-events: none;
  user-select: none;

  opacity: 0;
  visibility: hidden;

  transform: translate(-3px, -3px);

  filter: drop-shadow(
    0 1px 2px rgba(255, 255, 255, 0.8)
  );
}

.rufini-cursor.is-visible {
  opacity: 1;
  visibility: visible;
}

.rufini-cursor.is-hidden {
  opacity: 0;
  visibility: hidden;
}


/* =========================================================
   ATIVAR APENAS NO DESKTOP COM MOUSE
========================================================= */

@media (hover: hover) and (pointer: fine) {

  html.rufini-custom-cursor,
  html.rufini-custom-cursor body,
  html.rufini-custom-cursor body *:not(input):not(textarea):not(select):not(iframe) {
    cursor: none !important;
  }

}


/* =========================================================
   MOBILE E TABLET TOUCH
========================================================= */

@media (hover: none), (pointer: coarse) {

  .rufini-cursor {
    display: none !important;
  }

}


