/* Couleurs, typographie et regles communes */
:root {
  color-scheme: light;
  --ink: #1e292d;
  --muted: #596568;
  --teal: #087f78;
  --teal-dark: #05625d;
  --coral: #c3434f;
  --indigo: #38415f;
  --gold: #b79a31;
  --sakura: #f5b8be;
  --line: #d8e3df;
  --tint: #eef7f5;
  --paper: #f7fbfa;
  --paper-warm: #fffaf6;
  --blush: #fff0f2;
  --mist: #edf7f5;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(8, 127, 120, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 65, 95, 0.035) 1px, transparent 1px), var(--paper);
  background-size: 42px 42px;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 750;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.15rem;
}
p + p {
  margin-top: 1rem;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
svg {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  stroke-width: 1.8;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
::selection {
  color: white;
  background: var(--teal);
}
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}
.container {
  width: min(100% - 2.5rem, 1120px);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: white;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
}
/* En-tete et navigation mobile */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 250, 246, 0.95);
  border-bottom: 1px solid rgba(8, 127, 120, 0.18);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.brand-symbol {
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--indigo));
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.brand-symbol svg {
  width: 1.65rem;
  height: 1.65rem;
}
.brand-name {
  font-size: 1.12rem;
  line-height: 1.4;
  font-weight: 750;
  min-width: 0;
  overflow-wrap: anywhere;
}
.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 400;
}
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.65rem;
  min-width: 0;
  flex-wrap: wrap;
}
.desktop-nav .nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  padding-block: 1.4rem;
  border-bottom: 2px solid transparent;
}
.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
  color: var(--teal-dark);
  border-color: var(--teal);
}
.menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper-warm);
  display: grid;
  place-items: center;
}
.menu-toggle .lucide-x,
.menu-toggle[aria-expanded='true'] .lucide-menu {
  display: none;
}
.menu-toggle[aria-expanded='true'] .lucide-x {
  display: block;
}
.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 0.75rem 1.25rem 1.25rem;
  max-height: calc(100dvh - 9rem);
  overflow-y: auto;
  background: var(--paper-warm);
}
.mobile-menu .nav-link,
.mobile-contact {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem;
  font-size: 0.95rem;
  border-radius: 4px;
}
.mobile-menu .nav-link.active {
  background: #e9f4f1;
  color: var(--teal-dark);
  font-weight: 650;
}
.mobile-subnav {
  padding: 0.5rem 0.7rem 0.9rem 2.9rem;
  display: grid;
  gap: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.mobile-subnav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
}
.mobile-subnav svg {
  width: 1rem;
  height: 1rem;
}
.mobile-contact {
  margin-top: 0.5rem;
  color: var(--teal-dark);
}
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0.45rem 0.2rem calc(0.4rem + env(safe-area-inset-bottom));
  background: rgba(255, 250, 246, 0.97);
  border-top: 1px solid rgba(8, 127, 120, 0.18);
  backdrop-filter: blur(12px);
}
.bottom-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.15rem;
  min-height: 3rem;
  min-width: 0;
  font-size: 0.75rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
}
.bottom-nav a svg {
  width: 1.35rem;
  height: 1.35rem;
}
.bottom-nav a span {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.bottom-nav a.active {
  color: var(--teal-dark);
  font-weight: 750;
}
/* Titres courts, boutons et liens */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.5;
  color: var(--teal-dark);
  margin-bottom: 0.85rem;
}
.eyebrow svg {
  width: 1rem;
  height: 1rem;
}
.button {
  min-height: 2.9rem;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--teal);
  border-radius: 5px;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  font-weight: 650;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.button span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.button svg {
  width: 1.15rem;
  height: 1.15rem;
}
.button:hover {
  background: linear-gradient(135deg, var(--teal-dark), var(--indigo));
  border-color: var(--teal-dark);
}
.button-secondary {
  color: var(--ink);
  border-color: #c9d5d1;
  background: var(--paper-warm);
}
.button-secondary:hover {
  color: var(--teal-dark);
  background: #edf5f2;
  border-color: var(--teal);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}
.text-link {
  display: inline-block;
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #aacbc3;
  text-underline-offset: 5px;
}
.text-link:hover {
  text-decoration-color: var(--teal-dark);
}
/* Visuel d'accueil */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
  color: white;
  background: #172b30;
}
.hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--gold), var(--indigo));
  opacity: 0.9;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(9, 22, 25, 0.86) 0%,
      rgba(9, 48, 53, 0.72) 48%,
      rgba(195, 67, 79, 0.34) 100%
    ),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 17px);
}
.hero-inner {
  position: relative;
  min-height: 28rem;
  display: flex;
  align-items: center;
  padding-block: 2.6rem 3.5rem;
}
.hero-copy {
  max-width: 38rem;
}
.hero .eyebrow {
  color: #e2efeb;
}
.hero h1 {
  font-size: 2.8rem;
  line-height: 1.12;
  margin-bottom: 0.85rem;
}
.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 650;
  line-height: 1.45;
}
.hero-copy > p:not(.hero-subtitle) {
  max-width: 33rem;
  color: #f1f5f4;
  line-height: 1.7;
}
.hero .button {
  border-color: transparent;
}
.hero .button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}
.hero .button-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}
.hero-credit {
  position: absolute;
  bottom: 0.75rem;
  right: 1.25rem;
  font-size: 0.75rem;
  color: #e6ece9;
}
/* Sections de contenu et cartes de prestations */
.intro-section,
.services-section,
.values-section,
.section {
  padding-block: 3rem;
}
.intro-section {
  background: linear-gradient(180deg, var(--paper-warm) 0%, #f5fbfa 100%);
}
.intro-grid,
.editorial-grid {
  display: grid;
  gap: 1.6rem;
}
.intro-grid p,
.editorial-grid > div > p {
  color: var(--muted);
}
.intro-grid .text-link {
  margin-top: 1.2rem;
}
.visual-section {
  padding-block: 0 3rem;
  background: linear-gradient(180deg, #f5fbfa 0%, var(--mist) 100%);
}
.visual-grid {
  display: grid;
  gap: 1rem;
}
.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 12rem;
  margin: 0;
  border: 1px solid rgba(8, 127, 120, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(8, 127, 120, 0.16), rgba(195, 67, 79, 0.12)), var(--paper-warm);
}
.visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: cover;
}
.visual-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(11, 22, 25, 0.62));
  pointer-events: none;
}
.visual-card figcaption {
  position: absolute;
  right: 0.85rem;
  bottom: 0.8rem;
  left: 0.85rem;
  z-index: 1;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.visual-logo-card {
  display: grid;
  place-items: center;
  min-height: 13rem;
  background:
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.74) 25%,
      transparent 25% 75%,
      rgba(255, 255, 255, 0.74) 75%
    ),
    linear-gradient(
      45deg,
      rgba(8, 127, 120, 0.1) 25%,
      transparent 25% 75%,
      rgba(8, 127, 120, 0.1) 75%
    ),
    linear-gradient(135deg, var(--blush), #eef8f5);
  background-position:
    0 0,
    18px 18px,
    0 0;
  background-size:
    36px 36px,
    36px 36px,
    auto;
}
.visual-logo-card img {
  width: min(70%, 12rem);
  height: auto;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(30, 41, 45, 0.18));
}
.visual-logo-card::after {
  background: linear-gradient(180deg, transparent 45%, rgba(30, 41, 45, 0.38));
}
.services-section,
.section-tinted {
  background:
    linear-gradient(
      135deg,
      rgba(8, 127, 120, 0.1),
      rgba(195, 67, 79, 0.08) 55%,
      rgba(183, 154, 49, 0.08)
    ),
    var(--tint);
}
.section:not(.section-tinted) {
  background: rgba(255, 250, 246, 0.72);
}
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.section-heading > .text-link {
  margin-top: 0.75rem;
}
.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.service-card {
  min-width: 0;
  padding: 1.65rem;
  background: rgba(255, 250, 246, 0.95);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(30, 41, 45, 0.06);
}
.service-1 {
  border-top-color: var(--coral);
}
.service-2 {
  border-top-color: #b79a31;
}
.service-media {
  position: relative;
  align-self: stretch;
  aspect-ratio: 16 / 9;
  margin: -1.65rem -1.65rem 1.35rem;
  overflow: hidden;
  background: var(--mist);
}
.service-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 36, 40, 0.34));
}
.service-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.service-card:hover .service-media img {
  transform: scale(1.025);
}
.service-symbol {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: var(--teal-dark);
  background: #e9f5ef;
  border: 1px solid rgba(8, 127, 120, 0.14);
  margin-bottom: 1.4rem;
  margin-top: -2.85rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 22px rgba(30, 41, 45, 0.12);
}
.service-1 .service-symbol {
  color: #ab3341;
  background: #fbeef0;
}
.service-2 .service-symbol {
  color: #806717;
  background: #fbf5e3;
}
.small-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.service-card h3 a:hover {
  color: var(--teal-dark);
}
.service-card > p:not(.small-label) {
  color: var(--muted);
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 1.2rem 0;
  margin-top: auto;
  max-width: 100%;
}
.service-tags span {
  font-size: 0.75rem;
  background: rgba(8, 127, 120, 0.08);
  color: var(--muted);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.service-card .text-link {
  font-size: 0.875rem;
}
.convention-section {
  padding-block: 3rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper-warm) 0%, #f4fbf8 100%);
}
.convention-grid {
  display: grid;
  gap: 2rem;
}
.convention-mark {
  display: none;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: url('/lanternes-japon.jpg') center / cover;
}
.convention-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 24, 28, 0.24), rgba(12, 24, 28, 0.68)),
    linear-gradient(135deg, rgba(8, 127, 120, 0.34), rgba(195, 67, 79, 0.22));
}
.convention-mark > * {
  position: relative;
  z-index: 1;
}
.convention-grid p {
  color: var(--muted);
}
.convention-grid h2 {
  margin-bottom: 1rem;
}
.convention-grid .event-note {
  padding-left: 1rem;
  border-left: 3px solid var(--coral);
  font-size: 0.9rem;
  margin-block: 1.4rem;
}
.values-grid,
.feature-grid {
  display: grid;
  gap: 1.6rem;
}
.values-section {
  background: linear-gradient(180deg, #fff8f9 0%, #f2faf8 100%);
}
.values-grid > div > svg,
.feature-grid > article > svg {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--teal);
  margin-bottom: 0.9rem;
}
.values-grid h3,
.feature-grid h3 {
  margin-bottom: 0.6rem;
}
.secret-soul {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: -0.525rem 0 0.525rem -0.4375rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 4px;
}
.secret-pixel-heart {
  display: block;
  width: 30px;
  height: 21px;
  background: #d94c56;
  clip-path: polygon(
    0% 14.285%,
    10% 14.285%,
    10% 0%,
    40% 0%,
    40% 14.285%,
    60% 14.285%,
    60% 0%,
    90% 0%,
    90% 14.285%,
    100% 14.285%,
    100% 42.855%,
    90% 42.855%,
    90% 57.14%,
    80% 57.14%,
    80% 71.425%,
    70% 71.425%,
    70% 85.71%,
    60% 85.71%,
    60% 100%,
    40% 100%,
    40% 85.71%,
    30% 85.71%,
    30% 71.425%,
    20% 71.425%,
    20% 57.14%,
    10% 57.14%,
    10% 42.855%,
    0% 42.855%
  );
}
.secret-soul:hover .secret-pixel-heart {
  background: #b42b3a;
}
.values-grid p,
.feature-grid p {
  color: var(--muted);
}
.feature-grid {
  margin-top: 1.8rem;
}
.feature-grid article {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.contact-band {
  padding-block: 2.8rem;
  color: white;
  background:
    linear-gradient(135deg, rgba(56, 65, 95, 0.96), rgba(8, 98, 93, 0.95)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 22px);
}
.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-direction: column;
}
.contact-inner h2 {
  font-size: 1.5rem;
}
.contact-inner p {
  color: #e8f3f0;
  margin-top: 0.65rem;
  max-width: 42rem;
}
.contact-inner .button {
  flex-shrink: 0;
}
/* Pied de page */
.site-footer {
  padding: 2.8rem 0 6rem;
  background: linear-gradient(180deg, #fffaf6 0%, #eef7f5 100%), var(--paper);
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.footer-about {
  grid-column: 1 / -1;
}
.footer-about p {
  margin: 1.1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-grid > div > h2 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.footer-grid > div > a:not(.brand):not(.email-link) {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.6rem;
}
.footer-grid a:hover {
  color: var(--teal-dark);
}
.footer-muted {
  color: var(--muted);
  font-size: 0.875rem;
}
.email-link {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--teal-dark);
}
.email-link svg {
  width: 1rem;
  height: 1rem;
}
.email-link span,
.email-wrap {
  overflow-wrap: anywhere;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
/* En-tetes des pages interieures */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding-block: 1.1rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.page-heading {
  background:
    linear-gradient(
      135deg,
      rgba(8, 127, 120, 0.12),
      rgba(195, 67, 79, 0.09) 55%,
      rgba(56, 65, 95, 0.08)
    ),
    var(--paper-warm);
  padding-block: 2.7rem;
  border-bottom: 1px solid var(--line);
}
.page-heading h1 {
  max-width: 48rem;
  font-size: 2.1rem;
}
.lead {
  margin-top: 1.25rem;
  color: var(--muted);
  max-width: 45rem;
  font-size: 1.05rem;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 0 1.4rem 1rem;
  border-left: 3px solid var(--teal);
  margin-bottom: 2.5rem;
}
.notice > svg {
  color: var(--teal);
  margin-top: 0.1rem;
}
.notice h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.notice p {
  color: var(--muted);
}
.notice .text-link {
  margin-top: 1rem;
}
.muted {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}
/* Questions frequentes et billetterie */
.faq-container {
  max-width: 850px;
}
.faq-container h2 {
  margin-bottom: 1.5rem;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary svg {
  width: 1.15rem;
  height: 1.15rem;
  transition: transform 0.15s;
}
.faq-list details[open] summary svg {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 0 1.4rem;
  color: var(--muted);
}
.faq-answer .button,
.faq-answer .text-link {
  margin-top: 1rem;
}
.ticket-container {
  max-width: 900px;
}
.ticket-empty {
  text-align: center;
  padding: 2rem 0 3rem;
}
.ticket-empty > svg {
  width: 3rem;
  height: 3rem;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.ticket-empty .eyebrow {
  justify-content: center;
}
.ticket-empty h2 {
  margin-bottom: 1rem;
}
.ticket-empty > p:not(.eyebrow) {
  max-width: 34rem;
  margin-inline: auto;
  color: var(--muted);
}
.ticket-empty .button {
  margin-top: 1.7rem;
}
.ticket-help {
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}
.ticket-help > div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.ticket-help h2 {
  font-size: 1.1rem;
}
.ticket-help p {
  margin-block: 0.75rem;
  color: var(--muted);
}
.ticket-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.provider {
  font-weight: 700;
  color: var(--teal);
}
.ticket-widget {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.ticket-widget iframe {
  display: block;
  width: 100%;
  min-height: 750px;
  border: 0;
}
/* Pages detaillees des prestations et equipe */
.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.service-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  border-bottom: 2px solid transparent;
  font-size: 0.875rem;
}
.service-tabs svg {
  width: 1.05rem;
  height: 1.05rem;
}
.service-tabs a.active {
  color: var(--teal-dark);
  border-color: var(--teal);
  font-weight: 650;
}
.service-tabs a:hover {
  background: var(--tint);
}
.prose-intro {
  max-width: 48rem;
  color: var(--muted);
  margin-bottom: 2.3rem;
}
.editorial-grid h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}
.editorial-grid h3:first-child {
  margin-top: 0;
}
.editorial-grid .button {
  margin-top: 1.5rem;
}
.team-grid {
  display: grid;
  gap: 1.5rem;
}
.team-member {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
}
.team-member p {
  margin-top: 0.3rem;
  color: var(--muted);
}
.avatar {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 5px;
  background: #e9f4f1;
  color: var(--teal-dark);
  font-weight: 650;
}
.avatar-coral {
  color: var(--coral);
  background: #fbeef0;
}
/* Textes longs et documents publics */
.prose {
  max-width: 780px;
}
.prose h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.8rem;
}
.prose p {
  color: var(--muted);
}
.prose a {
  color: var(--teal-dark);
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.document-note {
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--coral);
  background: #fff5f5;
  font-size: 0.9rem;
}
.document-list {
  max-width: 850px;
}
.document-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.document-icon {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: var(--tint);
  border-radius: 4px;
  flex-shrink: 0;
}
.document-row strong {
  display: block;
  font-size: 1rem;
}
.document-row > span:nth-child(2) > span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}
.document-type {
  margin-left: auto;
  color: var(--teal-dark);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.document-type svg {
  width: 1rem;
  height: 1rem;
}
/* Pages d'erreur */
.error-section {
  text-align: center;
  padding-block: 4rem;
}
.error-section .container {
  max-width: 700px;
}
.error-icon {
  color: var(--teal);
  margin-bottom: 1rem;
}
.error-icon svg {
  width: 3rem;
  height: 3rem;
}
.error-code {
  font-size: 4rem;
  font-weight: 750;
  color: var(--teal-dark);
  line-height: 1.2;
}
.error-section h1 {
  font-size: 1.9rem;
  margin-block: 1rem;
}
.error-section p:not(.error-code) {
  color: var(--muted);
}
.error-section .button-row {
  justify-content: center;
}
/* Collection des succes secrets */
body.easter-egg-open {
  overflow: hidden;
}
.easter-egg-dialog {
  position: fixed;
  width: min(32rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 1.5rem;
  overflow-y: auto;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(30, 41, 45, 0.24);
}
.easter-egg-dialog::backdrop {
  background: rgba(30, 41, 45, 0.6);
  backdrop-filter: blur(3px);
}
.easter-egg-close-form {
  position: sticky;
  top: 0;
  z-index: 2;
  width: 2.75rem;
  height: 0;
  margin-left: auto;
}
.easter-egg-close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.easter-egg-close:hover {
  color: var(--coral);
  background: var(--blush);
  border-color: var(--sakura);
}
.secret-room-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.5rem;
  margin-bottom: 1.4rem;
}
.secret-room-header > div {
  min-width: 0;
}
.secret-room-emblem {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  color: #806717;
  background: #fbf5e3;
  border: 1px solid #e5d8aa;
  border-radius: 6px;
}
.secret-room-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.secret-room-header h1 {
  font-size: 2rem;
}
.secret-collection {
  max-width: 56rem;
}
.secret-collection-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  max-width: 100%;
  padding: 0.4rem 0.6rem;
  color: var(--teal-dark);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.875rem;
  line-height: 1.45;
}
.secret-collection-link span {
  min-width: 0;
}
.secret-collection-link svg {
  width: 1rem;
  height: 1rem;
}
.secret-collection-link:hover {
  background: var(--mist);
  border-color: var(--teal);
}
.secret-room-actions {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.secret-progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
}
#secret-count {
  color: var(--teal-dark);
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
}
#secret-progress {
  display: block;
  appearance: none;
  width: 100%;
  height: 0.4rem;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--line);
  accent-color: var(--teal);
  margin-bottom: 1.25rem;
}
#secret-progress::-webkit-progress-bar {
  background: var(--line);
}
#secret-progress::-webkit-progress-value {
  background: var(--teal);
}
#secret-progress::-moz-progress-bar {
  background: var(--teal);
}
.secret-accent-teal {
  --secret-accent: var(--teal-dark);
  --secret-tint: var(--mist);
}
.secret-accent-coral {
  --secret-accent: #ab3341;
  --secret-tint: var(--blush);
}
.secret-accent-gold {
  --secret-accent: #806717;
  --secret-tint: #fbf5e3;
}
.secret-panel {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.25rem;
}
.secret-panel-symbol {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--secret-accent);
  background: var(--secret-tint);
  border-radius: 5px;
}
.secret-panel-symbol svg {
  width: 1.6rem;
  height: 1.6rem;
}
.secret-reference {
  color: var(--secret-accent);
  font-size: 0.8125rem;
  font-weight: 650;
  margin-bottom: 0.4rem;
  padding-right: 3.25rem;
}
.secret-panel h2 {
  font-size: 1.375rem;
  margin-bottom: 0.8rem;
}
.secret-message {
  color: var(--muted);
}
.secret-twist,
.secret-item {
  color: var(--secret-accent);
  font-size: 0.9rem;
  font-weight: 650;
}
.secret-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.secret-power {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 0.85rem;
  color: var(--secret-accent);
}
.secret-power > span {
  font-size: 0.875rem;
}
.secret-power strong {
  min-width: 6ch;
  font-family: monospace;
  font-size: 2rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.secret-alert-mark {
  display: block;
  margin-top: 0.7rem;
  color: var(--secret-accent);
  font-family: monospace;
  font-size: 2.5rem;
  line-height: 1;
}
.achievement-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
.achievement-list > li {
  min-width: 0;
}
.achievement-entry {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.achievement-row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 1rem;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 5.5rem;
  padding: 0.65rem 0.5rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
}
.achievement-entry[data-unlocked='false'] .achievement-row {
  color: var(--muted);
}
.achievement-clue {
  margin: 0 0 0.5rem;
  padding-inline: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.achievement-clue strong {
  color: var(--secret-accent);
  font-weight: 650;
}
.secret-collection-toolbar {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-block: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
}
.secret-code-form {
  flex: 1 1 16rem;
  min-width: 0;
}
.secret-code-form label,
.secret-filter-label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.secret-code-input {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.secret-code-input input,
.secret-filter-label select {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.5rem 0.65rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
}
.secret-code-input input {
  font-family: monospace;
}
.secret-code-input button {
  display: grid;
  place-items: center;
  flex: 0 0 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: white;
  background: var(--teal-dark);
  border: 0;
  border-radius: 4px;
}
.secret-code-input button svg,
.secret-clip svg {
  width: 1.15rem;
  height: 1.15rem;
}
.secret-code-form [role='status'] {
  margin: 0;
  min-height: 1.5rem;
  color: #ab3341;
  font-size: 0.8125rem;
}
.secret-filter-label {
  flex: 0 1 12rem;
  min-width: 10rem;
}
.secret-scene {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  margin-bottom: 1rem;
  image-rendering: pixelated;
  border-radius: 4px;
}
.secret-clip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.secret-panel-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}
body.secret-shout main > section {
  animation: secret-shout 0.8s ease-out;
}
body.secret-titan main {
  animation: secret-tremor 0.7s ease-out 2;
}
body.secret-barrel main {
  animation: secret-barrel 1.4s ease-in-out;
}
body.secret-time-stop main {
  filter: grayscale(1);
}
body.secret-time-stop main * {
  animation-play-state: paused;
}
body.secret-matrix main {
  filter: sepia(0.35) hue-rotate(75deg);
}
body.secret-light main {
  filter: brightness(1.15);
}
body.secret-dark main {
  filter: brightness(0.45);
}
body.secret-empire main {
  filter: sepia(0.4);
}
@keyframes secret-shout {
  25% {
    transform: translateX(12px) rotate(0.3deg);
  }
  65% {
    transform: translateX(-3px);
  }
}
@keyframes secret-tremor {
  25% {
    transform: translateY(3px);
  }
  65% {
    transform: translateY(-3px);
  }
}
@keyframes secret-barrel {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.secret-shout main > section,
  body.secret-titan main,
  body.secret-barrel main {
    animation: none;
  }
}
.achievement-actions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-inline: 0.5rem;
}
.achievement-hint {
  flex: 1 1 13rem;
  min-width: 0;
}
.achievement-hint summary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding-block: 0.3rem;
  color: var(--muted);
  list-style: none;
  cursor: pointer;
  font-size: 0.875rem;
}
.achievement-hint summary::-webkit-details-marker {
  display: none;
}
.achievement-hint summary svg,
.achievement-replay svg {
  width: 1rem;
  height: 1rem;
}
.achievement-hint summary:hover,
.achievement-hint[open] summary {
  color: var(--secret-accent);
}
.achievement-hint p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.achievement-replay {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0.3rem 0.5rem;
  color: var(--secret-accent);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 0.875rem;
}
.achievement-replay:hover {
  background: var(--secret-tint);
}
.achievement-symbol,
.achievement-symbol > span {
  display: grid;
  place-items: center;
}
.achievement-symbol {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.achievement-entry[data-unlocked='true'] .achievement-symbol {
  color: var(--secret-accent);
  background: var(--secret-tint);
}
.achievement-symbol svg {
  width: 1.2rem;
  height: 1.2rem;
}
.achievement-name,
.achievement-reference {
  display: block;
}
.achievement-name {
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.4;
}
.achievement-reference {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.4;
  margin-top: 0.25rem;
}
.achievement-check,
.achievement-check svg {
  width: 1rem;
  height: 1rem;
  color: var(--secret-accent);
}
.brand-symbol {
  touch-action: manipulation;
}
.convention-secret {
  display: flex;
  justify-content: flex-end;
  padding-block: 1rem;
}
.secret-continued {
  display: block;
  width: min(14rem, 100%);
  padding: 0;
  background: white;
  border: 0;
}
.secret-continued img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 734 / 350;
  object-fit: contain;
}
/* Tablettes : plusieurs colonnes quand l'espace le permet */
@media (min-width: 640px) {
  .achievement-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .container {
    width: min(100% - 4rem, 1120px);
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero .button-row {
    flex-wrap: nowrap;
  }
  .values-grid,
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .service-card {
    padding: 1.3rem;
  }
  .service-media {
    margin: -1.3rem -1.3rem 1.25rem;
  }
  .visual-grid {
    grid-template-columns: 1.25fr 1fr;
  }
  .visual-card-large {
    grid-row: span 2;
  }
  .visual-card,
  .visual-card img {
    min-height: 13rem;
  }
  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr;
  }
  .footer-about {
    grid-column: auto;
  }
}
/* Ordinateurs : menu horizontal et mise en page large */
@media (min-width: 1000px) {
  h2 {
    font-size: 2rem;
  }
  .header-inner {
    min-height: 5rem;
  }
  .desktop-nav {
    display: flex;
  }
  .menu-toggle,
  .bottom-nav {
    display: none;
  }
  .hero,
  .hero-inner {
    min-height: 29rem;
  }
  .hero h1 {
    font-size: 3.75rem;
  }
  .hero-copy {
    padding-block: 0.5rem;
  }
  .hero-image {
    object-position: 50% 56%;
  }
  .hero-subtitle {
    font-size: 1.5rem;
  }
  .intro-section,
  .services-section,
  .values-section,
  .section,
  .convention-section {
    padding-block: 4rem;
  }
  .intro-grid,
  .editorial-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
  }
  .service-grid {
    gap: 1.5rem;
  }
  .service-card {
    padding: 1.8rem;
  }
  .service-media {
    margin: -1.8rem -1.8rem 1.35rem;
  }
  .convention-grid {
    grid-template-columns: 0.6fr 1.4fr;
    align-items: center;
    gap: 4rem;
  }
  .convention-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    color: white;
    min-height: 12rem;
    justify-content: center;
    font-size: 0.9rem;
    padding: 1.5rem;
    box-shadow: 0 22px 45px rgba(30, 41, 45, 0.12);
    text-align: center;
  }
  .convention-mark svg {
    width: 4.5rem;
    height: 4.5rem;
  }
  .values-grid,
  .feature-grid {
    gap: 3rem;
  }
  .contact-inner {
    flex-direction: row;
    align-items: center;
  }
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
    gap: 3rem;
  }
  .site-footer {
    padding-bottom: 1.5rem;
  }
  .page-heading {
    padding-block: 3.3rem;
  }
  .page-heading h1 {
    font-size: 2.6rem;
  }
}
@media (max-width: 359px) {
  .easter-egg-dialog {
    padding: 1rem;
  }
  .secret-room-header {
    gap: 0.6rem;
  }
  .secret-room-emblem {
    width: 2.75rem;
    height: 2.75rem;
  }
  .secret-room-header h1 {
    font-size: 1.5rem;
  }
  .secret-panel {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.75rem;
  }
  .secret-panel-symbol {
    width: 2.5rem;
    height: 2.5rem;
  }
  .container {
    width: calc(100% - 2rem);
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .page-heading h1 {
    font-size: 1.9rem;
  }
  .document-type {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
