/* Style global pour l’espace réclamations Klevis – Thème clair */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --card-bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header / navigation */

header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 0.9rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.08s, color 0.15s;
}

.nav-link:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(148, 163, 184, 0.5);
  transform: translateY(-1px);
}

.nav-link.active {
  background: var(--primary);
  color: #ffffff;
}

/* Layout */

main {
  flex: 1;
}

.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* Hero accueil */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f9fafb;
}

.hero-title {
  font-size: clamp(2rem, 3.1vw, 2.6rem);
  font-weight: 700;
  margin: 0.8rem 0 0.5rem;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 32rem;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Buttons */

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s, transform 0.08s, box-shadow 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.7);
  background: #ffffff;
  color: #111827;
}

.btn-outline:hover {
  background: #f3f4f6;
}

/* Info card */

.hero-right {
  display: flex;
  justify-content: center;
}

.info-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.info-card h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.step-index {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #1d4ed8;
}

.steps-list p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Sections */

.section {
  margin-top: 2.5rem;
}

.section h1 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.section p {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-intro {
  max-width: 40rem;
}

/* Contact etc */

.contact-mail a {
  font-weight: 500;
}

.contact-note {
  font-size: 0.9rem;
}

/* Tally iframe */

.tally-wrapper {
  width: 100%;
  min-height: 70vh;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
}

.tally-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Suivi */

.suivi-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 26rem;
  margin-bottom: 1.3rem;
}

.suivi-form label {
  font-size: 0.9rem;
  font-weight: 500;
}

.suivi-form input[type="text"] {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--text);
  outline: none;
}

.suivi-form input[type="text"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
}

.form-help {
  font-size: 0.85rem;
  color: var(--muted);
}

.suivi-resultat {
  max-width: 40rem;
}

/* Alert messages */

.alert {
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  background: #f9fafb;
}

.alert-info {
  border-color: #bfdbfe;
}

.alert-error {
  border-color: #fecaca;
}

/* Dossier card */

.dossier-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.dossier-header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.dossier-header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.dossier-status {
  margin-top: 0.7rem;
  font-size: 0.95rem;
}

.dossier-status span {
  color: var(--muted);
  margin-right: 0.3rem;
}

.dossier-status strong {
  color: #b45309;
}

.dossier-details {
  margin-top: 0.9rem;
  font-size: 0.9rem;
}

.dossier-details p {
  margin: 0.25rem 0;
}

.dossier-details span {
  color: var(--muted);
}

/* Footer */

footer {
  border-top: 1px solid var(--border);
  background: #f9fafb;
  padding: 1.3rem 1.5rem 1.4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.footer-brand {
  font-weight: 600;
  color: #111827;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-style: dotted;
}

.footer-copy {
  font-size: 0.8rem;
}

/* Responsive */

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .page-wrapper {
    padding: 1.5rem 1rem 2.5rem;
  }

  footer {
    padding: 1.2rem 1rem 1.3rem;
  }
}


/* Timeline d’avancement des réclamations */

.timeline {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.timeline-step {
  flex: 1;
  position: relative;
  text-align: center;
}

.timeline-step-circle {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #d1d5db;
  background: #ffffff;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.timeline-step.completed .timeline-step-circle {
  border-color: var(--primary);
  background: var(--primary);
}

.timeline-step-line {
  position: absolute;
  top: 8px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: #e5e7eb;
  z-index: 1;
}

.timeline-step.completed .timeline-step-line {
  background: rgba(37, 99, 235, 0.7);
}

.timeline-step-label {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.timeline-step.completed .timeline-step-label {
  color: #111827;
  font-weight: 500;
}
