/* CSS généré depuis le design Figma RSVP
   Frame: 117:217 "4" — couleurs et styles extraits du jeton Figma disponible dans RSVP/config.php.
*/

@font-face {
  font-family: 'Ninna';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Ninna-Regular.woff2') format('woff2'),
       url('fonts/Ninna-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Ninna';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Ninna-Italic.woff2') format('woff2'),
       url('fonts/Ninna-Italic.woff') format('woff');
}

@font-face {
  font-family: 'Ninna';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Ninna-Book.woff2') format('woff2'),
       url('fonts/Ninna-Book.woff') format('woff');
}

@font-face {
  font-family: 'Ninna';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Ninna-BookItalic.woff2') format('woff2'),
       url('fonts/Ninna-BookItalic.woff') format('woff');
}

@font-face {
  font-family: 'Ninna';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Ninna-Medium.woff2') format('woff2'),
       url('fonts/Ninna-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Ninna';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Ninna-MediumItalic.woff2') format('woff2'),
       url('fonts/Ninna-MediumItalic.woff') format('woff');
}

@font-face {
  font-family: 'Ninna';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Ninna-Bold.woff2') format('woff2'),
       url('fonts/Ninna-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Ninna';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Ninna-BoldItalic.woff2') format('woff2'),
       url('fonts/Ninna-BoldItalic.woff') format('woff');
}

@font-face {
  font-family: 'Ninna';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/Ninna-Black.woff2') format('woff2'),
       url('fonts/Ninna-Black.woff') format('woff');
}

@font-face {
  font-family: 'Ninna';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/Ninna-BlackItalic.woff2') format('woff2'),
       url('fonts/Ninna-BlackItalic.woff') format('woff');
}

:root {
  color-scheme: dark;
  --bg: #949F78;
  --bg-pale: #B4C292;
  --bg-extra-pale: #EBF1DD;
  --bg-strong: #7d8c61;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.18);
  --border: rgba(255, 255, 255, 0.22);
  --accent: #deeeb9;
  --accent-strong: #6e6c00;
  --text: #ffffff;
  --red: #A44A3F;
  --red-pale: #C98276;
  --red-extra-pale: #F3DEDA;
  --red-strong: #7F342D;
  --text-muted: rgba(255, 255, 255, 0.85);
  --radius: 32px;
  --radius-sm: 22px;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
/*  max-height: 100vh;
  height: 100vh;*/
  color: var(--text);
  font-family: 'Ninna', Georgia, serif;
  font-size: 16px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  /*padding: 2rem 1rem 3rem;*/
  padding:0px;
  margin:0px;
  overflow-y: visible;
  overflow-x: hidden;
  background-color:var(--bg);
}


main {
    position: relative;
    width: 100vw;
    padding: 0;
    margin: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 18%),
              radial-gradient(circle at 80% 8%, rgba(255, 255, 255, 0.08), transparent 22%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg-strong) 100%);
}

/* Nouveau conteneur qui réserve l'espace de défilement */
.section-wrapper {
    position: relative;
    min-height: 100vh;
    min-height: 100vh; /* Chaque section prend exactement la hauteur d'un écran */
    height:auto;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
/*main > section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position:relative;
}*/

  /* Style de base pour toutes les sections */
/*.scroll-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  width:100%;
  min-height: 100vh;
  height:100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26vh;
  margin: 0 auto;
  background-color: transparent;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  box-sizing: border-box;
}*/
.scroll-section {
    width: 100%;
    min-height: 100vh;
    /*min-height: 100svh;*/
    height:auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26vh;
    margin: 0 auto;
    background-color: transparent;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: border-box;
}

/* ÉTAT INITIAL : L'élément est figé à l'écran, en attendant son tour */
.fixed-state {
    position: fixed;
    top: 0;
    left: 0;
    max-width: 100vw;
    min-width: 100vw;
    height: 100%;
    /* Force le GPU du téléphone à gérer l'affichage pour éviter les saccades */
    will-change: transform; 
    /* Optionnel : permet le défilement interne au cas où (sécurité mobile) */
    /*max-height: 100vh;*/
    overflow-y: visible; 
}

/* ÉTAT DÉFILANT : Dès que sa boîte parente monte, la section s'accroche dedans pour monter avec */
.static-state {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100vw;
    min-width: 100vw;
}

/* On préserve le snap-align classique, mais le JS gérera le cas particulier .no-snap */
.section-wrapper.no-snap {
  /* On laisse l'alignement initial pour l'entrée dans la section */
  scroll-snap-align: unset;
  overflow-y:scroll;
  /* Chrome, Safari, Edge, and Opera */
  &::-webkit-scrollbar {
    display: none;
  }

  /* Firefox */
  scrollbar-width: none;

  /* IE and Legacy Edge */
  -ms-overflow-style: none;
}



/* ******************** *
 * SECTIONS SPÉCIFIQUES *
 * ******************** */

section.accueil {
    background-color:var(--bg);
    gap: 6.5svh;
    position:relative;
}

section.accueil #epoux {
    margin-top: 12svh;
    display:flex;
    flex-direction: column;
    align-items: center;
}

section.accueil #epoux span {
    font-size: 5.5vh;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    display: block;
    text-align:center;
    font-feature-settings:
        "ss05" 1,
        "ss13" 1,
        "ss12" 1;
    font-variant-ligatures: common-ligatures contextual discretionary;
}

section.accueil #date_location span {
    letter-spacing: 0;
    display: block;
    text-align:center;
    font-size: 20px;
    font-weight: 900;
    
}

section.accueil #bouquet {
    padding:0;
    margin:0;
    position:absolute;
    bottom: 97svh;
    display:flex;
    flex-direction: column;
    align-items: center;
    animation: transformImage-bouquet linear;
    animation-timeline: scroll(block nearest);
}
section.accueil #garden-party {
    position:absolute;
    top: 127svh;
    display:flex;
    flex-direction: column;
    align-items:right;
}
section.accueil #garden-party h2 {
    font-size: 60px;
    font-weight: 500;
    letter-spacing: 0;
    line-height:1.2em;
    text-align:left;
    font-feature-settings:
        "ss01" 1, 
        "ss02" 1,
        "ss03" 1,
        "ss04" 1,
        "ss05" 1,
        "ss06" 1,
        "ss07" 1,
        "ss08" 1,
        "ss09" 1,
        "ss10" 1,
        "ss11" 1,
        "ss14" 1,
        "ss13" 1,
        "ss12" 1,
        "ss15" 1;
    font-variant-ligatures: common-ligatures contextual discretionary;
}
section.accueil #garden-party p {
    font-size: 40px;
    font-weight: 350;
    letter-spacing: 0;
    line-height:1.5em;
    text-align:right;
    font-variant-ligatures: common-ligatures contextual discretionary;
}
section.accueil #garden-party p span {
    font-feature-settings:
        "ss15" 1;
    font-variant-ligatures: common-ligatures contextual discretionary;
}
section.accueil #rsvp-btn {
    position:absolute;
    bottom: 7vh;
}
.menu #rsvp-btn {
  position:relative;
  top:4vh;
}

#rsvp-btn a {
    display: block;
    font-size: 26px;
    width:200px;
    font-weight: 700;
    padding: 20px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-strong);
    text-decoration: none;
    text-align:center;
    line-height:1em;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
    cursor:pointer
}
#rsvp-btn a span.before-july-4th {
    font-size: 12px;
    display: block;
    margin-top: 4px;
    font-variant-ligatures: common-ligatures contextual discretionary;
    font-feature-settings:
        "ss11" 1, /*pour le et*/
        "ss12" 1;
    line-height:1em;
}

.nav-burger {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.nav-burger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger.is-open span {
  background: var(--accent-strong);
}
.nav-burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-burger.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);

}

.nav-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    min-width: 100%;
    padding: 4.4rem 0 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    /* border-radius: 20px; */
    background: #000;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    left: 0;
    background-color: var(--text);
    /* border: 1px 0 var(--accent-strong); */
    color: var(--accent-strong)!important;
}

.nav-menu-panel.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-menu-panel a {
    display: block;
    padding: 1rem;
    margin: 0;
    /* border-radius: 12px; */
    color: var(--accent-strong);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    border: 10px var(--accent-strong);
    background-color: var(--text);
    border-color: var(--accent);
    border: 0;
    border-top: 1px var(--accent-strong) solid;
    /* border-bottom: 0; */
    /* border-left: 0; */
    /* border-right: 0;*/
}

.nav-menu-panel a:hover {
    background: rgba(255, 255, 255, 0.14);
}

#submit-btn {
    display: block;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 200px;
    font-size: 26px;
    font-weight: 700;
    font-family: 'Ninna';
    padding: 20px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-strong);
    text-decoration: none;
    text-align: center;
    line-height: 1em;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
    border: none;
    cursor: pointer;
}

#submit-btn span.before-july-4th {
    font-size: 12px;
    display: block;
    margin-top: 4px;
    font-variant-ligatures: common-ligatures contextual discretionary;
    font-feature-settings:
        "ss11" 1,
        "ss12" 1;
    line-height: 1em;
}

section.accueil #epoux {
    position:sticky;
    top: 5svh;
}
section.accueil #date_location {
    position:sticky;
    top: 35svh;
}
section.accueil #date_location #location {
    animation: transformText-location linear;
    animation-timeline: scroll(block nearest);
}
section.accueil #date_location #date {
    animation: transformText-date linear;
    animation-timeline: scroll(block nearest);
}
section.accueil #epoux span:nth-child(1) {
    animation: transformText-1 linear;
    animation-timeline: scroll(block nearest);
}
section.accueil #epoux span:nth-child(2) {
    animation: transformText-2 linear;
    animation-timeline: scroll(block nearest);
}
section.accueil #epoux span:nth-child(3) {
    animation: transformText-3 linear;
    animation-timeline: scroll(block nearest);
}

    /* 4. Define the visual changes from start to end of the scroll */
    @keyframes transformText-1 {
      from { transform: scale(1);}
      to { transform: scale(0.6) translateX(-4.25em); }
    }
    @keyframes transformText-2 {
      from { transform: scale(1);}
      to { transform: scale(0.6) translateX(-1em) translateY(-2.5em);}
    }
    @keyframes transformText-3 {
      from { transform: scale(1);}
      to { transform: scale(0.6) translateX(3.1em) translateY(-5em);}
    }
    @keyframes transformText-location {
      0% { opacity: 1; transform: scale(1);}
      20%, 100% { opacity: 0; transform: scale(0.5);}
    }
    @keyframes transformText-date {
      0% { font-weight: 900; transform: scale(1);}
      100% { font-weight: 700; transform: scale(0.8) translateY(-27svh);}
    }
    @keyframes transformImage-bouquet {
      0% { opacity: 1; transform: scale(1);}
      30% { opacity: 1;}
      70%, 100% { opacity: 0; transform: scale(0.5) translateY(10svh);}
    }

section.welcome {
    background-color:var(--bg-strong);
    gap: 6.5vh;
}

.text-wrapper {
    max-width: 340px;
    margin: 10svh 4svh;
    text-align: left;
}
.text-welcome {
    font-size: 21px;
    font-style: normal;
    letter-spacing: 0.001em;
    line-height: 1.21;
    font-weight: 400;
    margin-block-end: 10px;
    margin-block-start: 10px;
    font-variant-ligatures: common-ligatures contextual discretionary;
    font-feature-settings:
        "ss11" 1, /*pour le et*/
        "ss12" 1;
}
.text-wrapper p.signature {
    font-size: 26px;
    font-weight: 700;
    margin-top: 30px;
    text-align:right;
    margin-right:20%;
}
section.welcome #fleur {
    position:absolute;
    bottom: 0dvh;
    left: 5svw ;
    height:unset;
    height: 39svh;
    width: unset;

}

section.rsvp-section {
    background-color:var(--bg);
    gap: 10svh;
    /*min-height:300vh;*/
}
.spacer {
  min-height:6vh;
}
.subsection {
  text-align: center;
  max-width: 375px;
}

.subsection.hero {
  margin:0 0 50px 0;
}

.subsection h1 {
  margin: 10px 0 0 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2, .hero-title {
  margin: 10px 0 0.5rem;
  font-size: 26px;
  font-weight: 700;
  font-feature-settings:
    "ss05" 1,
    "ss13" 1,
    "ss12" 1;
  font-variant-ligatures: common-ligatures contextual discretionary;
  text-align: center;

}

h3, .hero-subtitle {
  margin: 0 0 1.75rem;
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  opacity: 0.95;
  text-align: center;
}

.section-heading {
  font-size: 1.625rem;
  font-weight: 450;
  font-style: italic;
  margin: 0 0 1rem;
}

.label-text {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 450;
  opacity: 0.98;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  align-items: center;
  justify-content: center;
}

.date-card,
.option-card,
.field-card,
.question-group {
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.date-card {
  min-height: 174px;
  max-width: 115px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor:pointer;
  padding:20px 8px 40px 8px;
  position:relative;
}

.date-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* STYLES PARTICULIERS POUR LE CALENDRIER */
.date-card .families_nuites_extra_arrival {
    opacity: 0;
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
.date-card .families_nuites_extra_departure {
    opacity: 0;
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
.families_nuites_extra_arrival::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: transparent; /* Hides the physical icon graphic */
}
.families_nuites_extra_departure::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: transparent; /* Hides the physical icon graphic */
}


.date-card:has(input:checked) {
  background: white;
  color: #6f7300;
  border-color: white;
}

.date-card:checked {
  border-color: var(--accent);
  background: rgba(222, 238, 185, 0.12);
}


.date-card .date-number {
  font-size: 62px;
  font-weight: 700;
  line-height: 0.95;
  text-align:center;
  align-self: center;
}

.date-card .date-weekday {
  font-size: 14px;
  font-weight:900;
  text-transform: uppercase;
  text-align:center;

}

.guest-list {
  display: grid;
  gap: 18px;
  min-width: 190px;
  max-width:230px;
  margin: 50px auto 0 auto;
}

.guest-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  /*padding: 0.95rem 1rem;*/
  min-height: 25px;
}

.guest-chip span {
  font-size: 21px;
  font-weight: 700;
}

.guest-chip .custom-checkbox {
  margin-left: auto;
}

.question-group {
  display: grid;
  gap: 1rem;
}

.question-group p {
  margin: 0;
  font-size: 1.125rem;
  font-style: italic;
  letter-spacing: 0.001em;
}

.checkbox-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 0.85rem 1rem;
  min-width: 120px;
}

.checkbox-item .checkbox-dot {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.checkbox-item label {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

button,
.btn-primary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.15rem;
  border: none;
  border-radius: 999px;
  background: var(--accent-strong);
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.btn-terciary {
  background: transparent;
  color: var(--text-muted);
  text-decoration:none;
  cursor:pointer;
  font-style: italic;
  font-size:14px;
}
.btn-terciary:hover {
  text-decoration:underline;
}

.nuites-status {
    font-size:14px;
    height:20px;
    max-width:370px;
}

button:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

button:active,
.btn-primary:active {
  transform: translateY(0);
}

footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.74);
}

footer p {
  margin: 0;
}



/* ********************** *
 * CUSTOM CHECKBOX STYLES *
 * ********************** */

.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;

  width: 24px;
  height: 24px;

  border-radius: 50%;
  border: 0px solid var(--accent);

  background: var(--accent);

  cursor: pointer;

  display: inline-grid;
  place-content: center;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
  box-shadow:  0 4px 4px 0 rgba(0, 0, 0, 0.18);
}

/* état checked */
.custom-checkbox:checked {
  background: white;
}

/* SVG */
.custom-checkbox::before {
  content: "";

  width: 16px;
  height: 16px;

  background: #6f8f5f;

  transform: scale(0);
  transition: transform 0.15s ease;

  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.2 16.6 4.8 12.2 3.4 13.6 9.2 19.4 21 7.6 19.6 6.2z'/%3E%3C/svg%3E") center / contain no-repeat;

  -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M9.2 16.6 4.8 12.2 3.4 13.6 9.2 19.4 21 7.6 19.6 6.2z"/%3E%3C/svg%3E') center / contain no-repeat;
}

.custom-checkbox:checked::before {
  transform: scale(1);
}

/* focus clavier */
.custom-checkbox:focus-visible {
  outline: 3px solid #b8d8a8;
  outline-offset: 3px;
}


/* ********************** *
 * CUSTOM RADIO STYLES    *
 * ********************** */

.families_chambre_enfants {
  appearance: none;
  -webkit-appearance: none;

  width: 24px;
  height: 24px;

  border-radius: 50%;
  border: 0px solid var(--accent);

  background: var(--accent);

  cursor: pointer;

  display: inline-grid;
  place-content: center;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
  box-shadow:  0 4px 4px 0 rgba(0, 0, 0, 0.18);
}

/* état checked */
.families_chambre_enfants:checked {
  background: white;
}

/* SVG */
.families_chambre_enfants::before {
  content: "";

  width: 8px;
  height: 8px;

  background: #6f8f5f;

  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.15s ease;
}

.families_chambre_enfants:checked::before {
  transform: scale(1);
}

/* focus clavier */
.families_chambre_enfants:focus-visible {
  outline: 3px solid #b8d8a8;
  outline-offset: 3px;
}

/* Label wrapper pour les radios */
.radio-group-wrapper {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr auto;
    gap: 18px;
    width: 100px;
    margin: 50px auto 0 auto;
}

.radio-label {
  display: contents;
}

.radio-label span {
  display: flex;
  align-items: center;
  font-size: 21px;
  font-weight: 700;
  min-height: 25px;
}

.radio-label input[type="radio"] {
  display: flex;
  align-items: center;
}

/* *************** */
/* SECTION HORAIRE */
/* *************** */

section #horaire {
    margin: 12svh auto 0 auto;
    display:flex;
    flex-direction: column;
    align-items: center;
}
section #horaire h1 {
    font-size: 5.5vh;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    display: block;
    text-align:center;
    font-variant-ligatures: common-ligatures contextual discretionary;
}
section #horaire h1 span.caracter {
   font-feature-settings:
        "ss15" 1;
}
.horaire-subsection h2 {
  font-size:32px;
  text-transform:uppercase;
   font-feature-settings: unset;
   margin:55px 0;
}
.horaire-subsection .spacer {
  min-height:8vh;
}

.timeline-item h3 {
    font-size: 24px;
    text-align: left;
    font-weight: 700;
    font-style: unset;
    /* line-height: 2; */
    margin: 8px 0 15px 0;
    font-variant-ligatures: common-ligatures contextual discretionary;
    font-feature-settings:


        "ss05" 1,


        "ss14" 1,

        "ss12" 1;
}
.timeline-item p {
  margin:5px 0;
  font-weight:500;
  font-size: 18px;
  font-style: italic;

}
.timeline-item img#cello {
    width: 208px;
    margin-left: -30px;
    margin-top: -20px;
}
.timeline-item img#saxo {
    width: 107px;
    align-self: center;
    margin-left: 15px;
}
.timeline-item div::before {
    background-color: white;
    width: 1px;
    height: calc(100% - 70px);
    position: absolute;
    content: "";
    left: 55px;
    top: 60px;
}
.timeline-item:last-of-type div::before{
  display:none;
}
.timeline-item:nth-of-type(5) h3 {
  font-size:20px;
}
section.horaire .timeline-item:last-of-type {
  min-height:120px;
}

section .horaire-subsection #montagne {
    margin: 0 auto 25px;
    width: 375px;
}

section .horaire-subsection .horaire-block {
  min-height: 110px;
  width:auto;
  background-color: var(--accent-strong);
}
section.horaire {
    /*background-color:var(--bg);*/
    gap: 0;
    position:relative;
}
section.horaire .timeline {
  list-style: none;
  margin: 30px;
  padding: 0;
  position: relative;
}
section.horaire .timeline-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    position: relative;
    min-height: 160px;
}
section.horaire .timeline-item time {
  font-size: 35px;
  font-weight: 700;
  text-align: center;
}



/* ************ */
/* SECTION MENU */
/* ************ */

section #menu {
    margin: 12svh auto;
    display:flex;
    flex-direction: column;
    align-items: center;
}
section #menu h1 {
    font-size: 5.5vh;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    display: block;
    text-align:center;
    font-variant-ligatures: common-ligatures contextual discretionary;
}
section #menu h1 span.caracter {
   font-feature-settings:
        "ss15" 1;
}
section.menu {
    /*background-color:var(--bg);*/
    gap: 0;
    position:relative;
}

section.menu p {
  text-align:center;
}

.menu-subsection  {
  border-top: solid white 1px;
  width:100%;
}
.menu-subsection:last-of-type {
  border-bottom: solid white 1px;
}
.menu-subsection textarea {
    margin: 0 auto;
    width: 310px;
    display: block;
    background-color: var(--bg) !important;
    /*-webkit-appearance: none; Disables default iOS styling */
    border: solid white 1px;
    border-radius: 11px;
    height: 175px;
    padding: 5px 10px;
    font-family: 'Ninna';
    font-size: 16px;
    font-weight:700;
    margin-bottom: 10vh;
}
.menu-subsection h3 {
  margin: 4rem 0 1.75rem;
}
.menu-subsection h2:after {
  content: var(--dynamic-text, '⌄');  
  margin: 0 0 0 20px;
  top: -5px;
  position:relative;
}
.menu-subsection .collapsible {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease-out; /* Vitesse et style du scroll */
}
.menu-subsection:nth-last-of-type(3){
  border-bottom:solid white 1px;
  margin-bottom: 6.5vh;
}
.menu-subsection .collapsible .collapsible-content {
  overflow: hidden;
}

.menu-subsection .collapsible.is-open {
    grid-template-rows: 1fr;
}

.menu-options {
    text-align: center;
    max-width: 375px;
    width: 375px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 16px;
}
.menu-options .radio-label {
    display: flex;
    border: solid white 1px;
    border-radius: 11px;
    font-size: 16px;
    height: 53px;
    cursor:pointer;
}
.menu-options .radio-label span {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto;
}
.menu-options .radio-label input {
  display:none;
}
.menu-options .radio-label:has(input:checked) {
  background: white;
  color: #6f7300;
  border-color: white;
}
.menu-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    width: 350px;
    margin: 0 auto;
}
.menu-cards .radio-label {
    display: flex;
    border: solid white 1px;
    border-radius: 11px;
    aspect-ratio: 1;
    padding: 20px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
}

.menu-cards .radio-label span {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto;
}
.menu-cards .radio-label input {
  display:none;
}
.menu-cards .radio-label:has(input:checked) {
  background: white;
  color: #6f7300;
  border-color: white;
}
.oups {
  margin: 10vh auto 1vh;
}
#merci {
  position:relative;
  margin-top:10vh;
  text-align:center;
  max-width:80vw;
}
#merci h1 {
  font-feature-settings:
      "ss04" 1,
      "ss12" 1,
      "ss13" 1,
      "ss14" 1;
  font-variant-ligatures: common-ligatures contextual discretionary;
  text-indent: 1vh;
}
.merci-section {
  gap:10vh;
}
.form-address {
    max-width: 375px;
    display: flex;
    flex-direction: column;
    gap: 2vh;
    border: solid var(--border) 0;
    border-radius: 11px;
    padding: 10px 25px;
    background-color: var(--bg-strong);
    align-items: center;
}
.form-address #submit-btn{
    font-size: unset;
    padding: 10px;
    width: 150px;
    margin: 20px;
}
.form-address input {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 300;
    margin: 0 auto;
    background-color: var(--bg);
    font-family: 'Ninna';
    color: var(--text);
    border: solid 1px var(--border);
    border-radius: 5px;
    height: 30px;
    width: 100%;
    padding:8px;
}
.form-address input::placeholder {
    color: var(--text);
    opacity: 1; /* Ensures consistent color rendering across browsers */
    font-style:italic;
}
.form-address input[type="text"]:focus {
  outline-color: var(--accent); /* Changes only the color to blue */
}

.merci-danse span {
  display: inline-block;
  animation: danse 2.5s ease-in-out infinite;
}

.merci-danse span:nth-child(1) { animation-delay: 0s; }
.merci-danse span:nth-child(2) { animation-delay: 0.24s; }
.merci-danse span:nth-child(3) { animation-delay: 0.48s; }
.merci-danse span:nth-child(4) { animation-delay: 0.72s; }
.merci-danse span:nth-child(5) { animation-delay: 0.96s; }
.merci-danse span:nth-child(6) { animation-delay: 1.20s; }

@keyframes danse {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(-0.15deg) scale(1);
  }

  25% {
    transform: translateY(-1px) translateX(0.75px) rotate(-0.35deg) scale(1.025);
  }

  50% {
    transform: translateY(0.75px) translateX(1px) rotate(0.35deg) scale(1.06);
  }

  75% {
    transform: translateY(-1px) translateX(0.25px) rotate(-0.15deg) scale(1.03);
  }
}
@media (prefers-reduced-motion: reduce) {
  .merci-danse span {
    animation: none;
  }
}
@keyframes danse {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    filter: blur(0px);
    text-shadow: 0 0 0 rgba(255,255,255,0);
  }

  50% {
    transform: translateY(1px) translateX(2.5px) rotate(5deg) scale(1.06);
    filter: blur(0.4px);
    text-shadow: 0 0 8px rgba(255,255,255,0.35);
  }
}

#oranger {
  position:absolute;
  top:2vw;
  left:calc(50% - 12em);
  height:20vh;
}

.cadeaux-section .text-wrapper{
  margin-top:10vh;
  color:var(--accent-strong);
}
.cadeaux-section .cadeaux-info {
  font-size: 18px;
  font-style: normal;
  letter-spacing: 0.001em;
  line-height: 1.21;
  font-weight: 400;
  margin-block-end: 10px;
  margin-block-start: 10px;
  font-variant-ligatures: common-ligatures contextual discretionary;
  font-feature-settings:
      "ss11" 1, /*pour le et*/
      "ss12" 1;
}
#cadeaux-body .nav-burger span {
  background: var(--accent-strong);
}
#cadeaux-body #cadeaux-main {
  background:var(--bg-extra-pale);
  background-color:var(--bg-extra-pale);
}
.cadeaux-section .text-wrapper {
  display:flex;
  flex-direction:column;
  gap:20px;
}
.cadeaux-section.scroll-section {
 gap:0;
}
.cadeaux-intro {
  margin-top:5vh;
  font-size: 22px;
  font-style: normal;
  letter-spacing: 0.001em;
  line-height: 1.46;
  font-weight: 500;
  font-variant-ligatures: common-ligatures contextual discretionary;
  font-feature-settings:
      "ss11" 1, /*pour le et*/
      "ss12" 1;
}
.cadeaux-info {
  margin:0;
}
.cadeaux-illustration {
  text-align:center;
}
img#chaises {
  width: 237px;
}
.cadeaux-cta {
  display:flex;
  flex-direction:column;
  gap:11px;
}
.cadeaux-cta p {
  font-size: 16px;
  font-style: normal;
  padding:0 5px 0 10px;
}
.cadeaux-cta .collapsible {
  overflow:hidden;
  transition: max-height 0.5s ease-out;
  max-height: 0;
}
.cadeaux-cta .collapsible.is-open {
  overflow:hidden;
  transition: max-height 0.5s ease-out;
  max-height: 500px;
}


.net {
  font-variant-ligatures:none;
  font-feature-settings:
    "ss01" 0, 
    "ss02" 0,
    "ss03" 0,
    "ss04" 0,
    "ss05" 0,
    "ss06" 0,
    "ss07" 0,
    "ss08" 0,
    "ss09" 0,
    "ss10" 0,
    "ss11" 0,
    "ss12" 0,
    "ss13" 0,
    "ss14" 0,
    "ss15" 0,
    "ss16" 0;
}
.net .click {
  font-weight: 700;
  cursor:pointer;
}
#khakis {
    position: relative;
    width: 100%;
    display: block;
    bottom: 0px;
    left: 10px;
}
#khakis img {
  width: 187px;
}

#map {
    max-width: 385px;
    width: 100%;
    margin: 5vh 0px;
}