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

:root {
  --white: #FFFFFF;
  --black: #000000;
  --accent: #FF66C4;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Libre Franklin', sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

html { scroll-behavior: smooth; }

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

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 40px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s var(--ease);
}
header.scrolled { padding: 16px 40px; }

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
}

.menu-trigger {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--black);
}

.hamburger { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.hamburger span {
  display: block; height: 1.5px; background: var(--black);
  transition: all 0.4s var(--ease);
  transform-origin: center;
}
.hamburger span:nth-child(1) { width: 100%; }
.hamburger span:nth-child(2) { width: 60%; margin-left: auto; }

.menu-trigger:hover .hamburger span:nth-child(2) { width: 100%; }
.menu-trigger.active .hamburger span:nth-child(1) { transform: rotate(45deg) translateY(4.5px); }
.menu-trigger.active .hamburger span:nth-child(2) { width: 100%; transform: rotate(-45deg) translateY(-4.5px); }

/* ── OVERLAY MENU ── */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.menu-overlay.open { opacity: 1; pointer-events: all; }

.menu-nav { text-align: center; }
.menu-nav a, .menu-nav .dropdown-parent > span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--black);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s;
  cursor: pointer;
  position: relative;
}
.menu-nav a:hover, .menu-nav .dropdown-parent:hover > span { color: var(--accent); }

.menu-nav .dropdown-parent { position: relative; display: inline-block; }
.menu-nav .dropdown-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-nav .dropdown-parent:hover .dropdown-items,
.menu-nav .dropdown-parent.touch-open .dropdown-items { max-height: 400px; }

.menu-nav .dropdown-items a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  padding: 6px 0;
}

/* ── HOME ── */
.home-intro {
  text-align: center;
  padding: 60px 40px 40px;
}
.home-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #333;
}

.grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Slot = contentor fixo que mostra o rosa quando a carta descola */
.grid-slot {
  display: block;
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 8px;
  background: var(--accent);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.grid-card {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
  transition: transform 0.4s var(--ease);
  will-change: transform;
}
.grid-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.grid-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.grid-card .card-label {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.05em;
  transition: transform 0.4s var(--ease);
}

/* A carta descola — o slot rosa fica visível no canto inferior-esquerdo */
.grid-slot:hover .grid-card {
  transform: translate(15px, -15px);
}
.grid-slot:hover .card-label { transform: translateY(-4px); }

/* ── Card hover layer (logo + serviços) ── */

/* Cards com hover configurado: translate igual + conteúdo visível */
.grid-slot:hover .grid-card[data-has-hover="1"] {
  transform: translate(15px, -15px);
}

/* Imagem desfocar + escurecer ao hover (> img = filho direto, exclui .hover-logo) */
.grid-card[data-has-hover="1"] > img {
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}
.grid-slot:hover .grid-card[data-has-hover="1"] > img {
  filter: blur(5px) brightness(0.80);
  transform: scale(1.06);
}

/* Gradiente ::before desaparece no hover */
.grid-slot:hover .grid-card[data-has-hover="1"]::before {
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

/* Label desaparece no hover */
.grid-card[data-has-hover="1"] .card-label {
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.grid-slot:hover .grid-card[data-has-hover="1"] .card-label {
  opacity: 0;
}

/* Hover layer — invisível por defeito */
.card-hover-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

/* Visível ao hover */
.grid-slot:hover .card-hover-layer {
  opacity: 1;
}

/* Logo da parceria — sem blur, sem escala, sempre nítido */
.hover-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
/* Protecção explícita: mesmo em hover, o logo nunca é desfocado */
.grid-slot:hover .card-hover-layer .hover-logo,
.grid-slot:hover .hover-logo {
  filter: brightness(0) invert(1) !important;
  transform: none !important;
}

/* Linha divisória */
.hover-divider {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

/* Lista de serviços */
.hover-services {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hover-services li {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.02em;
}

/* ── PARTNERSHIPS Z-PATTERN ── */
.partnerships-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 120px;
}
.partnerships-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  text-align: center;
  margin-bottom: 80px;
}
.partnership-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}
.partnership-row.reverse .partnership-slider { order: 2; }
.partnership-row.reverse .partnership-text  { order: 1; }

.partnership-text h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 16px;
}
.partnership-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.75;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .partnership-row {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }
  .partnership-row .partnership-slider { order: 0 !important; }
  .partnership-row .partnership-text  { order: 1 !important; }
  .partnerships-page { padding: 60px 20px 80px; }
  .partnerships-page h1 { margin-bottom: 48px; }
}

/* ── ABOUT ── */
.about-page { max-width: 900px; margin: 0 auto; padding: 80px 40px 120px; }
.about-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: 60px;
  line-height: 1.2;
}
.about-page h1 span { color: var(--accent); }
.about-block { margin-bottom: 60px; }
.about-block p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 20px;
  opacity: 0.85;
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f5f5f5;
  border-radius: 8px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #bbb;
  border: 1px dashed #ddd;
}
.about-block-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f5f5f5;
  border-radius: 8px;
  margin: 40px 0;
  overflow: hidden;
}
.about-block-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── INDIVIDUAL PARTNERSHIP ── */
.partner-page { max-width: 1000px; margin: 0 auto; padding: 60px 40px 120px; }
.partner-hero {
  text-align: center;
  margin-bottom: 60px;
}
.partner-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 300;
  margin-bottom: 20px;
}
.partner-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.75;
}

.partner-owner {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 60px;
  padding: 32px;
  border-radius: 8px;
  background: #fafafa;
}
.partner-owner-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: #eee;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: #bbb; letter-spacing: 0.1em; text-transform: uppercase;
}
.partner-owner h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.partner-owner p { font-size: 0.9rem; color: #444; }

.partner-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.partner-gallery-item {
  aspect-ratio: 1;
  background: #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: #ccc; letter-spacing: 0.1em; text-transform: uppercase;
  transition: transform 0.4s var(--ease);
}
.partner-gallery-item { cursor: zoom-in; }
.partner-gallery-item:hover { transform: scale(1.03); }
.partner-gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ── LIGHTBOX ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.lb-open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
}
.lb-close {
  position: fixed;
  top: 20px; right: 28px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
  background: none; border: none;
  transition: opacity .2s;
}
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  opacity: .5;
  background: none; border: none;
  padding: 12px;
  transition: opacity .2s;
  user-select: none;
}
.lb-nav:hover { opacity: 1; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-counter {
  position: fixed;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  letter-spacing: .12em;
}

/* ── SLIDERS ── */
.partnership-slider, .product-slider {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}
.partnership-slider { aspect-ratio: 4/3; }
.product-slider { aspect-ratio: 4/5; margin-bottom: 20px; }

.partnership-slider .slide, .product-slider .slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: #ccc; letter-spacing: 0.1em; text-transform: uppercase;
  background: #f0f0f0;
}
.partnership-slider .slide.active, .product-slider .slide.active { opacity: 1; }
.partnership-slider .slide img, .product-slider .slide img { width: 100%; height: 100%; object-fit: cover; }

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.slider-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}
.slider-dots span.active { background: var(--accent); }

/* ── SHOP ── */
.shop-page { max-width: 1200px; margin: 0 auto; padding: 60px 40px 120px; }
.shop-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  text-align: center;
  margin-bottom: 16px;
}
.shop-page .shop-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 60px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}
.product-card { cursor: default; }
.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.product-card .product-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

/* Filtro de categorias da loja */
.cat-filter-btn { cursor: pointer; font-family: var(--font-body); background: transparent; color: var(--black); transition: all 0.3s; }
.cat-filter-btn.active { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* ── BLOG ── */
.blog-page { max-width: 1200px; margin: 0 auto; padding: 60px 40px 120px; }
.blog-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  text-align: center;
  margin-bottom: 60px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 40px;
}
.blog-card {
  cursor: pointer;
  transition: transform 0.4s var(--ease);
  text-decoration: none;
  color: var(--black);
  display: block;
}
.blog-card:hover { transform: translateY(-6px); }
.blog-card-img {
  aspect-ratio: 16/10;
  background: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: #ccc; letter-spacing: 0.1em; text-transform: uppercase;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.blog-card .blog-date {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 10px;
}
.blog-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #444;
}

/* ── ARTIGO INDIVIDUAL ── */
.article-page { max-width: 720px; margin: 0 auto; padding: 60px 40px 120px; }
.article-cover {
  width: 100%; aspect-ratio: 16/9;
  border-radius: 8px; overflow: hidden;
  background: #f0f0f0; margin-bottom: 40px;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; margin-bottom: 12px;
}
.article-meta {
  font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: #666; margin-bottom: 40px;
}
.article-content { font-size: 1rem; line-height: 1.9; }
.article-content h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; margin: 40px 0 16px; }
.article-content h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin: 32px 0 12px; }
.article-content p { margin-bottom: 20px; color: #222; }
.article-content img { max-width: 100%; border-radius: 6px; margin: 24px 0; }
.article-back { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #555; text-decoration: none; margin-bottom: 40px; transition: color 0.3s; }
.article-back:hover { color: var(--accent); }

/* ── CONTACTO ── */
.contact-page { max-width: 720px; margin: 0 auto; padding: 60px 40px 120px; }

/* Hero */
.contact-hero { text-align: center; margin-bottom: 64px; }
.contact-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #888; margin-bottom: 20px;
}
.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300; line-height: 1.05;
  margin-bottom: 24px;
}
.contact-sub { font-size: 0.95rem; color: #444; line-height: 1.75; }

/* Canais */
.contact-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 56px;
}
.contact-channel--location,
.contact-channel--instagram {
  grid-column: 1 / -1;
}
.contact-channel--instagram {
  justify-self: center;
  width: calc(50% - 6px);
}
.contact-channel {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 28px 20px;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-channel:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255,102,196,0.12);
}
.contact-channel--static { cursor: default; }
.contact-channel--static:hover { transform: none; box-shadow: none; border-color: rgba(0,0,0,0.09); }

/* Card de Localização com fundo de Setúbal a P&B */
.contact-channel--location {
  position: relative;
  overflow: hidden;
  border-color: transparent;
  color: #fff;
}
.contact-channel--location::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/uploads/setubal.webp');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.45);
  z-index: 0;
  transition: filter 0.5s var(--ease);
}
.contact-channel--location:hover::before {
  filter: grayscale(100%) brightness(0.55);
}
.contact-channel--location .channel-icon,
.contact-channel--location .channel-label,
.contact-channel--location .channel-value {
  position: relative;
  z-index: 1;
}
.contact-channel--location .channel-label { color: rgba(255,255,255,0.65); }
.contact-channel--location .channel-value { color: #fff; }
.channel-icon {
  font-size: 1.4rem; margin-bottom: 12px;
  color: var(--accent);
  line-height: 1;
}
.channel-label {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #888; margin-bottom: 6px;
}
.channel-value { font-size: 0.82rem; color: #222; line-height: 1.4; }

/* Divisor */
.contact-divider {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 48px;
  color: #bbb; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.contact-divider::before, .contact-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(0,0,0,0.08);
}

/* Formulário */
.contact-form-wrap { }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.contact-form .form-group { margin-bottom: 28px; }
.contact-form label {
  display: block; font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #666; margin-bottom: 10px;
}
.contact-form .req { color: var(--accent); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 10px 0;
  background: transparent; border: none; border-bottom: 1px solid rgba(0,0,0,0.13);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 300;
  color: var(--black); transition: border-color 0.3s; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--accent); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #bbb; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 8px;
}
.form-note { font-size: 0.73rem; color: #aaa; }
.contact-msg { padding: 16px 20px; border-radius: 8px; margin-bottom: 28px; font-size: 0.88rem; }
.contact-msg.success { background: rgba(34,197,94,0.07); border: 1px solid rgba(34,197,94,0.18); color: #166534; }
.contact-msg.error   { background: rgba(239,68,68,0.07);  border: 1px solid rgba(239,68,68,0.18);  color: #991b1b; }

/* ── BUTTONS ── */
.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--black);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  transition: all 0.3s;
  cursor: pointer;
  background: none;
  border-radius: 0;
}
.btn-outline:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

.btn-cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 0;
}
.btn-cta:hover { background: #e855b0; transform: translateY(-2px); }

.btn-submit {
  display: inline-block;
  padding: 14px 48px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-submit:hover { background: var(--accent); }

/* ── ARTIGOS (listagem) ── */
.articles-page { max-width: 1100px; margin: 0 auto; padding: 60px 40px 120px; }
.articles-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: 40px;
  line-height: 1.2;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.article-card {
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}
.article-card:hover { transform: translateY(-6px); }
.article-card-img {
  aspect-ratio: 16/10;
  background: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.3;
}
.article-card-cat {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 6px;
}
.article-card-excerpt {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 10px;
}
.article-card-date {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
}

/* ── ARTIGO (individual) — extra classes ── */
.article-header { margin-bottom: 40px; }
.article-cat { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #666; margin-bottom: 10px; }
.article-cat a { color: var(--black); text-decoration: none; }
.article-cat a:hover { color: var(--accent); }
.article-date { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #666; margin-top: 8px; }
.article-body { font-size: 1rem; line-height: 1.9; }
.article-body h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; margin: 40px 0 16px; scroll-margin-top: 90px; }
.article-body h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin: 32px 0 12px; scroll-margin-top: 90px; }
.article-body p { margin-bottom: 20px; color: #222; }
.article-body blockquote { border-left: 3px solid var(--accent); padding-left: 20px; margin: 28px 0; font-style: italic; color: #333; }
.article-body ul, .article-body ol { padding-left: 1.5em; margin-bottom: 20px; color: #222; }
.article-body li { margin-bottom: 6px; }
.article-body img { max-width: 100%; border-radius: 6px; margin: 24px 0; }
.article-body a { color: var(--black); border-bottom: 1px solid var(--accent); text-decoration: none; }
.article-body a:hover { color: var(--accent); }

/* ── TOC (Table of Contents) ── */
.article-toc {
  max-width: 720px;
  margin: 0 auto 40px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
}
.toc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  background: rgba(0,0,0,0.02);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  text-align: left;
}
.toc-toggle-chevron { font-size: 0.7rem; opacity: 0.4; transition: transform 0.2s; }
.toc-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(0,0,0,0.06); }
.toc-item { border-bottom: 1px solid rgba(0,0,0,0.04); }
.toc-item:last-child { border-bottom: none; }
.toc-item a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: #444;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}
.toc-item a:hover { color: var(--accent); }
.toc-sub a { padding-left: 36px; font-size: 0.82rem; }

/* ── SOBRE (blocos dinâmicos) — layouts ── */
.about-block-text { flex: 1; }
.about-block.image-left,
.about-block.image-right {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}
.about-block.image-right { flex-direction: row-reverse; }
.about-block.image-left .about-block-img,
.about-block.image-right .about-block-img {
  width: 45%;
  flex-shrink: 0;
  aspect-ratio: 4/3;
  margin: 0;
}
.about-block.text-only { max-width: 700px; margin-left: auto; margin-right: auto; margin-bottom: 60px; }
.about-block-content { font-size: 1.02rem; line-height: 1.9; color: #222; }
.about-block-content p { margin-bottom: 16px; }
.about-block-content h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin: 24px 0 8px; }

/* contact-layout legacy (removido) */

/* ── FOOTER ── */
footer {
  padding: 60px 40px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.06);
}
footer .footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 16px;
  color: #111;
}
.footer-copy {
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 0.04em;
}
.footer-copy a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-copy a:hover { color: var(--accent); }

.footer-link {
  font-size: .72rem;
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-link:hover { color: var(--accent); }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PAGE TRANSITION ── */
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
body > div[style*="padding-top"] { animation: fadeIn 0.5s var(--ease); }

/* ── MODAIS LEGAIS ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white); border-radius: 8px;
  width: min(700px, 90vw); max-height: 80vh;
  overflow-y: auto; padding: 48px 40px; position: relative;
}
.modal-box h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 300; margin-bottom: 8px; }
.modal-updated { font-size: 0.75rem; opacity: 0.4; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 32px; }
.modal-content { font-size: 0.9rem; line-height: 1.8; opacity: 0.8; }
.modal-content h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; margin: 24px 0 8px; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  font-size: 1.2rem; color: #999; padding: 8px;
}
.modal-close:hover { color: var(--black); }

/* ── BOTÃO VOLTAR AO TOPO ── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--white);
  color: var(--black);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
#back-to-top.btt-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ── BARRA DE PROGRESSO DE LEITURA ── */
#reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 2000;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── BANNER PRÉ-VISUALIZAÇÃO ── */
.preview-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1500;
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-family: var(--font-body);
}
.preview-banner a { color: #fff; text-decoration: underline; }
body:has(.preview-banner) { padding-top: 34px; }

/* ── 404 ── */
.not-found-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}
.not-found-inner { max-width: 480px; }
.not-found-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: 300;
  line-height: 1;
  opacity: .08;
  margin: 0;
  letter-spacing: -.02em;
}
.not-found-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 300;
  margin: -1rem 0 1rem;
}
.not-found-text {
  font-size: .9rem;
  opacity: .5;
  margin-bottom: 2.5rem;
}
.not-found-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.not-found-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: .82rem;
  text-decoration: none;
  letter-spacing: .04em;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  transition: opacity .2s;
}
.not-found-btn:hover { opacity: .7; }
.not-found-btn-ghost {
  background: transparent;
  color: var(--black);
}

/* ── PARTILHA SOCIAL ── */
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.share-label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .45;
  margin-right: 4px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-family: var(--font-body);
  font-weight: 400;
  padding: 6px 14px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.share-btn:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.3); }

/* ── ARTIGOS RELACIONADOS ── */
.related-articles {
  max-width: 780px;
  margin: 64px auto 0;
  padding: 48px 40px 80px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.related-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 32px;
  opacity: .7;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.related-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  background: #f5f5f5;
}
.related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.related-card:hover .related-card-img img { transform: scale(1.04); }
.related-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
}
.related-card-body p {
  font-size: .8rem;
  opacity: .55;
  margin-top: 4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-home { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 20px 20px 60px; }
  header { padding: 18px 20px; justify-content: flex-start; }
  .menu-trigger { right: 20px; }
  .about-page, .partner-page, .shop-page, .product-page, .blog-page, .contact-page, .article-page,
  .articles-page { padding: 40px 20px 80px; }
  .partner-owner { flex-direction: column; text-align: center; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr 1fr; }
  .contact-channel--instagram { width: 100%; }
  .form-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .about-block.image-left, .about-block.image-right { flex-direction: column; }
  .about-block.image-left .about-block-img, .about-block.image-right .about-block-img { width: 100%; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .related-articles { padding: 40px 20px 60px; }
}
@media (max-width: 560px) {
  /* Manter 2 cards lado a lado na home mesmo em ecrãs pequenos */
  .grid-home { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px 12px 60px; }
  .grid-card .card-label { font-size: 0.95rem; bottom: 14px; left: 14px; right: 14px; }
  .logo { font-size: 1.2rem; }
  .products-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
}

/* ── PRODUCT DETAIL PAGE ── */
.product-page { max-width: 1100px; margin: 0 auto; padding: 60px 40px 120px; }

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  opacity: .5;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.product-breadcrumb a { color: inherit; text-decoration: none; }
.product-breadcrumb a:hover { text-decoration: underline; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
}

/* Gallery */
.product-main-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
}
.product-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .25s;
}
.product-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: #ccc;
}
.product-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.product-thumb {
  width: 72px;
  height: 72px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
  flex-shrink: 0;
}
.product-thumb.active { border-color: var(--black); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Info */
.product-info { padding-top: 8px; }
.product-category-label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .45;
  margin-bottom: 12px;
}
.product-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
}
.product-description {
  font-size: .9rem;
  line-height: 1.8;
  opacity: .75;
  margin-bottom: 32px;
}
.product-cta { margin-bottom: 24px; }
.product-back-link {
  display: inline-block;
  font-size: .8rem;
  opacity: .45;
  color: inherit;
  text-decoration: none;
  margin-top: 8px;
  transition: opacity .2s;
}
.product-back-link:hover { opacity: .8; }

/* Related products */
.product-related { border-top: 1px solid rgba(0,0,0,.07); padding-top: 56px; }
.product-related h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 32px;
}
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rp-card { display: block; text-decoration: none; color: inherit; }
.rp-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
  margin-bottom: 12px;
}
.rp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.rp-card:hover .rp-card-img img { transform: scale(1.04); }
.rp-card-placeholder { width: 100%; height: 100%; background: #eee; }
.rp-card-cat { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .4; margin-bottom: 4px; }
.rp-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; line-height: 1.3; }

@media (max-width: 860px) {
  .product-layout { grid-template-columns: 1fr; gap: 36px; }
  .related-products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .product-page { padding: 40px 20px 80px; }
}
@media (max-width: 480px) {
  .related-products-grid { grid-template-columns: 1fr; }
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 2000;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.06);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
#cookie-banner.cb-visible { transform: translateY(0); }
.cb-text {
  font-size: .82rem;
  line-height: 1.6;
  opacity: .75;
  flex: 1;
}
.cb-text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cb-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cb-btn {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .08em;
  cursor: pointer;
  border: 1px solid var(--black);
  padding: 8px 20px;
  background: transparent;
  color: var(--black);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.cb-btn:hover { background: var(--black); color: var(--white); }
.cb-btn.cb-accept { background: var(--black); color: var(--white); }
.cb-btn.cb-accept:hover { background: #333; }
@media (max-width: 640px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; padding: 20px; }
  .cb-actions { width: 100%; }
  .cb-btn { flex: 1; text-align: center; }
}
