:root {
  --fete-blue: #0878c9;
  --fete-blue-deep: #073a68;
  --fete-navy: #061f3a;
  --fete-red: #c92f20;
  --fete-yellow: #ffca28;
  --fete-green: #3f7c25;
  --fete-cream: #fff8ec;
  --fete-white: #ffffff;
  --fete-ink: #10283f;
  --fete-muted: #607184;
  --nav-height: 82px;
  --shadow-soft: 0 20px 60px rgba(6, 31, 58, .12);
  --shadow-card: 0 12px 34px rgba(6, 31, 58, .1);
  --radius-lg: 1.75rem;
  --radius-md: 1.2rem;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 18px);
  overflow-x: clip;
}

body {
  position: relative;
  overflow-x: hidden;
  color: var(--fete-ink);
  background: var(--fete-white);
  font-family: var(--bs-font-sans-serif);
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--fete-white);
  background: var(--fete-red);
}

a {
  text-underline-offset: .2em;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 2000;
  padding: .75rem 1rem;
  color: var(--fete-navy);
  background: white;
  border-radius: .5rem;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section {
  position: relative;
  padding: clamp(5rem, 8vw, 8rem) 0;
}

.display-title {
  margin-bottom: 1rem;
  color: var(--fete-navy);
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .98;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.15rem;
  color: var(--fete-red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 2.25rem;
  height: 3px;
  background: currentColor;
  border-radius: 999px;
}

.eyebrow-light {
  color: var(--fete-yellow);
}

.eyebrow-warm {
  color: var(--fete-yellow);
}

.text-white-75 {
  color: rgba(255, 255, 255, .76);
}

.btn {
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-padding-y: .72rem;
  --bs-btn-border-radius: 999px;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background-color .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-fete {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--fete-red);
  --bs-btn-border-color: var(--fete-red);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #a92519;
  --bs-btn-hover-border-color: #a92519;
  box-shadow: 0 8px 24px rgba(238, 56, 36, .3);
}

/* Navigation */
.site-navbar {
  min-height: var(--nav-height);
  padding: .72rem 0;
  background: rgba(6, 31, 58, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: padding .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.site-navbar.is-scrolled {
  padding: .48rem 0;
  background: rgba(6, 31, 58, .985);
  box-shadow: 0 10px 35px rgba(4, 18, 34, .24);
}

.navbar-brand {
  color: white;
  font-weight: 900;
  letter-spacing: -.02em;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-title {
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
  white-space: nowrap;
}

.brand-title small {
  color: var(--fete-yellow);
  font-size: .65rem;
  letter-spacing: .08em;
  vertical-align: top;
}

.brand-subtitle {
  margin-top: .38rem;
  color: rgba(255, 255, 255, .58);
  font-size: .56rem;
  font-weight: 650;
  letter-spacing: .045em;
  white-space: nowrap;
}

.brand-city-logo {
  width: 2.1rem;
  height: 3rem;
  padding: .16rem;
  object-fit: contain;
  background: white;
  border-radius: .48rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}

.site-navbar .nav-link {
  position: relative;
  margin: 0 .25rem;
  padding: .6rem .55rem;
  color: rgba(255, 255, 255, .78);
  font-size: .91rem;
  font-weight: 700;
}

.site-navbar .nav-link::after {
  position: absolute;
  right: .55rem;
  bottom: .28rem;
  left: .55rem;
  height: 2px;
  content: "";
  background: var(--fete-yellow);
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: white;
}

.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, .25);
}

/* Hero */
.hero {
  padding-top: var(--nav-height);
  background: var(--fete-navy);
}

.hero-picture {
  display: block;
  overflow: hidden;
  background: var(--fete-blue);
}

.hero-picture img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-ribbon {
  position: relative;
  z-index: 2;
  padding: 1.8rem 0;
  color: white;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 202, 40, .16), transparent 22%),
    linear-gradient(105deg, var(--fete-blue-deep), var(--fete-navy));
  box-shadow: 0 15px 40px rgba(6, 31, 58, .22);
}

.hero-ribbon::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--fete-red) 0 25%, white 25% 50%, var(--fete-blue) 50% 75%, var(--fete-yellow) 75%);
}

.hero-kicker {
  color: var(--fete-yellow);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-date {
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 850;
  letter-spacing: -.02em;
}

.hero-date i {
  margin-right: .45rem;
  color: var(--fete-yellow);
}

.hero-date span {
  margin: 0 .35rem;
  color: var(--fete-red);
}

/* Introduction */
.intro-section {
  background:
    radial-gradient(circle at 0 0, rgba(8, 120, 201, .08), transparent 26%),
    radial-gradient(circle at 100% 100%, rgba(255, 202, 40, .1), transparent 24%),
    white;
}

.intro-section .lead {
  max-width: 48rem;
  color: var(--fete-ink) !important;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
}

.intro-story {
  display: grid;
  grid-template-columns: minmax(11rem, 13.5rem) 1fr;
  align-items: center;
  gap: clamp(1.25rem, 2.8vw, 2rem);
  margin-top: 1.75rem;
}

.intro-story-image {
  margin: 0;
}

.intro-story-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.1rem;
  box-shadow: 0 14px 32px rgba(6, 31, 58, .16);
  transform: rotate(-1.5deg);
  transition: transform .35s cubic-bezier(.2, .75, .2, 1);
}

.intro-story:hover .intro-story-image img {
  transform: rotate(0) scale(1.025);
}

.intro-story-copy p {
  margin-bottom: 0;
  color: var(--fete-muted);
  font-size: .94rem;
  line-height: 1.65;
}

.intro-story-copy .dress-code-copy {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 2px solid rgba(255, 202, 40, .75);
}

.dress-code-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .55rem;
  color: var(--fete-blue-deep);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.dress-code-title i {
  color: var(--fete-red);
}

.dress-code-copy strong {
  color: var(--fete-blue-deep);
  font-weight: 900;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  transform: rotate(1.5deg);
}

.number-card {
  position: relative;
  display: flex;
  min-height: 11rem;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 1.45rem;
  color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}

.number-card:hover {
  z-index: 2;
  transform: translateY(-7px) rotate(-2deg);
  box-shadow: 0 22px 42px rgba(6, 31, 58, .18);
}

.number-card i {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(255, 255, 255, .28);
  font-size: 3.5rem;
}

.number-card strong {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: .9;
}

.number-card span {
  margin-top: .5rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.number-blue { background: var(--fete-blue); }
.number-red { background: var(--fete-red); transform: translateY(1.6rem); }
.number-yellow { color: var(--fete-navy); background: var(--fete-yellow); }
.number-yellow i { color: rgba(6, 31, 58, .18); }
.number-green { background: var(--fete-green); transform: translateY(1.6rem); }

.family-events-showcase {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  overflow: visible;
  padding: clamp(1.4rem, 3.5vw, 3rem) 0;
  color: var(--fete-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.family-section {
  padding: 0 0 clamp(1.5rem, 3vw, 2.75rem);
  background: linear-gradient(
    180deg,
    #fff 0%,
    #fff9ed 7%,
    #fff2d4 46%,
    #ffebe4 78%,
    #fff 100%
  );
}

.family-events-showcase::before {
  display: none;
}

.family-events-eyebrow {
  color: var(--fete-red);
}

.family-events-title {
  max-width: 48rem;
  color: var(--fete-navy);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
}

.family-events-lead {
  color: #4f6070;
  font-size: 1rem;
  line-height: 1.65;
}

.family-events-grid {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.family-events-stack {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.family-event-card {
  --family-tilt: 0deg;
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  background: var(--fete-navy);
  border: clamp(3px, .45vw, 6px) solid white;
  border-radius: clamp(1rem, 2vw, 1.55rem);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .3);
  transform: rotate(var(--family-tilt));
  transition: transform .5s cubic-bezier(.2, .75, .2, 1), box-shadow .5s ease;
}

.family-event-tall { --family-tilt: -.45deg; }
.family-event-games { --family-tilt: .35deg; }
.family-event-fireworks { --family-tilt: -.25deg; }

.family-event-card::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: calc(clamp(1rem, 2vw, 1.55rem) - 6px);
  box-shadow: inset 0 0 35px rgba(6, 31, 58, .15);
  pointer-events: none;
}

.family-event-card::after {
  position: absolute;
  top: -70%;
  left: -65%;
  z-index: 3;
  width: 30%;
  height: 240%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
  transform: rotate(18deg);
  transition: left .85s cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
}

.family-event-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter .5s ease, transform .65s cubic-bezier(.2, .75, .2, 1);
}

.family-event-card:hover {
  z-index: 4;
  box-shadow: 0 28px 65px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 202, 40, .35);
  transform: translateY(-8px) rotate(0) scale(1.012);
}

.family-event-card:hover::after {
  left: 140%;
}

.family-event-card:hover img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.012);
}

.confetti {
  position: absolute;
  display: block;
  width: 1rem;
  height: 4.5rem;
  border-radius: 999px;
  transform: rotate(35deg);
}

.confetti-one {
  top: 15%;
  left: 3%;
  background: var(--fete-red);
}

.confetti-two {
  right: 4%;
  bottom: 12%;
  height: 3rem;
  background: var(--fete-yellow);
  transform: rotate(-48deg);
}

/* Programme */
.programme-section {
  color: var(--fete-ink);
  background: var(--fete-cream);
}

.wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 32px;
  background: white;
  clip-path: polygon(0 0, 100% 0, 100% 28%, 92% 58%, 83% 26%, 74% 70%, 64% 35%, 53% 74%, 43% 32%, 33% 66%, 21% 29%, 11% 70%, 0 36%);
}

.section-heading {
  max-width: 50rem;
  margin-bottom: 3.1rem;
}

.programme-nav {
  gap: .75rem;
  margin-bottom: 2rem;
}

.programme-nav .nav-link {
  display: flex;
  min-width: 10.5rem;
  flex-direction: column;
  padding: 1rem 1.5rem;
  color: var(--fete-muted);
  background: white;
  border: 1px solid rgba(7, 58, 104, .09);
  border-radius: 1rem;
  box-shadow: 0 5px 18px rgba(6, 31, 58, .06);
  transition: transform .25s ease, color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.programme-nav .nav-link:hover {
  color: var(--fete-blue-deep);
  transform: translateY(-3px);
}

.programme-nav .nav-link.active {
  color: white;
  background: var(--fete-blue-deep);
  box-shadow: 0 12px 30px rgba(7, 58, 104, .24);
  transform: translateY(-4px);
}

.programme-nav span {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.programme-nav strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.programme-content {
  max-width: 67rem;
  margin: 0 auto;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(7, 58, 104, .08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.day-intro {
  display: grid;
  grid-template-columns: 14rem 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 3rem;
  color: white;
  background: var(--fete-blue-deep);
}

.day-intro > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.day-number {
  color: var(--fete-yellow);
  font-size: 4rem;
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: .8;
}

.day-number + span {
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.day-intro p {
  margin: 0;
  color: white;
}

.day-intro strong {
  color: white;
}

.day-saturday {
  background: linear-gradient(110deg, #9d2218, var(--fete-red));
}

.day-saturday .day-number { color: white; }

.day-sunday {
  background: linear-gradient(110deg, #3c761d, var(--fete-green));
}

.day-sunday .day-number { color: var(--fete-yellow); }

.timeline {
  position: relative;
  padding: 1.5rem 3rem 2.3rem;
}

.timeline::before {
  position: absolute;
  top: 2rem;
  bottom: 3rem;
  left: 11.1rem;
  width: 2px;
  content: "";
  background: linear-gradient(var(--fete-blue), rgba(8, 120, 201, .08));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(7, 58, 104, .08);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-item::before {
  position: absolute;
  top: 2.05rem;
  left: 7.5rem;
  width: .78rem;
  height: .78rem;
  content: "";
  background: white;
  border: 3px solid var(--fete-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 5px white;
}

.timeline-item.featured-event::before {
  background: var(--fete-red);
  border-color: var(--fete-red);
}

.timeline-item time {
  padding-top: .18rem;
  color: var(--fete-blue-deep);
  font-size: .85rem;
  font-weight: 900;
  line-height: 1.25;
}

.timeline-item h3 {
  margin: .45rem 0 .35rem;
  color: var(--fete-navy);
  font-size: 1.13rem;
  font-weight: 850;
  letter-spacing: -.015em;
}

.timeline-item p {
  margin-bottom: .2rem;
  color: var(--fete-muted);
  font-size: .94rem;
}

.event-place {
  margin-top: .45rem;
  color: var(--fete-blue-deep) !important;
  font-size: .82rem !important;
  font-weight: 750;
}

.event-place i {
  margin-right: .25rem;
  color: var(--fete-red);
}

.event-tag {
  display: inline-flex;
  padding: .25rem .55rem;
  color: var(--fete-blue-deep);
  background: rgba(8, 120, 201, .11);
  border-radius: 999px;
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tag-music, .tag-night { color: #7b1469; background: #fae5f7; }
.tag-food { color: #9a2a19; background: #ffe7df; }
.tag-sport { color: #116393; background: #dff3ff; }
.tag-family { color: #496c11; background: #eef8d9; }
.tag-official { color: #825500; background: #fff1bc; }
.tag-tradition { color: #394a9b; background: #e8eaff; }
.tag-culture { color: #7a3f08; background: #fff0d6; }

/* Highlights */
.highlights-section {
  background: white;
}

.highlights-grid {
  display: grid;
  grid-auto-rows: 17rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.highlight-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: var(--fete-navy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

.highlight-tall {
  grid-row: span 2;
}

.highlight-wide {
  grid-column: span 2;
}

.highlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2, .75, .2, 1), filter .5s ease;
}

.highlight-tall img {
  object-position: center top;
}

.highlight-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(180deg, transparent 30%, rgba(4, 18, 34, .92));
  pointer-events: none;
}

.highlight-card:hover img {
  filter: saturate(1.1);
  transform: scale(1.055);
}

.highlight-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 1.4rem;
  color: white;
  transform: translateY(.25rem);
  transition: transform .3s ease;
}

.highlight-card:hover .highlight-overlay {
  transform: translateY(0);
}

.highlight-overlay span {
  color: var(--fete-yellow);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.highlight-overlay h3 {
  margin: .3rem 0 .15rem;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -.035em;
}

.highlight-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .82rem;
}

/* Joutes */
.joutes-section {
  padding-top: 1rem;
  background: white;
}

.joutes-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(37rem, 54vw, 46rem);
  overflow: hidden;
  align-items: flex-end;
  padding: clamp(2rem, 6vw, 5rem);
  background-image:
    linear-gradient(90deg, rgba(4, 25, 46, .96) 0%, rgba(4, 25, 46, .88) 30%, rgba(4, 25, 46, .52) 56%, rgba(4, 25, 46, .08) 80%),
    linear-gradient(0deg, rgba(4, 25, 46, .86) 0%, rgba(4, 25, 46, .08) 48%),
    url("../assets/images/joutes-agde-background.jpg");
  background-position: center 48%;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: calc(var(--radius-lg) + .4rem);
  box-shadow: 0 24px 65px rgba(6, 31, 58, .22);
}

.joutes-panel::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 -8rem 10rem rgba(3, 19, 36, .14);
  pointer-events: none;
}

.joutes-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.joutes-copy {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.joutes-copy .display-title {
  max-width: 34rem;
  text-shadow: 0 4px 22px rgba(0, 0, 0, .34);
}

.joutes-copy .text-white-75 {
  max-width: 36rem;
  font-size: 1.03rem;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.joutes-associations {
  width: min(100%, 45rem);
}

.joutes-associations-title {
  margin: 0 0 .7rem;
  color: white;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
  text-transform: uppercase;
}

.joutes-logos {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.joutes-logos figure {
  display: grid;
  width: 5.75rem;
  height: 5.75rem;
  flex: 0 0 5.75rem;
  overflow: hidden;
  place-items: center;
  margin: 0;
  padding: .6rem;
  background: rgba(255, 255, 255, .96);
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: .9rem;
  box-shadow: 0 9px 22px rgba(0, 0, 0, .2);
  transition: box-shadow .25s ease, transform .25s ease;
}

.joutes-logos figure:hover {
  box-shadow: 0 12px 26px rgba(0, 0, 0, .2);
  transform: translateY(-3px);
}

.joutes-logos img {
  display: block;
  width: 84%;
  height: 84%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Bodegas */
.bodegas-section {
  margin-top: 5rem;
  background:
    radial-gradient(circle at 5% 20%, rgba(255, 202, 40, .15), transparent 18%),
    radial-gradient(circle at 100% 100%, rgba(238, 56, 36, .14), transparent 24%),
    var(--fete-red);
}

.bodegas-section::before,
.bodegas-section::after {
  position: absolute;
  top: -1.25rem;
  width: 0;
  height: 0;
  content: "";
  border-right: 1.35rem solid transparent;
  border-left: 1.35rem solid transparent;
  border-top: 2.5rem solid var(--fete-blue);
}

.bodegas-section::before { left: 12%; }
.bodegas-section::after { left: 17%; border-top-color: var(--fete-yellow); }

.bodegas-section .eyebrow-warm,
.bodegas-section .text-white-75 {
  color: white;
}

.bodega-hours {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  margin-top: 1.2rem;
  padding: .95rem 1.1rem;
  color: var(--fete-navy);
  background: var(--fete-yellow);
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(91, 18, 10, .18);
}

.bodega-hours i { font-size: 1.55rem; }
.bodega-hours div { display: flex; flex-direction: column; }
.bodega-hours strong { font-size: .85rem; font-weight: 900; }
.bodega-hours span { font-size: .75rem; font-weight: 650; }

.bodegas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}

.bodega-card {
  position: relative;
  display: flex;
  min-height: 6.5rem;
  align-items: center;
  gap: 1rem;
  padding: .75rem .75rem .75rem 1.15rem;
  color: white;
  background: rgba(91, 18, 10, .18);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 1rem;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: background-color .25s ease, transform .25s ease;
}

.bodega-card:hover {
  color: var(--fete-red);
  background: white;
  transform: translateX(5px);
}

.bodega-card > i {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  place-items: center;
  color: var(--fete-navy);
  background: var(--fete-yellow);
  border-radius: 50%;
}

.bodega-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.bodega-name {
  display: block;
  font-size: .86rem;
  font-weight: 850;
  line-height: 1.25;
}

.bodega-specialty {
  display: flex;
  align-items: flex-start;
  gap: .42rem;
  margin-top: .4rem;
  color: rgba(255, 255, 255, .82);
  font-size: .7rem;
  font-weight: 650;
  line-height: 1.35;
}

.bodega-specialty i {
  flex: 0 0 auto;
  margin-top: .13rem;
  color: var(--fete-yellow);
  font-size: .72rem;
}

.bodega-card:hover .bodega-specialty {
  color: var(--fete-muted);
}

.bodega-card:hover .bodega-specialty i {
  color: var(--fete-red);
}

.bodega-logo {
  display: grid;
  width: 4.65rem;
  height: 4.65rem;
  flex: 0 0 4.65rem;
  overflow: hidden;
  place-items: center;
  color: var(--fete-red);
  background: white;
  border: 3px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(83, 15, 9, .2);
  transition: transform .3s cubic-bezier(.2, .75, .2, 1), box-shadow .3s ease;
}

.bodega-logo img {
  width: 100%;
  height: 100%;
  padding: .38rem;
  object-fit: contain;
}

.bodega-logo-photo img {
  padding: 0;
  object-fit: cover;
}

.bodega-logo-fallback {
  color: var(--fete-blue-deep);
  background:
    linear-gradient(135deg, rgba(255, 202, 40, .26), transparent 48%),
    white;
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -.04em;
}

.bodega-card:hover .bodega-logo {
  border-color: white;
  box-shadow: 0 10px 24px rgba(83, 15, 9, .22);
  transform: scale(1.08) rotate(2deg);
}

/* Autour de la Fête */
.around-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 202, 40, .2), transparent 24rem),
    radial-gradient(circle at 96% 90%, rgba(8, 120, 201, .12), transparent 26rem),
    var(--fete-cream);
}

.around-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(7, 58, 104, .1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform .35s cubic-bezier(.2, .75, .2, 1), box-shadow .35s ease;
}

.around-card:hover {
  box-shadow: 0 24px 55px rgba(6, 31, 58, .16);
  transform: translateY(-8px);
}

.around-intro {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 3vw, 3rem);
  color: var(--fete-navy);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .22), transparent 42%),
    linear-gradient(145deg, #ffdb37 0%, #ff9a24 54%, #ee3824 100%);
  border: 0;
}

.around-intro-icon {
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 2rem;
  place-items: center;
  color: white;
  background: var(--fete-navy);
  border-radius: 1.3rem 1.3rem 1.3rem .35rem;
  box-shadow: 0 14px 28px rgba(97, 36, 6, .22);
  font-size: 1.6rem;
  transform: rotate(-4deg);
}

.around-kicker {
  margin-bottom: .8rem;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.around-intro h2 {
  margin-bottom: 1.2rem;
  color: var(--fete-navy);
  font-size: clamp(2.35rem, 4vw, 3.8rem);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: .96;
}

.around-intro > p:not(.around-kicker) {
  margin-bottom: 1.8rem;
  color: rgba(6, 31, 58, .82);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.65;
}

.around-intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.around-intro-tags span {
  padding: .55rem .8rem;
  color: white;
  background: rgba(6, 31, 58, .9);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 850;
}

.around-event-card {
  display: flex;
  flex-direction: column;
}

.around-image {
  position: relative;
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  overflow: hidden;
  margin: 0;
  background: #efe2ca;
}

.around-image::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, .3);
  pointer-events: none;
}

.around-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .45s ease, transform .7s cubic-bezier(.2, .75, .2, 1);
}

.around-card:hover .around-image img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.035);
}

.around-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.65rem;
}

.around-label {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .7rem;
  color: var(--fete-red);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.around-content h3 {
  margin-bottom: 1rem;
  color: var(--fete-navy);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.around-content > p:not(.around-label, .around-highlight) {
  color: var(--fete-muted);
  font-size: .84rem;
  line-height: 1.6;
}

.around-details {
  display: grid;
  gap: .55rem;
  margin: .35rem 0 1rem;
  padding: .9rem;
  background: rgba(8, 120, 201, .07);
  border-radius: .9rem;
}

.around-details p {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: .5rem;
  margin: 0;
  color: var(--fete-ink);
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.45;
}

.around-details i {
  margin-top: .18rem;
  color: var(--fete-blue);
}

.around-details a {
  color: var(--fete-ink);
  font-weight: 850;
  text-decoration-color: rgba(7, 58, 104, .3);
  transition: color .2s ease, text-decoration-color .2s ease;
}

.around-details a:hover {
  color: var(--fete-blue);
  text-decoration-color: currentColor;
}

.around-description {
  margin-bottom: 1rem;
}

.around-highlight {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin: auto 0 0;
  padding: .85rem .95rem;
  color: var(--fete-navy);
  background: rgba(255, 202, 40, .34);
  border-left: 4px solid var(--fete-yellow);
  border-radius: .25rem .8rem .8rem .25rem;
  font-size: .77rem;
  font-weight: 850;
  line-height: 1.45;
}

.around-highlight i {
  margin-top: .18rem;
  color: var(--fete-red);
}

/* Practical */
.practical-section {
  background:
    linear-gradient(rgba(8, 120, 201, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 120, 201, .04) 1px, transparent 1px),
    white;
  background-size: 28px 28px;
}

.place-card {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 2rem;
  background: white;
  border: 1px solid rgba(7, 58, 104, .1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}

.place-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(6, 31, 58, .15);
}

.place-card-main {
  color: white;
  background: var(--fete-blue-deep);
  transform: translateY(-1rem);
}

.place-card-main:hover {
  transform: translateY(-1.5rem);
}

.place-icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  color: var(--fete-blue-deep);
  background: var(--fete-yellow);
  border-radius: 1rem 1rem 1rem .25rem;
  font-size: 1.3rem;
}

.place-number {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  margin: 0;
  color: rgba(7, 58, 104, .08) !important;
  font-size: 4rem;
  font-weight: 950;
  line-height: 1;
}

.place-card-main .place-number { color: rgba(255, 255, 255, .08) !important; }

.place-card h3 {
  margin: 1.5rem 0 .7rem;
  color: var(--fete-navy);
  font-size: 1.25rem;
  font-weight: 900;
}

.place-card-main h3 { color: white; }

.place-card p {
  color: var(--fete-muted);
  font-size: .92rem;
}

.place-card-main p { color: rgba(255, 255, 255, .7); }

.place-card a {
  color: var(--fete-red);
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
}

.place-card-main a { color: var(--fete-yellow); }

.place-card a i {
  margin-left: .25rem;
  font-size: .7rem;
}

.place-card > a {
  align-self: flex-start;
  margin-bottom: 1.5rem;
}

.place-image {
  position: relative;
  width: calc(100% + 4rem);
  height: 11rem;
  flex: 0 0 11rem;
  overflow: hidden;
  margin: auto -2rem -2rem;
  background: var(--fete-blue-deep);
}

.place-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2, .75, .2, 1), filter .4s ease;
}

.place-image-cathedrale img {
  object-position: center 58%;
}

.place-card:hover .place-image img {
  filter: saturate(1.08);
  transform: scale(1.055);
}

/* Closing & footer */
.closing-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 0;
  color: white;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .11), transparent 36%),
    var(--fete-blue);
}

.closing-banner::before,
.closing-banner::after {
  position: absolute;
  width: 22rem;
  height: 22rem;
  content: "";
  border: 4rem solid rgba(255, 255, 255, .045);
  border-radius: 50%;
}

.closing-banner::before { top: -12rem; left: -9rem; }
.closing-banner::after { right: -9rem; bottom: -13rem; }

.closing-banner p {
  margin-bottom: 1rem;
  color: white;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.closing-banner h2 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: .98;
}

.closing-star {
  position: absolute;
  color: var(--fete-yellow);
  font-size: 2rem;
  animation: star-pulse 2.2s ease-in-out infinite;
}

.closing-star-left { top: 20%; left: 5%; transform: rotate(-15deg); }
.closing-star-right { right: 5%; bottom: 20%; animation-delay: .5s; }

.site-footer {
  padding: 2.5rem 0;
  color: rgba(255, 255, 255, .58);
  background: var(--fete-navy);
  font-size: .8rem;
}

.footer-grid {
  display: grid;
  grid-template-areas: "sites identity legal";
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
}

.footer-sites { grid-area: sites; }
.footer-center { grid-area: identity; }
.footer-legal { grid-area: legal; }

.footer-identity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-city-logo {
  width: 2.65rem;
  height: 3.9rem;
  flex: 0 0 2.65rem;
  padding: .18rem;
  object-fit: contain;
  background: white;
  border-radius: .55rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}

.footer-brand {
  display: inline-block;
  margin-bottom: .25rem;
  color: white;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -.025em;
  text-decoration: none;
}

.footer-brand span { color: var(--fete-yellow); }

.footer-identity p {
  color: rgba(255, 255, 255, .58);
  font-size: .76rem;
  letter-spacing: .025em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}

.footer-legal {
  align-items: flex-end;
  text-align: right;
}

.site-footer a:not(.footer-brand) {
  color: white;
  font-weight: 750;
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer a:not(.footer-brand):hover {
  color: var(--fete-yellow);
}

.footer-sites i {
  margin-left: .2rem;
  font-size: .65rem;
}

/* Entrance animations */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .75, .2, 1);
}

.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }

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

@keyframes star-pulse {
  0%, 100% { opacity: .7; transform: scale(.85) rotate(-10deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(8deg); }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: .75rem;
    padding: .75rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1rem;
  }

  .site-navbar .nav-link {
    padding: .7rem .75rem;
  }

  .site-navbar .nav-link::after {
    display: none;
  }

  .numbers-grid {
    max-width: 34rem;
    margin: 0 auto;
  }

  .joutes-panel {
    min-height: 42rem;
    background-position: 58% center;
  }
}

@media (max-width: 767.98px) {
  :root { --nav-height: 77px; }

  .section {
    padding: 4.5rem 0;
  }

  .hero-picture img {
    width: 100%;
    height: auto;
  }

  .hero-ribbon {
    padding: 1.45rem 0;
  }

  .hero-date span {
    display: none;
  }

  .hero-date {
    font-size: 1.12rem;
  }

  .hero-date i {
    display: none;
  }

  .hero-ribbon .btn-lg {
    --bs-btn-font-size: .88rem;
    flex: 1 1 auto;
  }

  .numbers-grid {
    gap: .7rem;
    transform: none;
  }

  .number-card {
    min-height: 9rem;
    padding: 1.1rem;
  }

  .number-card strong { font-size: 3rem; }
  .number-card i { font-size: 2.6rem; }
  .number-red, .number-green { transform: none; }

  .family-events-showcase {
    padding: 1.15rem 0;
  }

  .family-events-grid {
    grid-template-columns: 1fr;
  }

  .family-event-tall {
    width: min(100%, 28rem);
    justify-self: center;
  }

  .family-event-card,
  .family-event-card:hover {
    transform: none;
  }

  .intro-story {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .intro-story-image {
    width: min(100%, 20rem);
    justify-self: center;
  }

  .programme-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .4rem;
  }

  .programme-nav .nav-link {
    min-width: 0;
    width: 100%;
    padding: .75rem .35rem;
  }

  .programme-nav span { font-size: .58rem; }
  .programme-nav strong { font-size: .82rem; }

  .programme-content {
    border-radius: 1.2rem;
  }

  .day-intro {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.6rem;
  }

  .timeline {
    padding: .75rem 1.25rem 1.25rem;
  }

  .timeline::before {
    left: 1.62rem;
  }

  .timeline-item {
    display: block;
    padding: 1.25rem 0 1.25rem 2rem;
  }

  .timeline-item::before {
    top: 1.55rem;
    left: .02rem;
  }

  .timeline-item time {
    display: block;
    margin-bottom: .6rem;
    color: var(--fete-red);
  }

  .highlights-grid {
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
  }

  .highlight-tall,
  .highlight-wide {
    grid-row: auto;
    grid-column: auto;
  }

  .highlight-card { height: 20rem; }
  .highlight-tall { height: 28rem; min-height: 0; }

  .joutes-section { padding-top: .5rem; }

  .joutes-panel {
    min-height: 44rem;
    padding: 12rem 1.2rem 1.2rem;
    background-image:
      linear-gradient(180deg, rgba(4, 25, 46, .12) 0%, rgba(4, 25, 46, .42) 32%, rgba(4, 25, 46, .91) 58%, rgba(4, 25, 46, .98) 100%),
      url("../assets/images/joutes-agde-background.jpg");
    background-position: 62% center;
    border-radius: 1.4rem;
  }

  .joutes-copy {
    margin-bottom: 1.4rem;
  }

  .joutes-copy .text-white-75 {
    font-size: .94rem;
    line-height: 1.55;
  }

  .joutes-associations-title {
    margin-bottom: .55rem;
    font-size: .64rem;
  }

  .joutes-logos {
    gap: .45rem;
  }

  .joutes-logos figure {
    width: 5rem;
    height: 5rem;
    flex-basis: 5rem;
    padding: .52rem;
    border-radius: .75rem;
  }

  .bodegas-section { margin-top: 3rem; }
  .bodegas-grid { grid-template-columns: 1fr; }
  .bodega-card {
    min-height: 6rem;
    gap: .75rem;
    padding: .65rem .65rem .65rem .9rem;
  }
  .bodega-logo {
    width: 4.25rem;
    height: 4.25rem;
    flex-basis: 4.25rem;
  }

  .around-card,
  .around-card:hover {
    transform: none;
  }

  .around-intro {
    min-height: 30rem;
  }

  .place-card-main,
  .place-card-main:hover {
    transform: none;
  }

  .closing-star { display: none; }

  .footer-grid {
    grid-template-areas:
      "identity"
      "sites"
      "legal";
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: center;
  }

  .footer-links,
  .footer-legal {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .brand-city-logo { width: 1.85rem; height: 2.7rem; }
  .brand-title { font-size: 1.08rem; }
  .brand-title small { font-size: .56rem; }
  .brand-subtitle {
    margin-top: .3rem;
    font-size: .48rem;
    letter-spacing: .025em;
  }
  .display-title { font-size: 2.35rem; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .number-card span { font-size: .67rem; }
  .programme-nav strong { font-size: .74rem; }
  .programme-nav sup { font-size: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
