/* === IMPORTA FONTES === */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lato:wght@300;400&display=swap");

/* === RESET BÁSICO === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  background: #CFE0BC;
  color: #2b2b2b;
}

@font-face {
  font-family: "Hemi Head";
  src: url("assets/fonts/HemiHead-Bold.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* === HEADER / HERO === */
#hero {
  min-height: 100vh;
  background: 
    linear-gradient(135deg, rgba(26,46,26,0.75) 0%, rgba(12, 30, 12, 0.75) 60%, rgba(26,46,26,0.75) 100%),
    url("assets/images/hero.JPG") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* imagem mobile */
@media (max-width: 600px) {
  #hero {
    background: 
      linear-gradient(135deg, rgba(26,46,26,0.75) 0%, rgba(12, 30, 12, 0.75) 60%, rgba(26,46,26,0.75) 100%),
      url("assets/images/hero-mobile.jpg") center/cover no-repeat;
  }
}

/* detalhe decorativo atrás do texto */
#hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(99, 120, 61, 0.25) 0%,   /* #63783D com transparência */
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* === NAV === */
nav {
  position: absolute;
  top: 1.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
}

nav a:hover {
  color: #fff;
}

/* === CONTEÚDO HERO === */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  animation: fadeUp 1s ease both;
}

.hero-content h1 {
  font-family: "Hemi Head", sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero-content .slogan {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* === BOTÃO === */
.btn {
  margin-top: 0.5rem;
  display: inline-block;
  padding: 0.85rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  transition:
    background 0.3s,
    border-color 0.3s;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

/* === ANIMAÇÃO === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === SEÇÕES GERAIS === */
section {
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #63783D;
  display: block;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: "Hemi Head", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #1a1a1a;
}

.section-subtitle {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* === SERVIÇOS === */
#servicos {
  background: #CFE0BC;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border: 1px solid #99CD85;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(99, 120, 61, 0.15);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: "Hemi Head", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.card p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
}

/* === ANTES E DEPOIS === */
#galeria {
  background: #1a2e1a; /* verde bem escuro no lugar do #1a1a1a */
}

#galeria .section-header h2 {
  color: #fff;
}

.carrossel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.carrossel-track-outer {
  overflow: hidden;
  width: 100%;
  border-radius: 16px;
}

.carrossel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.antes-depois {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: center;
}

.foto-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  max-width: 340px;
}

.label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.foto-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #2e2e2e;
  border-radius: 12px;
  border: 1px dashed #444;
}

/* quando adicionar imagem real, troca o .foto-placeholder por: */
/* .foto-box img { width: 100%; border-radius: 12px; object-fit: cover; } */

.slide-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
}

.carrossel-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.3s;
}

.carrossel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.carrossel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.ativo {
  background: #7FA653;
}

/* === CONTATO === */
#contato {
  background: linear-gradient(135deg, #63783D, #1a2e1a);
  text-align: center;
}

.contato-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

#contato h2 {
  font-family: "Hemi Head", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.2;
}

#contato p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1.7;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
  padding: 1rem 2.5rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 50px;
  transition:
    background 0.3s,
    transform 0.2s;
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: scale(1.04);
}

/* === FOOTER === */
footer {
  background: #0f1f0f; /* verde quase preto */
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
}

/* === BOTÃO FLUTUANTE INSTAGRAM === */
#instagram-flutuante {
  position: fixed;
  bottom: 6.5rem; /* fica acima do WhatsApp */
  right: 2rem;
  width: 56px;
  height: 56px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(214, 36, 159, 0.4); /* mantém o do instagram */
  z-index: 999;
  opacity: 0;
  transform: scale(0.8) translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#instagram-flutuante.visivel {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

#instagram-flutuante:hover {
  transform: scale(1.1);
}

/* === BOTÃO FLUTUANTE WHATSAPP === */
#whats-flutuante {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  opacity: 0;
  transform: scale(0.8) translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#whats-flutuante.visivel {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

#whats-flutuante:hover {
  background: #1ebe5a;
  transform: scale(1.1);
}

/* === SOBRE MIM === */
#sobre {
  background: #f9f6f2;
}

.sobre-inner {
  display: flex;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.sobre-foto {
  flex-shrink: 0;
  width: 380px;
}

.sobre-foto img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.sobre-texto {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sobre-texto h2 {
  font-family: "Hemi Head", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #1a1a1a;
  line-height: 1.2;
}

.sobre-texto p {
  font-size: 0.97rem;
  color: #555;
  line-height: 1.8;
}

.sobre-slogan {
  font-family: "Hemi Head", sans-serif;
  font-size: 1.3rem !important;
  color: #63783D !important;
  font-style: italic;
}

.sobre-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.sobre-badges span {
  background: #CFE0BC;
  color: #3a5a2a;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

/* === SOBRE MIM MOBILE === */
@media (max-width: 600px) {
  .sobre-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .sobre-foto {
    width: 100%;
  }
}

/* === CARROSSEL MOBILE: um card por vez === */
@media (max-width: 600px) {
  .antes-depois {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .foto-box {
    width: 85%;
    max-width: 100%;
  }

  .foto-placeholder,
  .foto-box img {
    width: 100%;
    aspect-ratio: 3/4;
    max-height: 38vh;     /* ✅ limita altura para caber as duas na tela */
    border-radius: 12px;
    object-fit: cover;
    object-position: top; /* ✅ prioriza o rosto/parte superior */
  }

  .carrossel-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .slide {
    gap: 0.5rem;
  }
}