/* Anonymous — Politique & Support (App Store) */
:root {
  --anon-primary: #2563eb;
  --anon-primary-dark: #1d4ed8;
  --anon-accent: #7c3aed;
  --anon-bg: #f0f4f8;
  --anon-card: #ffffff;
  --anon-text: #1e293b;
  --anon-muted: #64748b;
  --anon-border: #e2e8f0;
  --anon-success: #059669;
  --anon-radius: 14px;
  --anon-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --anon-max: 920px;
}

* {
  box-sizing: border-box;
}

body.anon-legal {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--anon-bg);
  color: var(--anon-text);
  line-height: 1.65;
  font-size: 16px;
}

.anon-hero {
  background: linear-gradient(135deg, var(--anon-primary) 0%, var(--anon-accent) 100%);
  color: #fff;
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
}

.anon-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.anon-hero .anon-tagline {
  opacity: 0.92;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.anon-hero .anon-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.anon-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.anon-nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s;
}

.anon-nav a:hover {
  background: rgba(255, 255, 255, 0.25);
}

.anon-wrap {
  max-width: var(--anon-max);
  margin: -2rem auto 3rem;
  padding: 0 1.25rem;
}

.anon-section {
  background: var(--anon-card);
  border-radius: var(--anon-radius);
  box-shadow: var(--anon-shadow);
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--anon-border);
}

.anon-section h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--anon-primary-dark);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--anon-border);
}

.anon-section h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
  color: var(--anon-text);
}

.anon-section p,
.anon-section li {
  color: var(--anon-text);
}

.anon-section .anon-muted {
  color: var(--anon-muted);
  font-size: 0.9rem;
}

.anon-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.anon-contact-card {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px solid var(--anon-border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.anon-contact-card:hover {
  border-color: var(--anon-primary);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.12);
}

.anon-contact-card .anon-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.anon-contact-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.anon-contact-card a {
  color: var(--anon-primary);
  text-decoration: none;
  font-weight: 500;
  word-break: break-all;
}

.anon-contact-card a:hover {
  text-decoration: underline;
}

.anon-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--anon-text);
}

.anon-form input,
.anon-form select,
.anon-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--anon-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 1rem;
  background: #fff;
}

.anon-form input:focus,
.anon-form select:focus,
.anon-form textarea:focus {
  outline: none;
  border-color: var(--anon-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.anon-form textarea {
  min-height: 120px;
  resize: vertical;
}

.anon-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--anon-primary), var(--anon-accent));
  color: #fff !important;
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.anon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.anon-btn-secondary {
  background: #fff;
  color: var(--anon-primary) !important;
  border: 2px solid var(--anon-primary);
}

.anon-faq details {
  border: 1px solid var(--anon-border);
  border-radius: 10px;
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.anon-faq summary {
  padding: 1rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  background: #f8fafc;
}

.anon-faq summary::-webkit-details-marker {
  display: none;
}

.anon-faq summary::after {
  content: '+';
  float: right;
  font-weight: 700;
  color: var(--anon-primary);
}

.anon-faq details[open] summary::after {
  content: '−';
}

.anon-faq details p {
  padding: 0 1.1rem 1rem;
  margin: 0;
  font-size: 0.95rem;
}

.anon-alert {
  background: #eff6ff;
  border-left: 4px solid var(--anon-primary);
  padding: 1rem 1.1rem;
  border-radius: 0 8px 8px 0;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.anon-alert-warning {
  background: #fffbeb;
  border-left-color: #f59e0b;
}

.anon-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.anon-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.anon-table th,
.anon-table td {
  border: 1px solid var(--anon-border);
  padding: 0.65rem 0.75rem;
  text-align: left;
}

.anon-table th {
  background: #f1f5f9;
  font-weight: 600;
}

.anon-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--anon-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--anon-border);
  margin-top: 2rem;
}

.anon-footer a {
  color: var(--anon-primary);
}

@media (max-width: 600px) {
  .anon-section {
    padding: 1.25rem 1rem;
  }

  .anon-hero {
    padding: 2rem 1rem 2.5rem;
  }
}
