:root {
  --blue: #168ed8;
  --deep-blue: #123d78;
  --navy: #082b58;
  --pink: #ed2b90;
  --yellow: #ffc928;
  --green: #7ec62a;
  --orange: #ff8418;
  --sky: #e8f7ff;
  --cream: #fffaf0;
  --ink: #14213d;
  --muted: #5d6b82;
  --line: #dbe6f2;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(13, 47, 91, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 201, 40, 0.16), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(237, 43, 144, 0.10), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 45%, #ffffff 100%);
  font-family: "Trebuchet MS", Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 230, 242, 0.9);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 900;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--blue);
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--deep-blue);
  text-decoration: none;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: var(--yellow);
  color: var(--navy);
  outline: none;
}

.hero {
  width: min(var(--max), calc(100% - 32px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 54px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: center;
  gap: 56px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: 5rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-text,
.page-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.16rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions,
.center-action {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button,
.ghost-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(237, 43, 144, 0.24);
}

.button.secondary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 14px 28px rgba(255, 201, 40, 0.28);
}

.ghost-button {
  min-height: 38px;
  padding: 8px 14px;
  background: #edf8ff;
  color: var(--deep-blue);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: min(100%, 450px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(22, 142, 216, 0.16), rgba(126, 198, 42, 0.22));
  animation: pulse 5s ease-in-out infinite;
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: min(84vw, 390px);
  border-radius: 50%;
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
  animation: float 4.5s ease-in-out infinite;
}

.bubble {
  position: absolute;
  z-index: 1;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  opacity: 0.95;
}

.bubble-blue {
  left: 8%;
  top: 18%;
  background: var(--blue);
}

.bubble-pink {
  right: 6%;
  top: 28%;
  background: var(--pink);
  animation: floatSmall 5s ease-in-out infinite;
}

.bubble-yellow {
  left: 24%;
  bottom: 14%;
  background: var(--yellow);
  animation: floatSmall 4s ease-in-out infinite reverse;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-strip div {
  padding: 26px clamp(18px, 4vw, 44px);
  background: var(--white);
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.quick-strip span {
  color: var(--muted);
}

.section-block,
.feature-band,
.catalogue-layout,
.contact-layout {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-heading h2,
.feature-copy h2,
.contact-info h2,
.contact-form h2,
.filter-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2.8rem;
  line-height: 1.05;
}

.steps-grid,
.teaser-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.product-card,
.filter-panel,
.contact-form,
.note-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.step-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.step-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 201, 40, 0.32);
}

.step-number {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

.step-card h3,
.product-card h3 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.15;
}

.step-card p,
.product-card p,
.feature-copy p,
.promise-list p,
.contact-info p,
.note-box p,
.site-footer p {
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 44px;
  align-items: center;
}

.feature-copy p {
  font-size: 1.08rem;
}

.text-link {
  color: var(--deep-blue);
  font-weight: 900;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 4px;
  text-underline-offset: 5px;
}

.promise-list {
  display: grid;
  gap: 16px;
}

.promise-list div {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.promise-list div:last-child {
  border-bottom: 0;
}

.promise-list strong,
.promise-list p {
  grid-column: 2;
  margin: 0;
}

.dot {
  grid-row: span 2;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 50%;
}

.dot.blue {
  background: var(--blue);
}

.dot.green {
  background: var(--green);
}

.dot.pink {
  background: var(--pink);
}

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 265px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.product-link {
  color: inherit;
  text-decoration: none;
}

.product-link:hover,
.product-link:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.product-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--blue), var(--yellow), var(--pink), var(--green));
  z-index: -1;
}

.product-card.teaser {
  min-height: 230px;
}

.badge {
  align-self: flex-start;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.badge.available {
  background: #eaffd8;
  color: #2f6d07;
}

.badge.unavailable {
  background: #fff0f7;
  color: #a3145c;
}

.product-meta,
.card-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.product-meta span,
.card-stats span {
  border-radius: 999px;
  background: #eef8ff;
  color: var(--deep-blue);
  padding: 7px 10px;
  font-size: 0.86rem;
  font-weight: 900;
}

.page-hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 36px;
}

.catalogue-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 26px;
}

.filter-panel {
  position: sticky;
  top: 98px;
  padding: 20px;
}

.filter-heading,
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.filter-heading h2 {
  font-size: 1.45rem;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--navy);
  font-weight: 900;
}

.field input,
.field select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 12px 13px;
}

.field input:focus,
.field select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 142, 216, 0.12);
  outline: none;
}

.results-bar {
  min-height: 52px;
}

.results-bar p,
.results-bar span {
  margin: 0;
}

.results-bar span {
  color: var(--muted);
  font-size: 0.93rem;
}

.empty-state {
  border: 1px dashed var(--blue);
  border-radius: var(--radius);
  padding: 18px;
  background: #f0fbff;
  color: var(--deep-blue);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  padding-top: 30px;
}

.product-detail-hero,
.media-showcase,
.detail-layout,
.admin-layout {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.product-detail-hero {
  padding: 62px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: end;
}

.product-detail-hero h1 {
  margin: 12px 0 16px;
  color: var(--navy);
  font-size: 4.5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.product-detail-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}

.detail-summary,
.booking-panel,
.spec-panel,
.calendar-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.detail-summary strong {
  color: var(--pink);
  font-size: 2rem;
  line-height: 1;
}

.detail-summary span:not(.badge) {
  color: var(--muted);
  font-weight: 900;
}

.media-showcase {
  padding: 18px 0 54px;
}

.video-placeholder {
  min-height: 360px;
  padding: 34px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(8, 43, 88, 0.78), rgba(22, 142, 216, 0.38)),
    url("assets/logo-hopla-jeux.jpg") center / cover;
  color: var(--white);
  box-shadow: var(--shadow);
}

.video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(8, 43, 88, 0.82));
}

.video-placeholder > * {
  position: relative;
  z-index: 1;
}

.video-placeholder h2 {
  margin: 8px 0;
  font-size: 2.5rem;
  line-height: 1;
}

.video-placeholder p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.play-symbol {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.play-symbol::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid var(--navy);
  margin-left: 5px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.gallery-card {
  min-height: 180px;
  padding: 18px;
  display: grid;
  align-content: end;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  color: var(--white);
  box-shadow: var(--shadow);
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.gallery-card span,
.gallery-card strong,
.gallery-card small {
  position: relative;
  z-index: 1;
}

.gallery-card span,
.gallery-card small {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.gallery-card strong {
  font-size: 1.25rem;
  line-height: 1.1;
}

.tone-1 {
  background: linear-gradient(135deg, var(--blue), var(--deep-blue));
}

.tone-2 {
  background: linear-gradient(135deg, var(--pink), #8f2a82);
}

.tone-3 {
  background: linear-gradient(135deg, var(--green), #2f8c6b);
}

.tone-4 {
  background: linear-gradient(135deg, var(--orange), #c95016);
}

.detail-layout {
  padding: 22px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 24px;
  align-items: start;
}

.spec-panel,
.booking-panel,
.calendar-panel {
  padding: 24px;
}

.spec-panel h2,
.booking-panel h2,
.calendar-panel h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 2.1rem;
  line-height: 1.05;
}

.spec-panel h3 {
  margin: 26px 0 12px;
  color: var(--navy);
}

.spec-list {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
  font-weight: 900;
}

.spec-list dd {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 800;
}

.booking-panel {
  position: sticky;
  top: 98px;
}

.booking-panel p {
  color: var(--muted);
}

.booking-panel label span,
.admin-form label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.booking-panel input,
.booking-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
}

.booking-panel input:focus,
.booking-panel textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 142, 216, 0.12);
  outline: none;
}

.availability-note {
  border-radius: var(--radius);
  background: #eaffd8;
  color: #2f6d07;
  padding: 12px 14px;
  font-weight: 900;
}

.availability-note.is-unavailable,
.form-message.is-error {
  background: #fff0f7;
  color: #a3145c;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.form-grid.single {
  grid-template-columns: 1fr;
}

.admin-layout {
  padding: 30px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.admin-reservations {
  padding-top: 38px;
}

.calendar-toolbar,
.calendar-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.calendar-toolbar {
  margin-bottom: 14px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekday {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.calendar-cell {
  min-height: 78px;
  display: grid;
  align-content: start;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fcff;
  padding: 8px;
}

.calendar-cell strong {
  color: var(--navy);
}

.calendar-cell span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.15;
}

.calendar-cell.is-empty {
  background: transparent;
  border-color: transparent;
}

.calendar-cell.has-reservation {
  background: #fff7dc;
  border-color: rgba(255, 201, 40, 0.8);
}

.calendar-cell.is-full {
  background: #fff0f7;
  border-color: rgba(237, 43, 144, 0.5);
}

.reservation-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.reservation-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr 0.6fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.reservation-row:last-child {
  border-bottom: 0;
}

.reservation-head {
  background: #eef8ff;
  color: var(--navy);
  font-weight: 900;
}

.ghost-button.danger {
  background: #fff0f7;
  color: #a3145c;
}

.contact-info {
  padding: 8px 0;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 26px 0;
}

.info-list div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-list span,
.contact-form label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.info-list a,
.info-list strong {
  color: var(--navy);
  font-size: 1.04rem;
  font-weight: 900;
  text-decoration: none;
}

.note-box {
  padding: 20px;
  background: #fff7dc;
}

.contact-form {
  padding: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 16px;
}

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

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  margin-top: 18px;
}

.form-message {
  margin: 16px 0 0;
  border-radius: var(--radius);
  background: #eaffd8;
  color: #2f6d07;
  padding: 12px 14px;
  font-weight: 900;
}

.site-footer {
  margin-top: 38px;
  padding: 32px max(16px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--navy);
  color: var(--white);
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a {
  color: var(--yellow);
  font-weight: 900;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-14px) rotate(1.5deg);
  }
}

@keyframes floatSmall {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(18px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.96);
  }
  50% {
    transform: scale(1.03);
  }
}

@media (max-width: 920px) {
  .hero h1,
  .page-hero h1 {
    font-size: 4rem;
  }

  .hero,
  .feature-band,
  .catalogue-layout,
  .contact-layout,
  .product-detail-hero,
  .detail-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-hero h1 {
    font-size: 3.75rem;
  }

  .booking-panel {
    position: static;
  }

  .hero {
    min-height: 0;
    padding-top: 38px;
  }

  .hero-art {
    min-height: 340px;
  }

  .filter-panel {
    position: static;
  }

  .steps-grid,
  .teaser-grid,
  .product-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav-shell {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-links a {
    min-height: 38px;
    padding-inline: 11px;
    font-size: 0.92rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  .quick-strip,
  .steps-grid,
  .teaser-grid,
  .product-grid,
  .form-grid,
  .gallery-grid,
  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-hero h1 {
    font-size: 2.9rem;
  }

  .video-placeholder h2 {
    font-size: 2rem;
  }

  .spec-list div,
  .reservation-row {
    grid-template-columns: 1fr;
  }

  .section-block,
  .feature-band,
  .catalogue-layout,
  .contact-layout,
  .admin-layout,
  .detail-layout {
    padding: 52px 0;
  }

  .page-hero {
    padding-top: 42px;
  }

  .filter-heading,
  .results-bar,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
