/*
Theme Name: FestinHumour
Theme URI: https://festinhumour.ch/
Author: Codex
Description: Theme de depart pour le site associatif multilingue FestinHumour.
Version: 0.2.0
Requires at least: 6.8
Tested up to: 6.8.1
Requires PHP: 8.2
Text Domain: festinhumour
*/

:root {
  --bg: #09070f;
  --surface: rgba(18, 14, 26, 0.82);
  --surface-strong: #171320;
  --ink: #f7eee1;
  --muted: #d3c2ac;
  --line: rgba(255, 234, 209, 0.12);
  --accent: #ff7a3c;
  --accent-deep: #ffd28a;
  --accent-soft: #ffe08b;
  --accent-berry: #a93f67;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 205, 107, 0.24), transparent 22%),
    radial-gradient(circle at 84% 6%, rgba(169, 63, 103, 0.18), transparent 24%),
    radial-gradient(circle at 50% 18%, rgba(255, 144, 77, 0.12), transparent 28%),
    linear-gradient(180deg, #130f1b 0%, #0c0913 42%, #08060d 100%);
  font-family: "Quicksand", "Bricolage Grotesque", "Segoe UI", sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(ellipse at top center, rgba(255, 217, 146, 0.18), transparent 34%),
    linear-gradient(120deg, transparent 36%, rgba(255, 204, 117, 0.08) 50%, transparent 64%),
    linear-gradient(240deg, transparent 38%, rgba(255, 122, 60, 0.08) 50%, transparent 62%);
  filter: blur(4px);
}

body::after {
  background:
    radial-gradient(circle at 50% 105%, rgba(0, 0, 0, 0.78), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(255, 175, 95, 0.08), transparent 25%);
}

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

p,
li {
  font-size: 1.02rem;
  line-height: 1.7;
}

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

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header,
.site-footer,
.value-strip,
.immersive-panel,
.program-card,
.lineup-card,
.pass-card,
.faq-item,
.poster-card,
.post-card,
.content-card,
.section-card {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 11, 20, 0.82);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  justify-self: start;
}

.brand-logo {
  display: block;
  width: 104px;
  max-width: 100%;
  height: auto;
}

.brand-text {
  font-family: "Delius", "Quicksand", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.1;
  max-width: 13ch;
  letter-spacing: 0.01em;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  justify-self: center;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  justify-self: end;
}

.language-switcher-list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-switcher-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid rgba(36, 23, 14, 0.1);
  border-radius: 999px;
  background: rgba(31, 24, 42, 0.9);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.language-switcher-link:hover {
  color: var(--accent-deep);
  border-color: rgba(228, 87, 46, 0.18);
}

.language-switcher-link.is-active {
  color: #171117;
  border-color: rgba(255, 210, 138, 0.42);
  background: linear-gradient(135deg, rgba(255, 224, 139, 0.96), rgba(255, 154, 92, 0.96));
}

.language-switcher-link.is-disabled {
  opacity: 0.58;
  cursor: default;
}

.language-switcher-flag {
  display: inline-flex;
  width: 16px;
  height: 12px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(36, 23, 14, 0.12);
}

.language-switcher-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.language-switcher-code {
  line-height: 1;
}

.site-nav-list,
.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav-list li {
  position: relative;
}

.site-nav-list > li {
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.site-nav-list a {
  color: var(--muted);
  white-space: nowrap;
  font-size: 0.92rem;
}

.site-nav-list li:hover > a,
.site-nav-list .current-menu-item > a,
.footer-meta a:hover {
  color: var(--accent-deep);
}

.site-nav-list .sub-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 240px;
  padding: 14px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(17, 13, 24, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav-list .sub-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.site-nav-list li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav-list .sub-menu li + li {
  margin-top: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 241, 219, 0.24);
  background: linear-gradient(135deg, #ff4d6d 0%, #ff7a3c 52%, #ffcf5a 100%);
  color: #180f12;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  box-shadow:
    0 16px 34px rgba(255, 77, 109, 0.28),
    0 6px 18px rgba(255, 122, 60, 0.22);
}

.button:hover {
  transform: translateY(-2px);
  filter: saturate(1.06) brightness(1.04);
  box-shadow:
    0 20px 38px rgba(255, 77, 109, 0.34),
    0 10px 22px rgba(255, 122, 60, 0.28);
}

.button-small {
  min-height: 42px;
  padding: 0 14px;
  font-size: 0.95rem;
}

.button-ghost {
  border-color: rgba(255, 191, 121, 0.34);
  background: linear-gradient(135deg, rgba(43, 25, 36, 0.82), rgba(26, 18, 35, 0.74));
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 226, 183, 0.08);
}

.button-ghost:hover {
  border-color: rgba(255, 122, 60, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 183, 0.12),
    0 12px 28px rgba(255, 77, 109, 0.14);
}

.site-main {
  display: grid;
  gap: 28px;
}

.page-template-page-elementor-home-clone .elementor-widget-wrap > .elementor-element,
.page-template-page-elementor-home-clone .elementor-column-gap-no > .elementor-column > .elementor-element-populated,
.page-template-page-elementor-home-clone .elementor-section > .elementor-container,
.page-template-page-elementor-home-clone .elementor-widget-shortcode > .elementor-widget-container {
  margin: 0;
  padding: 0;
  max-width: none;
}

.page-template-page-elementor-home-clone .elementor-widget:not(:last-child) {
  margin-bottom: 0;
}

.page-template-page-elementor-home-clone .elementor-top-section + .elementor-top-section,
.elementor-editor-active .page-template-page-elementor-home-clone .elementor-top-section + .elementor-top-section {
  margin-top: 72px;
}

.page-template-page-elementor-home-clone .elementor-home-hero > .elementor-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.page-template-page-elementor-home-clone .hero-column-copy > .elementor-widget-wrap,
.page-template-page-elementor-home-clone .hero-column-stage > .elementor-widget-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
}

.page-template-page-elementor-home-clone .hero-eyebrow-widget,
.page-template-page-elementor-home-clone .hero-title-widget,
.page-template-page-elementor-home-clone .hero-text-widget {
  margin-bottom: 0;
}

.page-template-page-elementor-home-clone .hero-text-widget {
  margin-top: 22px;
}

.page-template-page-elementor-home-clone .hero-title-widget .elementor-heading-title,
.page-template-page-elementor-home-clone .living-scene-title-widget .elementor-heading-title,
.elementor-editor-active .hero-title-widget .elementor-heading-title,
.elementor-editor-active .living-scene-title-widget .elementor-heading-title {
  font-family: "Quicksand", "Bricolage Grotesque", "Segoe UI", sans-serif !important;
  font-weight: 700 !important;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink) !important;
  text-transform: none !important;
}

.page-template-page-elementor-home-clone .hero-title-widget .elementor-heading-title,
.elementor-editor-active .hero-title-widget .elementor-heading-title {
  font-size: clamp(2.6rem, 5vw, 5.4rem) !important;
}

.page-template-page-elementor-home-clone .living-scene-title-widget .elementor-heading-title,
.elementor-editor-active .living-scene-title-widget .elementor-heading-title {
  font-size: clamp(2rem, 4vw, 3.4rem) !important;
}

.page-template-page-elementor-home-clone .hero-text-widget p,
.page-template-page-elementor-home-clone .living-scene-text-widget p,
.page-template-page-elementor-home-clone .hero-eyebrow-widget p,
.page-template-page-elementor-home-clone .living-scene-eyebrow-widget p,
.elementor-editor-active .hero-text-widget p,
.elementor-editor-active .living-scene-text-widget p,
.elementor-editor-active .hero-eyebrow-widget p,
.elementor-editor-active .living-scene-eyebrow-widget p {
  font-family: "Inter", "Quicksand", "Segoe UI", sans-serif;
  color: inherit !important;
}

.page-template-page-elementor-home-clone .hero-actions-widget {
  margin-top: 28px;
}

.page-template-page-elementor-home-clone .hero-metrics-widget {
  margin-top: 34px;
}

.page-template-page-elementor-home-clone .hero-metrics-widget,
.page-template-page-elementor-home-clone .hero-metrics,
.elementor-editor-active .hero-metrics-widget,
.elementor-editor-active .hero-metrics {
  display: none !important;
}

.page-template-page-elementor-home-clone .hero-poster-widget {
  margin-bottom: 0;
}

.page-template-page-elementor-home-clone .hero-floating-note-a-widget {
  position: absolute;
  top: 34px;
  right: -18px;
  z-index: 2;
}

.page-template-page-elementor-home-clone .hero-floating-note-b-widget {
  position: absolute;
  bottom: 46px;
  left: -18px;
  z-index: 2;
}

.page-template-page-elementor-home-clone .hero-floating-widget p:last-child,
.page-template-page-elementor-home-clone .hero-actions-widget p:last-child,
.page-template-page-elementor-home-clone .hero-metrics-widget p:last-child,
.page-template-page-elementor-home-clone .hero-poster-widget p:last-child {
  margin-bottom: 0;
}

.page-template-page-elementor-home-clone .elementor-living-scene > .elementor-container {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}

.page-template-page-elementor-home-clone .living-scene-media > .elementor-widget-wrap,
.page-template-page-elementor-home-clone .living-scene-copy > .elementor-widget-wrap {
  display: flex;
  flex-direction: column;
}

.page-template-page-elementor-home-clone .living-scene-image-widget .elementor-widget-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 228, 188, 0.16);
  box-shadow: var(--shadow);
}

.page-template-page-elementor-home-clone .living-scene-image-widget img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.page-template-page-elementor-home-clone .living-scene-eyebrow-widget,
.page-template-page-elementor-home-clone .living-scene-title-widget,
.page-template-page-elementor-home-clone .living-scene-text-widget,
.page-template-page-elementor-home-clone .living-scene-pulses-widget {
  margin-bottom: 0;
}

.page-template-page-elementor-home-clone .living-scene-title-widget {
  margin-top: 12px;
}

.page-template-page-elementor-home-clone .living-scene-text-widget {
  margin-top: 24px;
}

.page-template-page-elementor-home-clone .living-scene-pulses-widget {
  margin-top: 24px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
  padding: 36px 0 26px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40px 10% auto;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 222, 157, 0.18), rgba(255, 222, 157, 0) 70%);
  filter: blur(12px);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h1,
.section-heading h2,
.immersive-panel h2,
.entry-title {
  margin: 0;
  font-family: "Quicksand", "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 58ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero-metrics li,
.poster-grid article,
.program-card,
.lineup-card,
.pass-card,
.faq-item,
.post-card,
.content-card,
.section-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(21, 16, 29, 0.9), rgba(14, 10, 20, 0.82));
}

.hero-metrics strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
}

.hero-stage {
  position: relative;
  min-height: 520px;
}

.poster-card {
  position: relative;
  height: 100%;
  padding: 34px;
  border: 1px solid rgba(255, 228, 188, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 24% 14%, rgba(255, 213, 132, 0.22), transparent 26%),
    linear-gradient(180deg, rgba(33, 24, 42, 0.96), rgba(15, 11, 22, 0.92)),
    linear-gradient(135deg, rgba(255, 122, 60, 0.1), transparent 50%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.poster-card::before,
.poster-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.poster-card::before {
  width: 220px;
  height: 220px;
  right: -40px;
  top: -60px;
  background: rgba(255, 122, 60, 0.16);
}

.poster-card::after {
  width: 180px;
  height: 180px;
  left: -50px;
  bottom: -60px;
  background: rgba(169, 63, 103, 0.16);
}

.poster-kicker,
.lineup-role,
.pass-name,
.footer-title,
.post-meta {
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.poster-card h2 {
  margin: 0 0 14px;
  font-family: "Quicksand", "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 0.96;
}

.poster-grid,
.program-grid,
.lineup-grid,
.passes-grid,
.faq-list,
.post-grid,
.section-grid {
  display: grid;
  gap: 18px;
}

.program-grid,
.passes-grid,
.section-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lineup-grid,
.faq-list,
.post-grid,
.section-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.floating-note {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 20px;
  color: #fff7f1;
  box-shadow: var(--shadow);
  animation: drift 5.6s ease-in-out infinite;
}

.floating-note-a {
  top: 40px;
  right: -8px;
  background: linear-gradient(135deg, #7f2957, #d0546d);
}

.floating-note-b {
  left: -12px;
  bottom: 42px;
  background: linear-gradient(135deg, #ff7a3c, #f3bd54);
  animation-delay: 1.3s;
}

.value-strip,
.immersive-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 22px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 13, 26, 0.88), rgba(12, 9, 18, 0.8));
}

.value-strip p {
  display: flex;
  align-items: center;
  min-height: 100%;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 234, 209, 0.12);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(21, 16, 29, 0.92), rgba(14, 10, 20, 0.84));
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.elementor-editor-active .value-strip p {
  color: var(--ink) !important;
}

.immersive-panel {
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 209, 125, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(30, 22, 39, 0.96), rgba(13, 9, 19, 0.84)),
    linear-gradient(90deg, rgba(255, 122, 60, 0.08), transparent);
}

.living-scene {
  padding-top: 0;
}

.living-scene-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.18fr) minmax(0, 0.82fr);
  gap: 40px;
  align-items: center;
}

.living-scene-media {
  display: block;
}

.living-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(21, 16, 29, 0.9), rgba(14, 10, 20, 0.82));
  box-shadow: var(--shadow);
}

.living-photo {
  position: relative;
  min-height: 100%;
}

.living-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.living-photo img {
  aspect-ratio: auto;
}

.living-scene-copy {
  display: grid;
  gap: 24px;
}

.living-scene-copy h2 {
  margin: 0;
  font-family: "Quicksand", "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.97;
  letter-spacing: -0.04em;
}

.living-scene-copy p {
  margin: 0;
  color: var(--muted);
}

.living-pulses {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.living-pulses span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 205, 149, 0.18);
  border-radius: 999px;
  background: rgba(24, 18, 31, 0.72);
  color: var(--ink);
  font-size: 0.95rem;
}

.living-pulses span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, #ffd777 0%, #ff8a45 70%, rgba(255, 138, 69, 0.1) 100%);
  box-shadow: 0 0 16px rgba(255, 138, 69, 0.38);
}

.publications-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.8fr);
  gap: 40px;
  align-items: stretch;
}

.publications-copy {
  display: grid;
  gap: 22px;
}

.publications-heading {
  margin-bottom: 0;
}

.publications-heading h2 {
  max-width: 11ch;
}

.publications-visual {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(21, 16, 29, 0.9), rgba(14, 10, 20, 0.82));
  box-shadow: var(--shadow);
  min-height: 100%;
}

.publications-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.section,
.site-main-default {
  padding: 32px 0 0;
}

.page-heading {
  padding-top: 20px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.section-heading h2,
.section-heading h1,
.entry-title {
  max-width: 14ch;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
}

.entry-header,
.entry-content,
.archive-shell {
  display: grid;
  gap: 20px;
}

.entry-featured-media,
.post-card-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(18, 13, 26, 0.76);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.entry-featured-media img,
.post-card-media img {
  display: block;
  width: 100%;
  height: auto;
}

.post-card-media {
  margin-bottom: 14px;
}

.post-card-media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.entry-content,
.archive-shell,
.section-card,
.content-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.section-card-visual {
  margin: -10px -10px 40px;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(255, 225, 184, 0.08);
  background: rgba(18, 13, 26, 0.76);
}

.section-card-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pass-card-visual {
  margin: -10px -10px 40px;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(255, 225, 184, 0.08);
  background: rgba(18, 13, 26, 0.76);
}

.pass-card-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.partners-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.partner-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 220, 170, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(22, 16, 31, 0.92), rgba(14, 10, 22, 0.84)),
    linear-gradient(135deg, rgba(255, 133, 63, 0.06), transparent 56%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.partner-badge span {
  font-family: "Inter", "Quicksand", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.25;
  color: #fff5eb;
  text-wrap: balance;
}

.partner-badge:hover,
.partner-badge:focus-visible {
  border-color: rgba(255, 188, 108, 0.34);
  background:
    linear-gradient(180deg, rgba(28, 20, 39, 0.95), rgba(15, 11, 24, 0.88)),
    linear-gradient(135deg, rgba(255, 133, 63, 0.1), transparent 56%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

body.page .entry-title,
body.page .entry-content,
body.page .entry-content p,
body.page .entry-content li,
body.page .entry-content blockquote,
body.page .entry-content h2,
body.page .entry-content h3,
body.page .entry-content h4,
body.single-post .entry-title,
body.single-post .entry-content,
body.single-post .entry-content p,
body.single-post .entry-content li,
body.single-post .entry-content blockquote,
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 {
  font-family: "Inter", "Quicksand", "Segoe UI", sans-serif;
}

body.page .entry-title,
body.page .entry-content h2,
body.page .entry-content h3,
body.page .entry-content h4,
body.single-post .entry-title,
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 {
  font-weight: 300;
  letter-spacing: -0.02em;
}

body.page .entry-content,
body.page .entry-content p,
body.page .entry-content li,
body.page .entry-content blockquote,
body.single-post .entry-content,
body.single-post .entry-content p,
body.single-post .entry-content li,
body.single-post .entry-content blockquote {
  font-weight: 200;
  letter-spacing: 0.005em;
}

body.page-id-11 .entry-title {
  max-width: 18ch;
}

.archive-shell,
.content-card,
.post-card,
.section-card,
.faq-item,
.post-card p,
.section-card p,
.faq-item p,
.content-card p,
.archive-shell p,
.content-card li,
.archive-shell li,
.post-meta,
.wp-block-latest-posts,
.wp-block-latest-posts li,
.pagination,
.nav-links {
  font-family: "Inter", "Quicksand", "Segoe UI", sans-serif;
  font-weight: 200;
  letter-spacing: 0.005em;
}

.post-card h2,
.section-card h3,
.faq-item h2,
.faq-item h3,
.content-card h2,
.content-card h3,
.archive-shell h2,
.archive-shell h3 {
  font-family: "Inter", "Quicksand", "Segoe UI", sans-serif;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.fh-form {
  display: grid;
  gap: 16px;
  font-family: "Inter", "Quicksand", "Segoe UI", sans-serif;
  font-weight: 200;
  letter-spacing: 0.005em;
}

.fh-form p {
  margin: 0;
}

.fh-form-required-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.fh-required {
  color: #ff9b6a;
  font-weight: 600;
}

.fh-label-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.14em;
}

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

.fh-form label {
  display: grid;
  gap: 8px;
  font-family: "Inter", "Quicksand", "Segoe UI", sans-serif;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.fh-form input,
.fh-form textarea,
.fh-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(14, 10, 21, 0.88);
  color: var(--ink);
  font-family: "Inter", "Quicksand", "Segoe UI", sans-serif;
  font-weight: 200;
  font-size: 1rem;
  letter-spacing: 0.005em;
}

.fh-form textarea {
  resize: vertical;
  min-height: 140px;
}

.fh-form input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  accent-color: #ff7a3c;
}

.fh-form label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 0;
}

.fh-form input:focus,
.fh-form textarea:focus,
.fh-form select:focus {
  outline: 2px solid rgba(228, 87, 46, 0.22);
  border-color: rgba(228, 87, 46, 0.42);
}

.fh-legal-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.fh-legal-note a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.pmpro,
.pmpro p,
.pmpro li,
.pmpro td,
.pmpro th,
.pmpro label,
.pmpro input,
.pmpro select,
.pmpro textarea,
.pmpro_message,
.pmpro_card,
.pmpro_table,
#pmpro_account,
#pmpro_invoice,
.pmpro_login_wrap,
.pmpro_checkout_gateway,
.pmpro_form_fields,
.pmpro_form_field {
  font-family: "Inter", "Quicksand", "Segoe UI", sans-serif;
}

.pmpro p,
.pmpro li,
.pmpro td,
.pmpro input,
.pmpro select,
.pmpro textarea,
.pmpro_message,
.pmpro_card,
.pmpro_table,
#pmpro_account,
#pmpro_invoice,
.pmpro_login_wrap,
.pmpro_checkout_gateway,
.pmpro_form_fields,
.pmpro_form_field {
  font-weight: 200;
  letter-spacing: 0.005em;
}

.pmpro h1,
.pmpro h2,
.pmpro h3,
.pmpro h4,
.pmpro legend,
.pmpro label,
.pmpro th,
#pmpro_account h2,
#pmpro_account h3,
#pmpro_invoice h2,
#pmpro_invoice h3,
.pmpro_card_title,
.pmpro_btn,
.pmpro a.pmpro_btn,
input.pmpro_btn,
button.pmpro_btn {
  font-family: "Inter", "Quicksand", "Segoe UI", sans-serif;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.post-card h2,
.program-card h3,
.lineup-card h3,
.faq-item h3,
.pass-card h3,
.section-card h3 {
  margin: 0 0 14px;
  font-size: 1.6rem;
  line-height: 1.15;
}

.section-card,
.pass-card {
  display: grid;
  align-content: start;
  gap: 0;
}

.section-card .lineup-role,
.pass-card .pass-name {
  margin-bottom: 14px;
}

.section-card p:not(.lineup-role),
.pass-card p:not(.pass-name) {
  margin: 0 0 18px;
}

.section-card a.button,
.pass-card a.button,
.pass-card a.button-ghost {
  margin-top: 10px;
}

.post-card p,
.program-card p,
.lineup-card p,
.faq-item p,
.pass-card p,
.section-card p {
  color: var(--muted);
}

.post-card a:hover,
.section-card a:hover {
  color: var(--accent-deep);
}

.featured {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(255, 218, 144, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(42, 29, 31, 0.96), rgba(18, 13, 25, 0.86)),
    linear-gradient(135deg, rgba(255, 122, 60, 0.1), transparent);
  border-color: rgba(255, 176, 105, 0.26);
  transform: translateY(-10px);
}

.featured::before {
  content: "Le plus populaire";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 210, 138, 0.14);
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(220px, 0.9fr) minmax(180px, 0.6fr);
  align-items: start;
  gap: 24px;
  margin-top: 80px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(16, 12, 24, 0.92), rgba(10, 8, 15, 0.86));
}

.footer-intro,
.footer-contacts,
.footer-legal,
.footer-meta {
  display: grid;
  gap: 10px;
}

.footer-intro p,
.footer-contacts p,
.footer-legal p,
.footer-meta p {
  margin: 0;
}

.footer-contacts a,
.footer-legal a,
.footer-meta a {
  color: var(--accent-deep);
}

.footer-contacts a:hover,
.footer-legal a:hover,
.footer-meta a:hover {
  color: var(--accent);
}

.footer-legal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-list a {
  font-weight: 600;
}

.footer-meta {
  text-align: right;
  color: var(--muted);
}

.fh-button-disabled {
  opacity: 0.64;
  pointer-events: none;
  cursor: default;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  transform: perspective(1200px) rotateY(-9deg) rotateX(3deg);
  transform-origin: center;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 980px) {
  .page-template-page-elementor-home-clone .elementor-home-hero > .elementor-container,
  .page-template-page-elementor-home-clone .elementor-living-scene > .elementor-container,
  .hero,
  .value-strip,
  .living-scene-layout,
  .living-scene-media,
  .publications-shell,
  .immersive-panel,
  .program-grid,
  .lineup-grid,
  .passes-grid,
  .faq-list,
  .post-grid,
  .section-grid.three,
  .section-grid.two {
    grid-template-columns: 1fr;
  }

  .partners-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .site-header,
  .site-footer {
    position: static;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav-list {
    justify-content: center;
  }

  .header-tools {
    width: 100%;
    justify-content: center;
  }

  .language-switcher-list {
    justify-content: center;
    flex-wrap: wrap;
  }

  .brand {
    justify-content: center;
  }

  .brand-logo {
    width: 104px;
  }

  .site-nav-list > li {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .site-nav-list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 10px;
    min-width: 0;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .featured {
    transform: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 1180px) {
  .brand-text {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 14px;
  }

  .hero {
    gap: 22px;
    padding-top: 12px;
  }

  .site-header,
  .poster-card,
  .living-photo,
  .publications-visual,
  .program-card,
  .lineup-card,
  .pass-card,
  .faq-item,
  .site-footer,
  .immersive-panel,
  .value-strip,
  .entry-content,
  .archive-shell,
  .section-card,
  .content-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .floating-note {
    position: static;
    margin-top: 14px;
    animation: none;
  }

  .page-template-page-elementor-home-clone .hero-floating-note-a-widget,
  .page-template-page-elementor-home-clone .hero-floating-note-b-widget {
    position: static;
  }

  .page-template-page-elementor-home-clone .living-scene-image-widget img {
    min-height: 0;
  }

  .tilt-card {
    transform: none;
  }

  .language-switcher-link {
    min-height: 38px;
    padding: 0 9px;
  }

  .partners-wall {
    grid-template-columns: 1fr;
  }
}
