/* assets/css/style.css */
/*body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; margin: 0; background: #f8fafc; color: #ffffff; }*/
.container { max-width: 900px; margin: 0 auto; padding: 24px; color:#fff; }
.card {  background: rgba(42, 42, 42, 0.5); /* 0.5 = 50% d’opacité */
  border-radius: 12px;
  padding: 24px;}
h1, h2, h3 { margin-top: 0; color:#fff }
.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; border: 0; background: #da3832 ; color: #fff; text-decoration: none; cursor: pointer; }
.btn.secondary { background: #64748b; }
.btn.danger { background: #ef4444; }
input, select { padding: 10px; border-radius: 10px; border: 1px solid #cbd5e1; width: 100%; }
label { display:block; margin: 8px 0 6px; font-weight: 600;}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mt-1{margin-top:6px; color:#fff;}.mt-2{margin-top:12px;color:#fff; }.mt-3{margin-top:18px; color:#fff;}.mt-4{margin-top:24px; color:#fff;}
.notice { padding: 10px 14px; border-radius: 10px; background: #ecfeff; border: 1px solid #a5f3fc; }
.answer { padding: 14px; border-radius: 10px; background: #f1f5f9; margin-top: 12px; }
.answer.good { border:1px solid #10b981; background:#ecfdf5 }
.answer.bad  { border:1px solid #ef4444; background:#fef2f2 }
table { width:100%; border-collapse: collapse; }
th, td { text-align:left; padding: 10px; border-bottom: 1px solid #e2e8f0; }
nav a { margin-right: 12px; }
.small { font-size: .9em; color:#475569 }

/* --- Présentation des réponses du quiz --- */

#answers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

/* Une réponse = ligne horizontale */
#answers label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  color: #ffffff; /* texte blanc */
  user-select: none;
}

/* Case à cocher custom (carrée, plus grande) */
#answers input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border: 2px solid var(--accent);
  background: transparent;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}

#answers input[type="radio"]:checked {
  background-color: var(--accent);
}

/* Texte des labels */
#answers span {
  display: inline-block;
  color: #ffffff;
  line-height: 1.3;
}

/* --- Feedback Bonne / Mauvaise réponse --- */

.answer {
  padding: 16px 18px;
  border-radius: 4px;
  background: #ffffff; /* fond blanc */
  margin-top: 16px;
  font-size: 1rem;
  border: none;        /* sans bordure */
}

/* Mauvaise réponse : texte rouge (#e23a34) */
.answer.bad {
  background: #ffffff;
  color: #e23a34;
  border: none;
}

/* Bonne réponse : texte vert (#029B8C) */
.answer.good {
  background: #ffffff;
  color: #029B8C;
  border: none;
}

h3.goodAnswer{
  font-variant: small-caps;
  color:#029B8C;
}

h3.badAnswer{
  font-variant: small-caps;
  color:#e23a34;
}


/*Custo Noel Vins sur 20*/

    :root {
      --bg: #050505;
      --bg-soft: #111111;
      --text: #f7f7f7;
      --muted: #b3b3b3;
      --accent: #da3832;
      --accent-soft: rgba(218,56,50,0.2);
      --danger: #f05454;
      --border: #2a2a2a;
    }


    @font-face {
    font-family: 'Rouge Script';
    src: url('/assets/fonts/rouge-script.woff2') format('woff2'),
         url('/assets/fonts/rouge-script.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


.badge-20ans {
    font-family: 'Rouge Script', cursive;
    font-size: 1rem;
    color: #fff; /* rouge ou ce que tu veux */
}

    * {
      box-sizing: border-box;
    }

    body {
      font-family: "Barlow", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
       background-image: url('../img/fond1.png');
  background-position: top right;
  background-repeat: no-repeat;
 background-size: 100% auto; /* L'image occupe toute la largeur */
 background-color: #000;

      color: var(--text);
      min-height: 100vh;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      color: var(--accent);
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    .page {
      max-width: 1200px;
      margin: 0 auto;
      padding: 24px 20px 64px;
    }

    .site-header {
    width: 100%;
    margin: 0;
    padding: 20px 100px 20px 40px;
    background-image: url(../img/fondNeige.png);
    background-repeat: repeat-x;      /* répétition horizontale */
    background-size: auto;            /* important : éviter contain */
    background-position: top left;    /* ou ce que tu veux */
}
}

/* HEADER – fond noir + image PNG transparente */
header {
  /*background-color: #000;                 /* fond noir */
  background-image: url("../img/fondNeige.png");  /* ton PNG transparent */
  background-repeat: no-repeat;           /* pas de répétition */
  background-size: contain;               /* adapte selon ton besoin : contain, cover, 100% auto */
  background-position: top right;      /* positionnement à ajuster si besoin */
  padding: 20px 0;                        /* pour laisser respirer */
}

    /* Header */
    header .logo img {
      /*height: 100px;*/
      width: auto;
    }

    header .logo span {
      font-size: 0.75rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .badge-20ans {
      padding: 6px 14px;
      font-family: 'Rouge Script', cursive;
      font-size: 2.5rem;
      color: var(--muted);
    } 
    
    .liste_lots{
        margin:2em 0;
    }
    .lesaviezvous{
       margin:2em 0;
       text-align: justify;
       
    }

    /* Hero */
    .hero {
      padding: 28px 0 32px;
    }

    .hero-eyebrow {
      font-size: 2rem;
      text-transform: uppercase;
      letter-spacing: 0.22em;
      color: var(--accent);
      margin-bottom: 10px;
    }

    h1.hero-title {
      font-size: clamp(3rem, 4vw, 3rem);
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    h2.hero-title {
      font-size: clamp(1.2rem, 1.4vw, 1.4rem);
      font-weight: 400;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .hero-sub {
      font-size: 1.05rem;
      color: var(--muted);
      margin: 30px 0px;
      text-align: justify;
    }

    .hero-sub strong{
      font-size: 1.2rem;
      color:  #fdb374;;
      font-variant: small-caps;
    }
    .hero-dates {
      font-size: 0.94rem;
      color: var(--text);
      margin-bottom: 20px;
    }

    .hero-dates strong {
      color: var(--accent);
      font-weight: 900;
    }

    .hero-prizes {
      /*border: 1px solid rgba(255,255,255,0.12);
      background: #060606;*/
      padding: 16px 16px 14px;
      margin-bottom: 22px;
    }

    .hero-prizes-title {
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .hero-prizes ul {
      list-style: none;
      padding-left: 0;
      margin-bottom: 0;
      display: grid;
      gap: 4px;
      font-size: 0.96rem;
    }

    .hero-prizes li span.rank {
      font-weight: 600;
      color: var(--accent);
      margin-right: 4px;
    }

    .hero-prizes li span.note {
      font-size: 0.86rem;
      color: var(--muted);
      margin-left: 4px;
    }

    .hero-main-card {
      padding: 14px 14px 8px;
      background: #050505;
      border: 1px solid var(--border);
    }

    .hero-main-caption {
      margin-top: 10px;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--muted);
    }

    .hero-grid figure {
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.08);
      background: #000;
      margin-bottom: 0;
    }

    .hero-grid img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Sections */
    .section {
      margin-top: 10px;
    }



    .section-title {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .section-subtitle {
      font-size: 0.95rem;
      color: var(--muted);
      margin-bottom: 14px;
    }

    .section-highlight {
      padding: 14px 16px;
      background: #111111;
      font-size: 0.96rem;
      border: 1px solid var(--border);
      text-align: justify;
    }

    .section-highlight strong {
      color: #ffffff;
      background: transparent;
      padding: 0;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-right: 8px;
      font-size: 0.82rem;
    }

    #formulaire {
      scroll-margin-top: 96px;
    }

    /* Formulaire */
    label {
      font-size: 0.9rem;
      color: var(--muted);
    }

    label .required {
      color: var(--danger);
      margin-left: 3px;
    }

    .form-control,
    .form-select,
    textarea.form-control {
      background-color: #000000;
      border: 1px solid var(--border);
      color: var(--text);
      font-size: 0.95rem;
      border-radius: 0;
    }

    .form-control:focus,
    .form-select:focus,
    textarea.form-control:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 1px var(--accent-soft);
      background: #050505;
      color: var(--text);
    }

    .form-check-input {
      background-color: #000;
      border-color: var(--border);
    }

    .form-check-input:checked {
      background-color: var(--accent);
      border-color: var(--accent);
    }

    .form-note {
      font-size: 0.8rem;
      color: var(--muted);
    }

    /* Boutons & éléments Bootstrap */
    .btn-primary {
      border: 0;
      background-color: var(--accent);
      padding:5px;
      color: #ffffff;
      font-weight: 600;
      letter-spacing: 0.08em  ;
      text-transform: uppercase;
      border-radius: 10px;
    }

    .btn-primary:hover {
      background-color: #f04740;
      border-color: #f04740;
      filter: brightness(1.04);
    }

    .side-info {
      border: 1px solid var(--border);
      background: #050505;
      font-size: 0.9rem;
      display: grid;
      gap: 12px;
      padding: 18px 18px 16px;
    }

    .side-info-title {
      font-size: 0.98rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--accent);
    }

    .side-info p {
      color: var(--muted);
    }

    .side-info ul {
      list-style: none;
      padding-left: 0;
      display: grid;
      gap: 6px;
    }

    .side-info li::before {
      content: "•";
      color: var(--accent);
      margin-right: 6px;
    }

    .side-info small {
      font-size: 0.78rem;
      color: var(--muted);
    }

    .social-card {
      border: 1px solid var(--border);
      background: #050505;
      padding: 14px 16px;
    }

    .social-label {
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--muted);
      margin-bottom: 4px;
    }

    .social-link {
      font-size: 0.98rem;
      font-weight: 500;
    }

    .social-hint {
      font-size: 0.9rem;
      color: var(--muted);
      margin-top: 10px;
    }

    footer {
      margin-top: 40px;
      font-size: 0.78rem;
      color: var(--muted);
      text-align: center;
    }
 

    h4{
      font-variant: small-caps;
      color:#fff;
    }

  #reglement p{
    text-align: justify;
  }

.questionsJeu {
  background: #1a1a1a;        /* gris très foncé mais plus clair que le fond général */
  border: 1px solid #2e2e2e;  /* gris foncé pour une bordure discrète mais lisible */
  padding: 24px;
  margin-top: 20px;
}

.mentionslegales{
  text-align: justify;
  color: var(--muted);
  font-size: 0.6rem;
}

.form-check-label {
  line-height: 1.3;
  margin-left:20px;
  color:#fff;
}

.form-check{
  margin:30px 0;
}

.white{
  filter: brightness(0) invert(1);
}

.tableauAdmin{
  margin-top:12px;color:#fff; font-size: 0.8rem;
}

.bonusRS{
    font-variant: small-caps;
}


@media (max-width: 576px) {
  body {
    background-size: 200% auto !important;
    background-position: top right !important;
  }
}

#q-text{
  font-size: 1.4rem;
  text-align: justify;
}

.p-4{
  text-align: center;
}