:root {
  --ink: #152033;
  --muted: #667085;
  --line: #e6e9ef;
  --bg: #f6f7f9;
  --card: #fff;
  --brand: #0f2742;
  --brand2: #163b63;
  --accent: #b88a44;
  --ok: #eef8f1;
  --shadow: 0 14px 35px rgba(15, 39, 66, .08);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
}

.attente-success {
    max-width: 90%;
    margin: 30px auto;
    padding: 28px;
    background-color: #e8f8ec;
    border: 3px solid #4caf50;
    border-radius: 18px;
    color: #1b5e20;
    font-size: 2.3rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
}


.page {
  min-height: 100vh;
}

.hero {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  padding: 28px 10px 30px;
}

.hero-inner,
.content {
  max-width: 760px;
  margin: 0 auto;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.hero-logo {
  width: 140px;
  height: auto;
  flex-shrink: 0;
  margin-left: -100px;
}

.hero-text {
  flex: 1;
}

.eyebrow {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .72);
  font-weight: 700;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 1.75rem;
  line-height: 1.12;
  margin: 0 0 10px;
  font-weight: 800;
}

.hero p {
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 1rem;
}

.content {
  padding: 18px;
}

.notice {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.notice strong {
  display: block;
  margin-bottom: 3px;
}

.section-title {
  font-size: 1.08rem;
  margin: 20px 2px 12px;
}

.slots {
  display: grid;
  gap: 14px;
}

.day-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.day-card.available {
  border-color: #d8eadf;
}

.day-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 11px;
  border-bottom: 1px solid var(--line);
}

.date-title {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0;
}

.date-sub {
  font-size: .9rem;
  color: var(--muted);
  margin-top: 2px;
}

.price {
  white-space: nowrap;
  background: #f3f5f8;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 800;
  font-size: .94rem;
}

.slot-body {
  padding: 14px 16px 16px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.slot-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.04rem;
  box-shadow: 0 8px 18px rgba(15, 39, 66, .18);
}

.slot-btn:active {
  transform: translateY(1px);
}

.unavailable {
  color: var(--muted);
  background: #f7f8fa;
  border: 1px dashed #d5dae3;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  font-weight: 700;
}

.count {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.contact {
  margin: 18px 0 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.contact p {
  margin: 0 0 10px;
}

.contact p:last-child {
  margin-bottom: 0;
}

.phone-link {
  display: block;
  text-align: center;
  background: #fff7ea;
  border: 1px solid #ead6b7;
  color: #5c3a08;
  border-radius: 14px;
  padding: 13px;
  text-decoration: none;
  font-weight: 800;
}

.address {
  font-weight: 700;
}

.empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  color: var(--muted);
}

@media (min-width: 640px) {
  .hero {
    padding: 42px 24px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .content {
    padding: 24px;
  }

  .slot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .slot-btn {
    min-height: 46px;
  }

  .day-head,
  .slot-body {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    align-items: flex-start;
    gap: 14px;
  }

  .hero-logo {
    width: 58px;
    margin-left: -10px;
  }
}

@media (max-width: 360px) {
  .slot-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .day-head {
    flex-direction: column;
  }

  .price {
    align-self: flex-start;
  }
}


/* Blocs communs formulaires / paiement */
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 14px;
}

.summary-grid {
  display: grid;
  gap: 12px;
}

.summary-item {
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.value {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
}

.price-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  background: #fff7ea;
  border-color: #ead6b7;
}

.price-main {
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: 900;
  margin-top: 4px;
}

.price-sub {
  color: var(--muted);
  font-size: .92rem;
  margin-top: 5px;
}

.rules {
  margin: 0;
  padding-left: 22px;
  color: var(--ink);
}

.rules li {
  margin: 8px 0;
}

.form-grid {
  display: grid;
  gap: 13px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label,
.form-label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
.style_input {
  width: 100% !important;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 1rem !important;
  font-family: inherit;
}

input[readonly] {
  background: #f3f5f8;
  color: var(--muted);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7f8fa;
  margin-top: 14px;
}

.check-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.submit,
.indent-2,
input[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  padding: 13px 16px;
  font-size: 1.04rem;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15,39,66,.18);
}

.submit:active,
.indent-2:active,
input[type="submit"]:active {
  transform: translateY(1px);
}

.expired {
  color: #7f1d1d;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 16px;
  padding: 14px;
  font-weight: 800;
}

.footer-note {
  color: var(--muted);
  font-size: .86rem;
  text-align: center;
  padding: 6px 12px 0;
}

.payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.payment-logos img {
  max-width: 210px;
  width: 45%;
  height: auto;
}

@media (min-width: 640px) {
  .wrap {
    padding: 24px;
  }

  .card {
    padding: 20px;
  }

  .summary-grid,
  .form-grid.two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

