@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800;900&family=Source+Sans+3:wght@700&display=swap');

/* ==========================================================================
   LES SILICONE DAYS 2026
   Couleurs de la charte :
     rose    #e6007e   (titres, boutons)
     bleu    #312783   (titres, pied de page)
     cyan    #009fe3
     orange  #f39200
     jaune   #ffde14
   Polices des maquettes : Objektiv Mk1 Black (titres) -> Montserrat 900
                           Myriad Pro Bold (boutons)   -> Source Sans 3 700
                           Helvetica (textes)
   ========================================================================== */

/* ==========================================================================
   1. BASE / RESET
   ========================================================================== */

html {
  font-size: calc(11px + 0.29vw);
  font-family: helvetica, arial, sans-serif;
  background-color: #fff;
}

body {
  font-family: helvetica, arial, sans-serif;
  color: #000000;
  background-color: transparent;
  overflow-x: hidden;
  position: relative;
}

p {
  font-size: 0.9rem;
}

/* ==========================================================================
   2. TYPOGRAPHIE
   ========================================================================== */

.f3MG {
  font-family: helvetica, arial, sans-serif;
  font-weight: bold;
}

/* Titres des maquettes (Objektiv Mk1 Black) */
.titre {
  font-family: 'Montserrat', helvetica, arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.7rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.t30 {
  font-size: 3.0rem;
  line-height: 3.2rem;
}

.t25 {
  font-size: 2.5rem;
  line-height: 2.8rem;
}

.t20 {
  font-size: 2.0rem;
  line-height: 2.3rem;
}

.t18 {
  font-size: 1.8rem;
}

.t16 {
  font-size: 1.6rem;
}

.t15 {
  font-size: 1.5rem;
}

.t13 {
  font-size: 1.3rem;
}

.t12 {
  font-size: 1.2rem;
}

.t11 {
  font-size: 1.1rem;
}

.t10 {
  font-size: 1.0rem;
}

.t9 {
  font-size: 0.9rem;
}

.t8 {
  font-size: 0.8rem;
}

.t7 {
  font-size: 0.7rem;
}

/* ==========================================================================
   3. COULEURS TEXTE
   ========================================================================== */

/* rose */
.tvert, .lienvert {
  color: #e6007e;
}

.lienvert:hover {
  color: #e6007e;
}

.tblanc, .lienblanc, .tBlanc {
  color: #fff;
}

.lienblanc:hover {
  color: #fff;
  text-decoration: underline;
}

.tbleu, .lienbleu {
  color: #009fe3;
}

.lienbleu:hover {
  color: #009fe3;
  text-decoration: underline;
}

.tnoir, .liennoir {
  color: #000;
}

.liennoir:hover {
  color: #000;
  text-decoration: underline;
}

.toast-body {
  color: #000;
}

.tgris {
  color: #999;
}

/* bleu foncé */
.trouge {
  color: #312783;
}

.tjaune {
  color: #ffde14;
}

.noirsouligne {
  text-decoration: underline;
  color: #000;
}

/* ==========================================================================
   4. EN-TÊTE : DÉCORS, LOGOS, MENU
   ========================================================================== */

/* Décors posés en haut de page, derrière le contenu (proportions des maquettes 1920 px) */
.decor-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
  pointer-events: none;
}

.decor-wrapper img {
  position: absolute;
  top: 0;
}

.decor-gauche {
  left: 0;
  width: 27.08vw;
}

.decor-droite {
  right: 0;
  width: 45.83vw;
}

.decor-wrapper .logosd {
  top: 4.95vw;
  right: 0.9vw;
  width: 19.95vw;
}

/* page d'accueil */
.decor-home .decor-gauche {
  width: 36.46vw;
}

.decor-home .decor-droite {
  width: 46.35vw;
}

.decor-home .cadeaux {
  top: 0.52vw;
  left: 0.52vw;
  width: 32.03vw;
}

.decor-home .logosd {
  top: 5.26vw;
  right: 0.94vw;
  width: 26.56vw;
}

.header1 {
  padding-bottom: 1.5rem;
}

.logo-geb {
  width: 12.55vw;
  min-width: 150px;
  max-width: 260px;
}

.logosd-mobile {
  width: 52vw;
  max-width: 260px;
}

/* Icônes réseaux sociaux (carré blanc) */
.icone-reseau {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  margin-left: 0.3rem;
  text-align: center;
  font-size: 0.95rem;
  background-color: #fff;
  color: #312783;
  border-radius: 0.3rem;
}

.icone-reseau:hover {
  background-color: #e6007e;
  color: #fff;
  text-decoration: none;
}

/* Liens du menu : pastilles sur mobile, texte blanc sur le dégradé à partir de 768px */
.menu-lien {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: bold;
  color: #312783;
  background-color: #fff;
  border-radius: 25px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.menu-lien:hover {
  color: #e6007e;
  text-decoration: none;
}

.menu-actif, .menu-actif:hover {
  color: #fff;
  background-color: #e6007e;
}

/* ==========================================================================
   5. FONDS DE SECTIONS
   ========================================================================== */

/* Bandeau du compte à rebours */
.fonddore {
  color: #fff;
  background: #312783 url("../img/bandeau-compte.jpg") center center / 100% 100% no-repeat;
}

/* Section « Je participe » */
.fondvert {
  position: relative;
  color: #fff;
  background: #312783 url("../img/fond-participe.jpg") center top / cover no-repeat;
}

/* ==========================================================================
   6. FORMULAIRES
   ========================================================================== */

.form-control {
  background-color: rgb(242, 242, 242) !important;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.form-control:focus {
  border-color: #e6007e;
  box-shadow: 0 0 0 0.15rem rgba(230, 0, 126, 0.2);
}

.form-control.blanc {
  background-color: rgb(255, 255, 255) !important;
}

/* Switch toggle */
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #e6007e !important;
  border-color: #e6007e !important;
}

/* Aide à la composition du mot de passe (affichée sous le champ pendant la saisie) */
#pswd_info {
  display: none;
  margin: 0.25rem 0 1rem;
  padding: 0.9rem 1.2rem 0.6rem;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  color: #000;
}

#pswd_info h4 {
  margin: 0 0 0.5rem;
  color: #312783;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#pswd_info ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

#pswd_info ul li {
  flex: 1 1 45%;
  min-width: 14rem;
  padding: 0.2rem 1rem 0.2rem 1.5rem;
  position: relative;
  font-size: 0.85rem;
  line-height: 1.4;
}

#pswd_info ul li:before {
  position: absolute;
  left: 0;
  top: 0.2rem;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

#pswd_info ul li strong {
  font-weight: bold;
}

.valid {
  color: #2e973f;
}

.valid:before {
  content: "\f00c";
}

.invalid {
  color: #9a9a9a;
}

.invalid:before {
  content: "\f00d";
  color: #e6007e;
}

/* État du Gencod saisi (preuves.php) */
.etat-gencode {
  min-height: 1.5rem;
  font-size: 0.9rem;
  font-weight: bold;
}

.etat-gencode.ok {
  color: #2e973f;
}

.etat-gencode.erreur {
  color: #ff0000;
}

/* ==========================================================================
   7. BOUTONS
   ========================================================================== */

/* --- Bouton principal (rose) --- */
.bvert {
  font-family: 'Source Sans 3', 'Myriad Pro', helvetica, arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 3px;
  background: #e6007e !important;
  color: #fff !important;
  text-align: center;
  border: solid 1px #e6007e !important;
  display: inline-block;
  vertical-align: middle;
  padding: 8px 20px;
  cursor: pointer;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.bvert:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff !important;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.bvert:hover, .bvert:focus, .bvert:active {
  color: #e6007e !important;
  text-decoration: none !important;
  border-radius: 3px;
  overflow: hidden;
}

.bvert:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --- Bouton gris --- */
.bgris {
  font-family: 'Source Sans 3', 'Myriad Pro', helvetica, arial, sans-serif;
  font-weight: 700;
  border-radius: 3px;
  background: rgb(207, 205, 205) !important;
  color: #000 !important;
  text-align: center;
  border: solid 1px rgb(207, 205, 205) !important;
  display: inline-block;
  vertical-align: middle;
  padding: 8px 20px;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.bgris:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff !important;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.bgris:hover, .bgris:focus, .bgris:active {
  color: #000 !important;
  text-decoration: none !important;
  overflow: hidden;
}

/* --- Bouton blanc (« Je crée mon compte ») --- */
.bblanc {
  border-radius: 25px;
  background: #fff !important;
  color: #000 !important;
  font-weight: bold;
  text-align: center;
  border: solid 1px #fff !important;
  display: inline-block;
  vertical-align: middle;
  padding: 8px 20px;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.bblanc:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #e6007e !important;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.bblanc:hover, .bblanc:focus, .bblanc:active {
  color: #fff !important;
  text-decoration: none !important;
  overflow: hidden;
}

/* --- Hover commun bvert/bgris/bblanc --- */
.bblanc:hover:before, .bblanc:focus:before, .bblanc:active:before,
.bvert:hover:before, .bvert:focus:before, .bvert:active:before,
.bgris:hover:before, .bgris:focus:before, .bgris:active:before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

/* --- Bouton Bootstrap secondary (« Renvoyer l'e-mail ») --- */
.btn-secondary {
  color: #000 !important;
  background-color: rgb(242, 242, 242) !important;
  border-color: rgb(242, 242, 242) !important;
  border-radius: 25px;
}

.btn-secondary:hover {
  color: #000 !important;
  border: 1px solid #000 !important;
}

/* ==========================================================================
   8. COMPOSANTS
   ========================================================================== */

/* --- Compte à rebours (un cadre par chiffre, comme gebissime2026) --- */
.time-frame {
  display: inline-block;
  width: 50px;
  padding: 10px;
  margin: 5px;
  background-color: #fff;
  border: 3px solid #000;
  border-radius: 7px;
  color: #000;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.time-groupe {
  padding: 0 1.2rem;
  white-space: nowrap;
}

.time-label {
  display: inline-block;
  margin-top: 0.6rem;
  color: #000;
  font-size: 0.8rem;
  font-weight: bold;
}

/* --- Étapes « Comment participer » --- */
.pastille {
  flex: 0 0 auto;
  width: 2.3rem;
  height: 2.3rem;
  line-height: 2.3rem;
  margin-right: 1rem;
  border-radius: 50%;
  background-color: #312783;
  color: #fff;
  font-size: 1.35rem;
  font-weight: bold;
  text-align: center;
}

.etape {
  max-width: 28rem;
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.65;
}

/* --- Cards --- */
.cardombre {
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0px 5px 13px 0px rgba(0, 0, 0, 0.41);
}

/* --- Visuels gagné / perdu --- */
.visuel-resultat {
  width: 34.4vw;
  min-width: 300px;
  max-width: 100%;
}

.visuel-resultat.perdu {
  width: 38.5vw;
}

/* --- Tableau des produits du règlement --- */
.produits {
  font-size: 0.85rem;
}

.produits th {
  background-color: #312783;
  color: #fff;
}

/* ==========================================================================
   9. UTILITAIRES
   ========================================================================== */

.bordnoir {
  border-left: 3px solid #000;
}

.bordblanc {
  border-left: 3px solid #fff;
}

.w250 {
  width: 250px !important;
}

.mentions li {
  font-size: 0.9rem;
}

.mentions strong {
  background-color: #ccc;
  padding: 2px 2px 2px 0px;
}

/* --- Rappel du mode test (avant l'ouverture du jeu) --- */
.bandeau-test {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1400;
  padding: 4px 12px;
  background-color: #000;
  color: #ffde14;
  font-size: 12px;
  border-top-right-radius: 6px;
}

/* --- Footer --- */
.footer {
  position: relative;
  overflow: hidden;
  background-color: #312783;
  color: #fff;
  font-size: 14px;
  font-family: helvetica, arial, sans-serif;
}

.footer .tvert {
  font-weight: bold;
}

/* anneau bicolore à cheval sur le haut du pied de page (visible en entier sur l'accueil) */
.footer:before {
  content: "";
  position: absolute;
  left: 8.33vw;
  top: -7.55vw;
  width: 12.5vw;
  height: 12.4vw;
  background: url("../img/anneau.png") center center / 100% 100% no-repeat;
}

body.home .footer {
  overflow: visible;
}

@media (max-width: 1599px) {
  .footer > .container > .row:first-child {
    padding-top: 7vw !important;
  }
}

/* ==========================================================================
   10. ANIMATIONS
   ========================================================================== */

.zoom-in-zoom-out {
  animation: zoom-in-zoom-out 2s ease-out infinite;
}

@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.08, 1.08);
  }
  100% {
    transform: scale(1, 1);
  }
}

/* ==========================================================================
   11. MEDIA QUERIES
   ========================================================================== */

/* --- Mobile : max 767px --- */
@media (max-width: 767px) {
  .decor-gauche {
    width: 36vw;
  }

  .decor-droite {
    width: 62vw;
  }

  .decor-home .decor-gauche {
    width: 48vw;
  }

  .decor-home .decor-droite {
    width: 62vw;
  }

  .bordnoir, .bordblanc {
    border-left: none;
  }

  .time-groupe {
    padding: 0 0.4rem;
  }

  .time-frame {
    width: 30px;
    padding: 5px;
    margin: 2px;
    font-size: 20px;
  }

  .footer:before {
    left: 20px;
    top: -60px;
    width: 100px;
    height: 99px;
  }

  .footer > .container > .row:first-child {
    padding-top: 4rem !important;
  }
}

/* --- Tablettes : cadres du compte à rebours réduits --- */
@media (min-width: 768px) and (max-width: 991px) {
  .time-groupe {
    padding: 0 0.8rem;
  }

  .time-frame {
    width: 38px;
    padding: 7px;
    margin: 3px;
    font-size: 28px;
  }
}

/* --- À partir de 768px : mise en page des maquettes --- */
@media (min-width: 768px) {
  .titre {
    font-size: 2.1vw;
  }

  .menu-lien {
    margin-left: 0;
    padding: 0.25rem 0.6rem;
    color: #fff;
    background-color: transparent;
    box-shadow: none;
  }

  .menu-lien:hover {
    color: #fff;
    text-decoration: underline;
  }

  .menu-actif, .menu-actif:hover {
    background-color: #e6007e;
    text-decoration: none;
  }

  /* accueil : l'en-tête garde les proportions de la maquette (610 / 1920) */
  .header-home {
    min-height: 31.77vw;
  }

  .header-home .titre {
    font-size: 1.9vw;
  }

  .header-home .titre.accroche {
    font-size: 2.15vw;
  }

  .header-home .sous-titre {
    font-size: 1vw;
  }

  .header-home .accroche {
    margin-top: 1.8vw !important;
  }

  .header-home .sous-titre {
    margin-top: 3.7vw !important;
  }

  .header-home .boutons {
    margin-top: 4.8vw !important;
  }

  .header-home .bvert {
    width: 13.2vw !important;
    min-width: 180px;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .header-home .sous-titre {
    font-size: 12px;
    max-width: 34vw;
    margin-left: auto;
    margin-right: auto;
  }
}
