/* =========================================================
   TEMA (Vitazza)
   ========================================================= */
:root {
  --bg-claro: #f6f5ec;
  --marrom: #3a1810;
  --laranja-vitazza: #af4217;
  --texto-escuro: #1f1f1f;
  --branco: #ffffff;

  --topbar-h: 64px;
  --container-max: 1200px;

  --radius: 14px;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   RESET / BASE
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-claro);
  color: var(--texto-escuro);
  padding-top: var(--topbar-h); /* evita conteúdo atrás da navbar fixed */
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

section { scroll-margin-top: calc(var(--topbar-h) + 16px); }

/* =========================================================
   NAVBAR
   ========================================================= */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--topbar-h);
  z-index: 20;
  background: var(--laranja-vitazza);
  backdrop-filter: blur(6px);
}

.topbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--branco);
}

.logo-area { display: flex; align-items: center; }

.logo-vitazza {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.menu a {
  position: relative;
  color: var(--branco);
  text-decoration: none;
  padding: 6px 0;
  flex: 0 0 auto;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0;
  height: 2px;
  background: var(--branco);
  transition: width 0.2s ease;
}

.menu a:hover::after { width: 100%; }

/* MOBILE: menu vira “fitinha” com scroll horizontal */
@media (max-width: 640px) {
  :root { --topbar-h: 64px; }

  .logo-vitazza { width: 98px; }

  .menu {
    gap: 12px;
    font-size: 0.82rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 60vw;
    padding-bottom: 2px;
  }

  .menu::-webkit-scrollbar { display: none; }
}

/* =========================================================
   HERO (vídeo fullscreen)
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--topbar-h));
  background: #000;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(175, 66, 23, 0.65),
    rgba(0, 0, 0, 0.85)
  );
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: calc(100svh - var(--topbar-h));
  display: grid;
  align-content: end;
  justify-items: center;
  text-align: center;
  color: #fff;
  padding-bottom: clamp(32px, 8vh, 96px);
}

.hero-content h1 {
  font-size: clamp(1.25rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

/* =========================================================
   SEÇÕES
   ========================================================= */
.section {
  padding: clamp(48px, 6vw, 80px) 1.5rem;
}

.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.92rem;
  text-align: center;
  opacity: 0.85;
  margin-bottom: 2.2rem;
}

.section-dark {
  background: var(--laranja-vitazza);
  color: var(--branco);
}

.section-dark .section-subtitle { opacity: 1; }

/* =========================================================
   BOTÕES
   ========================================================= */
.btn-primary,
.btn-primary:link,
.btn-primary:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  background-color: var(--laranja-vitazza);
  color: var(--branco);
  border: none;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary:hover {
  background-color: #922f11;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.btn-primary:active { transform: translateY(0); }

.btn-full { width: 100%; }

/* =========================================================
   CARROSSEIS (swipe no mobile, setas no desktop)
   ========================================================= */
.carousel-wrapper {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px 6px 14px;
  -webkit-overflow-scrolling: touch;
}

.carousel-track > * { scroll-snap-align: start; }

.carousel-track::-webkit-scrollbar { height: 10px; }
.carousel-track::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); border-radius: 999px; }
.carousel-track::-webkit-scrollbar-track { background: rgba(0,0,0,0.06); border-radius: 999px; }

.carousel-btn {
  position: absolute;
  top: 50%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #af4217;
  color: #fff;
  cursor: pointer;
  display: none; /* default: escondido (mobile usa swipe) */
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-50%);
}

.carousel-btn.prev { left: -10px; }
.carousel-btn.next { right: -10px; }

.carousel-btn:hover { background: #922f11; }
.carousel-btn span { font-size: 18px; line-height: 1; }

/* desktop: mostra setas */
@media (min-width: 900px) {
  .carousel-btn { display: flex; }
}

/* =========================================================
   CARDS (serviços + galeria)
   ========================================================= */
.card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  flex: 0 0 clamp(240px, 26vw, 320px);
}

.card-body {
  padding: 12px 16px 16px;
  background: #ffffff;
  color: #333;
  font-size: 0.86rem;
}

.card-body h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.card-body p { opacity: 0.95; line-height: 1.45; }

/* vídeo vertical 9:16 */
.card-media-vertical {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
}

.card-media-vertical iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   MIX IDEAL (1 imagem por vez)
   ========================================================= */
.mix-grid img {
  flex: 0 0 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

@media (max-width: 480px) {
  .mix-grid img {
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
  }
}

/* CTA mix */
.mix-download-center {
  margin-top: 28px;
  text-align: center;
}

.mix-btn-download,
.mix-btn-download:link,
.mix-btn-download:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #af4217;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.mix-btn-download::before { content: "⬇"; font-size: 1rem; }
.mix-btn-download:hover { background-color: #922f11; transform: translateY(-2px); }
.mix-btn-download:active { transform: translateY(0); }

/* =========================================================
   CONTATO
   ========================================================= */
.section-contact {
  position: relative;
  padding: clamp(48px, 6vw, 80px) 1.5rem clamp(56px, 7vw, 96px);
  color: var(--branco);
  overflow: hidden;
  background-image: url("https://i.imgur.com/wRSM5cI.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.contact-card {
  width: min(460px, 100%);
  background: rgba(0, 0, 0, 0.72);
  padding: 2.1rem 2.2rem 2.3rem;
  border-radius: var(--radius);
  backdrop-filter: blur(5px);
}

.contact-card h2 { text-align: center; margin-bottom: 0.35rem; font-size: 1.4rem; }

.contact-card > p {
  text-align: center;
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
  opacity: 0.9;
}

.form-group { margin-bottom: 0.85rem; }

.form-group label { display: block; font-size: 0.78rem; margin-bottom: 0.25rem; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.55);
  color: var(--branco);
  font-size: 0.9rem;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.7); }

.alert {
  font-size: 0.9rem;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  margin-bottom: 0.9rem;
}

.alert.success { background: rgba(46, 204, 113, 0.15); border: 1px solid #2ecc71; }
.alert.error { background: rgba(231, 76, 60, 0.18); border: 1px solid #e74c3c; }

@media (max-width: 768px) {
  .contact-card { padding: 1.7rem 1.5rem 2rem; }
  #servicos h2 { font-size: 1.35rem; }
  #servicos .section-subtitle { font-size: 0.95rem; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--marrom);
  color: var(--branco);
  padding: 1.4rem 1.5rem;
  font-size: 0.82rem;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--branco);
  text-decoration: none;
  opacity: 0.86;
}

.footer-links a:hover { opacity: 1; text-decoration: underline; }

@media (min-width: 720px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* =========================================================
   LGPD POPUP
   ========================================================= */
.lgpd-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 16px;
}

.lgpd-content {
  background: #f6f5ec;
  color: #333;
  width: min(520px, 100%);
  padding: 24px 28px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  font-size: 14px;
  line-height: 1.5;
}

.lgpd-content h2 { margin-bottom: 12px; font-size: 18px; }

.btn-close-lgpd {
  margin-top: 16px;
  background: #af4217;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}

.btn-close-lgpd:hover { opacity: 0.92; }


/* ====== HAMBURGER NAV (desktop + mobile) ====== */

.menu-toggle{
  display: none;              /* desktop: escondido */
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;

  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}



.menu-toggle:focus-visible {
  outline: 2px solid rgba(255,255,255,0.8);
  outline-offset: 3px;
}

.menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--branco);
  border-radius: 999px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* Desktop menu padrão */
.menu-desktop { display: flex; }

/* Menu mobile (drawer) */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 19; /* abaixo da topbar (20), acima do resto */
}

.menu-mobile {
  position: fixed;
  top: var(--topbar-h);
  right: 0;
  width: min(86vw, 340px);
  height: calc(100svh - var(--topbar-h));
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  z-index: 21;
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid rgba(255,255,255,0.12);
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

.menu-mobile.is-open {
  transform: translateX(0);
}

.menu-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 6px;
}

.menu-mobile-title {
  color: var(--branco);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.menu-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  color: var(--branco);
  cursor: pointer;
}

.menu-close:hover { background: rgba(255,255,255,0.16); }

.menu-mobile-link {
  color: var(--branco);
  text-decoration: none;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  font-weight: 600;
}

.menu-mobile-link:hover {
  background: rgba(255,255,255,0.12);
}

/* MOBILE breakpoint */
@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; }
  .menu-desktop { display: none; }
}



