/* Fontes */
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Ysabeau+SC:wght@1..1000&display=swap");

/* Estilizando a barra de scroll para navegadores WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
  border: 2px solid var(--secondary-color);
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #b38a40;
}

/* Variáveis CSS */
:root {
  --primary-color: #cea052;
  --secondary-color: #1e252d;
  --text-color: #333;
  --third-color: #eaeaea;
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Lato", sans-serif;
  --font-tertiary: "Ysabeau SC", sans-serif;
}

/* Reset e Estilos Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin; /* "auto" ou "thin" */
  scrollbar-color: var(--primary-color) var(--secondary-color); /* thumb e track */
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  width: 100%;
}

section {
  padding: 0 10rem;
  scroll-margin-top: calc(30px + 20px);
  padding-top: calc(30px + 20px);
}

/* Header e Navbar */
.header {
  position: fixed;
  z-index: 1000;
  width: 100%;
  background-color: transparent;
  padding: 15px 10rem;
  transition: background-color 0.3s ease;
}

.header.scrolled {
  background-color: var(--secondary-color);
}

.nav {
  height: 70px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: auto;
  height: 38px;
}

.nav-list {
  display: flex;
  gap: 1px;
  list-style: none;
}

.nav-list a {
  font-size: 18px;
  color: var(--third-color);
  padding-block: 16px;
  text-decoration: none;
}

.nav-item {
  position: relative;
  margin: 35px;
}

.nav-list .nav-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease-in-out;
}

.nav-list .nav-item a:hover::after {
  width: 100%;
}

.nav-list .nav-item a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  border: none;
  background: none;
  border-top: 3px solid var(--third-color);
  cursor: pointer;
}

.hamburger::after,
.hamburger::before {
  content: " ";
  display: block;
  width: 30px;
  height: 3px;
  background: var(--third-color);
  margin-top: 5px;
  position: relative;
  transition: 0.3s;
}

/* Home */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*HOME */
#section_home {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../img/fundo.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  contain: strict;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 37, 45, 0.7);
  z-index: 1;
}

#home_container {
  position: relative;
  text-align: center;
  width: 100vw;
  height: 100vh;
  padding: 20px;
  align-content: center;
  box-sizing: border-box;
  contain: content;
  z-index: 2;
}

#home_container h1 {
  font-size: 90px;
  color: var(--third-color);
  visibility: hidden;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

#home_container p {
  font-size: 43px;
  color: var(--primary-color);
  margin-top: -20px;
  text-transform: uppercase;
  visibility: hidden;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

#home_btn {
  display: flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  will-change: transform, opacity;
}

.animate-h1 {
  animation: slideInFromLeft 1.5s ease-out forwards;
  visibility: visible !important;
}

.animate-p {
  animation: slideInFromRight 1.5s ease-out forwards;
  visibility: visible !important;
}

.animate-btn {
  animation: fadeInUp 1.5s ease-out forwards;
  visibility: visible !important;
}

.btn {
  border: none;
  border-radius: 25px;
  width: 400px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--third-color));
  color: var(--secondary-color);
  font-size: 18px;
  text-transform: uppercase;
  margin-top: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  backface-visibility: hidden;
}

#home_btn .btn:hover {
  box-shadow: 0 6px 8px rgba(255, 187, 0, 0.733);
  transform: translateY(-8px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.btn .fab.fa-whatsapp {
  font-size: 24px;
  font-weight: bold;
}

.scroll-indicator {
  position: absolute;
  display: flex;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  bottom: 60px;
  z-index: 2;
}

.scroll-down {
  color: var(--primary-color);
  font-size: 34px;
  text-decoration: none;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Sobre */
#sobre {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 700px;
  padding: 0 10rem;
  gap: 5rem;
  overflow: hidden;
}

#sobre_container {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#sobre_container h3 {
  font-size: 36px;
  color: var(--primary-color);
}

#sobre_container p {
  font-size: 16px;
  margin-bottom: 10px;
  text-align: justify;
  font-weight: 500;
}

#sobre_container span {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: -10px;
}

.img-container {
  position: relative;
  width: 40%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5rem;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.shape-foto {
  position: absolute;
  z-index: 3;
}

.shape-foto img {
  width: 331px;
  height: auto;
  object-fit: cover;
  transform: translate(4%, 5.5%);
}

.shape-yellow {
  position: absolute;
  width: 331px;
  height: 360px;
  background: var(--primary-color);
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.shape-dark {
  position: absolute;
  width: 331px;
  height: 360px;
  background: var(--secondary-color);
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -55%);
}

/* Área de Atuação */
#atuacao_container {
  background: var(--secondary-color);
  height: auto;
  padding-bottom: 50px;
  padding-top: 2rem;
}

#atuacao_container h2 {
  font-size: 36px;
  color: var(--third-color);
  margin-bottom: 40px;
  text-align: center;
}

.line-container {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--primary-color), #ffc038);
  transform: translateX(-50%);
  transition: height 0.8s ease-out;
  box-shadow: 0 0 10px rgba(255, 187, 0, 0.5);
  z-index: 3;
}

.cards-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
}

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  margin: 30px 0;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  width: 45%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card.left {
  float: left;
  clear: both;
  z-index: 1;
}

.card.right {
  float: right;
  clear: both;
  z-index: 2;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.6s ease-out;
  z-index: -1;
}

.card.left::before {
  left: 100%;
  transform: translateY(50%);
}

.card.right::before {
  right: 100%;
  transform: translateY(50%);
}

.card.visible::before {
  width: 11.5%;
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.5;
}

.card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
  display: block;
  text-align: center;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Depoimentos  */
#depoimentos {
  padding: 80px 0;
  text-align: center;
  background-color: var(--third-color);
}

#depoimentos h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-weight: 600;
}

.depoimentos-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.carrossel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 500px;
  perspective: 1500px;
}

.slide {
  position: absolute;
  width: 600px;
  padding: 30px;
  background-color: var(--third-color);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(30, 37, 45, 0.2);
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out,
    z-index 0.6s ease-in-out;
  opacity: 0.5;
  z-index: 1;
  transform-style: preserve-3d;
}

.slide.active {
  transform: translateX(0) scale(1.1) rotateY(0deg);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 20px 50px rgba(30, 37, 45, 0.1);
}

.slide.prev {
  transform: translateX(-80%) scale(0.9) rotateY(20deg);
  opacity: 0.7;
  z-index: 2;
}

.slide.next {
  transform: translateX(80%) scale(0.9) rotateY(-20deg);
  opacity: 0.7;
  z-index: 2;
}

.bi-quote {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.depoi-txt {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.photo-people img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--primary-color);
}

.info-people {
  font-size: 1.2rem;
  color: var(--text-color);
  font-weight: 600;
  margin-top: 10px;
}

.carrossel-navigation {
  margin-top: 5px;
}

.carrossel-navigation button {
  background-color: var(--primary-color);
  color: var(--third-color);
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  margin: 0 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.carrossel-navigation button:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.carrossel-navigation button:active {
  transform: translateY(0);
}

/* Contato  */
#contact {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-color);
}

.contact-container {
  display: flex;
  align-items: center;
  background-color: var(--third-color);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  width: 100%;
  border: 1px solid var(--third-color);
}

.contact-content {
  flex: 1;
  padding-right: 40px;
}

.contact-content h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.contact-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.6;
}

.contact-info {
  text-align: left;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-color);
  margin: 12px 0;
  display: flex;
  align-items: center;
}

.contact-info p strong {
  color: var(--primary-color);
  margin-right: 8px;
  font-weight: 500;
}

.contact-info a {
  display: flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
}

.contact-photo {
  flex: 1;
  text-align: center;
}

.contact-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

#btn_contact:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.551);
  transform: translateY(-8px);
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: var(--third-color);
  padding: 40px 0;
  border-top: 4px solid var(--primary-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-left,
.footer-right {
  flex: 1;
}

.footer-left {
  text-align: center;
}

.footer-left p {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--third-color);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  color: var(--third-color);
  font-size: 34px;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-5px);
}

.social-icons a:nth-child(1):hover {
  background: radial-gradient(
    circle at 33% 100%,
    #fed373 4%,
    #f15245 30%,
    #d92e7f 62%,
    #9b36b7 85%,
    #515ecf
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.social-icons a:nth-child(2):hover {
  color: #0077b5;
}

.social-icons a:nth-child(3):hover {
  color: #25d366;
}

.footer-right {
  text-align: center;
}

.quick-links p {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
}

.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links ul li {
  margin: 5px 0;
}

.quick-links ul li a {
  color: var(--third-color);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.quick-links ul li a:hover {
  color: var(--primary-color);
}

.logo-footer img {
  max-width: 220px;
  height: auto;
  margin-top: 15px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsividade */
@media (max-width: 1450px) {
  section {
    padding: 0 1rem;
  }

  .header {
    padding: 0 1rem;
  }

  .hamburger {
    display: block;
    margin: 0 1rem;
    z-index: 1;
    position: fixed;
    top: 26px;
    right: 16px;
  }

  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    clip-path: circle(100px at 90% -15%);
    transition: 1s ease-out;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    pointer-events: none;
  }

  .nav-list a {
    font-size: 24px;
    opacity: 0;
  }

  .nav-list li:nth-child(1) a {
    transition: 0.5s 0.2s;
  }

  .nav-list li:nth-child(2) a {
    transition: 0.5s 0.4s;
  }

  .nav-list li:nth-child(3) a {
    transition: 0.5s 0.6s;
  }

  .nav-list li:nth-child(4) a {
    transition: 0.5s 0.8s;
  }

  .nav-list .nav-item a:hover::after {
    display: none;
  }

  .nav.active .nav-list {
    clip-path: circle(1500px at 90% -15%);
    pointer-events: all;
  }

  .nav.active .nav-list a {
    opacity: 1;
  }

  .nav.active .hamburger {
    border-top-color: transparent;
  }

  .nav.active .hamburger::before {
    transform: rotate(135deg);
  }

  .nav.active .hamburger::after {
    transform: rotate(-135deg);
    top: -7px;
  }

  #sobre {
    height: auto;
    padding: 20px;
    gap: 5rem;
  }

  #sobre_container {
    width: 70%;
    text-align: justify;
  }

  .img-container {
    height: 240px;
  }
}

@media (max-width: 768px) {
  /* header */

  section {
    padding: 0 1rem;
  }

  .header {
    padding: 0 1rem;
  }

  .hamburger {
    margin: 0 1rem;
  }

  /* home */
  #section_home {
    padding: 0 1rem;
    background-image: url(../img/fundomobile.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
  }

  #home_container h1 {
    font-size: 44px;
    margin-bottom: 20px;
  }

  .btn {
    width: 300px;
    height: 45px;
    gap: 10px;
    font-size: 15px;
  }

  #home_container p {
    font-size: 25px;
    margin-bottom: 25px;
  }

  /* sobre  */
  #sobre {
    flex-direction: column;
    height: auto;
    padding: 20px;
    gap: 1rem;
  }

  #sobre_container {
    width: 100%;
    text-align: center;
    order: 2;
  }

  .img-container {
    width: 231px;
    height: 260px;
    margin-top: 40px;
    order: 1;
    margin: 1rem 0;
  }

  .shape-yellow {
    width: 231px;
    height: 260px;
  }

  .shape-dark {
    width: 231px;
    height: 260px;
  }

  .shape-foto img {
    width: 100%;
    transform: translate(2%, 7%);
  }

  /* sessão atuação */
  #atuacao_container h2 {
    font-size: 28px;
    padding-top: 2rem;
  }

  .line {
    display: none;
  }

  .card {
    width: 100%;
    margin: 20px 0;
  }

  .card.left,
  .card.right {
    float: none;
    clear: none;
  }

  .card::before {
    display: none;
  }

  .cards-container {
    width: 100%;
    padding: 0 20px;
  }

  .carrossel-wrapper {
    height: 600px;
  }

  .slide {
    width: 325px;
  }

  .slide.active {
    transform: translateX(0) scale(1);
  }

  .slide.prev {
    transform: translateX(-70%) scale(0.8) rotateY(20deg);
  }

  .slide.next {
    transform: translateX(70%) scale(0.8) rotateY(-20deg);
  }

  .carrossel-navigation button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .contact-info {
    text-align: center;
  }

  .contact-info p {
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    text-align: center;
    margin-bottom: 20px;
  }

  .social-icons {
    justify-content: center;
  }

  .logo img {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .footer-bottom {
    padding: 10px 0;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  section {
    flex-direction: column;
    height: auto;
    padding: 20px;
    gap: 5rem;
  }

  #home_container h1 {
    font-size: 37px;
    margin-bottom: 20px;
  }

  #home_container p {
    font-size: 20px;
    margin-bottom: 25px;
  }

  #atuacao_container h2 {
    font-size: 24px;
    padding-top: 1.5rem;
  }

  .card {
    padding: 15px;
  }

  .card h3 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.9rem;
  }
}
