@charset "UTF-8";
/* ================================================================
   Mieux Ensemble — Palette, Typographies & Layout (SCSS)
   ================================================================ */
:root {
  --navy: #BE511D;
  --navy-deep: #3F0900;
  --navy-soft: #711608;
  --cream: #FCEFDD;
  --cream-warm: #F0E5D0;
  --paper: #FFFFFF;
  --ink: #2E2620;
  --ink-soft: #5C5148;
  --muted: #8A7E6F;
  --line: #E6DAC2;
  --line-strong: #CBB99B;
  --coral: #C24A2E;
  --sun: #EAAB2E;
  --sage: #8FA86A;
  --rose: #E08A4A;
  --sky: #4F8A8B;
  --wood: #B0825A;
  --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --container: 1240px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 6px rgba(110, 42, 30, 0.07);
  --shadow-md: 0 12px 32px rgba(110, 42, 30, 0.12);
  --shadow-lg: 0 24px 60px rgba(110, 42, 30, 0.16);
}

[data-theme=contrast] {
  --cream: #FFFFFF;
  --cream-warm: #FFF7E4;
  --ink: #1A0F0A;
  --ink-soft: #2a1a12;
  --muted: #4a3d33;
  --line: #3a2a20;
  --navy: #7E2A1A;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 450;
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

::-moz-selection {
  background: var(--navy-soft);
  color: #fff;
}

::selection {
  background: var(--navy-soft);
  color: #fff;
}

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

a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--coral);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--navy);
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  z-index: 1000;
}
.skip-link:focus {
  left: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 30px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-soft);
  color: #fff;
  border-color: var(--navy-soft);
}
.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--navy-soft);
  border-color: var(--navy-soft);
}
.btn-ghost:hover {
  background: var(--navy-soft);
  color: #fff;
}
.btn-accent {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}
.btn-accent:hover {
  background: #c7644a;
  border-color: #c7644a;
  color: #fff;
}
.btn-lg {
  min-height: 68px;
  font-size: 22px;
  padding: 0 36px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
@media screen and (max-width: 500px) {
  .site-header__row {
    flex-direction: column;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}
.brand__logo {
  width: 58px;
  height: 58px;
  -o-object-fit: contain;
     object-fit: contain;
}
.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__title {
  font-family: var(--font-serif);
  font-size: 25px;
  color: var(--navy-soft);
  font-weight: 900;
}
.brand__kicker {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 18px;
}
@media (max-width: 1024px) {
  .nav {
    display: none;
  }
}

.hero {
  position: relative;
  padding: 70px 0 100px;
}
@media (max-width: 880px) {
  .hero {
    padding: 36px 0 70px;
  }
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-soft);
  margin-bottom: 28px;
}
.hero__kicker .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(224, 120, 86, 0.18);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(46px, 5.8vw, 74px);
  color: var(--navy-soft);
  margin: 0 0 28px;
  font-weight: 500;
  line-height: 1em;
}
.hero h1 em {
  font-style: italic;
  background-image: linear-gradient(var(--sun), var(--sun));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.34em;
}
.hero__lede {
  font-size: 24px;
  color: var(--ink-soft);
  margin: 0 0 36px;
}
.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1.5px solid var(--line);
  padding-top: 28px;
}
@media (max-width: 768px) {
  .hero__facts {
    grid-template-columns: 1fr;
  }
}
.hero__fact {
  padding-right: 18px;
}
.hero__fact + .hero__fact {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
@media (max-width: 768px) {
  .hero__fact + .hero__fact {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 16px;
  }
}
.hero__fact .label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}
.hero__fact .value {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy);
  font-weight: 900;
}
.hero__media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-warm);
  box-shadow: var(--shadow-lg);
}
.hero__media img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.hero__sticker {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--coral);
  color: #fff;
  padding: 22px 28px;
  border-radius: 22px;
  font-family: var(--font-serif);
  font-size: 23px;
  transform: rotate(-3deg);
  box-shadow: var(--shadow-md);
  max-width: 280px;
}
.hero__rainbow {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
}
.hero__rainbow span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

section {
  padding: 80px 0;
}
section.bg-paper {
  background: var(--paper);
}
section.bg-warm {
  background: var(--cream-warm);
}
section.bg-navy {
  background: var(--navy);
  color: #FBF9F4;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1.08;
  color: var(--navy-soft);
  margin: 0 0 18px;
  font-weight: 500;
}
.section-head p {
  font-size: 22px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 768px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

.pillar {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pillar__num {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}
.pillar:nth-child(1) .pillar__num {
  background: var(--coral);
}
.pillar:nth-child(2) .pillar__num {
  background: var(--sun);
  color: var(--navy-soft);
}
.pillar:nth-child(3) .pillar__num {
  background: var(--sage);
}
.pillar h3 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 28px;
  margin: 0;
  color: var(--navy-soft);
}
.pillar p {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0;
}

.planning-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.month-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media screen and (max-width: 576px) {
  .month-nav {
    flex-wrap: wrap;
  }
  .month-nav #btn-prev-month {
    order: 2;
  }
  .month-nav #btn-next-month {
    order: 3;
  }
  .month-nav .month-label {
    order: 1;
    text-align: left !important;
    width: 100%;
  }
}
.month-nav button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--paper);
  cursor: pointer;
  font-size: 22px;
  color: var(--navy);
}
.month-nav button:hover {
  background: var(--navy);
  color: #fff;
}
.month-nav .month-label {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 30px;
  color: var(--navy-soft);
  min-width: 220px;
  text-align: center;
}

.layout-switch {
  display: inline-flex;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px;
}
.layout-switch button {
  border: 0;
  background: transparent;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink-soft);
  cursor: pointer;
}
.layout-switch button.active {
  background: var(--navy-soft);
  color: #fff;
}
@media screen and (max-width: 576px) {
  .layout-switch button[data-layout=week] {
    display: none;
  }
}

.filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.chip {
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip.active {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
  color: #fff;
}
.chip .swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.cal {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.cal__header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 6px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
@media (max-width: 1024px) {
  .cal__grid {
    grid-template-columns: 1fr;
  }
  .cal__grid .cal__day[aria-hidden=true] {
    display: none;
  }
}
.cal__day {
  background: var(--cream);
  border-radius: 10px;
  min-height: 130px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cal__day.closed {
  background: repeating-linear-gradient(45deg, var(--cream-warm) 0 8px, transparent 8px 16px);
}
.cal__day.today .cal__date {
  background: var(--coral);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.cal__date {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.cal__event {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.cal__event:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--navy);
}
.cal__event .time {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  display: block;
}
.cal__event .ttl {
  font-weight: 500;
}

.cat-numerique, .cal__event.numerique {
  border-left-color: var(--sky) !important;
}

.cat-bienetre, .cal__event.bienetre {
  border-left-color: var(--sage) !important;
}

.cat-creatif, .cal__event.creatif {
  border-left-color: var(--rose) !important;
}

.cat-conference, .cal__event.conference {
  border-left-color: var(--navy-soft) !important;
}

.cat-demo, .cal__event.demo {
  border-left-color: var(--sun) !important;
}

.cat-depistage, .cal__event.depistage {
  border-left-color: var(--coral) !important;
}

.cat-cafe, .cal__event.cafe {
  border-left-color: var(--wood) !important;
}

.list-view {
  display: grid;
  gap: 18px;
}

.list-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px 28px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--ink);
}
@media screen and (max-width: 576px) {
  .list-item {
    grid-template-columns: 1fr;
  }
}
.list-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
}
.list-item__date {
  border-right: 1.5px solid var(--line);
  padding-right: 24px;
}
.list-item__date .dow {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.list-item__date .day {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 600;
  color: var(--navy-soft);
  line-height: 1;
}
.list-item__body .cat-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}
.list-item__body h3 {
  font-family: var(--font-serif);
  font-weight: 800;
  line-height: 1.25em;
  font-size: 26px;
  margin: 4px 0 8px;
  color: var(--navy-soft);
}
.list-item__body .meta {
  font-size: 17px;
  color: var(--ink-soft);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
@media screen and (max-width: 576px) {
  .list-item__body .meta {
    flex-direction: column;
  }
}
.list-item__cta {
  font-weight: 700;
  color: var(--navy-soft);
  font-size: 18px;
}
.list-item__cta:after {
  content: " →";
}

.week-view {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
@media (max-width: 768px) {
  .week-view {
    grid-template-columns: 1fr;
  }
}

.week-col {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.week-col__head {
  text-align: center;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 12px;
}
.week-col__head .dow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--muted);
}
.week-col__head .num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 800;
  color: var(--navy-soft);
  line-height: 1;
  margin-top: 4px;
}
.week-col.closed {
  background: var(--cream-warm);
}
.week-col.closed .closed-tag {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 12px;
}

.week-event {
  background: var(--cream);
  border-radius: 10px;
  padding: 12px;
  text-decoration: none;
  color: var(--ink);
  border-left: 4px solid var(--coral);
  display: block;
  transition: background 0.14s ease, transform 0.14s ease;
}
.week-event:hover {
  background: var(--cream-warm);
  color: var(--navy);
  transform: translateY(-2px);
}
.week-event .time {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  display: block;
}
.week-event .ttl {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
  display: block;
  margin-top: 3px;
}
.week-event.numerique {
  border-left-color: var(--sky) !important;
}
.week-event.bienetre {
  border-left-color: var(--sage) !important;
}
.week-event.creatif {
  border-left-color: var(--rose) !important;
}
.week-event.conference {
  border-left-color: var(--navy-soft) !important;
}
.week-event.demo {
  border-left-color: var(--sun) !important;
}
.week-event.depistage {
  border-left-color: var(--coral) !important;
}
.week-event.cafe {
  border-left-color: var(--wood) !important;
}

.week-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
}
.week-nav .week-label {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy-soft);
  font-weight: 800;
  min-width: 280px;
  text-align: center;
}

/* ================================================================
   Événements passés (Style grisé et désactivé)
   ================================================================ */
.is-past {
  opacity: 0.55;
  filter: grayscale(40%);
  cursor: default !important;
  pointer-events: none;
}
.is-past:hover {
  transform: none !important;
  box-shadow: none !important;
}

.list-item__cta.is-disabled {
  color: var(--muted) !important;
  font-weight: 600;
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 18px;
}
@media screen and (max-width: 768px) {
  .gallery {
    display: block;
  }
  .gallery .ph {
    margin: 18px 0;
  }
}
.gallery > .ph {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.gallery > .ph:nth-child(1) {
  grid-row: span 2;
}
.gallery > .ph:nth-child(4) {
  grid-column: span 2;
}

.address-grid {
  display: grid;
  gap: 50px;
  align-items: start;
}
@media (min-width: 1024px) {
  .address-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.address-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.address-card h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy-soft);
  margin: 0 0 24px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 19px;
}
.hours-table td:first-child {
  font-weight: 600;
  color: var(--navy-soft);
}
.hours-table td:last-child {
  text-align: right;
  color: var(--ink-soft);
}

.season-banner {
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--cream-warm);
  border-left: 4px solid var(--coral);
  border-radius: 10px;
  font-size: 18px;
}

.map-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-warm);
  border: 1.5px solid var(--line);
}

.newsletter-card {
  background: var(--navy-soft);
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  color: #fff;
  display: grid;
  grid-template-columns: 45% auto;
  gap: 50px;
  align-items: center;
}
.newsletter-card h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  margin: 0 0 14px;
  font-weight: 500;
  line-height: 1.25em;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.newsletter-form .field {
  display: flex;
  gap: 10px;
}
@media screen and (max-width: 1024px) {
  .newsletter-form .field {
    flex-direction: column;
  }
}
.newsletter-form input[type=email] {
  flex: 1;
  min-height: 60px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 18px;
  width: 280px;
}
@media screen and (max-width: 1024px) {
  .newsletter-form input[type=email] {
    width: 100%;
  }
}
.newsletter-form .consent {
  font-size: 15px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 80%;
}
@media screen and (max-width: 1024px) {
  .newsletter-form .consent {
    max-width: 100%;
  }
}
.newsletter-form .consent input {
  margin-top: 4px;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  accent-color: var(--navy-soft);
  display: inline-block;
}
.newsletter-form.sent .wpcf7-response-output {
  border-color: var(--cream-warm) !important;
  background: var(--cream);
  border-radius: 20px;
  color: var(--ink);
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.contact-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card .label {
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.contact-card .big {
  font-family: var(--font-serif);
  font-size: 44px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 900;
}
@media screen and (max-width: 576px) {
  .contact-card .big {
    font-size: 34px;
  }
}

@media screen and (max-width: 576px) {
  .newsletter-card {
    grid-template-columns: 1fr !important;
    padding: 30px;
  }
  .newsletter-form .field {
    flex-direction: column;
  }
  .newsletter-form .field input {
    width: 100%;
  }
  .contact-band {
    grid-template-columns: 1fr;
  }
}
.back-bar {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.back-bar .back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  color: var(--navy-soft);
  padding: 10px 4px;
}

.event-hero {
  padding: 50px 0 30px;
}
.event-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
}
.event-hero__cat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  border: 1.5px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.event-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 60px);
  color: var(--navy-soft);
  margin: 0 0 22px;
  line-height: 1em;
  font-weight: 500;
}
.event-hero__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1.5px solid var(--line);
  padding-top: 28px;
}

.meta-card .label {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.meta-card .value {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--navy-soft);
  font-weight: 800;
}

.event-body__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: start;
}
@media (min-width: 1024px) {
  .event-body__grid {
    grid-template-columns: 1fr 1.4fr;
  }
}

.event-prose {
  font-size: 21px;
  line-height: 1.65;
}
.event-prose h2, .event-prose h3, .event-prose h4 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--navy-soft);
  margin: 0 0 16px;
  font-weight: 800;
}
.event-prose h3 {
  font-size: 24px;
}

.form-card {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-card h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--navy-soft);
  margin: 0 0 8px;
  font-weight: 800;
}
.form-card p.intro {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 24px;
  line-height: 1.5;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.form-row .req {
  color: var(--coral);
}
.form-row .help {
  font-size: 15px;
  color: var(--muted);
}
.form-row label {
  font-size: 17px;
  font-weight: 600;
}
.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=tel] {
  min-height: 56px;
  padding: 0 18px;
  border-radius: 12px;
  border: 2px solid var(--line-strong);
  background: var(--cream);
  font-size: 19px;
  width: 100%;
}
.form-row input[type=text]:focus,
.form-row input[type=email]:focus,
.form-row input[type=tel]:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
}
.form-row input[type=text].error,
.form-row input[type=email].error,
.form-row input[type=tel].error {
  border-color: var(--coral);
}

.err-msg {
  font-size: 15px;
  color: #B23A2A;
  font-weight: 600;
}

.consent-box {
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin: 12px 0 22px;
  display: flex;
  gap: 14px;
}
.consent-box .text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.consent-box input[type=checkbox] {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--navy-soft);
}

.wpcf7 form .wpcf7-response-output {
  border-radius: 20px;
  color: white;
  font-weight: 700;
  padding: 10px 20px;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: var(--sage);
  border-color: var(--sage) !important;
  color: white !important;
}

.wpcf7 form.spam .wpcf7-response-output {
  background: var(--coral);
  border-color: var(--coral);
}

.wpcf7 form.error .wpcf7-response-output {
  background: var(--navy);
  border-color: var(--navy);
}

.rgpd-notice {
  font-size: 15px;
  color: var(--muted);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.related-events {
  padding-top: 40px;
}
.related-events h2 {
  font-family: var(--font-serif);
  font-weight: 800;
  color: var(--navy-soft);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media screen and (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-grid h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: #fff;
  margin: 0 0 18px;
  font-weight: 900;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-grid a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 17px;
}
.footer-grid a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-grid .brand__title {
  font-weight: 900;
  color: var(--cream);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.grecaptcha-badge {
  display: none !important;
}