<style>
  /* Import da fonte Playfair Display */
  @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&display=swap');

  .modal-content {
  font-family: 'Playfair Display', serif;
  display: flex;               /* flex container */
  flex-direction: column;      /* padrão mobile = coluna */
  height: 90vh;                /* ocupa 90% da altura da viewport */
  padding: 2rem;
}
@media (min-width: 768px) {
  .modal-content {
    flex-direction: row;       /* desktop em linha */
  }
}

  /* ===== Reset básico ===== */
  *, *::before, *::after {
    box‑sizing: border‑box;
    margin: 0;
    padding: 0;
  }
  html, body {
    margin: 0;
    padding: 0;
  }
  body {
    font-family: ui‑sans‑serif, sans‑serif;
    color: #333;
    background: #fafafa;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  img {
    max-width: 100%;
    display: block;
  }

  /* ===== Hero no topo com logo em background ===== */
  .hero {
    background: url('images/logo.jpg') no-repeat center center;
    background-size: cover;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2rem;
    color: #222;
    position: relative;
    overflow: hidden;
  }
  .hero h1, .hero h2 {
    font-family: 'Playfair Display', serif;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    line-height: 1.1;
  }
  .hero h2 {
    font-size: clamp(1.2rem, 4vw, 2rem);
    margin-top: .5rem;
    opacity: .8;
  }

  /* ===== Header ===== */
  header {
    position: relative;
    text-align: center;
    padding: 3rem 1rem;
    background: #fff;
  }
  .lang-switch {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  .lang-switch a {
    margin: 0 .5rem;
    font-weight: 500;
  }

  /* ===== Gallery ===== */
  #gallery {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
  }
  .set {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform .2s;
  }
  .set:hover {
    transform: translateY(-4px);
  }
  .set img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
  }
  .set .info {
    padding: 1rem;
  }
  .set .info p {
    margin: .5rem 0;
  }

  /* ==== Modal super elegante ==== */
  .modal {
    backdrop-filter: blur(4px);
    background: rgba(0,0,0,0.5);
    display: none;
    position: fixed; inset: 0;
    justify-content: center; align-items: center;
    z-index: 1000;
    transition: opacity .4s ease;
    opacity: 0;
    cursor: pointer;
  }
  .modal.open {
    display: flex;
    opacity: 1;
  }
  .modal-content {
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(8px);
    width: 90%; max-width: 800px; max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
    overflow: hidden;
    padding: 2rem;
    position: relative;
    transform: translateY(-20px);
    transition: transform .4s ease;
    cursor: auto;
    display: flex;
    flex-direction: column;
    height: 90vh;        /* <— ocupa quase toda a altura */
    padding: 2rem;
  }
  .modal.open .modal-content {
    transform: translateY(0);
  }
  .modal-content .close {
    position: absolute; top: 1.2rem; right: 1.2rem;
    font-size: 1.8rem; color: #333;
    cursor: pointer; transition: color .2s;
  }
  .modal-content .close:hover {
    color: #000;
  }

  /* ==== Título e descrição ==== */
  .modal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 1rem;
    color: #222;
  }
  .modal-desc {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .modal-desc::before {
    content: '“';
    position: absolute;
    left: 0.2rem;
    top: -0.2rem;
    font-size: 2rem;
    line-height: 1;
  }
  .modal-desc::after {
    content: '”';
    position: absolute;
    right: 0.2rem;
    bottom: -0.2rem;
    font-size: 2rem;
    line-height: 1;
  }

  /* ==== Estrutura interna ==== */
  .modal-body {
    flex: 1;
    display: flex;
    overflow: hidden;
  }
  @media (min-width: 768px) {
    .modal-body {
      flex-direction: row;
      height: calc(90vh - 4rem);
    }
  }
  @media (max-width: 767px) {
    .modal-body {
      flex-direction: column;
      height: auto;
    }
  }

  /* 1ª coluna: infos */
  .modal-info {
  flex: 1;                     /* metade do espaço */
  overflow-y: auto;            /* scroll apenas aqui, se necessário */
  padding-right: 1.5rem;
}
  .modal-info label {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    color: #444;
  }
  .modal-info select,
  #pay-button {
    font-family: 'Playfair Display', serif;
  }
  .button.disabled { opacity: .4; cursor: not-allowed; }
  .modal-info select {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 8px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
  }
  .modal-info select:focus {
    border-color: #888;
    box-shadow: 0 0 0 3px rgba(136,136,136,0.2);
  }
  .modal-media {
  flex: 1;                     /* metade do espaço */
  position: relative;
  overflow: hidden;            /* sem scroll interno */
}
.modal-media img,
.modal-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* cobre toda a área */
  display: block;
}
@media (max-width: 767px) {
  .modal-content {
    height: auto;              /* deixa crescer conforme conteúdo */
  }
  .modal-media {
    height: 200px;             /* define altura fixa para o slide */
    margin-bottom: 1rem;
  }
}

  #piece-checkboxes {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}
#piece-checkboxes input {
  display: inline-block;
  width: 1em; height: 1em;
  margin-right: .5rem;
  vertical-align: middle;
  cursor: pointer;      /* <— faz o “mãozinha” */
}
#piece-checkboxes label {
  display: inline-flex; /* inline, lado a lado */
  align-items: center;
  margin-right: 1.5rem;
  font-size: 1rem;
  cursor: pointer;      /* <— idem */
}
  /* Valores e preços */
  .modal-info p {
    margin: 0;
    font-size: 1rem;
    color: #333;
  }
  .modal-info p span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
  }

  /* Botão CHECKOUT */
  #pay-button {
    background: linear-gradient(135deg, #000, #555);
    color: #fff;
    border: none;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    margin: 2rem auto 1rem;
    cursor: pointer;
    transition: background .2s, transform .2s;
    display: block;
  }
  #pay-button:hover {
    background: linear-gradient(135deg, #111, #666);
    transform: translateY(-2px);
  }
  #pay-button:active {
    transform: translateY(0);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  }

  /* Ícones de pagamento */
  .payment-icons {
    text-align: center;
  }
  .payment-icons img {
    width: 40%;
    margin: 0 .5rem;
    vertical-align: middle;
    border-radius: 20px;
  }
  .payment-icons p {
    margin-top: .3rem;
    font-size: 9px;
    color: #666;
  }

  /* 2ª coluna: media */
  .modal-media {
    flex: 1;
    position: sticky;
    top: 2rem;
    align-self: start;
    height: calc(90vh - 4rem);
    text-align: center;
    overflow: hidden;
  }
  .modal-media img,
  .modal-media iframe {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: zoom-in;
  }
  .modal-media .prev,
  .modal-media .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.7);
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
  }
  .modal-media .prev { left: .5rem; }
  .modal-media .next { right: .5rem; }

  /* Lightbox */
  .lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
  }
  .lightbox img {
    position: absolute;
    will-change: transform;
    max-width: none;
    max-height: none;
    cursor: move;
  }

  /* ===== Mobile tweaks ===== */
  @media (max-width: 767px) {
    .modal-content {
      padding: 1rem;
    }
    .modal-media {
      position: static;
      height: 300px;
      margin-bottom: 1rem;
    }
    #pay-button {
      width: 100%;
      padding: 1rem;
    }
  }

  /* ===== About ===== */
  #about {
    display: flex; flex-wrap: wrap;
    align-items: center;
    max-width: 1000px; margin: 3rem auto;
    padding: 0 1rem;
  }
  #about img {
    flex: 1 1 355px; max-width: 355px;
    height: auto; border-radius: 8px;
    margin-right: 2rem;
  }
  #about .text {
    flex: 2 1 300px;
    font-size: 1rem; line-height: 1.6;
  }

  /* ===== Newsletter ===== */
  #subscribe {
    background: #fff; text-align: center;
    padding: 2.5rem 1rem; margin: 2rem 0;
  }
  #subscribe input {
    padding: .75rem 1rem; width: 250px;
    border: 1px solid #ccc; border-radius: 4px;
  }
  #subscribe button {
    padding: .75rem 1.5rem;
    margin-left: .5rem;
    border: none; border-radius: 4px;
    cursor: pointer;
  }

  /* ===== Footer ===== */
  footer {
    background: #fff; text-align: center;
    padding: 2rem 1rem; font-size: .9rem;
    color: #666;
  }
  footer a {
    color: inherit;
  }
  footer .social a {
    margin: .5rem;
  }

  /* ===== Gallery Title ===== */
  .gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
    margin: 2rem 0 1rem;
    color: #222;
  }
  @media (max-width: 600px) {
    .gallery-title {
      font-size: 1.5rem;
      margin: 1.5rem 0;
    }
  }

  /* garante que o modal só apareça via JS */
  #modal {
    display: none;
  }
  #modal.open {
    display: flex;
  }

  /* alinha checkbox + label lado a lado */
  #piece-checkboxes label {
    display: flex;
    align-items: center;
    margin-bottom: .75rem;
  }
  #piece-checkboxes input {
    margin-right: .5rem;
    width: 1em;
    height: 1em;
  }

  /* === Layout em 2 colunas no desktop === */
  .modal-body {
    display: flex;
    flex-direction: column;
  }
  @media(min-width: 768px) {
    .modal-body {
      flex-direction: row;
      gap: 2rem;
    }
  }
  .modal-info, .modal-media {
    flex: 1;
  }
  .modal-info {
    font-family: 'Playfair Display', serif;
  }
  /* media column: centraliza slides */
  .modal-media {
    position: relative;
    text-align: center;
  }
  .modal-media img,
  .modal-media iframe {
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
    cursor: zoom-in;
  }
  /* botão next/prev sobre a media */
  .modal-media .prev,
  .modal-media .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.7);
    border: none; border-radius: 50%;
    width: 2.5rem; height: 2.5rem;
    cursor: pointer;
  }
  .modal-media .prev { left: 0.5rem; }
  .modal-media .next { right: 0.5rem; }

  /* lightbox de zoom */
  .lightbox {
    position: fixed; top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.8);
    display: flex; align-items: center; justify-content: center;
    z-index: 2000;
    overflow: hidden;
  }
  .lightbox img {
    position: absolute;
    will-change: transform;
    max-width: none;
    max-height: none;
    cursor: move;
  }

  @media (max-width: 767px) {
    /* no mobile, o modal-body volta a dimensionar pelo conteúdo */
    .modal-body {
      height: auto !important;
      flex-direction: column !important;
    }
    /* a coluna de mídia ajusta sua altura para 300px */
    .modal-media {
      height: 300px !important;
    }
    /* e o iframe volta a ocupar exatamente esses 300px */
    .modal-media iframe {
      height: 300px !important;
    }
  }

  @media (min-width: 768px) {
    /* Restaurar ordem normal no web */
    .modal-info {
      order: 1;
    }
    .modal-media {
      order: 2;
    }
  }

  /* ==== Video full‑height no modal ==== */
  .modal-body {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  @media (min-width: 768px) {
    .modal-body {
      flex-direction: row;
      height: calc(90vh - 4rem);
    }
  }
  .modal-media {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .modal-media iframe {
    width: 100% !important;
    height: 100% !important;
    max-height: none;
  }
  #slide-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ==== Ajustes de design interno do popup ==== */

  /* 1) Fonte elegante em todo o modal, exceto na descrição */
  .modal-content {
    font-family: 'Playfair Display', serif;
    color: #222;
  }
  .modal-content .modal-desc {
    font-family: ui‑sans‑serif, sans‑serif;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
  }

  /* 2) Espaçamento e organização dos elementos da coluna de infos */
  .modal-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-right: 1rem;
  }

  /* 3) Legenda do fieldset com destaque */
  #piece-checkboxes legend {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  /* 4) Checkboxes mais claros e alinhados */
  #piece-checkboxes label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    gap: 0.5rem;
  }

  /* 5) Uniformiza inputs, selects e botões na mesma família */
  .modal-info select,
  #pay-button {
    font-family: 'Playfair Display', serif;
  }

  /* 6) Ajuste visual do select */
  .modal-info select {
    padding: 0.75rem 1rem;
    border-color: rgba(0,0,0,0.2);
    border-radius: 8px;
  }

  /* 7) Botão de checkout mais elegante */
  #pay-button {
    display: block;
    margin: 2rem auto 1rem;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* 8) Destaque nos valores numéricos */
  .modal-info p span {
    font-size: 1.2rem;
    font-weight: 600;
  }
  .modal-body {
  flex: 1;              /* para preencher o restante do .modal-content */
  display: flex;
  overflow: hidden;     /* evita scroll na coluna de imagem */
}
@media (min-width: 768px) {
  .modal-body {
    flex-direction: row;
  }
}
@media (max-width: 767px) {
  .modal-body {
    flex-direction: column;
  }
}

/* coluna de mídia: fixa, cobre toda a altura disponível */
.modal-media {
  flex: 1;
  overflow: hidden;
}
.modal-media img,
.modal-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* cobre toda a área */
  cursor: zoom-in;
}
@media (max-width: 767px) {
  .modal-media {
    height: 200px;
    margin-bottom: 1rem;
  }
  #pay-button {
    width: 100%;
  }
}

/* 1) Torna o modal-content um flex container em row no desktop */
.modal-content {
  display: flex;
  flex-direction: column; /* mobile empilha */
  height: 90vh;
  padding: 2rem;
}
@media (min-width: 768px) {
  .modal-content {
    flex-direction: row;  /* desktop: linha */
  }
}

/* 2) Container interno agora só engloba as 2 colunas */
.modal-body {
  flex: 1;
  display: flex;
  overflow: hidden;      /* sem scroll na coluna direita */
}
@media (max-width: 767px) {
  .modal-body { flex-direction: column; }
}
@media (min-width: 768px) {
  .modal-body { flex-direction: row; }
}

/* 3) Coluna esquerda: textos e form */
.modal-info {
  flex: 1;
  overflow-y: auto;      /* scroll só aqui se necessário */
  padding-right: 1.5rem;
}

/* 4) Coluna direita: slide full‑height */
.modal-media {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.modal-media img,
.modal-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

/* 5) Mobile tweaks opcionais */
@media (max-width: 767px) {
  .modal-media {
    height: 200px;        /* altura fixa no mobile */
    margin-bottom: 1rem;
  }
}
/* Fieldset vertical, uma opção por linha */
#piece-checkboxes {
  display: block;
  margin-bottom: 1rem;
  padding: 0;
  border: none;
}

/* Cada label alinha checkbox + texto em linha, e empilha as labels */
#piece-checkboxes label {
  display: flex;            /* checkbox + texto lado a lado */
  align-items: center;
  margin-bottom: 1rem;      /* espaço entre as opções */
  font-size: 1rem;
  cursor: pointer;
}

/* Pequeno espaçamento do checkbox em relação ao texto */
#piece-checkboxes input {
  margin-right: 0.75rem;
  width: 1em;
  height: 1em;
  cursor: pointer;
}

.subscribe-success { color:orange; margin-top:8px;font-size:20px; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: #fff;
}


</style>