:root {
  --primary: #1e5a4d;        /* Verde característico Odetinha */
  --accent: #d99a38;         /* Dourado suave */
  --black: #111111;
  --dark-gray: #333333;
  --gray-light: #f6f6f6;
  --border: #e8e8e8;
  --white: #ffffff;
  --font-display: 'Tenor Sans', sans-serif;
  --font-text: 'Jost', sans-serif;
}

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

body {
  font-family: var(--font-text);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Faixa de Anúncios Superior */
.top-announcement {
  background-color: var(--black);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 400;
}

.top-announcement span {
  color: var(--accent);
  font-weight: 600;
}

/* Cabeçalho Minimalista Fino */
header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-nav {
  max-width: 1440px;
  margin: 0 auto;
  padding: 6px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--black);
  transition: width 0.3s ease;
}

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

.brand-logo {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-logo img {
  height: 67px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-icons {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  font-size: 1.15rem;
}

.header-icons a:hover {
  color: var(--primary);
}

/* Botões de controlo Mobile */
.mobile-menu-btn,
.close-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--black);
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}

/* Camada escura de fundo (Overlay) */
.menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ========================================================
   HERO BANNER - TRANSIÇÃO SUAVE DE LUZ (CROSSFADE)
   ======================================================== */
.hero-fullscreen {
  position: relative;
  height: calc(100vh - 100px);
  min-height: 650px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 80px 60px;
  color: var(--white);
  overflow: hidden;
  background-color: #0b0b0b;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.3) 45%,
    rgba(0, 0, 0, 0.45) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-caption {
  position: relative;
  z-index: 3;
  max-width: 800px;
  animation: fadeInUp 1s ease forwards;
}

.hero-caption .subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #ffdca3;
  margin-bottom: 12px;
  display: inline-block;
  font-weight: 500;
}

.hero-caption h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.hero-caption p {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.8px;
  margin-bottom: 35px;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9);
}

.btn-mamo {
  display: inline-block;
  padding: 16px 42px;
  background-color: var(--white);
  color: var(--black);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2.8px;
  font-weight: 600;
  border: 1px solid var(--white);
  transition: all 0.35s ease;
}

.btn-mamo:hover {
  background-color: transparent;
  color: var(--white);
}

/* Faixa de Pilares / Status */
.trust-strip {
  background-color: #faf9f7;
  border-bottom: 1px solid var(--border);
  padding: 35px 30px;
}

.trust-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  text-align: center;
}

.trust-box h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
  color: var(--black);
}

.trust-box p {
  font-size: 0.82rem;
  color: #666;
  letter-spacing: 0.5px;
}

/* Seção Padrão / Coleções */
.section-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
}

.section-title span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  margin-top: 8px;
}

/* Grade de Imagens Grandes (Curadoria) */
.large-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4.4;
  background-color: #f7f6f4;
  isolation: isolate;
}

.gallery-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1.1s cubic-bezier(0.25, 1, 0.5, 1),
              filter 0.85s ease;
  will-change: transform, opacity;
}

.gallery-card img.img-default {
  opacity: 1;
  z-index: 1;
  filter: contrast(100%) brightness(100%);
}

.gallery-card img.img-hover {
  opacity: 0;
  z-index: 2;
  filter: contrast(102%) brightness(98%);
}

.gallery-card:hover img.img-default {
  opacity: 0.15;
  transform: scale(1.035);
}

.gallery-card:hover img.img-hover {
  opacity: 1;
  transform: scale(1.035);
  filter: contrast(100%) brightness(100%);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.75) 0%,
    rgba(17, 17, 17, 0.25) 40%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 35px 30px;
  color: var(--white);
  z-index: 3;
  pointer-events: none;
  transition: background 0.6s ease;
}

.card-overlay a {
  pointer-events: auto;
}

.card-overlay span {
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #f1deb4;
  margin-bottom: 6px;
}

.card-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 16px;
}

.card-overlay .btn-link {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--white);
  padding-bottom: 4px;
  width: fit-content;
  color: var(--white);
}

.card-overlay .btn-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Split Banners Editoriais */
.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.split-item {
  position: relative;
  height: 720px;
  overflow: hidden;
}

.split-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.split-item:hover img {
  transform: scale(1.04);
}

.split-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%);
}

.split-content {
  position: absolute;
  bottom: 50px;
  left: 50px;
  right: 50px;
  color: var(--white);
  z-index: 2;
}

.split-content h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 400;
  margin-bottom: 10px;
}

.split-content p {
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* Banner Institucional Tradição */
.history-banner {
  background-color: var(--black);
  color: var(--white);
  padding: 120px 40px;
  text-align: center;
  margin-top: 100px;
}

.history-inner {
  max-width: 820px;
  margin: 0 auto;
}

.history-inner .badge-since {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 24px;
  margin-bottom: 30px;
}

.history-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: 1.5px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 25px;
  line-height: 1.2;
}

.history-inner p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
  color: #cccccc;
  margin-bottom: 40px;
}

/* ========================================================
   ESTANTE / VITRINE DE PRODUTOS (ALINHAMENTO RIGOROSO)
   ======================================================== */
.section-showcase {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 40px;
  background-color: var(--white);
  width: 100%;
}

.showcase-header {
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
}

.showcase-subtitle {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 500;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 400;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
  align-items: stretch;
  width: 100%;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
}

.product-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
  background-color: #f7f6f4;
  margin-bottom: 14px;
}

.prod-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1.1s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.prod-img.default {
  opacity: 1;
  z-index: 1;
}

.prod-img.hover {
  opacity: 0;
  z-index: 2;
}

.product-card:hover .prod-img.default {
  opacity: 0.2;
  transform: scale(1.03);
}

.product-card:hover .prod-img.hover {
  opacity: 1;
  transform: scale(1.03);
}

.product-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  width: 100%;
}

.product-name {
  font-size: 0.86rem;
  font-weight: 400;
  color: #333333;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-price {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 14px;
}

.btn-product {
  margin-top: auto;
  display: inline-block;
  padding: 8px 24px;
  background-color: #fdfbf9;
  border: 1px solid #eee7e1;
  color: #8c827a;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.product-card:hover .btn-product {
  background-color: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* Seção de Contacto e Localização */
.info-section {
  background-color: #faf9f7;
  padding: 90px 40px;
  border-top: 1px solid var(--border);
}

.info-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.info-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
}

.info-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  color: var(--black);
}

.info-card p {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 8px;
}

.info-card a {
  color: var(--black);
  font-weight: 500;
}

.info-card a:hover {
  color: var(--primary);
}

/* Rodapé */
footer {
  background-color: var(--white);
  border-top: 1px solid var(--border);
  padding: 70px 40px 30px;
}

.footer-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--black);
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.82rem;
  color: #666;
  letter-spacing: 0.5px;
}

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

.footer-social-icons {
  display: flex;
  gap: 16px;
  margin-top: 15px;
}

.footer-social-icons a {
  font-size: 1.2rem;
  color: var(--black);
}

.footer-social-icons a:hover {
  color: var(--accent);
}

.footer-credits {
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 25px;
  text-align: center;
  font-size: 0.75rem;
  color: #999;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Botão Flutuante de WhatsApp */
.whatsapp-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
  color: white;
}

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

/* ========================================================
   RESPONSIVIDADE (TABLETS E CELULARES)
   ======================================================== */
@media (max-width: 1024px) {
  .large-gallery-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
  
  .editorial-split { 
    grid-template-columns: 1fr; 
  }
  
  .split-item { 
    height: 500px; 
  }

  .header-nav {
    grid-template-columns: auto 1fr auto;
    padding: 6px 20px;
    gap: 15px;
  }

  .brand-logo img {
    height: 52px;
  }

  .mobile-menu-btn {
    display: block;
    grid-column: 1;
  }

  .brand-logo {
    grid-column: 2;
    text-align: center;
  }

  .header-icons {
    grid-column: 3;
    gap: 16px;
    font-size: 1.05rem;
  }

  nav {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background-color: #ffffff !important;
    z-index: 1100;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    padding: 24px 28px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  nav.active {
    transform: translateX(320px);
  }

  .close-menu-btn {
    display: block;
    align-self: flex-end;
    margin-bottom: 25px;
  }

  nav ul {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
  }

  nav a {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    display: block;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    color: var(--black);
  }

  nav a::after {
    display: none;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 18px;
  }
}

@media (max-width: 768px) {
  .hero-fullscreen { 
    height: 85vh; 
    padding: 40px 25px; 
  }
  
  .large-gallery-grid { 
    grid-template-columns: 1fr; 
  }
  
  .split-content { 
    bottom: 30px; 
    left: 25px; 
    right: 25px; 
  }
  
  .split-item { 
    height: 420px; 
  }
  
  .section-wrap { 
    padding: 60px 20px; 
  }
  
  .brand-logo img { 
    height: 55px; 
  }
  
  .header-icons { 
    gap: 12px; 
    font-size: 1rem; 
  }
}

@media (max-width: 600px) {
  .section-showcase {
    padding: 60px 18px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 12px;
  }
  .btn-product {
    padding: 6px 14px;
    font-size: 0.62rem;
    letter-spacing: 1px;
  }
}