:root {
  --bg: #ffffff;
  --bg-soft: #fcfcfc;
  --paper: #ffffff;
  --text: #1a1a1a;
  --text-dark: #000000;
  --muted: #666666;
  --accent: #8e735b;
  --accent-soft: #b5a491;
  --border: #eeeeee;
  --border-warm: #e5e5e5;
  --surface: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { 
  margin: 0; padding: 0; 
  scroll-behavior: smooth;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.noise {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0.03; z-index: 99999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.container { width: min(1300px, calc(100% - 4rem)); margin-inline: auto; position: relative; z-index: 2; }

/* ── NAV ──────────────────────────────────── */

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 2rem; background: #ffffff;
  width: 100%; position: fixed;
  top: 0; left: 0; z-index: 999999 !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.nav .brand { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.15em; text-decoration: none; color: #000 !important; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { text-decoration: none; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #000 !important; transition: opacity 0.2s; }

.nav-cta { border: 1px solid currentColor; padding: 0.6rem 1.5rem; margin-left: 1rem; color: inherit !important; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.7rem; }
.lang-selector { display: flex; gap: 0.5rem; font-size: 0.65rem; font-weight: 700; }
.lang-selector button { background: none; border: none; color: inherit; cursor: pointer; padding: 0; font-family: inherit; font-weight: inherit; }
.lang-selector button.active { text-decoration: underline; text-underline-offset: 4px; }

/* ── MOBILE MENU (HAMBURGER) ──────────────── */

.menu-toggle {
  display: none;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 100000;
  color: #000 !important;
  outline: none;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: 0.3s;
}

@media (max-width: 960px) {
  .menu-toggle { display: block !important; }
  
  .nav-links {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: #ffffff !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 95000;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a {
    color: #000 !important;
    font-size: 1.8rem !important;
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    text-transform: lowercase;
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 1rem 0;
  }

  .menu-toggle.open span { background: #000 !important; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── HERO ─────────────────────────────────── */

.hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; overflow: hidden; text-align: center; background: #000; }
.hero-visual { position: absolute; inset: 0; z-index: 1; }
.hero-visual img { 
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: center center; /* Padrão centrado */
  opacity: 0; 
  transition: 2.5s ease-in-out; 
}

.hero-visual img.pos-top {
  object-position: center 15%; /* Focar nas cabeças das fotos marcadas */
}

@media (max-width: 768px) {
  .hero-visual img.pos-top {
    object-position: center 10%; /* Ajuste ainda mais radical para cima no telemóvel */
  }
}
.hero-visual img.active { opacity: 1; }
.hero-visual::after { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: rgba(0, 0, 0, 0.45); /* Escurece as fotos para ler o texto */
  z-index: 2; 
}
.hero-content { position: relative; z-index: 10; color: #fff; }
.hero-content .eyebrow { font-size: 0.85rem; color: #fff !important; opacity: 0.9; margin-bottom: 1rem; }
.hero-content .lead-hero { 
  color: #fff !important; 
  opacity: 0.9; 
  font-size: 1.1rem; 
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}
.hero h1 { font-size: clamp(3.5rem, 10vw, 6rem); line-height: 0.95; margin: 1rem 0 2rem; text-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.hero h1 em { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 400; display: block; }

.hero-content .btn-ghost { border: 1px solid rgba(255,255,255,0.6); color: #fff !important; background: transparent; }
.hero-content .btn-ghost:hover { background: #fff; color: #000 !important; }

.hero-dots {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  gap: 1rem;
  z-index: 20;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: 0.3s;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.4);
}

/* ── SECTIONS ─────────────────────────────── */

main { padding-top: 100px; }
.home-page main { padding-top: 0; }
.section { padding: 10rem 0; position: relative; z-index: 1; }
.section-head { text-align: center; margin-bottom: 6rem; }
.section-head h2 { font-family: "Cormorant Garamond", serif; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 400; margin-top: 1rem; }
.eyebrow { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); font-weight: 700; margin-bottom: 1.5rem; display: block; }

/* ── SOBRE (EDITORIAL) ────────────────────── */

.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: start; }
.editorial-image { position: relative; box-shadow: var(--shadow-lg); }
.editorial-image img { width: 100%; height: auto; display: block; }

.editorial-copy h2 { 
  font-weight: 700; margin-top: 0; font-size: 1.8rem; white-space: nowrap; 
  font-family: "Manrope", sans-serif; margin-bottom: 2rem;
}

.stats-minimal { display: flex; gap: 4rem; margin-top: 4rem; border-top: 1px solid var(--border); padding-top: 3rem; }
.stats-minimal .value { font-family: "Cormorant Garamond", serif; font-size: 3rem; font-weight: 400; color: var(--text-dark); }
.stats-minimal .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-top: 0.5rem; display: block; }

/* ── AWARDS ──────────────────────────────── */

.awards-section { margin-top: 8rem; padding-top: 5rem; border-top: 1px solid var(--border); text-align: center; }
.awards-row { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; margin-top: 3rem; }
.award-official img { max-width: 120px; transition: transform 0.3s; }
.award-official:hover img { transform: translateY(-5px); }

/* ── GALERIA (GRELHA FIXA UNIFORME) ───────── */

.albums-list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem 2rem; margin-top: 4rem; width: 100%; }
.album-card { text-align: left; cursor: pointer; background: none; border: none; padding: 0; min-width: 0; overflow: hidden; display: flex; flex-direction: column; }
.album-cover { position: relative; width: 100%; aspect-ratio: 4/5; overflow: hidden; margin-bottom: 1.5rem; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: 1.2s cubic-bezier(0.19, 1, 0.22, 1); }
.album-card:hover img { transform: scale(1.05); }

.album-info h3 { 
  font-family: "Cormorant Garamond", serif; font-size: 1.15rem; font-weight: 500; 
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; text-align: left;
}

.album-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s ease;
}
.album-card:hover .album-overlay { opacity: 1; }
.album-overlay span { color: #fff; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.7rem; font-weight: 600; border: 1px solid #fff; padding: 0.8rem 1.5rem; }

.album-view { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important; gap: 1.5rem !important; margin-top: 4rem !important; }
.gallery-item { position: relative !important; aspect-ratio: 1 / 1 !important; overflow: hidden; background: var(--bg-soft) !important; cursor: zoom-in !important; border: none !important; padding: 0 !important; }
.gallery-item img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: 1s cubic-bezier(0.19, 1, 0.22, 1) !important; }
.gallery-item:hover img { transform: scale(1.1) !important; }

/* ── VIDEOS ──────────────────────────────── */

.videos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.video-item { display: flex; flex-direction: column; }
.video-container { position: relative; aspect-ratio: 16/9; overflow: hidden; cursor: pointer; background: #eee; }
.video-container img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.video-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.1); transition: 0.4s; }
.play-icon { width: 60px; height: 60px; border: 1px solid #fff; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: 0.4s; }
.video-container:hover img { transform: scale(1.05); }
.video-container:hover .video-overlay { background: rgba(0,0,0,0.2); }

/* ── PACOTES ─────────────────────────────── */

.packs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pack-sale-card { border-top: 1px solid var(--border); padding: 3rem 0; display: flex; flex-direction: column; transition: 0.3s; }
.pack-sale-card:hover { border-top-color: var(--text-dark); }
.pack-sale-tag { 
  font-family: "Cormorant Garamond", serif; 
  font-size: 3rem; 
  font-style: italic; 
  color: var(--text-dark); 
  margin-bottom: 0.5rem; 
  text-transform: none; 
  letter-spacing: normal; 
}
.pack-sale-card h3 { 
  font-family: "Manrope", sans-serif; 
  font-size: 0.9rem; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
  color: var(--muted); 
  margin-bottom: 2rem; 
}
.pack-sale-card ul { list-style: none; padding: 0; margin: 0; flex: 1; display: grid; gap: 1rem; color: var(--muted); font-size: 0.95rem; }
.pack-sale-card li::before { content: "—"; margin-right: 0.8rem; opacity: 0.5; }

/* ── RESERVA & FORMULÁRIO ─────────────────── */

.reserva-layout { display: grid; grid-template-columns: 1fr 350px; gap: 6rem; align-items: start; }
.pack-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 4rem; }
.pack-option { background: var(--bg-soft); border: 1px solid var(--border); padding: 2.5rem; cursor: pointer; transition: 0.4s; position: relative; overflow: hidden; text-align: left; }
.pack-option.selected { border-color: #000; background: #000; color: #fff; box-shadow: var(--shadow-lg); }
.pack-option.selected * { color: #fff !important; }

.pack-option-tag {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-style: italic;
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.5rem;
  text-transform: none;
  letter-spacing: normal;
}

.pack-option h3 { 
  font-family: "Manrope", sans-serif; 
  font-size: 0.75rem; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
  color: var(--muted); 
  margin-bottom: 1rem;
}
.pack-option * { pointer-events: none; }

.inquiry-form label { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.5rem; }
.inquiry-form label span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--text-dark); }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { padding: 1.2rem 0; border: none; border-bottom: 1px solid var(--border-warm); background: transparent; font-family: inherit; font-size: 1rem; transition: 0.3s; width: 100%; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { outline: none; border-color: #000; }

.form-aside { position: sticky; top: 8rem; }
.aside-logo-container { padding: 2rem 0; display: flex; justify-content: center; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.aside-logo { max-width: 220px; height: auto; border-radius: 4px; }

.aside-social-v4 { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.social-v4-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem;
  text-decoration: none; background: #ffffff; border: 1px solid #d4af37;
  padding: 1.2rem 1.5rem; transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.05);
}
.social-v4-tag { font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.15em; color: #bd7b3d; font-weight: 800; }
.social-v4-handle { font-family: "Cormorant Garamond", serif; font-size: 1.1rem; color: #1a1a1a; font-style: italic; display: flex; align-items: center; gap: 0.8rem; }
.social-icon { flex-shrink: 0; transition: transform 0.3s ease; }
.icon-instagram { color: #E4405F; }
.icon-facebook { color: #1877F2; }
.icon-casamentos { color: #fa5d5d; }
.icon-services { color: #bd7b3d; }

.social-v4-card:hover { background: #fbf8f3; border-color: #bd7b3d; transform: translateX(10px); box-shadow: 0 10px 20px rgba(189, 123, 61, 0.1); }
.social-v4-card:hover .social-icon { transform: scale(1.2); }

.trust-block { margin-bottom: 4rem; }
.trust-block h3 { font-family: "Cormorant Garamond", serif; font-size: 1.8rem; font-weight: 400; margin-bottom: 2rem; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.trust-list li { font-size: 0.9rem; color: var(--muted); position: relative; padding-left: 1.5rem; }
.trust-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }

/* ── CONTACT PAGE ────────────────────────── */

.contact-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding-top: 120px;
  background: #fff;
}
.contact-container {
  width: min(900px, 90%);
  margin: 0 auto;
  padding-bottom: 8rem;
}
.contact-content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.9;
  margin-bottom: 5rem;
  text-align: center;
}
.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 6rem;
  text-align: center;
}
.detail-group h3 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.detail-group a, .detail-group p {
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  display: block;
  transition: opacity 0.3s;
  margin-top: 0.5rem;
}
.detail-group a:hover { opacity: 0.6; }

.simple-form {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding-top: 5rem;
  max-width: 700px;
  margin-inline: auto;
}
.simple-form h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 3rem;
  text-align: center;
}

/* ── PACK DETAILS (PREMIUM BOOST) ─────────── */

.pack-page { padding-bottom: 10rem; }

.pack-hero { 
  text-align: center; 
  padding: 6rem 0 8rem; 
  border-bottom: 1px solid var(--border);
  margin-bottom: 6rem;
}

.pack-hero h1 { 
  font-family: "Cormorant Garamond", serif; 
  font-size: clamp(4rem, 10vw, 8rem); 
  font-weight: 400; 
  line-height: 0.8;
  margin: 1.5rem 0;
}

.pack-hero .lead {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.2rem;
  color: var(--muted);
}

.pack-detail-grid { 
  display: grid; 
  grid-template-columns: 1.2fr 0.8fr; 
  gap: 8rem; 
  align-items: start;
}

.pack-detail-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 1rem;
  display: inline-block;
}

.pack-detail-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2rem;
}

.pack-detail-card li {
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  line-height: 1.5;
}

.pack-detail-card li::before {
  content: "—";
  color: var(--accent);
  font-weight: 700;
}

.pack-aside-info {
  background: var(--bg-soft);
  padding: 4rem;
  border: 1px solid var(--border);
  position: sticky;
  top: 120px;
}

.pack-aside-info p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 3rem;
}

.pack-cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pack-cta .btn {
  width: 100%;
  padding: 1.5rem;
}

@media (max-width: 960px) {
  .pack-detail-grid { grid-template-columns: 1fr; gap: 4rem; }
  .pack-aside-info { position: static; padding: 2.5rem; }
  .pack-hero { padding: 4rem 0; }
}

.footer { border-top: 1px solid var(--border); padding: 6rem 0; margin-top: 8rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 3rem; }
.footer-links a { text-decoration: none; color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-copy { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }

.instagram-footer-cta { padding: 4rem 0; text-align: center; border-top: 1px solid var(--border); background: #fff; position: relative; z-index: 1; }
.instagram-footer-cta h2 { font-family: "Cormorant Garamond", serif; font-size: 2.2rem; font-style: italic; margin-bottom: 1.5rem; color: var(--text-dark); }
.instagram-footer-cta p { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-bottom: 2rem; }
.insta-pill { display: inline-flex; align-items: center; gap: 0.8rem; padding: 1rem 2.5rem; border: 1px solid #000; text-decoration: none; color: #000; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; transition: 0.3s; }
.insta-pill:hover { background: #000; color: #fff; transform: translateY(-5px); }
.insta-pill svg { width: 18px; height: 18px; fill: currentColor; }

/* ── RESPONSIVE ──────────────────────────── */

@media (max-width: 960px) {
  .section { padding: 6rem 0; }
  .editorial-grid, .packs-grid, .videos-grid, .albums-list, .reserva-layout, .pack-selector { grid-template-columns: 1fr !important; gap: 4rem; text-align: center; }
  .editorial-image { max-width: 85%; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer-inner { flex-direction: column; gap: 4rem; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; width: 100%; justify-items: center; }
  
  .editorial-copy h2 { white-space: normal !important; font-size: 1.6rem !important; line-height: 1.3; padding: 0 1rem; }
  .contact-content h1 { font-size: 2.2rem !important; line-height: 1.1; }
  .nav { padding: 1rem 1.5rem !important; }
  .internal-page main { padding-top: 100px !important; }
}

/* ── UTILS ───────────────────────────────── */

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1.2rem 2.5rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; border: 1px solid transparent; transition: 0.3s; cursor: pointer; text-decoration: none; font-family: inherit; }
.btn-primary { background: #000; color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { border-color: #000; color: #000; background: transparent; }
.btn-ghost:hover { background: #000; color: #fff; }

.fade-in { opacity: 0; transform: translateY(30px); transition: 1.2s cubic-bezier(0.19, 1, 0.22, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; width: 60px; height: 60px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 80000; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: 0.3s; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }

.floating-back-btn { position: fixed; left: 2rem; top: 6rem; z-index: 1000000; background: #fff; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.1); cursor: pointer; opacity: 0; pointer-events: none; transition: 0.4s; }
.floating-back-btn.visible { opacity: 1; pointer-events: auto; }

/* ── LIGHTBOX ────────────────────────────── */

.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000000; opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img, .lightbox video { max-width: 90vw; max-height: 85vh; object-fit: contain; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 2rem; right: 2rem;
  background: none; border: none; color: #fff;
  font-size: 3rem; cursor: pointer; line-height: 1;
  padding: 1rem; transition: transform 0.3s;
}
.lightbox-close:hover { transform: scale(1.1); }

/* Esconder elementos de navegação de imagem quando um vídeo está aberto */
.lightbox.video-mode .lightbox-nav,
.lightbox.video-mode .lightbox-counter,
.lightbox.video-mode .lightbox-content {
  display: none !important;
}

/* ── MODAL (COMPARE) ─────────────────────── */

.modal {
  position: fixed; inset: 0; background: rgba(255,255,255,0.98);
  z-index: 2000000; display: flex; align-items: flex-start; justify-content: center;
  opacity: 0; pointer-events: none; transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  backdrop-filter: blur(20px);
  overflow-y: auto;
  padding: 4rem 0;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-content { width: min(1400px, 95%); margin: auto; position: relative; }
.modal-close {
  position: fixed; top: 2rem; right: 2rem;
  background: #000; color: #fff; border: none;
  width: 50px; height: 50px; border-radius: 50%;
  cursor: pointer; font-size: 1.5rem; display: flex;
  align-items: center; justify-content: center;
  z-index: 200001;
}

.compare-container h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  text-align: center;
  margin-bottom: 4rem;
  font-weight: 400;
}

.compare-table-wrapper {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare-table th, .compare-table td {
  padding: 2rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: 0.95rem;
}

.compare-table th {
  background: var(--bg-soft);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-dark);
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--muted);
  width: 300px;
  background: var(--bg-soft);
}

.compare-table tr:hover td {
  background: #fdfdfd;
}

.compare-table td {
  color: var(--text);
  line-height: 1.4;
}

@media (max-width: 960px) {
  .compare-table td:first-child { width: 150px; padding: 1rem; font-size: 0.65rem; }
  .compare-table th, .compare-table td { padding: 1rem; font-size: 0.8rem; }
  .compare-table th { font-size: 1.2rem; }
}

/* ── TESTEMUNHOS (GRELHA MODERNA) ─────────── */

.testimonials-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
  gap: 2.5rem; 
  margin-top: 4rem; 
}

.testimonial-card { 
  background: var(--bg-soft); 
  padding: 3rem; 
  border: 1px solid var(--border); 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between;
  text-align: left;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent-soft);
}

.testimonial-stars { 
  font-size: 0.7rem; 
  letter-spacing: 0.2em; 
  color: #bd7b3d; 
  margin-bottom: 1.5rem; 
}

.testimonial-text { 
  font-family: "Manrope", sans-serif; 
  font-size: 1rem; 
  line-height: 1.7; 
  color: var(--text); 
  margin-bottom: 2rem; 
  position: relative; 
  font-style: normal;
}

.testimonial-text::before { 
  content: "“"; 
  position: absolute; 
  top: -1.5rem; 
  left: -0.5rem; 
  font-size: 4rem; 
  opacity: 0.1; 
  font-family: "Cormorant Garamond", serif; 
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.testimonial-author strong { 
  display: block; 
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
  font-size: 0.8rem; 
  font-weight: 700; 
  color: var(--text-dark); 
}

.testimonial-author span { 
  font-size: 0.7rem; 
  color: var(--muted); 
  display: block;
  margin-top: 0.3rem;
}

.testimonials-footer {
  margin-top: 6rem;
  text-align: center;
}

.cta-link-pill {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: 0.3s;
}

.cta-link-pill:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* Estilos para o Mosaico Artístico (Highlights) */
.highlights-masonry {
  columns: 3;
  column-gap: 1.5rem;
  width: 100%;
}

.highlights-item {
  display: block;
  margin-bottom: 1.5rem;
  break-inside: avoid;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease;
}

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

.highlights-item:hover {
  transform: translateY(-5px);
}

.highlights-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .highlights-masonry {
    columns: 2;
  }
}

@media (max-width: 600px) {
  .highlights-masonry {
    columns: 1;
  }
}
