/* =====================================================
   VOLPI — CSS Premium
   ===================================================== */

@font-face {
  font-family: 'Alexandria';
  src: url('../fonts/alexandria-regular.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ── Cores da marca (extraídas da logo) ── */
  --color-red:        #1a1a1a;   /* Vermelho escuro */
  --color-red-light:  #333333;
  --color-teal:       #00768A;   /* Azure escuro */
  --color-teal-light: #00919f;

  /* ── Paleta base ── */
  --color-primary:    #1a1a1a;
  --color-secondary:  #1a1a1a;   /* vermelho como cor de destaque principal */
  --color-accent:     #00768A;   /* teal como cor de destaque secundária */

  /* ── Fundos — Disco & Hourglass ── */
  --color-bg:         #DADBDE;   /* Hourglass — fundo principal */
  --color-bg-alt:     #B8BBBF;   /* Disco — seções alternadas */
  --color-bg-dark:    #1a1a1a;   /* seções escuras */

  /* ── Texto e bordas ── */
  --color-white:      #ffffff;
  --color-text:       #1e1e1e;
  --color-text-light: #5a5a5a;
  --color-border:     #c4c6ca;

  --font-heading: 'Alexandria', Georgia, serif;
  --font-body:    'Alexandria', 'Segoe UI', sans-serif;

  --transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 30px rgba(0,0,0,0.14);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.20);
  --radius:      4px;
  --radius-lg:   8px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* Garante que nenhum elemento quebre o layout */
section, header, footer, main, nav, aside, div {
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: var(--transition); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 550px;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn-volpi {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-volpi-primary {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.btn-volpi-primary:hover {
  background: var(--color-red-light);
  border-color: var(--color-red-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-volpi-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}

.btn-volpi-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-volpi-dark {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-volpi-dark:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =====================
   NAVBAR
   ===================== */
.navbar-volpi {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.25rem 0;
  background: rgba(20, 20, 20, 0.35);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
  overflow: hidden;
}

.navbar-volpi.scrolled {
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.1rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.navbar-volpi.scrolled .navbar-brand img {
  height: 42px !important;
  max-height: 42px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transition: height .3s ease, margin .3s ease;
}

.navbar-volpi .navbar-brand img {
  height: clamp(44px, 6.5vw, 86px) !important;
  max-height: clamp(44px, 6.5vw, 86px);
  width: auto;
  max-width: 150px;
  object-fit: contain;
  margin-top: clamp(-4px, -0.8vw, -10px);
  margin-bottom: clamp(-4px, -0.8vw, -10px);
  transition: height .3s ease, max-height .3s ease, margin .3s ease;
}

.navbar-volpi .navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.navbar-volpi .navbar-brand span {
  color: var(--color-secondary);
}

.navbar-volpi .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem !important;
  transition: var(--transition);
  position: relative;
}

.navbar-volpi .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.75rem; right: 0.75rem;
  height: 1px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-volpi .nav-link:hover,
.navbar-volpi .nav-link.active {
  color: var(--color-teal-light) !important;
}

.navbar-volpi .nav-link:hover::after,
.navbar-volpi .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-volpi .btn-nav-contato,
.navbar-volpi .btn-nav-contato.active,
.navbar-volpi .btn-nav-contato:focus,
.navbar-volpi .btn-nav-contato:active {
  background: var(--color-red);
  color: var(--color-white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius);
  font-weight: 600;
}

.navbar-volpi .btn-nav-contato:hover {
  background: var(--color-teal);
  color: var(--color-white) !important;
}


/* Mobile navbar */
.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.3rem 0.6rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =====================
   HERO
   ===================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-bg.hero-bg-active { opacity: 1; }

/* Grid para empilhar múltiplos slides de conteúdo */
.hero-slides-container {
  display: grid;
  width: 100%;
}
.hero-slides-container > .hero-content {
  grid-row: 1;
  grid-column: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  position: static;
  z-index: auto;
  color: var(--color-white);
  max-width: 750px;
}
.hero-slides-container > .hero-content.hero-slide-active {
  opacity: 1;
  pointer-events: auto;
}

/* Bolinhas de navegação do carrossel */
.hero-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.hero-dot:hover { background: rgba(255,255,255,0.6); }
.hero-dot.hero-dot-active {
  background: var(--color-secondary, #c8a96e);
  border-color: var(--color-secondary, #c8a96e);
  transform: scale(1.25);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,26,0.85) 0%,
    rgba(26,26,26,0.5) 60%,
    rgba(26,26,26,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 750px;
}

.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s 0.2s forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--color-secondary);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 560px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s 0.8s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(200,169,110,0.8), transparent);
}

/* =====================
   SECTIONS
   ===================== */
.section-padding {
  padding: 6rem 0;
}

.section-padding-sm {
  padding: 4rem 0;
}

.bg-dark-section {
  background: var(--color-primary);
  color: var(--color-white);
}

.bg-alt-section {
  background: var(--color-bg-alt);
}

/* =====================
   CATEGORIAS GRID
   ===================== */
.categoria-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #333;
}

.categoria-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.categoria-card:hover img {
  transform: scale(1.08);
}

.categoria-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.1) 60%);
  transition: var(--transition);
}

.categoria-card:hover .categoria-card-overlay {
  background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.3) 60%);
}

.categoria-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  color: var(--color-white);
  transform: translateY(0);
  transition: var(--transition);
}

.categoria-card-icon {
  font-size: 1.8rem;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
  display: block;
  transition: var(--transition);
}

.categoria-card h3 {
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.categoria-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.categoria-card:hover p {
  max-height: 100px;
}

.categoria-no-img {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  display: flex;
  align-items: flex-end;
}

/* Slideshow automático dentro dos cards de categoria */
.cat-slideshow {
  position: absolute;
  inset: 0;
}

.cat-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.cat-slide-active {
  opacity: 1;
}

.categoria-card:hover .cat-slideshow .cat-slide-active {
  transform: scale(1.08);
  transition: opacity 0.7s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Badge contador de projetos */
.cat-count {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* =====================
   PROJECT CARDS
   ===================== */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card-img img {
  transform: scale(1.06);
}

.project-card-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.project-card:hover .project-card-overlay {
  background: rgba(26,26,26,0.5);
}

.project-card-overlay a {
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.project-card:hover .project-card-overlay a {
  opacity: 1;
  transform: translateY(0);
}

.project-card-body {
  padding: 1.25rem;
}

.project-card-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.4rem;
}

.project-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.project-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.project-card-meta i { color: var(--color-teal); }

/* =====================
   PORTFOLIO FILTER
   ===================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: transparent;
  color: var(--color-text-light);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* =====================
   ABOUT / DIFERENCIAIS
   ===================== */
.diferencial-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.diferencial-item:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.diferencial-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-white);
}

/* =====================
   MATERIAIS
   ===================== */
.material-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.material-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.material-card-img {
  aspect-ratio: 1/1;
  overflow: hidden;
}

.material-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.material-card:hover .material-card-img img {
  transform: scale(1.08);
}

.material-card-body {
  padding: 1rem 1.25rem;
}

.material-card-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

/* =====================
   PRODUCTS
   ===================== */
.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-badge-unavailable {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card-body {
  padding: 1.25rem;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-teal);
}

.product-medidas {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* =====================
   DEPOIMENTOS
   ===================== */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-teal);
  opacity: 0.25;
  line-height: 1;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-secondary);
}

.testimonial-avatar-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 700;
}

/* =====================
   CONTACT FORM
   ===================== */
.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  background: var(--color-white);
  color: var(--color-text);
  transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.15);
  outline: none;
}

.contact-form label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.4rem;
}

/* =====================
   GALLERY / LIGHTBOX
   ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(26,26,26,0.4);
}

.gallery-item-overlay i {
  color: var(--color-white);
  font-size: 2rem;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay i {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(10,10,12,0);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  opacity: 0;
  transition: opacity .4s ease, background .4s ease, backdrop-filter .4s ease;
}

.lightbox.active { display: flex; }

.lightbox.show {
  opacity: 1;
  background: rgba(10,10,12,0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 92vw;
  max-height: 88vh;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: #0c0c0e;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}

.lightbox-img.zoom-in {
  animation: lightboxZoom .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lightboxZoom {
  from { opacity: 0; transform: scale(.85) translateY(18px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.lightbox-caption {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: .3px;
  text-align: center;
  max-width: 80vw;
}

.lightbox-caption.caption-in {
  animation: lightboxCaptionUp .5s ease both;
}

@keyframes lightboxCaptionUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lightbox-counter {
  position: absolute;
  top: 1.5rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: .85rem;
  letter-spacing: 1.5px;
  z-index: 2;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  font-size: 1.35rem;
  cursor: pointer;
  z-index: 2;
  transition: transform .25s ease, background-color .25s ease, opacity .25s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--color-accent); }

.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-close:hover { transform: scale(1.1) rotate(90deg); }

.lightbox-prev { left: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover,
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); }

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox-img.zoom-in,
  .lightbox-caption.caption-in,
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next { animation: none; transition: opacity .2s ease; }
}

/* =====================
   SERVICES
   ===================== */
.service-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--color-teal);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(0,118,138,0.12), rgba(0,118,138,0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-teal);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--color-teal), var(--color-red));
  color: var(--color-white);
}

/* =====================
   BLOG
   ===================== */
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-body { padding: 1.5rem; }

.blog-card-date {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

/* =====================
   WHATSAPP FLOAT
   ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--color-white);
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* =====================
   FOOTER
   ===================== */
.footer-volpi {
  background: #111111;
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-col {}

.footer-col-brand {}

.footer-logo {
  height: 170px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.footer-brand span { color: var(--color-secondary); }

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-top: 0;
  color: rgba(255,255,255,0.55);
  max-width: 340px;
}

.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--color-secondary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact-item i {
  color: var(--color-secondary);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-teal);
  color: var(--color-white);
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.65rem 1.4rem;
  background: var(--color-teal);
  color: #fff;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition);
  text-decoration: none;
}

.footer-cta:hover {
  background: var(--color-teal-light);
  color: #fff;
  transform: translateY(-1px);
}

.footer-bottom {
  margin-top: 0;
  padding: 1.5rem 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* =====================
   ANIMATIONS
   ===================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* AOS overrides */
[data-aos] { transition-duration: 0.7s !important; }

/* =====================
   STATS STRIP
   ===================== */
.stats-strip {
  background: var(--color-primary);
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
  color: var(--color-white);
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-teal-light);
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* =====================
   PAGE HEADER
   ===================== */
.page-header {
  background: var(--color-primary);
  padding: 6rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--color-red), var(--color-teal), var(--color-red));
}

.page-header h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}

.breadcrumb-volpi {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.breadcrumb-volpi a {
  color: rgba(255,255,255,0.5);
}

.breadcrumb-volpi a:hover { color: var(--color-secondary); }

.breadcrumb-volpi .separator { opacity: 0.4; }

/* =====================
   PROJETO DETALHE
   ===================== */
.project-detail-hero {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.project-info-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.project-info-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.project-info-item:last-of-type { border-bottom: none; }

.project-info-item i {
  color: var(--color-secondary);
  margin-top: 0.2rem;
  width: 18px;
}

.project-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.project-info-value {
  font-size: 0.9rem;
  color: var(--color-text);
}

/* =====================
   404 PAGE
   ===================== */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-bg);
}

.page-404 .number {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
  opacity: 0.3;
}

/* =====================
   OBRIGADO PAGE
   ===================== */
.obrigado-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.obrigado-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--color-white);
  margin: 0 auto 1.5rem;
}

/* =====================
   DIVIDERS
   ===================== */
.divider-gold {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--color-red), var(--color-teal));
  margin: 1rem 0;
  border-radius: 2px;
}

.divider-gold-center {
  margin: 1rem auto;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 991px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-col-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section-padding { padding: 4rem 0; }
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .btn-volpi { justify-content: center; }
  .project-info-card { position: static; margin-top: 2rem; }
  .whatsapp-float { bottom: 1.5rem; right: 1.5rem; width: 52px; height: 52px; font-size: 1.4rem; }
  .footer-volpi { padding: 3rem 0 0; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
  .footer-logo { height: 90px !important; }
  .footer-desc { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
  .filter-bar { gap: 0.35rem; }
  .filter-btn { padding: 0.4rem 0.9rem; font-size: 0.72rem; }
}

/* =====================
   RESPONSIVE — TABLET
   ===================== */
@media (max-width: 991px) {
  .navbar-volpi .navbar-brand img {
    height: 80px !important;
    max-height: 80px;
    margin-top: -12px;
    margin-bottom: -12px;
  }

  .navbar-volpi .navbar-collapse {
    background: rgba(20,20,20,0.97);
    backdrop-filter: blur(20px);
    margin-top: 0.5rem;
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    border: 1px solid rgba(255,255,255,0.08);
  }

  .navbar-volpi .nav-link {
    padding: 0.6rem 1rem !important;
    border-radius: var(--radius);
  }

  .navbar-volpi .btn-nav-contato {
    margin-top: 0.5rem;
    display: block;
    text-align: center;
    border-radius: var(--radius) !important;
  }
}

/* =====================
   RESPONSIVE — MOBILE
   ===================== */
@media (max-width: 768px) {
  .section-padding    { padding: 3.5rem 0; }
  .section-padding-sm { padding: 2.5rem 0; }

  /* Hero */
  .hero-section  { min-height: 90vh; }
  .hero-title    { font-size: clamp(1.8rem, 7vw, 2.5rem) !important; }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-actions  { flex-direction: column; gap: 0.75rem; }
  .hero-actions .btn-volpi { justify-content: center; width: 100%; }
  .hero-scroll-indicator { display: none; }

  /* Filtros */
  .filter-bar { gap: 0.35rem; }
  .filter-btn  { padding: 0.4rem 0.85rem; font-size: 0.72rem; }

  /* Galeria */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }

  /* Projeto detalhe */
  .project-detail-hero { max-height: 260px; }
  .project-info-card   { position: static !important; margin-top: 1.5rem; }

  /* Page header */
  .page-header    { padding: 5.5rem 0 2rem; }
  .page-header h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); }

  /* Footer */
  .footer-volpi { padding: 2.5rem 0 0; }
  .footer-desc  { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.4rem; }
  .footer-brand img { height: 100px !important; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 1rem; right: 1rem; width: 48px; height: 48px; font-size: 1.3rem; }

  /* Stats */
  .stat-item { padding: 0.75rem 0.5rem; }
  .stat-number { font-size: clamp(1.6rem, 5vw, 2.2rem); }
}

/* =====================
   RESPONSIVE — SMALL
   ===================== */
@media (max-width: 480px) {
  .navbar-volpi .navbar-brand img {
    height: 56px !important;
    max-height: 56px;
    margin-top: -6px;
    margin-bottom: -6px;
  }

  .section-title  { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .hero-title     { font-size: 1.7rem !important; }
  .footer-brand img { height: 85px !important; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .btn-volpi { padding: 0.75rem 1.25rem; font-size: 0.8rem; }
}

/* ============================================================
   CONTENÇÃO GLOBAL — evita overflow em qualquer proporção
   ============================================================ */
.hero-section,
.stats-strip,
.footer-volpi,
.page-header,
section {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100%;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

/* Hero bg absoluto não pode vazar */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Correção do navbar mobile — sem overflow */
@media (max-width: 991px) {
  .navbar-volpi { overflow: visible; }
  .navbar-volpi .navbar-brand img {
    height: clamp(44px, 12vw, 90px) !important;
    max-height: clamp(44px, 12vw, 90px);
    max-width: clamp(120px, 35vw, 200px);
    margin-top: clamp(-6px, -1vw, -12px);
    margin-bottom: clamp(-6px, -1vw, -12px);
  }
  .navbar-volpi .navbar-collapse {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* Força 100% de largura em tudo */
  .row { margin-left: 0 !important; margin-right: 0 !important; }
  .row > * { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }

  /* Hero mobile */
  .hero-section { width: 100vw; }
  .hero-content { max-width: 100%; }
  .hero-actions { width: 100%; }
  .hero-actions .btn-volpi { width: 100%; max-width: 100%; }

  /* Galeria 2 colunas máximo */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  /* Cards projeto full width */
  .project-card { width: 100%; }

  /* Stats 2x2 */
  .stats-strip .col-6 { width: 50%; }

  /* Detalhe do projeto: info card abaixo */
  .project-info-card {
    position: static !important;
    margin-top: 1.5rem;
    width: 100%;
  }

  /* Contato: coluna única */
  .vform .col-md-6 { width: 100%; }

  /* Sobre, serviços: full width */
  .diferencial-item { flex-direction: row; }
}

@media (max-width: 480px) {
  .navbar-volpi .navbar-brand img {
    height: 44px !important;
    max-height: 44px;
    margin-top: -4px;
    margin-bottom: -4px;
    max-width: 120px;
  }

  .section-padding { padding: 2.5rem 0; }

  .stat-number { font-size: 1.6rem; }
  .stat-label  { font-size: 0.7rem; }

  .filter-btn { padding: 0.35rem 0.7rem; font-size: 0.7rem; }

  /* Footer logo menor */
  .footer-brand img { height: 80px !important; }

  /* Botões menores */
  .btn-volpi {
    padding: 0.7rem 1rem;
    font-size: 0.78rem;
  }

  .whatsapp-float {
    width: 44px; height: 44px;
    font-size: 1.2rem;
    bottom: 0.75rem; right: 0.75rem;
  }
}

/* =====================
   CORREÇÕES MOBILE — SOBRE
   ===================== */
@media (max-width: 991px) {
  /* Badge de "15+ anos" fica dentro da tela em mobile */
  .sobre-exp-badge {
    right: 0 !important;
    bottom: -1rem !important;
    padding: 1rem 1.25rem !important;
    font-size: 1.1rem !important;
  }
}

@media (max-width: 768px) {
  /* Garante margem inferior na coluna da imagem (badge desce) */
  .col-lg-6:has(.sobre-exp-badge) {
    margin-bottom: 1.5rem;
  }
}

/* =====================
   CARROSSEL DE PROJETO
   ===================== */
.projeto-carousel-img {
  height: 480px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .projeto-carousel-img {
    height: 260px;
  }
}

#projetoCarousel .carousel-control-prev,
#projetoCarousel .carousel-control-next {
  width: 10%;
  opacity: 0.8;
}

#projetoCarousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  opacity: 0.5;
  background-color: #fff;
}

#projetoCarousel .carousel-indicators .active {
  opacity: 1;
  background-color: var(--color-secondary, #c8a96e);
}

/* (Botão flutuante de "dúvida rápida" removido — agora há apenas a bolinha do WhatsApp, à direita) */

/* ── Linha detalhe ──────────────────────────────────── */
.page-header-img {
  position: relative;
}
.page-header-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 0;
}
.page-header-img .container {
  position: relative;
  z-index: 1;
}

.linha-item-card {
  background: var(--color-card-bg, #fff);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.linha-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.linha-item-img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: zoom-in;
  padding: 0;
  border: none;
  background: none;
}
.linha-item-img:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.linha-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.linha-item-card:hover .linha-item-img img {
  transform: scale(1.05);
}
/* Selo de "ampliar" no hover — sinaliza que a foto é clicável */
.linha-item-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,12,0);
  opacity: 0;
  transition: opacity .35s ease, background-color .35s ease;
}
.linha-item-zoom i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,0.45);
  color: var(--color-white);
  font-size: 1.5rem;
  transform: scale(.6);
  transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.linha-item-img:hover .linha-item-zoom,
.linha-item-img:focus-visible .linha-item-zoom {
  opacity: 1;
  background: rgba(10,10,12,0.32);
}
.linha-item-img:hover .linha-item-zoom i,
.linha-item-img:focus-visible .linha-item-zoom i {
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .linha-item-img img,
  .linha-item-zoom,
  .linha-item-zoom i { transition: none; }
}
.linha-item-img-empty {
  background: var(--color-surface-alt, #f5f5f5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-border, #ddd);
}
.linha-item-body {
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
}
.linha-item-titulo {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}
.linha-item-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted, #666);
  margin: 0;
}

/* =====================
   CATÁLOGO (linha) — folheador PDF.js
===================== */
.btn-volpi-teal {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}
.btn-volpi-teal:hover {
  background: var(--color-teal-light);
  border-color: var(--color-teal-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.catalogo-block { margin-bottom: 2.5rem; }
.catalogo-block:last-child { margin-bottom: 0; }

.catalogo-card {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

/* Capa: placeholder com ícone; recebe a página 1 do PDF quando renderiza */
.catalogo-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f5f6, #e6eced);
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}
.catalogo-cover [data-cover-icon] {
  font-size: 3.4rem;
  color: var(--color-teal);
  opacity: 0.55;
}
.catalogo-cover canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s ease;
}
.catalogo-cover.has-cover canvas { opacity: 1; }
.catalogo-cover.has-cover [data-cover-icon] { display: none; }

.catalogo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-teal);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.catalogo-titulo {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}
.catalogo-desc {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  max-width: 48ch;
}
.catalogo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Folheador — carrossel de páginas (PDF.js → canvas, scroll-snap) */
.folheador {
  margin-top: 1.75rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
}
.folheador.is-open { opacity: 1; transform: none; }
.cf-frame { position: relative; }
.cf-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #2a2a2a;
  min-height: 320px;
}
.cf-track::-webkit-scrollbar { display: none; }
.cf-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  margin: 0;
}
.cf-slide canvas {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}
.cf-loading {
  flex: 1 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 320px;
  color: #cfcfcf;
  font-size: 0.9rem;
}
.cf-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(0,0,0,0.55);
  color: var(--color-white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, opacity .25s ease;
}
.cf-nav:hover { background: var(--color-teal); }
.cf-nav:disabled { opacity: 0; pointer-events: none; }
.cf-prev { left: 0.75rem; }
.cf-next { right: 0.75rem; }
.cf-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.9rem;
}
.cf-counter {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}
.cf-fullscreen {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--color-teal);
  font-weight: 600;
}
.cf-fullscreen:hover { color: var(--color-teal-light); }

@media (max-width: 768px) {
  .catalogo-card { grid-template-columns: 1fr; }
  .catalogo-cover { max-width: 260px; margin: 0 auto; }
  .catalogo-actions .btn-volpi { flex: 1 1 auto; justify-content: center; }
  .cf-slide { padding: 0.75rem; }
  .cf-nav { width: 40px; height: 40px; font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .folheador { transition: none; }
  .cf-track { scroll-behavior: auto; }
  .catalogo-cover canvas { transition: none; }
  .btn-volpi-teal:hover { transform: none; }
}

/* =====================
   MAPA (embed do endereço)
===================== */
.mapa-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  background: #e8eaed;
  min-height: 320px;
}
.mapa-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}
.mapa-embed-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-teal);
  color: var(--color-white);
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px rgba(0,0,0,0.28);
  transition: var(--transition);
}
.mapa-embed-btn:hover {
  background: var(--color-teal-light);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Mini-mapa no rodapé (preview clicável) */
.footer-mapa {
  position: relative;
  display: block;
  margin-top: 1rem;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.footer-mapa iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: grayscale(0.15);
}
.footer-mapa::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,118,138,0);
  transition: background .25s ease;
}
.footer-mapa:hover::after { background: rgba(0,118,138,0.14); }
.footer-mapa-tag {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  transition: background .25s ease;
}
.footer-mapa-tag i { color: #fff; }
.footer-mapa:hover .footer-mapa-tag { background: var(--color-teal); }

@media (max-width: 768px) {
  .mapa-embed, .mapa-embed iframe { min-height: 260px; }
}
