/* SoundDrop (arkodinstudio.com/sounddrop/…) — accueil de l'app et pages légales.
   Style « Pocket aurore » de l'app (clair) / « Pocket nuit » (sombre). L'accueil du studio a son propre style (index.html). */
:root {
  --bg-1: #fdf1f6;
  --bg-2: #eef0ff;
  --bg-3: #e6faf6;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-border: rgba(255, 255, 255, 0.95);
  --text: #26223a;
  --dim: #6e6883;
  --faint: #b1abc3;
  --line: rgba(38, 34, 58, 0.08);
  --accent: #f36b9c;
  --accent-dark: #d94d80;
  --accent-soft: rgba(243, 107, 156, 0.12);
  --shadow: 0 6px 24px rgba(120, 100, 159, 0.14);
  --radius: 22px;
  --display: 'M PLUS Rounded 1c', 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-1: #0e1521;
    --bg-2: #111a28;
    --bg-3: #0e1521;
    --panel: #172232;
    --panel-border: rgba(255, 255, 255, 0.08);
    --text: #eef3f8;
    --dim: #a3aec0;
    --faint: #566378;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #4be0e6;
    --accent-dark: #6ee7ec;
    --accent-soft: rgba(75, 224, 230, 0.12);
    --shadow: none;
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 45%, var(--bg-3) 100%) fixed;
  background-color: var(--bg-2);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 2px;
}
a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- En-tête ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg-2) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.brand:hover {
  color: var(--text);
}
.top nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.top nav a {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--dim);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
}
.top nav a:hover,
.top nav a[aria-current='page'] {
  color: var(--accent-dark);
  background: var(--accent-soft);
}
@media (max-width: 560px) {
  .top nav .opt {
    display: none;
  }
}

/* ---------- Panneaux ---------- */
main {
  padding: 28px 0 40px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
@media (max-width: 560px) {
  .panel {
    padding: 22px 18px;
    border-radius: 18px;
  }
}

/* ---------- Pages légales ---------- */
.doc h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.15;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.updated {
  margin: 0 0 20px;
  color: var(--dim);
  font-size: 14px;
}
.kicker {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.doc h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
  margin: 34px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}
.doc h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 16.5px;
  margin: 22px 0 6px;
  color: var(--accent-dark);
  scroll-margin-top: 80px;
}
.doc p,
.doc li {
  color: var(--text);
  font-weight: 600;
}
.doc p {
  margin: 0 0 12px;
}
.doc ul,
.doc ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
.doc li {
  margin-bottom: 6px;
}
.doc strong {
  font-weight: 800;
}
.intro {
  font-size: 16.5px;
}

.box {
  background: var(--accent-soft);
  border-radius: 16px;
  padding: 14px 18px;
  margin: 0 0 16px;
  line-height: 1.7;
}
.box p:last-child {
  margin-bottom: 0;
}

.toc {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  margin: 0 0 8px;
}
.toc summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  color: var(--dim);
}
.toc ol {
  margin: 10px 0 2px;
  padding-left: 20px;
  columns: 2;
  column-gap: 28px;
}
.toc li {
  margin-bottom: 3px;
  font-size: 14.5px;
  break-inside: avoid;
}
.toc a {
  text-decoration: none;
}
@media (max-width: 560px) {
  .toc ol {
    columns: 1;
  }
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
}
th {
  font-family: var(--display);
  font-weight: 800;
  color: var(--dim);
  font-size: 13px;
}

/* ---------- Accueil ---------- */
.hero {
  text-align: center;
  padding: 36px 24px 30px;
}
.hero .drop {
  width: 150px;
  filter: drop-shadow(0 10px 18px rgba(120, 100, 159, 0.25));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .drop {
    animation: none;
  }
}
.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 11vw, 60px);
  line-height: 1;
  margin: 14px 0 10px;
  letter-spacing: -0.02em;
}
.hero .pitch {
  font-size: 18px;
  color: var(--dim);
  max-width: 440px;
  margin: 0 auto 22px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #ff8fb5, #f36b9c 55%, #e25b8c);
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(243, 107, 156, 0.35);
}
@media (prefers-color-scheme: dark) {
  .pill {
    color: #0e1521;
    background: linear-gradient(135deg, #8ff0f3, #4be0e6);
    box-shadow: none;
  }
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.feature {
  padding: 18px 16px;
  text-align: center;
}
.feature b {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 4px;
}
.feature span {
  font-size: 14px;
  color: var(--dim);
}
@media (max-width: 620px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.links a {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  color: var(--text);
}
.links a:hover {
  color: var(--accent-dark);
}
@media (max-width: 480px) {
  .links {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ (support) ---------- */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 800;
  font-size: 16.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--accent-dark);
  font-size: 20px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details > div {
  padding-top: 8px;
}
.mail {
  display: inline-block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 18px;
  word-break: break-all;
}

/* ---------- Pied ---------- */
footer {
  padding: 8px 0 40px;
  color: var(--dim);
  font-size: 13.5px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 8px;
}
footer a {
  color: var(--dim);
  font-weight: 800;
  text-decoration: none;
}
footer a:hover {
  color: var(--accent-dark);
}
footer p {
  margin: 0;
}
