/* ================================
   FONTS ET VARIABLES GLOBALES
================================ */

/* Curseur coeur global */
* {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%23992A22' stroke='%23FFFFFF' stroke-width='1' d='M23.6 4c-2.6 0-4.8 1.7-5.6 4.1C17.2 5.7 15 4 12.4 4 9.3 4 7 6.5 7 9.9c0 6.1 8.9 11.1 11 12.1 2.1-1 11-6 11-12.1C29 6.5 26.7 4 23.6 4z'/%3E%3C/svg%3E") 16 16, auto!important;
}

a,
button {
  cursor: pointer!important;
}

@font-face {
  font-family: "Antiga-Regular";
  src: url("Antiga-Regular.woff") format("woff");
}

:root {
  --red: #992A22;
  --cream: #F5ECE5;
  --text-light: #FDF7F4;
  --text-muted: #D8C2B8;
  --transition: all .35s ease;
  --max-width: 1070px;
}

/* ================================
   RESET ET BASE
================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  font-family: "PingFang SC Regular", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--red);
  font-weight: 200;
  color: var(--text-light);
  position: relative;
  overflow-x: hidden;
}

body.overlay-open {
  scroll-snap-type: none !important;
  overflow: hidden !important;
}

body.rsvp-open {
  overflow: hidden;
}

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

.luxurious-script-regular {
  font-family: "Luxurious Script", cursive;
  font-weight: 400;
  font-style: normal;
}

@media (max-width: 900px) {
  html,
  body {
    scroll-snap-type: none;
  }

  .section {
    scroll-snap-align: none;
  }
}

/* ================================
   LANG SWITCH
================================ */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lang-separator {
  opacity: 0.5;
}

.lang-link {
  padding: 1px 4px 1.7px 6px;
  border: 1px solid transparent;
  opacity: 0.6;
  transition: var(--transition);
}

.lang-link:hover {
  opacity: 1;
  border-color: rgba(253, 247, 244, 0.4);
}

.lang-link--active {
  opacity: 1;
  border-color: var(--text-light);
}

@media (max-width: 900px) {
  .header-right .lang-switch {
    display:none;
  }
.lang-link--active {
  text-decoration: underline;
}
  aside .lang-switch {
    display: block;
        margin-left: -6px;
        margin-top: 3rem;
  }
}

/* ================================
   SECTIONS GENERIQUES / LAYOUT
================================ */

.section {
  min-height: 100vh;
  scroll-snap-align: start;
  padding: 5rem 1.5rem 5.5rem;
  color: var(--text-light);
  height: 100vh;
  display: flex;
  align-items: center;
}

.section.alt {
  background-color: rgba(245, 236, 229, 0.94);
  color: var(--red);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: "Antiga-Regular", serif;
  text-transform: uppercase;
  font-size: 6.1rem;
  font-style: italic;
  margin-bottom: .5rem;
}

.section-subtitle {
  font-size: .9rem;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  color: var(--text-muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 3rem;
  align-items: flex-start;
}

.section-text {
  position: relative;
}

.section-text p {
  font-size: .95rem;
  line-height: 1.7;
  margin: 0 0 0;
}

.section-text a {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .section {
    min-height: 100dvh;
    align-items: center;
    padding: 4rem 1.5rem;
  }

  .section.section-timeline {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-dresscode {
    align-items: flex-end;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ================================
   MADE BY / FOOTER LABEL
================================ */

.made-by {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  right: auto;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgb(245 236 229);
  color: var(--red);
  padding: 4px 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.made-by a {
  color: inherit;
  text-decoration: underline;
}

.made-by-heart {
  width: 14px;
  height: 14px;
  margin: -2px;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .made-by {
    font-size: 8px;
    padding: 3px 8px;
  }

  .section-title{
    font-size:4rem;
  }
}

/* ================================
   EFFET GRAIN
================================ */

.grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  transform: translateZ(0);
}

.grain::before {
  content: "";
  position: fixed;
  top: -10rem;
  left: -10rem;
  width: calc(100% + 20rem);
  height: calc(100% + 20rem);
  pointer-events: none;
  z-index: 0;
  background-image: url("texturebig.png");
  background-size: 500px 500px;
  background-repeat: repeat;
  opacity: 0.7;
}

/* ================================
   HEADER ET NAVIGATION
================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.4rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .35), transparent);
  color: var(--text-light);
}

/* colonnes logiques */
.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}

/* centre = brand centré visuellement */
.header-center {
  flex: 1;
  justify-content: left;
}

/* gauche et droite prennent la largeur du contenu */
.header-left {
  flex: 0 0 auto;
}

.header-right {
  flex: 0 0 auto;
  gap: 1.5rem;
}

/* brand */
.brand {
  font-family: "Antiga-Regular", serif;
  font-size: 1.5rem;
  text-transform: uppercase;
}

/* nav desktop */
nav {
  display: flex;
  gap: 1rem;
  font-size: 10px;
  text-transform: uppercase;
}

nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.25rem;
  width: 0;
  height: 1px;
  background: var(--text-light);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

/* CTA header */
.nav-cta {
  border: 1px solid var(--text-light);
  padding: 0.4rem 1.6rem;
  text-transform: uppercase;
  font-size: .72rem;
  line-height: 1;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--text-light);
  color: var(--red);
}

/* Burger mobile */
.burger {
  display: none;
  width: 26px;
  height: 18px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text-light);
}

/* Nav mobile */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;               /* au lieu de right: 0 */
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--cream);
  color: var(--red);
  padding: 5rem 2.2rem;
  transform: translateX(-100%);   /* caché vers la gauche */
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  text-transform: uppercase;
  font-size: .9rem;
  z-index: 25;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a{
  font-size:18px;
  font-weight: 500;
}


.mobile-close {
  position: absolute;
  top: 1.8rem;
  right: 2.2rem;
  font-size: 2.4rem;
  cursor: pointer;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20; /* juste en dessous du menu qui est à 25 */
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}



@media (max-width: 900px) {
  /* cacher nav horizontale, afficher burger */
  nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header-center {
    flex: 1;
    justify-content: center;
  }

  header {
    padding: 1rem 1.2rem;
  }
}

/* ================================
   BOUTONS GLOBAL
================================ */

.btn-outline {
  border: 1px solid var(--text-light);
  padding: 9px 27px;
  font-size: 11px;
  text-decoration: none !important;
  text-transform: uppercase;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--red);
}

.btn-solid {
  border: none;
  background: var(--red);
  color: #fff;
  padding: .8rem 1.8rem;
  text-transform: uppercase;
  font-size: .8rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-solid:hover {
  filter: brightness(1.1);
}

/* ================================
   HERO
================================ */

.hero-wrapper {
  max-height: 100dvh;
  display: flex;
  height: 100vdh;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 1rem !important;
}

.hero {
  position: relative;
  max-width: 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-title {
  font-family: "Antiga-Regular", serif;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(3rem, 17.99vw, 18rem);
  line-height: 0.7;
  position: absolute;
  z-index: 1;
  margin: 0;
  font-weight: 100;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.hero-title span {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  font-size: .8em;
}

.hero-sub-left,
.hero-sub-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  text-transform: uppercase;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.hero-sub-left {
  left: 1.3rem;
  text-align: left;
}

.hero-sub-right {
  right: 1.3rem;
  text-align: right;
}

.hero-date {
  position: absolute;
  bottom: 2.7rem;
  left: 3rem;
  font-size: .78rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-location {
  position: absolute;
  bottom: 2.7rem;
  right: 3rem;
  font-size: .78rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-photo {
  width: min(450px, 60vw);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #000;
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.20);
  pointer-events: none;
}

.hero-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}

@media (max-width: 900px) {
  .hero {
    padding: 4rem 1.7rem 3.8rem;
  }

  .hero-sub-left,
  .hero-sub-right {
    top: 2rem;
    transform: translateY(0);
  }

  .hero-photo {
    width: 100%;
    aspect-ratio: 10 / 15;
    position: relative;
    left: unset;
    overflow: hidden;
    background: #000;
    bottom: -0.5rem;
    transform: unset;
  }

  .hero-wrapper {
    align-items: baseline;
  }

  .hero-title {
    bottom: 3rem;
  }
}

/* ================================
   WHEN AND WHERE (PHOTOS)
================================ */

.photo-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
}

.photo-stack img {
  position: absolute;
  width: 90%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .35);
}

.photo-stack img:nth-child(2) {
  top: 0;
  right: -8rem;
  z-index: 1;
}

.photo-stack img:nth-child(3) {
  bottom: -17rem;
  left: 0;
  z-index: 2;
}

.photo-stack img:nth-child(1) {
  top: -19%;
  left: -16%;
  width: 40%;
  box-shadow: none;
  z-index: 3;
}

/* Carousel mobile pour la section "Dónde" */
.photo-carousel {
  display: none;
  margin-top: 1.5rem;
}

.photo-carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.4rem;
}

.photo-carousel-track::-webkit-scrollbar {
  display: none;
}

.photo-carousel-track img {
  flex: 0 0 100%;
  max-width: 100%;
  height: auto;
  scroll-snap-align: center;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

.photo-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0.9rem;
}

.photo-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  background: rgb(255 255 255 / 30%);
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.photo-carousel-dot.is-active {
  background: #FFF;
  width: 16px;
  transform: translateY(-1px);
}


.where-funfact-title {
  text-transform: uppercase;
  font-family: "Antiga-Regular";
  font-size: 3rem !important;
  position: absolute;
  opacity: .2;
  left: -6rem;
  transform: rotate(-90deg);
  margin-top: 2rem !important;
  font-weight: 800;
}

.photos-link {
  display: inline-block;
  margin-top: 2.3rem;
  padding: .6rem 1.4rem;
  border: 1px solid currentColor;
  font-size: .78rem;
  text-transform: uppercase;
}

.section--when {
  
}

@media (max-width: 900px) {
  .photo-stack {
    display: none;
  }

  .photo-carousel {
    display: block;
  }

  .photo-carousel-track img:nth-child(1) {
        height: auto;
        max-width: 192px;
    order:3;
  }

  .photo-carousel-track img {
    height: 100%;
  }

  .section--when {
    min-height: 100dvh;
    max-height: 100%;
    height: 100%;
    align-items: center;
    padding: 5rem 1.5rem;
  }
}

/* ================================
   FORM LIGNE (SECTION RSVP SIMPLE)
================================ */

.rsvp-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.8rem;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  font-size: .9rem;
}

form .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: .35rem;
  font-size: .78rem;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  padding: .6rem .75rem;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, .18);
  font-family: inherit;
  font-size: .9rem;
  background: #fff;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.radio-group {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-size: .9rem;
}

.radio-group label {
  text-transform: none;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .rsvp-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   FOOTER
================================ */

footer {
  padding: 0.5rem;
  text-align: center;
  font-size: .8rem;
  background-color: rgba(153, 42, 34, 0.94);
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ================================
   IMAGE FLOTTANTE KUBRICK
================================ */

.floating-kubrick {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s ease-out;
  mix-blend-mode: screen;
}

.floating-kubrick img {
  display: block;
  width: 220px;
  height: auto;
}

@media (max-width: 900px) {
  .floating-kubrick {
    display: none;
  }
}

/* ================================
   OVERLAY RSVP MULTI ETAPES
================================ */

.rsvp-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: var(--cream);
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.rsvp-overlay.open {
  pointer-events: auto;
  transform: translateY(0);
}

.rsvp-overlay__backdrop {
  display: none;
}

.rsvp-overlay__inner {
  position: relative;
  height: 100vh;
  margin: 0 auto;
  background: transparent;
  color: var(--red);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  width: 100%;
  max-width: 100%;
  justify-content: center;
  align-items: center;
}

.rsvp-overlay__close {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 111;
  border: none;
  background: transparent;
  font-size: 2.3rem;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.55);
}

/* Container du typeform */
.rsvp-form {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1vw;
}

/* Slides */
.rsvp-form__step {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  display: flex;
  padding:2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rsvp-form__step--active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  overflow: scroll;
}

.rsvp-form__step > * {
  max-width: 100%;
  width: 100%;
  line-height: 1;
  margin-left: auto;
  margin-right: auto;
}

/* Typo des questions */
.rsvp-form__question {
  font-family: "Antiga-Regular", serif;
  font-size: 3.6rem;
  text-transform: uppercase;
  margin: 0 0 2rem;
}

.rsvp-form__question.asistir {
  font-size: 5.6rem;
}

/* Options et actions */
.rsvp-form__options {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.3rem;
  justify-content: center;
}

.rsvp-form__actions {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

/* Radios stylés */
.rsvp-radio {
  flex: 0 0 auto;
  min-width: 120px;
  border: 1px solid var(--red);
  padding: 0.8rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 1.9rem;
  position: relative;
}

.rsvp-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  appearance: none;
}

.rsvp-radio span {
  text-transform: uppercase;
}

.rsvp-radio--active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* Champs du step 2 */
.rsvp-form__field {
  margin-bottom: 1.2rem;
  width: 100%;
}

.rsvp-form__field label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  text-align: left;
}

.rsvp-form__field input {
  width: 100%;
  max-width: 100%;
  font-weight: 200;
  text-transform: uppercase;
  padding: 12px 2px;
  margin-top: 0;
  border: none;
  border-bottom: 2px solid rgba(153, 42, 34, 0.5);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  color: var(--red);
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.rsvp-form__field input::placeholder {
  color: rgba(153, 42, 34, 0.4);
}

.rsvp-form__field input:focus {
  border-color: var(--red);
  background-color: rgba(153, 42, 34, 0.03);
}

/* Hint "press enter" */
.rsvp-press-enter {
  font-size: 0.75rem;
  margin-top: 0.6rem;
  color: rgba(153, 42, 34, 0.75);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.rsvp-press-enter span {
  font-weight: 600;
}

.rsvp-press-enter.active {
  opacity: 1;
  transform: translateY(0);
}

/* Carte personnes */
.rsvp-people-card {
  margin-top: 1.4rem;
  padding: 1.4rem 1.2rem;
  border: 1px solid rgba(153, 42, 34, 0.28);
  border-radius: 8px;
  background: rgba(153, 42, 34, 0.03);
  text-align: left;
}

.rsvp-people-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
  color: rgba(153, 42, 34, 0.9);
}

.rsvp-form__field--inline {
  max-width: 180px;
}

/* Boutons de la form */
.rsvp-form__actions .btn-outline {
  border: 1px solid var(--red);
  color: var(--red);
  background: transparent;
  padding: 0.7rem 1.8rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.rsvp-form__actions .btn-outline:hover {
  background: var(--red);
  color: #fff;
}

/* Confettis coeurs (DOM) */
.heart-confetti {
  position: fixed;
  font-size: 16px;
  color: var(--red);
  pointer-events: none;
  z-index: 80;
  animation: heart-side 2s ease-out forwards;
}

/* ================================
   OVERLAY "GETTING THERE"
================================ */

.getthere-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--cream);
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.getthere-overlay.open {
  transform: translateY(0);
  pointer-events: auto;
}

.getthere-overlay__backdrop {
  display: none;
}

.getthere-overlay__inner {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  padding: 2rem;
  max-height: 100dvh;
  overflow-y: auto;
}

.getthere-overlay__close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.5);
}

.getthere-content {
  width: 100%;
  max-width: 980px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.getthere-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 3rem;
  width: 100%;
}

/* Colonne gauche */
.getthere-left {
  display: flex;
  flex-direction: column;
}

.getthere-title {
  font-size: 8rem;
  margin: 0 0 3rem;
  line-height: .6;
}

/* Onglets */
.gt-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.2rem 0 1.4rem;
}

.gt-tab {
  border: 1px solid var(--red);
  background: transparent;
  color: var(--red);
  padding: .4rem 1rem;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: var(--transition);
}

.gt-tab.is-active {
  background: var(--red);
  color: #fff;
}

/* Panneaux texte */
.gt-pane-text {
  display: none;
}

.gt-pane-text.is-active {
  display: block;
}

/* Titres et textes */
.gt-heading {
  margin: .6rem 0 .2rem;
  font-family: "Antiga-Regular", serif;
  text-transform: uppercase;
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.gt-line {
  margin: .15rem 0;
  font-size: .95rem;
  line-height: 1.5;
}

.gt-text {
  margin: .2rem 0 .8rem;
  font-size: .95rem;
  line-height: 1.55;
}

.gt-line a {
  text-decoration: underline;
  color: inherit;
}

/* Colonne droite, images */
.getthere-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gt-pane-media {
  display: none;
  width: 100%;
  max-width: 320px;
  border-radius: 6px;
  overflow: hidden;
}

.gt-pane-media.is-active {
  display: block;
}

.gt-pane-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 900px) {
  .getthere-overlay {
    align-items: flex-start;
  }

  .getthere-overlay__inner {
    padding-top: 4rem;
    align-items: baseline;
    max-height: 100dvh;
    overflow-y: auto;
  }

  .getthere-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .getthere-title {
    font-size: 7.2rem;
    margin: 0 0 2rem;
  }

  .gt-pane-media {
    max-width: 100%;
  }
}

/* ================================
   SECTION NUMEROLOGIE
================================ */

.section-numerology {
  background-color: #fbf9f7;
  color: var(--red);
  position: relative;
  padding-bottom: 0;
}

.numerology-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.numerology-date {
  text-align: center;
  margin-bottom: 2.5rem;
}

.numerology-date p {
  margin: 0;
  font-family: "Antiga-Regular", serif;
  font-size: 5rem;
  text-transform: uppercase;
}

.numerology-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: flex-start;
}

.numerology-left p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
}

.numerology-left-title {
  font-weight: 600;
  margin-bottom: 2px !important;
}

.coeur-sticker {
  width: 200px;
  position: absolute;
  right: 7rem;
  transform: rotate(15deg);
  margin-top: -10rem;
}

.coeur2-sticker {
  width: 200px;
  position: absolute;
  left: -1rem;
  transform: rotate(15deg);
  bottom: 4rem;
}

.numerology-when {
  position: relative;
  top: -3rem;
  font-size: 9rem;
  line-height: 1;
  font-family: "Luxurious Script";
  left: 50%;
  transform: translateX(-50%);
}

.numerology-when p {
  margin: 0;
}

.numerology-right p {
  margin: 0 0 1rem;
  font-size: .95rem;
  line-height: 1.8;
}

.numerology-quote {
  text-align: right;
  font-size: .9rem;
  margin-top: 1.6rem;
  font-weight: 600;
}

#numerologia {
  /* overflow mobile ci dessous */
}

@media (max-width: 900px) {
  .numerology-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .numerology-when{
    top:0px;
  }

  .section-numerology{
    padding: 4rem 3.5rem;
  }

  .numerology-date p {
    font-size: 8.6vw;
  }

  .coeur2-sticker {
    width: 150px;
    bottom: 4rem;
        right: -4rem;
        left: unset;
  }

  .coeur-sticker {
    width: 150px;
    right: -3rem;
    margin-top: unset;
    top: 0;
  }

  #numerologia {
    overflow: hidden;
  }
}

/* ================================
   SECTION TIMELINE
================================ */

.section-timeline {
  background: #f5ece5;
  color: var(--red);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.boissons-sticker {
  position: absolute;
  height: 100%;
  left: -1rem;
}

.boissons2-sticker {
  position: absolute;
  height: 100%;
  right: -1rem;
}

.timeline-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.timeline-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-eyebrow {
  font-family: "Antiga-Regular", serif;
  font-size: 7rem;
  text-transform: uppercase;
  margin: 0;
}

.timeline-main {
  position: relative;
  display: inline-block;
}

.timeline-main .timeline-script {
  display: block;
  font-size: 5.4rem;
  line-height: 0;
}

.timeline-main .timeline-word {
  font-family: "Antiga-Regular", serif;
  font-size: 3.8rem;
  text-transform: uppercase;
  margin-top: -.6rem;
}

/* Ligne horizontale */
.timeline-row {
  display: flex;
  justify-content: space-between;
  gap: 2.4rem;
  align-items: flex-end;
  overflow-x: auto;
  padding-bottom: .5rem;
}

.timeline-row::-webkit-scrollbar {
  height: 6px;
}

.timeline-row::-webkit-scrollbar-track {
  background: transparent;
}

.timeline-row::-webkit-scrollbar-thumb {
  background: rgba(153, 42, 34, .35);
}

/* Items */
.timeline-item {
  flex: 0 0 130px;
  text-align: center;
  position: relative;
}

.timeline-image-wrapper {
  position: relative;
  width: 80px;
  height: 110px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-image-wrapper img {
  position: relative;
  width: 68px;
  height: auto;
  display: block;
}

/* Texte */
.timeline-time {
  font-size: .85rem;
  margin: 0 0 .25rem;
  font-weight: 300;
  text-transform: uppercase;
}

.timeline-label {
  font-size: 26px;
  font-family: "Luxurious Script";
  margin: 0;
}

@media (max-width: 900px) {
  .timeline-header {
    margin-bottom: 1.8rem;
  }

  .timeline-eyebrow {
    font-size: 4rem;
    line-height:1;
  }

  .timeline-main .timeline-script {
    font-size: 4.2rem;
  }

  .timeline-main .timeline-word {
    font-size: 2.4rem;
  }

  .timeline-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .timeline-item {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .timeline-image-wrapper {
    margin: 0;
    width: 60px;
    height: 80px;
    flex-shrink: 0;
  }

  .timeline-image-wrapper img {
    width: 61px;
  }

  .boissons-sticker {
    height: 45%;
  }

  .boissons2-sticker {
    height: 45%;
  }

  .timeline-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-items: center;
    height: 100%;
  }

  .timeline-time {
    font-size: 0.8rem;
    margin-bottom: 0.15rem;
  }

  .timeline-label {
    font-size: 2.1rem;
  }
}

/* ================================
   SECTION DRESSCODE
================================ */

.section-dresscode {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.dresscode-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.dresscode-content {
  position: absolute;
  top: 6.5rem;
  left: 2.5rem;
  z-index: 2;
  max-width: 420px;
}

.dresscode-title {
  font-size: 7.5rem;
  margin: 1.5rem 0 1rem;
  line-height: .5;
}

/* Layout texte */
.pretty-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dresscode-intro {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.6px;
  line-height: 1.35;
}

.dresscode-intro span {
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.75;
  margin-left: 2px;
  font-style: italic;
}

/* Blocs */
.dc-block {
  padding-left: 1rem;
  border-left: 2px solid rgba(153, 42, 34, 0.35);
}

.dc-title {
  margin: 0 0 0.3rem;
  font-family: "Antiga-Regular", serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.dc-line {
  margin: 0.25rem 0;
  font-size: 1rem;
  line-height: 1.45;
}

.dc-line span {
  opacity: 0.65;
  font-style: italic;
}

/* éventuelle grille dresscode */
.dresscode-grid {
  /* desktop non défini dans l’extrait, on garde uniquement la version mobile ci dessous */
}

@media (max-width: 900px) {
  .dresscode-grid {
    grid-template-columns: 1fr;
  }

  .dresscode-title{
    font-size:6.5rem;
  }
}

/* ================================
   SECTION ACCOMMODATION
================================ */

.section-accomodation {
  background-color: #fbf9f7;
  color: var(--red);
  position: relative;
}

.accomodation-sticker {
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 300px;
}

.pyjama-sticker {
  position: absolute;
  top: 2rem;
  left: 0;
  max-width: 200px;
}

.accomodation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: flex-start;
}

.accomodation-list {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  height: 100%;
  justify-content: space-between;
}

.accomodation-card {
  border: 1px solid rgba(153, 42, 34, 0.24);
  padding: 1.3rem 1.4rem;
  border-radius: 6px;
  background: rgba(153, 42, 34, 0.03);
}

.accomodation-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.accomodation-name {
  margin: 0.1rem 0 0.25rem;
  font-family: "Antiga-Regular", serif;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.accomodation-meta {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
}

.accomodation-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: underline;
}

.accomodation-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .accomodation-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .accomodation-sticker {
    max-width: 100px;
  }
}

/* ================================
   SECTION PHOTOS MARQUEE
================================ */

.section-photos {
  color: var(--text-light);
  position: relative;
}

.photos-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 100%;
}

.photos-text {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 1.5rem;
}

.photos-title {
  font-size: 7.2rem;
  margin: 0 0 .6rem;
}

.photos-lead {
  margin: 0 0 .4rem;
  text-transform: uppercase;
  font-size: .9rem;
  letter-spacing: .12em;
}

.photos-copy {
  margin: 0 0 1.2rem;
  font-size: .95rem;
  line-height: 1.7;
}

.photos-qr {
  display: inline-block;
  padding: .3rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(253, 247, 244, .7);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* Marquee */
.photos-marquee {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(253, 247, 244, .18);
  background: rgba(0, 0, 0, 0.15);
  padding-block: 1rem;
}

.photos-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: photos-marquee 26s linear infinite;
}

.photos-track img {
  flex: 0 0 auto;
  width: 200px;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

@media (max-width: 900px) {
  .photos-title {
    font-size: 5rem;
    line-height:1;
  }

  .photos-track img {
    width: 160px;
    height: 210px;
  }

  .photos-track {
    animation: photos-marquee 6s linear infinite;
  }
}

/* ================================
   SECTION CELEBRATION
================================ */

.section-celebration {
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.celebration-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.celebration-photo {
  margin: 0 auto 2rem;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .35);
}

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

.celebration-title {
  font-family: "Luxurious Script", cursive;
  font-size: 7.2rem;
  margin: 0 0 1rem;
}

.celebration-subtitle {
  font-family: "Antiga-Regular", serif;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0em;
  margin: 0 0 1rem;
}

.celebration-text {
  font-size: .98rem;
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .celebration-title {
    font-size: 7rem;
  }

  .celebration-subtitle {
    font-size: 1.5rem;
  }

  .celebration-text {
    font-size: .95rem;
  }

  .celebration-photo {
    max-width: 100%;
    margin-bottom: 1.6rem;
  }
}

/* ================================
   ANIMATIONS / KEYFRAMES
================================ */

@keyframes heart-side {
  0% {
    transform: translate3d(0, 0, 0) scale(0.6);
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--x-move), var(--y-move), 0) scale(1.2);
    opacity: 0;
  }
}

@keyframes photos-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
