/*
Theme Name: Noor
Theme URI: https://noor-beautystudio.ch
Author: pintopinto
Author URI: https://pintopinto.pt
Description: Massgeschneidertes Theme für Noor Beauty Studio — Advanced Aesthetics. Helle, editoriale Basis mit Espresso- und Bronze-Akzenten, Terminbuchung und individuellen Behandlungsseiten.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: noor
*/

/* =========================================================
   1. FONTS — self-hosted, OFL (uso comercial livre)
   Display: Fraunces  ·  Body: Jost
   Cobertura de umlauts completa (ä ö ü ß).
   ========================================================= */

/* Fraunces — Display */
@font-face { font-family:"Fraunces"; src:url("assets/fonts/fraunces-light.woff2") format("woff2");   font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:"Fraunces"; src:url("assets/fonts/fraunces-regular.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Fraunces"; src:url("assets/fonts/fraunces-italic.woff2") format("woff2");  font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:"Fraunces"; src:url("assets/fonts/fraunces-medium.woff2") format("woff2");  font-weight:500; font-style:normal; font-display:swap; }

/* Jost — Body */
@font-face { font-family:"Jost"; src:url("assets/fonts/jost-light.woff2") format("woff2");   font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:"Jost"; src:url("assets/fonts/jost-regular.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Jost"; src:url("assets/fonts/jost-medium.woff2") format("woff2");  font-weight:500; font-style:normal; font-display:swap; }

/* =========================================================
   2. DESIGN TOKENS
   ========================================================= */

:root {
  /* Palette — Coolors: Black, Golden Bronze, Dust Grey, Camel, Old Lace.
     Regra estrita: só estas 5 cores existem no site. Onde antes havia tons
     calculados (Porcelain, Blush, cinzentos de texto), usamos agora uma
     destas 5 diretamente — a única liberdade tomada é usar transparência
     (opacidade reduzida) da MESMA cor para bordas e sombras subtis, nunca
     uma mistura que crie um tom novo. */
  --espresso:      #000000; /* Black */
  --gold:          #C6A357; /* Golden Bronze */
  --camel:         #B29063; /* Camel */
  --gold-deep:     var(--camel); /* sem escurecer — mantém-se dentro das 5 cores */
  --taupe:         #D7CCC5; /* Dust Grey */
  --old-lace:      #F5EEDF; /* Old Lace */

  /* Roles — cada papel do site aponta para uma das 5 cores acima */
  --bg:            var(--old-lace);
  --bg-raised:     var(--old-lace); /* mesma cor; cartões distinguem-se pela borda, não por um tom novo */
  --bg-dark:       var(--espresso);
  --ink:           var(--espresso);
  --ink-muted:     color-mix(in srgb, var(--espresso) 68%, transparent);
  --ink-on-dark:   var(--old-lace);
  --ink-on-dark-muted: color-mix(in srgb, var(--old-lace) 68%, transparent);
  --line:          color-mix(in srgb, var(--espresso) 14%, transparent); /* preto translúcido, não uma cor nova */
  --line-dark:     color-mix(in srgb, var(--old-lace) 16%, transparent); /* old lace translúcido */
  --accent:        var(--gold);
  --accent-on-light: var(--gold-deep);

  /* Type */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale (fluid) */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.4rem + 1vw, 2.25rem);
  --step-3:  clamp(2.2rem, 1.8rem + 2vw, 3.5rem);
  --step-4:  clamp(3rem, 2.2rem + 4vw, 6rem);
  --step-5:  clamp(4rem, 2.8rem + 6vw, 9rem);

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 780px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 4px;
  --radius-lg: 12px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================
   3. RESET / BASE
   ========================================================= */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}

/* h5/h6 ficam em Jost medium — hierarquia de apoio */
h5, h6 {
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 0;
}

/* Negrito editorial — mais expressivo que o padrão */
strong, b {
  font-weight: 500;
  color: inherit;
}

/* Itálico — usa a Fraunces quando dentro de um display element */
em { font-style: italic; }
h1 em, h2 em, h3 em, .statement em {
  font-style: italic;
  font-weight: 400;
  color: var(--espresso);
}

/* Mark — destaque quente */
mark {
  background: var(--taupe);
  color: var(--espresso);
  padding: 0.05em 0.25em;
  border-radius: 2px;
  font-style: normal;
}

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold); color: var(--espresso); }

:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

/* =========================================================
   4. LAYOUT PRIMITIVES
   ========================================================= */

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--dark { background: var(--bg-dark); color: var(--ink-on-dark); }
.section--taupe { background: var(--taupe); }
.section--raised { background: var(--bg-raised); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent-on-light);
  margin: 0 0 1.25rem;
}
.section--dark .eyebrow { color: var(--old-lace); }

/* =========================================================
   5. HEADER
   ========================================================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  /* mega-menu ancora-se aqui */
  background: color-mix(in srgb, var(--old-lace) 88%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), border-color 0.35s var(--ease);
}
/* O header saiu do fluxo normal da página (fixed) — todas as páginas
   precisam de compensar esse espaço, EXCETO a homepage, onde o hero deve
   ficar mesmo colado ao topo absoluto, com o header a flutuar transparente
   por cima dele. */
#main { padding-top: 76px; }
body.is-front #main { padding-top: 0; }
/* Na homepage, o header nasce transparente sobre o hero e só ganha fundo
   sólido depois de um pequeno scroll (classe aplicada via JS). Nas restantes
   páginas mantém-se sempre sólido — começam logo com conteúdo por baixo. */
body.is-front .site-header:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
/* Enquanto o menu mobile está aberto, o header não pode ter backdrop-filter
   (nem nenhuma outra propriedade que crie um "containing block" novo) —
   senão o painel do menu, que é position:fixed, fica preso à altura do
   header em vez de cobrir o ecrã inteiro. Mudança instantânea, sem transição. */
.site-header.menu-open {
  backdrop-filter: none !important;
  transition: none !important;
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.brand img { height: 34px; width: auto; display: block; }
.custom-logo { height: 40px; width: auto; }

/* O wrapper .nav "desaparece" no desktop — nav-left e nav-right tornam-se
   itens diretos do flex, cada um só com a largura que o seu conteúdo pede.
   O logo, centrado por posição absoluta, não depende de nenhum dos dois. */
.nav {
  display: contents;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  white-space: nowrap;
}
.nav-left a {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-block: 0.4rem;
}
.nav-left a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-deep);
  transition: width 0.3s var(--ease);
}
.nav-left a:hover::after, .nav-left a[aria-current="page"]::after { width: 100%; }
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  margin-left: auto;
  white-space: nowrap;
}
.nav-right a {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-block: 0.4rem;
}
.nav-right a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-deep);
  transition: width 0.3s var(--ease);
}
.nav-right a:hover::after, .nav-right a[aria-current="page"]::after { width: 100%; }
.nav__cta { text-transform: uppercase; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--espresso); }
.btn--gold:hover { background: var(--gold-deep); color: var(--old-lace); transform: translateY(-1px); }
/* EXCEÇÃO DELIBERADA à paleta estrita de 5 cores: a cliente pediu
   especificamente texto branco puro (#FFFFFF) nestes botões, não Old Lace.
   Confirmado como critério da cliente — não é um esquecimento. */
.btn--ghost { background: var(--espresso); border-color: var(--espresso); color: #FFFFFF; }
.btn--ghost:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #FFFFFF; transform: translateY(-1px); }
.btn--ghost-light { border-color: var(--old-lace); color: var(--old-lace); }
.btn--ghost-light:hover { background: var(--old-lace); color: var(--espresso); }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 0.5rem;
  color: var(--ink);
  position: relative; z-index: 110; /* tem de ficar por cima do painel do menu (.nav) quando aberto */
}
.nav-toggle svg { width: 26px; height: 26px; }
.site-header.menu-open .nav-toggle { color: var(--old-lace); } /* ícone claro sobre o fundo preto do menu aberto */

/* Logo: versão escura por defeito, dourada só quando o menu mobile está aberto
   (fundo preto) — sem isto o logo escuro fica invisível sobre fundo escuro.
   .brand já tem position:absolute (regra acima), que serve de referência
   para a imagem dourada sobreposta. */
.brand__mark--gold { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.site-header.menu-open .brand__mark--dark { opacity: 0; }
.site-header.menu-open .brand__mark--gold { opacity: 1; }

/* Elementos que só existem no menu mobile — invisíveis no desktop por defeito */
.nav-section-label,
.nav-mobile-footer,
.lang-switcher--mobile-only {
  display: none;
}

/* =========================================================
   6. HERO
   ========================================================= */

.hero {
  background: linear-gradient(158deg, var(--taupe) 0%, var(--old-lace) 44%, var(--old-lace) 100%);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 14vh, 11rem);
  /* mínimo de altura para o vídeo respirar */
  min-height: clamp(480px, 70vh, 820px);
  display: flex;
  align-items: center;
}
.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Overlay suave para legibilidade do texto sobre o vídeo */
/* Overlay removido a pedido — o vídeo aparece agora sem sobreposição de cor.
   Se o texto por cima ficar difícil de ler consoante o vídeo, é aqui que se
   volta a adicionar uma camada subtil (ver style.css no histórico do projeto). */
.hero__inner { position: relative; z-index: 2; max-width: 900px; }
.hero__inner--centered { text-align: center; margin-inline: auto; }
.hero__mark {
  margin: 0 0 1.6rem;
  line-height: 1;
}
.hero__mark img {
  width: min(440px, 62vw);
  height: auto;
  display: block;
}
.hero__lede {
  font-size: var(--step-1);
  font-weight: 400;
  color: var(--ink-muted);
  max-width: 34ch;
  margin: 0 0 2.2rem;
  line-height: 1.6;
}
.hero__badges {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 2.2rem;
}
.hero__badges-sep { color: var(--espresso); margin-inline: 0.6em; font-size: 0.8em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__actions--centered { justify-content: center; }

/* Hero minimalista — só o texto de boas-vindas, vídeo em total destaque */
.hero__welcome {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--espresso);
  margin: 0 0 0.85rem;
  line-height: 1.25;
}
.hero__welcome-sub {
  font-size: var(--step-1);
  color: var(--ink-muted);
  max-width: 46ch;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}
.btn--sm { padding: 0.75rem 1.5rem; font-size: 0.82rem; }

.hero__sparkle {
  position: absolute;
  right: clamp(-4rem, -2vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 520px);
  opacity: 0.18;
  z-index: 1;
  color: var(--gold);
  pointer-events: none;
}

/* =========================================================
   7. SECTION HEADINGS
   ========================================================= */

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--step-3); font-weight: 500; margin-bottom: 0.5rem; }
.section-head p { color: var(--ink-muted); font-size: var(--step-1); font-weight: 400; line-height: 1.5; }
.section--dark .section-head p { color: var(--ink-on-dark-muted); }

/* =========================================================
   8. FEATURED / SERVICE CARDS
   ========================================================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* Cartões simples — só imagem + nome, sem descrição nem preço */
.card-grid--simple { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.svc-card-simple {
  display: block; text-align: center; position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.svc-card-simple:hover { transform: translateY(-4px); }
.svc-card-simple__media {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-lg);
}
.svc-card-simple__icon {
  position: absolute; top: 1rem; left: 1rem;
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--old-lace); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--espresso);
}
.svc-card-simple__icon .noor-icon { width: 18px; height: 18px; }
.svc-card-simple h3 {
  font-size: var(--step-1); font-weight: 500;
  margin-top: 1rem; text-transform: uppercase; letter-spacing: 0.04em;
}

.svc-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.svc-card__cat {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-on-light);
  font-weight: 400;
  margin-bottom: 1rem;
}
.svc-card h3 { font-size: var(--step-2); font-weight: 500; margin-bottom: 0.6rem; }
.svc-card__desc { color: var(--ink-muted); font-size: var(--step-0); font-weight: 300; margin-bottom: 1.5rem; }
.svc-card__meta {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.svc-card__price { font-family: var(--font-display); font-size: var(--step-1); }
.svc-card__price s { color: var(--taupe); font-size: 0.72em; margin-right: 0.4em; text-decoration-color: var(--taupe); }
.svc-card__price em { font-style: italic; color: var(--espresso); }
.svc-card__dur { font-size: var(--step--1); color: var(--ink-muted); letter-spacing: 0.06em; font-weight: 400; }
.svc-card__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.25rem; font-size: var(--step--1); font-weight: 500;
  color: var(--espresso); letter-spacing: 0.03em;
}
.svc-card__link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.svc-card:hover .svc-card__link svg { transform: translateX(4px); }

/* Price list (compact table style) */
.pricelist { border-top: 1px solid var(--line); }
.pricelist__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.pricelist__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; }
.pricelist__name small { display: block; font-family: var(--font-body); font-weight: 300; font-size: var(--step--1); color: var(--ink-muted); letter-spacing: 0.02em; margin-top: 0.25rem; }
.pricelist__dur { font-size: var(--step--1); color: var(--ink-muted); white-space: nowrap; font-weight: 400; letter-spacing: 0.04em; }
.pricelist__price { font-family: var(--font-display); font-size: var(--step-1); font-weight: 400; white-space: nowrap; }
.pricelist__price s { color: var(--taupe); font-size: 0.7em; margin-right: 0.4em; text-decoration-color: var(--taupe); }
.pricelist__price em { font-style: italic; color: var(--espresso); }

/* =========================================================
   9. ABOUT / SPLIT
   ========================================================= */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--full { grid-template-columns: 1fr; max-width: var(--wrap-narrow); margin-inline: auto; text-align: center; }
.split--full .checklist { text-align: left; max-width: 32rem; margin-inline: auto; }
.split__media {
  aspect-ratio: 4 / 5;
  background: var(--taupe);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.split__media--placeholder {
  display: flex; align-items: center; justify-content: center;
  color: color-mix(in srgb, var(--espresso) 40%, transparent);
  font-family: var(--font-display); font-size: var(--step-2);
  background: repeating-linear-gradient(135deg, var(--taupe) 0 22px, color-mix(in srgb, var(--taupe) 60%, transparent) 22px 44px);
}
.split__body h2 { font-size: var(--step-3); font-weight: 500; margin-bottom: 1.25rem; }
.split__body p { color: var(--ink-muted); font-weight: 300; line-height: 1.75; }
.section--dark .split__body p { color: var(--ink-on-dark-muted); }

/* =========================================================
   10. BOOKING
   ========================================================= */

.booking { text-align: center; }
.booking__frame {
  margin-top: 2.5rem;
  min-height: 480px;
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--espresso);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; padding: 3rem 1.5rem; color: var(--ink-on-dark-muted);
}
.booking__frame code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: var(--step--1); color: var(--old-lace); }

/* Cal.com embed inline */
.booking__frame--cal {
  background: transparent;
  border: 1px dashed transparent;
  padding: 0; min-height: 600px; display: block;
}
.booking__frame--cal > div { border-radius: var(--radius-lg); overflow: hidden; }

/* Coboma: embed genérico (iframe/script) */
.booking__frame--coboma {
  background: transparent; border: 0; padding: 0; min-height: 600px; display: block;
}
.booking__frame--coboma iframe { width: 100%; min-height: 600px; border: 0; border-radius: var(--radius-lg); }

/* Coboma: fallback (sem embed, só link) */
.booking__frame--fallback {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  background: var(--espresso); border-radius: var(--radius-lg);
  text-align: center;
}
.booking__frame--fallback p { color: var(--ink-on-dark-muted); margin: 0; max-width: 40ch; }
.booking__frame--fallback .btn { display: inline-flex; align-items: center; gap: 0.6rem; }
.booking__frame-note { font-size: var(--step--1) !important; color: var(--taupe) !important; }

/* Layout página /termin */
.termin-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.termin-aside { position: sticky; top: 96px; }
.termin-aside .mega__aside-link {
  display: block; padding: 0.7rem 0;
  font-size: var(--step-0); color: var(--ink-on-dark-muted);
  border-bottom: 1px solid var(--line-dark);
  margin-top: 0;
  transition: color 0.2s var(--ease);
}
.termin-aside .mega__aside-link:first-of-type { margin-top: 1.5rem; }
.termin-aside .mega__aside-link:hover { color: var(--old-lace); }

/* =========================================================
   11. FOUNDERS
   ========================================================= */

.founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.founder__photo {
  aspect-ratio: 1; border-radius: var(--radius-lg); margin-bottom: 1.25rem;
  background: repeating-linear-gradient(135deg, var(--taupe) 0 22px, color-mix(in srgb, var(--taupe) 60%, transparent) 22px 44px);
}
.founder h3 { font-size: var(--step-2); font-weight: 500; }
.founder__role { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 400; color: var(--accent-on-light); margin: 0.35rem 0 0.9rem; }
.founder p { color: var(--ink-muted); font-weight: 300; line-height: 1.7; }

/* =========================================================
   12. FOOTER
   ========================================================= */

.site-footer { background: var(--espresso); color: var(--ink-on-dark); padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); margin-bottom: 4rem; }
.footer-grid--3 { grid-template-columns: 1.3fr 1fr 1fr; }
.footer-brand__mark { margin-bottom: 1.4rem; }
.footer-brand__mark img { width: 140px; height: auto; display: block; }
.footer-brand p { color: var(--ink-on-dark-muted); max-width: 34ch; margin-bottom: 1.25rem; }
.footer-label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--old-lace); margin: 0.5rem 0 0.6rem; }
.footer-address { font-style: normal; color: var(--ink-on-dark-muted); font-size: var(--step--1); line-height: 1.7; }
.footer-address--link { display: block; transition: color 0.2s var(--ease); }
.footer-address--link:hover { color: var(--old-lace); }
.footer-social { display: flex; gap: 1.25rem; margin-top: 1.5rem; }
.footer-social a { font-size: var(--step--1); color: var(--ink-on-dark-muted); text-transform: uppercase; letter-spacing: 0.08em; transition: color 0.2s var(--ease); }
.footer-social a:hover { color: var(--old-lace); }

.footer-cta { text-align: center; padding-bottom: 3rem; }
.footer-cta__btn { background: var(--espresso); border-color: var(--old-lace); color: var(--old-lace); }
.footer-cta__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--espresso); }
.footer-col h4 { font-family: var(--font-body); font-size: var(--step--1); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--old-lace); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: var(--ink-on-dark-muted); font-size: var(--step-0); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--old-lace); }
.footer-hours { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); color: var(--ink-on-dark-muted); font-size: var(--step--1); line-height: 1.8; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); font-size: var(--step--1); color: var(--ink-on-dark-muted); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--ink-on-dark-muted); transition: color 0.2s var(--ease); }
.footer-legal a:hover { color: var(--old-lace); }

/* =========================================================
   13. SINGLE / PAGE CONTENT
   ========================================================= */

.page-hero { background: var(--espresso); color: var(--ink-on-dark); padding-block: clamp(4rem, 10vh, 7rem); }
.page-hero .eyebrow { color: var(--old-lace); }
.page-hero h1 { font-size: var(--step-4); font-weight: 500; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }
.page-hero__meta div span { display: block; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400; color: var(--ink-on-dark-muted); margin-bottom: 0.35rem; }
.page-hero__meta div strong { font-family: var(--font-display); font-weight: 500; font-size: var(--step-2); }
.page-hero__meta em { font-style: italic; color: var(--old-lace); }

.prose { max-width: var(--wrap-narrow); }

/* Links dentro de texto corrido (prosa fora do .prose também usa esta classe)
   — sempre que um serviço é mencionado, aponta para a página respetiva. */
.text-link {
  color: var(--espresso);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--espresso) 35%, transparent);
  text-underline-offset: 0.15em;
  transition: text-decoration-color 0.2s var(--ease);
}
.text-link:hover { text-decoration-color: var(--espresso); }
.section--dark .text-link { color: var(--old-lace); text-decoration-color: color-mix(in srgb, var(--old-lace) 45%, transparent); }
.section--dark .text-link:hover { text-decoration-color: var(--old-lace); }
.section--dark .text-link:hover, .section--taupe .text-link:hover { color: var(--old-lace); }
.prose h2 { font-size: var(--step-2); font-weight: 500; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: var(--step-1); font-weight: 500; margin: 2rem 0 0.75rem; }
.prose p { font-weight: 300; line-height: 1.8; color: var(--ink-muted); }
.prose p strong { font-weight: 500; color: var(--ink); }
.prose p em { font-style: italic; color: var(--espresso); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: 0.5rem; font-weight: 300; color: var(--ink-muted); }
.prose li strong { font-weight: 500; color: var(--ink); }
.prose img { border-radius: var(--radius-lg); margin: 2rem 0; }

/* =========================================================
   13b. TREATMENT (single) PAGE
   ========================================================= */

.page-hero__back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--step--1); letter-spacing: 0.03em;
  color: var(--ink-on-dark-muted); margin-bottom: 1.75rem;
  transition: color 0.2s var(--ease);
}
.page-hero__back:hover { color: var(--old-lace); }
.page-hero__back svg { width: 16px; height: 16px; }

.treatment {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.treatment__media { aspect-ratio: 16 / 10; margin-bottom: 2.5rem; }
.treatment__main > :first-child { margin-top: 0; }

.treatment__aside { position: sticky; top: 100px; }

.booking-card {
  background: var(--espresso);
  color: var(--ink-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
}
.booking-card__label {
  font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--old-lace); margin-bottom: 1.5rem;
}
.booking-card__facts { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 1rem; }
.booking-card__facts li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-dark); }
.booking-card__facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.booking-card__facts span { font-size: var(--step--1); color: var(--ink-on-dark-muted); letter-spacing: 0.06em; font-weight: 300; }
.booking-card__facts strong { font-family: var(--font-display); font-weight: 500; font-size: var(--step-0); text-align: right; }
.booking-card__facts strong s { color: var(--ink-on-dark-muted); font-size: 0.72em; margin-right: 0.35em; text-decoration-color: currentColor; }
.booking-card__facts strong em { font-style: italic; color: var(--old-lace); }
.booking-card__cta { width: 100%; justify-content: center; }
.booking-card__note { font-size: var(--step--1); color: var(--ink-on-dark-muted); margin: 1.25rem 0 0; line-height: 1.5; text-align: center; }

/* FAQ (details/summary) inside prose */
.prose details {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
}
.prose details:last-of-type { border-bottom: 1px solid var(--line); }
.prose summary {
  font-family: var(--font-display);
  font-size: var(--step-1);
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after {
  content: "+"; font-family: var(--font-body); font-weight: 300;
  font-size: 1.5em; color: var(--espresso); transition: transform 0.25s var(--ease);
}
.prose details[open] summary::after { transform: rotate(45deg); }
.prose details p { margin-top: 0.9rem; color: var(--ink-muted); }

/* =========================================================
   13c. LEBEN — Animation, Farbe, Schweizer Detail
   ========================================================= */

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Hero sparkle: langsames Driften --- */
@keyframes noor-drift {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50%      { transform: translateY(-54%) rotate(6deg); }
}
.hero__sparkle { animation: noor-drift 18s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero__sparkle { animation: none; } }

/* --- Marken-Icons --- */
.noor-icon { display: block; }
.svc-icon {
  width: 34px; height: 34px;
  color: var(--espresso);
  margin-bottom: 1.25rem;
}
.section--dark .svc-icon { color: var(--old-lace); }

/* Eyebrow mit Funken-Motiv */
.eyebrow--mark { display: inline-flex; align-items: center; gap: 0.6rem; }
.eyebrow--mark svg { width: 12px; height: 12px; color: var(--espresso); }
.section--dark .eyebrow--mark svg { color: var(--old-lace); }

/* --- Schweizer Detail: Sektionsnummern --- */
.section-num {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--espresso);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.section-num::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
}
.section--dark .section-num { color: var(--old-lace); }
.section--dark .section-num::before { background: var(--gold-deep); }

/* --- Blush-Sektion (warmer Akzent, luftig) --- */
.section--blush { background: var(--taupe); }
.section--blush .eyebrow { color: var(--espresso); }
.section--blush .section-num { color: var(--espresso); }
.section--blush .section-num::before { background: color-mix(in srgb, var(--espresso) 30%, transparent); }

/* Zitat / Statement gross gesetzt */
.statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-3);
  line-height: 1.15;
  max-width: 22ch;
  letter-spacing: -0.015em;
}
.statement em {
  font-style: italic;
  font-weight: 400;
  color: var(--espresso);
  letter-spacing: -0.02em;
}

/* Funken-Divider */
.sparkle-divider {
  display: flex; align-items: center; gap: 1.25rem;
  color: var(--taupe);
  margin: 0 auto;
  max-width: 340px;
}
.sparkle-divider::before, .sparkle-divider::after {
  content: ""; height: 1px; flex: 1; background: currentColor;
}
.sparkle-divider svg { width: 16px; height: 16px; color: var(--espresso); flex: none; }

/* Karten-Detail: Nummer in der Ecke */
.svc-card { position: relative; }
.svc-card__index {
  position: absolute; top: 1.5rem; right: 1.75rem;
  font-size: var(--step--1); letter-spacing: 0.1em;
  color: var(--taupe);
}

/* Feineres Hover-Feedback auf Bildern/Media */
.split__media, .founder__photo, .treatment__media {
  overflow: hidden;
}
.split__media img, .founder__photo img {
  transition: transform 1.2s var(--ease);
}
.split__media:hover img, .founder__photo:hover img { transform: scale(1.04); }

/* =========================================================
   13d-i. SELETOR DE LÍNGUA (Polylang)
   ========================================================= */

.lang-switcher {
  display: flex; align-items: center; gap: 0.1rem;
  margin-left: 0.5rem; padding-left: 1rem;
  border-left: 1px solid var(--line);
}
.lang-switcher a,
.lang-switcher span {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.3rem 0.5rem; border-radius: var(--radius);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  text-decoration: none;
}
.lang-switcher a:hover { color: var(--ink); background: var(--old-lace); }
.lang-switcher .current-lang,
.lang-switcher span { color: var(--espresso); }

/* =========================================================
   13d. MEGA-MENÜ (Behandlungen)
   ========================================================= */

.nav__item--mega { display: flex; align-items: center; position: relative; }

.nav__trigger {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-body);
  font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  background: none; border: 0; cursor: pointer;
  padding-block: 0.4rem;
}
.nav__trigger--emphasis { font-weight: 600; color: var(--espresso); }
.nav__chevron { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.nav__item--mega[data-open="true"] .nav__chevron,
.nav__item--mega:hover .nav__chevron { transform: rotate(180deg); }

/* Painel */
.mega {
  position: absolute;
  left: 50%; top: 100%;
  width: fit-content;
  max-width: min(92vw, 640px);
  transform: translateX(-50%) translateY(-8px);
  background: var(--old-lace);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 24px 48px -24px rgba(34,26,19,0.22);
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
  z-index: 90;
}
.nav__item--mega:hover .mega,
.nav__item--mega[data-open="true"] .mega {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s;
}

.mega__inner {
  max-width: none;
  margin-inline: 0;
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
}
.mega__groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2rem;
  align-content: start;
}
.mega__group { min-width: 0; }
.mega__label {
  font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--espresso); margin: 0 0 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.mega__item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 0.5rem; margin: 0 -0.5rem;
  border-radius: var(--radius);
  transition: background 0.2s var(--ease);
}
.mega__item:hover { background: var(--old-lace); }
.mega__icon {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--old-lace);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--espresso);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.mega__item:hover .mega__icon { background: var(--gold); border-color: var(--gold); color: var(--espresso); }
.mega__icon .noor-icon { width: 14px; height: 14px; }
.mega__text {
  font-family: var(--font-body); font-weight: 400;
  font-size: 0.82rem; color: var(--ink); line-height: 1.25;
}

/* Mega simplificado — 5 categorias, sem lista de tratamentos */
.mega--simple .mega__inner { grid-template-columns: 1fr 240px; }
.mega__categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.mega__categories--4 { grid-template-columns: repeat(4, 1fr); }
.mega__categories--row {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.85rem 3rem;
}
.mega__special {
  display: block; font-style: normal; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--espresso); margin-top: 0.2rem;
}
.mega__cat-item .mega__text { text-transform: uppercase; letter-spacing: 0.04em; }
.mega__cat-item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.mega__cat-item:hover { background: var(--old-lace); border-color: var(--gold); }
.mega__cat-item .mega__icon { width: 44px; height: 44px; }
.mega__cat-item .mega__icon .noor-icon { width: 22px; height: 22px; }
.mega__cat-item .mega__text { font-size: 0.85rem; font-weight: 500; }

/* Versão "flat" (lista horizontal limpa, sem caixa) — vem DEPOIS da regra
   base de propósito, para garantir que ganha em caso de conflito de propriedades. */
.mega__cat-item--flat {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0;
  border: 0;
  border-radius: 0;
}
.mega__cat-item--flat:hover { background: transparent; border-color: transparent; }
.mega__cat-item--flat .mega__text {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.mega__cat-item--flat:hover .mega__text { color: var(--espresso); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.2em; }

/* Coluna direita */
.mega__aside {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.5rem, 3vw, 3rem);
}
.mega__aside-link {
  display: block; padding: 0.55rem 0;
  font-size: var(--step-0); color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease);
}
.mega__aside-link:hover { color: var(--espresso); }
.mega__cta { margin-top: 0; max-width: 220px; }
.mega__cta p { font-size: var(--step--1); color: var(--ink-muted); margin: 0 0 1rem; line-height: 1.5; }
.mega__cta .btn { width: 100%; justify-content: center; }

/* =========================================================
   13e. PÁGINAS INTERNAS — componentes específicos
   ========================================================= */

/* Page hero light (para páginas internas claras) */
.page-hero--light {
  background: linear-gradient(135deg, var(--taupe) 0%, var(--old-lace) 60%);
  color: var(--ink);
}
.page-hero--light .eyebrow { color: var(--espresso); }
.page-hero--light h1 { color: var(--espresso); }
.page-hero__lede { font-size: var(--step-1); color: var(--ink-muted); max-width: 52ch; margin-top: 1rem; font-weight: 400; }

/* Pricelist group */
/* Galeria de fotos representativas por categoria */
.cat-gallery { display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }
.cat-gallery--3 { grid-template-columns: repeat(3, 1fr); }
.cat-gallery--2 { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin-inline: auto; }
.cat-gallery--1 { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
.cat-gallery__item {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-lg);
  position: relative;
}
.cat-gallery__item span {
  font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--espresso); background: var(--old-lace);
  padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid var(--line);
}

/* Banner "em breve" — Laser Haarentfernung */
.launch-banner {
  background: var(--espresso); color: var(--old-lace);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 2.5rem;
}
.launch-banner__eyebrow {
  font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--old-lace); margin-bottom: 0.75rem;
}
.launch-banner__special { color: var(--old-lace); font-weight: 600; }
.launch-banner h2 { font-size: var(--step-2); margin-bottom: 0.5rem; color: var(--old-lace); }
.launch-banner p { color: var(--taupe); margin-bottom: 0.4rem; }
.launch-banner p:last-child { color: var(--old-lace); }
.launch-banner__discount { color: var(--old-lace) !important; font-weight: 500; margin-top: 0.75rem !important; }

.pricelist-group { margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.pricelist-group__title {
  font-size: var(--step-1); font-weight: 500;
  letter-spacing: 0.01em; margin-bottom: 0.5rem;
  padding-bottom: 0.75rem; border-bottom: 2px solid var(--espresso);
  color: var(--espresso);
}
.pricelist__row--link { cursor: pointer; transition: background 0.2s var(--ease); padding-inline: 0.5rem; border-radius: var(--radius); }
.pricelist__row--link:hover { background: var(--old-lace); }
.pricelist__more { display: flex; align-items: center; color: var(--espresso); }
.pricelist__more .noor-icon { width: 20px; height: 20px; }
.pricelist__note { margin-top: 1.5rem; color: var(--ink-muted); font-size: var(--step--1); font-style: italic; }

.price-highlight {
  font-size: var(--step-1); font-weight: 500; color: var(--espresso);
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  max-width: 44ch; margin-inline: auto;
}
.price-highlight__star { color: var(--espresso); font-size: 1.1em; flex: none; }

/* Info box */
.info-box {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2.5rem;
}
.info-box h3 { font-family: var(--font-body); font-size: var(--step-0); font-weight: 500; margin-bottom: 0.75rem; letter-spacing: 0.02em; }
.info-box p, .info-box ul { color: var(--ink-muted); font-size: var(--step-0); font-weight: 300; }
.info-box ul { padding-left: 1.25em; margin: 0; }
.info-box ul li { margin-bottom: 0.4rem; }
.info-box--outline { background: transparent; border-color: var(--gold); }
.info-box--outline h3 { color: var(--espresso); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 0.25rem; }
.faq-nav__item {
  font-size: var(--step--1); font-weight: 400; color: var(--ink-muted);
  padding: 0.6rem 0.9rem; border-radius: var(--radius);
  border-left: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.faq-nav__item:hover, .faq-nav__item.is-active { color: var(--espresso); border-left-color: var(--gold); background: var(--old-lace); }
.faq-group { margin-bottom: 3.5rem; }
.faq-group__title { font-size: var(--step-2); font-weight: 500; margin-bottom: 1.25rem; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item__q {
  font-family: var(--font-display); font-weight: 500; font-size: var(--step-1);
  cursor: pointer; list-style: none; padding: 1.1rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after { content: "+"; font-family: var(--font-body); font-weight: 300; font-size: 1.4em; color: var(--espresso); flex: none; transition: transform 0.25s var(--ease); }
.faq-item[open] .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a { padding-bottom: 1.25rem; }
.faq-item__a p { color: var(--ink-muted); font-weight: 300; line-height: 1.75; margin: 0; }

/* Steps (Erstbesuch) */
.steps { display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 2rem; padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { padding-top: 0; }
.step__num {
  font-family: var(--font-display); font-size: var(--step-3);
  font-weight: 300; color: var(--taupe); line-height: 1;
  padding-top: 0.2rem;
}
.step__body h2 { font-size: var(--step-2); font-weight: 500; margin-bottom: 0.75rem; }
.step__body p { color: var(--ink-muted); font-weight: 300; line-height: 1.75; }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.75rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: baseline; color: var(--ink-muted); font-weight: 300; }
.checklist li::before { content: "✦"; font-size: 0.6em; color: var(--espresso); flex: none; position: relative; top: -1px; }

/* Team (Über uns) */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.team-card { display: grid; grid-template-rows: auto 1fr; gap: 1.5rem; }
.team-card__photo {
  aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: repeating-linear-gradient(135deg, var(--taupe) 0 22px, color-mix(in srgb, var(--taupe) 60%, transparent) 22px 44px);
}
.team-card__body h3 { font-size: var(--step-2); font-weight: 500; margin-bottom: 0.25rem; }
.team-card__role { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; color: var(--espresso); margin: 0.25rem 0 1rem; }
.team-card__body p { color: var(--ink-muted); font-weight: 300; line-height: 1.75; }
.team-card__certs { list-style: none; padding: 0; margin: 1.25rem 0 0; border-top: 1px solid var(--line); padding-top: 1.25rem; display: grid; gap: 0.5rem; }
.team-card__certs li { font-size: var(--step--1); color: var(--ink-muted); display: flex; gap: 0.6rem; align-items: baseline; }
.team-card__certs li::before { content: "✓"; color: var(--espresso); font-weight: 500; flex: none; }

/* Values / Tech (Über uns) */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,260px),1fr)); gap: 2rem; }
.value-item h3 { font-size: var(--step-1); font-weight: 500; margin: 1rem 0 0.5rem; }
.value-item p { color: var(--ink-muted); font-weight: 300; }
.tech-list { display: grid; gap: 0; }
.tech-item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.tech-item:first-child { padding-top: 0; }
.tech-item strong { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; display: block; margin-bottom: 0.4rem; }
.tech-item p { color: var(--ink-muted); font-weight: 300; margin: 0; }

/* Pacotes */
.paket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px),1fr)); gap: clamp(1.5rem,3vw,2rem); }
.paket-card {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.75rem,3vw,2.25rem); display: flex; flex-direction: column; gap: 1rem; position: relative;
}
.paket-card--featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.paket-card__badge {
  position: absolute; top: -12px; right: 1.5rem; background: var(--gold); color: var(--espresso);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; padding: 0.3rem 0.8rem; border-radius: 20px;
}
.paket-card h3 { font-size: var(--step-1); font-weight: 500; }
.paket-card__ideal { font-size: var(--step--1); color: var(--ink-muted); font-style: italic; font-weight: 300; }
.paket-card__items { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.paket-card__items li { font-size: var(--step--1); color: var(--ink-muted); font-weight: 300; padding-left: 1.2em; position: relative; }
.paket-card__items li::before { content: "✓"; position: absolute; left: 0; color: var(--espresso); font-weight: 500; }
.paket-card__price { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: var(--step-1); }
.paket-card__price s { color: var(--taupe); font-size: 0.7em; }
.paket-card__price em { font-style: italic; color: var(--espresso); margin-left: 0.4em; }
.paket-savings { display: block; font-family: var(--font-body); font-size: var(--step--1); color: var(--espresso); font-weight: 500; margin-top: 0.35rem; }

/* Tabela de variantes (single tratamento) */
.variant-table { border-top: 1px solid var(--line); margin: 1.5rem 0; }
.variant-table__row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.9rem 0; border-bottom: 1px solid var(--line); gap: 1rem; }
.variant-table__label { font-weight: 300; color: var(--ink); }
.variant-table__price { font-family: var(--font-display); white-space: nowrap; }
.variant-table__price s { color: var(--taupe); font-size: 0.75em; margin-right: 0.35em; }
.variant-table__price em { font-style: italic; color: var(--espresso); }
.price-from { font-size: 0.7em; color: var(--ink-muted); margin-right: 0.3em; }

/* Legal prose */
.legal-prose h2 { font-size: var(--step-1); font-weight: 500; margin: 2.5rem 0 0.75rem; border-bottom: 1px solid var(--line); padding-bottom: 0.5rem; }
.legal-prose h3 { font-size: var(--step-0); font-weight: 500; margin: 1.5rem 0 0.5rem; color: var(--espresso); }
.legal-prose ul { padding-left: 1.3em; color: var(--ink-muted); }
.legal-prose ul li { margin-bottom: 0.4rem; font-weight: 300; }
.legal-note { font-size: var(--step--1); color: var(--taupe); font-style: italic; border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 3rem; }

/* =========================================================
   14. RESPONSIVE
   ========================================================= */

@media (max-width: 860px) {
  /* Botões do hero lado a lado no mobile, sem empilhar — dividem o espaço
     disponível a meio, com texto mais pequeno para caber numa linha. */
  .hero__actions--centered {
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: 100%;
  }
  .hero__actions--centered .btn {
    flex: 1 1 0;
    padding: 0.7rem 0.5rem;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .cat-gallery--3, .cat-gallery--2 { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
  .split, .footer-grid, .treatment, .team-grid, .termin-layout { grid-template-columns: 1fr; }
  .treatment__aside, .faq-nav, .termin-aside { position: static; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-nav { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; position: static; }
  .step { grid-template-columns: 48px 1fr; gap: 1.25rem; }
  .step__num { font-size: var(--step-2); }
  .footer-grid { gap: 2.5rem; }

  /* Menu mobile: bloco de cor sólida a cobrir o ecrã inteiro */
  .nav {
    display: block; /* no mobile o wrapper volta a ser um bloco real, não "contents" */
    position: fixed; inset: 0;
    background: var(--espresso);
    padding: 6.5rem var(--gutter) 2.5rem;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.35s var(--ease);
  }
  .nav[data-open="true"] { transform: translateY(0); }

  .nav-section-label {
    display: block;
    font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--old-lace); margin: 2rem 0 0.5rem;
  }
  .nav-section-label:first-child { margin-top: 0; }

  .nav-left, .nav-right {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
  }
  .nav-right { margin-top: 0; }
  .nav-left a, .nav-right a {
    padding: 1.1rem 0; font-size: 1.15rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase;
    color: var(--old-lace);
    border-bottom: 1px solid color-mix(in srgb, var(--old-lace) 18%, transparent);
  }
  .nav-left a::after, .nav-right a::after { display: none; }
  .nav-right .btn { margin-top: 1.5rem; justify-content: center; }
  .nav-toggle { display: inline-flex; }

  /* Esconder a versão desktop do seletor de língua; mostrar só a versão mobile no rodapé */
  .lang-switcher--desktop-only { display: none; }
  .lang-switcher--mobile-only {
    display: flex; gap: 1rem; margin: 0 0 0.5rem;
  }
  .lang-switcher--mobile-only a,
  .lang-switcher--mobile-only span {
    font-size: 0.85rem; padding: 0.4rem 0.7rem;
    color: var(--old-lace); border: 1px solid color-mix(in srgb, var(--old-lace) 30%, transparent);
    border-radius: var(--radius);
  }
  .lang-switcher--mobile-only .current-lang { color: var(--old-lace); border-color: var(--old-lace); }

  /* Rodapé do menu: idiomas + contactos + redes sociais */
  .nav-mobile-footer {
    display: block;
    margin-top: 2rem; padding-top: 1.5rem;
    border-top: 1px solid color-mix(in srgb, var(--old-lace) 18%, transparent);
  }
  .nav-mobile-footer a {
    display: block;
    padding: 0.7rem 0;
    font-size: 0.95rem; color: var(--taupe);
    border-bottom: 1px solid color-mix(in srgb, var(--old-lace) 12%, transparent);
  }
  .nav-mobile-footer a:last-child { border-bottom: 0; }

  /* Ícone do botão: hamburger <-> X consoante o menu está aberto */
  .nav-toggle__icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon-close { display: block; }

  /* Mega vira accordion inline */
  .nav__item--mega { display: block; border-bottom: 1px solid color-mix(in srgb, var(--old-lace) 18%, transparent); }
  .nav__trigger {
    width: 100%; justify-content: space-between; padding: 1.1rem 0;
    font-size: 1.15rem; color: var(--old-lace);
  }
  .nav__trigger--emphasis { color: var(--old-lace); }
  .mega {
    position: static; box-shadow: none; border-top: 0; background: transparent;
    opacity: 1; visibility: visible; transform: none !important; transition: none;
    left: auto; width: auto; max-width: none;
    display: none;
  }
  .nav__item--mega[data-open="true"] .mega { display: block; }
  .nav__item--mega:hover .mega { display: none; }
  .nav__item--mega[data-open="true"]:hover .mega { display: block; }
  .mega__inner, .mega--simple .mega__inner { grid-template-columns: 1fr; gap: 1.25rem; padding: 0.5rem 0 1.25rem; }
  .mega__groups { grid-template-columns: 1fr; gap: 1.25rem; }
  .mega__categories--4 { grid-template-columns: 1fr 1fr; }
  .mega__categories { grid-template-columns: 1fr 1fr; }
  .mega__aside { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--old-lace) 18%, transparent); padding: 1.25rem 0 0; }
  .mega__item { padding: 0.55rem 0; margin: 0; border-bottom: 1px solid color-mix(in srgb, var(--old-lace) 12%, transparent); color: var(--old-lace); }
  .mega__item:last-child { border-bottom: 0; }
  .mega__item:hover { background: transparent; }
  .mega__icon { width: 32px; height: 32px; background: transparent; border-color: color-mix(in srgb, var(--old-lace) 30%, transparent); color: var(--old-lace); }
  .mega__icon .noor-icon { width: 16px; height: 16px; }
  .mega__text { font-size: 0.9rem; color: var(--old-lace); }
  .mega__text small { display: block; }
  .mega__cat-item { border-color: color-mix(in srgb, var(--old-lace) 20%, transparent); }
  .mega__cat-item:hover { background: color-mix(in srgb, var(--old-lace) 8%, transparent); border-color: var(--gold); }
  .mega__cat-item .mega__text { color: var(--old-lace); }
  /* A versão "flat" (lista de texto simples) tem de ganhar sempre no mobile —
     nunca o estilo de cartão com padding/ícone/borda da versão base. */
  .mega__categories--row {
    display: block !important;
  }
  .mega__cat-item--flat {
    display: block !important;
    width: 100% !important;
    padding: 0.85rem 0 !important;
    border-bottom: 1px solid color-mix(in srgb, var(--old-lace) 14%, transparent) !important;
  }
  .mega__cat-item--flat:last-child { border-bottom: 0 !important; }
  .mega__cat-item--flat .mega__text { color: var(--old-lace) !important; font-size: 1rem; }
  .mega__cta p { color: var(--taupe); }
}

@media (max-width: 620px) {
  .pricelist__row { grid-template-columns: 1fr auto; }
  .pricelist__dur { grid-column: 1 / -1; order: 3; }
  .page-hero__meta { gap: 1.5rem; }
}
