/* RoamDay — styles communs aux pages légales / support
   Charte : cream + ink + lilac, Fraunces (titres) + Inter (texte).
   Inclus dans : privacy.html / privacy-en.html / terms.html / terms-en.html /
                 help.html / help-en.html / contact.html / contact-en.html
*/

:root {
  --cream: #F1ECE0;
  --cream-2: #E8E2D2;
  --ink: #15161A;
  --ink-2: #3E4046;
  --muted: #6E707A;
  --line: #DDD7C7;
  --lilac: #C5A3F5;
  --lilac-deep: #6B4FFF;
  --lilac-soft: #E6D9FE;
  --success: #3FAA73;
  --danger: #E36458;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
}

/* Top bar */
.top-bar {
  background: var(--ink);
  color: var(--cream);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.top-bar a { color: var(--cream); text-decoration: none; }
.top-bar .logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.8px;
}
.top-bar .logo .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lilac);
}
.top-bar .links {
  margin-left: auto;
  display: flex;
  gap: 22px;
  font-size: 13px;
  font-weight: 600;
  align-items: center;
}
.top-bar .links a {
  opacity: 0.75;
  transition: opacity 0.2s;
}
.top-bar .links a:hover { opacity: 1; }
.top-bar .links a.active { opacity: 1; color: var(--lilac); }
.top-bar .lang-switch {
  display: inline-flex;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.top-bar .lang-switch a {
  padding: 4px 10px;
  border-radius: 999px;
  opacity: 0.6;
}
.top-bar .lang-switch a.active {
  background: var(--lilac);
  color: var(--ink);
  opacity: 1;
}

/* Hero */
.hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 28px 28px 28px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lilac-deep);
  margin-bottom: 18px;
}
h1 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 52px;
  letter-spacing: -2px;
  line-height: 1.05;
  margin: 0 0 18px 0;
}
h1 em {
  font-style: italic;
  color: var(--lilac-deep);
}
.lede {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 640px;
}
.meta {
  margin-top: 26px;
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-2);
  flex-wrap: wrap;
}
.meta b { color: var(--ink); font-weight: 700; }
.meta .pill {
  background: var(--lilac-soft);
  color: var(--lilac-deep);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Body content */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 28px 80px 28px;
}
h2 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin: 50px 0 14px 0;
}
h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin: 26px 0 10px 0;
}
p { margin: 12px 0; color: var(--ink-2); }
ul, ol { margin: 12px 0 12px 20px; padding: 0; color: var(--ink-2); }
li { margin: 6px 0; }
a { color: var(--lilac-deep); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration: none; }

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
th {
  background: var(--cream-2);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}
tr:last-child td { border-bottom: none; }

.callout {
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--lilac-deep);
  padding: 18px 22px;
  border-radius: 14px;
  margin: 22px 0;
}
.callout strong { display: block; margin-bottom: 4px; color: var(--ink); }

.faq-block {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  margin: 16px 0;
  overflow: hidden;
}
.faq-block details {
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.faq-block details:last-child { border-bottom: none; }
.faq-block summary {
  padding: 18px 22px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}
.faq-block summary::after {
  content: "+";
  font-size: 22px;
  color: var(--lilac-deep);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-block details[open] summary::after { transform: rotate(45deg); }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block .answer {
  padding: 0 22px 18px 22px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.faq-block .answer p:first-child { margin-top: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 28px 0;
}
.contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.contact-card .icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--lilac-soft);
  color: var(--lilac-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}
.contact-card h3 { margin: 0 0 6px 0; }
.contact-card p { margin: 4px 0; font-size: 14px; }
.contact-card a { font-weight: 600; }

footer {
  text-align: center;
  padding: 30px 28px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
footer a { color: var(--muted); margin: 0 8px; }

@media (max-width: 640px) {
  h1 { font-size: 38px; letter-spacing: -1.2px; }
  h2 { font-size: 24px; }
  .top-bar { padding: 12px 16px; }
  .top-bar .links { gap: 14px; font-size: 12px; }
  .top-bar .logo { font-size: 18px; }
  .hero { padding: 42px 18px 22px 18px; }
  main { padding: 20px 18px 60px 18px; }
}
