/* ============================================================
   LA BAMBARA — Maqueta Inici
   Direcció: "editorial orgànic i terrós"
   ============================================================ */

/* ---- Fonts corporatives ---- */
@font-face {
  font-family: 'TAN Pearl';
  src: url('../assets/fonts/TAN-Pearl-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lovelo';
  src: url('../assets/fonts/Lovelo-Black.otf') format('opentype');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Glacial Indifference';
  src: url('../assets/fonts/GlacialIndifference-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Glacial Indifference';
  src: url('../assets/fonts/GlacialIndifference-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Glacial Indifference';
  src: url('../assets/fonts/GlacialIndifference-Italic.otf') format('opentype');
  font-weight: 400; font-style: italic; font-display: swap;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--terracota-text); }
:focus-visible { outline: 2.5px solid var(--petroli); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

/* Tipografia de titulars */
h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.16; margin: 0; text-wrap: balance; letter-spacing: .005em; }
h1 { font-size: clamp(2.45rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.55rem); }
p { margin: 0; max-width: 62ch; }

.eyebrow {
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--terracota-text);
  display: inline-flex;
  align-items: center;
  gap: .65em;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 8.5px;
  background: var(--terracota);
  border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%; /* llavor del logo */
  transform: translateY(-1px);
}

/* ---- Botons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-size: .78rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.02em 1.9em .88em; /* Lovelo té la caixa alta desplaçada: compensem */
  border: none; /* neutralitza el border per defecte de <button> */
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s var(--ease-soft), background .25s, color .25s, border-color .25s;
}
.btn-primary {
  background: var(--terracota-text);
  color: var(--crema-viva);
}
.btn-primary:hover { background: var(--terracota-hover); transform: translateY(-2px); }
.btn-ghost {
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { border-color: var(--terracota-text); color: var(--terracota-text); transform: translateY(-2px); }

/* Enllaç editorial amb subratllat fi llima */
.link-line {
  font-family: var(--font-label);
  font-size: .78rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: .45em;
  border-bottom: 2.5px solid var(--llima);
  transition: border-color .25s var(--ease-soft), color .25s;
}
.link-line:hover { color: var(--terracota-text); border-bottom-color: var(--terracota); }

/* ============================================================
   CAPÇALERA
   WP/Kadence: header builder — logo + nav + botó
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--crema) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--marro);
  margin-right: auto;
}
.brand svg { width: 30px; height: 30px; }
.brand-name {
  font-family: var(--font-label);
  font-size: 1.02rem;
  letter-spacing: .14em;
  transform: translateY(2px); /* alineació òptica Lovelo */
}

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  font-family: var(--font-label);
  font-size: .7rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 10px 13px 8px;
  border-radius: 999px;
  transition: color .2s, background .2s;
  display: inline-block;
}
.main-nav a:hover { color: var(--terracota-text); background: var(--sorra-suau); }
.main-nav .btn { margin-left: 10px; }
.main-nav a.btn-primary { color: var(--crema-viva); }
.main-nav a.btn-primary:hover { background: var(--terracota-hover); color: var(--crema-viva); }

/* Desplegable de serveis (desktop) */
.has-sub { position: relative; }
.has-sub > a::after { content: " ▾"; font-size: .6rem; }
.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 265px;
  background: var(--crema-viva);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(70, 39, 26, .13);
  padding: 8px !important;
  display: none !important;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}
.sub-menu li { width: 100%; }
.sub-menu a { text-align: left; }
.sub-menu::before {
  /* pont invisible perquè el hover no es talli entre el menú i el desplegable */
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { display: flex !important; }
.sub-menu a {
  font-family: var(--font-body);
  font-size: .92rem;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 10px;
  padding: 9px 14px;
  display: block;
}

/* Icones de botiga (cistella + compte) — les planes seran les de WooCommerce */
.header-shop {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--hairline);
}
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--sorra-suau); color: var(--terracota-text); }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  position: absolute;
  top: 1px; right: -1px;
  min-width: 17px; height: 17px;
  border-radius: 999px;
  background: var(--terracota-text);
  color: var(--crema-viva);
  font-family: var(--font-label);
  font-size: 9.5px;
  display: flex; align-items: center; justify-content: center;
  padding: 1px 4px 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 9px 14px 7px;
  font-family: var(--font-label);
  font-size: .68rem;
  letter-spacing: .15em;
  color: var(--ink);
  cursor: pointer;
}

/* ============================================================
   HERO
   WP/Kadence: rowlayout 2 col (55/45) + advancedheading
   ============================================================ */
.hero { position: relative; padding-block: clamp(3.5rem, 7vw, 6.5rem) var(--space-section); }
.hero::before {
  /* halo orgànic darrere la foto */
  content: "";
  position: absolute;
  right: -12%;
  top: 4%;
  width: 620px; height: 620px;
  background: radial-gradient(closest-side, var(--sorra-suau), transparent 72%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 em {
  font-style: normal;
  color: var(--terracota-text);
}
.hero-sub { margin-top: 1.35rem; font-size: 1.12rem; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.1rem; align-items: center; }
.hero-note {
  margin-top: 1.6rem;
  font-size: .92rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: .6em;
}
.hero-note::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--terracota);
  border-radius: 2px;
}

.hero-figure { position: relative; justify-self: stretch; margin: 0; }
.hero-figure img {
  width: 100%;
  border-radius: var(--radius-arc);
  aspect-ratio: 5 / 4.6;
  object-fit: cover;
  object-position: 50% 34%;
  box-shadow: 0 26px 60px rgba(70, 39, 26, .16);
}
.hero-caption {
  margin-top: .9rem;
  text-align: right;
  font-size: .85rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Entrada orquestrada del hero */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-stagger] { opacity: 0; transform: translateY(16px); animation: rise .8s var(--ease-soft) forwards; }
  .hero [data-stagger="1"] { animation-delay: .05s; }
  .hero [data-stagger="2"] { animation-delay: .16s; }
  .hero [data-stagger="3"] { animation-delay: .27s; }
  .hero [data-stagger="4"] { animation-delay: .38s; }
  .hero [data-stagger="5"] { animation-delay: .5s; }
  .hero-figure { opacity: 0; transform: translateY(22px) scale(.985); animation: rise .95s var(--ease-soft) .3s forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ============================================================
   ONADA divisòria (motiu de la línia de terra del logo)
   ============================================================ */
.wave { display: block; width: 100%; height: 26px; }

/* ============================================================
   FRANJA LLIBRETES  — fons sorra
   WP/Kadence: rowlayout 2 col amb fons sorra-suau
   ============================================================ */
.band-sand { background: var(--sorra-suau); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.2rem, 5vw, 5rem);
  align-items: center;
  padding-block: var(--space-section);
}
.split-figure { position: relative; margin: 0; }
.split-figure img {
  width: 100%;
  border-radius: var(--radius-card);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  box-shadow: 0 22px 48px rgba(70, 39, 26, .14);
  transform: rotate(-1.4deg);
}
.split-figure::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1.5px solid var(--sorra);
  border-radius: var(--radius-card);
  transform: rotate(1.2deg);
}
.split-body h2 { max-width: 17ch; }
.split-body p { margin-top: 1.15rem; }
.split-body .actions { margin-top: 1.9rem; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.price-hint { font-size: .88rem; color: var(--ink-soft); font-style: italic; }

/* ============================================================
   SERVEIS — índex editorial
   WP/Kadence: infobox / accordion custom, o rows amb divisòries
   ============================================================ */
.services { padding-block: var(--space-section); }
.services-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.services-head p { margin-top: 1.1rem; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.service-row {
  display: grid;
  grid-template-columns: 128px 1fr auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.2rem, 2.6vw, 1.75rem) clamp(.4rem, 1.5vw, 1.2rem);
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  color: var(--ink);
  transition: background .3s var(--ease-soft);
}
.service-row:hover { background: var(--sorra-suau); }
.service-thumb {
  width: 128px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}
.service-num {
  display: block;
  font-family: var(--font-label);
  font-size: .92rem;
  letter-spacing: .1em;
  color: var(--terracota-text);
  margin-bottom: .3rem;
}
.service-title { display: block; font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.25; }
.service-desc { display: block; margin-top: .35rem; color: var(--ink-soft); font-size: .98rem; max-width: 56ch; }
.service-arrow {
  color: var(--terracota-text);
  transition: transform .3s var(--ease-soft);
  align-self: center;
  display: inline-flex;
}
.service-arrow svg { width: 46px; height: 17px; }
.service-row:hover .service-arrow { transform: translateX(8px); }
.services-foot { margin-top: 2.2rem; }

/* ============================================================
   CITA MANIFEST — franja petroli
   WP/Kadence: rowlayout fons petroli + advancedheading centrat
   ============================================================ */
.quote-band {
  background:
    radial-gradient(90% 130% at 12% -10%, rgba(247, 240, 230, .07), transparent 60%),
    var(--petroli);
  color: var(--crema-viva);
  text-align: center;
  padding-block: clamp(4.5rem, 9vw, 7rem);
}
.quote-band .container { max-width: 880px; }
.quote-band svg { width: 40px; height: 40px; margin-bottom: 1.4rem; opacity: .9; }
.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.42;
  text-wrap: balance;
}
.quote-band cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-label);
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--crema-viva) 72%, var(--petroli));
}

/* ============================================================
   QUI SOM — teaser
   ============================================================ */
.about { padding-block: var(--space-section); }
.about .split { padding-block: 0; grid-template-columns: 1.05fr .95fr; }
.about-figure { position: relative; margin: 0; justify-self: end; width: min(100%, 430px); }
.about-figure img {
  width: 100%;
  border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%; /* forma orgànica */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 22px 48px rgba(70, 39, 26, .15);
}
/* Taques orgàniques decoratives — variant diferent a cada aparició */
.deco { position: relative; }
.deco::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--dc, var(--sorra));
  width: var(--ds, 84px);
  height: calc(var(--ds, 84px) * 1.12);
  border-radius: 52% 48% 55% 45% / 45% 52% 48% 55%;
}
.deco--llima-bl::after { --dc: var(--llima); --ds: 52px; left: -26px; bottom: 42px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; }
.deco--sorra-tr::after { --dc: var(--sorra); --ds: 92px; right: -20px; top: -22px; }
.deco--terracota-br::after { --dc: var(--terracota); --ds: 46px; right: -16px; bottom: 34px; border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%; opacity: .9; }
.deco--petroli-tl::after { --dc: var(--petroli); --ds: 38px; left: -14px; top: 30px; opacity: .8; }
.deco--sorra-bl::after { --dc: var(--sorra); --ds: 76px; left: -22px; bottom: -16px; }
.deco--llima-tr::after { --dc: var(--llima); --ds: 42px; right: -15px; top: -12px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; }
.about-body h2 { max-width: 16ch; }
.about-body p { margin-top: 1.15rem; }
.about-body .actions { margin-top: 1.9rem; }

/* ============================================================
   CTA FINAL — contacte + novetats
   WP/Kadence: rowlayout amb card arrodonida
   ============================================================ */
.closing { padding-block: 0 var(--space-section); }
.closing-card {
  background: var(--sorra-suau);
  border-radius: 34px;
  padding: clamp(2.4rem, 5.5vw, 4.2rem);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.closing-card h2 { max-width: 15ch; }
.closing-card .lead { margin-top: 1rem; }
.closing-card .actions { margin-top: 1.8rem; display: flex; gap: 14px; flex-wrap: wrap; }
.newsletter {
  background: var(--crema-viva);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.newsletter h3 {
  margin: 0 0 .4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
}
.newsletter p { font-size: .92rem; color: var(--ink-soft); }
.newsletter form { display: flex; flex-direction: column; gap: 10px; margin-top: 1.1rem; }
.newsletter input {
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--crema);
  border: 1.5px solid var(--hairline);
  border-radius: 999px;
  padding: .85em 1.3em;
}
.newsletter input::placeholder { color: var(--ink-soft); }
.newsletter input:focus-visible { outline-offset: 0; border-color: var(--petroli); }
.newsletter .btn { width: 100%; }
.newsletter small { display: block; margin-top: .8rem; font-size: .76rem; color: var(--ink-soft); }

/* ============================================================
   PEU — marró
   WP/Kadence: footer builder, 4 columnes + barra legal
   ============================================================ */
.site-footer {
  background: var(--marro);
  color: color-mix(in srgb, var(--crema-viva) 88%, var(--marro));
  padding-block: clamp(3.2rem, 6vw, 4.8rem) 1.8rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.footer-brand svg { width: 34px; height: 34px; }
.footer-brand .brand-name { color: var(--crema-viva); display: block; margin-top: .9rem; font-family: var(--font-label); letter-spacing: .14em; font-size: 1rem; }
.footer-brand p { margin-top: .7rem; font-size: .9rem; font-style: italic; opacity: .8; }
.site-footer h4 {
  margin: 0 0 1rem;
  font-family: var(--font-label);
  font-weight: 900;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--crema-viva) 62%, var(--marro));
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: inherit; text-decoration: none; font-size: .95rem; transition: color .2s; }
.site-footer a:hover { color: var(--llima); }
.footer-legal {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid color-mix(in srgb, var(--crema-viva) 18%, var(--marro));
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: space-between;
  font-size: .82rem;
  opacity: .75;
}
.footer-legal nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ============================================================
   REVEAL en scroll
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--dur) var(--ease-soft), transform var(--dur) var(--ease-soft); }
  .reveal.in-view { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr .9fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-block; order: 5; }
  .header-shop { border-left: none; padding-left: 0; margin-left: 0; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--crema-viva);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 24px 40px rgba(70, 39, 26, .12);
    padding: 14px 20px 22px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 13px 12px 11px; }
  .main-nav .btn { margin: 12px 0 0; text-align: center; }
  .sub-menu { position: static; display: flex !important; box-shadow: none; border: none; background: none; padding: 0 0 0 16px !important; }

  .hero-grid, .split, .about .split, .closing-card { grid-template-columns: 1fr; }
  .hero-figure { justify-self: center; order: -1; width: min(100%, 380px); }
  .hero-figure img { aspect-ratio: 4 / 4.2; }
  .hero::before { display: none; }
  .split-figure { max-width: 480px; }
  .about-figure { justify-self: center; }
  .service-row { grid-template-columns: 86px 1fr auto; }
  .service-thumb { width: 86px; }
  .service-arrow svg { width: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ============================================================
   PLANES INTERIORS
   ============================================================ */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.page-hero--tight { padding-block-end: clamp(1.2rem, 2.4vw, 1.8rem); }
.page-hero .lead { margin-top: 1.2rem; font-size: 1.12rem; max-width: 56ch; }
.split-body .lead { font-size: 1.14rem; }
.split-body .lead + p { margin-top: 1.1rem; }
.section-pad { padding-block: var(--space-section); }
.section-pad-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }

.main-nav a[aria-current="page"] { color: var(--terracota-text); background: var(--sorra-suau); }

/* Valors (Qui som) */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(1.8rem, 3vw, 2.6rem); }
.value-card { background: var(--crema-viva); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 26px 24px; }
.value-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 16px;
  background: var(--sorra-suau);
  color: var(--terracota-text);
  margin-bottom: 15px;
}
.value-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.value-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; margin: 0 0 .4rem; }
.value-card p { font-size: .95rem; color: var(--ink-soft); }

/* Fitxa de servei */
.chips-label { font-family: var(--font-label); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: .9rem; }
.chip-tag { font-family: var(--font-label); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--crema-viva); border: 1.5px solid var(--sorra); border-radius: 999px; padding: 9px 16px 7px; }

.cta-band { background: var(--sorra-suau); border-radius: 34px; padding: clamp(2.2rem, 4.5vw, 3.4rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 24ch; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.related { border-top: 1px solid var(--hairline); padding-top: 2.2rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 1.2rem; }
.related-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--crema-viva);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s var(--ease-soft), box-shadow .25s var(--ease-soft);
}
.related-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.related-card span { display: block; padding: 14px 16px 15px; font-weight: 700; font-size: .95rem; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(70, 39, 26, .13); }

/* CTA final destacat (fons petroli, centrat) */
.cta-band--deep {
  background:
    radial-gradient(90% 130% at 12% -10%, rgba(247, 240, 230, .07), transparent 60%),
    var(--petroli);
  color: var(--crema-viva);
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 1.1rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-band--deep svg { width: 38px; height: 38px; }
.cta-band--deep h2 { max-width: 26ch; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-band--deep .actions { justify-content: center; }
.btn-ghost--light { color: var(--crema-viva); border-color: var(--crema-viva); }
.btn-ghost--light:hover { border-color: var(--llima); color: var(--llima); }

/* Producte (Llibretes) */
.product-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.gallery-main img { width: 100%; border-radius: var(--radius-card); aspect-ratio: 4 / 3.1; object-fit: cover; box-shadow: 0 22px 48px rgba(70,39,26,.13); }
.gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.gallery-thumbs img { width: 100%; border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; }
.product-info h1 { font-size: clamp(2rem, 3.6vw, 2.7rem); }
.price-row { display: flex; align-items: center; gap: 14px; margin-top: 1.2rem; }
.price { font-family: var(--font-display); font-size: 1.9rem; }
.tag-soft { font-family: var(--font-label); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; background: var(--sorra-suau); border-radius: 999px; padding: 7px 12px 5px; color: var(--ink-soft); }
.buy-row { display: flex; gap: 12px; margin-top: 1.6rem; flex-wrap: wrap; align-items: stretch; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--hairline); border-radius: 999px; overflow: hidden; background: var(--crema-viva); }
.qty button { background: none; border: none; font-family: var(--font-body); font-size: 1.2rem; color: var(--ink); width: 42px; align-self: stretch; cursor: pointer; }
.qty output { min-width: 34px; text-align: center; font-weight: 700; }
.buy-note { margin-top: 1rem; font-size: .9rem; color: var(--ink-soft); font-style: italic; }
.spec-list { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.spec-list li { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: .8rem; border-bottom: 1px solid var(--hairline); font-size: .95rem; }
.spec-list li span:last-child { color: var(--ink-soft); text-align: right; }

/* Formulari de contacte */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.form-card { background: var(--crema-viva); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: clamp(1.6rem, 3.5vw, 2.6rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-family: var(--font-label); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5rem; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--font-body); font-size: .98rem; color: var(--ink); background: var(--crema); border: 1.5px solid var(--hairline); border-radius: 14px; padding: .85em 1.1em; }
.field textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); margin-block: 6px 18px; }
.check input { margin-top: 4px; accent-color: var(--terracota-text); }
.form-ok { display: none; margin-top: 1rem; background: color-mix(in srgb, var(--llima) 32%, var(--crema-viva)); border-radius: 12px; padding: 12px 16px; font-size: .95rem; }
.form-ok.show { display: block; }

.info-card { background: var(--crema-viva); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 24px; margin-bottom: 16px; }
.info-card h3 { font-family: var(--font-label); font-weight: 900; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 .6rem; }
.info-card p, .info-card a { font-size: 1rem; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding-block: 1.25rem; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); color: var(--terracota-text); font-size: 1.4rem; flex-shrink: 0; transition: transform .3s var(--ease-soft); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 1.3rem; max-width: 68ch; }

@media (max-width: 1024px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .values-grid, .form-row, .product-grid, .contact-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band--deep { align-items: center; }
}
