/* ============================================================
   FONTES AVENIR
   ============================================================ */
@font-face {
  font-family: 'Avenir';
  src: url('fonts/Avenir-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('fonts/Avenir-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('fonts/Avenir-Regular.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('fonts/Avenir-Heavy.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('fonts/Avenir-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Cursor em coração — elementos interativos */
a,
button,
input[type="submit"],
input[type="button"],
.dot {
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
}

:root {
  --font: 'Avenir', sans-serif;
  --color-dark:    #2c2c2c;
  --color-gray-bg: #58585a;
  --color-beige:   #ede9e3;
  --color-white:   #ffffff;
  --color-text:    #555555;
  --color-heading: #333333;
  --color-red:     #c8291e;
  --nav-height:    88px;
}

html {
  overflow-x: hidden;
}

html, body {
  width: 100%;
  font-family: var(--font);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.6;
}

body {
  padding-top: var(--nav-height);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  z-index: 200;
  width: 100%;
  height: var(--nav-height);
  background: var(--color-white);
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.22);
  border-bottom-color: transparent;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

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

.footer-logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.login-popup__brand-img {
  height: 28px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #444;
  transition: color 0.2s;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--color-heading);
}

.nav-links a.active {
  color: var(--color-heading);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* Dropdown items */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-caret {
  font-size: 11px;
  opacity: 0.6;
  transition: transform 0.2s;
}

.nav-item-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  list-style: none;
  min-width: 180px;
  z-index: 200;
  padding: 12px 0 8px;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown.mobile-open .nav-dropdown {
  display: block;
}

/* Mobile dropdown layout */
@media (max-width: 768px) {
  .nav-item-dropdown {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--color-red);
    background: #f8f8f8;
    min-width: 100%;
    padding: 4px 0;
    margin-bottom: 4px;
  }

  .nav-dropdown li a {
    padding: 8px 20px;
    color: var(--color-heading);
    font-size: 14px;
  }
}

.nav-dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-heading);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-dropdown li a:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-selector {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #444;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  user-select: none;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-arrow {
  font-size: 0.7em;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  background: var(--color-white);
  border: 1px solid #e0e0e0;
  list-style: none;
  padding: 4px 0;
  margin: 0;
  min-width: 60px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 300;
}

.lang-dropdown li {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #444;
  transition: background 0.15s;
}

.lang-dropdown li:hover {
  background: #f5f5f5;
  color: var(--color-heading);
}

.lang-dropdown li.lang-active {
  color: var(--color-heading);
}

.lang-selector.open .lang-dropdown {
  display: block;
}

.btn-login {
  display: inline-block;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  background: none;
  text-decoration: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-heading);
  border: 1.5px solid var(--color-heading);
  padding: 6px 16px;
  transition: background 0.2s, color 0.2s;
}

.btn-login--user {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 160px;
}
.btn-login-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-login:hover,
.btn-login--user:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

/* ============================================================
   LOGIN POPUP
   ============================================================ */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.login-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.login-popup {
  position: relative;
  background: var(--color-white);
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.30);
  transform: translateY(-20px) scale(0.98);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.login-overlay.is-open .login-popup {
  transform: translateY(0) scale(1);
}

/* Header decorativo — banda escura com logo */
.login-popup__header {
  background: var(--color-dark);
  border-bottom: 3px solid var(--color-red);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-popup__brand {
  font-family: var(--font);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.06em;
}
.login-popup__brand .logo-heart { color: var(--color-red); }

/* Botão fechar — sobrepõe o header */
.login-popup__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  padding: 4px 7px;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  color: rgba(255,255,255,.55);
  transition: color 0.15s;
  z-index: 1;
}
.login-popup__close:hover { color: var(--color-white); }

/* Sistema de painéis */
.popup-panel--hidden { display: none; }

/* Área de conteúdo */
.login-popup__body {
  padding: 28px 32px 32px;
}

/* ---- Painel de login ---- */
.login-popup__sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 22px;
}
.login-feedback {
  font-size: 13px;
  margin-bottom: 14px;
  min-height: 18px;
  line-height: 1.4;
}
.login-feedback--err { color: var(--color-red); }
.login-feedback--ok  { color: #2a7a2a; }

.login-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.login-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin-bottom: 7px;
}
.login-field input {
  font-family: var(--font);
  font-size: 15px;
  padding: 11px 13px;
  border: 1.5px solid #c0bbb4;
  background: #fff;
  color: var(--color-dark);
  outline: none;
  transition: border-color 0.18s;
}
.login-field input:focus { border-color: var(--color-red); }

.login-popup__btn {
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-dark);
  color: var(--color-white);
  border: 1.5px solid var(--color-dark);
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.login-popup__btn:hover    { background: var(--color-red); border-color: var(--color-red); }
.login-popup__btn:disabled { opacity: .55; cursor: not-allowed; }

.login-popup__register {
  margin-top: 18px;
  font-size: 13px;
  color: var(--color-text);
}
.login-popup__register a { color: var(--color-red); text-decoration: none; }
.login-popup__register a:hover { text-decoration: underline; }

/* ---- Painel pós-login ---- */
.login-popup__welcome {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-heading);
  margin: 0 0 20px;
}
.login-popup__welcome strong { font-weight: 700; }

.login-popup__nav {
  margin: 0 -32px;
  border-top: 1px solid #e8e3dc;
}
.login-popup__nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 32px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-heading);
  text-decoration: none;
  border-bottom: 1px solid #e8e3dc;
  transition: background 0.15s, color 0.15s;
}
.login-popup__nav-item:hover {
  background: var(--color-beige);
  color: var(--color-red);
}
.login-popup__nav-item--admin {
  color: var(--color-red);
  border-left: 3px solid var(--color-red);
  padding-left: 29px;
}
.login-popup__nav-arrow {
  font-size: 15px;
  transition: transform 0.15s;
}
.login-popup__nav-item:hover .login-popup__nav-arrow {
  transform: translateX(4px);
}

/* Botão logout — padrão btn-outline do projecto */
.login-popup__logout {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 11px 16px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  color: var(--color-dark);
  border: 1.5px solid var(--color-dark);
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.login-popup__logout:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}
.login-popup__logout:disabled { opacity: .55; cursor: not-allowed; }

@media (max-width: 480px) {
  .login-popup__header { padding: 16px 20px; }
  .login-popup__body   { padding: 22px 20px 26px; }
  .login-popup__nav    { margin: 0 -20px; }
  .login-popup__nav-item { padding: 12px 20px; }
  .login-popup__nav-item--admin { padding-left: 17px; }
}

/* ============================================================
   HERO / BANNER SLIDER
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  min-height: 480px;
  overflow: hidden;
  background: #1a1a1a;
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.banner-slider:active {
  cursor: grabbing;
}

.banner-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide.slide-out-left,
.banner-slide.slide-out-right {
  opacity: 0;
}

.banner-slide.slide-in-left,
.banner-slide.slide-in-right {
  animation: none;
}

.banner-slide__video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  background: #000;
}

.banner-slide__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 relativo à largura */
  min-height: 100%;
  min-width: 177.78vh; /* 16:9 relativo à altura */
  transform: translate(-50%, -50%);
  border: 0;
}

.banner-pause {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  border-radius: 50%;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.banner-pause:hover { background: rgba(0, 0, 0, 0.55); }

.banner-pause::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
}

.banner-pause.is-paused::before {
  width: 0;
  height: 0;
  border-left: 11px solid #fff;
  border-right: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 2px;
}

/* Controls bar */
.banner-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  align-items: center;
  z-index: 10;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  padding: 0;
  z-index: 10;
  opacity: 0; /* setas invisíveis: a zona de clique mantém-se */
}

.carousel-btn::after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  border-top: 2px solid rgba(255,255,255,0.9);
  border-right: 2px solid rgba(255,255,255,0.9);
}


.banner-prev { left: 24px; }
.banner-prev::after { transform: rotate(-135deg); }

.banner-next { right: 24px; }
.banner-next::after { transform: rotate(45deg); }

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.banner-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  transition: background 0.2s, width 0.2s, border-radius 0.2s;
  border: none;
}

.dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* Banner caption (título + subtítulo + botão sobrepostos ao slide) */
.banner-caption {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 72px;
  z-index: 5;
  pointer-events: none;
}
.banner-caption a { pointer-events: auto; }
.banner-caption__title {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
  margin: 0 0 12px;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.banner-caption__sub {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 300;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
  margin: 0 0 24px;
  line-height: 1.55;
}
.banner-caption__btn {
  font-size: 13px;
  padding: 10px 26px;
  letter-spacing: 0.09em;
}
@media (max-width: 768px) {
  .banner-caption { bottom: 50px; padding: 0 20px; }
  .banner-caption__btn { font-size: 12px; padding: 8px 18px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-outline {
  display: inline-block;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border: 1.5px solid;
  transition: background 0.2s, color 0.2s;
}

.btn-outline.dark {
  border-color: var(--color-heading);
  color: var(--color-heading);
}

.btn-outline.dark:hover {
  background: var(--color-heading);
  border-color: var(--color-heading);
  color: var(--color-white);
}

.btn-outline.light {
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline.light:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-dark);
}

/* ============================================================
   PERFIL
   ============================================================ */
.perfil-page {
  background: var(--color-beige);
  min-height: calc(100vh - var(--nav-height));
  padding: 60px 80px;
}
.perfil-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* Sidebar */
.perfil-sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.perfil-avatar {
  width: 72px;
  height: 72px;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.perfil-avatar__initials {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.perfil-sidebar__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 4px;
}
.perfil-sidebar__role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 24px;
}
.perfil-sidebar__nav {
  display: flex;
  flex-direction: column;
  border-top: 1.5px solid var(--color-dark);
}
.perfil-nav-item {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-heading);
  text-decoration: none;
  padding: 11px 0;
  border-bottom: 1px solid #d8d3cc;
  transition: color 0.15s;
}
.perfil-nav-item:hover { color: var(--color-red); }
.perfil-nav-item--active { color: var(--color-red); }
.perfil-nav-item--admin {
  color: var(--color-red);
  margin-top: 10px;
  border-top: 1px solid #d8d3cc;
  border-bottom: none;
}

/* Conteúdo */
.perfil-content { flex: 1; min-width: 0; }

.perfil-feedback {
  padding: 12px 16px;
  font-size: 15px;
  margin-bottom: 24px;
  border-left: 3px solid;
}
.perfil-feedback--ok  { border-color: #2a7a2a; background: #f0f7f0; color: #2a7a2a; }
.perfil-feedback--err { border-color: var(--color-red); background: #fdf0f0; color: var(--color-red); }

.perfil-section-title {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-heading);
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--color-dark);
}

.perfil-form {}
.perfil-row {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
}
.perfil-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.perfil-field--full { flex: 1 0 100%; }
.perfil-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin-bottom: 7px;
}
.perfil-field input {
  font-family: var(--font);
  font-size: 15px;
  padding: 11px 13px;
  border: 1.5px solid #c0bbb4;
  background: #fff;
  color: var(--color-dark);
  outline: none;
  transition: border-color 0.18s;
}
.perfil-field input:focus { border-color: var(--color-red); }
.perfil-field input:disabled {
  background: #f0ece7;
  color: var(--color-text);
  cursor: not-allowed;
  border-color: #d8d3cc;
}
.req { color: var(--color-red); }

.perfil-actions {
  margin-top: 10px;
  padding-top: 24px;
  border-top: 1px solid #d8d3cc;
}
.perfil-actions .btn-outline {
  font-family: var(--font);
  font-size: 13px;
  padding: 11px 28px;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
}

@media (max-width: 900px) {
  .perfil-page  { padding: 40px 32px; }
  .perfil-inner { flex-direction: column; gap: 36px; }
  .perfil-sidebar { width: 100%; position: static; }
}
@media (max-width: 600px) {
  .perfil-page { padding: 28px 16px; }
  .perfil-row  { flex-direction: column; gap: 0; }
}

/* ============================================================
   DESTAQUE PRINCIPAL
   ============================================================ */
.destaque {
  width: 100%;
  background: var(--color-white);
  padding: 66px 80px;
}

.destaque-inner {
  display: flex;
  align-items: center;
  gap: clamp(48px, 16vw, 310px);
  max-width: 1430px;
  margin: 0 auto;
}

.destaque-img-wrap {
  flex: 0 1 760px;
}

.destaque-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.destaque-text h2 {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-heading);
  line-height: 1.15;
  margin-bottom: 18px;
}

.destaque-text p {
  font-size: 18px;
  line-height: 2.3;
  color: var(--color-text);
  margin-bottom: 28px;
}

/* ============================================================
   SPLIT SECTIONS (PRODUTOS / COLEÇÕES)
   ============================================================ */
.split-section {
  width: 100%;
  display: flex;
  height: 700px;
}

.split-panel {
  width: 50%;
}

.split-img {
  background-size: cover;
  background-position: center;
}

.split-text {
  display: flex;
  align-items: center;
}

.panel-content {
  padding: 60px 72px 60px 130px;
  max-width: 720px;
}

/* --- Gray panel (Produtos) --- */
.gray-panel {
  background: var(--color-gray-bg);
}

.gray-panel .panel-content h2 {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-white);
  margin-bottom: 18px;
}

.gray-panel .panel-content p {
  font-size: 18px;
  line-height: 2.3;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.gray-panel .panel-content p:last-of-type {
  margin-bottom: 28px;
}

/* --- White panel (Coleções) --- */
.white-panel {
  background: var(--color-white);
}

.white-panel .panel-content h2 {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-heading);
  margin-bottom: 18px;
}

.white-panel .panel-content p {
  font-size: 18px;
  line-height: 2.3;
  color: var(--color-text);
  margin-bottom: 28px;
}

/* ============================================================
   TAGLINE
   ============================================================ */
.tagline {
  width: 100%;
  background: var(--color-beige);
  padding: 130px 40px;
  text-align: center;
}

.tagline p {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #3e3d3c;
}

/* ============================================================
   EVENTOS
   ============================================================ */
.events {
  width: 100%;
  display: flex;
  height: 700px;
  overflow: visible;
}

.event-card {
  width: 50%;
  overflow: visible;
  position: relative;
}

.event-chevron {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-top: 22px solid #c8c8c8;
  z-index: 10;
}

.event-salone {
  background-size: cover;
  background-position: center top;
}

.event-phw {
  display: flex;
}

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

/* ============================================================
   NEWS
   ============================================================ */
.news {
  width: 100%;
  background: var(--color-white);
  display: flex;
  gap: 48px;
  padding: 90px 80px 110px;
}

.news-col {
  flex: 1;
  padding-top: 24px;
}

.news-title {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-heading);
  margin-bottom: 22px;
}

.news-arrow {
  display: none;
}

.news-col p,
.news-col {
  font-size: 18px;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  --footer-head: 56px; /* altura comum dos cabeçalhos: alinha as linhas de logo, menus e redes sociais */
  width: 100%;
  background: #d8d8d8;
  color: #555;
  padding: 60px 80px 0;
}

.footer-inner {
  display: flex;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  flex: 2;
}

.footer-logo {
  height: var(--footer-head);
  display: flex;
  align-items: flex-end;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #fff;
}

.footer-logo-btn {
  display: block;
  background: none;
  border: none;
  padding: 0;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
}

.footer-brand p {
  font-size: 15px;
  line-height: 2;
  color: #555;
}

.footer-col {
  flex: 1;
  min-width: 90px;
}

.footer-col__toggle {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  height: var(--footer-head);
  background: none;
  border: none;
  font: inherit;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #3e3d3c;
  margin-bottom: 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid #fff;
}

.footer-col__chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #3e3d3c;
  border-bottom: 1.5px solid #3e3d3c;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin: 0 2px 6px 12px;
}

.footer-col.is-open .footer-col__chevron {
  transform: rotate(-135deg);
}

.footer-col__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.footer-col.is-open .footer-col__panel {
  max-height: 320px;
}

/* Desktop: acordeão abre ao passar o cursor (o clique só actua em mobile) */
@media (hover: hover) and (min-width: 769px) {
  .footer-accordion:hover .footer-col__panel { max-height: 320px; }
  .footer-accordion:hover .footer-col__chevron { transform: rotate(-135deg); }
  .footer-accordion:hover .footer-col__toggle { color: var(--color-red); }
  .footer-accordion:hover .footer-col__chevron { border-color: var(--color-red); }
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  font-size: 14px;
  line-height: 2.1;
}

.footer-col ul li a {
  text-decoration: none;
  color: #555;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--color-red);
}

.footer-right {
  flex: 1.8;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.social-icons {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  height: var(--footer-head);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #fff;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #58585a;
  color: #d8d8d8;
  border-radius: 50%;
  transition: background 0.2s;
}

.social-icons a svg {
  width: 17px;
  height: 17px;
  display: block;
}

.social-icons a:hover {
  background: var(--color-red);
}

.social-icons .social-yt-play { fill: #58585a; transition: fill 0.2s; }
.social-icons a:hover .social-yt-play { fill: var(--color-red); }

.newsletter h4 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #3e3d3c;
  margin-bottom: 6px;
}

.newsletter p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

/* Desktop: botão à esquerda e campo na mesma linha, ocupando juntos a largura da coluna */
.newsletter form {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  gap: 16px;
}

.newsletter input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  padding: 10px 12px;
  background: var(--color-white);
  border: none;
  color: #333;
  font-size: 13px;
  font-family: var(--font);
  outline: none;
}

.newsletter input[type="email"]::placeholder {
  color: #aaa;
}

.newsletter button[type="submit"] {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 10px 24px;
  background: #58585a;
  border: none;
  color: var(--color-white);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font);
  letter-spacing: 0.08em;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  transition: background 0.2s;
}

.newsletter button[type="submit"]:hover {
  background: #3e3d3c;
}

/* ============================================================
   FOOTER BOTTOM
   ============================================================ */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0 28px;
}

.footer-bottom p {
  font-size: 13px;
  color: #555;
}

.footer-bottom a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--color-red);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-dark);
  color: rgba(255,255,255,0.8);
  padding: 18px 40px;
  z-index: 9999;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 2px solid rgba(255,255,255,0.08);
}

.cookie-banner.visible {
  display: flex;
}

.cookie-banner p {
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
}

.cookie-banner p a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 10px 26px;
  border: 1.5px solid rgba(255,255,255,0.5);
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: transparent;
  color: rgba(255,255,255,0.8);
}

.cookie-accept {
  background: var(--color-white);
  color: var(--color-heading);
  border-color: var(--color-white);
}

.cookie-accept:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

.cookie-reject:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}

/* ============================================================
   CONTACTOS
   ============================================================ */
.contactos {
  background: var(--color-beige);
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: 80px;
}

.contactos-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.contactos-form-col {
  flex: 1.5;
}

.contactos-form-col h2 {
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--color-heading);
  margin-bottom: 40px;
}

.contactos-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 24px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group--full {
  width: 100%;
}

.form-group label {
  font-size: 18px;
  font-weight: 400;
  color: #58585a;
}

.form-group input {
  height: 69px;
}

.form-group input,
.form-group textarea {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--color-heading);
  background: #fff;
  border: 1px solid #58585a;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: none;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-red);
}

.form-submit {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.contactos-submit {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0;
  background: #58585a;
  color: #fff;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  min-width: 143px;
  height: 69px;
  padding: 0 36px;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  transition: background 0.2s;
}

.contactos-submit:hover { background: #3e3d3c; }
.contactos-submit:disabled { opacity: 0.6; cursor: default; }

.form-feedback {
  font-size: 18px;
  min-height: 1em;
}

.form-feedback--ok  { color: #2a7a2a; }
.form-feedback--err { color: var(--color-red); }

/* Info col */
.contactos-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 16px;
}

.contactos-logo {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--color-heading);
}

.contactos-logo .logo-heart {
  color: var(--color-red);
}

.contactos-details p {
  font-size: 18px;
  line-height: 2;
  color: var(--color-text);
}

/* Responsive */
@media (max-width: 900px) {
  .contactos { padding: 60px 32px; }
  .contactos-inner { flex-direction: column; gap: 48px; }
  .contactos-form-col { width: 100%; }
}

@media (max-width: 768px) {
  .contactos { padding: 40px 16px; }
  .form-row { flex-direction: column; gap: 16px; }
  .contactos-form-col h2 { font-size: 1.8rem; margin-bottom: 28px; }
  .form-group label { font-size: 16px; }
  .form-group input { height: 56px; }
  .contactos-submit { height: 56px; font-size: 17px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Hamburger (hidden on desktop) --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-heading);
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

  .destaque { padding: 48px 32px; }
  .destaque-inner { gap: 40px; }

  .split-section { height: auto; flex-direction: column; }
  .split-panel    { width: 100%; }
  .split-img      { height: 280px; }
  .panel-content  { padding: 40px 32px; }

  .colecoes .split-img  { order: 2; }
  .colecoes .split-text { order: 1; }

  .events { height: auto; flex-direction: column; }
  .event-card { width: 100%; height: 280px; }

  .news { flex-direction: column; gap: 32px; padding: 40px 32px; }

  .footer { padding: 48px 32px 0; }
  .footer-inner { flex-wrap: wrap; gap: 32px; }
  .footer-brand { flex: 1 1 100%; }
  .footer-right  { flex: 1 1 100%; align-items: flex-start; }
}

/* --- Mobile (≤ 768px) --- */
@media (max-width: 768px) {

  .navbar {
    padding: 0 20px;
    height: 72px;
    flex-wrap: nowrap;
  }

  body {
    padding-top: 72px;
  }

  .hamburger { display: flex; }

  /* nav-links: hidden off-screen, slides down when open */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--color-white);
    border-bottom: 1px solid #e8e8e8;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    gap: 0;
    z-index: 199;
  }

  .nav-links.nav-open {
    max-height: 600px;
    padding: 12px 16px 20px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-links a:last-child { border-bottom: none; }

  .logo-img { height: 42px; }

  .btn-login  { font-size: 13px; padding: 5px 12px; }
  .lang-selector { font-size: 13px; }

  .hero { min-height: 240px; height: 56vw; }

  .destaque { padding: 32px 16px; }
  .destaque-inner {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .destaque-img-wrap { flex: none; width: 100%; }

  .split-img  { height: 200px; }
  .panel-content { padding: 28px 16px; }

  .tagline { padding: 36px 16px; }
  .tagline p { font-size: 1rem; }

  .event-card { height: 200px; }

  .news { padding: 28px 16px; }

  .footer { padding: 36px 16px 0; }
  .footer-right { width: 100%; align-items: stretch; }
  .footer-col { flex: 1 1 100%; }
  .social-icons { gap: 10px; }
  .social-icons a { width: 36px; height: 36px; }
  .social-icons a svg { width: 18px; height: 18px; }

  .newsletter { width: 100%; }
  .newsletter form { flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; }
  .newsletter input[type="email"] {
    width: 100% !important;
    border-right: 1px solid rgba(255,255,255,0.25);
    border-bottom: none;
  }
  .newsletter button[type="submit"] {
    width: 100%;
    padding: 12px 16px;
  }

  .footer-bottom { padding: 20px 0; }
  .footer-bottom p {
    font-size: 13px;
    line-height: 1.8;
    color: #555;
  }

  /* Banner: imagem própria para mobile, quando definida no backoffice */
  .banner-slide[data-mobile] {
    background-image: var(--bg-mobile) !important;
    background-size: cover !important;
    background-color: transparent !important;
  }

  /* ===== Ponto 15: 1 secção por ecrã (homepage) ===== */
  .hero {
    min-height: 0;
    height: calc(100svh - 72px);
  }

  .destaque {
    min-height: calc(100svh - 72px);
    display: flex;
    align-items: center;
  }

  .split-section {
    min-height: calc(100svh - 72px);
  }

  .split-img {
    height: auto;
    flex: 1;
    min-height: 200px;
  }

  .split-text {
    flex: none;
  }

  .events {
    min-height: calc(100svh - 72px);
  }

  .event-card {
    height: auto;
    flex: 1;
    min-height: 200px;
  }
}

/* ============================================================
   SOBRE NÓS — Estilos específicos
   ============================================================ */

/* Painel bege claro (usado no Sobre Nós, diferente do gray-panel da homepage) */
.beige-panel {
  background: var(--color-beige);
}

.beige-panel .panel-content p,
.beige-panel .panel-content p * {
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 16px;
}

.white-panel .panel-content p,
.white-panel .panel-content p * {
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 16px;
}

/* Título da página */
.sn-page-title {
  padding: 72px 40px 56px;
  text-align: center;
  background: var(--color-white);
}
.sn-page-title h1 {
  font-size: calc(2.4rem + 2px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-heading);
  line-height: 1.15;
  margin: 0;
}
.sn-page-title p {
  margin: 16px 0 0;
  font-size: 16px;
  color: #888;
  letter-spacing: 0.04em;
}

/* Galeria 2 colunas full-width */
.sn-galeria-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 480px;
  overflow: hidden;
}
.sn-galeria-2col .sn-galeria-item {
  overflow: hidden;
  position: relative;
}
.sn-galeria-2col .sn-galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.sn-galeria-2col .sn-galeria-item:hover img {
  transform: scale(1.04);
}

/* Bloco texto 2 colunas */
.sn-texto-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--color-white);
}
.sn-texto-2col .sn-col {
  padding: 72px 56px;
}
.sn-texto-2col .sn-col:first-child {
  background: var(--color-white);
}
.sn-texto-2col .sn-col h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin: 0 0 20px;
}
.sn-texto-2col .sn-col p,
.sn-texto-2col .sn-col p * {
  font-size: 18px;
  line-height: 1.75;
  color: #555;
}

/* Faixa certificações */
.sn-certificacoes {
  padding: 56px 40px;
  background: var(--color-white);
  text-align: center;
}
.sn-certificacoes h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aaa;
  margin: 0 0 36px;
}
.sn-certificacoes-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.sn-certificacoes-logos .sn-cert-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 64px;
  opacity: 0.55;
  transition: opacity 0.2s;
  filter: grayscale(1);
}
.sn-certificacoes-logos .sn-cert-item:hover {
  opacity: 1;
  filter: grayscale(0);
}
.sn-certificacoes-logos .sn-cert-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* Placeholder de certificação (quando sem imagem) */
.sn-cert-placeholder {
  width: 100px;
  height: 56px;
  background: #e8e8e8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bbb;
  font-weight: 700;
}

/* ---- Responsive: Sobre Nós ---- */
@media (max-width: 1024px) {
  .sn-texto-2col { grid-template-columns: 1fr; }
  .sn-texto-2col .sn-col { padding: 48px 40px; }
  .sn-galeria-2col { height: 360px; }
}

@media (max-width: 768px) {
  .sn-page-title { padding: 48px 24px 36px; }
  .sn-galeria-2col { grid-template-columns: 1fr; height: auto; }
  .sn-galeria-2col .sn-galeria-item { height: 280px; }
  .sn-texto-2col .sn-col { padding: 36px 24px; }
  .sn-certificacoes { padding: 40px 24px; }
  .sn-certificacoes-logos { gap: 28px; }
  .sn-certificacoes-logos .sn-cert-item { width: 90px; height: 50px; }
}

/* ============================================================
   PRODUTOS — Listagem (produtos.php)
   ============================================================ */

.produtos-page {
  background: var(--color-white);
}

/* --- Barra de filtros --- */
.produtos-filter-bar {
  position: relative;
  display: flex;
  align-items: center;
  padding: 40px 80px 0;
  gap: 24px;
}

.produtos-filter-selects {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.pf-select-wrap {
  position: relative;
  display: inline-flex;
}

.pf-select-wrap--hidden {
  display: none;
}


.pf-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: var(--color-white);
  border: 1.5px solid var(--color-heading);
  padding: 13px 48px 13px 18px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-heading);
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  outline: none;
  width: 180px;
  max-width: 400px;
  transition: border-color 0.2s, background 0.2s, width 0.15s;
}

.pf-select:focus,
.pf-select:hover {
  border-color: var(--color-red);
  background: #fafafa;
}

.pf-select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 11px;
  color: var(--color-heading);
}

/* Título dinâmico */
.produtos-cat-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin: 0;
  white-space: nowrap;
  pointer-events: none;
}
.produtos-cat-title a,
.produtos-cat-title__link { pointer-events: all; }
.produtos-cat-title__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s;
}
.produtos-cat-title__link:hover { border-bottom-color: var(--color-heading); }

/* Loading state na grelha */
.produtos-grid--loading {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* --- Grelha de produtos --- */
.produtos-grid {
  padding: 32px 80px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

/* Card */
.produto-card {
  position: relative;
  background: #ebebeb;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#pf-tooltip {
  position: fixed;
  z-index: 9999;
  background: var(--color-heading);
  color: #fff;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px) scale(0.97);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

#pf-tooltip.pf-tooltip--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.produto-card__img-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  text-decoration: none;
  transition: opacity 0.2s;
}

.produto-card__img-wrap:hover {
  opacity: 0.9;
}

.produto-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.produto-card__no-img {
  width: 100%;
  height: 200px;
  background: #d8d8d8;
}

.produto-card__btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  background: var(--color-beige);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-heading);
  text-decoration: none;
  z-index: 2;
  transition: background 0.18s, color 0.18s;
}

.produto-card__btn:hover {
  background: var(--color-heading);
  color: var(--color-white);
}

/* Estado vazio */
.produtos-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 100px 20px;
  color: var(--color-text);
  font-size: 18px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .produtos-filter-bar { padding: 28px 40px 0; }
  .produtos-grid       { padding: 24px 40px 60px; }
  .produtos-cat-title  { padding-right: 0; }
}

@media (max-width: 900px) {
  .produtos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .produtos-filter-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px 0;
    gap: 16px;
  }

  .produtos-cat-title {
    text-align: left;
    padding-right: 0;
    font-size: 1.8rem;
  }

  .produtos-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 16px 48px;
    gap: 2px;
  }

  .produto-card__img-wrap { aspect-ratio: 1 / 1; }
}

@media (max-width: 480px) {
  .produtos-grid { grid-template-columns: 1fr; }
}


/* =============================================================
   PRODUTO DETALHE
   ============================================================= */

/* Hero */
.pd-hero {
  width: 100%;
  height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.35s ease;
}

/* Navegação de referência */
.pd-ref-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 22px 0 10px;
}

.pd-ref-nav__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 28px;
  line-height: 1;
  color: var(--color-heading);
  text-decoration: none;
  border: none;
  background: none;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  transition: color 0.18s;
}

.pd-ref-nav__arrow:hover { color: var(--color-red); }
.pd-ref-nav__arrow--disabled { color: #ccc; cursor: default; }

.pd-ref-nav__ref {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-heading);
}

/* Galeria */
.pd-gallery-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

.pd-gallery {
  display: flex;
  gap: 4px;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  flex: 1;
}

.pd-gallery__item {
  flex: 0 0 calc(33.333% - 3px);
  scroll-snap-align: start;
  border: 2px solid transparent;
  background: none;
  padding: 0;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  transition: border-color 0.18s;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.pd-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.pd-gallery__item:hover img { transform: scale(1.04); }
.pd-gallery__item--active   { border-color: var(--color-heading); }

.pd-gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  font-size: 0;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  padding: 0;
  z-index: 2;
  opacity: 0.75;
}
.pd-gallery__btn::after {
  content: '';
  display: block;
  width: 35px;
  height: 35px;
  border-top: 2px solid var(--color-heading);
  border-right: 2px solid var(--color-heading);
}
.pd-gallery__btn:hover { opacity: 1; }
.pd-gallery__btn--prev { left: 16px; }
.pd-gallery__btn--prev::after { transform: rotate(-135deg); }
.pd-gallery__btn--next { right: 16px; }
.pd-gallery__btn--next::after { transform: rotate(45deg); }

/* Secção info (3 colunas) */
.pd-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 48px 60px 80px;
  border-top: 1px solid #e0e0e0;
  margin-top: 48px;
}

/* Col 1 — referência + técnica + botão no fundo direito */
.pd-info__col--tech {
  display: flex;
  flex-direction: column;
  align-self: start;
}

.pd-info__ref {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-heading);
  margin: 0 0 12px;
  min-height: 44px;
  display: flex;
  align-items: flex-start;
}

.pd-info__line {
  border: none;
  border-top: 1px solid var(--color-heading);
  margin: 0 0 18px;
}

.pd-info__rows {
  flex: 1;
}

.pd-info__row {
  font-size: 13px;
  color: var(--color-text);
  margin: 0 0 8px;
  line-height: 1.6;
}

.pd-info__row strong {
  color: var(--color-heading);
  font-weight: 700;
}

.pd-info__btn {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1.5px solid var(--color-heading);
  color: var(--color-heading);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.pd-info__btn:visited { color: var(--color-heading); }
.pd-info__btn:hover   { background: var(--color-heading); color: var(--color-white); }

/* Botão SABER MAIS — fundo direito da col 1 */
.pd-info__col--tech .pd-info__btn {
  margin-top: auto;
  align-self: flex-end;
}

.pd-info__colecao-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin: 0 0 12px;
  min-height: 44px;
  display: flex;
  align-items: flex-start;
}

.pd-info__col--colecao .pd-info__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.pd-info__col--colecao .pd-info__btn { margin-top: 0; }

.pd-info__btn--login {
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pd-info__btn--login:hover { background: var(--color-heading); color: var(--color-white); }
.pd-info__btn-lock {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.pd-info__btn-lock svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.pd-info__prod-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin: 0 0 12px;
  min-height: 44px;
  display: flex;
  align-items: flex-start;
}

.pd-info__descricao {
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text);
  margin: 0;
}

/* Responsivo */
@media (max-width: 900px) {
  .pd-hero { height: 360px; }
  .pd-info { grid-template-columns: 1fr 1fr; gap: 28px; padding: 36px 40px 60px; }
  .pd-info__col--colecao .pd-info__btns { flex-direction: column; gap: 8px; }
  .pd-info__col--tech .pd-info__btn { align-self: flex-start; }
}

@media (max-width: 600px) {
  .pd-hero { height: 240px; }
  .pd-info { grid-template-columns: 1fr; padding: 28px 20px 48px; }
  .pd-gallery__item { flex: 0 0 calc(100% - 2px); }
}


/* =================================================================
   COLECÇÕES — Página de listagem (colecoes.php)
   ================================================================= */

/* Hero slider */
.col-hero-slider {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  background: #1a1a1a;
}

.col-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 72px;
}

.col-hero-slide--active {
  opacity: 1;
}

.col-hero-slide__label {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.col-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 0;
  width: 60px;
  height: 60px;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  padding: 0;
  z-index: 10;
  opacity: 0.85;
}
.col-hero__arrow::after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  border-top: 2px solid rgba(255,255,255,0.9);
  border-right: 2px solid rgba(255,255,255,0.9);
}
.col-hero__arrow:hover { opacity: 1; }
.col-hero__arrow--prev { left: 24px; }
.col-hero__arrow--prev::after { transform: rotate(-135deg); }
.col-hero__arrow--next { right: 24px; }
.col-hero__arrow--next::after { transform: rotate(45deg); }

.col-hero__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.col-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  padding: 0;
  transition: background 0.2s;
}
.col-hero__dot--active { background: var(--color-white); }

/* Header da listagem */
.col-listing-header {
  background: var(--color-beige, #f0ece6);
  text-align: center;
  padding: 76px 20px 76px;
}

.col-listing-header__title {
  font-size: 4.4rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin: 0;
}

/* Grelha 2 colunas */
.col-listing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0 0 80px;
}

.col-card {
  display: flex;
  flex-direction: column;
}

.col-card__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.col-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.col-card__img-wrap:hover .col-card__img { transform: scale(1.04); }

.col-card__body {
  padding: 20px 28px 28px;
  background: #ebebeb;
}

.col-card__name {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.col-card__plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-beige);
  color: var(--color-heading);
  text-decoration: none;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s;
}
.col-card__plus:hover { background: var(--color-heading); color: var(--color-white); }

.col-card__desc {
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text);
  margin: 0;
}

/* =================================================================
   COLECÇÃO — Página individual (colecao.php)
   ================================================================= */

.colecao-hero {
  width: 100%;
  height: 640px;
  background-size: cover;
  background-position: center;
}

.colecao-intro {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  background: var(--color-beige, #f0ece6);
  padding: 52px 60px;
}

.colecao-intro__btns {
  grid-column: 1;
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.colecao-intro__btn {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--color-heading);
  color: var(--color-heading);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.colecao-intro__btn:hover { background: var(--color-heading); color: var(--color-white); }

.colecao-intro__title-wrap {
  grid-column: 2;
  text-align: center;
}

.colecao-intro__nome {
  font-size: 4.4rem;
  font-weight: 400;
  color: var(--color-heading);
  margin: 0;
  letter-spacing: 0.02em;
}

.colecao-intro__sub {
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--color-text);
  margin: 6px 0 0;
  letter-spacing: 0.14em;
}

/* Secções alternadas */
.colecao-sections {
  width: 100%;
}

.colecao-sec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.colecao-sec__img {
  overflow: hidden;
}

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

.colecao-sec__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 80px;
}

.colecao-sec__text p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text);
  margin: 0 0 24px;
}
.colecao-sec__text p:last-child { margin-bottom: 0; }

.colecao-sec__citacao {
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--color-heading);
  line-height: 1.4;
  margin: 28px 0 0;
}

/* Responsivo */
@media (max-width: 900px) {
  .col-hero-slider { height: 380px; }
  .col-hero-slide__label { font-size: 1.4rem; }
  .col-listing-grid { grid-template-columns: 1fr; }
  .col-card__body { padding: 20px 24px 28px; }
  .colecao-hero { height: 340px; }
  .colecao-intro { grid-template-columns: 1fr; padding: 36px 24px; text-align: center; gap: 24px; }
  .colecao-intro__btns { grid-column: 1; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .colecao-intro__title-wrap { grid-column: 1; }
  .colecao-sec { grid-template-columns: 1fr; }
  .colecao-sec--img-text .colecao-sec__img { order: -1; }
  .colecao-sec__text { padding: 40px 32px; }
}

@media (max-width: 600px) {
  .col-hero-slider { height: 260px; }
  .col-listing-header { padding: 36px 20px 32px; }
  .col-listing-header__title { font-size: 1.8rem; }
  .colecao-hero { height: 220px; }
  .colecao-intro__nome { font-size: 1.8rem; }
}

/* ============================================================
   CONTRACT
   ============================================================ */

/* Hero */
.contract-hero {
  width: 100%;
  height: 520px;
  overflow: hidden;
  position: relative;
  background: var(--color-dark);
}
.contract-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contract-hero__placeholder {
  width: 100%;
  height: 100%;
  background: #aaa;
}

/* Intro */
.contract-intro {
  text-align: center;
  padding: 72px 40px 64px;
  background: var(--color-white);
}
.contract-intro__titulo {
  font-size: 4.4rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-heading);
  margin: 0 0 28px;
}
.contract-intro__texto {
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text);
  max-width: 72%;
  margin: 0 auto 40px;
}
.contract-intro__btn {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 10px 28px;
}

/* Lista de clientes */
.contract-clientes {
  background: var(--color-beige);
  padding: 72px 80px;
}
.contract-clientes__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.contract-clientes__header {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-heading);
  margin: 0 0 28px;
  text-transform: uppercase;
}
.contract-clientes__list {
  list-style: none;
}
.contract-clientes__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 15px;
  color: var(--color-heading);
}
.contract-clientes__nome {
  flex: 1;
}
.contract-clientes__estrelas {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-left: 4px;
}
.contract-clientes__local {
  font-size: 14px;
  color: var(--color-text);
  white-space: nowrap;
}

/* Galeria */
.contract-galeria {
  padding: 60px 80px;
  background: var(--color-white);
}
.contract-galeria__empty {
  text-align: center;
  font-size: 18px;
  color: var(--color-text);
  padding: 60px 0;
}
.contract-galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.contract-galeria__card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.contract-galeria__img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-beige);
}
.contract-galeria__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.contract-galeria__card:hover .contract-galeria__img {
  transform: scale(1.04);
}
.contract-galeria__img-placeholder {
  width: 100%;
  height: 100%;
  background: #ccc;
}
.contract-galeria__info {
  padding: 16px 0 8px;
}
.contract-galeria__nome {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}
.contract-galeria__estrelas {
  font-size: 11px;
  color: var(--color-text);
  margin-left: 4px;
}
.contract-galeria__local {
  font-size: 14px;
  color: var(--color-text);
  margin: 0;
}

/* Projecto individual */
.contract-proj-hero {
  width: 100%;
  height: 620px;
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
}
.contract-proj-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.contract-proj-slide--active {
  opacity: 1;
}
.contract-proj-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contract-proj-hero__placeholder {
  width: 100%;
  height: 100%;
  background: #aaa;
}
.contract-proj-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 0;
  width: 60px;
  height: 60px;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  padding: 0;
  z-index: 10;
  opacity: 0.85;
}
.contract-proj-arrow::after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  border-top: 2px solid rgba(255,255,255,0.9);
  border-right: 2px solid rgba(255,255,255,0.9);
}
.contract-proj-arrow:hover { opacity: 1; }
.contract-proj-arrow--prev { left: 24px; }
.contract-proj-arrow--prev::after { transform: rotate(-135deg); }
.contract-proj-arrow--next { right: 24px; }
.contract-proj-arrow--next::after { transform: rotate(45deg); }
.contract-proj-pagination {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.contract-proj-page { cursor: url('images/cursor-coracao.png') 16 16, pointer; opacity: 0.55; transition: opacity 0.2s; }
.contract-proj-page--active { opacity: 1; }
.contract-proj-sep { opacity: 0.4; }
.contract-proj-galeria-btn {
  position: absolute;
  bottom: 28px;
  left: 28px;
  z-index: 10;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  text-decoration: none;
  transition: background 0.2s;
}
.contract-proj-galeria-btn:hover { background: #a82018; }
.contract-proj-info {
  text-align: center;
  padding: 64px 40px 80px;
  background: var(--color-white);
}
.contract-proj-info__nome {
  font-size: 4.4rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-heading);
  margin: 0 0 12px;
}
.contract-proj-info__estrelas {
  font-size: 1.8rem;
  color: var(--color-text);
  letter-spacing: 0.08em;
  margin-left: 8px;
}
.contract-proj-info__local {
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--color-text);
  margin: 0 0 24px;
  letter-spacing: 0.04em;
}
.contract-proj-info__desc {
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text);
  max-width: 72%;
  margin: 0 auto;
}

/* ── Responsive Contract ─────────────────────────────────── */
@media (max-width: 1024px) {
  .contract-clientes { padding: 52px 40px; }
  .contract-galeria  { padding: 48px 40px; }
  .contract-galeria__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .contract-hero { height: 300px; }
  .contract-intro { padding: 48px 24px 48px; }
  .contract-intro__titulo { font-size: 2.4rem; }
  .contract-clientes { padding: 40px 24px; }
  .contract-clientes__inner { grid-template-columns: 1fr; gap: 40px; }
  .contract-clientes__header { font-size: 1.6rem; }
  .contract-galeria { padding: 40px 24px; }
  .contract-galeria__grid { grid-template-columns: 1fr; }
  .contract-proj-hero { height: 320px; }
  .contract-proj-info { padding: 40px 24px 56px; }
  .contract-proj-info__nome { font-size: 2rem; }
  .contract-proj-info__local { font-size: 1.4rem; }
}

/* ===== PÁGINAS LEGAIS (termos, cookies, privacidade) ===== */
.pagina-legal {
  padding: 72px 20px 100px;
}
.pagina-legal__inner {
  max-width: 860px;
  margin: 0 auto;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.75;
}
.pagina-legal__inner h2 {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-heading);
  margin: 48px 0 16px;
}
.pagina-legal__inner h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-heading);
  margin: 32px 0 12px;
}
.pagina-legal__inner p {
  margin: 0 0 16px;
}
.pagina-legal__inner ul,
.pagina-legal__inner ol {
  margin: 0 0 16px 24px;
}
.pagina-legal__inner li {
  margin-bottom: 6px;
}
.pagina-legal__inner .pagina-legal__lead {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--color-heading);
  margin-bottom: 32px;
}
.pagina-legal__inner .pagina-legal__revisao {
  text-align: right;
  color: #888;
  font-size: 14px;
  margin-top: 32px;
}
@media (max-width: 768px) {
  .pagina-legal { padding: 40px 20px 64px; }
  .pagina-legal__inner h2 { font-size: 1.3rem; }
}

/* ===== PÁGINAS DE AUTENTICAÇÃO (registo, recuperar, redefinir password) ===== */
.auth-page {
  background: var(--color-beige);
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px 80px;
}
.auth-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
}
.auth-card__header {
  background: var(--color-dark);
  padding: 28px 40px;
  text-align: center;
  border-bottom: 4px solid var(--color-red);
}
.auth-card__brand {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
}
.auth-card__brand-img {
  height: 28px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.auth-card__body {
  padding: 36px 40px 40px;
}
.auth-card__sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 24px;
}
.auth-card__btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: 8px;
  font-family: var(--font);
  font-size: 13px;
  padding: 13px 20px;
  cursor: url('images/cursor-coracao.png') 16 16, pointer;
  border: none;
}
.auth-card__link {
  font-size: 13px;
  color: var(--color-text);
  text-align: center;
  margin: 20px 0 0;
}
.auth-card__link a {
  color: var(--color-red);
  text-decoration: none;
  font-weight: 700;
}
.auth-card__link a:hover { text-decoration: underline; }

.auth-form { display: flex; flex-direction: column; gap: 18px; }

.auth-field {
  display: flex;
  flex-direction: column;
}
.auth-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin-bottom: 7px;
}
.auth-field input {
  font-family: var(--font);
  font-size: 15px;
  padding: 11px 13px;
  border: 1.5px solid #c0bbb4;
  background: #fff;
  color: var(--color-dark);
  outline: none;
  transition: border-color 0.18s;
}
.auth-field input:focus { border-color: var(--color-red); }
.auth-field__hint {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

.auth-feedback {
  padding: 11px 14px;
  font-size: 14px;
  margin-bottom: 16px;
  border-left: 3px solid;
}
.auth-feedback--err { border-color: var(--color-red); background: #fdf0f0; color: var(--color-red); }
.auth-feedback--ok  { border-color: #2a7a2a; background: #f0f7f0; color: #2a7a2a; }

.auth-success {
  text-align: center;
  padding: 8px 0;
}
.auth-success__icon {
  font-size: 3rem;
  color: #2a7a2a;
  margin: 0 0 12px;
  line-height: 1;
}
.auth-success__title {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-heading);
  margin: 0 0 14px;
}
.auth-success__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 28px;
}

@media (max-width: 520px) {
  .auth-card__body { padding: 28px 24px 32px; }
  .auth-card__header { padding: 24px; }
}
