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

:root {
  --red: #CC0000;
  --black: #0a0a0a;
  --white: #ffffff;
  --bg: #f4f4f2;
  --border: #d8d8d6;
  --muted: #6b6b69;
}

html, body {
  /*height: 100%;*/
}

body {
  font-family: 'Barlow',sans-serif;
  background: var(--bg);
  color: var(--black);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── NAV ── */

nav {
  background: var(--white);
  border-bottom: 2px solid var(--black);
  padding: 0 5vw;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.nav-badge {
  background: var(--bg);
  border: 1.5px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
}

/* ── MAIN ── */

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 5vw;
}

.confirm-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  max-width: 600px;
  width: 100%;
  overflow: hidden;
}

/* Barre rouge top */

.card-top {
  background: var(--black);
  padding: 32px 40px 28px;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--red);
}

.card-top::after {
  content: '✓';
  font-family: 'Barlow Condensed',sans-serif;
  font-weight: 900;
  font-size: 180px;
  color: rgba(255,255,255,0.04);
  position: absolute;
  right: -10px;
  top: -20px;
  line-height: 1;
  pointer-events: none;
}

.check-circle {
  width: 56px;
  height: 56px;
  border: 2.5px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.check-circle svg {
  width: 26px;
  height: 26px;
}

.card-top h1 {
  font-family: 'Barlow Condensed',sans-serif;
  font-weight: 900;
  font-size: clamp(30px,5vw,48px);
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 10px;
}

.card-top h1 em {
  color: var(--red);
  font-style: normal;
}

.card-top p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Corps */

.card-body {
  padding: 36px 40px 40px;
}

.message {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 28px;
}

.message strong {
  color: var(--black);
  font-weight: 600;
}

/* Bloc infos */

.info-bloc {
  border-left: 3px solid var(--red);
  padding: 16px 20px;
  background: var(--bg);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.info-row svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--red);
}

.info-row span {
  color: var(--muted);
}

/* Bouton retour */

.btn-home {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow Condensed',sans-serif;
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-home:hover {
  background: #222;
}

/* ── FOOTER ── */

footer {
  background: var(--black);
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 18px 5vw;
  font-size: 11px;
  flex-shrink: 0;
}

footer a {
  color: rgba(255,255,255,0.5);
}

@media (max-width:540px) {
  .card-top, .card-body {
    padding-left: 24px;
    padding-right: 24px;
  }
}

