﻿/* GERAIS */

:root {
  --color-yellow: #c79050;
  --color-darkblue: #1d2437;
  --color-white: #ffffff;
  --color-grey: #aaaaaa;

  --whatsapp-green: #25d366;
  --whatsapp-dark: #128c7e;

  --transition: all 300ms ease;
  --bounce-curve: cubic-bezier(0.175, 0.885, 0.32, 1.05);
  --bounce-fast: cubic-bezier(0.1, 0.9, 0.2, 1.02);
  /* --bounce-horizontal: cubic-bezier(0.1, 0.9, 0.2, 1.05); */
}

html {
  scrollbar-color: var(--color-yellow) var(--color-white);
  overflow-x: hidden;
  /* background-color: var(--color-darkblue); */
}

* {
  margin: 0;
  border: 0;
  padding: 0;
  outline: 0;
  appearance: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
  font-family: "Poppins";
  color: var(--color-darkblue);
}

h1 {
  font-size: 3rem;
  font-weight: 700; /* BOLD */
  line-height: 1.05;
}

h2 {
  line-height: 1;
  font-size: 2rem;
  font-weight: 600; /* SEMIBOLD */
  color: var(--color-grey);
}

p {
  font-size: 1rem;
  font-weight: 400; /* REGULAR */
}

a {
  color: var(--color-darkblue);
}

video {
  width: 100%;
  border-radius: 1.5rem;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 72rem;
  justify-content: center;
  align-items: center;
  padding: 6rem 0;
  margin: 0 1.5rem;
}

.container-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 72rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 0;
  margin: 0 1.5rem;
}

.btn {
  border: none;
  background-color: var(--color-yellow);
  border-radius: 1.5rem;
  color: white;
  padding: 1rem 0;
  max-width: 27.5rem;
  cursor: pointer;
}

.btn h2 {
  font-size: 1.5rem;
  color: var(--color-white);
}

.btn:hover {
  background-color: var(--color-darkblue);
  transition: var(--transition);
}

.topico {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero p,
.hero h1,
.hero h2 {
  color: var(--color-white);
}

/* BOTÃO DE WPP */

.whatsapp-btn {
  position: fixed;
  bottom: 60px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--color-yellow);
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-btn i {
  color: var(--color-white);
}

.whatsapp-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--color-yellow);
  border-radius: 50px;
  z-index: -1;
  animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
  background-color: var(--color-darkblue);
  transform: scale(1.1);
  color: var(--color-white);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* STYLES DOS VIDEOS COM POSTER */

.video-container {
  position: relative;
  width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

video {
  width: 100%;
  display: block;
  border-radius: 1.5rem;
}

.play-button {
  position: absolute;
  z-index: 2;
  padding: 1rem 1.5rem;
  border-radius: 50%;
  transition: transform 0.3s ease;

  border: solid 4px #fff;
}

.play-button i {
  color: #fff;
  font-size: 2rem;
}

.video-playing .play-button {
  display: none;
}

/* STYLES DO HEADER/MENU */

header {
  display: flex;
  justify-content: center;
  position: fixed;
  width: 100%;
  z-index: 5;
}

header img {
  width: 2.5rem;
  height: 2.5rem;
}

header .container {
  display: block;
  padding: 0;
  height: 5rem;
}

nav {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
}

nav a {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  align-items: center;
}

.menu ul {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
}

.menu ul a li {
  color: var(--color-white);
}

.menu ul a:hover {
  border-bottom: 2px solid var(--color-yellow);
}

/* MENU MOBILE */

.menu_mobile {
  display: none;
}

.menu_mobile i {
  color: var(--color-white);
  display: flex;
  align-items: center;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: var(--color-yellow);
  z-index: 9999;

  display: flex;
  flex-direction: column;
  padding: 20px;

  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-overlay.active {
  transform: translateX(0);
}

.close-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
}

.close-btn {
  font-size: 36px;
  cursor: pointer;
  color: var(--color-darkblue);
  padding: 10px;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;

  margin-bottom: 14px;
}

.mobile-links a {
  text-decoration: none;
  font-size: 24px;
  color: var(--color-darkblue);
  font-weight: 600;
  transition: color 0.3s;
}

.mobile-links a:hover {
  color: var(--color-yellow);
}

.language-selector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lang-title {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--color-darkblue);
  opacity: 0.6;
}

.lang-options {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lang-item {
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-darkblue);
  transition: all 0.3s;
}

.lang-item.active {
  border-bottom: 2px solid var(--color-darkblue);
}

.divider {
  color: var(--color-darkblue);
  opacity: 0.3;
}

/* STYLES DO SUBMENU PAISES */

.paises {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.paises img {
  width: 35px;
  height: 35px;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.paises .submenu_paises {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
}

.paises:hover .submenu_paises {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

.paises:hover a:hover {
  border: none;
}

.paises a:hover img {
  transform: scale(1.15);
  filter: brightness(1.1);
}

/* CABEÇALHO APOS SCROLL */

.scrolled {
  background-color: var(--color-darkblue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scrolled li {
  color: var(--color-white);
}

/* STYLES DA PÁGINA DO BLOG */

.postagens h1 {
  font-size: 2rem;
}

.postagens .container {
  row-gap: 6rem;
}

.postagens h2 {
  font-size: 1.5rem;
}

/* HERO PAGE COM CARROSSEL */

.box-txt {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.box-txt-3 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.box-txt2 {
  display: flex;
  flex-direction: column;
  gap: 20.5rem;
}

.box-txt-2-1 {
  display: flex;
  justify-content: end;
}

.box-txt-2-2 {
  display: flex;
  gap: 1rem;
  justify-content: end;
}

.box-txt-2-2 img {
  cursor: pointer;
  transition: var(--transition);
  width: 70px;
  height: 70px;
}

.box-txt-2-2 img:hover {
  transform: scale(1.1);
}

/* POSTAGENS */

.postagens img {
  width: 588px;
  min-height: 588px;
  border-radius: 1.5rem;
  object-fit: cover;
}

/* RODAPE STYLES */

.rodape {
  display: flex;
  justify-content: center;
  background-color: var(--color-darkblue);
}

.rodape .container {
  display: flex;
  flex-direction: column;
  padding: 6rem 0 0 0;
}

.rodape-row-1 {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.rodape-row-1 h2 {
  color: var(--color-white);
}

.rodape-row-2 ul {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-weight: 600;
}

.rodape-row-2 ul li {
  transition: var(--transition);
}

.rodape-row-2 ul li:hover {
  color: var(--color-yellow);
}

.rodape-row-3 {
  display: flex;
  gap: 1.25rem;
  font-size: 1.875rem;
  cursor: pointer;
  margin-bottom: 4rem;
}

.rodape-copyright {
  padding: 1.625rem 0;
  color: var(--color-grey);
  background-color: var(--color-yellow);
  width: 100vw;
  text-align: center;
}

.rodape-copyright a {
  font-weight: 700;
  color: var(--color-white);
  transition: var(--transition);
}

.rodape-copyright a:hover {
  color: var(--color-darkblue);
}

.rodape p,
.rodape li,
.rodape i {
  color: var(--color-white);
}

.rodape i:hover {
  color: var(--color-yellow);
  transition: var(--transition);
}

/* STYLES DO CARROSEL */

.carrosel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--color-darkblue);
  color: var(--color-white);
}

.carrosel .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 0;
}

.carrosel .box-txt-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.carrosel .box-txt-2-2 {
  align-items: center;
  height: 100%;
}

.carrosel-box {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
  margin-bottom: 6rem;
}

.carrosel h1 {
  color: var(--color-white);
}

.carrosel h2 {
  color: var(--color-grey);
}

/* FUNCIONAMENTO DO CARROSEL */

section.carrosel .carrosel-track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);

  user-select: none;
  -webkit-user-drag: none;
  touch-action: pan-y;
}

section.carrosel .carrosel-card {
  flex: 0 0 auto;
  width: 368px;
  user-select: none;
  -webkit-user-drag: none;
}

section.carrosel .carrosel-card img {
  width: 368px;
  height: 368px;
  border-radius: 1.5rem;
  object-fit: cover;

  pointer-events: none;
  user-select: none;
}

section.carrosel .carrosel-card img,
section.carrosel .carrosel-card h2,
section.carrosel .carrosel-card p {
  pointer-events: none;
}

section.carrosel .box-txt-2-2 .arrow-btn {
  background: transparent;
  border: none;
  padding: 0.25rem;
  border-radius: 999px;
  cursor: pointer;
}

section.carrosel .carrosel-box {
  position: relative;
  display: block;
  width: 100%;
  min-height: 368px;
  overflow: hidden !important;
}

section.carrosel .carrosel-track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
}

section.carrosel .carrosel-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 0 0 auto;
  width: 368px;
}

section.carrosel .carrosel-card p {
  color: var(--color-grey);
}

section.carrosel .carrosel-card span {
  color: var(--color-yellow);
}

.carrosel-card h2 {
  color: var(--color-white);
}

section.carrosel .carrosel-card img {
  width: 368px;
  height: 368px;
  border-radius: 1.5rem;
  object-fit: cover;
}

section.carrosel .carrosel-card p.gold-tag {
  color: var(--color-yellow);
}

/* CARROSEL HERO DO BLOG */

:root {
  --container-max: 1200px; /* espelha o container interno */
  --grid-gap: 1.5rem;
}

#slider {
  margin: 0;
  width: 100%;
  max-width: 100%;
  height: 98vh;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#slider input[type="radio"] {
  display: none;
}

#slider label {
  cursor: pointer;
  text-decoration: none;
}

section.slide.slide_2 {
  background-attachment: fixed;
}

section.slide a.media-side {
  display: none;
}

#slider h1,
#slider p,
#slider i {
  color: var(--color-white);
}

#slides {
  background: #fff;
  position: relative;
  z-index: 1;
}

#overflow {
  width: 100%;
  overflow: hidden;
}

#slide1:checked ~ #slides .inner {
  transform: translateX(0);
}
#slide2:checked ~ #slides .inner {
  transform: translateX(calc(-100% / var(--total-slides) * 1));
}
#slide3:checked ~ #slides .inner {
  transform: translateX(calc(-100% / var(--total-slides) * 2));
}
#slide4:checked ~ #slides .inner {
  transform: translateX(calc(-100% / var(--total-slides) * 3));
}

#slides .inner {
  display: flex;
  width: calc(var(--total-slides) * 100%);
  transition: transform 800ms cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

#slides .slide {
  width: calc(100% / var(--total-slides));
  height: 98vh;
  display: flex;
  align-items: stretch;
  float: none;
}

#slides .slide .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--grid-gap);
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--container-max);
  height: 900px;
  padding: 11rem 1.5rem 6rem 1.5rem;
  text-align: left;
  box-sizing: border-box;
}

.slide-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  line-height: 1.45;
}

.slide-content {
  grid-column: 1;
}

.media-side {
  grid-column: 2;
}

/* BACKGROUND DO SLIDER PRINCIPAL */
#slides .slide,
#slides [class*="slide_"] {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /* object-fit: cover; */
}

/* ========= OVERLAY FIXO ALINHADO À 2ª COLUNA ========= */

#controls-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none; /* só labels visíveis recebem clique */
}

/* grid espelho do container (centro e mesma largura) */
#controls-overlay .overlay-grid {
  height: 100%;
  width: 100%;
  display: flex;
}

/* cria uma “faixa” central com mesma max-width e grid 1fr 1fr */
#controls-overlay .overlay-grid::before {
  content: "";
  position: absolute; /* só para referência visual, não usado aqui */
}

#controls-overlay .overlay-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr; /* faixa inteira */
}

#controls-overlay .overlay-grid > .fixed-controls {
  /* Centraliza a faixa com a mesma largura do container interno */
  width: min(100%, var(--container-max));
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  /* agora viramos grid 1fr 1fr para ancorar na COL 2 */
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--grid-gap);
  align-items: center; /* centro vertical */
  pointer-events: none; /* reativamos nos labels */
}

/* colocamos o bloco de botões na coluna 2, “no lugar” da media-side */
#controls-overlay .fixed-controls .prev,
#controls-overlay .fixed-controls .next {
  grid-column: 2;
  justify-self: center; /* inicia na borda esquerda da col 2 */
  display: inline-block;
}

#controls-overlay .fixed-controls .prev,
#controls-overlay .fixed-controls .next {
  display: inline-flex;
  gap: 1.5rem;
}

/* estilos do "saiba mais >" */

.box-txt-2-1 {
  display: flex;
  justify-content: end;
}

.end a {
  display: flex;
  gap: 1.5rem;
  cursor: pointer;
  color: var(--color-white);
}

/* estilos dos “candidatos” (empilhados/ocultos por padrão) */
#controls-overlay .fixed-controls .c {
  width: 4rem;
  height: 4rem;
  background-color: var(--color-yellow);
  border-radius: 999px;
  display: none; /* só o correto aparece */
  place-items: center;
  pointer-events: auto;
  transition:
    opacity 0.2s ease-out,
    transform 0.2s ease-out;
}
#controls-overlay .fixed-controls .c:hover {
  transform: scale(1.04);
}

#controls-overlay .fixed-controls .c i {
  color: #fff;
  font-size: 1.5rem;
}

/* mostra **um** prev e **um** next conforme o slide ativo */
#slide1:checked ~ #controls-overlay .prev .c1,
#slide2:checked ~ #controls-overlay .prev .c2,
#slide3:checked ~ #controls-overlay .prev .c3,
#slide4:checked ~ #controls-overlay .prev .c4 {
  display: grid;
}

#slide1:checked ~ #controls-overlay .next .c1,
#slide2:checked ~ #controls-overlay .next .c2,
#slide3:checked ~ #controls-overlay .next .c3,
#slide4:checked ~ #controls-overlay .next .c4 {
  display: grid;
}

/* ========= BULLETS ========= */

#bullets {
  display: none;
  justify-content: center;
  gap: 12px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

#bullets label {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

#slide1:checked ~ #bullets label:nth-child(1),
#slide2:checked ~ #bullets label:nth-child(2),
#slide3:checked ~ #bullets label:nth-child(3),
#slide4:checked ~ #bullets label:nth-child(4) {
  background: var(--color-yellow);
  transform: scale(1.2);
}

#controls-overlay .fixed-controls {
  width: min(100%, var(--container-max));
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr; /* espelha o container */
  column-gap: var(--grid-gap);
  align-items: center;
  pointer-events: none;
}

/* Aqui “empacotamos” prev e next lado a lado na COLUNA 2 */
#controls-overlay .controls-group {
  grid-column: 2;
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: end;
}

#controls-overlay .box-txt-2-1 {
  grid-column: 2;
  pointer-events: auto;
  z-index: 10;
}

#controls-overlay .controls-group .prev,
#controls-overlay .controls-group .next {
  display: inline-flex;
}

/* STYLES DAS PÁGINAS DE POST ÚNICO */

.tematica {
  height: 10rem;
}

.tematica h2 {
  color: white;
}

.tematica .container {
  display: flex;
  justify-content: center;
  margin: 5rem 0 0;
  padding: 1.5rem;
  gap: 2rem;
  width: 100vw;
  background-color: var(--color-yellow);
}

.post-unico .container {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.post-unico .post-unico-img {
  align-self: center;
}

.post-unico .container img {
  width: 100%;
  border-radius: 1.5rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-voltar {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-unico-autor {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.post-unico .rodape-row-3 {
  align-self: center;
  justify-content: center;
  align-items: center;
}

.post-unico .rodape-row-3 i {
  transition: var(--transition);
}

.post-unico .rodape-row-3 i:hover {
  color: var(--color-yellow);
}

/* FONTES DA PÁGINA DE POST ÚNICO */

.post-unico p {
  color: #aaaaaa;
}

.post-unico h2 {
  color: #aaaaaa;
}

.post-unico .post-unico-autor span {
  color: var(--color-darkblue);
  font-weight: 600;
}

.post-unico .blog-voltar p,
.blog-voltar i {
  color: var(--color-darkblue);
  font-weight: 600;
}

.post-unico .post-unico-body p {
  font-size: 1.125rem;
  color: var(--color-darkblue);
}

/* STYLES DO SITE GERAL */

/* PÁGINA INICIAL (INDEX) */

/* SECTION  DA HERO */

.hero {
  background-color: lightgray;
  background-attachment: fixed;
  background-image: url(../images/instutucional/Banner_Bener.png);
  background-size: cover;
  background-position: top;
  height: 98vh;
}

.hero-logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.hero-logo img {
  width: 6.25rem;
  height: 6.25rem;
  align-self: center;
}

.hero-logo h2 {
  color: var(--color-white);
}

.box-txt-1 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  align-items: center;
}

.box-txt-1 .btn {
  width: 100%;
}

/* SECTION DOUTOR */

.doutor .btn {
  justify-self: center;
  width: 27rem;
}

/* PÁGINA DO DOUTOR */

.hero-doutor p,
.hero-doutor h1 {
  color: var(--color-white);
}

.hero-doutor h2 {
  font-weight: 400;
  color: var(--color-white);
}

.hero-doutor .btn h2 {
  color: var(--color-white);
  font-weight: 500;
}

/* SECTION DE PROCEDIMENTO (DOUTOR) */

section.procedimento .formaçao-box h2,
section.procedimento .formaçao-box i {
  color: var(--color-yellow);
}

section.procedimento .box-txt {
  justify-content: center;
  align-self: center;
}

section.procedimento .box-img {
  align-self: center;
}

/* SECTION CONHEÇA-PAGE (DOUTOR) */

.conheça-page {
  background-color: var(--color-yellow);
}

.conheça-page h2 {
  color: var(--color-white);
}
.conheça-page p {
  color: var(--color-white);
}

/* SECTION CARROSSEL-2 (DOUTOR) */

.carrosel-2 .arrow-btn {
  background-color: var(--color-darkblue);
}

.carrosel-2 .carrosel-card-2 h2 {
  color: var(--color-white);
}

.carrosel-2 p {
  margin-bottom: 4rem;
  color: var(--color-grey);
}

/* SECTION DA EXPERIÊNCIA */

*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

section.experiencia .btn {
  justify-self: center;
  width: 480px;
  background-color: var(--color-yellow);
  margin-top: 3rem;
}

section.experiencia .btn:hover {
  background-color: var(--color-darkblue);
}

/* SEÇÃO TIMELINE */

.timeline ul {
  background: var(--color-darkblue);
  padding: 0;
}

.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 6px;
  margin: 0 auto;
  padding-top: 0;
  background: var(--color-grey);
}

.timeline ul li::after {
  content: attr(data-step);
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: inherit;
  z-index: 1;

  /* AJUSTAR POSIÇÃO/ESTILOS DA NUMERAÇÃO */

  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}

.timeline ul li div {
  position: relative;
  bottom: 0;
  width: 31.25rem;
  height: 130px;
  background: var(--color-white);
  border-radius: 1.5rem;
}

/* LADO DAS CAIXINHAS */

.timeline ul li:nth-child(even) div {
  left: 90px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.timeline ul li:nth-child(odd) div {
  left: -589px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

time {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
}

/* EFEITOS DA TIMELINE

/* COR DA BOLINHA AQUI */

.timeline ul li.in-view::after {
  background: var(--color-darkblue);
}

/* ANIMAÇÃO DAS CAIXINHAS (ENTRADA) */

.timeline ul li div {
  visibility: hidden;
  opacity: 0;
  transition: all 1s ease-in-out;
}

.timeline ul li:nth-child(even) div {
  transform: translate3d(1000px, 0, 0);
}

.timeline ul li:nth-child(odd) div {
  transform: translate3d(-1000px, 0, 0);
}

.timeline ul li.in-view div {
  transform: none;
  visibility: visible;
  opacity: 1;
}

/* ANIMAÇÃO EXTA EM CASO DE RELOAD */

.timeline-clippy ul li::after {
  width: 40px;
  height: 40px;
  border-radius: 0;
}

.timeline-rhombus ul li::after {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.timeline-rhombus ul li div::before {
  bottom: 12px;
}

.timeline-star ul li::after {
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.timeline-heptagon ul li::after {
  clip-path: polygon(
    50% 0%,
    90% 20%,
    100% 60%,
    75% 100%,
    25% 100%,
    0% 60%,
    10% 20%
  );
}

.timeline-infinite ul li::after {
  animation: scaleAnimation 2s infinite;
}

@keyframes scaleAnimation {
  0% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.25);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}

/* SECTION DA CLINICA */

.clinica-home {
  background-color: var(--color-yellow);
}

.clinica-home h2 {
  color: var(--color-white);
}

.clinica-home p {
  color: var(--color-white);
}

.clinica img {
  border-radius: 1.5rem;
}

/* SECTION DE CONTATO */

.contato-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 1.125rem;
}

.contato-map iframe {
  border-radius: 1.5rem;
  height: 588px;
}

/* INÍCIO DA PÁGINA DE ESPECIALIDADES */

/* STYLES DA HERO PAGE */

.hero-especialidades {
  background-color: var(--color-darkblue);
  height: 98vh;
}

.hero-especialidades h1,
.hero-especialidades p {
  color: var(--color-white);
}

/* STYLES DOS CARROSEIS TRIPLOS */

.carrosel .triple {
  max-width: 72rem;
}

.white {
  background-color: var(--color-white);
}

.white .topico h2 {
  color: var(--color-grey);
}

.white h2,
.white h1 {
  color: var(--color-darkblue);
}

section .white .carrosel-card h2 {
  color: var(--color-darkblue);
}

/* INÍCIO DA PÁGINA DO DOUTOR */

/* HERO-DOUTOR (DOUTOR) */

.hero-doutor {
  height: 98vh;
  background: #aaa;
  background-image: url(/images/instutucional/Banner_Bener.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-doutor span {
  color: #aaaaaa;
}

/* PROCEDIMENTO (DOUTOR) */

.formacao {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transition: var(--transition);
}

.formaçao-box {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  cursor: pointer;

  align-self: flex-start;
}

.formaçao-box i {
  font-size: 2rem;
}

.formacao ul {
  display: none;
  margin-left: 2rem;
}

.formacao.ativo ul {
  display: flex;
  flex-direction: column;
}

/*  PÁGINA DE DEPOIMENTOS (DOUTOR) */

.depoimentos .container-1 {
  gap: 2rem;
}

.depoimentos .topico {
  gap: 0;
}

.depoimentos h2 {
  color: var(--color-darkblue);
  font-weight: 400;
  font-size: 1.5rem;
}

.depoimentos span {
  color: var(--color-yellow);
  font-weight: 600;
  font-size: 2rem;
}

.depoimentos h3 {
  color: var(--color-grey);
}

.depoimentos p {
  color: var(--color-grey);
}

/* CARROSSEL DE DEPOIMENTOS */

.depoimentos .slider-input {
  display: none;
}

.depoimentos .slider-wrapper {
  position: relative;
  width: 100%;
}

.depoimentos .slides-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.depoimentos .slides-container::-webkit-scrollbar {
  display: none;
}

.depoimentos .slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  transition: opacity 0.5s ease;

  display: flex;
  justify-content: center;
  align-items: center;
}

.depoimentos .slider-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.depoimentos .bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-grey);
  opacity: 0.3;
  cursor: pointer;
  transition: 0.3s ease;
}

.depoimentos .bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-grey);
  opacity: 0.3;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.depoimentos .bullet.active {
  background: var(--color-yellow);
  opacity: 1;
  transform: scale(1.2);
}

/* PÁGINA DO BOTÃO (DOUTOR) */

.botao .btn {
  justify-self: center;
  width: 49.5rem;
  max-width: 49.5rem;
}

.botao .btn:hover {
  background-color: var(--color-white);
}

.botao .btn:hover h2 {
  color: var(--color-darkblue);
}

.botao {
  background-color: var(--color-darkblue);
}

/* PÁGINA DO FAQ (DOUTOR) */

.faq h1,
.faq h2,
.faq p,
.faq span,
.faq i {
  color: var(--color-white);
}

.faq {
  background-color: var(--color-yellow);
}

.faq .container-1 {
  gap: 2rem;
}

.faq .topico {
  align-items: start;
}

.faq-box {
  background-color: var(--color-darkblue);
  border-radius: 1.5rem;
  padding: 1rem 1.5rem;
  text-align: left;
  cursor: pointer;
  transition: padding 0.3s ease;
}

.faq-ask .box-txt {
  text-align: left;
}

.faq-ask-title {
  display: flex;
  gap: 1.5rem;
}

.faq-ask {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.faq-boxes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-ask-title h2,
.faq-ask-title i {
  font-size: 1.5rem;
  align-self: center;
}

.faq-ask-reposta {
  display: none;
  margin-left: 3rem;
  margin-top: 0.5rem;
}

.faq-box.ativo {
  padding: 2rem 1.5rem; /* quando aberto */
}

.faq-box.ativo .faq-ask-reposta {
  display: block;
}

/* HERO DA PAGINA (CLINICA) */

.hero-clinica {
  height: 98vh;
  background-image: url(/images/instutucional/Banner_Clínica.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-clinica h1,
.hero-clinica p {
  color: var(--color-white);
}

/* INÍCIO DA PÁGINA DE PROCEDIMENTOS */

.hero-procedimentos {
  background-color: lightgray;
  height: 98vh;
}

/* THUMBNAIL PROCEDIMENTOS */

.procedimento img {
  border-radius: 1.5em;
}

/* FIM DA PÁGINA DE PROCEDIMENTOS */

.card-pointer {
  cursor: pointer;
}

.carrosel-track {
  display: flex;
  gap: 1.5rem;
}

.carrosel .arrow-btn {
  cursor: pointer;
}

.carrosel .carrosel-card {
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

p.category-name {
  color: var(--color-yellow);
}

/* EFEITOS GERAIS JS */

.effect,
.effect2,
.effect3 {
  opacity: 0;
  transition:
    opacity 0.8s ease-out,
    transform 1.2s var(--bounce-fast);
}

.effect {
  transform: translateX(-500px);
}

.effect.show {
  opacity: 1;
  transform: translateX(0);
}

.effect2 {
  transform: translateX(500px);
}

.effect2.show {
  opacity: 1;
  transform: translateX(0);
}

.effect3 {
  transform: translateY(200px);
}

.effect3.show {
  opacity: 1;
  transform: translateY(0);
}

/* CARROSSEL (GALERIA) ANTES E DEPOIS */

.carrosel.galeria .box-txt-row {
  display: flex;
  justify-content: space-between;
}

.carrosel.galeria .carrosel-box {
  max-width: 73rem;
  margin-bottom: 2rem;
}

.carrosel.galeria .carrosel-card {
  width: 35.5rem;

  text-align: center;
}

.carrosel.galeria .carrosel-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 12;
  object-fit: cover;
}

.carrosel.galeria p.aviso {
  color: var(--color-yellow);
  font-size: 1rem;
  margin-bottom: 6rem;
}

/* QUILL.JS */

.ql-editor {
  padding: 0 !important;
}

/* PAGE LOADER */

#loader-container {
  position: fixed;
  inset: 0;
  background-color: var(--color-darkblue);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;

  transition:
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.5s ease-out;
  transform-origin: center center;
  pointer-events: all;
}

#loader-container svg {
  width: 100vw !important;
  height: 100vh !important;
}

#loader-container.zoom-out {
  transform: scale(100);
  opacity: 0;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* LGPD BOX */

.cookie-container {
  position: fixed;
  bottom: -300px;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--color-yellow);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: bottom 0.5s ease-in-out;
  padding: 1.25rem 0;
  border-radius: 3rem 3rem 0 0;
}

.cookie-container.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
  font-size: 14px;
  color: var(--color-darkblue);
  line-height: 1.5;
}

.cookie-content a {
  color: var(--color-white);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-btn {
  color: var(--color-darkblue);
  background-color: var(--color-white);
  padding: 10px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.cookie-btn:hover {
  background-color: var(--color-darkblue);
  color: var(--color-white);
}

.cookie-btn-secondary {
  background-color: transparent;
  border: 2px solid #fff;
  color: var(--color-white);
  padding: 10px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.cookie-btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-darkblue);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
