/* MediaPineal · public site. Builds on app.css tokens. */
.site { background: var(--paper); }
.wrap { width: min(1160px, 100%); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.btn--lg { padding: .95rem 1.35rem; font-size: var(--text-base); border-radius: 10px; }
.btn--lume { background: var(--lume); color: var(--ink); }
.btn--lume:hover { background: #ffc85e; }
.btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--line:hover { border-color: #fff; }

/* ---------- nav ---------- */
.site-nav { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-nav__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.site-nav__brand { display: flex; }
.site-nav__links { display: flex; align-items: center; gap: .2rem; }
.site-nav__links a:not(.btn) { color: #cfcaea; text-decoration: none; font-size: var(--text-sm); font-weight: 500; padding: .5rem .7rem; border-radius: 6px; }
.site-nav__links a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.07); }
.site-nav__links .btn { margin-left: .4rem; }
.site-nav__lang { font-weight: 700 !important; letter-spacing: .02em; }
.site-nav__toggle { display: none; background: none; border: 0; color: #fff; padding: .5rem; cursor: pointer; }
@media (max-width: 960px) {
  .site-nav__toggle { display: block; }
  .site-nav__links { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--ink); flex-direction: column; align-items: stretch; padding: .5rem 1rem 1.2rem; border-top: 1px solid rgba(255,255,255,.08); }
  .site-nav__links.is-open { display: flex; }
  .site-nav__links a:not(.btn) { padding: .8rem .4rem; }
  .site-nav__links .btn { margin: .6rem 0 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #e6e2f7; padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 7rem); }
.hero__cone { position: absolute; width: min(620px, 70vw); height: min(745px, 84vw); left: -12%; bottom: -34%; color: rgba(255, 185, 56, .07); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 1.2rem + 3vw, 3.55rem); line-height: 1.02; letter-spacing: -0.03em; color: #fff; max-width: 18ch; text-wrap: balance; }
.hero__lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); line-height: 1.6; color: #c9c3e6; max-width: 52ch; margin: 1.4rem 0 2rem; }
.hero__cta { display: flex; gap: .7rem; flex-wrap: wrap; }
.hero__who { margin: 2rem 0 0; font-size: var(--text-sm); color: #9d97c2; max-width: 46ch; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

/* The release dossier: one release travelling through its statuses, with the mails it triggered. */
.dossier { margin: 0; background: #fff; color: var(--ink); border-radius: 20px; padding: 1.3rem; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); position: relative; }
.dossier::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: 20px; background: #2d2760; z-index: -1; }
.dossier__head { display: flex; gap: .9rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.dossier__cover { width: 64px; height: 64px; border-radius: 10px; flex: none; display: grid; place-items: center; background: linear-gradient(145deg, #3a2fa0, #1b1640); color: var(--lume); }
.dossier__cover .cone { width: 28px; height: 34px; color: var(--lume); }
.dossier__head strong { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.dossier__head span { font-size: var(--text-sm); color: var(--muted); }
.dossier__steps { list-style: none; margin: 1rem 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.step { display: flex; flex-direction: column; gap: .45rem; font-size: .72rem; font-weight: 600; color: var(--muted); }
.step__dot { height: 5px; border-radius: 3px; background: #ece9f6; position: relative; overflow: hidden; }
.step__dot::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; }
.step--pending .step__dot::after { background: var(--st-pending); }
.step--revision .step__dot::after { background: var(--st-revision); }
.step--approved .step__dot::after { background: var(--st-approved); }
.step--published .step__dot::after { background: var(--st-published); }
.dossier__log { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.log { display: grid; grid-template-columns: 3rem 5.2rem minmax(0, 1fr); gap: .6rem; align-items: center; padding: .6rem .75rem; border-radius: 10px; background: #f7f6fc; font-size: var(--text-sm); }
.log time { color: var(--muted); font-size: var(--text-xs); }
.log__to { font-size: .7rem; font-weight: 700; padding: .18rem .45rem; border-radius: 5px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log--label .log__to { background: var(--violet-wash); color: var(--violet-deep); }
.log--artist .log__to { background: #fff1d6; color: #8a5a00; }
.log__subject { display: flex; align-items: center; gap: .45rem; min-width: 0; }
.log__subject .icon { width: 16px; height: 16px; color: var(--muted); }
@media (max-width: 520px) {
  .log { grid-template-columns: 1fr auto; }
  .log time { display: none; }
  .log__subject { grid-column: 1 / -1; grid-row: 2; }
  .dossier::before { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .step__dot::after { animation: fill .5s var(--ease) forwards; animation-delay: var(--d); }
  .step { animation: lit .3s forwards; animation-delay: var(--d); }
  .log { opacity: 0; transform: translateY(6px); animation: arrive .45s var(--ease) forwards; animation-delay: var(--d); }
}
@media (prefers-reduced-motion: reduce) {
  .step__dot::after { transform: none; }
  .step { color: var(--ink); }
}
@keyframes fill { to { transform: none; } }
@keyframes lit { to { color: var(--ink); } }
@keyframes arrive { to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); scroll-margin-top: 68px; }
.section--ink { background: var(--ink); color: #d9d5f0; }
.section--tint { background: #ebe8f7; }
.section__title { font-size: clamp(1.9rem, 1.2rem + 2.3vw, 3rem); line-height: 1.05; letter-spacing: -0.025em; max-width: 20ch; text-wrap: balance; }
.section--ink .section__title { color: #fff; }
.section__lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 60ch; margin: 1rem 0 2rem; }

.flow { list-style: none; margin: 2.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.flow__step { padding: 1.4rem 1.4rem 0 0; position: relative; }
.flow__step + .flow__step { padding-left: 1.4rem; border-left: 1px solid var(--line-strong); }
.flow__n { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--violet); display: block; margin-bottom: .9rem; }
.flow__step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.flow__step p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__step:nth-child(3) { padding-left: 0; border-left: 0; }
  .flow__step:nth-child(n+3) { border-top: 1px solid var(--line-strong); margin-top: 1.4rem; }
}
@media (max-width: 540px) {
  .flow { grid-template-columns: 1fr; }
  .flow__step, .flow__step + .flow__step { padding: 1.3rem 0 0; border-left: 0; }
  .flow__step + .flow__step { border-top: 1px solid var(--line-strong); margin-top: 1.3rem; }
}

.mails { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.mails__intro { position: sticky; top: 100px; }
.mails__count { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 3rem + 7vw, 9rem); line-height: .85; color: var(--lume); margin: 0 0 1.2rem; letter-spacing: -0.04em; }
.mails__intro p:last-child { color: #b9b3da; font-size: 1.05rem; max-width: 44ch; margin-top: 1.1rem; }
.mails__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mails__cols h3 { font-size: 1rem; color: #fff; margin-bottom: .8rem; padding-bottom: .7rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.inbox { list-style: none; margin: 0; padding: 0; }
.inbox li { display: flex; gap: .6rem; align-items: flex-start; padding: .62rem 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: var(--text-sm); color: #e3dff5; }
.inbox .icon { width: 17px; height: 17px; color: var(--lume); margin-top: 2px; }
@media (max-width: 900px) { .mails { grid-template-columns: 1fr; } .mails__intro { position: static; } }
@media (max-width: 560px) { .mails__cols { grid-template-columns: 1fr; } }

.features { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2.2rem; }
.feature { padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--line-strong); }
.feature h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.6; }
.feature--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; padding-block: 1.8rem 2.2rem; border-top: 2px solid var(--ink); }
.feature--lead h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.feature--lead p { font-size: 1.1rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .feature--lead { grid-template-columns: 1fr; gap: .5rem; } }

.plans__note { color: var(--ink-soft); font-size: var(--text-sm); margin: 1.1rem 0 0; max-width: 70ch; }
.section--tint .plan-scale { box-shadow: var(--shadow-float); }

.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item:first-child { border-top: 1px solid var(--line-strong); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: .2rem; top: .9rem; font-size: 1.4rem; color: var(--violet); transition: transform var(--dur) var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0 0 1.2rem; color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
/* reCAPTCHA and the send button share one row, button aligned to the checkbox's centre */
.contact__submit { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.2rem; }
.contact__submit .captcha { min-height: 0; }
.contact__submit .btn { margin-left: auto; }

.site-foot { background: var(--ink); color: #9d97c2; padding-block: 2.2rem; }
.site-foot__row { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-foot a { color: #cfcaea; text-decoration: none; font-size: var(--text-sm); }
.site-foot a:hover { color: #fff; }
.site-foot__legal { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); font-size: var(--text-xs); color: #8781b0; }

/* legal + error */
.prose { max-width: 72ch; }
.prose h1 { font-size: var(--text-2xl); margin-bottom: 1rem; }
.prose h2 { font-size: 1.2rem; margin: 2rem 0 .6rem; }
.prose p, .prose li { color: var(--ink-soft); }
.error-page { min-height: 100vh; display: grid; place-content: center; justify-items: start; gap: .6rem; padding: 2rem; max-width: 640px; margin: 0 auto; }
.error-page__code { font-family: var(--font-display); font-size: 5rem; font-weight: 700; color: var(--violet); margin: 1.5rem 0 0; line-height: 1; }
.error-page h1 { font-size: var(--text-2xl); margin-bottom: 1rem; }
