@import url(./global.css);
@import url(./components/header.css);
@import url(./components/footer.css);

img {
  width: 100%;
  display: block;
}

.hero {
  height: 500px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(45%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 7%;
}

.hero-person {
  width: 420px;
  display: none;
  align-self: flex-end;
}

.hero-text {
  color: white;
  text-align: center;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 300;
}

.hero-text p {
  font-size: 2rem;
  margin-top: 18px;
}

.ornament {
  width: 430px;
  height: 3px;
  background: white;
  margin: 35px auto;
}

.hero-btn {
  padding: 18px 35px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 50ms linear;
}

.hero-btn:hover {
  background-color: white;
  color: #222;
  transform: scale(1.05);
}

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

.section-title {
  text-align: center;
  margin: 90px 0 60px;
}

.section-title .line {
  width: 320px;
  height: 3px;
  background: #cfcfcf;
  margin: 0 auto 35px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 300;
}

.servicos__grid {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

/* ── CARD DE SERVIÇO ─────────────────────── */
.servico-card {
  background-color: #ffffff;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.servico-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.11);
}

.servico-card__imagem-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.servico-card__imagem-wrap img {
  height: 100%;
  transition: transform 0.5s ease;
}

.servico-card:hover .servico-card__imagem-wrap img {
  transform: scale(1.06);
}

.servico-card__icone {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--cor-dourado);
}

.servico-card__icone svg {
  width: 18px;
  height: 18px;
}

.servico-card__corpo {
  padding: 30px 20px 24px;
}

.servico-card__nome {
  font-family: var(--fonte-titulo);
  font-size: 1.2rem;
  color: var(--cor-texto);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.servico-card__descricao {
  font-size: 13px;
  color: var(--cor-texto-claro);
  line-height: 1.75;
}

.social-wrapper {
  display: flex;
  flex-direction: column;
  width: 70%;
  gap: 50px;
  margin-bottom: 100px;
}

.video-box,
.comments,
.contact-box {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.video-top {
  padding: 20px;
  font-weight: bold;
}

video {
  width: 100%;
  height: 760px;
  object-fit: cover;
  background: black;
}

.social-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-box {
  padding: 28px;
  font-size: 1rem;
}

.comments {
  padding: 35px;
}

.comment {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #eee;
}

.comment:last-child {
  border: none;
}

.about {
  width: 100%;
  display: flex;
  justify-content: center;
}

.about-container {
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-self: center;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 4px;
}

.section-subtitle {
  display: inline-block;
  margin-bottom: 28px;
  color: #c9aab5;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 30px;
}

.about-content p {
  margin-bottom: 24px;
  line-height: 1.9;
  font-size: 17px;
  color: #444;
}

@keyframes modalOpen {
  from {
    transform: scale(0.92);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
}

.modal-left {
  background: #eee;
  position: relative;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 5;
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

.modal-right {
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-right h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  font-weight: 300;
}

.modal-right p {
  font-size: 1.2rem;
  line-height: 2rem;
  color: #555;
}

body.modal-open {
  overflow: hidden;
}

@media(min-width: 768px) {
  .hero-overlay {
    justify-content: space-between;
  }

  .hero-person {
    display: block;
  }

  .servicos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
  }

  .social-wrapper {
    display: grid;
    grid-template-columns: 420px 1fr;
  }

  .about {
    padding: 0 0 100px 0;
  }

  .about-container {
    flex-direction: row;
  }
}