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

/* H1 – Roboto Condensed */
h1,
.hero-content h1,
.project-info h1,
.section-title {
  font-family: "Roboto Condensed", sans-serif;
}

/* Captions / descrições (labels, portfolio, pequenos textos) */
.portfolio-label,
.project-info .label,
.contact-info p,
.about-text p {
  font-family: "Roboto Condensed", sans-serif;
}

/* Botões – Century Gothic Pro */
.btn,
button {
  font-family: "Century Gothic Pro", Century Gothic, CenturyGothic, AppleGothic,
    sans-serif;
}

/* Menu links – Avenir */
header nav a,
.mobile-menu a,
footer a {
  font-family: "Avenir", sans-serif;
}

/* Form inputs – alinhar com body (Avenir) */
.form-group input,
.form-group textarea {
  font-family: "Avenir", sans-serif;
}

:root {
  --gold: #d1a24a;
  --dark-gold: #867334;
  --black: #121111;
  --white: #f8f8f8;
}

html,
body {
  height: 100%;
  font-family: "Avenir", sans-serif;
}

body {
  background-color: var(--white);
  color: var(--black);
  overflow-x: hidden;
  margin: 0;
}


/* ===== PRELOADER ===== */
:root {
  --gold: #d1a24a;
  --dark-gold: #867334;
  --black: #121111;
  --white: #f8f8f8;
}

body.is-loading {
  overflow: hidden;
}

#preloader {
  position: fixed;
  inset: 0;
  background-color: var(--black);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.preloader-logo {
  width: 100px;
  height: auto;
  animation: pulse-logo 1.8s ease-in-out infinite;
}

@keyframes pulse-logo {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.7; transform: scale(0.95); }
}

/* Barra de progresso */
.preloader-bar-wrapper {
  width: 200px;
  height: 3px;
  background-color: rgba(248, 248, 248, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--dark-gold), var(--gold));
  border-radius: 999px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--gold);
}
/* ===== /PRELOADER ===== */



/* ========== HEADER ========== */
header {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  color: #ffffff;
  min-height: 70px;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
  background-color: var(--white);
  backdrop-filter: none;
  color: var(--black);
}

/* Logo */
.logo {
  margin: 0;
  padding: 0;
}

.logo-img {
  display: block;
  margin: 0;
}

.logo img.logo-img {
  height: 70px;
  width: auto;
  transition: filter 0.3s ease;
}

/* Navegação desktop */
.desktop-nav {
  display: flex !important;
  align-items: center;
  gap: 2rem;
}

.desktop-nav a {
  font-family: "Avenir", sans-serif;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.desktop-nav a:hover {
  opacity: 0.75;
}

/* Header com fundo / scroll */
header.scrolled .desktop-nav a {
  color: var(--black);
}

header.scrolled .desktop-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

/* Páginas com header claro desde o início */
.sobre-nos-page header,
.politica-privacidade-page header,
body:has(.politica-section) header {
  background-color: var(--white);
  color: var(--black);
}

.sobre-nos-page header.scrolled,
.politica-privacidade-page header.scrolled,
body:has(.politica-section) header.scrolled {
  background-color: var(--white);
  color: var(--black);
}

.sobre-nos-page header .desktop-nav a,
.politica-privacidade-page header .desktop-nav a,
body:has(.politica-section) header .desktop-nav a {
  color: var(--black);
}

.sobre-nos-page header .desktop-nav a:hover,
.politica-privacidade-page header .desktop-nav a:hover,
body:has(.politica-section) header .desktop-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

/* Páginas de serviço: links desktop ficam legíveis sobre a zona clara */
.svc-page header .desktop-nav a {
  color: var(--black);
}

.svc-page header .desktop-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

/* Hamburger */
.menu-toggle {
  display: none !important;
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  color: #ffffff;
  transition: color 0.3s ease;
}

header.scrolled .menu-toggle,
.sobre-nos-page .menu-toggle,
.politica-privacidade-page .menu-toggle,
body:has(.politica-section) .menu-toggle,
.svc-page .menu-toggle {
  color: var(--gold);
}

/* Mobile menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  background-color: var(--white);
  z-index: 200;
  padding: 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--gold);
  margin-bottom: 40px;
}

.mobile-menu a {
  text-decoration: none;
  font-family: "Avenir", sans-serif;
  font-size: 35px;
  margin: 20px 0;
  cursor: pointer;
  color: var(--gold);
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--dark-gold);
}

.mobile-menu-bottom {
  padding-top: 30vh;
  border-bottom: 1px solid rgba(212, 162, 74, 0.3);
}

.mobile-menu-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Desktop */
@media (min-width: 769px) {
  .desktop-nav {
    display: flex !important;
  }

  .menu-toggle {
    display: none !important;
  }
}

/* Mobile / tablet */
@media (max-width: 768px) {
  header,
  .sobre-nos-page header,
  .politica-privacidade-page header,
  body:has(.politica-section) header,
  .svc-page header {
    padding: 15px 20px;
  }

  .logo img.logo-img {
    height: 55px;
  }

  .desktop-nav {
    display: none !important;
  }

  .menu-toggle,
  .sobre-nos-page .menu-toggle,
  .politica-privacidade-page .menu-toggle,
  body:has(.politica-section) .menu-toggle,
  .svc-page .menu-toggle {
    display: block !important;
    font-size: 32px;
  }

  .mobile-menu {
    width: 70%;
    padding: 30px;
  }

  .mobile-menu a {
    font-size: 22px;
  }
}

/* ============================================
           SEÇÃO 1 - LAYOUT 50/50
============================================ */
.secao1 {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.secao1-left {
  flex: 1;
  padding: 10px 70px;
  background-color: var(--white);
  display: flex;
  align-items: flex-start; /* 🔥 topo */
  justify-content: flex-start;
}

.secao1-right {
  flex: 1;
  overflow: hidden;
  position: relative; /* garante que o vídeo fique contido */
}

.secao1-right .imagem-fullscreen {
  width: 100%;
  height: 100vh; /* altura completa da viewport */
  object-fit: cover; /* mantém o efeito da imagem anterior */
}


/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--black);
    color: var(--white);
    padding: 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text h3 {
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.cookie-text p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--white);
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Botões do Cookie Consent - nomes específicos */
.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Century Gothic Pro", Century Gothic, CenturyGothic, AppleGothic, sans-serif;
}

.cookie-btn-accept {
    background: var(--gold);
    color: var(--black);
}

.cookie-btn-accept:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(209, 162, 74, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cookie-btn-decline:hover {
    background: var(--white);
    color: var(--black);
}

.cookie-btn-customize {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.cookie-btn-customize:hover {
    background: var(--gold);
    color: var(--black);
}

/* Modal de Personalização */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 17, 17, 0.85);
    backdrop-filter: blur(4px);
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background-color: var(--white);
    padding: 32px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: cookieSlideIn 0.3s ease;
}

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

.cookie-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: var(--black);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    background: none;
    border: none;
}

.cookie-modal-close:hover {
    color: var(--gold);
}

.cookie-modal-content h2 {
    color: var(--black);
    font-size: 24px;
    margin-bottom: 12px;
    padding-right: 40px;
    font-family: "Roboto Condensed", sans-serif;
}

.modal-description {
    color: var(--black);
    opacity: 0.8;
    font-size: 14px;
    margin-bottom: 24px;
    font-family: "Avenir", sans-serif;
}

.cookie-option {
    background: var(--white);
    border: 2px solid var(--gold);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.cookie-option-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cookie-option h4 {
    color: var(--black);
    font-size: 16px;
    margin-bottom: 6px;
    font-family: "Avenir", sans-serif;
}

.cookie-option p {
    color: var(--black);
    opacity: 0.7;
    font-size: 13px;
    line-height: 1.5;
    font-family: "Avenir", sans-serif;
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--gold);
}

input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

input:disabled + .cookie-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.cookie-modal-buttons .cookie-btn {
    flex: 1;
    min-width: 160px;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cookie-icon {
        font-size: 36px;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-buttons .cookie-btn {
        flex: 1;
        font-size: 10px;
        min-width: 0;
    }

    .cookie-modal-content {
        padding: 24px;
        width: 95%;
    }

    .cookie-modal-buttons {
        flex-direction: column;
    }

    .cookie-modal-buttons .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-text h3 {
        font-size: 18px;
    }

    .cookie-text p {
        font-size: 13px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}




/* ============================================
           INFORMAÇÕES DO PROJETO (Lado Esquerdo)
============================================ */
.projeto-info {
  width: 100%;
  max-width: 50vw; /* mais largo, como na imagem */
  margin-top: 7rem;
}

.projeto-titulo {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 30px;
}

.projeto-imagem-container {
  width: 100%;
  margin-bottom: 24px;
}

.projeto-imagem {
  width: 100%;
  height: auto;
  display: block;
}

.projeto-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid #e5e5e5;
}

.categoria {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 24px;
  color: var(--gold); /* dourado semelhante ao layout */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.ano {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 24px;
  color: var(--gold); /* dourado semelhante ao layout */
  font-weight: 500;
}

.projeto-descricao-completa {
  font-family: "Avenir", sans-serif;
  font-size: 16px;
  color: var(--black);
  margin-top: 20px;
  text-align: left;
  line-height: 1.6;
}

/* ============================================
           SEÇÃO 2 - SLIDER
           ============================================ */
.slider-section {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  background: #f9f9f9;
}

.slider-container {
  position: relative;
  width: 100%;
  overflow-x: auto; /* mantém scroll para drag */
  overflow-y: hidden;
  height: 60vh; /* altura do slider */
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}

.slider-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari e Opera */
}

.slider-track {
  display: flex;
  gap: 10px;
}

.slider-track img {
  height: 100%;
  width: auto;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  flex-shrink: 0;
}

.btn {
  position: absolute; /* fora do scroll, fixo no slider */
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 20; /* acima das imagens */
  font-size: 24px;
}

/* ========== BANNER ========== */
.banner {
  position: relative;
  height: 100vh;
  padding: 4rem;
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: hidden;
}

/* vídeo de fundo - desktop por defeito */
.banner-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.banner-video-desktop {
  display: block;
}

.banner-video-mobile {
  display: none;
}

/* overlay escuro */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 17, 17, 0.5),
    rgba(18, 17, 17, 0.7)
  );
  z-index: -1;
}

.banner-content {
  max-width: 600px;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.banner h1 {
  font-family: "Avenir", sans-serif;
  font-size: 64px;
  margin-bottom: 10rem;
  line-height: 1.2;
  font-weight: bold;
  color: #f8f8f8;
}

.banner-btn {
  background-color: var(--gold);
  color: var(--black);
  border: none;
  padding: 1rem 4rem;
  font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
  font-size: 20px;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.banner-btn-icon {
  width: 20px;
  height: auto;
  transition: transform 0.3s ease;
}

.banner-btn:hover {
  background-color: var(--dark-gold);
  transform: translateY(-2px);
}

.banner-btn:hover .banner-btn-icon {
  transform: translateX(-4px);
}

/* ========== SEÇÃO SERVIÇOS ========== */
.servicos {
  padding: 4rem;
  background-color: var(--dirty-white);
  height: 400px;
  justify-content: center;
}

.servicos-header {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 3rem;
  font-weight: normal;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.servico-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.servico-card:hover {
  transform: translateY(-5px);
}

.servico-icon-img {
  width: 60px; /* ajusta conforme precisares */
  height: auto; /* mantém proporção */
}

.servico-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.servico-card h3 {
  font-family: "Avenir", sans-serif;
  font-size: 24px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 40px;
}

.servicos-descricao {
  max-width: 800px;
  margin-left: auto;
  margin-right: 0;
  font-family: "Roboto Condensed", sans-serif;
  color: var(--black);
  line-height: 1.8;
}

/* ========== SEÇÃO SOBRE NÓS ========== */
.sobre-nos {
  padding: 4rem;
  background-color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sobre-nos-titulo {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 30px;
  color: var(--gold);
  font-weight: normal;
}

.sobre-nos-texto {
  font-family: "Avenir", sans-serif;
  color: var(--black);
  line-height: 1.8;
  font-size: 24px;
  text-align: justify;
}

/* ========== SEÇÃO ORÇAMENTO ========== */
.orcamento {
  padding: 4rem;
  background-color: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.orcamento-btn {
  background-color: var(--gold);
  color: var(--black);
  border: none;
  padding: 1rem 4rem; /* ajustado para tamanho adequado */
  font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
  font-size: 20px;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between; /* texto à esquerda, ícone à direita */
  gap: 1rem;

  transition: background-color 0.3s ease, transform 0.2s ease;
  width: fit-content; /* mantém largura mínima necessária */
}

.orcamento-btn-icon {
  width: 20px; /* tamanho do ícone */
  height: auto;
  transition: transform 0.3s ease;
}

.orcamento-btn:hover {
  background-color: var(--dark-gold);
  transform: translateY(-2px);
}

.orcamento-btn:hover .orcamento-btn-icon {
  transform: translateX(4px); /* animação para a direita */
}

.orcamento-texto {
  font-family: "Avenir", sans-serif;
  color: var(--white); /* pode alterar se quiser diferente de texto do botão */
  font-size: 20px; /* igual ao tamanho do botão */
  line-height: 1.8;
  text-align: left;
}


/* ========== SEÇÃO DESTAQUES ========== */
.destaques-main {
  padding: 4rem;
  background-color: var(--dirty-white);
  display: flex;
  flex-direction: column;
  }

.destaques-main-header {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 3rem;
  font-weight: normal;
}

/* Container do carrossel */
.carousel-main-container {
  position: relative;
  overflow: hidden;
  display: flex;
  flex: 1;
}

/* Grid dos cartões */
.carousel-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  transition: transform 0.5s ease;
  align-items: stretch; /* garante que todas as linhas tenham altura igual */
}

.carousel-main.shift-left {
  transform: translateX(-100%);
}

/* Cartão individual */
.carousel-main-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%; /* preenche a célula do grid */
}

/* Hover do cartão */
.carousel-main-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Imagem do cartão ocupa toda a altura */
.carousel-main-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.carousel-main-card:hover .carousel-main-card-image {
  transform: scale(1.05);
}

/* Overlay ocupa toda a imagem */
.carousel-main-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-main-card:hover .carousel-main-card-overlay {
  opacity: 1;
}

/* Texto do cartão */
.carousel-main-card-text {
  font-family: "Roboto Condensed", sans-serif;
  color: white;
  font-size: 18px;
  text-align: center;
  font-weight: normal;
  text-transform: uppercase;
}

/* Link ocupa todo o cartão */
.carousel-main-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%; /* garante que o link preencha o cartão */
}

/* Garante que a imagem dentro do link ocupe toda a altura */
.carousel-main-card-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Remove sublinhados e mantém cor do texto */
.carousel-main-card-link:hover,
.carousel-main-card-link:active,
.carousel-main-card-link:visited {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* PORTFOLIO */

.portfolio-banner h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 64px;
  font-weight: initial;
  letter-spacing: 1px;
  margin-top: 10rem;
  margin-left: 2rem;
  margin-bottom: 2rem;
}

/* Títulos das páginas legais/políticas */
body:has(.politica-section) .portfolio-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-left: 2rem;
  padding-right: 2rem;
}

body:has(.politica-section) .portfolio-banner h1 {
  text-align: center;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.portfolio-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 20px;
}

.portfolio-tab {
  background: none;
  border: none;
  color: var(--black);
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 10px 0;
  position: relative;
  transition: color 0.3s;
}

.portfolio-tab.active {
  color: var(--gold);
}

.portfolio-tab.active::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--gold);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  background-color: #e0e0e0;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.portfolio-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 15px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* ABOUT PAGE */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

.about-text p {
  color: var(--black);
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 14px;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-images img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* PROJECT DETAIL PAGE */
.project-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.project-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-info h1 {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 30px;
  text-transform: uppercase;
  font-weight: bold;
}

.project-info .label {
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.project-info p {
  color: var(--black);
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 20px;
}

/* PÁGINA POLÍTICA DE PRIVACIDADE - VERSÃO TEXTO CORRIDO */
.politica-privacidade-page header {
    background-color: var(--white);
    color: var(--black);
}

.politica-privacidade-page .menu-toggle {
    color: var(--gold);
}

.politica-section {
    padding: 4rem 2rem;
    background-color: var(--dirty-white);
    min-height: 100vh;
}

.politica-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 30px;
    color: var(--gold);
    margin-bottom: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 1rem;
}

.politica-section p, 
.politica-section li {
    font-family: Avenir, sans-serif;
    font-size: 18px;
    color: var(--black);
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.politica-section ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.politica-section li {
    margin-bottom: 0.5rem;
}

/* Links dentro do conteúdo */
.politica-section a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.politica-section a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Destaque para subseções */
.politica-highlight {
    background: var(--white);
    padding: 1.5rem;
    border-left: 4px solid var(--gold);
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

/* TABELA DE COOKIES */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.cookies-table thead {
    background-color: var(--gold);
}

.cookies-table thead tr th {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    padding: 1.2rem 1rem;
    text-align: left;
    letter-spacing: 0.5px;
}

.cookies-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
}

.cookies-table tbody tr:last-child {
    border-bottom: none;
}

.cookies-table tbody tr:hover {
    background-color: #f9f9f9;
}

.cookies-table tbody tr td {
    font-family: Avenir, sans-serif;
    font-size: 16px;
    color: var(--black);
    padding: 1rem;
    vertical-align: top;
    line-height: 1.6;
}

/* Primeira coluna (nome do cookie) em negrito */
.cookies-table tbody tr td:first-child {
    font-weight: 600;
    color: var(--gold);
}

/* Texto forte/negrito */
.politica-section strong {
    font-weight: 600;
    color: var(--gold);
}

/* Separador entre secções */
.politica-section + .politica-section {
    margin-top: 0;
    padding-top: 4rem;
    border-top: 3px solid var(--gold);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .politica-section {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 1.5rem;
    }

    .politica-section p,
    .politica-section li {
        font-size: 16px;
    }

    /* Tabela responsiva */
    .cookies-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cookies-table thead tr th,
    .cookies-table tbody tr td {
        padding: 0.8rem 0.6rem;
        font-size: 14px;
    }

    .cookies-table thead tr th {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 20px;
    }

    .politica-section p,
    .politica-section li {
        font-size: 15px;
    }

    /* Empilhar células da tabela em mobile */
    .cookies-table,
    .cookies-table thead,
    .cookies-table tbody,
    .cookies-table tr,
    .cookies-table td {
        display: block;
        width: 100%;
    }

    .cookies-table thead {
        display: none;
    }

    .cookies-table tbody tr {
        margin-bottom: 1.5rem;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 1rem;
    }

    .cookies-table tbody tr td {
        padding: 0.5rem 0;
        border: none;
        position: relative;
        padding-left: 50%;
    }

    .cookies-table tbody tr td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-right: 10px;
        font-weight: 600;
        color: var(--gold);
    }
}


/* CONTACTS PAGE */
.contacts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  background-color: var(--black);
  color: var(--white);
  padding: 40px;
  position: relative;
}

.contact-info h2 {
  color: var(--white);
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.contact-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--gold);
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ddd;
  background-color: var(--white);
  color: var(--black);
  font-family: "Avenir", sans-serif;
  font-size: 14px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}


/* CONTEUDO */
/* MAIN LAYOUT */

/* Wrapper sem scroll */
.sobre-nos-wrapper {
  display: flex;
  height: 100vh; /* altura total do viewport */
  overflow: hidden;
  background-color: #121111;
}

/* Vídeo ocupa toda a área da div esquerda */
.sobre-nos-imagem {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.sobre-nos-video {
  width: 100%;
  height: 100vh;
  object-fit: cover; /* mantém proporção e preenche div */
}

/* Conteúdo à direita */
.sobre-nos-conteudo {
  flex: 1;
  background: var(--black);
  color: #fff;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 15rem;
}

.sobre-nos-conteudo h1 {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 64px;
  font-weight: 200;
  margin-bottom: 2rem;
  margin-top: 20rem;
}

.sobre-nos-conteudo p {
  font-family: "Avenir", sans-serif;
  margin-bottom: 1.2rem;
  line-height: 1.7;
  font-size: 15px;
  text-align: justify;
}

.sobre-nos-conteudo strong {
  font-weight: bold;
}

.sobre-btn {
  display: flex; /* flex container para texto + ícone */
  align-items: center;
  justify-content: space-between; /* texto à esquerda, ícone à direita */
  gap: 1rem;

  background-color: var(--gold);
  color: var(--black);
  border: none;
  padding: 1rem 4rem; /* tamanho do botão */
  text-transform: uppercase;
  font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  width: fit-content; /* botão com largura mínima */

  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;

  text-decoration: none; /* remove sublinhado */
}

/* Remove sublinhado em qualquer estado do link */
.sobre-btn,
.sobre-btn:visited,
.sobre-btn:hover,
.sobre-btn:active {
  text-decoration: none;
}

/* Ícone dentro do botão */
.sobre-btn-icon {
  width: 20px;
  height: auto;
  transition: transform 0.3s ease;
}

/* Hover do botão */
.sobre-btn:hover {
  background-color: var(--dark-gold);
  transform: translateY(-2px);
}

/* Hover do ícone */
.sobre-btn:hover .sobre-btn-icon {
  transform: translateX(4px); /* animação do ícone para a direita */
}

/* ================= BANNER PORTFÓLIO ================= */


/* ================= FILTROS ================= */
.portfolio-filters {
  display: flex;
  justify-content: left;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.filter-btn {
  padding: 0;
  border: none;
  background: none;
  color: var(--black);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
  text-decoration: underline;
}

.botoes-portfolio-wrapper {
  padding: 1rem 4rem 6rem; /* 1rem cima (pouco espaço), 4rem laterais, 6rem baixo */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
}

.botao-portfolio {
  background: var(--black);
  color: var(--white);
  padding: 18px 60px;
  text-decoration: none;
  font-family: "Century Gothic Pro", Century Gothic, CenturyGothic, AppleGothic;
  font-size: 20px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.botao-portfolio:hover {
  opacity: 0.85;
}

/* ================= SEÇÃO DESTAQUES ================= */
.destaques {
  flex: 1; /* cresce para ocupar o espaço disponível */
  padding: 4rem;
  background-color: var(--dirty-white);
  display: flex;
  flex-direction: column;
}

.destaques-header {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 3rem;
  font-weight: normal;
}

.carousel-container {
  flex: 1;
  display: flex;
  justify-content: center; /* centra horizontalmente */
  align-items: flex-start; /* topo do container sempre alinhado */
  overflow: hidden;
}

.carousel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  align-content: start; /* não esticar */
}

.carousel-card-link,
.carousel-card {
  height: 100%; /* garante que o cartão preenche a célula do grid */
}

.carousel-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.carousel-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carousel-card:hover .carousel-card-image {
  transform: scale(1.05);
}

.carousel-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-card:hover .carousel-card-overlay {
  opacity: 1;
}

.carousel-card-text {
  font-family: "Roboto Condensed", sans-serif;
  color: white;
  font-size: 18px;
  text-align: center;
  font-weight: normal;
  text-transform: uppercase;
}

.carousel-card-link {
  display: block; /* ocupa todo o cartão */
  text-decoration: none;
  color: inherit;
}

.carousel-card-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-card-link.hidden {
  display: none;
}

.carousel-card-link:hover,
.carousel-card-link:active,
.carousel-card-link:visited {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}


/* ================= SEÇÃO O QUE FAZEMOS ================= */
.oquefazemos {
  flex: 1;
  padding: 4rem;
  background-color: var(--dirty-white);
  display: flex;
  flex-direction: column;
}

.oquefazemos-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  width: 100%; /* garante largura total */
  padding: 0; /* remove qualquer padding extra */
}

.oquefazemos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-content: start;
  width: 100%; /* força o grid a ocupar toda largura disponível */
  max-width: none; /* evita limitação */
  margin: 0; /* remove margens */
}

.oquefazemos-link,
.oquefazemos-card {
  height: 100%;
}

.oquefazemos-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.oquefazemos-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oquefazemos-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1; /* SEMPRE VISÍVEL */
}

.oquefazemos-text {
  font-family: "Roboto Condensed", sans-serif;
  color: white;
  font-size: 18px;
  text-align: center;
  font-weight: normal;
  text-transform: uppercase;
}

.oquefazemos-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.oquefazemos-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oquefazemos-link:hover,
.oquefazemos-link:active,
.oquefazemos-link:visited {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}


/* ============================================
   PÁGINA DE SERVIÇO - HERO (vídeo esquerdo + texto direito)
   ============================================ */
.svc-hero {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.svc-hero-left {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.svc-hero-video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.svc-hero-right {
  flex: 1;
  padding: 70px 70px;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}

.svc-intro {
  font-family: "Avenir", sans-serif;
  font-size: 15px;
  color: var(--black);
  margin-bottom: 24px;
  line-height: 1.6;
  text-align: justify;
}

.svc-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 12px 20px;
  font-family: "Avenir", sans-serif;
  font-size: 15px;
  color: var(--black);
  line-height: 1.6;
  padding: 0;
  margin: 0;
  list-style: none;
}

.svc-features li {
  margin: 0; /* Remove margins antigos */
  position: relative;
  padding-left: 24px; /* Espaço para a seta */
}

.svc-features li::before {
  content: "➤"; /* Seta Unicode (ou usa "→" / "►" se preferires) */
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold); /* #d1a24a */
  font-size: 18px; /* Ajusta tamanho da seta */
  font-weight: bold;
}

/* Pavilhões */

.pav-features {
  display: flex;
  flex-direction: column; /* Tudo seguido verticalmente */
  gap: 8px; /* Espaço entre itens */
  font-family: "Avenir", sans-serif;
  font-size: 18px;
  color: var(--black);
  line-height: 1.6;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pav-features li {
  margin: 0;
  position: relative;
  padding-left: 24px;
}

.pav-features li::before {
  content: "➤";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 18px;
  font-weight: bold;
}

/* ============================================
   SELETOR DE PROJETOS (só nomes, sem imagens)
   ============================================ */
.svc-project-selector {
  width: 100%;
  padding-left: 3rem;
  padding-bottom: 2rem;
  padding-top: 2rem;
  background: var(--white);
}

.svc-related-title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 50px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2rem;
  padding-left: 1rem;
}

.svc-selector-container {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  height: 60px;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0 20px;
  box-sizing: border-box;
}

.svc-selector-container::-webkit-scrollbar {
  display: none;
}

.svc-selector-track {
  display: flex;
  gap: 16px;
  height: 100%;
}

.svc-selector-item {
  flex-shrink: 0;
  width: auto;
  padding: 10px 24px;
  height: 50px;
  background: var(--white);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: "Century Gothic Pro", Century Gothic, CenturyGothic, AppleGothic;
  font-size: 16px;
  color: var(--black);
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.svc-selector-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.svc-selector-item.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

/* ============================================
   SLIDER FULLSCREEN (drag + imagens visíveis)
   ============================================ */
.svc-slider-section {
  width: 100%;
  height: 60vh;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  padding-bottom: 1rem;
}

.svc-slider-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.svc-slider-group {
  display: none;
  width: 100%;
  height: 100%;
}

.svc-slider-group.active {
  display: block;
}

.svc-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}

.svc-slider-container::-webkit-scrollbar {
  display: none;
}

.svc-slider-wrapper.grabbing .svc-slider-container {
  cursor: grabbing;
}

.svc-slider-track {
  display: flex;
  gap: 10px;
  height: 100%;
  width: fit-content;
}

.svc-slider-track img {
  height: 100%;
  width: auto;
  object-fit: cover;
  user-select: none;
  flex-shrink: 0;
  border-radius: 6px;
}


/* MAIN LAYOUT 50/50 */
.contactos-container {
  display: flex;
  margin-top: 6rem;
  background-color: #121111;
}

/* SEÇÃO ESQUERDA - INFOS */
.contactos-info {
  flex: 1; /* ocupa metade da largura */
  background-color: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  padding-left: 4rem;
  justify-content: center; /* centraliza verticalmente */
  align-items: flex-start; /* alinha os itens à esquerda */
  position: relative;
  text-align: left;
  height: 100vh; /* garante que o texto fique alinhado à esquerda */
}

/* Título e itens */
.contactos-title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 24px;
  font-weight: 100;
  margin-bottom: 2rem;
  text-transform: uppercase;
  padding-bottom: 1rem;
}

.contactos-item {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.contactos-item-label {
  font-family: "Avenir", sans-serif;
  font-size: 16px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
  font-weight: bold;
}

.contactos-item-value {
  font-family: "Avenir", sans-serif;
  font-size: 16px;
  color: var(--white);
}

.contactos-item a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contactos-item a:hover {
  color: var(--gold);
}

/* Linha decorativa */
.contactos-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

/* SEÇÃO DIREITA - LOGO */
.contacto-section {
  display: flex;
  width: 100%;
  height: 70vh; /* altura da seção */
}

/* Metade do formulário */
.contacto-form-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black);
}

/* O formulário ocupa 80% da coluna */
#contact-form {
  width: 80%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contact-form h2 {
  color: var(--gold);
  font-family: "Roboto Condensed", sans-serif;
  font-weight: normal;
  font-size: 40px;
  text-align: center;
  margin-bottom: 2rem;
}

#contact-form label {
  color: white;
  font-size: 16px;
}

#contact-form input {
  padding: 0.8rem;
  font-size: 16px;
  border-radius: 5px;
  border: none;
}

#contact-form button {
  background-color: var(--gold);
  color: var(--black);
  border: none;
  padding: 1rem;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#contact-form button:hover {
  background-color: var(--dark-gold);
  transform: translateY(-2px);
}

/* Metade vazia da tela */
.contacto-empty-section {
  flex: 1;
  background-color: var(--dirty-white);
}

/* CHECKBOX DE TERMOS E CONDIÇÕES */
.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.terms-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  padding: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--gold);
}

.terms-checkbox label {
  color: white;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
}

.terms-checkbox label a {
  color: var(--gold);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.terms-checkbox label a:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .terms-checkbox {
    gap: 0.6rem;
  }

  .terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
  }

  .terms-checkbox label {
    font-size: 13px;
  }
}



/* ========== FOOTER ========== */
footer {
  --footer-gap: clamp(3rem, 4vw, 5rem);

  padding: 4rem;
  background-color: var(--black);
  display: grid;
  grid-template-columns: auto minmax(2rem, 1fr) auto auto;
  column-gap: var(--footer-gap);
  row-gap: 4rem;
  align-items: flex-start;
}

.footer-logo {
  grid-column: 1;
  font-size: 4rem;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 2px;
  cursor: pointer;
  user-select: none;
  min-width: 0;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  max-width: 100%;
  display: block;
}

.footer-badge {
  grid-column: 3;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
}

.footer-badge-img {
  height: 120px;
  width: auto;
  max-width: 100%;
  display: block;
}

.footer-links {
  grid-column: 4;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  column-gap: var(--footer-gap);
  justify-self: end;
  justify-items: start;
  text-align: left;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

.footer-column {
  text-align: left;
  min-width: 0;
  max-width: 100%;
}

.footer-column h4 {
  font-family: "Avenir", sans-serif;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.footer-column ul {
  list-style: none;
  text-align: left;
}

.footer-column li {
  margin-bottom: 0.3rem;
  text-align: left;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;
  font-family: "Avenir", sans-serif;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
  white-space: normal;
  overflow-wrap: anywhere;
}

.footer-column a:hover {
  opacity: 0.7;
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 1rem;
  margin-top: -1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: "Avenir", sans-serif;
  font-size: 0.85rem;
  color: #ffffff;
  min-width: 0;
}

.copyright,
.produzido-por {
  opacity: 0.8;
}

.produzido-por a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.produzido-por a:hover {
  opacity: 0.7;
}

/* Footer tablet / small desktop */
@media (min-width: 769px) and (max-width: 1200px) {
  footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo badge"
      "links links"
      "bottom bottom";
    padding: 3.5rem;
    column-gap: 3rem;
    row-gap: 3rem;
    align-items: start;
  }

  .footer-logo {
    grid-area: logo;
    width: 100%;
  }

  .footer-logo-img {
    height: 80px;
  }

  .footer-badge {
    grid-area: badge;
    justify-self: end;
    align-self: start;
  }

  .footer-badge-img {
    height: 115px;
  }

  .footer-links {
    grid-area: links;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 3rem;
    justify-self: stretch;
    justify-items: start;
    text-align: left;
    margin: 0;
  }

  .footer-bottom {
    grid-area: bottom;
    width: 100%;
  }
}

/* Footer mobile */
@media (max-width: 768px) {
  footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "logo logo"
      "edificarte legal"
      "social badge"
      "bottom bottom";
    padding: 3rem 2rem;
    column-gap: 2rem;
    row-gap: 2.5rem;
    align-items: start;
  }

  .footer-logo {
    grid-area: logo;
    justify-self: center;
    text-align: center;
    width: 100%;
  }

  .footer-logo-img {
    width: min(100%, 520px);
    height: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-links {
    display: contents;
  }

  .footer-column {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .footer-column:nth-child(1) {
    grid-area: edificarte;
  }

  .footer-column:nth-child(2) {
    grid-area: legal;
  }

  .footer-column:nth-child(3) {
    grid-area: social;
  }

  .footer-column h4,
  .footer-column ul,
  .footer-column li {
    width: 100%;
    text-align: left;
  }

  .footer-badge {
    grid-area: badge;
    justify-self: center;
    align-self: center;
    text-align: center;
  }

  .footer-badge-img {
    height: clamp(95px, 28vw, 125px);
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-bottom {
    grid-area: bottom;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-top: 0;
  }
}

/* =====================
   BADGE MODAL
   ===================== */

.footer-badge-img {
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.footer-badge-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.badge-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.badge-modal-overlay:not([hidden]) {
    opacity: 1;
}

.badge-modal-overlay[hidden] {
    display: none !important;
}

.badge-modal-content {
    position: relative;
    max-width: 420px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    transform: scale(0.92);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: #fff;
}

.badge-modal-overlay:not([hidden]) .badge-modal-content {
    transform: scale(1);
}

.badge-modal-img {
    width: 100%;
    height: auto;
    display: block;
}

.badge-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background 0.15s ease, transform 0.15s ease;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.badge-modal-close:hover {
    background: #fff;
    transform: scale(1.1);
}

/* Mobile */
@media (max-width: 480px) {
    .badge-modal-content {
        max-width: 100%;
    }
}

/* Footer extra small mobile */
@media (max-width: 380px) {
  footer {
    padding: 2.5rem 1.5rem;
    column-gap: 1.25rem;
    row-gap: 2rem;
  }

  .footer-column h4,
  .footer-column a {
    font-size: 0.8rem;
  }

  .footer-badge-img {
    height: 95px;
  }

  .footer-bottom {
    font-size: 0.78rem;
  }
}

/* Footer print */
@media print {
  footer {
    background-color: #f0f0f0;
    color: #000000;
  }

  .footer-column h4,
  .footer-column a,
  .footer-bottom,
  .produzido-por a {
    color: #000000;
  }
}




/* =============================================
   CORREÇÃO HEADER - Remove linha branca 
   ============================================= */

/* Garante que body e html não têm padding/margin extra */
html, body {
  padding: 0 !important;
  margin: 0 !important;
}

/* Corrige margin-top para contactos-container */
.contactos-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Garante que sobre-nos-wrapper começa no topo */
.sobre-nos-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}




/* ==================== MEDIA QUERIES COMBINADAS ==================== */

/* ===== MOBILE / TABLET (até 768px) ===== */
@media (max-width: 768px) {
  /* Header e Menu */
  header,
  .sobre-nos-page header {
    padding: 15px 20px;
  }
  .logo img.logo-img {
    height: 55px;
  }
  .menu-toggle,
  .sobre-nos-page .menu-toggle {
    font-size: 32px;
  }
  .mobile-menu {
    width: 70%;
    padding: 30px;
  }
  .mobile-menu a {
    font-size: 22px;
  }

  /* Banner */
  .banner {
    height: 100vh;
    padding: 2rem;
  }

  /* Mostra vídeo mobile, esconde desktop */
  .banner-video-desktop {
    display: none;
  }
  .banner-video-mobile {
    display: block;
  }

  .banner h1 {
    font-size: 50px;
    margin-bottom: 4rem;
  }
  .banner-btn {
    font-size: 16px;
    padding: 1rem 2rem;
  }
  .banner-btn-icon {
    width: 18px;
  }

  /* Portfolio Banner */
  .portfolio-banner h1 {
    font-size: 36px;
    margin-top: 8rem;
    margin-left: 1rem;
  }

  body:has(.politica-section) .portfolio-banner h1 {
    text-align: center;
    margin-left: 0;
  }
  .portfolio-filters {
    gap: 1rem;
    padding: 0 1.5rem;
  }
  .filter-btn {
    font-size: 18px;
  }

  /* POLITICA */

  .politica-section {
        padding: 2rem 1rem;
    }
    .section-title {
        font-size: 24px;
    }
    .politica-section p, 
    .politica-section li {
        font-size: 16px;
    }
    .politica-highlight {
        padding: 1rem;
        margin: 1.5rem 0;
    }

  /* Serviços */
  .servicos {
    padding: 2rem 2rem 0rem;
    height: auto;
  }
  .servicos-header {
    font-size: 24px;
    margin-bottom: 2rem;
  }
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    justify-content: center;
  }
  .servico-card h3 {
    font-size: 16px;
  }
  .servico-icon-img {
    width: 50px;
  }
  /* O QUE FAZEMOS */
  .svc-hero {
    flex-direction: column;
    min-height: auto;
  }
  
  .svc-hero-left{
    width: 100%;
  }

  .svc-hero-right {
    width: 100%;
    padding: 2rem;
  }

  .svc-features li{
    font-size: 14px;
  }

  .pav-features li{
    font-size: 14px;
  }

  .svc-project-selector{
    width: 100%;
    padding: 1rem;
  }
  

  .svc-related-title{
    font-size: 28px;
  }
  
  .svc-hero-video {
    height: 50vh;
  }
  
  .svc-title {
    font-size: 28px;
  }
  
  .svc-intro {
    font-size: 13px;
  }
  
  .svc-features {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  gap: 10px 24px;
  font-size: 12px;
  }
  
  .svc-selector-item {
    font-size: 13px;
    padding: 8px 16px;
  }
  
  .svc-selector-container {
    height: 50px;
  }
  
  .svc-slider-section {
    height: 40vh;
  }

  /* Destaques MAIN */
  .destaques-main {
    padding: 2rem; /* padding equilibrado para mobile */
  }

  .destaques-main-header {
    font-size: 24px;
    margin-bottom: 1.5rem;
  }

  .sobre-nos-titulo{
    font-size: 24px;
  }

  /* Container do carrossel */
  .carousel-main-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .oquefazemos {
    padding: 1rem;
  }

  .oquefazemos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    grid-auto-rows: auto; /* altura natural do conteúdo */
  }

  .oquefazemos-link,
  .oquefazemos-card {
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: 250px; /* altura máxima desejada */
    border-radius: 6px;
    overflow: hidden;
    position: relative;
  }

  .oquefazemos-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Overlay SEMPRE visível em mobile */
  .oquefazemos-overlay {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .oquefazemos-text {
    font-size: 16px;
    color: #fff;
    text-align: center;
    padding: 0 0.5rem;
  }

  /* Remove hover effects em mobile */
  .oquefazemos-card:hover {
    transform: none !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
  }

  .oquefazemos-card:hover .oquefazemos-image {
    transform: none !important;
  }

  .oquefazemos-card:hover .oquefazemos-overlay {
    opacity: 1 !important;
  }

  /* botoes projeto */
  .botoes-portfolio-wrapper {
    flex-direction: column; /* Vertical: linha 1 (Portfolio), linha 2 (Próximo) */
    align-items: self-start; /* Centraliza horizontalmente */
    gap: 1.5rem; /* Espaço entre as duas linhas */
    padding: 1rem 2rem 4rem 2rem;
    padding-bottom: 2rem;
  }
  
  .botao-portfolio {
    width: 100%; /* Largura total em cada linha, opcional */
    max-width: 300px; /* Limita largura para não ficar gigante */
    text-align: left;
  }

  /* Grid dos cartões */
  .carousel-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ✅ 2 colunas iguais */
    gap: 1rem;
    margin: 0;
    padding: 0;
    /* altura total do container - pode ser ajustada conforme necessidade */
    min-height: auto; 
  }

  /* Link que envolve o cartão */
  .carousel-main-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%; /* ocupa toda a célula do grid */
  }

  /* Cartão individual */
  .carousel-main-card {
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto; /* altura automática do cartão conforme conteúdo */
  }

  /* Imagem do cartão - altura total do cartão */
  .carousel-main-card-image {
    display: block;
    width: 100%;
    height: 100%; 
    object-fit: cover;
  }

  /* Overlay do texto */
  .carousel-main-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* cobre toda a imagem */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    opacity: 1 !important;
  }

  /* Texto dos cartões */
  .carousel-main-card-text {
    font-size: 16px;
    color: #fff;
    text-align: center;
    padding: 0 0.5rem;
  }

  /* Hover do cartão */
  .carousel-main-card:hover {
    transform: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  .carousel-main-card:hover .carousel-main-card-image {
    transform: none;
  }

  .carousel-main-card:hover .carousel-main-card-overlay {
    opacity: 1 !important;
  }

    /* Contactos */
.contactos-container {
flex-direction: column;
}
.contactos-info {
  margin-top: 6rem;
padding: 3rem 4rem;
height: 60vh;
text-align: left;
justify-content: center;
}
.contactos-title {
font-size: 28px;
}
.contactos-item-label,
.contactos-item-value {
font-size: 16px;
}


/* Formulário Contacto */
.contacto-form-section {
width: 100%;
padding: 3rem 2rem;
justify-content: center;
}
#contact-form {
width: 90%;
}
#contact-form h2 {
font-size: 32px;
text-align: left
}
#contact-form label,
#contact-form input,
#contact-form button {
font-size: 16px;
}

  /* Sobre Nós */
  .sobre-nos-wrapper {
    flex-direction: column;
    height: auto;
  }

  .sobre-nos-imagem {
    height: 50vh; /* altura menor em mobile */
  }

  .sobre-nos-texto{
    font-size: 16px;
  }

  .sobre-nos-conteudo {
    padding: 2rem;
    margin-bottom: 0;
  }

  .sobre-nos-conteudo h1 {
    font-size: 42px;
    margin-top: 3rem;
  }

  .sobre-nos-conteudo p {
    font-size: 13px;
  }

  .sobre-btn {
    font-size: 16px;
    padding: 1rem 2rem;
  }

  .sobre-nos {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 3rem;
  }

/* Orçamento */
  .orcamento {
    grid-template-columns: 1fr;
    padding: 2rem;
    text-align: center;
  }
  .orcamento-btn {
    font-size: 16px;
    padding: 1rem 3rem;
  }
  .orcamento-btn-icon {
    width: 18px;
  }
  .orcamento-texto {
    font-size: 16px;
  }
    /* Projeto Info */
  .projeto-info {
    max-width: 100%;
    margin-top: 3rem;
  }
  .projeto-titulo {
    font-size: 28px;
    margin-top: 15px;
  }
  .categoria,
  .ano {
    font-size: 18px;
  }
  .projeto-descricao-completa {
    font-size: 15px;
  }

  .secao1 { 
    flex-direction: column; 
    height: auto; 
  }

  .secao1-left { 
    width: 100%; 
    padding: 2rem; 
    margin-top: 2rem;
    padding-bottom: 0rem;
  }
 
  .secao1-right { 
    width: 100%; 
    padding: 1.5rem; 
    padding-top: 0rem;
  }
  
  /* ✅ ESCONDE SÓ A IMAGEM NO MOBILE */
  .projeto-imagem-container {
    display: none;  /* Remove imagem esquerda */
  }
  
  .secao1-right .imagem-fullscreen { 
    height: 100vh;  /* Vídeo continua visível */
    width: 100%;
  }

 
  /* Slider */
  .slider-container {
    height: 30vh;
  }

  /* Destaques - regras atuais */
.destaques {
  padding: 1rem;
}

.destaques-header {
  font-size: 24px;
  margin-bottom: 2rem;
}

/* Grid de cartões */
.carousel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  grid-auto-rows: auto; /* cada linha se ajusta ao conteúdo */
}

/* Cartões e links */
.carousel-card-link,
.carousel-card {
  display: flex;
  flex-direction: column;
  height: auto;        /* ⚡ altura natural do conteúdo */
  max-height: 250px;   /* altura máxima desejada */
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

/* Imagem do cartão */
.carousel-card-image {
  width: 100%;
  height: 100%; /* ocupa toda a altura do cartão */
  object-fit: cover;
  display: block;
}

/* Overlay sempre visível em mobile */
.carousel-card-overlay {
  opacity: 1 !important;
  background: rgba(0, 0, 0, 0.6) !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Texto dos cartões */
.carousel-card-text {
  font-size: 16px;
  color: #fff;
  text-align: center;
  padding: 0 0.5rem;
}

/* Remove hover effects */
.carousel-card:hover {
  transform: none !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.carousel-card:hover .carousel-card-image {
  transform: none !important;
}

.carousel-card:hover .carousel-card-overlay {
  opacity: 1 !important;
}

}

/* ===== SMALL DESKTOP (769px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Header */
  header,
  .sobre-nos-page header {
    padding: 18px 30px;
  }
  .logo img.logo-img {
    height: 60px;
  }

  .banner {
    height: 80vh;
    padding: 3rem 2rem;
  }

  .banner h1 {
    font-size: 48px;
    margin-bottom: 6rem;
  }
  .banner-btn {
    font-size: 18px;
    padding: 1rem 3rem;
  }
  .banner-btn-icon {
    width: 20px;
  }

  .oquefazemos {
    padding: 3rem;
  }

  .oquefazemos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .oquefazemos-text {
    font-size: 20px;
  }

  /* o que fazemos */

  .svc-hero {
    flex-direction: column;
    min-height: auto;
  }
  .svc-hero-right {
    padding: 2rem
  }

  .svc-project-selector{
    padding: 1rem;
  }
  
  .svc-title {
    font-size: 32px;
  }
  
  .svc-selector-item {
    font-size: 13px;
    padding: 10px 20px;
  }
  
  .svc-slider-section {
    height: 50vh;
  }

  /* Portfolio Banner */
  .portfolio-banner h1 {
    font-size: 56px;
    margin-top: 9rem;
    margin-left: 2rem;
    text-align: left;
  }
  .portfolio-filters {
    justify-content: left;
    gap: 3rem;
    padding: 0 2rem;
  }
  .filter-btn {
    font-size: 20px;
  }

  .botoes-portfolio-wrapper {
    flex-direction: column; /* Vertical: linha 1 (Portfolio), linha 2 (Próximo) */
    align-items: self-start; /* Centraliza horizontalmente */
    gap: 1.5rem; /* Espaço entre as duas linhas */
    padding: 1rem 2rem 4rem 2rem;
    padding-bottom: 2rem;
  }
  
  .botao-portfolio {
    width: 100%; /* Largura total em cada linha, opcional */
    max-width: 300px; /* Limita largura para não ficar gigante */
    text-align: left;
  }

  /* Serviços */
  .servicos {
    padding: 3rem;
  }
  .servicos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0rem;
  }
  .servico-card h3 {
    font-size: 14px;
  }

  /* Destaques MAIN */
  .destaques-main {
    padding: 3rem;
  }
  .destaques-main-header {
    font-size: 26px;
    margin-bottom: 2.5rem;
  }
  .carousel-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .carousel-main-card-text {
    font-size: 20px;
  }


   /* Formulário Contacto */
  .contacto-form-section {
    padding: 3rem 6rem;
    justify-content: left;
  }
  #contact-form {
    width: 80%;
    max-width: 500px;
  }
  #contact-form h2 {
    font-size: 36px;
    align-self: flex-start;
  }
  #contact-form label,
  #contact-form input,
  #contact-form button {
    font-size: 16px;
  }


  /* Sobre Nós */
  .sobre-nos {
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
    gap: 3rem;
  }
  .sobre-nos-titulo {
    font-size: 28px;
  }
  .sobre-nos-texto {
    font-size: 18px;
  }
  .sobre-nos-page {
    font-size: 32px;
  }

  .sobre-nos-wrapper {
    height: 100vh;
  }
  .sobre-nos-imagem {
    height: 90vh;
  }
  .sobre-nos-conteudo {
    padding: 3rem;
  }
  .sobre-nos-conteudo h1 {
    font-size: 52px;
    margin-top: 6rem;
  }
  .sobre-nos-conteudo p {
    font-size: 18px;
  }
  .sobre-btn {
    padding: 1rem 3.5rem;
    font-size: 18px;
    margin-top: 8rem;
  }

  /* Orçamento */
  .orcamento {
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
  }
  .orcamento-btn {
    font-size: 18px;
    padding: 1rem 3rem;
  }
  .orcamento-btn-icon {
    width: 20px;
  }
  .orcamento-texto {
    font-size: 18px;
  }

    /* Projeto Info */
  .projeto-info {
    max-width: 100%;
    margin-top: 3rem;
  }
  .projeto-titulo {
    font-size: 28px;
    margin-top: 15px;
  }
  .categoria,
  .ano {
    font-size: 18px;
  }
  .projeto-descricao-completa {
    font-size: 15px;
  }

  .secao1 { 
    flex-direction: column; 
    height: auto; 
  }

  .secao1-left { 
    width: 100%; 
    padding: 2rem; 
    margin-top: 2rem;
    padding-bottom: 0rem;
  }
 
  .secao1-right { 
    width: 100%; 
    padding: 2rem; 
    padding-top: 0rem;
  }
  
  /* ✅ ESCONDE SÓ A IMAGEM NO MOBILE */
  .projeto-imagem-container {
    display: none;  /* Remove imagem esquerda */
  }
  
  .secao1-right .imagem-fullscreen { 
    height: 100vh;  /* Vídeo continua visível */
    width: 100%;
  }


  /* Slider */
  .slider-container {
    height: 55vh;
  }

  /* Destaques */
  .destaques {
    padding: 3rem;
  }
  .destaques-header {
    font-size: 26px;
    margin-bottom: 2.5rem;
  }
  .carousel {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .carousel-card-text {
    font-size: 20px;
  }

}

/* ===== MEDIUM DESKTOP (1025px - 1440px) ===== */
@media (min-width: 1025px) and (max-width: 1440px) {
  /* Header */
  header,
  .sobre-nos-page header,
  .sobre-nos header {
    padding: 20px 40px;
  }
  .logo img.logo-img {
    height: 70px;
  }
  .mobile-menu {
    width: 40%;
  }
  .mobile-menu a {
    font-size: 28px;
  }

  /* Banner */
  .banner {
    height: 90vh;
    padding: 4rem;
  }

  .banner h1 {
    font-size: 64px;
    margin-bottom: 10rem;
  }
  .banner-btn {
    font-size: 20px;
    padding: 1rem 4rem;
  }

  /* Sobre Nós */
  .sobre-nos {
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
    gap: 3rem;
  }
  .sobre-nos-titulo {
    font-size: 28px;
  }
  .sobre-nos-texto {
    font-size: 18px;
  }
  .sobre-nos-page {
    font-size: 32px;
  }

  .sobre-nos-imagem {
    height: 90vh;
  }
  .sobre-nos-conteudo {
    padding: 3rem;
    margin-top: -4rem;
    margin-bottom: 0rem;
  }
  .sobre-nos-conteudo h1 {
    font-size: 52px;
    margin-top: 6rem;
  }
  .sobre-nos-conteudo p {
    font-size: 18px;
  }

  .sobre-nos-wrapper{
    height: auto;
  }

  .sobre-nos-video{
    height: auto;
  }
  .sobre-btn {
    padding: 1rem 3.5rem;
    font-size: 18px;
  }

  /* Portfolio Banner */
  .portfolio-banner h1 {
    font-size: 64px;
    margin-top: 10rem;
    margin-left: 2rem;
  }
  .portfolio-filters {
    gap: 3.5rem;
    padding: 0 2rem;
  }
  .filter-btn {
    font-size: 22px;
  }

  /* Orçamento */
  .orcamento-btn {
    font-size: 20px;
  }
  .orcamento-texto {
    font-size: 20px;
  }

  /* Contactos */
  .contactos-info {
    height: 100vh;
  }
  .contactos-title {
    font-size: 25px;
  }
  .contactos-item-label {
    font-size: 18px;
  }
  .contactos-item-value {
    font-size: 16px;
  }

  /* Orçamento */
  .orcamento-btn {
    font-size: 20px;
  }
  .orcamento-texto {
    font-size: 20px;
  }

  /* Formulário Contacto */
  .contacto-form-section {
    padding: 4rem 5rem;
  }
  #contact-form h2 {
    font-size: 40px;
  }
  #contact-form label,
  #contact-form input,
  #contact-form button {
    font-size: 16px;
  }

  /* o que fazemos */

  .svc-hero-right {
    padding: 60px 50px;
  }
  
  .svc-title {
    font-size: 36px;
  }
  
  .svc-slider-section {
    height: 55vh;
  }
}

/* ===== LARGE DESKTOP (1441px - 3000px) ===== */
@media (min-width: 1441px) and (max-width: 3000px) {
  .logo img.logo-img {
    height: 80px;
  }

  /* Banner */
  .banner h1 {
    font-size: 72px;
  }
  .banner-btn {
    font-size: 18px;
    padding: 1.2rem 5rem;
  }

  /* Portfolio Banner */
  .portfolio-banner h1 {
    font-size: 72px;
    margin-top: 12rem;
    margin-left: 3rem;
  }
  .portfolio-filters {
    padding: 0 3rem;
  }

  /* Serviços */
  .servicos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .servico-card h3 {
    font-size: 24px;
  }

  /* Destaques */
  .destaques-main-header {
    font-size: 30px;
  }
  .carousel-main {
    grid-template-columns: repeat(6, 1fr);
    gap: 2.5rem;
  }
  .carousel-main-card-text {
    font-size: 18px;
  }

  /* Sobre Nós */
  .sobre-nos-titulo {
    font-size: 30px;
  }
  .sobre-nos-texto {
    font-size: 22px;
  }
  
  .sobre-nos-conteudo h1 {
    font-size: 40px;
  }
  .sobre-btn {
    font-size: 18px;
    padding: 1.5rem 6rem;
    margin-top: 1rem;
  }

  .orcamento-btn {
    font-size: 18px;
  }
  .orcamento-texto {
    font-size: 22px;
  }

  /* Contactos */
  .contactos-info {
    padding: 5rem 12rem;
    height: 100vh;
  }
  .contactos-title {
    font-size: 36px;
  }
  .contactos-item-label,
  .contactos-item-value {
    font-size: 18px;
  }

  /* Formulário Contacto */
  .contacto-form-section {
    padding: 9rem 6rem;
  }
  #contact-form h2 {
    font-size: 44px;
  }
  #contact-form label,
  #contact-form input,
  #contact-form button {
    font-size: 18px;
  }

  /* Projeto Info */
  .secao1-left {
    padding: 4rem 6rem;
  }

  .projeto-titulo {
    font-size: 42px;
  }
  .categoria,
  .ano {
    font-size: 24px;
  }
  .projeto-descricao-completa {
    font-size: 18px;
  }

  .oquefazemos {
    padding: 4.5rem;
  }

  .oquefazemos-header { /* Se tiveres header, adiciona */
    font-size: 30px;
  }

  .oquefazemos-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 2.5rem;
  }

  .oquefazemos-text {
    font-size: 18px;
  }


  /* Destaques */
  .destaques-header {
    font-size: 30px;
  }
  .carousel {
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
  }
  .carousel-card-text {
    font-size: 18px;
  }

  }


/* ===== PRINT MEDIA ===== */
@media print {
  /* Header e Menu */
  header,
  .sobre-nos-page header,
  .menu-toggle,
  .mobile-menu,
  .sobre-btn {
    display: none;
  }

  /* Body */
  body {
    background-color: white;
    color: black;
  }

  /* Seções principais */
  .banner,
  .servicos,
  .sobre-nos,
  .orcamento,
  .destaques,
  .oquefazemos{
    padding: 1rem;
  }
  .banner h1,
  .servicos-header,
  .sobre-nos-titulo,
  .orcamento-texto,
  .carousel-card-text {
    color: black;
  }

  /* Portfolio */
  .portfolio-banner h1 {
    color: black;
  }
  .portfolio-filters {
    display: block;
  }

  /* Secao1 e Sobre-nos específicas */
  .secao1,
  .sobre-nos-wrapper {
    flex-direction: column;
  }
  .secao1-right img,
  .sobre-nos-imagem {
    height: 200px;
  }
  .projeto-info {
    margin-top: 1rem;
  }
  .projeto-descricao-completa,
  .sobre-nos-conteudo {
    background-color: white;
    color: black;
    padding: 2rem;
  }


  /* Carousel */
  .carousel,
  .carousel-main {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .carousel-card-text,
  .carousel-main-card-text {
    color: black;
    font-size: 16px;
  }

  /*footer*/
  footer {
    background-color: #f0f0f0;
  }
}

/* ========== PÁGINA ERRO 404 ========== */
.error-404-page header {
  background-color: var(--white);
  color: var(--black);
}

.error-404-page header .desktop-nav a {
  color: var(--black);
}

.error-404-page header .desktop-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

.error-404-page .menu-toggle {
  color: var(--gold);
}

.error-404 {
  min-height: 100vh;
  padding: 10rem 4rem 6rem;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-404-content {
  max-width: 820px;
  margin: 0 auto;
}

.error-404-label {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 24px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.error-404 h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: clamp(54px, 9vw, 120px);
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.error-404-text {
  font-family: "Avenir", sans-serif;
  font-size: 20px;
  line-height: 1.7;
  color: var(--black);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.error-404-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.error-404-btn {
  background-color: var(--gold);
  color: var(--black);
  padding: 1rem 3rem;
  text-decoration: none;
  font-family: "Century Gothic Pro", Century Gothic, CenturyGothic, AppleGothic, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.error-404-btn:hover {
  background-color: var(--dark-gold);
  transform: translateY(-2px);
}

.error-404-link {
  font-family: "Avenir", sans-serif;
  color: var(--black);
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.25rem;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.error-404-link:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .error-404 {
    padding: 8rem 2rem 4rem;
    min-height: 80vh;
  }

  .error-404-label {
    font-size: 18px;
  }

  .error-404-text {
    font-size: 16px;
  }

  .error-404-actions {
    flex-direction: column;
    gap: 1.25rem;
  }

  .error-404-btn,
  .error-404-link {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}
