/* ============================================================
   INVENTTARE — Iluminação Premium Page Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --dark-bg: #08090c;
  --dark-surface: #111318;
  --dark-card: #161920;
  --dark-border: rgba(235,187,78,0.12);
  --gold: #EBBB4E;
  --gold-light: #f5d78e;
  --gold-dim: rgba(235,187,78,0.15);
  --blue-accent: #64b5f6;
  --blue-dim: rgba(100,181,246,0.12);
  --text-primary: #ffffff;
  --text-secondary: #a8b2c1;
  --text-muted: #6b7588;
  --glow-gold: 0 0 60px rgba(235,187,78,0.25);
  --glow-blue: 0 0 60px rgba(100,181,246,0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* Controla o contêiner da imagem na seção Sobre */
.about-img-container {
    width: 100%;
    aspect-ratio: 3 / 4; /* Proporção de retrato mais contida. Teste também 1 / 1 (quadrado) ou 4 / 5 */
    overflow: hidden;
    border-radius: 12px;
}

/* Garante que o contêiner esconda qualquer excesso e mantenha o formato */
.gallery-item {
    position: relative;
    overflow: hidden;
    /* Se você quiser manter um padrão de altura para todas as fotos da galeria: */
    height: 800px;
    width: 100%;

}

/* Força a imagem a preencher o espaço sem perder a proporção e sem esticar */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esse é o segredo para a imagem não distorcer */
    display: block;
    transition: transform 0.3s ease; /* Opcional: para um efeito de zoom no hover */
}

/* Opcional: Efeito de hover suave para combinar com o design premium */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Garante que a imagem ou vídeo preencha o contêiner sem distorcer */
.about-img-container img,
.about-img-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz o corte inteligente (crop) da mídia */
    object-position: center; /* Mantém o centro da imagem sempre visível */
}
/* ── Reset & Base ── */
/* Controla o contêiner do vídeo */
.hero-image-wrapper {
    width: 100%;           /* Altere este valor para diminuir a largura, ex: 80% */
    max-width: 600px;      /* Define um limite máximo de largura */
    aspect-ratio: 3 / 4; /* Proporção de retrato mais contida. Teste também 1 / 1 (quadrado) ou 4 / 5 */
    margin: 0 auto;        /* Mantém o vídeo centralizado caso diminua a largura */
    overflow: hidden;      /* Garante que o vídeo não vaze se você usar bordas arredondadas (border-radius) */
}

/* Controla o vídeo em si */
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* Preenche todo o contêiner sem achatar ou distorcer a imagem */
    object-position: center; /* Centraliza o foco do vídeo */
}

body.iluminacao-page {
  margin: 0; padding: 0;
  background: var(--dark-bg);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.iluminacao-page *, body.iluminacao-page *::before, body.iluminacao-page *::after {
  box-sizing: border-box;
}

body.iluminacao-page h1, body.iluminacao-page h2, body.iluminacao-page h3,
body.iluminacao-page h4, body.iluminacao-page h5 {
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
}

body.iluminacao-page p { color: var(--text-secondary); line-height: 1.7; }

body.iluminacao-page .serif { font-family: 'Playfair Display', serif; }

body.iluminacao-page a { text-decoration: none; color: inherit; transition: var(--transition); }

/* ── Ambient Glow Background ── */
.ambient-glow {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 20%, rgba(235,187,78,0.06), transparent),
    radial-gradient(ellipse 500px 500px at 80% 70%, rgba(100,181,246,0.04), transparent);
}

/* ── Navbar Override ── */
body.iluminacao-page #header-sticky {
  background: rgba(8,9,12,0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}

body.iluminacao-page .main-menu a,
body.iluminacao-page #mobile-menu a {
  color: var(--text-secondary) !important;
  font-weight: 500; font-size: 14px;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

body.iluminacao-page .main-menu a:hover,
body.iluminacao-page #mobile-menu a:hover {
  color: var(--gold) !important;
}

body.iluminacao-page .submenu {
  background: var(--dark-surface) !important;
  border: 1px solid var(--dark-border) !important;
  border-radius: var(--radius-sm) !important;
}

body.iluminacao-page .submenu a { color: var(--text-secondary) !important; }
body.iluminacao-page .submenu a:hover { color: var(--gold) !important; }

/* ── Premium Hero ── */
.premium-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 800px 600px at 30% 40%, rgba(235,187,78,0.08), transparent 70%),
    radial-gradient(ellipse 600px 500px at 70% 60%, rgba(100,181,246,0.05), transparent 70%),
    linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
}

.hero-particles {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 8s infinite ease-in-out;
}

.particle:nth-child(1) { left:10%; top:20%; animation-delay:0s; }
.particle:nth-child(2) { left:25%; top:60%; animation-delay:1.5s; }
.particle:nth-child(3) { left:45%; top:30%; animation-delay:3s; }
.particle:nth-child(4) { left:65%; top:70%; animation-delay:0.8s; }
.particle:nth-child(5) { left:80%; top:40%; animation-delay:2.2s; }
.particle:nth-child(6) { left:90%; top:80%; animation-delay:4s; }
.particle:nth-child(7) { left:35%; top:85%; animation-delay:5s; }
.particle:nth-child(8) { left:55%; top:15%; animation-delay:1s; }

@keyframes float-particle {
  0%, 100% { opacity:0; transform: translateY(0) scale(1); }
  20% { opacity:0.8; }
  50% { opacity:0.4; transform: translateY(-80px) scale(1.5); }
  80% { opacity:0.6; }
}

.premium-hero .container { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold-dim);
  border: 1px solid rgba(235,187,78,0.25);
  border-radius: 50px;
  padding: 8px 22px;
  font-size: 13px; font-weight: 600;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge i { font-size: 14px; }

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.15s ease both;
}

.hero-title .gold-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-description {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.45s ease both;
}

.btn-premium {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600; font-size: 15px;
  cursor: pointer; border: none;
  transition: var(--transition);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #d4a13d 100%);
  color: var(--dark-bg);
  box-shadow: 0 4px 25px rgba(235,187,78,0.35);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(235,187,78,0.5);
  color: var(--dark-bg);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* Hero Visual Right Side */
.hero-visual {
  position: relative;
  animation: fadeInRight 1s 0.3s ease both;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--glow-gold);
}

.hero-image-wrapper img {
  width: 100%; display: block;
  border-radius: 24px;
  filter: brightness(1.05) contrast(1.1);
}

.hero-image-wrapper::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(235,187,78,0.15);
  pointer-events: none;
}

.hero-float-card {
  position: absolute;
  background: rgba(22,25,32,0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex; align-items: center; gap: 14px;
  animation: float-card 4s ease-in-out infinite;
}

.hero-float-card.card-1 { bottom: -20px; left: -30px; }
.hero-float-card.card-2 { top: 30px; right: -20px; animation-delay: 2s; }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.float-icon.gold-bg { background: var(--gold-dim); color: var(--gold); }
.float-icon.blue-bg { background: var(--blue-dim); color: var(--blue-accent); }

.float-label { font-size: 12px; color: var(--text-muted); }
.float-value { font-size: 16px; font-weight: 700; }

/* ── Stats Bar ── */
.stats-bar {
  padding: 60px 0;
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.stat-item {
  text-align: center;
  padding: 20px 10px;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Section Styles ── */
.lux-section {
  padding: 100px 0;
  position: relative;
}

.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(235,187,78,0.2);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 12px; font-weight: 600;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

/* ── Service Cards ── */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.lux-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.lux-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue-accent));
  opacity: 0;
  transition: var(--transition);
}

.lux-card:hover {
  border-color: rgba(235,187,78,0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.lux-card:hover::before { opacity: 1; }

.card-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.card-icon.gold { background: var(--gold-dim); color: var(--gold); }
.card-icon.blue { background: var(--blue-dim); color: var(--blue-accent); }

.lux-card:hover .card-icon { transform: scale(1.1); }

.lux-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.lux-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: var(--gold);
  transition: var(--transition);
}

.card-link:hover { gap: 14px; color: var(--gold-light); }

/* ── Process / Timeline ── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.process-step {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  border-color: rgba(235,187,78,0.3);
  transform: translateY(-5px);
}

.step-number {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(235,187,78,0.3), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.process-step h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Gallery Mosaic ── */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,9,12,0.9) 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay h4 { font-size: 18px; font-weight: 700; }
.gallery-overlay span { font-size: 13px; color: var(--gold); margin-top: 4px; }

.gallery-item.span-2 { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

/* ── CTA Premium ── */
.cta-premium {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark-surface) 0%, rgba(235,187,78,0.05) 50%, var(--dark-surface) 100%);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-premium::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235,187,78,0.08), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

.cta-premium .container { position: relative; z-index: 1; }

.cta-premium h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-premium p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ── About Section Dark ── */
.about-dark {
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
}

.about-img-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.about-img-container img {
  width: 100%; display: block;
  border-radius: 20px;
}

.about-detail {
  display: flex; gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--dark-border);
}

.about-detail:last-child { border-bottom: none; }

.detail-icon {
  width: 50px; height: 50px; min-width: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: var(--gold-dim);
  color: var(--gold);
}

.about-detail h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.about-detail p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ── Footer Override ── */
body.iluminacao-page .footer-section {
  background: var(--dark-card) !important;
}

body.iluminacao-page .footer-bottom {
  background: var(--dark-bg) !important;
}

body.iluminacao-page .single-footer-widget p,
body.iluminacao-page .list-items a {
  color: var(--text-muted);
}

body.iluminacao-page .single-footer-widget h4 {
  color: var(--text-primary);
}

/* ── WhatsApp Override ── */
body.iluminacao-page .btn-whatsapp-pulse {
  background: var(--gold) !important;
}

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

@keyframes fadeInRight {
  from { opacity:0; transform: translateX(40px); }
  to { opacity:1; transform: translateX(0); }
}

.animate-on-scroll {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1; transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.span-2 { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; }
  .hero-visual { margin-top: 50px; }
}

@media (max-width: 576px) {
  .service-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .gallery-mosaic { grid-template-columns: 1fr; }
  .premium-hero { padding: 120px 0 60px; }
  .hero-float-card { display: none; }
  .hero-actions { flex-direction: column; }
  .btn-premium { width: 100%; justify-content: center; }
  .stat-item { padding: 15px 5px; }
  .stat-number { font-size: 32px; }
}
