:root {
  --fonte-texto: "Work Sans", "sans-serif";
  --header-size: 100px;

  /*! Typography - Size */
  --font-size-h1: 32px;
  --font-size-h2: 28px;
  --font-size-h3: 26px;
  --font-size-h4: 22px;
  --font-size-h5: 20px;
  --font-size-h6: 18px;
  --font-size-display: 36px;
  --font-size-base: 16px;
  --font-size-s: 14px;
  --font-size-xs: 12px;
  --font-size-label: 11px;
  /*! Typography - Weight */
  --font-light: 300;
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;
  /*! Color - Brand */

  --color-primary: #939f90;
  --color-secondary: #686968;
  --color-primary-hover: #414141;
  --color-primary-selected: rgba(30, 33, 37, 0.12);
  --color-primary-lightest: linear-gradient(
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.9)
  );
  /*! Color - Focus */
  --color-focus-outer: #ffd337;
  --color-focus-inner: var(--color-neutral-10);
  /*! Color - Extended */
  --color-red-lightest: #faeaea;
  --color-red-lighter: #e9aaaa;
  --color-red-light: #d96a6a;
  --color-red: #c92a2a;
  --color-red-dark: #ab2424;
  --color-red-darker: #8d1d1d;
  --color-red-darkest: #6f1717;
  --color-orange-lightest: #fef0e6;
  --color-orange-lighter: #fcc29c;
  --color-orange-light: #f99551;
  --color-orange: #f76707;
  --color-orange-dark: #d25806;
  --color-orange-darker: #ad4805;
  --color-orange-darkest: #883904;
  --color-yellow-lightest: #fef5e5;
  --color-yellow-lighter: #fbd999;
  --color-yellow-light: #f8bc4c;
  --color-yellow: #f59f00;
  --color-yellow-dark: #d08700;
  --color-yellow-darker: #ac6f00;
  --color-yellow-darkest: #875700;
  --color-lime-lightest: #f1f8e8;
  --color-lime-lighter: #c7e3a2;
  --color-lime-light: #9ecd5c;
  --color-lime: #74b816;
  --color-lime-dark: #639c13;
  --color-lime-darker: #51810f;
  --color-lime-darkest: #40650c;
  --color-green-lightest: #ebf7ed;
  --color-green-lighter: #afe0b8;
  --color-green-light: #73c982;
  --color-green: #37b24d;
  --color-green-dark: #2f9741;
  --color-green-darker: #267d36;
  --color-green-darkest: #1e622a;
  --color-teal-lightest: #e6f2ef;
  --color-teal-lighter: #9cccbd;
  --color-teal-light: #52a58c;
  --color-teal: #087f5b;
  --color-teal-dark: #076c4d;
  --color-teal-darker: #065940;
  --color-teal-darkest: #044632;
  --color-cyan-lightest: #e7f2f4;
  --color-cyan-lighter: #9eccd3;
  --color-cyan-light: #56a6b2;
  --color-cyan: #0d8091;
  --color-cyan-dark: #0b6d7b;
  --color-cyan-darker: #095a66;
  --color-cyan-darkest: #074650;
  --color-blue-lightest: #e8f2fa;
  --color-blue-lighter: #a3c9ea;
  --color-blue-light: #5fa1db;
  --color-blue: #1a79cb;
  --color-blue-dark: #1667ad;
  --color-blue-darker: #12558e;
  --color-blue-darkest: #0e4370;
  --color-indigo-lightest: #eceffd;
  --color-indigo-lighter: #b3c1f7;
  --color-indigo-light: #7b92f1;
  --color-indigo: #4263eb;
  --color-indigo-dark: #3854c8;
  --color-indigo-darker: #2e45a5;
  --color-indigo-darkest: #243681;
  --color-violet-lightest: #f1edfd;
  --color-violet-lighter: #c6b6f6;
  --color-violet-light: #9b7fef;
  --color-violet: #7048e8;
  --color-violet-dark: #5f3dc5;
  --color-violet-darker: #4e32a2;
  --color-violet-darkest: #3e2880;
  --color-grape-lightest: #f7ecfa;
  --color-grape-lighter: #dfb2e9;
  --color-grape-light: #c678d9;
  --color-grape: #ae3ec9;
  --color-grape-dark: #9435ab;
  --color-grape-darker: #7a2b8d;
  --color-grape-darkest: #60226f;
  --color-pink-lightest: #fbebf0;
  --color-pink-lighter: #efadc4;
  --color-pink-light: #e27098;
  --color-pink: #d6336c;
  --color-pink-dark: #b62b5c;
  --color-pink-darker: #96244c;
  --color-pink-darkest: #761c3b;
  /*! Color - Neutral */
  --color-neutral-0: #ffffff;
  --color-neutral-1: #f8f9fa;
  --color-neutral-2: #f1f3f5;
  --color-neutral-3: #e9ecef;
  --color-neutral-4: #dee2e6;
  --color-neutral-5: #ced4da;
  --color-neutral-6: #adb5bd;
  --color-neutral-7: #6a7178;
  --color-neutral-8: #4f575e;
  --color-neutral-9: #272b30;
  --color-neutral-10: #101213;
  /*! Color - Semantic */
  --color-error-light: #fceaea;
  --color-error: #dc2020;
  --color-warning-light: #fdf6e5;
  --color-warning: #e9a100;
  --color-success-light: #eaf3eb;
  --color-success: #29823b;
  --color-info-light: #e5f5fc;
  --color-info: #017aad;
  /*! Overlays */
  --overlay-background: rgba(0, 0, 0, 0.25);
  /*! Space - Sizes */
  --space-none: 0;
  --space-xs: 4px;
  --space-s: 8px;
  --space-base: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 40px;
  --space-xxl: 48px;
  /*! Border Radius */
  --border-radius-none: 0;
  --border-radius-soft: 4px;
  --border-radius-rounded: 100px;
  --border-radius-circle: 100%;
  /*! Border Size */
  --border-size-none: 0;
  --border-size-s: 1px;
  --border-size-m: 2px;
  --border-size-l: 3px;
}
* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.redestop-logo {
  display: flex;
  gap: var(--space-base);
  max-height: var(--header-size);
}

.logo {
  display: flex;
}

.logo img {
  max-width: 250px;
  max-height: 90px;
}

.redestop {
  display: flex;
  justify-content: center;
  gap: var(--space-base);
  align-items: center;
  padding: var(--space-s) var(--space-base);
  height: auto;
  background-color: transparent;
}

.redestop img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-secondary); /* bolinha marrom elegante */
  padding: var(--space-s);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.redestop img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Animação de entrada */
.redestop img {
  opacity: 0;
  animation: fadeInIcon 0.8s ease forwards;
}

.redestop img:nth-child(1) {
  /* background: red; */
  animation-delay: 0.2s;
}
.redestop img:nth-child(2) {
  animation-delay: 0.4s;
}
.redestop img:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeInIcon {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.navegacao a {
  color: rgb(6, 6, 6);
  text-decoration: none;
  font-family: var(--fonte-texto);
  margin: var(--space-none) var(--space-m) var(--space-none) var(--space-none);
  float: right;
  font-size: 1.2rem;
}

.navegacao li {
  color: black;
  text-decoration: none;
  font-family: var(--fonte-texto);
  list-style: none;
}

.navegacao a:hover {
  color: var(--color-primary);
}

.navegacao {
  display: block;
}

/*****CONTEUDO*****/

@keyframes fadeInIcon {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.topic-group {
  margin-bottom: 50px;
}

.topic {
  display: table-cell;
  float: right;
  background-color: #d8ccc4;
  padding: 50px;
  width: 400px;
  height: 248px;
  margin-left: -1px;
}

.topic-photo {
  width: 700px;
}

.topic-photo img {
  display: table-cell;
  float: right;
}

.topic-service-group-left {
  height: auto;
  background-color: var(--color-secondary);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.topic-service-group-right {
  height: auto;
  background-color: var(--color-primary);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.atendimento-online-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 40%;
  width: 85%;
}

.service-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 40px;
  padding: 30px;
}

.atendimento-content {
  width: 40vw;
}

.atendimento-content h2 {
  color: white;
  font-size: 2rem;
  font-weight: 500;
  font-family: none;
  margin-bottom: 10px;
  text-decoration: underline;
}

.atendimento-content p {
  color: white;
  font-size: 1.5rem;
  font-family: none;
  font-weight: 300;
  margin-bottom: 20px;
}

.img-service {
  max-width: 450px;
}
.img-geral {
  position: relative;
  width: 450px; /* ajuste conforme necessário */
  height: 300px;
}

.img-service,
.img-service-back {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Frente */
.img-service {
  background-color: #ffffff; /* cor do container da frente */
  z-index: 2;
}

/* Trás com deslocamento */
.img-service-back {
  background-color: #d3d3d3; /* cor diferente para o fundo */
  top: 10px; /* desloca para baixo */
  left: 10px; /* desloca para a direita */
  z-index: 1;
}

.space-button {
  width: 100vw;
  background-color: var(--color-primary);
  height: auto;
  padding: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.agende-sua-consulta-button-size {
  width: 7vw;
}

.agende-sua-consulta-button {
  background-color: var(--color-neutral-0);
  border-radius: 20px;
  border: none;
  color: var(--color-primary);
  text-align: center;
  text-decoration: none;
  font-size: var(--font-size-s);
  text-decoration: none;
  white-space: nowrap;
  width: auto;
  height: auto;
  padding: var(--space-s) var(--space-m);
}

.agende-sua-consulta-button:hover {
  background-color: var(--color-secondary);
  color: var(--color-neutral-0);
  border: 1px solid var(--color-neutral-0);
  text-decoration: none;
}
.button-service-size {
  width: 7vw;
}

.button-service {
  background-color: white;
  border-radius: 20px;
  border: var(--border-size-s) solid var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
  text-align: center;
  font-family: "Work Sans", "sans-serif";
  font-size: 16px;
  font-weight: bolder;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  width: 15vw;
  padding: var(--space-s);
  cursor: pointer;
}

.button-service:hover {
  background-color: #3b2929;
  color: white;
  border: var(--border-size-s) solid white;
  text-decoration: none;
}

@media (max-width: 576px) {
  html {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .logo {
    padding: var(--space-s);
  }

  .servico-content {
  }

  .topic-service-group-left {
    width: 100%;
  }

  .topic-service-group-right {
    width: 100%;
  }

  .img-geral {
    position: relative;
    width: 300px;
    height: 200px;
  }

  .service-section {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
  }

  .atendimento-content {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
  }

  .atendimento-online-section,
  .service-section {
    display: flex;
    flex-direction: column-re;
    align-items: center;
  }

  .agende-sua-consulta-button {
    font-size: var(--font-size-h6);
  }

  .atendimento-content h2 {
    font-size: 2.2rem;
  }

  .atendimento-content p {
    font-size: 1.8rem;
  }

  .space-button {
    width: 200vw;
  }

  .button-service-size {
    width: auto;
  }
  .button-service {
    width: auto;
    padding: var(--space-s) var(--space-m);
  }
}
