/* ===== benessere — shared styles for legal subpages ===== */
:root {
  --cream:  #F2EEE5;
  --paper:  #FBF9F4;
  --ink:    #1B2520;
  --sage:   #7B9D6F;
  --deep:   #4A6B45;
  --soft:   #D9E0CD;
  --line:   rgba(27,37,32,0.14);
  --maxw:   1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
em { font-style: italic; color: var(--deep); font-weight: 400; }
a { color: inherit; text-decoration: none; }
.eyebrow {
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 500; opacity: 0.55;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.005em;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .16s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { transform: translateY(-2px); }

/* ---- nav ---- */
.logo-mark { display: block; }
header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,249,244,0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .name { font-size: 19px; font-weight: 500; letter-spacing: 0.01em; }
.brand .name span { opacity: 0.5; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a.link { font-size: 15px; font-weight: 500; opacity: 0.75; transition: opacity .2s ease; }
.nav-links a.link:hover { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-size: 15px; font-weight: 500; opacity: 0.75; }
.nav-phone:hover { opacity: 1; }

/* ---- legal article ---- */
.legal-hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.legal-hero .back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; opacity: 0.6; margin-bottom: 28px;
  transition: gap .2s ease, opacity .2s ease;
}
.legal-hero .back:hover { gap: 13px; opacity: 1; }
.legal-hero h1 { font-size: clamp(38px, 5vw, 68px); line-height: 0.98; margin-top: 14px; }
.legal-hero .meta { margin-top: 20px; font-size: 15px; opacity: 0.6; }
.legal-motif {
  position: absolute; right: -220px; top: -180px;
  width: 560px; height: 560px; opacity: 0.06; transform: rotate(8deg);
  pointer-events: none;
}

.legal-body { padding: 24px 0 110px; }
.legal-body .container { max-width: 820px; }
.legal-block { padding: 36px 0; border-top: 1px solid var(--line); }
.legal-block:first-child { border-top: none; padding-top: 8px; }
.legal-block h2 {
  font-size: 24px; line-height: 1.1; margin-bottom: 18px;
  display: flex; align-items: baseline; gap: 16px;
}
.legal-block h2 .n {
  font-size: 13px; font-weight: 500; color: var(--deep);
  letter-spacing: 0.14em; flex: none; font-variant-numeric: tabular-nums;
}
.legal-block p { margin: 0 0 14px; font-size: 17px; line-height: 1.65; opacity: 0.86; font-weight: 300; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block a.inline { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-block a.inline:hover { opacity: 0.7; }
.legal-block ul { margin: 0; padding: 0; list-style: none; }
.legal-block li {
  padding: 13px 0; border-top: 1px solid var(--line);
  font-size: 17px; line-height: 1.6; opacity: 0.86; font-weight: 300;
  display: flex; gap: 14px;
}
.legal-block li:first-child { border-top: none; padding-top: 4px; }
.legal-block li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px;
  background:
    linear-gradient(var(--sage),var(--sage)) center/100% 2px no-repeat,
    linear-gradient(var(--sage),var(--sage)) center/2px 100% no-repeat;
  opacity: 0.85;
}
.contact-card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px 32px; margin: 4px 0 8px;
}
.contact-card .row { font-size: 17px; line-height: 1.7; opacity: 0.9; font-weight: 300; }
.contact-card .row strong { font-weight: 500; opacity: 1; }
.contact-card a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---- footer ---- */
footer { background: var(--cream); padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .name { font-size: 19px; font-weight: 500; margin-top: 16px; }
.foot-brand p { font-size: 15px; opacity: 0.7; line-height: 1.6; margin: 12px 0 0; max-width: 280px; font-weight: 300; }
.foot-col h4 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.5; font-weight: 500; margin: 0 0 18px; }
.foot-col a, .foot-col .txt { display: block; font-size: 15px; opacity: 0.8; margin-bottom: 12px; }
.foot-col a:hover { opacity: 1; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.socials a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.foot-bottom {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 14px; opacity: 0.65;
}
.foot-bottom .legal { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-bottom .legal a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom .legal a.active { opacity: 1; color: var(--deep); }

/* ---- responsive ---- */
@media (max-width: 1000px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .legal-hero { padding: 48px 0 28px; }
  .legal-body { padding: 16px 0 72px; }
  .foot-grid { grid-template-columns: 1fr; }
}

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