
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --bg: #100c09;
  --panel: #19130f;
  --gold: #d6ac68;
  --gold-light: #f4d6a0;
  --text: #f8f0e5;
  --muted: #bdb0a1;
  --border: rgba(214, 172, 104, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

main {
  overflow: hidden;
}

section {
  padding: 75px 24px;
  text-align: center;
}

/* =====================================
   HERO - IMAGEM PRINCIPAL
===================================== */

.hero {
  min-height: 690px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  isolation: isolate;

  background:
    linear-gradient(
      90deg,
      rgba(12, 8, 5, 0.85),
      rgba(12, 8, 5, 0.55),
      rgba(12, 8, 5, 0.80)
    ),
    url("img/fundo.jpg") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 85% 18%,
      #d6ac68 0 2px,
      transparent 5px
    ),
    radial-gradient(
      circle at 80% 28%,
      #d6ac68 0 3px,
      transparent 7px
    ),
    radial-gradient(
      circle at 92% 45%,
      #d6ac68 0 2px,
      transparent 6px
    );

  filter: blur(2px);
}

/* =====================================
   TIPOGRAFIA
===================================== */

.subtitulo {
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 5px;
}

h1,
h2,
footer h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  color: var(--gold-light);
}

h1 {
  font-size: clamp(76px, 11vw, 145px);
  line-height: 1;
  margin: 30px 0 0;
  letter-spacing: -2px;
}

.idade {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(46px, 6vw, 75px);
  color: var(--gold);
  line-height: 1.2;
}

.linha {
  width: 75px;
  height: 1px;
  background: var(--gold);
  margin: 35px auto;
}

.mensagem {
  max-width: 580px;
  color: #e1d8ce;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.3px;
}

/* =====================================
   CONTAGEM REGRESSIVA
===================================== */

.contador {
  max-width: 1050px;
  margin: -55px auto 0;
  padding: 35px 30px;
  position: relative;
  z-index: 2;
  background: rgba(25, 19, 15, 0.96);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.contador > p {
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 4px;
  margin-bottom: 25px;
}

.tempo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.tempo div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tempo div + div {
  border-left: 1px solid rgba(214, 172, 104, 0.2);
}

.tempo strong {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(43px, 6vw, 70px);
  color: var(--gold-light);
  line-height: 1.1;
}

.tempo span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 8px;
}

/* =====================================
   INFORMAÇÕES DO EVENTO
===================================== */

.informacoes {
  max-width: 1200px;
  margin: auto;
  padding-top: 95px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 35px;
}

.info {
  padding: 10px 25px;
}

.info + .info {
  border-left: 1px solid rgba(214, 172, 104, 0.25);
}

.info h3 {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 4px;
  margin-bottom: 14px;
}

.info p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 27px;
  color: var(--text);
  line-height: 1.3;
}

.info small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin-top: 8px;
}

/* =====================================
   BOTÕES
===================================== */

.acoes {
  max-width: 1050px;
  margin: auto;
  display: flex;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 90px;
}

.botao {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f3d49a, #c9984f);
  color: #1b130b;
  padding: 20px 30px;
  border: 1px solid var(--gold);
  border-radius: 9px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  cursor: pointer;

  transition:
    transform 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}

.acoes .botao {
  flex: 1;
}

.botao:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(214, 172, 104, 0.18);
}

.botao.secundario {
  background: transparent;
  color: var(--gold-light);
}

.botao.secundario:hover {
  background: rgba(214, 172, 104, 0.12);
}

/* =====================================
   FORMULÁRIO
===================================== */

.formulario {
  background:
    radial-gradient(
      ellipse at top,
      rgba(100, 65, 30, 0.15),
      transparent 65%
    ),
    var(--panel);

  border-top: 1px solid rgba(214, 172, 104, 0.15);
  padding-top: 100px;
  padding-bottom: 110px;
}

.formulario h2 {
  font-size: clamp(46px, 6vw, 68px);
  line-height: 1.1;
  margin: 18px 0 50px;
}

form {
  max-width: 570px;
  margin: auto;
  text-align: left;
  padding: 38px;
  background: rgba(10, 8, 6, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
}

form label {
  display: block;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 500;
  margin: 18px 0 10px;
}

form input,
form select {
  width: 100%;
  min-height: 54px;
  padding: 15px 17px;
  background: #17120e;
  color: var(--text);
  border: 1px solid #59452c;
  border-radius: 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  outline: none;
}

form input:focus,
form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 172, 104, 0.1);
}

#areaAcompanhantes {
  margin-top: 32px;
}

#areaAcompanhantes h3 {
  color: var(--gold-light);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 20px;
}

#listaAcompanhantes input {
  margin-bottom: 10px;
}

#listaAcompanhantes button {
  margin-bottom: 22px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid #865a50;
  border-radius: 5px;
  color: #e4a99e;
  font-size: 11px;
  cursor: pointer;
}

#adicionarAcompanhante {
  width: 100%;
  padding: 16px;
}

.total {
  color: var(--muted);
  margin: 25px 0 5px;
  text-align: center;
  font-size: 13px;
}

.total strong {
  color: var(--gold-light);
  font-size: 22px;
}

.enviar {
  width: 100%;
  margin-top: 25px;
}

.enviar:disabled {
  opacity: 0.6;
  cursor: wait;
}

#mensagemStatus {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--gold-light);
}

/* =====================================
   RODAPÉ
===================================== */

footer {
  text-align: center;
  padding: 85px 20px;
  background: var(--bg);
}

footer h2 {
  font-size: 65px;
  font-style: italic;
}

footer p {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 3px;
  margin-top: 20px;
}

/* =====================================
   RESPONSIVIDADE
===================================== */

@media (max-width: 700px) {
  section {
    padding: 65px 18px;
  }

  .hero {
    min-height: 620px;
    padding: 80px 20px 120px;

    background:
      linear-gradient(
        180deg,
        rgba(12, 8, 5, 0.78),
        rgba(12, 8, 5, 0.58),
        rgba(12, 8, 5, 0.88)
      ),
      url("img/fundo.jpg") center center / cover no-repeat;
  }

  h1 {
    font-size: clamp(60px, 13vw, 95px);
  }

  .subtitulo {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .mensagem {
    font-size: 13px;
  }

  .contador {
    margin: -60px 15px 0;
    padding: 30px 12px;
  }

  .contador > p {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .tempo strong {
    font-size: 42px;
  }

  .tempo span {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .informacoes {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 70px;
  }

  .info + .info {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: 30px;
  }

  .acoes {
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 70px;
  }

  .acoes .botao {
    width: 100%;
  }

  .formulario {
    padding: 80px 16px;
  }

  form {
    padding: 25px 20px;
  }

  footer h2 {
    font-size: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .botao {
    transition: none;
  }
}

/* SEÇÃO DO RESTAURANTE */
.local-evento { padding: 65px 24px 95px; background: #100c09; }
.local-evento-conteudo { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-align: left; background: var(--panel); }
.local-evento-imagem { min-height: 360px; background: linear-gradient(135deg, #332418, #100c09); position: relative; }
.local-evento-imagem img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.local-evento-placeholder { display: none; color: var(--gold); position: absolute; inset: 0; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.local-evento-imagem.sem-foto .local-evento-placeholder { display: flex; }
.local-evento-texto { padding: 45px 38px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; }
.local-evento-texto h2 { font-size: clamp(42px, 5vw, 60px); line-height: 1.05; }
.local-evento-texto > p:not(.subtitulo), .local-evento-texto address { font-size: 13px; color: var(--muted); font-style: normal; line-height: 1.9; }
.local-evento-texto .botao { margin-top: 8px; }
@media (max-width: 700px) {
  .local-evento { padding: 45px 18px 70px; }
  .local-evento-conteudo { grid-template-columns: 1fr; }
  .local-evento-imagem { min-height: 250px; }
  .local-evento-texto { padding: 35px 24px; }
}

/* CONTROLE DE MÚSICA */
.controle-musica { position:fixed; right:18px; bottom:18px; z-index:100; padding:13px 18px; background:rgba(25,19,15,.95); color:var(--gold-light); border:1px solid var(--gold); border-radius:999px; box-shadow:0 8px 28px rgba(0,0,0,.4); font:600 12px 'Montserrat',sans-serif; cursor:pointer; }
.controle-musica:hover { background:#302316; }
.controle-musica:focus-visible { outline:2px solid var(--gold-light); outline-offset:3px; }
