* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Animação de fade + subida */
@keyframes surgir {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Elementos que surgem ao carregar */
h1 {
  animation: surgir 0.5s ease forwards;
}
.subtitle {
  animation: surgir 0.5s ease 0.2s forwards;
  opacity: 0;
}
ul {
  animation: surgir 0.5s ease 0.4s forwards;
  opacity: 0;
}
.contact {
  animation: surgir 0.5s ease 0.6s forwards;
  opacity: 0;
}
.wpp {
  animation: surgir 0.5s ease 0.8s forwards;
  opacity: 0;
}
.botao-agendar {
  animation: surgir 0.5s ease 1s forwards;
  opacity: 0;
}
.container-map {
  animation: surgir 0.5s ease 1.2s forwards;
  opacity: 0;
}

/* Classe para elementos invisíveis esperando o scroll */
.escondido {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

/* Classe adicionada pelo JS quando o elemento fica visível */
.visivel {
  opacity: 1;
  transform: translateY(0);
}

body {
  background-image: url(./assets/edubarberback_hero.png);
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  overflow-x: hidden;
}

h1 {
  color: white;
  font-family: "New Rocker", system-ui;
  text-align: center;
  font-weight: 900;
  font-size: 130px;
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

h1 div {
  color: #c9a410;
}

.subtitle {
  font-family: "Open Sans", sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: white;
  margin: 0 0 15px 0;
}

ul {
  color: #c9a410;
  font-size: 30px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  margin: 10px 0 20px 0;
}

li p {
  color: white;
  margin: 0;
  padding: 2px 0;
}

.contact {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  color: white;
  font-size: 22px;
  margin-top: 5px;
  text-decoration: underline;
  margin: 0 0 15px 0;
}

.wpp {
  font-size: 30px;
  color: #ddd;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 5px 0 0 -40px;
  font-family: "Open Sans", sans-serif;
}

.wpp a {
  display: inline;
  color: #c9a410;
}

.lado-direito {
  display: flex;
  flex-direction: column;
  align-items: center; /* centraliza tudo na mesma linha vertical */
  gap: 25px;
  width: 50%; /* ocupa metade direita da tela */
  margin-left: auto; /* empurra para a direita */
  padding: 50px 0px 20px 0;
  margin-top: -100px;
  transform: scale(0.8);
  padding-bottom: 0;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.botao-agendar {
  background: linear-gradient(135deg, #b8a24a, #f3d439, #9b7d05);
  color: #3a2800;
  font-family: "Scope One", sans-serif;
  font-size: 22px;
  font-weight: 700;
  padding: 20px 100px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 2px;
  box-shadow: 0 4px 20px rgba(200, 160, 0, 0.4);
  width: 100%; /* mesma largura do h1 */
  max-width: 450px; /* limita para não ficar gigante */
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.botao-agendar a {
  color: #0d0d0d;
  text-decoration: none;
}

.botao-agendar:hover {
  box-shadow: 0 0 20px rgba(200, 160, 0, 0.7);
}

.container-map {
  width: 100%;
  max-width: 450px; /* mesmo max-width do botão = alinhados */
}

.container-map iframe {
  width: 100%;
  height: 350px;
  border: 5px solid #979595;
  border-radius: 15px;
  display: block;
}

.social-links {
  padding-top: 5px;
  color: white;
  gap: 6px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-bottom: 0px;
}

.social-links a {
  color: white;
  font-family: "Scope One", sans-serif;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 900;
}

.social-links.escondido {
  transition-delay: 1.2s;
}
.newsection {
  width: 100%;
  background-image: url(./assets/CD7B5EA9-0B4C-4B28-A7FF-BEDD83E2EB4E\ \(1\).png); /* cor de fundo */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.newsection h2 {
  font-family: "New Rocker", system-ui;
  color: white;
  font-weight: 900;
  font-size: 130px;
  margin: 88px;
}

.subtitle-2 {
  color: #ddd;
  font-size: 20px;
  text-align: center;
  position: relative;
  top: -50px;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  max-width: 1500px;
  margin: 0 auto;
  line-height: 1.7;
}

.team {
  font-size: 50px;
  font-family: "Scope One", sans-serif;
  color: #c9a410;
  font-weight: 400;
  letter-spacing: 0.1em;
  position: relative;
  top: 50px;
  margin: 0 0 -5px 0;
}

h2 span {
  color: #c9a410;
}

.barber-pic {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.barber-pic img {
  width: 480px;
  object-fit: cover;
  padding: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  width: 480px;
}

.card img {
  width: 480px;
  object-fit: cover;
  height: 700px;
}

.card p {
  align-items: center;
  object-fit: cover;
  font-size: 24px;
  font-family: "Scope One", sans-serif;
  font-weight: 500;
  color: #ddd;
  text-align: left;
  padding-left: 21px;
}

.exp p {
  color: #c9a410;
  margin-bottom: 3rem;
}

.exp-2 p {
  color: #c9a410;
  margin-bottom: 3rem;
}

.section-3 {
  background-color: #0d0d0d;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 100vh;
  margin: 0;
  padding: 0 0 80px 0;
}

.title-3 {
  font-size: 130px;
  font-family: "New Rocker", system-ui;
  color: white;
  margin: 18px;
  margin-bottom: 50px;
}

.subtitle-3 {
  font-size: 30px;
  font-family: "Scope One", sans-serif;
  color: #c9a410;
  font-weight: 400;
  letter-spacing: 0.1em;
  position: relative;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 0 60px;
  margin-top: 3rem;
  width: 100%;
  max-width: 1400px;
}

.galeria-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.galeria-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(201, 164, 16, 0.3);
}

.galeira-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1120px;
}

.footer-wrapper {
  background: #0d0d0d;
  padding: 0 4rem;
  box-sizing: border-box;
  width: 100%;
}

.footer-divider {
  border: none;
  border-top: 1px solid #333;
  margin: 0 -4rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.footer-brand .name {
  color: #c9a84c;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 4px;
}

.footer-brand .copy {
  color: #666;
  font-size: 12px;
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  color: #c9a84c;
}

.footer-social {
  text-align: right;
}

.footer-social .links {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.footer-social a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
}

.footer-social a:hover {
  color: #c9a84c;
}

.footer-social .credit {
  color: #555;
  font-size: 11px;
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

main {
  flex: 1;
}

@media (max-width: 1024px) {
  .lado-direito {
    width: 70%;
    transform: scale(0.85);
  }

  h1 {
    font-size: 90px;
  }

  .newsection h2 {
    font-size: 90px;
    margin: 50px;
  }

  .title-3 {
    font-size: 90px;
  }

  .card,
  .card-2 {
    width: 350px;
  }

  .card img,
  .card-2 img {
    width: 350px;
    height: 520px;
  }

  .barber-pic img {
    width: 350px;
  }

  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 30px;
  }

  .galeira-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    background-image: none;
    background-color: #1a1a1a;
  }

  .lado-direito {
    width: 100%;
    margin-left: 0;
    transform: none;
    padding: 40px 20px 20px;
    margin-top: 0;
    gap: 20px;
  }

  h1 {
    font-size: 60px;
  }

  .subtitle {
    font-size: 20px;
  }

  ul {
    font-size: 20px;
  }

  .contact {
    font-size: 18px;
  }

  .wpp {
    font-size: 22px;
    margin: 5px 0 0 0;
    justify-content: center;
  }

  .botao-agendar {
    font-size: 18px;
    padding: 16px 40px;
    max-width: 100%;
  }

  .container-map {
    max-width: 100%;
  }

  .container-map iframe {
    height: 250px;
  }

  #social-links {
    margin-left: 0;
    justify-content: center;
  }

  .newsection h2 {
    font-size: 60px;
    margin: 40px 20px;
  }

  .subtitle-2 {
    font-size: 16px;
    top: -20px;
    padding: 0 20px;
    max-width: 100%;
  }

  .team {
    font-size: 35px;
    top: 30px;
  }

  .barber-pic {
    flex-direction: column;
    gap: 30px;
  }

  .barber-pic img {
    width: 100%;
    padding: 0;
  }

  .card,
  .card-2 {
    width: 90%;
    max-width: 400px;
  }

  .card img,
  .card-2 img {
    width: 100%;
    height: 500px;
  }

  .card-2 p {
    width: 100%;
  }

  .title-3 {
    font-size: 60px;
    margin-bottom: 20px;
  }

  .subtitle-3 {
    font-size: 22px;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
    gap: 10px;
  }

  .galeira-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 44px;
  }

  .subtitle {
    font-size: 16px;
  }

  ul {
    font-size: 16px;
  }

  .contact {
    font-size: 15px;
  }

  .wpp {
    font-size: 18px;
  }

  .botao-agendar {
    font-size: 16px;
    padding: 14px 20px;
  }

  .container-map iframe {
    height: 200px;
  }

  .newsection h2 {
    font-size: 40px;
    margin: 30px 15px;
  }

  .subtitle-2 {
    font-size: 14px;
    padding: 0 15px;
  }

  .team {
    font-size: 28px;
  }

  .card img,
  .card-2 img {
    height: 400px;
  }

  .card p,
  .card-2 p {
    font-size: 18px;
  }

  .title-3 {
    font-size: 40px;
  }

  .subtitle-3 {
    font-size: 18px;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 15px;
    gap: 8px;
  }
}
