@charset "UTF-8";
:root {
  --color-white: #fff;
}

:root {
  --color-black: #000;
}

:root {
  --color-brown: #A3754C;
}

:root {
  --color-blue: #2C4963;
}

:root {
  --color-golden: #F3D57B;
}

:root {
  --color-yellow: #FEEF7E;
}

@font-face {
  font-family: "Pacifico-Regular";
  src: url("../fonts//Pacifico/Pacifico/Pacifico-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir";
  src: url("../fonts/avenir/avenir-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir";
  src: url("../fonts/avenir/avenir-book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir";
  src: url("../fonts/avenir/avenir-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir";
  src: url("../fonts/avenir/avenir-heavy.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir";
  src: url("../fonts/avenir/avenir-black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
.u-hidden {
  display: none !important;
}
@media screen and (max-width: 319px) {
  .u-hidden--very-small {
    display: none !important;
  }
}
@media screen and (min-width: 320px) and (max-width: 767px) {
  .u-hidden--small {
    display: none !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .u-hidden--medium {
    display: none !important;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  .u-hidden--large {
    display: none !important;
  }
}
@media screen and (min-width: 1440px) {
  .u-hidden--huge {
    display: none !important;
  }
}

.u-visually-hidden {
  position: absolute;
  margin: -0.1rem;
  border: 0;
  padding: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.u-visually-hidden.focusable .u-visually-hidden:active, .u-visually-hidden.focusable .u-visually-hidden:focus {
  position: static;
  margin: 0;
  width: auto;
  height: auto;
  overflow: visible;
  white-space: inherit;
  clip-path: none;
  clip: auto;
}

.u-invisible {
  visibility: hidden;
}

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

:root {
  scroll-behavior: smooth;
}

html {
  line-height: 1.15;
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.3;
  color: var(--color-black);
  font-family: sans-serif;
  font-size: 1em;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

blockquote p,
td p,
th p,
li li,
li p,
li h1,
li h2,
li h3,
li h4,
li h5,
li h6,
li label,
li select,
li input,
li textarea,
li button {
  font-size: 100%;
}

button {
  display: inline;
  margin: 0;
  outline: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

a img {
  border: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

hr {
  border: none;
  background-color: var(--color-black);
  height: 0.1rem;
}

input,
select,
textarea {
  font-family: sans-serif;
}

fieldset {
  margin: 0;
  border: none;
  padding: 0;
}

select {
  cursor: pointer;
  width: auto;
}

input,
select,
textarea,
label {
  vertical-align: middle;
}

.screen-reader {
  position: absolute;
  margin: -1px;
  border-width: 0;
  padding: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.screen-reader-focusable:focus {
  position: relative;
  margin: inherit;
  border: initial;
  padding: inherit;
  width: auto;
  height: auto;
  clip: initial;
}

/***
    The new CSS reset - version 1.7.3 (last updated 7.8.2022)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/
/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
 */
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

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

/* Reapply the pointer cursor for anchor tags */
a,
button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol,
ul,
menu {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-width: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input,
textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  appearance: revert;
}

/* reset default text opacity of input placeholder */
::placeholder {
  color: unset;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/
:where([contenteditable]:not([contenteditable=false])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable=true]) {
  -webkit-user-drag: element;
}

.c-footer {
  /*padding: 2rem 15%;*/
  z-index: 9999;
  padding: 20px 15%;
  background-color: var(--color-blue);
}
@media screen and (max-width: 768px) {
  .c-footer {
    padding: 10px 5%;
  }
}
.c-footer__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 0;
}
@media screen and (max-width: 768px) {
  .c-footer__list {
    justify-content: center;
    gap: 10px 0;
  }
}
.c-footer__li {
  font-family: "Arial", sans-serif;
  font-size: 14px;
  color: var(--color-white);
}
@media screen and (max-width: 768px) {
  .c-footer__li {
    margin: auto;
    font-size: 12px;
  }
}

.c-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  margin-bottom: 0;
  z-index: 99999;
}
@media screen and (max-width: 768px) {
  .c-header {
    gap: 1rem;
  }
}
.c-header img {
  max-width: 264px;
}

/* Cas particulier de la taille de l'image par page */
body.c-home .c-header a img {
  max-width: 264px;
}

/* Cas particulier de la taille de l'image par page */
body.c-consumer .c-header a img, body.c-documents .c-header a img, body.c-game .c-header a img {
  max-width: 200px;
}

/* Page du jeu : logos plus petits pour ne pas recouvrir la vidéo.
   Taille max $game-logo-max-width ; sous 1440px elle diminue
   proportionnellement à la largeur de l'écran (sans descendre sous
   $game-logo-min-width). */
body.c-game .c-header a img {
  max-width: clamp(60px, 9.7222222222vw, 140px);
}

/* Popups SweetAlert2 : au-dessus du header (z-index 99999) et des
   confettis de la page game (100000). Par défaut Swal est à 1060. */
body .swal2-container {
  z-index: 100001;
}

.swal2-popup {
  background-image: url("../images@2x/2002/bandeau bleu.png");
  /*background-size: cover;*/
  background-repeat: repeat-y;
  background-size: 100% 100%;
  background-color: transparent;
  border-radius: 25px;
}

.swal2-html-container {
  font-family: "Avenir", "Helvetica Neue", Arial, sans-serif;
  color: white;
}

button.swal2-confirm.btn-alert, button.swal2-confirm.platform-bg-primary {
  /*background-image: url('../images@2x/1972_HP_Bouton.png');
  background-size: 100% 100%;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 50% 40%;
  color: #215697;
  */
  background-color: #1783cd;
  border: solid 1px #00b2e8;
  color: white;
  border-radius: 25px;
  padding: 12px 35px 20px 35px;
  font-family: "Avenir", "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  cursor: pointer;
  height: 50px;
}

.grecaptcha-badge {
  display: none !important;
  position: absolute;
  left: 100%;
}

.o-container {
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 650px;
  max-width: 100%;
  background-color: transparent !important;
}
.o-container--fluid {
  margin: auto;
  padding: 0 1.5rem;
  max-width: 100%;
}

form.form label.form-title {
  font-family: "Avenir", "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
  text-transform: uppercase;
  vertical-align: bottom;
}

form.form label.form-sub-title {
  font-family: "Avenir", "Helvetica Neue", Arial, sans-serif;
  color: #215697;
  font-size: 1rem;
  font-weight: normal;
}

form div.form-control {
  margin-bottom: 5px;
}

#lb-next-button .button-text {
  position: relative;
  bottom: 5px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

.form-controls-container {
  width: 100%;
  text-align: center;
}

.form-control {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

label.form-control-label {
  width: 100%;
  display: block;
  text-align: left;
  font-family: "Avenir", "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 5px;
}

.form-control-input {
  width: 100%;
  background-color: white !important;
  border: none !important;
  height: 25px !important;
  border-radius: 0 !important;
  color: #215697 !important;
  font-family: "Avenir", "Helvetica Neue", Arial, sans-serif !important;
}

.invalid-feedback, .invalid-feedback div {
  /*color: #880808;*/
  font-family: "Avenir", "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  font-size: 0.8rem;
  text-align: left;
  color: white;
  background-color: #811331;
  border-bottom-left-radius: 10px;
  padding-left: 5px;
  border-bottom-right-radius: 10px;
}

form.form {
  background-size: 100% 100%;
  background-repeat: repeat-y;
  min-height: 80vh;
  margin-top: -55px;
  /*      padding-top: 20px;
        padding-left: 40px;
        padding-right: 40px;*/
}
@media screen and (max-width: 600px) {
  form.form {
    padding-left: 30px;
    padding-right: 30px;
  }
}

select.form-control-input, input[type=number], input[type=email], input[type=text], input[type=password], textarea, .input {
  text-align: left !important;
  font-weight: 500 !important;
}

input[type=number], input[type=email], input[type=password], select.form-control-input {
  padding-left: 5px;
}

.form .form-separator {
  border-radius: 10px;
  background: #00b2e8;
  height: 7px;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 108%;
  position: relative;
  left: -4%;
}

.form-controls-container {
  border-top-right-radius: 80px;
  border-top-left-radius: 80px;
  background-image: url("../images@2x/2002/bandeau bleu.png");
  margin-top: 20px;
  padding-top: 10px;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 4px;
}

.form .form-footer {
  background-image: url("../images@2x/2002/Bouton.png");
  background-size: contain;
  background-repeat: no-repeat;
  min-height: 50px;
  margin-top: -7px;
  margin-left: 4px;
}

#documents-form .form-title {
  width: 60% !important;
  float: left;
  text-align: left !important;
  font-weight: bold;
  font-size: 30px !important;
}

#documents-form label, #documents-form p, #documents-form em {
  color: white !important;
}

.form-control-label {
  text-transform: none !important;
}

#documents-form .form-control-sub-title {
  text-transform: uppercase !important;
  font-weight: bold !important;
  color: #afdef7 !important;
  font-size: 28px !important;
  display: block;
  width: 80% !important;
}

#documents-form .form-controls-container {
  padding-top: 40px !important;
}

#documents-form #lb-next-button {
  margin-top: -15px !important;
}

#documents-form #lb-next-button .button-text {
  line-height: 30px;
}

#consumer-form #lb-next-button, #contact-form #lb-next-button {
  margin-top: -10px !important;
}

#contact-form .form-controls-container {
  padding-top: 50px !important;
}

form .form-control-label a {
  color: #fff !important;
}

.c-home {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.c-home__pannel img {
  position: absolute;
  bottom: 0;
  z-index: -1;
}
.c-home__pannel--game {
  left: 15%;
}
@media screen and (max-width: 768px) {
  .c-home__pannel--game {
    left: 3%;
    max-width: 50%;
    bottom: 15rem !important;
  }
}
.c-home__pannel--panneau {
  right: 15%;
}
@media screen and (max-width: 768px) {
  .c-home__pannel--panneau {
    right: 5%;
    max-width: 50%;
    bottom: 13rem !important;
  }
}
.c-home-bottom {
  margin-bottom: 2rem;
}
.c-home-bottom p {
  color: var(--color-white);
  font-size: 2.5rem;
  font-family: "DancingScript", cursive;
}

#lb-next-button {
  /*background-image: url('../images@2x/1972_HP_Bouton.png');*/
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50% 40%;
  padding: 35px 35px 35px 35px;
}

.button-text {
  font-family: "Avenir", "Helvetica Neue", Arial, sans-serif;
  color: #215697;
  font-size: 22px;
  font-weight: 400;
  cursor: pointer;
}

.o-container.page.home {
  margin-top: 2%;
  padding: 2% 5%;
}
@media screen and (min-width: 1440px) and (max-width: 1839px) {
  .o-container.page.home {
    padding: 0% 10%;
  }
}
@media screen and (min-width: 1200px) and (max-width: 1439px) {
  .o-container.page.home {
    padding: 0% 10%;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1199px) {
  .o-container.page.home {
    padding: 2% 10%;
  }
}
@media screen and (min-width: 601px) and (max-width: 1023px) {
  .o-container.page.home {
    padding: 0% 10%;
  }
}
@media screen and (max-width: 600px) {
  .o-container.page.home {
    padding: 20% 0%;
  }
}

.o-container.page.home #lb-next-button {
  position: relative;
  top: -70px;
}
@media screen and (max-width: 600px) {
  .o-container.page.home #lb-next-button {
    top: -60px;
  }
}

.o-container.page.home #lb-next-button .button-text {
  bottom: 2px !important;
}

/* =============================================
   Home — éléments de la scène
   (anciens styles inline de pages/home.php)
============================================= */
.o-container.page.home {
  text-align: center;
  z-index: 9999;
}

/* ---------- Mobile (< 768px) ----------
   Fond calé en bas (la piste touche le footer), pas de groupe à droite.
   Empilement centré, depuis le bas de la scène :
   - CTA (.button-cta) tout en bas, sous la banderole ;
   - bandeau d'arrivée (.img-offer1) un peu plus large que l'écran
     (poteaux au ras des bords), posé au-dessus du CTA ;
   - panneau "À gagner" (.img-offer2) centré au-dessus du bandeau
     (il chevauche légèrement le haut des poteaux). */
@media screen and (max-width: 767px) {
  body.c-home.c-background {
    background-size: cover !important;
    background-position: 50% 100% !important;
  }
  .o-container.page.home {
    /* Bandeau : poteaux à ~10% / 90% de bandeau.png -> 115vw pour les
       amener au ras des bords de l'écran */
    --banner-w: 115vw;
    --banner-h: calc(var(--banner-w) * 700 / 1200);
    /* Panneau (mobile/sejour_a_gagner.png, 488x460) */
    --sign-w: min(44vw, 230px);
    --sign-h: calc(var(--sign-w) * 460 / 488);
    /* CTA (image 1839x855) */
    --cta-w: min(62vw, 300px);
    --cta-h: calc(var(--cta-w) * 855 / 1839);
    --cta-bottom: 4vw;
    /* Bas du bandeau : juste au-dessus du CTA */
    --banner-bottom: calc(var(--cta-bottom) + var(--cta-h) + 2vw);
    /* Bas du panneau : sur le haut du bandeau (les 10% du haut de
       bandeau.png ne contiennent que le sommet des poteaux) */
    --sign-bottom: calc(var(--banner-bottom) + var(--banner-h) * 1.02);
    position: relative;
    flex: 1;
    width: 100%;
    max-width: none;
    min-height: calc(var(--sign-bottom) + var(--sign-h));
    margin: 0;
    padding: 0 !important;
    overflow: hidden;
  }
  .o-container.page.home .centered-container {
    position: static;
  }
  .o-container.page.home .img-offer1 {
    position: absolute;
    left: 50%;
    bottom: var(--banner-bottom);
    width: var(--banner-w);
    max-width: none;
    transform: translateX(-50%);
    z-index: 5555;
  }
  .o-container.page.home .img-offer2 {
    position: absolute;
    left: 50%;
    bottom: var(--sign-bottom);
    width: var(--sign-w);
    max-width: none;
    transform: translateX(-50%);
    z-index: 9999;
  }
  .o-container.page.home {
    /* CTA : centré, sous la banderole */
  }
  .o-container.page.home #lb-next-button {
    position: absolute;
    top: auto;
    left: 50%;
    bottom: var(--cta-bottom);
    transform: translateX(-50%);
    padding: 0;
    z-index: 9999;
  }
  .o-container.page.home .button-cta img {
    display: block;
    width: var(--cta-w);
    max-width: none;
  }
  .o-container.page.home .img-offer3 {
    display: none;
  }
}
/* ---------- Desktop / tablette (>= 768px) ----------
   La scène occupe tout l'espace entre le header et le footer ; tous les
   éléments sont posés sur son bord bas (= haut du footer) :
   - bandeau d'arrivée (.img-offer1) centré, poteaux plantés sur la piste ;
   - panneau "À gagner" (.img-offer2) à gauche du bandeau ;
   - CTA (.button-cta) centré sous la toile, entre les poteaux ;
   - groupe (.img-offer3) à droite. Il glisse progressivement hors de
     l'écran quand la largeur diminue pour ne jamais empiéter sur le
     centre, puis il est masqué sous 1024px. */
@media screen and (min-width: 768px) {
  .c-home.c-background {
    background-size: cover !important;
    background-position: 50% 100%;
  }
  .o-container.page.home {
    /* Largeur du bandeau (~60% de l'écran) : toutes les autres positions
       en dépendent. Limitée aussi par la hauteur d'écran. */
    --banner-w: clamp(480px, min(61vw, (100vh - 220px) * 1.7), 1200px);
    --banner-h: calc(var(--banner-w) * 700 / 1200); /* ratio de bandeau.png */
    /* Bandeau remonté : la toile démarre juste sous les logos (le haut
       des poteaux, ~10% de l'image, remonte entre les logos).
       100% = hauteur de la scène. Plafonné à 30% pour que, sur un écran
       haut, les poteaux restent plantés dans la neige. */
    --banner-bottom: clamp(16px, 100% - var(--banner-h) * 0.9, 30%);
    /* Panneau rond */
    --sign-w: 300px;
    /* Groupe de personnes (image carrée) : 100vh de haut, posé sur le
       footer, donc son bord haut (toit coupé) sort par le haut de l'écran. */
    --group-size: 100vh;
    position: relative;
    flex: 1;
    width: 100%;
    max-width: none;
    /* Pas de min-height : la scène prend exactement l'espace entre header
       et footer (flex: 1), sinon le footer passe sous l'écran. La taille
       du bandeau est déjà limitée par la hauteur d'écran (--banner-w). */
    min-height: 0;
    margin: 0;
    padding: 0 !important;
  }
  .o-container.page.home .centered-container {
    position: static;
  }
  .o-container.page.home {
    /* Bandeau d'arrivée : centré, posé sur la piste */
  }
  .o-container.page.home .img-offer1 {
    position: absolute;
    left: 50%;
    bottom: var(--banner-bottom);
    width: var(--banner-w);
    max-width: none;
    transform: translateX(-50%);
    z-index: 5555;
  }
  .o-container.page.home {
    /* Panneau rond : à gauche du bandeau, chevauche légèrement son poteau */
  }
  .o-container.page.home .img-offer2 {
    position: absolute;
    bottom: 0;
    left: max(1.5vw, 50vw - var(--banner-w) / 2 - var(--sign-w) * 0.8);
    width: var(--sign-w);
    max-width: none;
    z-index: 9999;
  }
  .o-container.page.home {
    /* CTA : centré sous la toile, entre les deux poteaux (on "passe la
       ligne d'arrivée"). Dans bandeau.png, la zone libre sous la toile va
       de 50% à 90% de la hauteur ; le CTA y est placé dans la moitié basse
       (son centre à 22% de la hauteur du bandeau, depuis le bas). */
  }
  .o-container.page.home #lb-next-button {
    position: absolute;
    top: auto;
    left: 50%;
    bottom: calc(var(--banner-bottom) + var(--banner-h) * 0.22);
    transform: translate(-50%, 50%);
    padding: 0;
    z-index: 9999;
  }
  .o-container.page.home .button-cta img {
    display: block;
    width: 330px;
    max-width: none;
    transition: transform 0.2s ease;
  }
  .o-container.page.home #lb-next-button:hover .button-cta img,
  .o-container.page.home #lb-next-button:focus-visible .button-cta img {
    transform: scale(1.05);
  }
  .o-container.page.home {
    /* Groupe : à droite. Les personnages commencent à ~18% de la largeur
       de l'image (82% à droite). "right" devient négatif dès que leur bord
       gauche passerait avant 50vw + 30% du bandeau (texte de la toile
       toujours dégagé) : le groupe glisse alors hors de l'écran. */
  }
  .o-container.page.home .img-offer3 {
    position: absolute;
    bottom: 0;
    right: min(0px, 50vw - var(--group-size) * 0.82 - var(--banner-w) * 0.3);
    width: var(--group-size);
    height: auto;
    z-index: 8888;
  }
}
/* Tablette : plus de place pour le groupe -> masqué, le bandeau s'élargit */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .o-container.page.home {
    --banner-w: min(80vw, 760px);
    --sign-w: clamp(150px, 22vw, 220px);
  }
  .o-container.page.home .img-offer3 {
    display: none;
  }
}
/* ---------- CTA : animation d'appel au clic ----------
   Pulsation douce (léger grossissement + halo lumineux qui épouse la
   forme du bouton via drop-shadow), toutes les ~2s. L'animation est
   portée par le <span> pour ne pas entrer en conflit avec le scale du
   :hover posé sur l'image. Elle se met en pause au survol / focus et
   est désactivée si l'utilisateur préfère réduire les animations. */
@keyframes cta-pulse {
  0%, 60%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  30% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.9));
  }
}
.o-container.page.home #lb-next-button {
  cursor: pointer;
}
.o-container.page.home #lb-next-button .button-cta {
  display: inline-block;
  transform-origin: center;
  animation: cta-pulse 2s ease-in-out infinite;
}
.o-container.page.home #lb-next-button:hover .button-cta,
.o-container.page.home #lb-next-button:focus-visible .button-cta {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .o-container.page.home #lb-next-button .button-cta {
    animation: none;
  }
}

.c-home.c-background {
  background-image: url("../images@2x/2002/fond_avec_guirlandes.png");
  background-size: auto;
  background-position: 50% 0%;
  background-repeat: no-repeat;
  min-height: 100dvh;
}
@media screen and (max-width: 768px) {
  .c-home.c-background {
    background-size: inherit !important;
  }
}

.c-consumer.c-background, .c-documents.c-background, .c-tracking.c-background, .c-contact.c-background {
  background-color: var(--color-blue) !important;
  background-image: url("../images@2x//2002/Fond skieur avec feux rouges.png");
  background-size: contains !important;
  background-position: 50% 0%;
  background-repeat: no-repeat;
  min-height: 100dvh;
}
@media screen and (max-width: 768px) {
  .c-consumer.c-background, .c-documents.c-background, .c-tracking.c-background, .c-contact.c-background {
    /*background-image: url('../images@2x/bg-small.jpg');*/
    background-size: cover;
  }
}

.c-game.c-background {
  /*background-image: url('../images@2x/1972_grattage_fonds.png'); */
  background-image: url("../images@2x//2002/Visuel sans texte.png");
  background-size: cover !important;
  background-position: bottom;
  background-repeat: no-repeat;
  min-height: 100dvh;
}
@media screen and (max-width: 768px) {
  .c-game.c-background {
    /*background-image: url('../images@2x/bg-small.jpg');*/
    /*background-size: cover;*/
  }
}

/*
main.documents form.form {
      background-image: url('../images@2x/1972_Carnet_seul_v2.png');
      background-size: 100% 100%;
      background-repeat: no-repeat;
      min-height: 80vh;
      padding-top: 100px;
      padding-left: 50px;
      padding-right: 50px;

      @include media('screen', '<=mobile') {
            padding-left: 30px;
            padding-right: 30px;
      }
}
*/
.file-input {
  font-size: 13px;
  padding: 2px;
}

main.documents form.form .form-title {
  /*width: 75%;*/
  display: block;
  margin: 0 auto;
  text-align: center !important;
  font-size: 30px !important;
  margin-bottom: 15px;
}

main.documents form.form .form-title {
  font-size: 25px !important;
}

main.documents #lb-next-button {
  margin-top: -10px;
  margin-bottom: 10px;
}

.form-control {
  margin-top: 0px !important;
}

.form-control em {
  font-size: 12px !important;
  color: #215697 !important;
}

.form-control-checkbox {
  display: inline-block !important;
}

.form-control-checkbox .form-control-input {
  float: left;
  height: 19px !important;
}

.form-control.align-left .form-control-label {
  text-align: left;
}

.form-control-checkbox .form-control-label, .form-control-checkbox .form-control-label a {
  text-align: justify;
  color: #215697;
  font-family: "Verdana", sans-serif !important;
  font-size: 12px !important;
  /*font-weight: bold !important;*/
}

.form-control-checkbox .form-control-label {
  float: left;
  width: 93%;
  margin-left: 1%;
}
@media screen and (max-width: 600px) {
  .form-control-checkbox .form-control-label {
    width: 85%;
    text-align: justify !important;
  }
}

.form-control-required-field-message label {
  color: #215697;
  font-family: "Verdana", sans-serif !important;
  font-size: 12px !important;
}

.form-control-checkbox .form-control-input {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--color-blue, #4fc3f7); /* reprend la couleur bleue déjà utilisée */
  vertical-align: middle;
}

.form-control-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Les case/libellé sont en float : sans clear, le message d'erreur
   démarre derrière eux et son fond rouge recouvre tout le bloc */
.form-control-checkbox .invalid-feedback {
  clear: both;
  width: 100%;
}

#u_body {
  background-color: transparent !important;
}

#u_body span {
  /*font-family: $font-pacifico-regular !important;
  font-size: 20px !important;
  font-weight: normal !important;*/
}

#u_body table {
  width: 100% !important;
}

#u_body .u-col.u-col-100 {
  min-width: 400px !important;
}

#u_body strong {
  font-weight: bold !important;
}

#u_body .v-button {
  width: auto !important;
  background-image: url("../images@2x/1972_HP_Bouton.png") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: 50% 40% !important;
  padding: 35px 35px 35px 35px;
  background-color: transparent !important;
  font-family: "Avenir", "Helvetica Neue", Arial, sans-serif !important;
  color: #215697 !important;
}

.game-confirmation-popup div:where(.swal2-container) div:where(.swal2-popup) {
  width: auto !important;
}

.game-confirmation-popup .swal2-actions {
  display: none !important;
}

.c-game .logo.saint-jean {
  max-width: 150px !important;
}

.c-game .logo.apres-ski {
  max-width: 90px !important;
}

/* =============================================
   Page game — mobile (< 768px)
   - Vidéo : version portrait dédiée, plein écran (voir plus bas).
   - Fond du body : visuels portrait dédiés (images@2x/2002/mobile, 1080x1920) :
     Fond_game_mobile.png avant la révélation (donc pendant l'animation),
     puis "Visuel mobile gagné.png" / "Visuel mobile perdu.png", choisis en
     JS dans winningMomentAnimation.php. Plein écran, calés en bas.
============================================= */
@media screen and (max-width: 767px) {
  /* ---------- Vidéo ----------
     Version portrait dédiée (images@2x/2002/mobile, choisie en JS dans
     winningMomentAnimation.php) : plein écran, sans cadre ni flou.
     Image de fin en fond, si la lecture auto est bloquée. */
  .c-game .scene {
    background-image: url("../images@2x/2002/mobile/slalom_mobile_reveal.jpg");
    background-position: center bottom;
  }
  .c-game .scene video {
    object-position: center bottom;
  }
  /* ---------- Fond du body ----------
     Le JS met l'image à jour via la variable --game-bg (et via
     background-image, ignoré ici au profit du calque fixe ci-dessous,
     qui reste plein écran même si la page défile). */
  .c-game.c-background {
    background-image: none !important;
    position: relative;
    isolation: isolate;
  }
  .c-game.c-background::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: var(--game-bg, url("../images@2x/2002/mobile/Fond_game_mobile.png"));
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
  }
}
/* =============================================
   Page game — logos du header (<= 768px)
   specific.css (chargé après app.css) impose 150px / 120px en !important
   sous 768px : on passe devant avec un sélecteur plus spécifique.
   Les logos diminuent avec la largeur d'écran, entre un min et un max.
============================================= */
@media screen and (max-width: 768px) {
  body.c-game .c-header .logo.saint-jean {
    max-width: clamp(90px, 16vw, 120px) !important;
    margin-top: 12px;
  }
  body.c-game .c-header .logo.apres-ski {
    max-width: clamp(65px, 11vw, 85px) !important;
  }
}
/* Mobile (< 768px) : la vidéo portrait laisse beaucoup de ciel en haut,
   les logos peuvent donc être plus grands. (À 768px pile, c'est la
   vidéo paysage : les tailles réduites ci-dessus restent.) */
@media screen and (max-width: 767px) {
  body.c-game .c-header .logo.saint-jean {
    max-width: clamp(130px, 36vw, 200px) !important;
  }
  body.c-game .c-header .logo.apres-ski {
    max-width: clamp(90px, 25vw, 140px) !important;
  }
}
main.tracking form.form {
  background-image: url("../images@2x/1972_Carnet_seul_v2.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  min-height: 50vh;
  padding-top: 100px;
  padding-left: 100px;
  padding-right: 100px;
}
@media screen and (max-width: 600px) {
  main.tracking form.form {
    padding-left: 30px;
    padding-right: 30px;
  }
}

main.tracking label.form-title {
  width: 100%;
  display: block;
  margin-bottom: 10px;
}
@media screen and (max-width: 600px) {
  main.tracking label.form-title {
    font-size: 25px;
  }
}

main.tracking form.form #lb-next-button {
  padding: 35px 35px 35px 30px !important;
}

/*
main.contact form.form {
      background-image: url('../images@2x/1972_Carnet_seul_v2.png');
      background-size: 100% 100%;
      background-repeat: no-repeat;
      min-height: 80vh;
      padding-top: 100px;
      padding-left: 100px;
      padding-right: 100px;

    @include media('screen', '<=mobile') {
        padding-left: 30px;
        padding-right: 30px;
    }
}

main.contact #lb-next-button {
      margin-top: -10px;
      margin-bottom: 10px;
}
*/
textarea {
  text-align: left !important;
  background-color: white !important;
  border-radius: 0 !important;
  color: #215697 !important;
}

/* =============================================
   Formulaires consumer / documents / contact — mobile (< 768px)
   Tout est scopé sur .c-consumer / .c-documents / .c-contact pour
   ne rien changer aux autres pages ni au desktop.
============================================= */
@media screen and (max-width: 767px) {
  .c-consumer,
  .c-documents,
  .c-contact {
    /* ---------- Arrière-plan ----------
       Le fond n'était dessiné qu'une fois en haut du body : sur une page
       longue, il s'arrêtait à mi-hauteur. On le fixe au viewport via un
       pseudo-élément (background-attachment: fixed est ignoré sur iOS). */
  }
  .c-consumer.c-background,
  .c-documents.c-background,
  .c-contact.c-background {
    background-image: none !important;
    background-color: var(--color-blue) !important;
    position: relative;
    isolation: isolate;
  }
  .c-consumer.c-background::before,
  .c-documents.c-background::before,
  .c-contact.c-background::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url("../images@2x/2002/Fond skieur avec feux rouges.png");
    background-size: cover;
    background-position: 50% 30%;
    background-repeat: no-repeat;
    pointer-events: none;
  }
  .c-consumer,
  .c-documents,
  .c-contact {
    /* ---------- Marges ---------- */
  }
  .c-consumer .o-container.page,
  .c-documents .o-container.page,
  .c-contact .o-container.page {
    padding: 0 12px;
  }
  .c-consumer form.form,
  .c-documents form.form,
  .c-contact form.form {
    padding-left: 0;
    padding-right: 0;
    margin-top: -35px;
    min-height: 0;
  }
  .c-consumer .form-controls-container,
  .c-documents .form-controls-container,
  .c-contact .form-controls-container {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    padding: 20px 18px 4px 18px !important;
    margin-top: 10px;
  }
  .c-consumer .form .form-separator,
  .c-documents .form .form-separator,
  .c-contact .form .form-separator {
    height: 5px;
    width: calc(100% + 16px);
    left: -8px;
    margin-top: 8px;
    margin-bottom: 12px;
  }
  .c-consumer,
  .c-documents,
  .c-contact {
    /* ---------- En-tête (logo + titre) ---------- */
  }
  .c-consumer .form-controls-container > span,
  .c-documents .form-controls-container > span,
  .c-contact .form-controls-container > span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .c-consumer .form-controls-container > span img,
  .c-documents .form-controls-container > span img,
  .c-contact .form-controls-container > span img {
    width: 70px;
    height: auto;
  }
  .c-consumer form.form label.form-title,
  .c-consumer #documents-form label.form-title,
  .c-documents form.form label.form-title,
  .c-documents #documents-form label.form-title,
  .c-contact form.form label.form-title,
  .c-contact #documents-form label.form-title {
    float: none !important;
    width: 100% !important;
    display: block;
    text-align: center !important;
    font-size: 20px !important;
    line-height: 1.2;
    margin: 0 !important;
  }
  .c-consumer,
  .c-documents,
  .c-contact {
    /* ---------- Libellés / champs ---------- */
  }
  .c-consumer label.form-control-label,
  .c-documents label.form-control-label,
  .c-contact label.form-control-label {
    font-size: 0.95rem;
    margin-bottom: 3px;
  }
  .c-consumer .form-control,
  .c-documents .form-control,
  .c-contact .form-control {
    margin-bottom: 10px;
  }
  .c-consumer .form-control-input,
  .c-documents .form-control-input,
  .c-contact .form-control-input {
    height: 34px !important;
    font-size: 16px;
  }
  .c-consumer .form-control-checkbox .form-control-input,
  .c-documents .form-control-checkbox .form-control-input,
  .c-contact .form-control-checkbox .form-control-input {
    height: 18px !important;
  }
  .c-consumer .file-input,
  .c-documents .file-input,
  .c-contact .file-input {
    height: auto !important;
    font-size: 13px;
  }
  .c-consumer .form-control em,
  .c-documents .form-control em,
  .c-contact .form-control em {
    display: block;
    font-size: 11px !important;
    line-height: 1.3;
    margin-top: 3px;
  }
  .c-consumer .form-control > br,
  .c-documents .form-control > br,
  .c-contact .form-control > br {
    display: none;
  }
  .c-consumer .form-control-checkbox,
  .c-documents .form-control-checkbox,
  .c-contact .form-control-checkbox {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
  }
  .c-consumer .form-control-checkbox .form-control-input,
  .c-documents .form-control-checkbox .form-control-input,
  .c-contact .form-control-checkbox .form-control-input {
    float: none;
    margin-top: 1px;
  }
  .c-consumer .form-control-checkbox .invalid-feedback,
  .c-documents .form-control-checkbox .invalid-feedback,
  .c-contact .form-control-checkbox .invalid-feedback {
    flex-basis: 100%;
  }
  .c-consumer #documents-form .form-control-checkbox .form-control-label a,
  .c-documents #documents-form .form-control-checkbox .form-control-label a,
  .c-contact #documents-form .form-control-checkbox .form-control-label a {
    text-decoration: underline;
  }
  .c-consumer .form-control-checkbox .form-control-label,
  .c-documents .form-control-checkbox .form-control-label,
  .c-contact .form-control-checkbox .form-control-label {
    width: auto;
    flex: 1;
    margin-left: 0;
    text-align: left !important;
  }
  .c-consumer .form-control-checkbox .form-control-label,
  .c-consumer .form-control-checkbox .form-control-label a,
  .c-consumer .form-control-required-field-message label,
  .c-documents .form-control-checkbox .form-control-label,
  .c-documents .form-control-checkbox .form-control-label a,
  .c-documents .form-control-required-field-message label,
  .c-contact .form-control-checkbox .form-control-label,
  .c-contact .form-control-checkbox .form-control-label a,
  .c-contact .form-control-required-field-message label {
    font-size: 12px !important;
    line-height: 1.4;
  }
  .c-consumer .form-control-checkbox .form-control-label p,
  .c-documents .form-control-checkbox .form-control-label p,
  .c-contact .form-control-checkbox .form-control-label p {
    margin: 0;
  }
  .c-consumer,
  .c-documents,
  .c-contact {
    /* ---------- Bouton ---------- */
  }
  .c-consumer .form .form-footer,
  .c-documents .form .form-footer,
  .c-contact .form .form-footer {
    min-height: 0;
    margin-left: 0;
    background-size: 100% 100%;
  }
  .c-consumer #lb-next-button,
  .c-documents #lb-next-button,
  .c-contact #lb-next-button {
    width: 100%;
    padding: 18px 12px !important;
    margin-top: 0 !important;
  }
  .c-consumer #lb-next-button .button-text,
  .c-documents #lb-next-button .button-text,
  .c-contact #lb-next-button .button-text {
    bottom: 0;
    font-size: 18px;
    line-height: 1.15 !important;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  }
  /* ---------- Spécifique documents ---------- */
  .c-documents #documents-form .form-control-sub-title {
    width: 100% !important;
    font-size: 17px !important;
    line-height: 1.25;
    margin-bottom: 6px;
  }
  .c-documents #documents-form .form-footer {
    padding-top: 5px;
  }
  .c-documents #documents-form #lb-next-button {
    margin-bottom: -5px;
  }
  /* ---------- Spécifique contact ---------- */
  /* Le desktop impose 50px en !important via l'ID : on repasse devant */
  .c-contact #contact-form .form-controls-container {
    padding-top: 20px !important;
  }
  .c-contact #contact-form textarea {
    display: block;
    width: 100%;
    min-height: 140px;
    border: none;
    padding: 6px 8px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
  }
  .c-contact #contact-form .form-control-required-field-message label {
    display: block;
    text-align: left;
    color: #fff !important;
    line-height: 1.4;
  }
}
