/* =============================================
   RAFAELLA OLIVER FOTOGRAFIA — STYLESHEET
   Tema: Claro / Feminino / Elegante
   ============================================= */

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

:root {
  /* === LIGHT THEME === */
  --bg:         #FBF8F5;
  --bg2:        #F4EEE6;
  --bg3:        #EAE0D5;

  /* === DARK (só hero & acentos) === */
  --dark:       #0D0D0D;
  --dark2:      #1C1814;

  /* === CASAMENTO === */
  --bg-wedding: #F0E6DC;
  --rose:       #B8938A;

  /* === OURO (mantém a identidade) === */
  --gold:       #C9A96E;
  --gold-light: #DFC08A;
  --gold-dark:  #A8844A;

  /* === TEXTO === */
  --text:       #2A1F18;
  --text-muted: #7A6E68;
  --text-on-dark: #F5F0EA;

  /* === BORDAS === */
  --border:     rgba(201, 169, 110, 0.22);
  --border-dark: rgba(201, 169, 110, 0.15);

  /* === FONTES === */
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-cormorant:'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Inter', system-ui, sans-serif;

  --nav-h: 80px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Scroll bar ---------- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* =============================================
   TYPOGRAPHY HELPERS
   ============================================= */
.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

.section-title em {
  font-style: italic;
  color: var(--gold-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-cta {
  display: inline-block;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

/* Navbar on light sections */
.navbar.on-light .btn-cta {
  background: transparent;
  color: #fff;
  border: 1px solid var(--gold);
  padding: 6px 20px;
  font-size: 11px;
}
.navbar.on-light .btn-cta:hover {
  background: rgba(201, 169, 110, 0.2);
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--gold-dark);
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition);
  margin-top: 40px;
}
.btn-outline:hover {
  background: var(--gold-dark);
  color: #fff;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(150, 150, 150, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  margin-top: 32px;
}
.btn-hero:hover {
  background: rgba(150, 150, 150, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-hero .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.btn-hero:hover .arrow {
  transform: translateY(3px);
}

/* =============================================
   NAVBAR (Floating Pill)
   ============================================= */
.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  width: max-content;
  max-width: 1100px;
  height: 64px;
  border-radius: 50px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 24px;
  
  /* Initial hidden state */
  transform: translate(-50%, -150%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, background 0.3s;
}

/* Base text colors (will be shown only when floating) */
.navbar .logo-name { color: var(--text); }
.navbar .logo-sub  { color: var(--gold-dark); }
.navbar .nav-link  { color: rgba(42, 31, 24, 0.7); }
.navbar .hamburger span { background: var(--text); }

/* After hero (over light sections) - Dark Pill Aesthetic */
.navbar.on-light {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
  background: rgba(81, 75, 67, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.on-light .logo-name { color: #fff; }
.navbar.on-light .logo-sub  { color: var(--gold-light); }
.navbar.on-light .nav-link  { 
  color: rgba(255, 255, 255, 0.85); 
  padding: 6px 14px;
  font-size: 11px;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.navbar.on-light .nav-link:hover,
.navbar.on-light .nav-link.active { 
  color: #fff; 
  background: rgba(255, 255, 255, 0.15);
}
.navbar.on-light .hamburger span { background: #fff; }
.navbar.on-light .nav-link::after { display: none; }

.nav-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.logo-sub {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 2px;
  transition: color var(--transition);
}

.nav-links {
  display: flex;
  gap: 16px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================
   HERO  (único dark)
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap video {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(180,120,60,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 70%, rgba(100,60,20,0.12) 0%, transparent 50%),
    linear-gradient(135deg, #0D0D0D 0%, #1C1410 40%, #0D0D0D 100%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.05) 40%,
    rgba(0,0,0,0.5) 80%,
    rgba(13,13,13,1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 0 20px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-on-dark);
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
  margin-bottom: 8px;
}
.hero-title em { font-style: normal; color: var(--gold-light); }

.hero-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 234, 0.8);
  margin-top: 4px;
}

/* Scroll line */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* =============================================
   SOBRE
   ============================================= */
.sobre {
  padding: 60px 0;
  background: var(--bg);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 380px 480px;
  justify-content: center;
  gap: 80px;
  align-items: center;
}

.sobre-image-wrap { position: relative; }

.sobre-image-frame {
  position: relative;
  width: 100%;
  border-radius: 12px;
  background: var(--bg3);
}

.sobre-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
}

/* Decorative border */
.sobre-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  z-index: 2;
  pointer-events: none;
}
.sobre-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--border);
  border-radius: 12px;
  z-index: -1;
}

.sobre-badge {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  background: rgba(251, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 169, 110, 0.8);
  border-radius: 50px;
  padding: 14px 28px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 4;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.sobre-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.9;
  margin-top: 20px;
}

.sobre-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat { text-align: left; }
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* =============================================
   CASAMENTO — Seção Especial
   ============================================= */
.casamento {
  background: var(--bg-wedding);
  padding-top: 60px;
  padding-bottom: 60px;
  overflow: hidden;
}

.casamento-header {
  text-align: center;
  padding-bottom: 64px;
}



.casamento-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--gold-dark);
  margin-bottom: 24px;
}
.casamento-title em {
  font-style: italic;
  color: var(--gold-dark);
}

.casamento-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-muted);
}

/* Grid mosaico */
.casamento-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 5px;
  margin-bottom: 0;
  grid-auto-flow: dense;
}
.casamento-gallery .c-item.reveal:nth-child(2n) { transition-delay: 0.1s; }
.casamento-gallery .c-item.reveal:nth-child(3n) { transition-delay: 0.2s; }
.casamento-gallery .c-item.reveal:nth-child(4n) { transition-delay: 0.3s; }
.casamento-gallery .c-item.reveal:nth-child(5n) { transition-delay: 0.4s; }
.casamento-gallery .c-item.reveal:nth-child(6n) { transition-delay: 0.15s; }
.casamento-gallery .c-item.reveal:nth-child(7n) { transition-delay: 0.25s; }

.c-item {
  overflow: hidden;
  background: var(--bg3);
}
.c-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.c-item:hover img { transform: scale(1.06); }

.c-tall { grid-row: span 2; }
.c-wide { grid-column: span 2; }

/* CTA area */
.casamento-cta-wrap {
  text-align: center;
  padding-top: 72px;
}

.casamento-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}
.casamento-quote p {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
}
.casamento-quote-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--border);
}

.btn-casamento {
  display: inline-block;
  background: var(--gold-dark);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 44px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
}
.btn-casamento:hover {
  background: var(--text);
  transform: translateY(-2px);
}

/* =============================================
   PORTFOLIO — Carrosseis por Nicho
   ============================================= */
.portfolio {
  background: var(--bg);
}

/* Cada nicho é uma seção */
.nicho-section {
  padding: 60px 0;
  background: var(--bg);
  overflow: hidden;
}
.nicho-section.nicho-alt {
  background: var(--bg2);
}

/* Estrutura lado-a-lado */
.nicho-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.nicho-text-box {
  flex: 0 0 340px;
  position: relative;
  z-index: 10;
}

.nicho-carousel-box {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

/* Modificadores de lado */
.left-text {
  flex-direction: row;
  padding-left: max(40px, 5vw);
}
/* Painel de fundo sutil à esquerda */
.left-text .nicho-text-box::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 460px;
  left: -50vw;
  right: -44px;
  background: #FFFFFF;
  z-index: -1;
}

.right-text {
  flex-direction: row-reverse;
  padding-right: max(40px, 5vw);
}
/* Painel de fundo sutil à direita */
.right-text .nicho-text-box::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 460px;
  right: -50vw;
  left: -44px;
  background: #FFFFFF;
  z-index: -1;
}

.nicho-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin-top: 4px;
}
.nicho-title em { font-style: italic; color: var(--gold-dark); }

.nicho-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 12px;
  max-width: 340px;
}

/* ===== CARROSSEL ===== */
.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  padding-right: 20px;
  padding-bottom: 4px;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; }

.carousel-item {
  flex: 0 0 auto;
  width: 320px;
  height: 460px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--bg3);
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}
.carousel-item:hover img { transform: scale(1.04); }

/* =============================================
   SERVIÇOS
   ============================================= */
.servicos {
  padding: 60px 0;
  background: var(--bg3);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.servico-card {
  background: var(--bg);
  padding: 52px 36px;
  transition: background var(--transition);
  position: relative;
}
.servico-card:hover { background: var(--bg2); }
.servico-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.servico-card:hover::after { transform: scaleX(1); }

.servico-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
}
.servico-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.servico-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.servico-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-decoration: none;
  transition: letter-spacing var(--transition);
}
.servico-link:hover { letter-spacing: 0.2em; }

.contato {
  padding: 60px 0;
  background: var(--bg);
  text-align: center;
}

.contato-wrap { max-width: 600px; margin: 0 auto; }

.contato-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 24px;
  line-height: 1.9;
}

.contato-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 52px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
}
.btn-whatsapp:hover {
  background: #1ebe59;
  transform: translateY(-2px);
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 50px;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.btn-instagram:hover {
  border-color: var(--gold-dark);
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 44px 0;
  background: var(--bg3);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo { text-decoration: none; }
.footer-logo .logo-name { color: var(--text); font-size: 18px; }
.footer-logo .logo-sub  { color: var(--gold-dark); }

.footer-nav { display: flex; gap: 32px; }
.footer-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold-dark); }

.footer-copy {
  font-size: 12px;
  color: rgba(122, 110, 104, 0.5);
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-left  { transform: translateX(-30px); }
.reveal-right { transform: translateX( 30px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Stagger */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 1100px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 560px;
    margin: 0 auto;
  }
  .sobre-image-wrap { max-width: 320px; margin: 0 auto; }

  .servicos-grid { grid-template-columns: repeat(2, 1fr); }

  .casamento-gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
  .c-wide { grid-column: span 2; }

  .nicho-inner {
    flex-direction: column !important;
    padding: 0 !important;
    gap: 32px;
  }
  .nicho-text-box {
    width: 100%;
    padding: 0 40px;
    flex: auto;
  }
  .left-text .nicho-text-box::before,
  .right-text .nicho-text-box::before {
    display: none;
  }

  .nicho-carousel-box { width: 100%; }
  .carousel { padding: 0 40px; }
}

/* Mobile */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .navbar {
    padding: 0 24px;
    height: 64px;
    left: 16px;
    right: 16px;
    width: auto;
    top: 16px;
    justify-content: space-between;
    gap: 0;
    transform: translateY(-150%);
  }
  .navbar.on-light {
    transform: translateY(0);
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    width: 100%;
    border-radius: 20px;
    background: rgba(81, 75, 67, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 20px 0;
    transform: translateY(-110%);
    transition: transform var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    pointer-events: none;
    opacity: 0;
  }
  .nav-links.open { 
    transform: translateY(0); 
    pointer-events: auto;
    opacity: 1;
  }
  .nav-links li { width: 100%; text-align: center; }
  .nav-link {
    display: block;
    padding: 14px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8) !important;
  }
  .nav-link:hover { color: #fff !important; }

  .btn-cta { display: none; }
  .hamburger { display: flex; }
  
  .hero-video-wrap video {
    transform: scale(1.4);
    transform-origin: center;
  }
  
  .hero {
    height: 100vh;
    min-height: 600px;
    aspect-ratio: auto;
  }
  .hero-tag { margin-bottom: 16px; font-size: 11px; letter-spacing: 0.25em; }
  .hero-title { font-size: clamp(5rem, 24vw, 8rem); margin-bottom: 12px; line-height: 1; }
  .hero-name { font-size: 13px !important; margin-bottom: 8px; }
  .btn-hero { margin-top: 32px; padding: 12px 28px; font-size: 11px; }
  .scroll-indicator { display: flex; }

  .sobre, .servicos, .contato { padding: 60px 0; }
  .casamento { padding-top: 60px; }

  .casamento-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .c-tall { grid-row: span 2; }
  .c-wide { grid-column: span 2; }

  .nicho-inner {
    flex-direction: column !important; /* Force stack */
    padding: 0 !important;
    gap: 32px;
  }
  .nicho-text-box {
    width: 100%;
    padding: 0 20px;
    flex: auto;
  }
  .nicho-carousel-box {
    width: 100%;
  }
  .nicho-desc { max-width: 100%; }

  .carousel-item { width: 260px; height: 380px; }
  .carousel { gap: 10px; padding: 0 20px; }

  .servicos-grid { grid-template-columns: 1fr; gap: 1px; }
  .servico-card { padding: 40px 28px; }

  .sobre-stats { flex-wrap: wrap; gap: 28px; }
  .contato-buttons { flex-direction: column; align-items: center; }
  .btn-whatsapp, .btn-instagram { width: 100%; max-width: 320px; justify-content: center; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { flex-wrap: nowrap; justify-content: center; gap: 12px; }
  .footer-nav a { font-size: 10px; }

  .casamento-quote { flex-direction: column; gap: 12px; }
  .casamento-quote-line { max-width: 60px; }

  .br-desktop { display: none; }
}

@media (max-width: 480px) {
  .casamento-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }
  .carousel-item { width: 220px; height: 320px; }
}
