/* ===========================
   Paleta / Variáveis
   =========================== */
:root{
  --bg: #2f2f2f;
  --bg-2: #2a2a2a;
  --bg-3: #232323;
  --text: #e6e6e6;
  --muted: #bdbdbd;

  --primary: #AD1457;
  --primary-contrast: #ffffff;

  --hero-bg-mobile: url('images/hero.jpeg');
  --hero-bg-desktop: url('images/hero-desktop.jpeg');

  --hero-mobile-focus: 55%;
}

/* Resets */
*{ box-sizing: border-box; margin:0; padding:0; }
img{ display:block; max-width:100%; height:auto; }
body{
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100dvh;
}
.container{ width:90%; max-width:1200px; margin:0 auto; }

/* ===========================
   Header / Navegação
   =========================== */
.main-header{
  position: sticky; top:0; z-index:1000;
  background: rgba(30,30,30,.9);
  border-bottom: 1px solid #3a3a3a;
  backdrop-filter: saturate(120%) blur(6px);
  padding: 14px 0;
}
.header-inner{ display:flex; justify-content:space-between; align-items:center; }
.logo{
  font-family: "Dancing Script", cursive;
  font-size: 2.2rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}
.main-nav{ display:flex; }
.main-nav ul{ list-style:none; display:flex; gap:22px; }
.main-nav a{
  color: var(--text);
  text-decoration:none;
  font-weight:600;
  transition:.25s;
}
.main-nav a:hover{ color: var(--primary); }

/* Botão hambúrguer */
.hamburger{
  display:none;
  flex-direction:column; gap:5px; cursor:pointer;
  background:transparent; border:0; padding:0;
  -webkit-appearance: none; appearance: none;
  box-shadow:none; outline:none;
}
.hamburger span{
  width:26px; height:3px; background:#f5f5f5; border-radius:2px;
}
@media (max-width:768px){
  .hamburger{ display:flex; }
  .main-nav{
    display:none; position:absolute; right:15px; top:66px;
    background: rgba(30,30,30,.95);
    border:1px solid #3a3a3a; border-radius:10px;
    backdrop-filter: blur(6px);
  }
  .main-nav.active{ display:flex; }
  .main-nav ul{ flex-direction:column; padding:12px; }
  .main-nav li{ padding:8px 2px; }
}

/* ===========================
   Hero — blur apenas no MOBILE
   =========================== */
.hero-section{
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;       /* iOS fix */
  display:grid; place-items:center; text-align:center;
  color:#fff; padding: 0 15px;
  background: #000;         /* fallback */
  touch-action: pan-y;
}
.hero-section::before{
  content:"";
  position:absolute; inset:0;
  background-image: var(--hero-bg-mobile);
  background-size: cover;
  background-position: center var(--hero-mobile-focus);
  background-repeat: no-repeat;
  filter: blur(6px);         /* DESFOQUE (só mobile) */
  transform: scale(1.06);    /* evita bordas por causa do blur */
  will-change: transform;
  z-index:0;
  pointer-events:none;
}
.hero-section::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)); /* escurece */
  z-index:0;
  pointer-events:none;
}
.hero-content{ position:relative; z-index:1; } /* fica acima do blur/overlay */

/* Desktop: troca a imagem e remove o BLUR */
@media (min-width:769px){
  .hero-section::before{
    background-image: var(--hero-bg-desktop);
    background-position: center center;
    filter: none;            /* <- sem desfoque no desktop */
    transform: none;
  }
  /* Se quiser a imagem mais “limpa” no desktop, suaviza o overlay: */
  .hero-section::after{
    background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35));
  }
}

.hero-content h1{
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.hero-content p{
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  margin-bottom: 22px;
  opacity: .95;
}

/* Botões */
.btn-primary{
  display:inline-block;
  background: var(--primary);
  color: var(--primary-contrast);
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: .25s;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(173,20,87,.35);
}
.btns-contact{ display:flex; justify-content:center; gap:16px; margin:14px 0 8px; flex-wrap:wrap; }
.btn-whatsapp, .btn-instagram{
  color:#fff; padding:12px 22px; border-radius:999px; font-weight:700; text-decoration:none; display:flex; align-items:center; gap:8px;
}
.btn-whatsapp{ background:#25D366; }
.btn-instagram{ background: var(--primary); }

/* ===========================
   Seções
   =========================== */
.section{ background: transparent; padding: 64px 0; text-align:center; }
.section-title{ font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; color: var(--primary); }
.section-sub{ color: var(--muted); margin-bottom: 28px; }

/* ===========================
   Serviços – sem fundo branco + moldura rosa
   =========================== */
.services-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:22px; }
.service-card{
  background: transparent;
  color: var(--text);
  padding:20px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
}
.service-thumb{
  background: var(--primary);
  padding:6px;
  border-radius:12px;
  box-shadow: 0 8px 22px rgba(173,20,87,.25);
  margin-bottom:14px;
}
.service-thumb img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
}
.service-card h3{ margin-bottom:6px; }

/* ===========================
   Galeria
   =========================== */
.gallery-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:18px; }
.gallery-item{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:14px;
  transition:transform .25s ease, box-shadow .25s ease;
  cursor: zoom-in;
}
.gallery-item:hover{ transform:scale(1.03); box-shadow:0 0 0 3px rgba(173,20,87,.35); }
@media (max-width: 768px){
  .gallery-grid{ grid-template-columns: 1fr; gap:16px; }
  .gallery-item{ height:auto; object-fit:contain; background:#1e1e1e; }
}

/* ===== Lightbox (zoom ao clicar) ===== */
.lightbox{
  position:fixed; inset:0;
  display:none;
  align-items:center; justify-content:center;
  background: rgba(0,0,0,.85);
  z-index: 10000;
  padding: 20px;
}
.lightbox.open{ display:flex; animation: lbFade .18s ease-out; }
@keyframes lbFade{ from{ opacity:0 } to{ opacity:1 } }

.lightbox img{
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  transform: scale(.98);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}
.lightbox.open img{ transform: scale(1); opacity: 1; }

.lightbox-close{
  position:absolute; top:18px; right:18px;
  width:44px; height:44px; border-radius:50%;
  background: rgba(255,255,255,.1);
  color:#fff; font-size:28px; line-height:44px;
  border:0; cursor:pointer;
  backdrop-filter: blur(6px);
}
.lightbox-close:hover{ background: rgba(255,255,255,.2); }

/* ===========================
   Preços – cinza com linhas finas
   =========================== */
.price-list{
  max-width: 640px; margin:0 auto; text-align:left;
  background: #3a3a3a;
  color:#f3f3f3;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
}
.price-item{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.price-item:last-child{ border-bottom:none; }
.price-value{ font-weight:800; color: var(--primary); }

/* ===========================
   Mapa
   =========================== */
.map-wrapper{ position:relative; width:100%; max-width:900px; margin:0 auto; height:320px; border-radius:12px; overflow:hidden; box-shadow:0 4px 12px rgba(0,0,0,.12); background:#fff; }
.map-wrapper iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.map-note{ margin-top:10px; color:var(--muted); }
@media (max-width:768px){ .map-wrapper{ height:240px; } }

/* ===========================
   Footer
   =========================== */
.main-footer{ background: var(--primary); color: #ffffff; padding: 36px 0; text-align:center; }
.footer-logo{ font-family: "Dancing Script", cursive; font-size: 2rem; font-weight:700; color: #ffffff; }
.footer-links{ list-style:none; display:flex; gap:20px; justify-content:center; margin:12px 0 8px; }
.footer-links a{ color: #ffffff; text-decoration:none; font-weight:700; }
.footer-links a:hover{ opacity: .9; }
.social-icons{ display:flex; gap:14px; justify-content:center; margin-top:6px; }
.social-icons a{ color: #ffffff; font-size:1.4rem; }
.social-icons a:hover{ opacity: .9; }
.footer-copy{ margin-top: 14px; opacity: .95; }

/* ===========================
   WhatsApp flutuante
   =========================== */
.whatsapp-float{
  position:fixed; bottom:22px; right:22px; width:60px; height:60px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%; background:#25D366; z-index:10000;
  box-shadow:0 8px 16px rgba(0,0,0,.25);
  transition:transform .2s;
}
.whatsapp-float:hover{ transform:scale(1.05); }
.whatsapp-float img{ width:34px; height:34px; }

/* ===========================
   Reveal
   =========================== */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .8s ease, transform .8s ease; will-change:opacity, transform; }
.reveal.visible{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ transition:none; transform:none }
}
