/* Feuille commune des pages légales de DewDrop (confidentialité, CGU, mentions,
   suppression de compte). Fichier externe : suppression-compte.html interdit
   les styles et scripts inline par sa CSP. */
:root {
  --bg-top: #12162a;
  --bg-bottom: #06070e;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --faint: rgba(255, 255, 255, 0.6);
  --accent: #8fb7ff;
  --danger: #ff9b9b;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-bottom) linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed;
  line-height: 1.6;
}
.wrap { max-width: 800px; margin: 0 auto; padding: 56px 22px 80px; }
.logo { font-size: 30px; font-weight: 300; letter-spacing: 2px; margin: 0; }
.logo a { color: inherit; text-decoration: none; }
.updated { color: var(--faint); font-size: 14px; margin: 6px 0 0; }
h1.title { font-size: 26px; font-weight: 500; margin: 28px 0 8px; }
h2 { font-size: 21px; font-weight: 500; margin: 40px 0 12px; }
h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
p, li { color: var(--muted); }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 20px; }
li { margin: 6px 0; }
a { color: var(--accent); }
a:hover { text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 6px 22px 18px;
  margin-top: 24px;
}
.table-scroll { overflow-x: auto; margin: 0 0 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
caption { text-align: left; color: var(--faint); font-size: 13px; padding-bottom: 6px; }
th, td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
th { color: var(--text); font-weight: 600; }
nav.legal-nav { margin-top: 48px; text-align: center; font-size: 14px; }
nav.legal-nav a { display: inline-block; margin: 4px 8px; }
footer { margin-top: 12px; color: var(--faint); font-size: 13px; text-align: center; }

/* Formulaire de suppression de compte */
label { display: block; font-weight: 600; margin: 16px 0 6px; }
input[type="email"], input[type="password"], input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
}
button {
  font: inherit;
  font-weight: 600;
  margin-top: 20px;
  padding: 12px 20px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  color: #06070e;
  background: var(--accent);
}
button.danger { background: var(--danger); }
button.secondary { color: var(--text); background: rgba(255, 255, 255, 0.1); margin-left: 8px; }
button:disabled { opacity: 0.6; cursor: wait; }
/* Bouton Google, thème clair des consignes de marque de Google. */
button.google {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  color: #1f1f1f;
  background: #ffffff;
  border: 1px solid #747775;
}
p.ou { margin: 18px 0 0; color: var(--faint); }
.status { margin-top: 16px; min-height: 1.6em; color: var(--text); }
.status.error { color: var(--danger); }
[hidden] { display: none !important; }

@media (max-width: 520px) {
  .wrap { padding: 40px 16px 64px; }
  h2 { font-size: 19px; }
  button.secondary { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Page d'accueil */
.hero { display: flex; align-items: center; gap: 20px; margin: 8px 0 12px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; flex: none; }
.hero h1 { font-size: 40px; font-weight: 300; letter-spacing: 3px; margin: 0; }
.pitch { font-size: 20px; color: var(--text); margin: 18px 0 8px; }
.atouts { list-style: none; padding: 0; margin: 20px 0 0; }
.atouts li { margin: 14px 0; padding-left: 30px; position: relative; }
.atouts li::before { content: "💧"; position: absolute; left: 0; top: 0; }
.bouton-lien {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  color: #06070e;
  background: var(--accent);
}
@media (max-width: 520px) {
  .hero img { width: 72px; height: 72px; border-radius: 16px; }
  .hero h1 { font-size: 32px; }
  .pitch { font-size: 18px; }
}
