:root {
  --bg: hsl(210 20% 98%);
  --text: hsl(224 71% 4%);
  --muted: hsl(215 16% 46%);
  --card: hsl(0 0% 100%);
  --border: hsl(214 32% 91%);
  --brand: hsl(35 85% 50%);
  --brand-dark: hsl(35 85% 42%);
  --shadow: 0 20px 40px -15px hsl(35 85% 50% / .35);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Manrope, system-ui, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  background: var(--bg);
  color: var(--text)
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem
}

.section {
  padding: 72px 0
}

.button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease
}

.button:hover {
  transform: translateY(-1px);
  background: var(--brand-dark)
}

.button-outline {
  background: transparent;
  border: 1px solid color-mix(in hsl, var(--brand) 60%, white);
  color: var(--text)
}

.button-outline:hover {
  background: var(--brand);
  color: #fff
}

.icon {
  width: 20px;
  height: 20px
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px 0
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem
}

.brand img {
  height: 44px;
  width: auto;
  margin-left: 5px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1rem
}

.menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text)
}

.menu a:hover {
  background: color-mix(in hsl, var(--brand) 14%, transparent)
}

.burger {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 10px;
  padding: 8px
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 80%;
  background: radial-gradient(600px 400px at var(--spot-x, 50%) var(--spot-y, 30%), hsl(35 85% 50% / .15), transparent 60%);
  pointer-events: none
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-items: center;
  text-align: center;
  background-image: url('/images/uploads/3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat
}

@media(min-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr
  }
}

.hero .card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .04);
  padding: 20px
}

.hero-bg h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-bg p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #f1f1f1;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem
}

@media(min-width:760px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr)
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .05)
}

.card h3 {
  margin: 6px 0 10px
}

.card p {
  color: var(--muted);
  margin: 0 0 10px
}

/* Testimonials */
.testi {
  display: grid;
  gap: 1rem
}

@media(min-width:760px) {
  .testi {
    grid-template-columns: repeat(3, 1fr)
  }
}

.quote {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px
}

.quote p {
  margin: 0 0 10px;
  color: var(--muted)
}

/* Contact */
.form {
  display: grid;
  gap: .75rem;
  max-width: 560px
}

.input,
.textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  background: #fff
}

.textarea {
  min-height: 120px;
  resize: vertical
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted)
}

/* Mobile */
@media(max-width:900px) {
  .menu {
    display: none
  }

  .menu.open {
    display: flex;
    position: absolute;
    top: 64px;
    right: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    flex-direction: column;
    padding: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08)
  }

  .burger {
    display: inline-flex
  }
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45)
}

.whatsapp-float:hover {
  transform: translateY(-1px)
}

.hero-bg {
  position: relative;
  background: url('/public/uploads/3.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  /* efeito parallax em desktops */
  min-height: 90vh;
  /* ocupa quase toda a tela */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-bg>div {
  position: relative;
  z-index: 2;
  /* garante que o texto fica acima do overlay */
  color: #fff;
  max-width: 800px;
}





/* Mobile ajustes */
@media(max-width: 768px) {
  .hero-bg {
    background-attachment: scroll;
    /* melhora performance mobile */
    min-height: 70vh;
    padding: 1.5rem;
  }

  .hero-bg h1 {
    font-size: 2rem;
  }

  .hero-bg p {
    font-size: 1rem;
  }
}

/* Estilo do menu mobile */
.menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 900px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    right: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    animation: fadeIn 0.3s ease forwards;
    z-index: 1000;
  }

  .menu.open {
    display: flex;
  }

  /* Botão hambúrguer visível no mobile */
  .burger {
    display: inline-flex;
    cursor: pointer;
    background: transparent;
    border: none;
  }
}

/* Animação suave */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.galeria-3d {
    padding: 40px 20px;
    text-align: center;
}

.galeria-3d h2 {
    margin-bottom: 20px;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.galeria-item {
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    padding-top: 60px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#caption {
    text-align: center;
    color: #fff;
    margin-top: 10px;
}
