:root {
  --bg: #f6f7fa;
  --bg-soft: #ffffff;
  --text: #171c22;
  --muted: #4a5461;
  --red: #cb2434;
  --red-dark: #9e1c29;
  --line: rgba(23, 28, 34, 0.13);
  --shadow: 0 18px 40px rgba(34, 30, 35, 0.1);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Work Sans", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.55;
  background:
    linear-gradient(180deg, #f8f9fc, #ffffff 44%, #f1f3f8);
}

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

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(203, 36, 52, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  padding: 0.65rem 0.9rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.demo-banner {
  text-align: center;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.58rem 1rem;
  color: #f8f9fc;
  background: linear-gradient(90deg, #af1e2d, #cb2434);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 250, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Archivo", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.eyebrow,
.card-label,
.panel-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #91424a;
}

h1,
h2,
h3 {
  font-family: "Archivo", "Segoe UI", sans-serif;
  line-height: 1.12;
}

.hero {
  padding: 5.8rem 0 4rem;
}

.hero-grid,
.checklist-grid,
.upload-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

h1 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 15ch;
}

.hero-text {
  margin-top: 1rem;
  max-width: 44rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.82rem 1.3rem;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(130deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 14px 28px rgba(175, 30, 45, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
}

.btn:hover,
.site-nav a:hover,
.brand:hover {
  transform: translateY(-1px);
}

.trust-list {
  margin-top: 1.2rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trust-list li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.hero-card,
.service-card,
.panel,
.step-card,
.contact-card,
.contact-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}

.hero-card,
.panel,
.contact-card,
.contact-note {
  padding: 1.5rem;
}

.hero-card ol {
  margin-top: 0.8rem;
  padding-left: 1.65rem;
  color: var(--muted);
  list-style-position: outside;
}

.hero-card li {
  padding-left: 0.2rem;
}

.section {
  padding: 4.6rem 0;
}

.section-heading {
  text-align: center;
  margin: 0 auto 1.6rem;
  max-width: 54rem;
}

.section-heading h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
}

.service-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.step-card {
  padding: 1.25rem;
}

.service-card h3,
.step-card h3 {
  font-size: 1.28rem;
}

.service-card p,
.panel p,
.panel li,
.step-card p,
.contact-card p,
.contact-note p {
  margin-top: 0.65rem;
  color: var(--muted);
}

.checklist {
  background: linear-gradient(180deg, rgba(203, 36, 52, 0.04), rgba(255, 255, 255, 0));
}

.panel ul {
  margin-top: 0.85rem;
  padding-left: 1rem;
}

.panel-accent {
  background: linear-gradient(160deg, #fff, #fff5f6);
}

.upload-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.upload-list button {
  border: 1px dashed rgba(203, 36, 52, 0.35);
  border-radius: 8px;
  background: #fff;
  padding: 0.8rem 0.9rem;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.upload-list button::after {
  content: "Téléverser";
  float: right;
  color: var(--red);
  font-size: 0.86rem;
}

.step-card span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.contact-card h2 {
  margin-top: 0.6rem;
  font-size: clamp(1.5rem, 3.8vw, 2.3rem);
}

.contact-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
  }

  .hero,
  .section {
    padding-top: 4.5rem;
  }

  .hero-grid,
  .checklist-grid,
  .upload-grid,
  .contact-grid,
  .service-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}
