/* 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);
 z-index: 2000;
  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: #f9f9f9            ;
            color: var(--primary-color);
        }
/* Estilos Específicos para a Página de Serviços */
    .services-intro {
        text-align: center;
        padding: 100px 20px;
        max-width: 800px;
        margin: 0 auto;
    }

    .services-intro h1 {
        font-family: 'Playfair Display', serif;
        font-size: 3rem;
        font-style: italic;
        font-weight: 400;
        letter-spacing: 5px;
        text-transform: uppercase;
        margin-bottom: 30px;
        color: #8d754a;
    }

    .services-intro p {
        font-family: 'Lato', sans-serif;
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--text-light);
        font-style: italic;
    }

    /* Grelha de Serviços */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 80px 40px;
        max-width: 1100px;
        margin: 0 auto 100px auto;
        padding: 0 20px;
    }

    .service-card {
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
    }

    .service-image {
        width: 100%;
        height: 600px; /* Altura editorial alta */
        overflow: hidden;
        margin-bottom: 25px;
        position: relative;
    }

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .service-card:hover img {
        transform: scale(1.05);
    }

    .service-info h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.5rem;
        font-style: italic;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 10px;
        color: var(--accent-color);
    }

    .service-info p {
        font-family: 'Lato', sans-serif;
        color: var(--text-light);
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    /* Link "Saber Mais" estilo Sofia Nascimento */
    .service-link {
        font-family: 'Cormorant Garamond', sans-serif;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        border-bottom: 1px solid var(--accent-color);
        align-self: flex-start;
        padding-bottom: 5px;
        color: var(--primary-color);
    }

    /* Layout Alternado (Uma imagem mais alta que a outra) */
    .service-card:nth-child(even) {
        margin-top: 100px;
    }

    /* Estilos base para a página de Eventos */
    .events-portfolio {
        background-color: #f4f4f4; /* Fundo cinza muito claro para destacar os blocos brancos */
        padding: 100px 0;
        font-family: 'Cormorant Garamond', sans-serif;
    }

    .event-story-container {
        max-width: 1100px;
        margin: 0 auto 150px auto;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    /* A Imagem do Evento */
    .event-image {
        flex: 0 0 60%;
        z-index: 1;
    }

    .event-image img {
        width: 100%;
        height: auto;
        display: block;
        box-shadow: 20px 20px 60px rgba(0,0,0,0.05);
    }

    /* O Bloco de Texto (Igual à imagem submetida) */
    .event-details-box {
        flex: 0 0 45%;
        background: #fff;
        padding: 60px;
        margin-left: -10%; /* Sobreposição elegante */
        z-index: 2;
        box-shadow: 0 10px 40px rgba(0,0,0,0.03);
        text-align: center;
    }

    .event-details-box span {
        display: block;
        font-family: 'Playfair Display', serif;
        font-style: italic;
        font-size: 1.1rem;
        color: #8d754a;
        margin-bottom: 15px;
    }

    .event-details-box h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2rem;
        text-transform: uppercase;
        letter-spacing: 3px;
        margin-bottom: 30px;
        line-height: 1.3;
    }

    .event-details-box p {
        font-size: 0.95rem;
        line-height: 2;
        color: #666;
        text-align: justify;
    }

    /* Alternar a ordem para o próximo evento (Imagem à direita) */
    .event-story-container.reverse {
        flex-direction: row-reverse;
    }

    .event-story-container.reverse .event-details-box {
        margin-left: 0;
        margin-right: -10%;
    }
/* HERO */
.hero {
  position: relative;
  height: 80vh;
  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) {

  

  


  .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;
}

  .hero-section, .hero-section.reverse {
   flex-direction: column;
   margin-bottom: 60px;
   }
   .content-wrapper {
   padding: 20px 0;
   text-align: center;
    }
    .content-wrapper h2 {
    font-size: 2rem;
     }
    

  .nav {
  justify-content: space-between;
}
  
  .event-story-container, .event-story-container.reverse {
            flex-direction: column;
            padding: 0 20px;
        }
        .event-image, .event-details-box {
            flex: 0 0 100%;
            margin: 0 !important;
        }
        .event-details-box {
            padding: 40px 20px;
            margin-top: -30px !important;
        }
  
        .services-grid {
            grid-template-columns: 1fr;
        }
        .service-card:nth-child(even) {
            margin-top: 0;
        }
        .service-image {
            height: 450px;
        }

         .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);
  }
}