/*
 * akasha.cat · site.css
 * Concepte: "Santuari de Llum" — temple clar, lluminós i eteri.
 * Estètica: clara, càlida, espiritual, mínima, femenina sense fragilitat.
 * Autora: Persephone (disseny de marca) · DIRECCIÓ APROVADA pel Concili (21/06/2026).
 *
 * REGLES VINCULANTS DE COLOR (Merovingian / WCAG AA):
 *  · El daurat clar #C9A86A és NOMÉS decoratiu (filaments, separadors fins, ornament SVG).
 *    MAI vehicula text, icones informatives, estats de focus ni labels.
 *  · Tot text/link/element interactiu daurat usa #8A6D3B (AA ~4.6:1) o més fosc.
 *  · Text secundari: #5A4D3F (AA). Text principal: #2E2A24 (AAA).
 *  · Focus visible obligatori: outline 2px #8A6D3B, offset 2px, en TOTS els interactius.
 */

/*
 * ── PONT DE TOKENS ──────────────────────────────────────────────────────
 * La font de veritat de la PALETA és design-tokens.css (carregat ABANS que
 * aquest fitxer). Aquí només pontem els noms curts (--c-*, --f-*) als tokens
 * canònics (--color-*, --font-*) per mantenir la component-layer concisa.
 * Si design-tokens.css no es carregués, els valors de fallback garanteixen
 * que la web es vegi correcta igualment (mateixos hex aprovats pel Concili).
 */
:root {
  /* Fons */
  --c-base:    var(--color-bg-base, #FBF8F3);
  --c-base2:   #F7F2EA;
  --c-alt:     var(--color-bg-alt, #F0EAE0);
  --c-sand:    var(--color-bg-sand, #EDE3D3);
  --c-sand2:   var(--color-bg-arena, #E3D5C0);

  /* Daurats — gold = DECORATIU; gold-dk = ACCIÓ/TEXT (AA) */
  --c-gold:    var(--color-gold-deco, #C9A86A);
  --c-gold-dk: var(--color-gold-action, #8A6D3B);

  /* Naturals */
  --c-sage:    var(--color-sage, #9CAF94);
  --c-sage2:   var(--color-sage-deep, #7E9A82);
  --c-rose:    var(--color-blush, #E9D6D0);
  --c-blue:    var(--color-marine, #5B6B73);

  /* Text */
  --c-ink:     var(--color-text-primary, #2E2A24);
  --c-earth:   var(--color-text-secondary, #5A4D3F);
  --c-mut:     #6B5F52;           /* Marró muted llegible: ~4.6:1 sobre #F0EAE0 — AA */
  --c-mut2:    rgba(46,42,36,.18);

  /* Tipografia */
  --f-serif:  var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  --f-sans:   var(--font-sans, 'Mulish', system-ui, sans-serif);

  /* Geometria */
  --r:      var(--radius-lg, 12px);
  --r-sm:   var(--radius-md, 8px);
  --r-lg:   var(--radius-xl, 18px);
  --gap:    var(--space-section, clamp(3.5rem, 8vw, 5.6rem));
  --wrap:   min(1120px, 100% - 2.5rem);
  --wrap-narrow: min(760px, 100% - 2.5rem);

  /* Ombres */
  --sh-1:  var(--shadow-sm, 0 2px 8px rgba(46,42,36,.06));
  --sh-2:  var(--shadow-lg, 0 8px 32px rgba(46,42,36,.10));

  --ease:  cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-sans);
  background: var(--c-base);
  color: var(--c-ink);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

/* ── Focus visible OBLIGATORI (binding Merovingian) ───────────────────── */
:focus-visible {
  outline: 2px solid var(--c-gold-dk);
  outline-offset: 2px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

/* ── Accessibilitat ───────────────────────────────────────────────────── */
.skiplink {
  position: absolute; left: -9999px; top: 1rem;
  background: var(--c-gold-dk); color: #fff;
  padding: .5rem 1.1rem; border-radius: var(--r-sm); z-index: 9999;
  font-family: var(--f-sans); font-size: .9rem; font-weight: 600;
  text-decoration: none;
}
.skiplink:focus { left: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Layout ───────────────────────────────────────────────────────────── */
.wrap { width: var(--wrap); margin-inline: auto; }

/* ── Tipografia ───────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 500; line-height: 1.14; color: var(--c-ink); letter-spacing: .002em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { max-width: 66ch; }
em { font-style: italic; color: var(--c-gold-dk); }   /* accent poètic, AA */
strong { font-weight: 600; color: var(--c-ink); }

a { color: var(--c-gold-dk); text-decoration-color: rgba(138,109,59,.35); text-underline-offset: .15em; transition: color .2s; }
a:hover { color: var(--c-ink); }

.lead { font-size: clamp(1.08rem, 2vw, 1.32rem); color: var(--c-earth); font-weight: 400; line-height: 1.65; max-width: 60ch; }

/* ── Etiquetes de secció (supertítols italics) ────────────────────────── */
.sec-node, .tag, .hero-tag, .nav-head-brand {
  font-family: var(--f-serif); font-style: italic;
  color: var(--c-gold-dk); font-size: 1.02rem; letter-spacing: .04em;
}

/* ── Botons ───────────────────────────────────────────────────────────── */
.btn-primary, .btn-ghost, .cta-tel, .nav-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .02em; text-decoration: none; cursor: pointer;
  border-radius: 40px; transition: background .25s var(--ease), color .25s, transform .25s var(--ease), box-shadow .25s;
  line-height: 1;
}
.btn-primary, .cta-tel {
  background: var(--c-gold-dk); color: #fff;
  padding: .85rem 2.1rem; border: 1px solid var(--c-gold-dk);
  box-shadow: var(--sh-1);
}
.btn-primary:hover, .cta-tel:hover { background: #74591f; color: #fff; transform: translateY(-2px); box-shadow: var(--sh-2); }

.btn-ghost {
  background: transparent; color: var(--c-gold-dk);
  padding: .8rem 1.9rem; border: 1px solid var(--c-gold);
}
.btn-ghost:hover { background: var(--c-base2); color: var(--c-ink); border-color: var(--c-gold-dk); transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════════════════════
   NAV — translúcida clara
   ════════════════════════════════════════════════════════════════════════ */
.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,248,243,.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--c-mut2);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem clamp(1.1rem, 4vw, 2rem);
}
.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--c-ink); }
.logo:hover { color: var(--c-ink); }
.logo-emblem { color: var(--c-gold-dk); flex-shrink: 0; display: flex; }
.logo-emblem svg { display: block; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo-wordmark { font-family: var(--f-serif); font-size: 1.45rem; font-weight: 500; letter-spacing: .06em; color: var(--c-ink); }
.logo-sub { font-size: .62rem; color: var(--c-earth); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }

.burger { background: none; border: none; cursor: pointer; padding: .45rem; display: none; }
.burger span { display: block; width: 24px; height: 1.6px; background: var(--c-ink); margin: 5px 0; transition: .25s var(--ease); border-radius: 2px; }

.nav { display: flex; gap: clamp(1rem, 2.5vw, 1.8rem); align-items: center; }
.nav-scroll { display: flex; gap: clamp(1rem, 2.5vw, 1.8rem); align-items: center; }
.navlink { text-decoration: none; color: var(--c-earth); font-size: .92rem; font-weight: 600; letter-spacing: .01em; position: relative; padding: .2rem 0; transition: color .2s; }
.navlink::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--c-gold); transition: width .25s var(--ease); }
.navlink:hover, .navlink.on { color: var(--c-ink); }
.navlink:hover::after, .navlink.on::after { width: 100%; }

.nav-cta { background: var(--c-gold-dk); color: #fff; padding: .55rem 1.3rem; font-size: .88rem; box-shadow: var(--sh-1); }
.nav-cta:hover { background: #74591f; color: #fff; }

.langsel { display: flex; gap: .25rem; font-size: .8rem; align-items: center; }
.langsel a { text-decoration: none; color: var(--c-earth); padding: .25rem .5rem; border-radius: var(--r-sm); font-weight: 600; transition: background .2s, color .2s; }
.langsel a:hover { background: var(--c-base2); color: var(--c-ink); }
.langsel a.on { background: var(--c-sand); color: var(--c-ink); }

.nav-backdrop, .nav-head { display: none; }

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: 0; right: -100%; width: min(340px, 92vw); height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-base); padding: 1.4rem 1.5rem 2rem;
    transition: right .35s var(--ease); z-index: 200;
    box-shadow: -8px 0 40px rgba(46,42,36,.12); overflow-y: auto;
  }
  .nav.open { right: 0; }
  .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(46,42,36,.28); z-index: 150; backdrop-filter: blur(2px); }
  .nav-backdrop[hidden] { display: none; }
  .nav-head { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-mut2); }
  .nav-head-brand { font-family: var(--f-serif); font-size: 1.3rem; font-style: italic; color: var(--c-gold-dk); }
  .nav-close { background: none; border: none; cursor: pointer; padding: .4rem; width: 32px; height: 32px; position: relative; }
  .nav-close span { display: block; position: absolute; top: 50%; left: 6px; width: 20px; height: 1.6px; background: var(--c-ink); }
  .nav-close span:first-child { transform: rotate(45deg); }
  .nav-close span:last-child { transform: rotate(-45deg); }
  .nav-scroll { flex-direction: column; align-items: stretch; gap: .2rem; width: 100%; }
  .navlink { padding: .7rem 0; border-bottom: 1px solid var(--c-mut2); font-size: 1.05rem; }
  .navlink::after { display: none; }
  .nav-cta { margin-top: 1rem; justify-content: center; }
  .langsel { margin-top: 1.5rem; justify-content: center; }
}

/* ── Crumbs ───────────────────────────────────────────────────────────── */
.crumbs { width: var(--wrap); margin: 1.2rem auto 0; font-size: .82rem; color: var(--c-earth); }
.crumbs a { color: var(--c-earth); text-decoration: none; }
.crumbs a:hover { color: var(--c-gold-dk); }
.crumbs .sep { margin: 0 .45rem; opacity: .4; }
.crumbs [aria-current="page"] { color: var(--c-ink); }

/* ════════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════════ */
.hero { position: relative; min-height: clamp(80vh, 88vh, 920px); display: flex; align-items: center; overflow: hidden; padding: var(--gap) 0; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 28%, rgba(227,213,192,.55), transparent 70%),
    radial-gradient(50% 40% at 82% 12%, rgba(233,214,208,.35), transparent 70%),
    radial-gradient(55% 45% at 12% 85%, rgba(156,175,148,.20), transparent 70%);
}
.hero-motiu { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; animation: floatSlow 22s ease-in-out infinite; }
@keyframes floatSlow { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-14px) scale(1.015); } }
@media (prefers-reduced-motion: reduce) { .hero-motiu { animation: none; } }

.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.6rem; max-width: 22ch; }
.hero-tag { font-size: 1.1rem; }
.hero h1 { max-width: 16ch; font-size: clamp(2.6rem, 7vw, 5rem); }
.hero h1 em { display: inline; }
.hero-phrases { font-family: var(--f-serif); font-size: clamp(1.2rem, 2.8vw, 1.7rem); color: var(--c-earth); font-style: italic; min-height: 2.2em; max-width: 30ch; }
.hero-stream { display: flex; flex-direction: column; gap: .2rem; }
.hero-stream p { font-size: .92rem; color: var(--c-earth); max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .5rem; }

/* ── Marquee / cinta de valors ────────────────────────────────────────── */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--c-mut2); border-bottom: 1px solid var(--c-mut2); padding: .8rem 0; background: var(--c-alt); }
.marquee { display: flex; gap: 1.4rem; width: max-content; animation: marquee 34s linear infinite; font-family: var(--f-serif); font-style: italic; font-size: 1.05rem; color: var(--c-gold-dk); letter-spacing: .03em; white-space: nowrap; }
.marquee .sep { color: var(--c-gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; justify-content: center; flex-wrap: wrap; } }

/* ════════════════════════════════════════════════════════════════════════
   SECCIONS
   ════════════════════════════════════════════════════════════════════════ */
.sec { padding: var(--gap) 0; position: relative; }
.sec .wrap { display: flex; flex-direction: column; gap: 1.1rem; }
.sec-node { margin-bottom: -.3rem; }
.sec h2 { max-width: 20ch; }

/* secció amb composició generativa (sobre mi a la home) — disposició alternada */
.sec--with-portrait > .wrap {
  display: grid;
  grid-template-columns: 1.4fr min(320px, 40%);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.sec--with-portrait .portrait-generatiu { align-self: center; }
@media (max-width: 760px) {
  .sec--with-portrait > .wrap { grid-template-columns: 1fr; }
  .sec--with-portrait .portrait-generatiu { margin-inline: auto; }
}

/* fons alternat per a ritme visual */
.phero { padding: calc(var(--gap) + 1rem) 0 var(--gap); background:
  radial-gradient(60% 80% at 80% 0%, rgba(227,213,192,.4), transparent 60%),
  linear-gradient(var(--c-base2), var(--c-base)); }
.phero .wrap { display: flex; flex-direction: column; gap: 1rem; }
.phero h1 { max-width: 18ch; }

/* ── Chips ────────────────────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .6rem; }
.chip { font-size: .85rem; padding: .4rem 1rem; border: 1px solid var(--c-sand2); border-radius: 22px; color: var(--c-earth); background: var(--c-base2); display: inline-flex; align-items: center; gap: .4rem; }
.chip i { color: var(--c-gold); font-style: normal; }

/* ════════════════════════════════════════════════════════════════════════
   TARGETES DE SERVEI (grid)
   ════════════════════════════════════════════════════════════════════════ */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 1.4rem; margin-top: 1.6rem; }
.card {
  display: flex; flex-direction: column; gap: .55rem;
  background: var(--c-base2); border: 1px solid var(--c-mut2);
  border-radius: var(--r); padding: 1.6rem 1.5rem 1.4rem;
  text-decoration: none; color: var(--c-ink);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--c-gold), transparent); opacity: 0; transition: opacity .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--c-sand2); color: var(--c-ink); }
.card:hover::before { opacity: 1; }
.card .k { color: var(--c-gold); font-size: 1.2rem; line-height: 1; }
.card h3 { font-size: 1.35rem; }
.card p { font-size: .95rem; color: var(--c-earth); max-width: none; }
.card .more { margin-top: auto; padding-top: .4rem; color: var(--c-gold-dk); font-family: var(--f-sans); font-weight: 600; font-size: .88rem; }

/* ════════════════════════════════════════════════════════════════════════
   BLOCS DE CONTINGUT (legal-section, block) + passos del mètode
   ════════════════════════════════════════════════════════════════════════ */
.block, .legal-section { margin-bottom: 2rem; max-width: 70ch; }
.block:last-child, .legal-section:last-child { margin-bottom: 0; }
.block h2, .legal-section h2 { margin-bottom: .7rem; }
.block .node, .legal-section .sec-node { display: inline-block; margin-bottom: .35rem; }
.block p, .legal-section p { margin-bottom: .85rem; color: var(--c-earth); }
.block ul, .legal-section ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin: .6rem 0 1rem; }
.block li, .legal-section li { position: relative; padding-left: 1.5rem; color: var(--c-earth); }
.block li::before, .legal-section li::before { content: "✦"; position: absolute; left: 0; color: var(--c-gold); font-size: .8rem; top: .25em; }
.legal-section h3 { font-size: 1.2rem; margin: 1.2rem 0 .5rem; }

/* Passos del mètode: numeració eterea via "node" (ex: "Fase 1") */
.block .node { font-family: var(--f-serif); font-style: italic; color: var(--c-gold-dk); font-size: 1rem; letter-spacing: .04em; }

/* ── Mètriques (opcional) ─────────────────────────────────────────────── */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; }
.metric { text-align: center; }
.metric .n { font-family: var(--f-serif); font-size: clamp(2rem, 5vw, 3rem); color: var(--c-gold-dk); line-height: 1; }
.metric .l { font-size: .85rem; color: var(--c-earth); margin-top: .4rem; }

/* ════════════════════════════════════════════════════════════════════════
   COMPOSICIÓ GENERATIVA ETÈRIA (substitueix retrat — aspecte ACABAT)
   ════════════════════════════════════════════════════════════════════════ */
.portrait-generatiu { width: min(320px, 100%); justify-self: center; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-2); border: 1px solid var(--c-mut2); animation: breathe 9s ease-in-out infinite; }
.portrait-generatiu svg { display: block; width: 100%; height: auto; }
@keyframes breathe { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .portrait-generatiu { animation: none; } }
.portrait-section .wrap { display: flex; justify-content: center; }

/* ── Divisor ondulat ──────────────────────────────────────────────────── */
.divisor { width: 100%; height: 40px; display: block; opacity: .6; }

/* ════════════════════════════════════════════════════════════════════════
   CTA / ctaband
   ════════════════════════════════════════════════════════════════════════ */
.sec-cta { background: linear-gradient(135deg, var(--c-sand), var(--c-alt)); border-radius: var(--r-lg); margin: var(--gap) clamp(1.1rem, 4vw, 2rem); padding: var(--gap) 1.5rem; }
.sec-cta .wrap, .cta-wrap { align-items: center; text-align: center; gap: 1.2rem; }
.sec-cta h2 { color: var(--c-ink); max-width: 22ch; }
.sec-cta .lead { max-width: 50ch; }
.cta-sub { font-size: .9rem; color: var(--c-earth); margin-top: .4rem; }
.cta-sub a { color: var(--c-gold-dk); }

.ctaband { text-align: center; background: linear-gradient(135deg, var(--c-sand), var(--c-alt)); border-radius: var(--r-lg); padding: var(--gap) 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; margin-top: 2rem; }
.ctaband h2 { max-width: 22ch; }
.ctaband p { color: var(--c-earth); max-width: 50ch; }

/* ════════════════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════════════════ */
.faq { display: flex; flex-direction: column; gap: .6rem; max-width: 72ch; margin-top: 1rem; }
.faq details { border: 1px solid var(--c-mut2); border-radius: var(--r); background: var(--c-base2); overflow: hidden; transition: border-color .2s; }
.faq details[open] { border-color: var(--c-sand2); }
.faq summary { cursor: pointer; padding: 1rem 1.3rem; font-family: var(--f-serif); font-size: 1.2rem; color: var(--c-ink); list-style: none; position: relative; padding-right: 2.6rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); color: var(--c-gold-dk); font-size: 1.3rem; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.1rem; color: var(--c-earth); font-size: .95rem; }

/* ════════════════════════════════════════════════════════════════════════
   CONTACTE
   ════════════════════════════════════════════════════════════════════════ */
.contact-page { padding: var(--gap) 0; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.cinfo h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.cinfo p { color: var(--c-earth); }
.cinfo strong { color: var(--c-ink); }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; background: var(--c-base2); border: 1px solid var(--c-mut2); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.4rem); }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; color: var(--c-earth); font-weight: 600; }
.contact-form input, .contact-form textarea {
  font-family: var(--f-sans); font-size: 1rem; font-weight: 400; color: var(--c-ink);
  background: var(--c-base); border: 1px solid var(--c-sand2); border-radius: var(--r-sm);
  padding: .75rem 1rem; transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--c-gold-dk); box-shadow: 0 0 0 3px rgba(138,109,59,.12); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem; font-weight: 400; }
.contact-consent input[type=checkbox] { margin-top: .25rem; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--c-gold-dk); }
.contact-consent a { color: var(--c-gold-dk); }
.contact-form button { align-self: flex-start; margin-top: .3rem; }
#formstatus { font-size: .88rem; color: var(--c-earth); }
#formstatus.ok { color: var(--c-sage2); }
#formstatus.err { color: #a4453a; }

/* Honeypot */
.hnp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* ════════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════════ */
.foot-rich { background: var(--c-alt); border-top: 1px solid var(--c-mut2); padding: var(--gap) clamp(1.1rem, 4vw, 2rem) 0; margin-top: var(--gap); }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.2rem; width: var(--wrap); margin: 0 auto 2.4rem; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 1.8rem 1.2rem; } .fbrand { grid-column: 1 / -1; } }
@media (max-width: 440px) { .foot-cols { grid-template-columns: 1fr; } }
.fcol { display: flex; flex-direction: column; gap: .55rem; }
.fcol a { text-decoration: none; color: var(--c-earth); font-size: .9rem; transition: color .2s; }
.fcol a:hover { color: var(--c-gold-dk); }
.fh { font-family: var(--f-sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--c-gold-dk); font-weight: 700; margin-bottom: .35rem; }
.fbrand .foot-logo-link { text-decoration: none; display: flex; flex-direction: column; gap: .1rem; margin-bottom: .4rem; }
.fbrand .logo-wordmark { font-family: var(--f-serif); font-size: 1.5rem; color: var(--c-ink); letter-spacing: .06em; }
.fbrand .logo-sub { font-size: .62rem; color: var(--c-earth); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.foot-tagline { font-size: .92rem; color: var(--c-earth); max-width: 34ch; line-height: 1.6; font-family: var(--f-serif); font-style: italic; }
.foot-email a { color: var(--c-gold-dk); font-size: .9rem; font-weight: 600; }
.foot-disclaimer { width: var(--wrap); margin: 0 auto; padding: 1.4rem 0; border-top: 1px solid var(--c-mut2); }
.foot-disclaimer p { font-size: .8rem; color: var(--c-mut); font-style: italic; line-height: 1.6; max-width: 100ch; }
.foot-bottom { width: var(--wrap); margin: 0 auto; padding: 1.1rem 0 1.6rem; border-top: 1px solid var(--c-mut2); font-size: .78rem; color: var(--c-mut); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.foot-bottom .sep { opacity: .4; }
.foot-operated { font-style: italic; }

/* ════════════════════════════════════════════════════════════════════════
   COOKIE BAR
   ════════════════════════════════════════════════════════════════════════ */
.cookiebar { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 500; background: rgba(46,42,36,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #f3ede2; border-radius: var(--r); padding: .85rem 1.3rem; max-width: min(560px, calc(100vw - 2rem)); box-shadow: 0 8px 32px rgba(46,42,36,.25); }
.cookiebar[hidden] { display: none; }
.cookiebar-in { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.cookiebar p { font-size: .84rem; flex: 1; min-width: 200px; max-width: none; }
.cookiebar a { color: var(--c-gold); }
.cookiebar a:hover { color: #ddc28e; }
.cookiebar button { background: var(--c-gold-dk); color: #fff; border: none; border-radius: 22px; padding: .5rem 1.2rem; cursor: pointer; font-size: .84rem; font-weight: 600; white-space: nowrap; transition: background .2s; }
.cookiebar button:hover { background: #a3823f; }
.ckdot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-sage); flex-shrink: 0; }

/* ── Legal (genèric) ──────────────────────────────────────────────────── */
.legal { max-width: 74ch; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2rem 0 .7rem; }
.legal p { margin-bottom: .85rem; color: var(--c-earth); }
.legal ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin: .6rem 0 1rem; }
.legal li { position: relative; padding-left: 1.5rem; color: var(--c-earth); }
.legal li::before { content: "✦"; position: absolute; left: 0; color: var(--c-gold); font-size: .8rem; top: .25em; }
.legal .note, .formnote { font-size: .85rem; color: var(--c-mut); font-style: italic; background: var(--c-base2); border-left: 2px solid var(--c-gold); padding: .8rem 1.1rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; max-width: 74ch; }

/* ════════════════════════════════════════════════════════════════════════
   REVEAL ON SCROLL
   ════════════════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible, .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Selecció de text ─────────────────────────────────────────────────── */
::selection { background: rgba(201,168,106,.3); color: var(--c-ink); }
