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

/* HEADER */
.header {
  width: 100%;
  background: #f8f8f8;
  padding: 40px 120px;
  position: relative;
  z-index: 1000;
}

/* NAV */
.nav {
   font-family: 'Cormorant Garamond', sans-serif !important;
   font-weight: 700;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
}

/* MENUS */
.nav-left,
.nav-right {
   font-family: 'Cormorant Garamond', sans-serif !important;
   font-weight: 700;
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav ul {
  list-style: none;
}

/* LINKS */
.nav a {
  font-family: 'Cormorant Garamond', sans-serif !important;
  font-weight: 700;
  text-decoration: none;
  color: #666;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  transition: 0.3s;
}

/* HOVER LINHA */
.nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #ca7cb0;
  transition: 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.logo a::after {
  content: none !important;
}

/* LOGO */
.logo {
  
 position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.logo img {
  max-height: 90px;
  width: auto;
  display: block;
}

/* manter centrado no desktop */
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}


/* DROPDOWN */
.dropdown {
  position: relative;
}

/* MENU ESCONDIDO */
.dropdown-menu {
  position: absolute;
  top: 140%;
  left: 0;
  background: white;
  border-radius: 10px;
  padding: 10px 0;
  min-width: 200px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;

  list-style: none;
}

/* ITENS */
.dropdown-menu li {
  padding: 10px 20px;
}

.dropdown-menu a {
  font-family: 'Cormorant Garamond', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: none;
}

/* HOVER MOSTRAR */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* evitar desaparecer ao mover rato */
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
}

 :root {
            --primary-color: #2c2c2c;
            --accent-color: #8d754a; /* Tom dourado suave */
            --bg-color: #f9f9f9;
            --text-light: #666;
        }

        body {
            margin: 0;
            padding: 0;
            font-family: 'Lato', sans-serif;
            background-color: var(--bg-color);
            color: var(--primary-color);
        }
/* Estilos para o Formulário de Eventos */
    .events-contact-section {
        background-color: #fff;
        padding: 35px 0;
        font-family: 'Lato', sans-serif;
    }

    .events-header {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 35px auto;
        padding: 0 10px;
    }

    .events-header span {
        text-transform: uppercase;
        letter-spacing: 4px;
        font-size: 0.8rem;
        color: var(--accent-color);
        display: block;
        margin-bottom: 15px;
    }

    .events-header h1 {
        font-family: 'Playfair Display', serif;
        font-size: 2.8rem;
        letter-spacing: 3px;
        text-transform: uppercase;
        margin-bottom: 25px;
        font-weight: 400;
    }

    .events-header p {
        color: var(--text-light);
        line-height: 1.8;
        font-size: 1.1rem;
    }

    .events-form-wrapper {
        max-width: 950px;
        margin: 0 auto;
        padding: 60px;
        background-color: #fcfbf9; /* Tom off-white para destacar do fundo */
    }

    .events-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .events-group {
        display: flex;
        flex-direction: column;
    }

    .events-group label {
        font-family: 'Lato', sans-serif;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 8px;
        font-weight: 700;
        color: #333;
    }

    .events-group input, 
    .events-group select, 
    .events-group textarea {
        padding: 12px 0;
        border: none;
        border-bottom: 1px solid #ccc;
        background: transparent;
        font-size: 1rem;
        outline: none;
        transition: all 0.3s;
    }

    .events-group input:focus, 
    .events-group textarea:focus {
        border-bottom: 1px solid var(--primary-color);
    }

    .full-row {
        grid-column: 1 / -1;
    }

    /* Checkboxes Estilizados para Tipo de Evento */
    .event-type-options {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 10px;
    }

    .event-type-options label {
        font-weight: 400;
        text-transform: none;
        letter-spacing: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .btn-events {
        margin-top: 50px;
        width: 100%;
        background-color: var(--primary-color);
        color: #fff;
        padding: 22px;
        border: none;
        text-transform: uppercase;
        letter-spacing: 4px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: background 0.4s;
    }

    .btn-events:hover {
        background-color: var(--accent-color);
    }

/* HERO */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

/* VIDEO */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
   z-index: 0;
}



/* TEXTO POR CIMA */
.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
font-style: italic;
  text-align: center;
  color: white;
}

/* ESCURECER O VIDEO (IMPORTANTE) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
   pointer-events: none;
}

/* TEXTO ESTILO PREMIUM */
.hero-overlay h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  letter-spacing: 3px;
}

.hero-overlay p {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  margin-top: 15px;
  letter-spacing: 2px;
}

     /* BOTÃO HAMBURGUER */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* MENU MOBILE */
.mobile-menu {
   font-family: 'Cormorant Garamond', sans-serif !important;
   font-weight: 700;
 position: absolute;
  top: 80px;
  right: 20px;
  width: 260px;

  background: white;
  border-radius: 12px;
  padding: 20px;

  display: none;
  flex-direction: column;

  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  z-index: 9999;
  position: absolute;

  animation: slideDown 0.3s ease;
}

.mobile-menu a {
   font-family: 'Cormorant Garamond', sans-serif !important;
   font-weight: 700;
   padding: 15px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #666;
  font-size: 14px;
  letter-spacing: 2px;
  pointer-events: auto;
}

/* DROPDOWN MOBILE */
.mobile-btn {
   font-family: 'Cormorant Garamond', sans-serif !important;
   font-weight: 700;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.mobile-content {
  display: none;
  flex-direction: column;
  padding-left: 15px;
}

/* ATIVAR */
.mobile-menu.active {
  display: flex;
}
footer {
        background-color: #f9f9f9;
        padding: 80px 20px 40px 20px;
        border-top: 1px solid #eee;
        font-family: 'Lato', sans-serif;
        color: var(--primary-color);
    }

    .footer-grid {
        max-width: 1100px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 60px;
    }

    .footer-logo h2 {
        font-family: 'Playfair Display', serif;
        text-transform: uppercase;
        letter-spacing: 4px;
        margin-bottom: 20px;
    }

    .footer-section h4 {
        font-family: 'Playfair Display', serif;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 0.9rem;
        margin-bottom: 25px;
        color: var(--accent-color);
    }

    .footer-links {
        list-style: none;
        padding: 0;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        text-decoration: none;
        color: var(--text-light);
        transition: color 0.3s;
        font-size: 0.9rem;
    }

    .footer-links a:hover {
        color: var(--primary-color);
    }

    .footer-bottom {
        max-width: 1100px;
        margin: 60px auto 0 auto;
        padding-top: 30px;
        border-top: 1px solid #e0e0e0;
        display: flex;
        justify-content: space-between;
        font-size: 0.75rem;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .footer-logo img {
    max-width: 180px; /* Ajusta o tamanho do logo conforme o teu gosto */
    height: auto;
    margin-bottom: 20px;
}

/* RESPONSIVO */
@media (max-width: 900px) {

  

  .logo {
    position: static;
    transform: none;
    margin: 0 auto;
    text-align: center;
  }


  .mobile-menu a,
.mobile-btn {
  font-family: 'Cormorant Garamond', sans-serif;
  letter-spacing: 2px;
}

  .nav-left,
  .nav-right {
    display: none;
  }

  .menu-toggle {
    display: block;
     margin-left: 20px;
  }

  .logo {
    position: static;
    transform: none;
    margin: 0 auto;
  }

  .header {
    padding: 20px;
    position: relative;
    z-index: 1000;
    }


  .nav {
  justify-content: space-between;
}


        .events-grid { grid-template-columns: 1fr; }
        .events-form-wrapper { padding: 30px 20px; }
         .footer {
   padding: 60px 20px 30px 20px; /* Redução ligeira do padding superior */
    }

    .footer-grid {
        /* Passa de 3 colunas para 1 coluna vertical */
        grid-template-columns: 1fr;
        gap: 40px; /* Redução do espaço entre secções para poupar scroll */
        text-align: center; /* Opcional: centra o texto no mobile */
    }

    .footer-section h4 {
        margin-bottom: 15px;
        align-items: center;
        
        }

        .footer-section p {
        
        align-items: center;
        }

    .footer-bottom {
        /* Passa de flex horizontal para vertical */
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 40px;
        text-align: center;
    }
    
    /* Alinha o texto do parágrafo ao centro no mobile */
    .footer-logo p {
        text-align: center;
        /* Dá um padding lateral para evitar que o texto toque nas bordas do ecrã */
        padding: 0 20px;
        /* Define uma largura máxima opcional para o texto não ficar demasiado "largo" */
        max-width: 180px;
        /* Centra o próprio bloco do parágrafo */
        margin-left: auto;
        margin-right: auto;
        /* Mantém uma margem inferior para o elemento seguinte (o título da navegação) */
        margin-bottom: 40px; /* Ajusta conforme necessário */
    }

    /* Garante que o container `.footer-logo` também está centrado */
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

   
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centra o logo horizontalmente */
        text-align: center;
    }

    .logo-footer {
        max-width: 200px;    /* No mobile, o logo pode ser um pouco menor */
        margin-left: auto;   /* Centra a imagem */
        margin-right: auto;  /* Centra a imagem */
        margin-bottom: 20px;
    }

    .footer-logo p {
        text-align: center;
        max-width: 300px;    /* Limita a largura do texto para ficar elegante */
        margin: 0 auto 40px auto; /* Centra o <p> e dá espaço para a secção seguinte */
        line-height: 1.6;    /* Melhora a leitura do parágrafo */
    }
    }

     @keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}