/* PerformanceLab Solutions — style */

:root {
  --paper: #F2F4F7;
  --surface: #FFFFFF;
  --ink: #101A33;
  --muted: #566179;
  --line: #D9DEE7;
  --unread: #5B34EA;
  --unread-soft: #EEE9FF;
  --violet-deep: #3A1C9E;
  --star: #F0A92B;
  --fill: #FFF0A8;
  --fill-ink: #3D3100;
  --ok: #157A4B;
  --err: #B42318;
  --shadow: 0 34px 70px -36px rgba(16, 26, 51, .38);
  --radius-l: 20px;
  --radius-s: 10px;
  --wrap: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D1323;
    --surface: #151D32;
    --ink: #EDF0F7;
    --muted: #A1AAC0;
    --line: #28324D;
    --unread: #9D88FF;
    --unread-soft: #251B4F;
    --violet-deep: #C9BCFF;
    --star: #F4B746;
    --fill: #4A3E10;
    --fill-ink: #FFE9A0;
    --ok: #4CC38A;
    --err: #FF8A80;
    --shadow: 0 34px 70px -36px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.6;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--unread);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute; left: -999px; top: 1rem;
  background: var(--ink); color: var(--paper);
  padding: .6rem 1rem; border-radius: var(--radius-s); z-index: 100;
}
.skip:focus { left: 1rem; }

/* Placeholder da sostituire con dati reali */
.fill {
  background: var(--fill);
  color: var(--fill-ink);
  padding: 0 .25em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Typography */
h1, h2, h3 {
  font-weight: 800;
  font-stretch: 62%;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 5vw + 1rem, 5.4rem); }
h2 { font-size: clamp(2.3rem, 3vw + 1rem, 3.7rem); }
h3 { font-size: 1.45rem; font-weight: 750; font-stretch: 75%; letter-spacing: 0; line-height: 1.15; }
p { margin: 0; max-width: 64ch; }
.lead { font-size: clamp(1.125rem, .5vw + 1rem, 1.3rem); color: var(--muted); max-width: 52ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .8rem 1.5rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--unread); color: #fff; }
.btn-primary:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { min-height: 42px; padding: .5rem 1.1rem; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 51;
  height: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; }
.partner-badge { height: 40px; width: auto; display: block; flex: none; }
@media (max-width: 520px) { .brand { font-size: 0; gap: 0; } .partner-badge { height: 32px; } }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: .97rem; }
.nav a:hover { color: var(--ink); }
.lang { font-size: .92rem; color: var(--muted); text-decoration: none; padding: .35rem .6rem; border: 1px solid var(--line); border-radius: 999px; }
.lang:hover { color: var(--ink); border-color: var(--ink); }
.brand, .header-actions .btn { flex: none; white-space: nowrap; }
.nav-toggle { display: none; }
@media (max-width: 1100px) {
  .header-actions { margin-left: auto; }
  .nav-toggle {
    display: inline-grid; place-content: center; gap: 6px; flex: none;
    width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink); cursor: pointer; padding: 0;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s; }
  .site-header.menu-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    margin: 0; padding: .5rem max(1.25rem, (100% - var(--wrap)) / 2) 1.25rem; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(16,26,51,.25);
  }
  .site-header.menu-open .nav { display: grid; }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
  .nav a:last-child { border-bottom: 0; }
}
.header-actions { display: flex; align-items: center; gap: .75rem; }
@media (max-width: 520px) { .header-actions .btn { display: none; } }

/* Blocks */
.block { padding-block: clamp(2.25rem, 5vw, 4rem); }
.block-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.block-head { display: grid; gap: .8rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

/* Hero */
.hero { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(2.25rem, 5vw, 4rem); position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.hero-copy { display: grid; gap: 1.6rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.proof { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding: 0; margin: .4rem 0 0; list-style: none; color: var(--muted); font-size: .95rem; }
.proof li { display: flex; align-items: center; gap: .45rem; }
.proof svg { width: 18px; height: 18px; flex: none; color: var(--star); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* Inbox */
.inbox {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.inbox-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.inbox-title { font-weight: 700; display: flex; align-items: center; gap: .55rem; }
.count { background: var(--unread); color: #fff; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .05rem .5rem; }
.search { flex: 1; max-width: 230px; height: 36px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); font-size: .85rem; display: flex; align-items: center; gap: .45rem; padding-inline: .8rem; }
.search svg { width: 15px; height: 15px; }
@media (max-width: 420px) { .search { display: none; } }
.mails { list-style: none; margin: 0; padding: 0; }
.mail {
  display: grid; grid-template-columns: 12px 1fr auto; gap: .2rem .9rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line);
  animation: arrive .55s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--i) * 230ms + 250ms);
}
.mail:last-child { border-bottom: 0; }
.mail .dot { grid-row: 1 / span 3; width: 9px; height: 9px; border-radius: 50%; margin-top: .45rem; background: transparent; }
.mail.unread { background: var(--unread-soft); }
.mail.unread .dot { background: var(--unread); }
.mail .from { font-size: .9rem; color: var(--muted); }
.mail.unread .from { color: var(--ink); font-weight: 650; }
.mail .time { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; }
.mail .time svg { width: 15px; height: 15px; color: var(--star); }
.mail .subject { grid-column: 2 / 4; font-weight: 500; line-height: 1.35; }
.mail.unread .subject { font-weight: 750; }
.mail .preview { grid-column: 2 / 4; color: var(--muted); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail.newest .dot { animation: pulse 1.6s ease-out 1.6s 2; }
@keyframes arrive { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--unread) 55%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.inbox-caption { margin-top: .9rem; font-size: .88rem; color: var(--muted); }

/* Diagnosis */
.diag { display: grid; gap: 0; border-top: 1px solid var(--line); }
.diag-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1rem 3rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.diag-row p { color: var(--muted); }
@media (max-width: 760px) { .diag-row { grid-template-columns: 1fr; } }

/* Results table */
.results { width: 100%; border-collapse: collapse; }
.results th { text-align: left; font-weight: 600; font-size: .9rem; color: var(--muted); padding: 0 1rem .9rem 0; border-bottom: 1.5px solid var(--ink); }
.results td { padding: 1.4rem 1rem 1.4rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.results td:first-child strong { display: block; font-size: 1.1rem; }
.results td:first-child span { color: var(--muted); font-size: .92rem; }
.results .result { font-weight: 700; font-size: 1.15rem; }
@media (max-width: 800px) {
  .results thead { display: none; }
  .results tr { display: grid; gap: .4rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
  .results td { border: 0; padding: 0; }
  .results td[data-label]::before { content: attr(data-label); display: block; font-size: .82rem; color: var(--muted); }
}
.note { margin-top: 1.4rem; font-size: .92rem; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; }
.service { padding: 1.6rem 0; border-top: 1px solid var(--line); display: grid; gap: .55rem; align-content: start; }
.service p { color: var(--muted); }
.service .deliver { font-size: .92rem; color: var(--ink); }
.service .deliver b { font-weight: 650; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 1.25rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.shot {
  aspect-ratio: 3 / 5; border-radius: var(--radius-l); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .9rem; padding: 1rem;
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery figcaption { margin-top: .7rem; font-size: .92rem; }
.gallery figcaption span { display: block; color: var(--muted); font-size: .85rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: .6rem; align-content: start; position: relative; padding-top: 3.4rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700;
  background: var(--ink); color: var(--paper);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.2rem; left: 3.2rem; right: -1.2rem; height: 1.5px; background: var(--line); }
.steps p { color: var(--muted); font-size: .98rem; }
.steps .when { font-size: .88rem; color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 2rem 3.6rem; }
  .steps li:not(:last-child)::after { top: 2.8rem; bottom: .4rem; left: 1.2rem; right: auto; width: 1.5px; height: auto; }
}

/* Offers */
.offers { display: grid; border-top: 1.5px solid var(--ink); }
.offer { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) auto; gap: 1rem 2.5rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.offer-main { display: grid; gap: .5rem; }
.offer-main p { color: var(--muted); }
.offer-incl { font-size: .92rem; color: var(--ink) !important; }
.price { font-size: 2rem; font-weight: 800; font-stretch: 62%; letter-spacing: 0; }
.price small { display: block; font-size: .85rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
@media (max-width: 800px) { .offer { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.portrait { aspect-ratio: 1 / 1; border-radius: var(--radius-l); background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about-copy { display: grid; gap: 1.1rem; }
.about-copy p { color: var(--muted); }
.about-copy p.first { color: var(--ink); font-size: 1.2rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin: .8rem 0 0; }
.facts div { border-top: 1px solid var(--line); padding-top: .8rem; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 650; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 360px; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; }
.review { margin: 0; display: grid; gap: 1rem; align-content: start; }
.review blockquote { margin: 0; }
.review.big blockquote { font-size: clamp(1.4rem, 1.2vw + 1rem, 1.9rem); line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
.review-side { display: grid; gap: 2rem; }
.review-side blockquote { font-size: 1.05rem; }
.review figcaption { color: var(--muted); font-size: .92rem; }
.stars { display: flex; gap: 2px; color: var(--star); }
.stars svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; font-weight: 650; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 1.5rem; color: var(--muted); display: grid; gap: .7rem; }

/* Brief form */
.brief-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.brief-side { display: grid; gap: 1.2rem; position: sticky; top: 100px; }
.brief-side ul { margin: 0; padding-left: 1.2rem; color: var(--muted); display: grid; gap: .5rem; }
@media (max-width: 900px) { .brief-grid { grid-template-columns: 1fr; } .brief-side { position: static; } }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); padding: clamp(1.4rem, 3vw, 2.4rem); }
.progress { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.progress-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 33.33%; background: var(--unread); border-radius: inherit; transition: width .35s ease; }
.progress-label { font-size: .9rem; color: var(--muted); white-space: nowrap; }

.step { display: none; gap: 1.2rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.active { display: grid; }
.step legend { font-size: 1.6rem; font-weight: 800; font-stretch: 62%; letter-spacing: 0; padding: 0; margin-bottom: .4rem; }
.field { display: grid; gap: .4rem; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }

input[type="text"], input[type="email"], input[type="url"], select, textarea {
  width: 100%; min-height: 50px; padding: .7rem .95rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-s);
  background: var(--paper); font-size: 1rem;
  transition: border-color .15s, background-color .15s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--unread); background: var(--surface); }
.invalid input, .invalid select, .invalid textarea { border-color: var(--err); }
.error-msg { color: var(--err); font-size: .85rem; display: none; }
.invalid .error-msg { display: block; }

.choices { display: grid; gap: .6rem; }
.choices.cols { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .choices.cols { grid-template-columns: 1fr; } }
.choice { display: flex; align-items: flex-start; gap: .7rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); cursor: pointer; background: var(--paper); transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: var(--muted); }
.choice input { margin-top: .3rem; accent-color: var(--unread); width: 18px; height: 18px; flex: none; }
.choice:has(input:checked) { border-color: var(--unread); background: var(--unread-soft); }
.choice span small { display: block; color: var(--muted); font-size: .85rem; }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: .25rem; accent-color: var(--unread); width: 18px; height: 18px; flex: none; }
.form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; flex-wrap: wrap; }
.form-nav .btn-primary { margin-left: auto; }
.legal-small { font-size: .82rem; color: var(--muted); margin-top: 1.2rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-size: .95rem; }
.form-status.err { color: var(--err); }
.success { display: none; text-align: left; gap: 1rem; }
.success.show { display: grid; }
.success-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--unread-soft); color: var(--unread); display: grid; place-items: center; }
.success-icon svg { width: 26px; height: 26px; }
.success p { color: var(--muted); }

/* Footer */
.site-footer { padding-block: 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: .75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom, 0px));
  background: var(--surface); border-top: 1px solid var(--line);
  display: none; transform: translateY(110%); transition: transform .3s ease;
}
.mobile-cta .btn { width: 100%; }
.mobile-cta.show { transform: none; }
@media (max-width: 760px) { .mobile-cta { display: block; } }

/* Legal page */
.legal { max-width: 760px; display: grid; gap: 1.2rem; }
.legal h2 { font-size: 1.5rem; margin-top: 1.5rem; }
.legal p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Showreel */
.reel { position: relative; border-radius: var(--radius-l); overflow: hidden; background: #000; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.reel-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-toggle {
  position: absolute; right: 1rem; bottom: 1rem;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: #101A33;
  display: grid; place-items: center;
}
.reel-toggle svg { width: 20px; height: 20px; }
.reel-toggle .i-play { display: none; }
.reel.paused .reel-toggle .i-play { display: block; }
.reel.paused .reel-toggle .i-pause { display: none; }

/* Design boards */
.boards { display: grid; gap: 2.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.board { margin: 0; display: grid; gap: .8rem; }
.board-frame { display: block; overflow-x: auto; border-radius: var(--radius-l); border: 1px solid var(--line); background: #fff; }
.board-frame img { width: 100%; min-width: 1000px; }
@media (min-width: 1001px) { .board-frame img { min-width: 0; } }
.board figcaption { color: var(--muted); }
.board figcaption strong { color: var(--ink); font-weight: 650; margin-right: .4rem; }
.boards .note { margin-top: -1rem; }

/* Reviews v2: un avis principal + grille */
.reviews { grid-template-columns: 1fr; gap: 2rem; }
.review.big { max-width: 900px; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem 2.5rem; }
.review-grid .review { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.review-grid blockquote { font-size: 1rem; }
@media (max-width: 960px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .review-grid { grid-template-columns: 1fr; } }

/* Showreel juste après le hero */
.reel-block { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.boards-first { margin-top: 0; }

/* Citation de Carl après les résultats */
.pull-quote { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding-left: 1.5rem; border-left: 3px solid var(--unread); max-width: 760px; display: grid; gap: .6rem; }
.pull-quote blockquote { margin: 0; font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }
.pull-quote figcaption { color: var(--muted); font-size: .95rem; }

/* Sélecteur de langue */
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.langs a { padding: .28rem .6rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* Benchmark 40 % */
.benchmark { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 2.5rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: clamp(2rem, 4vw, 3rem); background: var(--unread-soft); border-radius: var(--radius-l); }
.bench-num { font-size: clamp(4rem, 8vw, 7rem); font-weight: 900; font-stretch: 62%; line-height: .9; color: var(--unread); margin: 0; }
.bench-copy { display: grid; gap: .6rem; }
.bench-copy p { color: var(--ink); max-width: 60ch; }
@media (max-width: 640px) { .benchmark { grid-template-columns: 1fr; } }

/* Dashboard Klaviyo */
.dashboard { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; display: grid; gap: .7rem; }
.dashboard img { width: 100%; border-radius: var(--radius-l); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.dashboard figcaption { color: var(--muted); font-size: .92rem; }

/* Recensioni: avatar con iniziali, nome e paese */
.review .who { display: flex; align-items: center; gap: .8rem; color: var(--ink); }
.avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-stretch: 75%; font-size: 1rem; letter-spacing: .02em; color: #fff; background: var(--unread); }
.avatar[data-tone="1"] { background: #101A33; }
.avatar[data-tone="2"] { background: #C2410C; }
.avatar[data-tone="3"] { background: var(--violet-deep); }
.review.big .avatar { width: 52px; height: 52px; font-size: 1.15rem; }
.who-text { display: grid; line-height: 1.3; }
.who-text strong { font-weight: 700; }
.who-text span { color: var(--muted); font-size: .88rem; }
.review-grid .review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.4rem 1.4rem 1.3rem; border-top: 1px solid var(--line); }
.review-grid .stars svg { width: 15px; height: 15px; }

/* Mobile : espacements resserrés */
@media (max-width: 640px) {
  .block { padding-block: 2.25rem; }
  .hero { padding-block: 1.5rem 2.25rem; }
  .reel-block { padding-bottom: 2.25rem; }
  .block-head { margin-bottom: 1.25rem; }
  .benchmark { margin-bottom: 1.5rem; }
}

/* Evidenziatore giallo sui risultati */
mark.hl { background: linear-gradient(transparent 52%, #FFE14D 52%, #FFE14D 92%, transparent 92%); color: inherit; padding: 0 .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) mark.hl { background: linear-gradient(transparent 52%, #7A6410 52%, #7A6410 92%, transparent 92%); } }
:root[data-theme="dark"] mark.hl { background: linear-gradient(transparent 52%, #7A6410 52%, #7A6410 92%, transparent 92%); }

/* ---- Revisione 13/11: titolo su due righe, tocchi viola, offerte in linea ---- */
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--unread) 22%, transparent) 0%, transparent 65%); pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 60%); mask-image: linear-gradient(to bottom, transparent 30%, #000 60%); }
.hero > .wrap { position: relative; }
.hero-title { font-size: clamp(2.6rem, 4.6vw + .5rem, 4.1rem); line-height: 1; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); text-wrap: initial; max-width: none; }
.hero-title .br-desk { display: none; }
@media (min-width: 900px) { .hero-title .br-desk { display: inline; } }
.hero-grid { align-items: start; }
.btn-primary { background: var(--unread); }
.btn-primary:hover { background: var(--violet-deep); color: #fff; }
.count { background: var(--unread); }
.block-head h2::after { content: ""; display: block; width: 56px; height: 5px; border-radius: 3px; margin-top: .9rem; background: var(--unread); }
.steps li::before { background: var(--unread); color: #fff; }
.pull-quote { border-left-color: var(--unread); }

/* Offerte: tre card in linea */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; border-top: 0; align-items: stretch; }
.offer { display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); }
.offer-main { flex: 1; align-content: start; }
.offer .price { margin: 0; }
.offer .btn { width: 100%; }
.offer:has(.btn-primary) { border: 2px solid var(--unread); box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--unread) 60%, transparent); }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; } }

/* Benchmark più in evidenza */
.benchmark { background: linear-gradient(120deg, var(--unread-soft), color-mix(in srgb, var(--unread-soft) 40%, var(--surface))); border: 1px solid color-mix(in srgb, var(--unread) 25%, transparent); }
.offer { align-items: stretch; }
.offer .price { text-align: left; font-size: 2.4rem; line-height: 1; }
.offer .price small { font-stretch: 100%; font-weight: 400; margin-top: .3rem; }

/* Offerta scelta, visibile dal passo 1 */
.chosen { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: -.4rem 0 1.4rem; padding: .7rem .9rem; border-radius: var(--radius-s); background: var(--unread-soft); border: 1px solid color-mix(in srgb, var(--unread) 30%, transparent); font-size: .95rem; }
.chosen[hidden] { display: none; }
.chosen-label { color: var(--muted); }
.chosen strong { color: var(--unread); font-weight: 700; }
.chosen-change { margin-left: auto; background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; cursor: pointer; font-size: .9rem; }

/* Media non selezionabili (protezione leggera) */
img, video { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* ---- Pagine casi studio ---- */
.crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 1rem; }
.crumbs a { color: var(--muted); }
.case-hero .hero-title { max-width: 22ch; }
.case-tags { list-style: none; padding: 0; margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-wrap: wrap; gap: .5rem; }
.case-tags li { padding: .35rem .8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.case-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.case-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.3rem 1.4rem; display: grid; gap: .35rem; }
.case-stat p { margin: 0; color: var(--muted); font-size: .95rem; }
.case-stat .case-num { color: var(--unread); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 900; font-stretch: 62%; line-height: 1; }
.case-body > * { max-width: 900px; }
.case-prose { display: grid; gap: 1rem; }
.case-prose p { font-size: 1.15rem; max-width: 62ch; }
.case-points { display: grid; gap: 1.6rem; }
.case-point { display: grid; gap: .45rem; padding-left: 1.2rem; border-left: 3px solid var(--unread); }
.case-point p { color: var(--muted); }
.case-subjects { margin-top: clamp(1.8rem, 4vw, 2.5rem); max-width: 560px; }
.case-label { font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }
.case-subjects .mail { animation: none; }
.case-table { width: 100%; border-collapse: collapse; }
.case-table th { text-align: left; font-size: .9rem; color: var(--muted); font-weight: 600; padding: 0 1rem .8rem 0; border-bottom: 1.5px solid var(--ink); }
.case-table td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.case-table td:last-child { font-weight: 700; }
@media (max-width: 640px) { .case-table thead { display: none; } .case-table tr { display: grid; gap: .2rem; padding: .9rem 0; border-bottom: 1px solid var(--line); } .case-table td { border: 0; padding: 0; } }
.case-quote { margin-top: clamp(2rem, 4vw, 3rem); }
.case-cta { text-align: center; display: grid; justify-items: center; gap: 1rem; padding: clamp(2rem, 5vw, 3.5rem) 1.5rem; border-radius: var(--radius-l);
  background: linear-gradient(120deg, var(--unread-soft), color-mix(in srgb, var(--unread-soft) 40%, var(--surface))); border: 1px solid color-mix(in srgb, var(--unread) 25%, transparent); }
.case-cta p { color: var(--muted); max-width: 52ch; }
.case-cta h2::after { display: none; }
.case-next { margin-top: 1.5rem; text-align: center; color: var(--muted); }
.case-link { display: inline-block; margin-top: .45rem; font-size: .9rem; font-weight: 600; color: var(--unread); }

/* Banner cookie (Consent Mode v2) */
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; display: flex; justify-content: center; pointer-events: none; }
.cc-inner { pointer-events: auto; width: 100%; max-width: 640px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); padding: 1.25rem 1.35rem 1.1rem; max-height: calc(100vh - 32px); overflow-y: auto; }
.cc-title { font-weight: 800; font-stretch: 75%; font-size: 1.35rem; line-height: 1.1; margin: 0 0 .4rem; }
.cc-text { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.cc-text a { color: var(--unread); }
.cc-details { display: grid; gap: .5rem; margin: 0 0 1rem; }
.cc-details[hidden] { display: none; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer; }
.cc-row div { display: grid; gap: .15rem; }
.cc-row strong { font-size: .95rem; }
.cc-row span { font-size: .85rem; color: var(--muted); }
.cc-row em { font-style: normal; font-size: .82rem; color: var(--ok); white-space: nowrap; }
.cc-switch { appearance: none; -webkit-appearance: none; flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.cc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.cc-switch:checked { background: var(--unread); }
.cc-switch:checked::after { transform: translateX(18px); }
.cc-switch:focus-visible { outline: 2px solid var(--unread); outline-offset: 2px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.cc-btn { font: inherit; font-weight: 650; font-size: .95rem; min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); cursor: pointer; flex: 1 1 auto; }
.cc-btn:hover { background: var(--ink); color: var(--paper); }
.cc-btn[hidden] { display: none; }
.cc-link { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; flex: 0 1 auto; }
.cc-link:hover { background: transparent; color: var(--unread); }
@media (max-width: 520px) {
  .cc { left: 8px; right: 8px; bottom: 8px; }
  .cc-inner { padding: .85rem 1rem .8rem; max-height: 45vh; }
  .cc-title { font-size: 1.05rem; margin-bottom: .25rem; }
  .cc-text { font-size: .82rem; line-height: 1.4; margin-bottom: .7rem; }
  .cc-actions { gap: .4rem; }
  .cc-actions .cc-btn:not(.cc-link) { flex: 1 1 40%; min-height: 40px; font-size: .9rem; padding: .45rem .8rem; }
  .cc-actions .cc-link { order: 3; flex-basis: 100%; min-height: 32px; font-size: .85rem; padding: .2rem; }
}
/* Landing: CTA visibile anche su mobile, titolo più compatto */
@media (max-width: 520px) {
  .lp .header-actions .btn { display: inline-flex; padding: .45rem .85rem; font-size: .85rem; min-height: 38px; }
  .lp-hero-copy .hero-title { font-size: 1.95rem; line-height: 1.08; }
  .lp-hero-copy { gap: .9rem; }
}

/* Simulateur "CA qui dort" */
.sim-band { background: color-mix(in srgb, var(--unread-soft) 55%, var(--paper)); border-block: 1px solid var(--line); }
.sim-eyebrow { margin: 0; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--unread); font-weight: 700; }
.sim-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 1.5rem; align-items: start; }
@media (max-width: 880px) { .sim-grid { grid-template-columns: 1fr; } }
.sim-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1.5rem; min-width: 0; }
.sim-field { display: grid; gap: .5rem; }
.sim-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.sim-head label, .sim-fs legend { font-weight: 650; }
.sim-fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.sim-fs legend { padding: 0; margin-bottom: .5rem; }
.sim-val { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--unread); font-size: 1.05rem; }
.sim-hint { color: var(--muted); font-size: .86rem; margin: 0; }
.sim-panel input[type=range] { width: 100%; accent-color: var(--unread); height: 28px; margin: 0; }
.sim-panel input[type=range]:focus-visible { outline: 2px solid var(--unread); outline-offset: 4px; border-radius: 4px; }
.sim-panel input[type=range]:disabled { opacity: .4; }
.sim-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.sim-check { display: inline-flex; gap: .5rem; align-items: center; font-size: .92rem; color: var(--muted); cursor: pointer; }
.sim-check input, .sim-flow input { accent-color: var(--unread); width: 18px; height: 18px; margin: 0; flex: none; }
.sim-flows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
@media (max-width: 480px) { .sim-flows { grid-template-columns: 1fr; } }
.sim-flow { display: flex; gap: .6rem; align-items: center; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer; font-size: .93rem; min-width: 0; }
.sim-flow:has(input:checked) { border-color: var(--unread); background: var(--unread-soft); }
.sim-flow:focus-within { outline: 2px solid var(--unread); outline-offset: 2px; }
.sim-result { position: sticky; top: 6rem; box-shadow: var(--shadow); }
@media (max-width: 880px) { .sim-result { position: static; } }
.sim-result h3 { margin: 0; font-size: 1rem; font-weight: 650; color: var(--muted); }
.sim-big { font-weight: 800; font-stretch: 75%; font-variant-numeric: tabular-nums; font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.05; margin: .3rem 0 0; text-wrap: balance; }
.sim-big mark { background: var(--fill); color: var(--fill-ink); padding: 0 .12em; border-radius: 4px; }
.sim-per { color: var(--muted); margin: .45rem 0 0; }
.sim-per strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.sim-warn { margin: .7rem 0 0; padding: .7rem .9rem; border-radius: var(--radius-s); background: var(--fill); color: var(--fill-ink); font-size: .92rem; }
.sim-bars { display: grid; gap: .7rem; }
.sim-bar { display: grid; gap: .3rem; }
.sim-bar-l { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.sim-track { height: 12px; background: var(--paper); border-radius: 999px; overflow: hidden; }
.sim-track span { display: block; height: 100%; border-radius: 999px; transition: width .35s ease; }
.sim-now { background: var(--muted); }
.sim-goal { background: var(--unread); width: 66.7%; }
@media (prefers-reduced-motion: reduce) { .sim-track span { transition: none; } }
.sim-missing { border-top: 1px solid var(--line); padding-top: 1.1rem; display: grid; gap: .45rem; }
.sim-missing p { margin: 0; font-weight: 650; }
.sim-missing ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .93rem; display: grid; gap: .15rem; }
.sim-missing .sim-ok { color: var(--ok); }
.sim-cta { width: 100%; justify-content: center; text-align: center; }
.sim-fine { font-size: .8rem; color: var(--muted); margin: 0; }

.hero-eyebrow { margin: 0 0 .9rem; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--unread); }

/* Hero stats strip */
.hero-grid { grid-template-columns: 1fr; align-items: start; }
.hero-copy { gap: clamp(1.6rem, 3vw, 2.2rem); padding-top: 0; }
.hero-copy .lead { max-width: 62ch; }
.hero-stats { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); padding: clamp(1.25rem, 2.6vw, 2rem) clamp(1.25rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.4rem); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.stat { display: grid; gap: .35rem; align-content: start; padding-inline: clamp(1rem, 2.2vw, 2rem); border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat dt { font-size: clamp(1.9rem, 2.2vw + .7rem, 2.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat:first-child dt { color: var(--unread); }
.stat dd { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.4; max-width: 22ch; }
.stats-note { max-width: none; margin: 1.1rem 0 0; padding-top: .85rem; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 1.3rem; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* Landing page */
.lp .header-actions { margin-left: auto; }

.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lp-hero-copy { display: grid; gap: clamp(1.1rem, 2.2vw, 1.6rem); }
.lp-hero-copy .hero-eyebrow { margin: 0; }
.lp-hero-copy .hero-title { margin: 0; font-size: clamp(2.3rem, 4.4vw, 4.1rem); }
.lp-hero-copy .lead { margin: 0; max-width: 58ch; }
.lp-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: .4rem; }
.lp-quote { margin: 0; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .45rem; align-content: start; }
.lp-quote .stars { color: var(--star, #F5A524); display: flex; gap: 2px; }
.lp-quote .stars svg { width: 14px; height: 14px; }
.lp-quote blockquote { margin: 0; }
.lp-quote blockquote p { margin: 0; font-size: .92rem; line-height: 1.45; color: var(--ink); }
.lp-quote figcaption { font-size: .8rem; color: var(--muted); }
.lp-quote figcaption strong { color: var(--ink); }
.lp-portrait { margin: 0; position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; background: var(--surface); }
.lp-portrait > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.lp-portrait figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border-radius: var(--radius); background: rgba(255,255,255,.92); backdrop-filter: blur(6px); color: #101A33; }
.lp-portrait figcaption img { height: 32px; width: auto; flex: none; }
.lp-portrait figcaption span { display: grid; font-size: .8rem; line-height: 1.3; color: #4A5368; }
.lp-portrait figcaption strong { font-size: .95rem; color: #101A33; }
.lp-stats { margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 960px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-portrait { max-width: 460px; aspect-ratio: 4 / 3; }
}
@media (max-width: 620px) {
  .lp-quotes { grid-template-columns: 1fr; }
  .lp-portrait { max-width: none; }
}

.cta-micro { margin: -.4rem 0 0; font-size: .85rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp-wrap { overflow-x: auto; margin-top: clamp(2rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow); }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .95rem; }
.cmp th, .cmp td { padding: 1rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.cmp tbody th { font-weight: 650; color: var(--ink); width: 22%; }
.cmp td { color: var(--muted); }
.cmp .cmp-me { background: color-mix(in srgb, var(--unread) 7%, transparent); color: var(--ink); font-weight: 600; }
.cmp thead .cmp-me { color: var(--unread); }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: clamp(2rem, 4vw, 3rem); }
.fit-col { padding: clamp(1.3rem, 2.6vw, 2rem); border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.fit-col h3 { margin: 0 0 1rem; font-size: 1.2rem; }
.fit-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.fit-col li { position: relative; padding-left: 1.9rem; color: var(--ink); line-height: 1.5; }
.fit-col li::before { position: absolute; left: 0; top: .05rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-content: center; font-size: .8rem; font-weight: 800; }
.fit-yes { border-color: color-mix(in srgb, #16A34A 35%, var(--line)); }
.fit-yes li::before { content: "✓"; color: #15803D; background: color-mix(in srgb, #16A34A 14%, transparent); }
.fit-no li { color: var(--muted); }
.fit-no li::before { content: "✕"; color: var(--muted); background: color-mix(in srgb, var(--muted) 14%, transparent); }
.fit-cta { margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

.lp #resultats .dashboard + table.results, .lp #resultats .results { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 760px) {
  .cmp-wrap { overflow: visible; border: 0; background: none; box-shadow: none; }
  .cmp { min-width: 0; display: block; }
  .cmp thead { display: none; }
  .cmp tbody { display: grid; gap: .9rem; }
  .cmp tr { display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
  .cmp th, .cmp td { display: block; width: auto; border-bottom: 1px solid var(--line); padding: .7rem 1rem; }
  .cmp tbody th { background: var(--paper); font-size: 1rem; width: auto; }
  .cmp td::before { content: attr(data-label); display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: .2rem; }
  .cmp td.cmp-me::before { color: var(--unread); }
  .cmp td:last-child { border-bottom: 0; }
}

/* Landing: postcard instead of second portrait */
@font-face { font-family: "Caveat"; font-weight: 500; font-display: swap; src: url("/assets/fonts/caveat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url("/assets/fonts/caveat-latin-700-normal.woff2") format("woff2"); }
.postcard { margin: 0; position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem;
  padding: clamp(1.3rem, 2.6vw, 2rem); aspect-ratio: 3 / 2; border-radius: 6px; color: #1E2A4A;
  background: #FBF6EC radial-gradient(120% 90% at 0% 0%, #FFFDF8 0%, transparent 60%);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 40px -22px rgba(16,26,51,.45), 0 6px 14px -8px rgba(16,26,51,.25);
  transform: rotate(-2.2deg); transition: transform .4s ease; }
.postcard:hover { transform: rotate(0deg) scale(1.01); }
.postcard::before { content: ""; position: absolute; left: 56%; top: 1.4rem; bottom: 1.4rem; border-left: 1px solid #D9CDB6; }
.pc-msg { display: grid; align-content: start; gap: .55rem; }
.pc-hand { margin: 0; font-family: "Caveat", "Segoe Script", cursive; font-weight: 500; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.2; color: #1F3A8A; }
.pc-sign { margin-top: .3rem; font-weight: 700; }
.pc-side { display: grid; grid-template-rows: auto 1fr auto; position: relative; padding-left: .6rem; }
.pc-stamp { justify-self: end; display: grid; justify-items: center; gap: .25rem; padding: .55rem .6rem .45rem; background: #fff;
  outline: 2px dashed #D9CDB6; outline-offset: -5px; box-shadow: 0 2px 6px rgba(16,26,51,.15); transform: rotate(3deg); }
.pc-stamp img { height: 30px; width: auto; }
.pc-stamp span { font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; color: #6B6255; font-weight: 700; }
.pc-postmark { position: absolute; top: 5.4rem; left: .4rem; width: 84px; height: 84px; border-radius: 50%;
  border: 2px solid rgba(91,33,182,.55); color: rgba(91,33,182,.7); display: grid; place-content: center; text-align: center;
  font-size: .55rem; letter-spacing: .08em; transform: rotate(-14deg); line-height: 1.5; }
.pc-postmark strong { font-size: .8rem; letter-spacing: .14em; border-block: 1px solid currentColor; padding-block: .1rem; }
.pc-address { display: grid; gap: .35rem; align-self: end; font-size: .78rem; color: #6B6255; }
.pc-address strong { font-family: "Caveat", cursive; font-size: 1.35rem; color: #1F3A8A; font-weight: 700; border-bottom: 1px solid #D9CDB6; padding-bottom: .15rem; }
.pc-address span:last-child { border-bottom: 1px solid #D9CDB6; padding-bottom: .3rem; }
@media (max-width: 860px) { .postcard { max-width: 520px; transform: rotate(-1.2deg); } }
@media (max-width: 560px) {
  .postcard { grid-template-columns: 1fr; aspect-ratio: auto; }
  .postcard::before { display: none; }
  .pc-side { border-top: 1px solid #D9CDB6; padding: 1rem 0 0; min-height: 200px; }
  .pc-postmark { top: 1rem; left: 0; width: 78px; height: 78px; }
}
.hero-copy .hero-cta + .cta-micro { margin-top: calc(-1 * clamp(.9rem, 2vw, 1.4rem)); }

.carnet{margin:0;position:relative;border-radius:14px;background:#fff;border:1px solid #E3E6EE;box-shadow:0 24px 40px -22px rgba(16,26,51,.45);overflow:visible;color:#101A33}
.cn-bar{display:flex;align-items:center;gap:6px;padding:.6rem .8rem;border-bottom:1px solid #EEF0F5;background:#F7F8FB;border-radius:14px 14px 0 0}
.cn-bar span{width:9px;height:9px;border-radius:50%;background:#E1E4EC}.cn-bar em{margin-left:.5rem;font-style:normal;font-size:.72rem;color:#7A8299}
.cn-body{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem;padding:1.2rem}
.cn-label{margin:0 0 .4rem;font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:#7A8299;font-weight:700}
.cn-swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:.35rem;margin-bottom:1rem}
.cn-swatches i{aspect-ratio:1;border-radius:8px;background:var(--c);border:1px solid rgba(0,0,0,.06);position:relative}
.cn-swatches b{position:absolute;left:0;right:0;bottom:-1.05rem;font-size:.5rem;font-weight:600;color:#7A8299;text-align:center}
.cn-serif{margin:.9rem 0 .2rem;font-family:Georgia,"Times New Roman",serif;font-size:1.25rem;color:#163463}
.cn-sans{margin:0;font-size:.72rem;color:#7A8299}
.cn-email{background:#1F5FAF;color:#fff;border-radius:8px;padding:1rem .9rem;display:grid;gap:.5rem;justify-items:center;text-align:center}
.cn-logo{margin:0;font-family:Georgia,serif;font-size:.8rem;letter-spacing:.3em;color:#F3EBDD}
.cn-h{margin:0;font-family:Georgia,serif;font-size:1.2rem;line-height:1.15}
.cn-t{margin:0;font-size:.68rem;opacity:.9}
.cn-btn{background:#F2C230;color:#163463;font-size:.6rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:.45rem .8rem;border-radius:999px}
.cn-note{position:absolute;font-family:"Caveat",cursive;font-size:1.15rem;line-height:1.1;color:#3B2F00;background:#FFE88A;padding:.5rem .7rem;box-shadow:0 6px 12px -6px rgba(0,0,0,.35)}
.cn-note.n1{left:-1rem;bottom:-1.4rem;transform:rotate(-5deg)}.cn-note.n2{right:-.8rem;top:3.2rem;transform:rotate(4deg)}
.manifeste{margin:0;position:relative;border-radius:var(--radius-l);background:#14224A;color:#fff;padding:clamp(1.8rem,4vw,3rem);box-shadow:0 24px 40px -22px rgba(16,26,51,.55);overflow:hidden}
.mf-q{position:absolute;top:-2.2rem;left:1rem;font-family:Georgia,serif;font-size:11rem;line-height:1;color:#7C5CFF;opacity:.9}
.manifeste blockquote{margin:2.4rem 0 1.6rem;position:relative}
.manifeste blockquote p{margin:0;font-size:clamp(1.5rem,2.5vw,2.1rem);font-weight:700;line-height:1.2;letter-spacing:-.01em}
.manifeste figcaption{display:grid;gap:.2rem;font-size:.8rem;color:#B8C0DA}
.mf-sign{font-family:"Caveat",cursive;font-size:2.2rem;color:#fff;line-height:1}
.badge-card{margin:0 auto;max-width:330px;position:relative;border-radius:18px;background:#fff;color:#101A33;border:1px solid #E3E6EE;padding:2.2rem 1.6rem 1.4rem;display:grid;gap:.5rem;justify-items:start;box-shadow:0 24px 40px -22px rgba(16,26,51,.45);transform:rotate(1.5deg)}
.badge-card::before{content:"";position:absolute;left:50%;top:-70px;width:2px;height:70px;background:linear-gradient(#5B21B6,#7C5CFF);transform:translateX(-50%)}
.bc-hole{position:absolute;left:50%;top:.8rem;width:46px;height:8px;border-radius:99px;background:#EEF0F5;transform:translateX(-50%)}
.bc-kicker{margin:0;font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:#5B21B6;font-weight:800}
.bc-name{margin:0;font-size:1.8rem;font-weight:800;letter-spacing:-.02em;line-height:1.05}
.bc-role{margin:0;color:#4A5368;font-size:.9rem}
.bc-partner{height:34px;width:auto;margin:.4rem 0}
.bc-meta{margin:0;display:grid;gap:.45rem;width:100%;border-top:1px solid #EEF0F5;padding-top:.8rem}
.bc-meta div{display:flex;justify-content:space-between;font-size:.8rem}.bc-meta dt{color:#7A8299}.bc-meta dd{margin:0;font-weight:650}
.bc-qr{display:flex;align-items:center;gap:.8rem;margin-top:.5rem;width:100%;border-top:1px dashed #E3E6EE;padding-top:.9rem}
.bc-qr img{width:72px;height:72px}.bc-qr span{font-size:.75rem;color:#4A5368;line-height:1.3}
@media(max-width:560px){.cn-body{grid-template-columns:1fr}.cn-note.n2{top:auto;bottom:-1.2rem;right:0}}
.cn-swatches{margin-bottom:1.7rem}
.cn-note.n2{top:-1.1rem;right:-1rem}
.cn-note.n1{left:-1.6rem;bottom:-2.3rem}
.carnet{margin-bottom:2rem}
.about > figure { min-width: 0; }
@media(max-width:560px){ .cn-note.n2{top:-1rem;bottom:auto;right:.2rem} .cn-note.n1{left:-.3rem;bottom:-2rem} .cn-swatches b{font-size:.45rem} }

.card-band { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.card-copy { display: grid; gap: 1.1rem; }
.card-copy h2 { margin: 0; }
.card-copy p { margin: 0; }
.card-band .badge-card { margin-top: 70px; }
@media (max-width: 860px) { .card-band { grid-template-columns: 1fr; } }

.method-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem,5vw,4rem); align-items: center; margin-top: clamp(3rem,6vw,4.5rem); padding-top: clamp(2rem,4vw,3rem); border-top: 1px solid var(--line); }
.method-card h3 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.02em; }
.method-card .badge-card { margin-top: 70px; }
@media (max-width: 860px) { .method-card { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .method-card .bc-qr { display: none; } .method-card .card-copy > p:nth-of-type(2) { display: none; } }

/* swap: carnet in method (bigger), badge in about (bigger) */
.method-card--carnet { grid-template-columns: .8fr 1.2fr; }
.method-card--carnet .carnet { margin: 1.5rem 1.2rem 2.5rem; }
.method-card--carnet .cn-body { padding: 1.6rem; gap: 1.6rem; }
.method-card--carnet .cn-serif { font-size: 1.7rem; }
.method-card--carnet .cn-h { font-size: 1.6rem; }
.method-card--carnet .cn-t { font-size: .82rem; }
.method-card--carnet .cn-btn { font-size: .7rem; padding: .55rem 1rem; }
.method-card--carnet .cn-logo { font-size: .95rem; }
.method-card--carnet .cn-note { font-size: 1.35rem; }
.method-card--carnet .cn-label { font-size: .68rem; }
.about .badge-card { max-width: 420px; padding: 2.8rem 2.1rem 1.8rem; margin-top: 80px; }
.about .badge-card .bc-name { font-size: 2.35rem; }
.about .badge-card .bc-role { font-size: 1.02rem; }
.about .badge-card .bc-partner { height: 42px; }
.about .badge-card .bc-meta div { font-size: .9rem; }
.about .badge-card .bc-qr img { width: 92px; height: 92px; }
.about .badge-card .bc-qr span { font-size: .85rem; }
@media (max-width: 860px) { .method-card--carnet { grid-template-columns: 1fr; } .method-card--carnet .carnet { margin: 1.5rem .4rem 2.5rem; } }
@media (max-width: 760px) { .about .badge-card .bc-qr { display: none; } .method-card--carnet .card-copy > p:nth-of-type(2) { display: block; } }
.bc-qr img { image-rendering: pixelated; padding: 4px; background: #fff; }

.design-carnet { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding: clamp(1.5rem,3vw,2.5rem) 0; }
.design-carnet .carnet { margin: 1.5rem 1.2rem 2.5rem; }
.design-carnet .cn-body { padding: 1.6rem; gap: 1.6rem; }
.design-carnet .cn-serif { font-size: 1.7rem; } .design-carnet .cn-h { font-size: 1.6rem; } .design-carnet .cn-t { font-size: .82rem; }
.design-carnet .cn-btn { font-size: .7rem; padding: .55rem 1rem; } .design-carnet .cn-logo { font-size: .95rem; } .design-carnet .cn-note { font-size: 1.35rem; }
.design-carnet h3 { margin: 0; font-size: clamp(1.6rem,2.6vw,2.2rem); letter-spacing: -.02em; }
@media (max-width: 860px) { .design-carnet { grid-template-columns: 1fr; } .design-carnet .carnet { margin: 1.5rem .4rem 2.5rem; } }

.hero-title-2 { display: block; color: var(--unread); }
