/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Arial", sans-serif;
  background: #f7f9fb;
  color: #1d2f40;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  /*
     O header agora já possui fundo desde o início.
     Assim ele não fica misturado com a imagem da Hero.
  */

  background: rgba(255, 255, 255, 0.96);

  border-bottom: 1px solid rgba(32, 52, 54, 0.07);

  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.045);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

/* =========================================================
   HEADER AO ROLAR
========================================================= */

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.985);

  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   CONTAINER DO HEADER
========================================================= */

.header-container {
  width: min(1240px, calc(100% - 60px));

  height: 88px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 35px;
}

/* =========================================================
   LOGO
========================================================= */

.logo {
  display: flex;
  align-items: center;

  gap: 12px;

  flex-shrink: 0;
}

/* =========================================================
   SÍMBOLO DO LOGO
========================================================= */

.logo-symbol {
  position: relative;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1.5px solid #2f6fa3;

  border-radius: 50%;
}

/* =========================================================
   CRUZ DO LOGO
========================================================= */

.logo-symbol span:first-child {
  position: absolute;

  width: 18px;
  height: 4px;

  border-radius: 5px;

  background: #2f6fa3;
}

.logo-symbol span:last-child {
  position: absolute;

  width: 4px;
  height: 18px;

  border-radius: 5px;

  background: #2f6fa3;
}

/* =========================================================
   TEXTO DO LOGO
========================================================= */

.logo-text {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.logo-text strong {
  font-size: 17px;

  font-weight: 700;

  letter-spacing: -0.3px;

  color: #203d52;
}

.logo-text small {
  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 2px;

  color: #7896aa;
}

/* =========================================================
   NAVEGAÇÃO
========================================================= */

.main-nav {
  display: flex;
  align-items: center;

  gap: 30px;

  margin-left: auto;
}

.nav-link {
  position: relative;

  font-size: 13px;

  font-weight: 500;

  color: #40576a;

  transition: color 0.25s ease;
}

/* linha abaixo do link */

.nav-link::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;
  height: 1.5px;

  background: #2f6fa3;

  transition: width 0.25s ease;
}

.nav-link:hover {
  color: #2f6fa3;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* =========================================================
   BOTÃO DO HEADER
========================================================= */

.header-button {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 44px;

  padding: 0 18px;

  border-radius: 6px;

  background: #2f6fa3;

  color: #ffffff;

  font-size: 12px;

  font-weight: 600;

  white-space: nowrap;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.header-button svg {
  width: 15px;
  height: 15px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;

  transition: transform 0.25s ease;
}

.header-button:hover {
  background: #245b86;

  transform: translateY(-2px);

  box-shadow: 0 8px 20px rgba(47, 111, 163, 0.2);
}

.header-button:hover svg {
  transform: translateX(3px);
}

/* =========================================================
   BOTÃO MOBILE
========================================================= */

.menu-toggle {
  display: none;

  position: relative;

  width: 44px;
  height: 44px;

  padding: 0;

  border: none;

  background: transparent;

  cursor: pointer;
}

/* =========================================================
   LINHAS DO MENU
========================================================= */

.menu-toggle span {
  position: absolute;

  left: 10px;

  width: 24px;
  height: 2px;

  border-radius: 10px;

  background: #203d52;

  transition:
    transform 0.3s ease,
    top 0.3s ease,
    opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 14px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 28px;
}

/* =========================================================
   MENU MOBILE
========================================================= */

.mobile-menu {
  display: none;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {
  .header-container {
    width: min(100% - 40px, 1240px);
  }

  .main-nav {
    gap: 20px;
  }

  .nav-link {
    font-size: 12px;
  }

  .header-button {
    padding: 0 14px;
  }

  .header-button span {
    display: none;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {
  .header-container {
    width: calc(100% - 36px);

    height: 76px;
  }

  /* -------------------------------------------------------
     ESCONDER MENU DESKTOP
  ------------------------------------------------------- */

  .main-nav,
  .header-button {
    display: none;
  }

  /* -------------------------------------------------------
     LOGO MOBILE
  ------------------------------------------------------- */

  .logo-text strong {
    font-size: 15px;
  }

  .logo-text small {
    font-size: 8px;

    letter-spacing: 1.5px;
  }

  .logo-symbol {
    width: 38px;
    height: 38px;
  }

  /* -------------------------------------------------------
     BOTÃO MOBILE
  ------------------------------------------------------- */

  .menu-toggle {
    display: block;
  }

  /* -------------------------------------------------------
     MENU ABERTO
  ------------------------------------------------------- */

  .site-header.menu-open .mobile-menu {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
  }

  /* transformar hamburger em X */

  .site-header.menu-open .menu-toggle span:nth-child(1) {
    top: 21px;

    transform: rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-toggle span:nth-child(3) {
    top: 21px;

    transform: rotate(-45deg);
  }

  /* -------------------------------------------------------
     PAINEL MOBILE
  ------------------------------------------------------- */

  .mobile-menu {
    display: block;

    position: absolute;

    top: 76px;

    left: 0;

    width: 100%;

    padding: 15px 18px 25px;

    background: rgba(255, 255, 255, 0.99);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    border-top: 1px solid rgba(0, 0, 0, 0.05);

    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-12px);

    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
  }

  /* -------------------------------------------------------
     LINKS MOBILE
  ------------------------------------------------------- */

  .mobile-menu nav {
    display: flex;

    flex-direction: column;
  }

  .mobile-menu nav a {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 17px 5px;

    border-bottom: 1px solid #e9eef2;

    font-size: 14px;

    font-weight: 500;

    color: #263f54;

    transition:
      color 0.2s ease,
      padding-left 0.2s ease;
  }

  .mobile-menu nav a span {
    font-size: 10px;

    color: #7d9bb2;

    letter-spacing: 1px;
  }

  .mobile-menu nav a:hover {
    color: #2f6fa3;

    padding-left: 8px;
  }

  /* -------------------------------------------------------
     BOTÃO WHATSAPP MOBILE
  ------------------------------------------------------- */

  .mobile-whatsapp {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 48px;

    margin-top: 18px;

    border-radius: 6px;

    background: #2f6fa3;

    color: #ffffff;

    font-size: 13px;

    font-weight: 600;

    transition: background 0.25s ease;
  }

  .mobile-whatsapp:hover {
    background: #245b86;
  }
}

/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 420px) {
  .header-container {
    width: calc(100% - 28px);
  }

  .logo-text strong {
    font-size: 14px;
  }

  .logo-text small {
    display: none;
  }
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  min-height: 100vh;
  height: 800px;

  overflow: hidden;

  display: flex;
  align-items: center;

  background: #122f49;
}

/* =========================================================
   IMAGEM
========================================================= */

.hero-background {
  position: absolute;

  inset: 0;

  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transform: scale(1.03);

  animation: heroImage 14s ease-out forwards;
}

@keyframes heroImage {
  from {
    transform: scale(1.07);
  }

  to {
    transform: scale(1.03);
  }
}

/* =========================================================
   OVERLAY
========================================================= */

.hero-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  background: linear-gradient(
    90deg,
    rgba(10, 27, 29, 0.96) 0%,
    rgba(10, 27, 29, 0.86) 30%,
    rgba(10, 27, 29, 0.6) 55%,
    rgba(10, 27, 29, 0.28) 78%,
    rgba(10, 27, 29, 0.12) 100%
  );
}

.hero-overlay::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(0deg, rgba(6, 20, 21, 0.65), transparent 45%);
}

/* =========================================================
   ANIMAÇÃO 3D
========================================================= */

.hero-3d {
  position: absolute;

  z-index: 2;

  right: -2%;

  top: 50%;

  width: min(58vw, 820px);
  height: min(58vw, 820px);

  transform: translateY(-50%)
    translate3d(var(--mouse-x, 0px), var(--mouse-y, 0px), 0);

  pointer-events: none;

  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);

  opacity: 0.92;
}

/* =========================================================
   CANVAS
========================================================= */

#medicalCanvas {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  display: block;
}

/* =========================================================
   BRILHO
========================================================= */

.hero-3d-glow {
  position: absolute;

  width: 55%;
  height: 55%;

  left: 25%;
  top: 25%;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(155, 196, 223, 0.18) 0%,
    rgba(155, 196, 223, 0.07) 35%,
    transparent 70%
  );

  filter: blur(25px);

  animation: medicalGlow 6s ease-in-out infinite;

  pointer-events: none;
}

@keyframes medicalGlow {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.55;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

/* =========================================================
   CONTAINER
========================================================= */

.hero-container {
  position: relative;

  z-index: 4;

  width: min(1240px, calc(100% - 60px));

  min-height: 100vh;

  margin: 0 auto;

  padding-top: 120px;
  padding-bottom: 45px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;
}

/* =========================================================
   CONTEÚDO
========================================================= */

.hero-content {
  max-width: 680px;

  margin-top: auto;
  margin-bottom: auto;
}

/* =========================================================
   LABEL
========================================================= */

.hero-label {
  display: flex;

  align-items: center;

  gap: 11px;

  margin-bottom: 22px;

  color: rgba(255, 255, 255, 0.82);

  font-size: 11px;

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 2.5px;
}

.hero-label span {
  width: 28px;
  height: 1px;

  background: #9bc4df;
}

/* =========================================================
   TÍTULO
========================================================= */

.hero h1 {
  max-width: 700px;

  margin: 0;

  color: #ffffff;

  font-size: clamp(44px, 5vw, 72px);

  line-height: 1.02;

  font-weight: 400;

  letter-spacing: -2.5px;
}

.hero h1 strong {
  display: block;

  color: #b7d4e8;

  font-weight: 400;
}

/* =========================================================
   DESCRIÇÃO
========================================================= */

.hero-content > p {
  max-width: 530px;

  margin-top: 26px;

  color: rgba(255, 255, 255, 0.76);

  font-size: 16px;

  line-height: 1.7;

  font-weight: 300;
}

/* =========================================================
   BOTÕES
========================================================= */

.hero-actions {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-top: 34px;
}

.hero-button {
  min-height: 52px;

  padding: 0 21px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  border-radius: 4px;

  font-size: 12px;

  font-weight: 600;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

/* =========================================================
   BOTÃO PRINCIPAL
========================================================= */

.hero-button.primary {
  background: #3f82b8;

  color: #ffffff;
}

.hero-button.primary svg {
  width: 16px;
  height: 16px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  transition: transform 0.25s ease;
}

.hero-button.primary:hover {
  background: #5595c7;

  transform: translateY(-2px);
}

.hero-button.primary:hover svg {
  transform: translateX(3px);
}

/* =========================================================
   BOTÃO SECUNDÁRIO
========================================================= */

.hero-button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);

  color: #ffffff;

  background: rgba(255, 255, 255, 0.04);

  backdrop-filter: blur(8px);
}

.hero-button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.65);

  background: rgba(255, 255, 255, 0.1);
}

/* =========================================================
   INFORMAÇÕES INFERIORES
========================================================= */

.hero-bottom {
  display: flex;

  align-items: flex-end;

  width: 100%;

  padding-top: 25px;

  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-info {
  display: flex;

  align-items: center;

  gap: 13px;

  width: 205px;
}

.hero-info-number {
  color: rgba(255, 255, 255, 0.38);

  font-size: 10px;

  letter-spacing: 1px;
}

.hero-info strong {
  display: block;

  color: #ffffff;

  font-size: 11px;

  font-weight: 600;

  letter-spacing: 0.3px;
}

.hero-info small {
  display: block;

  margin-top: 4px;

  color: rgba(255, 255, 255, 0.53);

  font-size: 10px;
}

/* =========================================================
   SCROLL
========================================================= */

.hero-scroll {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-left: auto;
}

.hero-scroll span {
  position: relative;

  display: block;

  width: 1px;
  height: 35px;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.25);
}

.hero-scroll span::after {
  content: "";

  position: absolute;

  top: -100%;
  left: 0;

  width: 1px;
  height: 50%;

  background: #ffffff;

  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    top: -50%;
  }

  100% {
    top: 100%;
  }
}

.hero-scroll p {
  color: rgba(255, 255, 255, 0.55);

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 1.5px;

  writing-mode: vertical-rl;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .hero-container {
    width: calc(100% - 40px);
  }

  .hero h1 {
    font-size: clamp(42px, 7vw, 60px);
  }

  .hero-info {
    width: 180px;
  }

  .hero-3d {
    right: -15%;

    width: 65vw;
    height: 65vw;

    opacity: 0.55;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
  .hero {
    min-height: 760px;

    height: 100svh;
  }

  .hero-background img {
    object-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(13, 29, 30, 0.67) 0%,
      rgba(13, 29, 30, 0.78) 45%,
      rgba(13, 29, 30, 0.96) 100%
    );
  }

  /* 3D menor e mais discreto */

  .hero-3d {
    right: -28%;

    top: 47%;

    width: 100vw;
    height: 100vw;

    opacity: 0.35;
  }

  .hero-container {
    width: calc(100% - 36px);

    min-height: 100svh;

    padding-top: 110px;
    padding-bottom: 28px;
  }

  .hero-content {
    max-width: 100%;

    margin-top: auto;
    margin-bottom: auto;
  }

  .hero-label {
    margin-bottom: 18px;

    font-size: 9px;

    letter-spacing: 2px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);

    line-height: 1.04;

    letter-spacing: -1.8px;
  }

  .hero-content > p {
    margin-top: 20px;

    font-size: 14px;

    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;

    align-items: stretch;

    margin-top: 27px;
  }

  .hero-button {
    width: 100%;
  }

  .hero-info {
    display: none;
  }

  .hero-bottom {
    justify-content: flex-end;

    padding-top: 0;

    border-top: none;
  }

  .hero-scroll {
    margin-left: 0;
  }
}

/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 400px) {
  .hero-container {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-content > p {
    font-size: 13px;
  }
}
/* =========================================================
   CLÍNICA
========================================================= */

.clinic-section {
  position: relative;

  padding: 150px 0;

  background: #f4f7fa;

  overflow: hidden;
}

/* =========================================================
   CONTAINER
========================================================= */

.clinic-container {
  position: relative;

  width: min(1240px, calc(100% - 60px));

  min-height: 650px;

  margin: 0 auto;
}

/* =========================================================
   IMAGEM
========================================================= */

.clinic-image {
  position: absolute;

  top: 0;
  left: 0;

  width: 68%;
  height: 650px;

  overflow: hidden;

  border-radius: 2px;
}

.clinic-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;

  transition: transform 1s ease;
}

.clinic-image:hover img {
  transform: scale(1.035);
}

/* =========================================================
   CONTEÚDO
========================================================= */

.clinic-content {
  position: absolute;

  z-index: 2;

  top: 90px;
  right: 0;

  width: 47%;

  padding: 65px 65px 70px;

  background: #ffffff;

  box-shadow: 0 25px 70px rgba(27, 48, 48, 0.09);
}

/* =========================================================
   LABEL
========================================================= */

.clinic-label {
  display: block;

  margin-bottom: 25px;

  color: #2f6fa3;

  font-size: 11px;

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 2px;
}

/* =========================================================
   TÍTULO
========================================================= */

.clinic-content h2 {
  margin: 0;

  color: #203d52;

  font-size: clamp(36px, 4vw, 54px);

  line-height: 1.08;

  letter-spacing: -2px;

  font-weight: 400;
}

.clinic-content h2 em {
  display: block;

  color: #3b78a8;

  font-style: normal;
}

/* =========================================================
   TEXTOS
========================================================= */

.clinic-intro {
  margin-top: 28px;

  color: #40576a;

  font-size: 16px;

  line-height: 1.7;

  font-weight: 400;
}

.clinic-content > p:not(.clinic-intro) {
  margin-top: 18px;

  color: #718293;

  font-size: 13px;

  line-height: 1.8;
}

/* =========================================================
   DETALHES
========================================================= */

.clinic-details {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 25px;

  margin-top: 35px;

  padding-top: 28px;

  border-top: 1px solid #e2e8ed;
}

.clinic-detail strong {
  display: block;

  margin-bottom: 7px;

  color: #203d52;

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.clinic-detail span {
  color: #74889a;

  font-size: 12px;

  line-height: 1.6;
}

/* =========================================================
   LINK
========================================================= */

.clinic-link {
  display: inline-flex;

  align-items: center;

  gap: 11px;

  margin-top: 35px;

  color: #245b86;

  font-size: 12px;

  font-weight: 700;
}

.clinic-link svg {
  width: 16px;
  height: 16px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  transition: transform 0.25s ease;
}

.clinic-link:hover svg {
  transform: translateX(4px);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
  .clinic-section {
    padding: 110px 0;
  }

  .clinic-container {
    min-height: 600px;
  }

  .clinic-image {
    width: 64%;

    height: 600px;
  }

  .clinic-content {
    width: 53%;

    top: 70px;

    padding: 50px 45px 55px;
  }

  .clinic-content h2 {
    font-size: 40px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
  .clinic-section {
    padding: 80px 0;
  }

  .clinic-container {
    width: calc(100% - 36px);

    min-height: auto;

    display: flex;
    flex-direction: column;

    gap: 30px;
  }

  /* -------------------------------------------------------
     CONTEÚDO PRIMEIRO
  ------------------------------------------------------- */

  .clinic-content {
    order: 1;

    position: relative;

    top: auto;
    right: auto;
    left: auto;

    width: 100%;

    margin: 0;

    padding: 38px 28px 0;
  }

  /* -------------------------------------------------------
     IMAGENS DEPOIS DO TEXTO
  ------------------------------------------------------- */

  .clinic-image {
    order: 2;

    position: relative !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    width: 100%;

    height: 330px;

    margin: 0;

    border-radius: 2px;

    overflow: hidden;
  }

  /* -------------------------------------------------------
     TEXTOS
  ------------------------------------------------------- */

  .clinic-label {
    margin-bottom: 18px;

    font-size: 9px;

    letter-spacing: 1.8px;
  }

  .clinic-content h2 {
    font-size: 36px;

    line-height: 1.08;

    letter-spacing: -1.4px;
  }

  .clinic-intro {
    margin-top: 22px;

    font-size: 14px;
  }

  .clinic-content > p:not(.clinic-intro) {
    font-size: 12px;

    line-height: 1.75;
  }

  /* -------------------------------------------------------
     DETALHES
  ------------------------------------------------------- */

  .clinic-details {
    grid-template-columns: 1fr;

    gap: 20px;

    margin-top: 28px;

    padding-top: 23px;
  }

  /* -------------------------------------------------------
     LINK
  ------------------------------------------------------- */

  .clinic-link {
    margin-top: 28px;
  }
}

/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 400px) {
  .clinic-container {
    width: calc(100% - 28px);

    gap: 25px;
  }

  .clinic-image {
    height: 280px;
  }

  .clinic-content {
    padding: 32px 23px 0;
  }

  .clinic-content h2 {
    font-size: 32px;
  }
}

/* =========================================================
   GALERIA DA CLÍNICA
========================================================= */

.clinic-image {
  position: absolute;
  overflow: hidden;
}

/* =========================================================
   SLIDES
========================================================= */

.clinic-slide {
  position: absolute;

  inset: 0;

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 1.2s ease,
    visibility 1.2s ease;
}

.clinic-slide.active {
  opacity: 1;

  visibility: visible;
}

/* =========================================================
   IMAGENS
========================================================= */

.clinic-slide img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1.04);

  transition: transform 6s ease;
}

.clinic-slide.active img {
  transform: scale(1);
}
/* =========================================================
   SERVIÇOS
========================================================= */

.services-section {
  width: 100%;

  padding: 150px 0 160px;

  background: #f2f6fa;

  overflow: hidden;
}

/* =========================================================
   CABEÇALHO
========================================================= */

.services-top {
  width: min(1420px, calc(100% - 80px));

  margin: 0 auto 65px;

  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 80px;
}

.services-label {
  display: block;

  margin-bottom: 20px;

  color: #2f6fa3;

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 2.2px;
}

.services-top h2 {
  max-width: 700px;

  color: #203d52;

  font-size: clamp(44px, 5vw, 68px);

  line-height: 1.02;

  letter-spacing: -3px;

  font-weight: 400;
}

.services-top h2 em {
  display: block;

  color: #3b78a8;

  font-style: normal;
}

.services-top > p {
  width: 360px;

  margin-bottom: 5px;

  color: #718293;

  font-size: 14px;

  line-height: 1.8;
}

/* =========================================================
   ÁREA PRINCIPAL
========================================================= */

.services-showcase {
  width: min(1420px, calc(100% - 80px));

  min-height: 670px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: 42% 58%;

  background: #ffffff;

  box-shadow: 0 30px 80px rgba(25, 48, 48, 0.08);
}

/* =========================================================
   IMAGEM
========================================================= */

.services-image {
  position: relative;

  min-height: 670px;

  overflow: hidden;
}

.services-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;

  transition: transform 1.2s ease;
}

.services-image:hover img {
  transform: scale(1.035);
}

/* =========================================================
   OVERLAY DA IMAGEM
========================================================= */

.services-image::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    0deg,
    rgba(14, 32, 33, 0.82) 0%,
    rgba(14, 32, 33, 0.15) 65%,
    transparent 100%
  );
}

.services-image-overlay {
  position: absolute;

  z-index: 2;

  left: 45px;

  right: 40px;

  bottom: 45px;
}

.services-image-overlay span {
  display: block;

  margin-bottom: 15px;

  color: #b7d4e8;

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 2px;
}

.services-image-overlay strong {
  display: block;

  color: #ffffff;

  font-size: clamp(24px, 2.4vw, 34px);

  line-height: 1.15;

  font-weight: 400;

  letter-spacing: -1px;
}

/* =========================================================
   PAINEL
========================================================= */

.services-panel {
  display: flex;

  flex-direction: column;

  padding: 0 60px;
}

/* =========================================================
   ITEM
========================================================= */

.service-item {
  border-bottom: 1px solid #e2e9ee;
}

.service-item:first-child {
  border-top: none;
}

/* =========================================================
   CABEÇALHO
========================================================= */

.service-header {
  width: 100%;

  min-height: 120px;

  padding: 24px 0;

  border: none;

  background: transparent;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  text-align: left;

  cursor: pointer;
}

.service-header small {
  display: block;

  margin-bottom: 9px;

  color: #91a8b8;

  font-size: 9px;

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 1.7px;
}

.service-header h3 {
  margin: 0;

  color: #203d52;

  font-size: 23px;

  line-height: 1.2;

  font-weight: 400;

  letter-spacing: -0.5px;

  transition: color 0.25s ease;
}

/* =========================================================
   PLUS
========================================================= */

.service-plus {
  width: 40px;
  height: 40px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid #dbe5ec;

  border-radius: 50%;

  color: #2f6fa3;

  font-size: 22px;

  font-weight: 300;

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}

/* =========================================================
   CORPO
========================================================= */

.service-body {
  max-height: 0;

  overflow: hidden;

  display: flex;

  flex-wrap: wrap;

  gap: 8px 30px;

  opacity: 0;

  transition:
    max-height 0.45s ease,
    opacity 0.3s ease,
    padding 0.35s ease;
}

.service-body a {
  color: #6f8292;

  font-size: 13px;

  line-height: 1.7;

  transition: color 0.2s ease;
}

.service-body a:hover {
  color: #245b86;
}

/* =========================================================
   ITEM ATIVO
========================================================= */

.service-item.active .service-header h3 {
  color: #2f6fa3;
}

.service-item.active .service-plus {
  transform: rotate(45deg);

  background: #2f6fa3;

  border-color: #2f6fa3;

  color: #ffffff;
}

.service-item.active .service-body {
  max-height: 160px;

  padding-bottom: 28px;

  opacity: 1;
}

/* =========================================================
   HOVER
========================================================= */

.service-header:hover h3 {
  color: #2f6fa3;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {
  .services-section {
    padding: 110px 0 120px;
  }

  .services-top,
  .services-showcase {
    width: calc(100% - 50px);
  }

  .services-top {
    gap: 40px;
  }

  .services-top > p {
    width: 300px;
  }

  .services-showcase {
    grid-template-columns: 40% 60%;
  }

  .services-panel {
    padding: 0 40px;
  }

  .services-image {
    min-height: 600px;
  }

  .service-header h3 {
    font-size: 20px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 750px) {
  .services-section {
    padding: 85px 0 90px;
  }

  .services-top {
    width: calc(100% - 36px);

    margin-bottom: 45px;

    display: block;
  }

  .services-label {
    margin-bottom: 17px;

    font-size: 9px;
  }

  .services-top h2 {
    font-size: 40px;

    line-height: 1.05;

    letter-spacing: -1.8px;
  }

  .services-top > p {
    width: 100%;

    margin-top: 22px;

    font-size: 13px;

    line-height: 1.75;
  }

  /* -----------------------------------------------------
       SHOWCASE
    ----------------------------------------------------- */

  .services-showcase {
    width: calc(100% - 36px);

    display: flex;

    flex-direction: column;

    min-height: auto;
  }

  /* -----------------------------------------------------
       IMAGEM
    ----------------------------------------------------- */

  .services-image {
    min-height: 390px;

    height: 390px;
  }

  .services-image-overlay {
    left: 25px;

    right: 25px;

    bottom: 28px;
  }

  .services-image-overlay strong {
    font-size: 25px;
  }

  /* -----------------------------------------------------
       PAINEL
    ----------------------------------------------------- */

  .services-panel {
    padding: 0 25px;
  }

  .service-header {
    min-height: 95px;

    padding: 20px 0;
  }

  .service-header h3 {
    font-size: 17px;
  }

  .service-plus {
    width: 34px;
    height: 34px;

    font-size: 19px;
  }

  .service-body {
    gap: 7px 20px;
  }

  .service-body a {
    font-size: 12px;
  }
}

/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 400px) {
  .services-top,
  .services-showcase {
    width: calc(100% - 28px);
  }

  .services-top h2 {
    font-size: 35px;
  }

  .services-image {
    min-height: 340px;

    height: 340px;
  }

  .services-panel {
    padding: 0 20px;
  }
}
/* =========================================================
   CONSULTAS
========================================================= */

.appointments-section {
  position: relative;

  padding: 150px 0;

  background: #173a59;

  color: #ffffff;

  overflow: hidden;
}

/* detalhe visual discreto */

.appointments-section::before {
  content: "";

  position: absolute;

  width: 520px;
  height: 520px;

  right: -180px;
  top: -200px;

  border-radius: 50%;

  background: rgba(63, 130, 184, 0.08);

  pointer-events: none;
}

/* =========================================================
   CONTAINER
========================================================= */

.appointments-container {
  position: relative;

  z-index: 2;

  width: min(1420px, calc(100% - 80px));

  margin: 0 auto;

  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: 110px;

  align-items: center;
}

/* =========================================================
   CONTEÚDO
========================================================= */

.appointments-content {
  max-width: 500px;
}

.appointments-label {
  display: block;

  margin-bottom: 22px;

  color: #9bc4df;

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 2.2px;
}

.appointments-content h2 {
  margin: 0;

  color: #ffffff;

  font-size: clamp(43px, 4.7vw, 65px);

  line-height: 1.04;

  letter-spacing: -2.8px;

  font-weight: 400;
}

.appointments-content h2 em {
  display: block;

  color: #9bc4df;

  font-style: normal;
}

.appointments-content > p {
  max-width: 430px;

  margin-top: 27px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 14px;

  line-height: 1.85;
}

/* =========================================================
   BOTÃO
========================================================= */

.appointments-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 12px;

  min-height: 52px;

  margin-top: 35px;

  padding: 0 22px;

  background: #9bc4df;

  color: #173a59;

  font-size: 12px;

  font-weight: 700;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.appointments-button svg {
  width: 16px;
  height: 16px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  transition: transform 0.25s ease;
}

.appointments-button:hover {
  background: #ffffff;

  transform: translateY(-2px);
}

.appointments-button:hover svg {
  transform: translateX(4px);
}

/* =========================================================
   LISTA
========================================================= */

.appointments-list {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* =========================================================
   ITEM
========================================================= */

.appointment-item {
  position: relative;

  display: grid;

  grid-template-columns: 48px 1fr 30px;

  align-items: center;

  gap: 25px;

  min-height: 145px;

  padding: 25px 5px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.14);

  color: #ffffff;

  transition:
    background 0.3s ease,
    padding 0.3s ease;
}

.appointment-item:hover {
  padding-left: 15px;

  background: rgba(255, 255, 255, 0.035);
}

/* =========================================================
   ÍCONE
========================================================= */

.appointment-icon {
  width: 10px;
  height: 10px;

  flex-shrink: 0;

  border-radius: 50%;

  background: #9bc4df;

  box-shadow: 0 0 0 6px rgba(155, 196, 223, 0.08);
}

/* =========================================================
   TEXTO
========================================================= */

.appointment-item small {
  display: block;

  margin-bottom: 6px;

  color: #80a8c2;

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 1.6px;
}

.appointment-item h3 {
  margin: 0;

  color: #ffffff;

  font-size: 21px;

  font-weight: 400;

  letter-spacing: -0.3px;
}

.appointment-item p {
  max-width: 480px;

  margin-top: 7px;

  color: rgba(255, 255, 255, 0.5);

  font-size: 12px;

  line-height: 1.6;
}

/* =========================================================
   SETA
========================================================= */

.appointment-arrow {
  color: rgba(255, 255, 255, 0.45);

  font-size: 20px;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.appointment-item:hover .appointment-arrow {
  color: #9bc4df;

  transform: translate(3px, -3px);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {
  .appointments-section {
    padding: 115px 0;
  }

  .appointments-container {
    width: calc(100% - 50px);

    gap: 65px;
  }

  .appointments-content h2 {
    font-size: 48px;
  }

  .appointment-item {
    grid-template-columns: 42px 1fr 25px;

    gap: 18px;

    min-height: 135px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 750px) {
  .appointments-section {
    padding: 90px 0;
  }

  .appointments-container {
    width: calc(100% - 36px);

    display: flex;

    flex-direction: column;

    gap: 55px;

    align-items: stretch;
  }

  /* conteúdo */

  .appointments-content {
    max-width: 100%;
  }

  .appointments-label {
    margin-bottom: 17px;

    font-size: 9px;
  }

  .appointments-content h2 {
    font-size: 40px;

    line-height: 1.05;

    letter-spacing: -1.7px;
  }

  .appointments-content > p {
    margin-top: 20px;

    font-size: 13px;

    line-height: 1.75;
  }

  .appointments-button {
    width: 100%;

    margin-top: 27px;
  }

  /* lista */

  .appointment-item {
    grid-template-columns: 38px 1fr 20px;

    gap: 15px;

    min-height: 125px;

    padding: 22px 0;
  }

  .appointment-item:hover {
    padding-left: 0;
  }

  .appointment-icon {
    width: 36px;
    height: 36px;

    font-size: 18px;
  }

  .appointment-item h3 {
    font-size: 17px;
  }

  .appointment-item p {
    font-size: 11px;
  }

  .appointment-arrow {
    font-size: 17px;
  }
}

/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 400px) {
  .appointments-container {
    width: calc(100% - 28px);
  }

  .appointments-content h2 {
    font-size: 35px;
  }

  .appointment-item {
    grid-template-columns: 34px 1fr 18px;

    gap: 12px;
  }

  .appointment-icon {
    width: 32px;
    height: 32px;
  }
}
/* =========================================================
   CONVÊNIOS
========================================================= */

.insurance-section {
  padding: 150px 0;

  background: #f7f9fb;

  overflow: hidden;
}

/* =========================================================
   CONTAINER
========================================================= */

.insurance-container {
  width: min(1420px, calc(100% - 80px));

  margin: 0 auto;
}

/* =========================================================
   CABEÇALHO
========================================================= */

.insurance-heading {
  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 80px;

  margin-bottom: 65px;
}

.insurance-label {
  display: block;

  margin-bottom: 20px;

  color: #2f6fa3;

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 2.2px;
}

.insurance-heading h2 {
  margin: 0;

  color: #203d52;

  font-size: clamp(44px, 5vw, 66px);

  line-height: 1.03;

  letter-spacing: -2.8px;

  font-weight: 400;
}

.insurance-heading h2 em {
  display: block;

  color: #3b78a8;

  font-style: normal;
}

.insurance-heading > p {
  width: 360px;

  margin-bottom: 5px;

  color: #718293;

  font-size: 14px;

  line-height: 1.8;
}

/* =========================================================
   CARDS
========================================================= */

.insurance-cards {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

/* =========================================================
   CARD
========================================================= */

.insurance-card {
  position: relative;

  display: block;

  min-height: 420px;

  overflow: hidden;

  background: #ffffff;

  box-shadow: 0 20px 55px rgba(30, 55, 54, 0.06);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.insurance-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 30px 70px rgba(30, 55, 54, 0.12);
}

/* =========================================================
   IMAGEM
========================================================= */

.insurance-card-image {
  position: absolute;

  inset: 0;

  overflow: hidden;
}

.insurance-card-image::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    0deg,
    rgba(15, 35, 36, 0.92) 0%,
    rgba(15, 35, 36, 0.25) 55%,
    rgba(15, 35, 36, 0.05) 100%
  );
}

.insurance-card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.8s ease;
}

.insurance-card:hover .insurance-card-image img {
  transform: scale(1.06);
}

/* =========================================================
   CONTEÚDO
========================================================= */

.insurance-card-content {
  position: absolute;

  z-index: 2;

  left: 28px;
  right: 25px;
  bottom: 28px;
}

.insurance-card-content span {
  display: block;

  margin-bottom: 8px;

  color: #a7cfca;

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 1.8px;
}

.insurance-card-content h3 {
  margin: 0;

  color: #ffffff;

  font-size: 25px;

  font-weight: 400;

  letter-spacing: -0.7px;
}

/* =========================================================
   SETA
========================================================= */

.insurance-card-arrow {
  position: absolute;

  right: 0;
  bottom: 0;

  width: 36px;
  height: 36px;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.35);

  border-radius: 50%;

  color: #ffffff;

  font-size: 17px;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.insurance-card:hover .insurance-card-arrow {
  background: #2f6fa3;

  border-color: #2f6fa3;

  transform: translate(2px, -2px);
}

/* =========================================================
   PARTE INFERIOR
========================================================= */

.insurance-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-top: 30px;

  padding-top: 25px;

  border-top: 1px solid #dfe6e4;
}

.insurance-bottom span {
  color: #82908e;

  font-size: 12px;
}

.insurance-bottom a {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: #245b86;

  font-size: 12px;

  font-weight: 700;
}

.insurance-bottom b {
  font-size: 17px;

  font-weight: 400;

  transition: transform 0.25s ease;
}

.insurance-bottom a:hover b {
  transform: translate(3px, -3px);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {
  .insurance-section {
    padding: 110px 0;
  }

  .insurance-container {
    width: calc(100% - 50px);
  }

  .insurance-heading {
    gap: 40px;
  }

  .insurance-heading > p {
    width: 300px;
  }

  .insurance-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .insurance-card {
    min-height: 380px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
  .insurance-section {
    padding: 85px 0;
  }

  .insurance-container {
    width: calc(100% - 36px);
  }

  .insurance-heading {
    display: block;

    margin-bottom: 40px;
  }

  .insurance-label {
    margin-bottom: 17px;

    font-size: 9px;
  }

  .insurance-heading h2 {
    font-size: 40px;

    line-height: 1.05;

    letter-spacing: -1.7px;
  }

  .insurance-heading > p {
    width: 100%;

    margin-top: 20px;

    font-size: 13px;

    line-height: 1.75;
  }

  /* cards */

  .insurance-cards {
    grid-template-columns: 1fr;

    gap: 14px;
  }

  .insurance-card {
    min-height: 280px;
  }

  .insurance-card-content {
    left: 23px;

    bottom: 23px;
  }

  .insurance-card-content h3 {
    font-size: 22px;
  }

  /* footer */

  .insurance-bottom {
    align-items: flex-start;

    flex-direction: column;

    gap: 12px;
  }
}

/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 400px) {
  .insurance-container {
    width: calc(100% - 28px);
  }

  .insurance-heading h2 {
    font-size: 35px;
  }

  .insurance-card {
    min-height: 250px;
  }
}
/* =========================================================
   AVALIAÇÕES
========================================================= */

.reviews-section {
  padding: 150px 0;

  background: #ffffff;

  overflow: hidden;
}

/* =========================================================
   CONTAINER
========================================================= */

.reviews-container {
  width: min(1420px, calc(100% - 80px));

  margin: 0 auto;
}

/* =========================================================
   CABEÇALHO
========================================================= */

.reviews-heading {
  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 60px;

  margin-bottom: 65px;
}

.reviews-label {
  display: block;

  margin-bottom: 20px;

  color: #2f6fa3;

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 2.2px;
}

.reviews-title h2 {
  margin: 0;

  color: #203d52;

  font-size: clamp(44px, 5vw, 66px);

  line-height: 1.03;

  letter-spacing: -2.8px;

  font-weight: 400;
}

.reviews-title h2 em {
  display: block;

  color: #3b78a8;

  font-style: normal;
}

/* =========================================================
   GOOGLE RATING
========================================================= */

.google-rating {
  display: flex;

  align-items: center;

  gap: 17px;

  min-width: 230px;

  padding: 18px 20px;

  border: 1px solid #e2e9ee;

  background: #fbfcfc;
}

.google-icon {
  width: 38px;
  height: 38px;

  flex-shrink: 0;
}

.google-icon svg {
  width: 100%;
  height: 100%;
}

.google-rating-info strong {
  display: block;

  color: #263f54;

  font-size: 13px;

  font-weight: 600;
}

.google-stars {
  display: flex;

  gap: 2px;

  margin-top: 3px;

  color: #fbbc04;

  font-size: 14px;

  line-height: 1;
}

.google-rating-info small {
  display: block;

  margin-top: 5px;

  color: #879492;

  font-size: 9px;
}

/* =========================================================
   GRID
========================================================= */

.reviews-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

/* =========================================================
   CARD
========================================================= */

.review-card {
  display: flex;

  flex-direction: column;

  min-height: 390px;

  padding: 30px;

  border: 1px solid #e7eceb;

  background: #ffffff;

  color: inherit;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);

  border-color: #d5e2df;

  box-shadow: 0 25px 60px rgba(30, 55, 54, 0.08);
}

/* =========================================================
   TOPO
========================================================= */

.review-top {
  display: flex;

  align-items: center;

  gap: 13px;
}

.review-avatar {
  width: 43px;
  height: 43px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #e6f0f6;

  color: #245b86;

  font-size: 11px;

  font-weight: 700;
}

.review-author {
  min-width: 0;

  flex: 1;
}

.review-author strong {
  display: block;

  color: #263f54;

  font-size: 13px;

  font-weight: 600;
}

.review-author span {
  display: block;

  margin-top: 3px;

  color: #8a9795;

  font-size: 9px;
}

/* =========================================================
   GOOGLE PEQUENO
========================================================= */

.review-google {
  width: 20px;
  height: 20px;

  flex-shrink: 0;
}

.review-google svg {
  width: 100%;
  height: 100%;
}

/* =========================================================
   ESTRELAS
========================================================= */

.review-stars {
  margin-top: 25px;

  color: #fbbc04;

  font-size: 16px;

  letter-spacing: 2px;
}

/* =========================================================
   TEXTO
========================================================= */

.review-card p {
  margin-top: 18px;

  color: #596967;

  font-size: 13px;

  line-height: 1.8;

  font-weight: 400;
}

/* =========================================================
   LINK
========================================================= */

.review-link {
  margin-top: auto;

  padding-top: 25px;

  color: #2f6fa3;

  font-size: 10px;

  font-weight: 700;

  transition: color 0.25s ease;
}

.review-card:hover .review-link {
  color: #285f5c;
}

/* =========================================================
   FOOTER
========================================================= */

.reviews-footer {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  margin-top: 35px;

  padding: 30px;

  background: #173a59;

  color: #ffffff;
}

.reviews-footer strong {
  display: block;

  font-size: 15px;

  font-weight: 500;
}

.reviews-footer span {
  display: block;

  margin-top: 6px;

  color: rgba(255, 255, 255, 0.55);

  font-size: 11px;
}

/* =========================================================
   BOTÃO
========================================================= */

.reviews-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 12px;

  min-height: 48px;

  padding: 0 20px;

  background: #9bc4df;

  color: #173a59;

  font-size: 11px;

  font-weight: 700;

  white-space: nowrap;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.reviews-button svg {
  width: 15px;
  height: 15px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  transition: transform 0.25s ease;
}

.reviews-button:hover {
  background: #ffffff;

  transform: translateY(-2px);
}

.reviews-button:hover svg {
  transform: translateX(3px);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {
  .reviews-section {
    padding: 110px 0;
  }

  .reviews-container {
    width: calc(100% - 50px);
  }

  .reviews-heading {
    align-items: flex-start;

    flex-direction: column;

    gap: 30px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: auto;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
  .reviews-section {
    padding: 85px 0;
  }

  .reviews-container {
    width: calc(100% - 36px);
  }

  .reviews-heading {
    margin-bottom: 40px;
  }

  .reviews-label {
    margin-bottom: 17px;

    font-size: 9px;
  }

  .reviews-title h2 {
    font-size: 40px;

    line-height: 1.05;

    letter-spacing: -1.7px;
  }

  /* Google */

  .google-rating {
    width: 100%;

    min-width: 0;
  }

  /* cards */

  .reviews-grid {
    gap: 14px;
  }

  .review-card {
    min-height: 0;

    padding: 25px;
  }

  .review-card p {
    font-size: 12px;

    line-height: 1.75;
  }

  /* footer */

  .reviews-footer {
    align-items: flex-start;

    flex-direction: column;

    padding: 25px;
  }

  .reviews-button {
    width: 100%;
  }
}

/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 400px) {
  .reviews-container {
    width: calc(100% - 28px);
  }

  .reviews-title h2 {
    font-size: 35px;
  }
}
/* =========================================================
   CONTATO
========================================================= */

.contact-section {
  position: relative;

  padding: 150px 0;

  background: #173a59;

  color: #ffffff;

  overflow: hidden;
}

/* =========================================================
   DETALHE DE FUNDO
========================================================= */

.contact-section::before {
  content: "";

  position: absolute;

  width: 600px;
  height: 600px;

  right: -250px;
  bottom: -300px;

  border-radius: 50%;

  background: rgba(155, 196, 223, 0.06);

  pointer-events: none;
}

/* =========================================================
   CONTAINER
========================================================= */

.contact-container {
  position: relative;

  z-index: 2;

  width: min(1420px, calc(100% - 80px));

  margin: 0 auto;

  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: 90px;

  align-items: stretch;
}

/* =========================================================
   CONTEÚDO
========================================================= */

.contact-content {
  display: flex;

  flex-direction: column;

  justify-content: center;
}

.contact-label {
  display: block;

  margin-bottom: 20px;

  color: #9bc4df;

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 2.2px;
}

.contact-content h2 {
  margin: 0;

  color: #ffffff;

  font-size: clamp(44px, 5vw, 64px);

  line-height: 1.04;

  letter-spacing: -2.8px;

  font-weight: 400;
}

.contact-content h2 em {
  display: block;

  color: #9bc4df;

  font-style: normal;
}

.contact-description {
  max-width: 470px;

  margin-top: 25px;

  color: rgba(255, 255, 255, 0.62);

  font-size: 14px;

  line-height: 1.8;
}

/* =========================================================
   DETALHES
========================================================= */

.contact-details {
  margin-top: 45px;

  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-detail {
  display: flex;

  align-items: flex-start;

  gap: 17px;

  padding: 20px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid rgba(159, 199, 195, 0.3);

  border-radius: 50%;

  color: #9bc4df;
}

.contact-detail-icon svg {
  width: 17px;
  height: 17px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.5;
}

.contact-detail > div:last-child {
  padding-top: 2px;
}

.contact-detail span {
  display: block;

  margin-bottom: 5px;

  color: rgba(255, 255, 255, 0.4);

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 1.5px;
}

.contact-detail strong {
  display: block;

  color: #ffffff;

  font-size: 13px;

  font-weight: 500;
}

.contact-detail p {
  margin-top: 4px;

  color: rgba(255, 255, 255, 0.5);

  font-size: 11px;
}

.whatsapp-icon {
  border-color: rgba(159, 199, 195, 0.5);

  color: #9bc4df;
}

/* =========================================================
   BOTÃO WHATSAPP
========================================================= */

.contact-whatsapp {
  display: flex;

  align-items: center;

  width: 100%;

  min-height: 58px;

  margin-top: 35px;

  padding: 0 8px 0 8px;

  background: #9bc4df;

  color: #173a59;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.contact-whatsapp:hover {
  background: #ffffff;

  transform: translateY(-3px);
}

.contact-whatsapp-icon {
  width: 44px;
  height: 44px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #173a59;

  color: #9bc4df;
}

.contact-whatsapp-icon svg {
  width: 20px;
  height: 20px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.5;
}

.contact-whatsapp > span:nth-child(2) {
  flex: 1;

  padding-left: 15px;

  font-size: 12px;

  font-weight: 700;
}

.contact-whatsapp b {
  width: 42px;
  height: 42px;

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 18px;

  font-weight: 400;

  transition: transform 0.3s ease;
}

.contact-whatsapp:hover b {
  transform: translate(3px, -3px);
}

/* =========================================================
   MAPA
========================================================= */

.contact-map {
  position: relative;

  min-height: 650px;

  overflow: hidden;

  background: #dfe7ed;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.contact-map iframe {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;

  filter: grayscale(15%);
}

/* =========================================================
   CARD DO MAPA
========================================================= */

.map-location-card {
  position: absolute;

  left: 25px;
  bottom: 25px;

  display: flex;

  align-items: center;

  gap: 13px;

  max-width: calc(100% - 50px);

  padding: 15px 18px;

  background: rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(12px);

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.14);

  color: #203d52;
}

.map-location-icon {
  width: 34px;
  height: 34px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #e6f0f6;

  color: #245b86;
}

.map-location-icon svg {
  width: 16px;
  height: 16px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.6;
}

.map-location-card strong {
  display: block;

  font-size: 12px;

  font-weight: 600;
}

.map-location-card span {
  display: block;

  margin-top: 3px;

  color: #7b8987;

  font-size: 10px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {
  .contact-section {
    padding: 110px 0;
  }

  .contact-container {
    width: calc(100% - 50px);

    grid-template-columns: 1fr 1fr;

    gap: 45px;
  }

  .contact-content h2 {
    font-size: 48px;
  }

  .contact-map {
    min-height: 600px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 750px) {
  .contact-section {
    padding: 90px 0;
  }

  .contact-container {
    width: calc(100% - 36px);

    display: flex;

    flex-direction: column;

    gap: 55px;
  }

  .contact-label {
    margin-bottom: 17px;

    font-size: 9px;
  }

  .contact-content h2 {
    font-size: 40px;

    line-height: 1.05;

    letter-spacing: -1.7px;
  }

  .contact-description {
    margin-top: 20px;

    font-size: 13px;

    line-height: 1.75;
  }

  .contact-details {
    margin-top: 35px;
  }

  .contact-detail {
    padding: 17px 0;
  }

  .contact-whatsapp {
    margin-top: 27px;
  }

  /* mapa */

  .contact-map {
    min-height: 420px;
  }

  .map-location-card {
    left: 15px;
    right: 15px;

    bottom: 15px;

    max-width: none;
  }
}

/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 400px) {
  .contact-container {
    width: calc(100% - 28px);
  }

  .contact-content h2 {
    font-size: 35px;
  }

  .contact-map {
    min-height: 360px;
  }
}
/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  position: relative;

  background: #122f49;

  color: #ffffff;

  overflow: hidden;
}

/* =========================================================
   DETALHE DE FUNDO
========================================================= */

.site-footer::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  right: -230px;
  top: -250px;

  border-radius: 50%;

  border: 1px solid rgba(155, 196, 223, 0.08);

  box-shadow:
    0 0 0 70px rgba(159, 199, 195, 0.025),
    0 0 0 140px rgba(159, 199, 195, 0.018);

  pointer-events: none;
}

/* =========================================================
   CONTAINER
========================================================= */

.footer-container {
  position: relative;

  z-index: 2;

  width: min(1420px, calc(100% - 80px));

  margin: 0 auto;
}

/* =========================================================
   PARTE PRINCIPAL
========================================================= */

.footer-main {
  display: grid;

  grid-template-columns:
    1.6fr
    0.7fr
    1fr;

  gap: 100px;

  padding: 85px 0 75px;
}

/* =========================================================
   MARCA
========================================================= */

.footer-brand {
  max-width: 390px;
}

.footer-logo {
  display: inline-flex;

  align-items: center;

  gap: 13px;
}

/* =========================================================
   SÍMBOLO
========================================================= */

.footer-logo-symbol {
  position: relative;

  width: 43px;
  height: 43px;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid rgba(159, 199, 195, 0.6);

  border-radius: 50%;
}

.footer-logo-symbol span:first-child {
  position: absolute;

  width: 18px;
  height: 3px;

  border-radius: 5px;

  background: #9bc4df;
}

.footer-logo-symbol span:last-child {
  position: absolute;

  width: 3px;
  height: 18px;

  border-radius: 5px;

  background: #9bc4df;
}

/* =========================================================
   TEXTO LOGO
========================================================= */

.footer-logo-text {
  display: flex;

  flex-direction: column;

  gap: 3px;
}

.footer-logo-text strong {
  color: #ffffff;

  font-size: 16px;

  font-weight: 600;

  letter-spacing: -0.3px;
}

.footer-logo-text small {
  color: rgba(255, 255, 255, 0.4);

  font-size: 8px;

  text-transform: uppercase;

  letter-spacing: 1.5px;
}

/* =========================================================
   DESCRIÇÃO
========================================================= */

.footer-brand > p {
  max-width: 350px;

  margin-top: 25px;

  color: rgba(255, 255, 255, 0.5);

  font-size: 12px;

  line-height: 1.8;
}

/* =========================================================
   WHATSAPP
========================================================= */

.footer-whatsapp {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  margin-top: 25px;

  color: #9bc4df;

  font-size: 11px;

  font-weight: 600;

  transition: color 0.25s ease;
}

.footer-whatsapp svg {
  width: 17px;
  height: 17px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.5;

  transition: transform 0.25s ease;
}

.footer-whatsapp:hover {
  color: #ffffff;
}

.footer-whatsapp:hover svg {
  transform: translateY(-2px);
}

/* =========================================================
   COLUNAS
========================================================= */

.footer-column h3 {
  margin-bottom: 25px;

  color: #ffffff;

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 1.8px;
}

/* =========================================================
   LINKS
========================================================= */

.footer-column nav {
  display: flex;

  flex-direction: column;

  gap: 13px;
}

.footer-column nav a {
  width: fit-content;

  color: rgba(255, 255, 255, 0.48);

  font-size: 11px;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-column nav a:hover {
  color: #9bc4df;

  transform: translateX(4px);
}

/* =========================================================
   INFORMAÇÕES
========================================================= */

.footer-info {
  margin-bottom: 20px;
}

.footer-info span {
  display: block;

  margin-bottom: 5px;

  color: rgba(255, 255, 255, 0.32);

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.footer-info strong {
  display: block;

  color: rgba(255, 255, 255, 0.75);

  font-size: 11px;

  font-weight: 500;
}

.footer-info small {
  display: block;

  margin-top: 3px;

  color: rgba(255, 255, 255, 0.4);

  font-size: 10px;
}

/* =========================================================
   PARTE INFERIOR
========================================================= */

.footer-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  min-height: 75px;

  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom > span {
  color: rgba(255, 255, 255, 0.3);

  font-size: 9px;
}

/* =========================================================
   VOLTAR AO TOPO
========================================================= */

.footer-back {
  display: flex;

  align-items: center;

  gap: 9px;

  color: rgba(255, 255, 255, 0.45);

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 1px;

  transition: color 0.25s ease;
}

.footer-back svg {
  width: 14px;
  height: 14px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.5;

  transition: transform 0.25s ease;
}

.footer-back:hover {
  color: #9bc4df;
}

.footer-back:hover svg {
  transform: translateY(-3px);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {
  .footer-container {
    width: calc(100% - 50px);
  }

  .footer-main {
    grid-template-columns:
      1.4fr
      0.8fr
      1fr;

    gap: 45px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 750px) {
  .footer-container {
    width: calc(100% - 36px);
  }

  .footer-main {
    display: flex;

    flex-direction: column;

    gap: 50px;

    padding: 65px 0 55px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-brand > p {
    max-width: 400px;
  }

  .footer-column h3 {
    margin-bottom: 20px;
  }

  .footer-column nav {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
  }

  .footer-bottom {
    align-items: flex-start;

    flex-direction: column;

    justify-content: center;

    gap: 17px;

    min-height: 100px;
  }
}

/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 400px) {
  .footer-container {
    width: calc(100% - 28px);
  }

  .footer-main {
    padding-top: 55px;
  }

  .footer-column nav {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   WHATSAPP FLUTUANTE
========================================================= */

.floating-whatsapp {
  position: fixed;
  right: 28px;
  bottom: 28px;

  width: 62px;
  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25d366;
  color: #ffffff;

  border-radius: 50%;

  text-decoration: none;

  z-index: 9999;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(37, 211, 102, 0.25);

  transition:
    width 0.35s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;

  animation: whatsappEntrada 0.8s ease both;
}

/* ÍCONE */

.floating-whatsapp-icon {
  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  z-index: 2;
}

.floating-whatsapp-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* TEXTO */

.floating-whatsapp-text {
  max-width: 0;
  opacity: 0;
  overflow: hidden;

  white-space: nowrap;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;

  transition:
    max-width 0.35s ease,
    opacity 0.25s ease,
    margin 0.35s ease;
}

/* HOVER */

.floating-whatsapp:hover {
  width: 175px;
  border-radius: 35px;

  transform: translateY(-4px);

  box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.22),
    0 6px 18px rgba(37, 211, 102, 0.35);
}

.floating-whatsapp:hover .floating-whatsapp-text {
  max-width: 100px;
  opacity: 1;
  margin-left: 10px;
}

/* PULSO */

.floating-whatsapp-pulse {
  position: absolute;
  inset: 0;

  border-radius: 50%;

  border: 1px solid rgba(37, 211, 102, 0.55);

  animation: whatsappPulse 2.2s infinite;

  pointer-events: none;
}

/* ANIMAÇÃO DE ENTRADA */

@keyframes whatsappEntrada {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.8);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ANIMAÇÃO DO PULSO */

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.45);
    opacity: 0;
  }

  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .floating-whatsapp {
    width: 56px;
    height: 56px;

    right: 18px;
    bottom: 18px;
  }

  .floating-whatsapp-icon {
    width: 29px;
    height: 29px;
  }

  /* No celular não expande */

  .floating-whatsapp:hover {
    width: 56px;
    height: 56px;
    border-radius: 50%;

    transform: translateY(-3px);
  }

  .floating-whatsapp:hover .floating-whatsapp-text {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
  }
}
