/* Accueil v2 : styles de la maquette accueil.html (05, 24/10/2026). */

  /* héros 7/5 */
  .heros { padding-top: 72px; padding-bottom: 120px; }
  .heros .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
  .heros .display { font-size: 66px; }
  .heros .chapo { font-size: 20px; max-width: 46ch; }
  .heros .actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
  .heros .rangee-icones { display: flex; align-items: center; gap: 10px; margin-top: 44px; }
  .heros .rangee-icones img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 16px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06); }
  .heros .rangee-icones > span { margin-left: 8px; font-size: 14px; color: var(--gris); }
  .scene-heros { position: relative; height: 560px; }
  .scene-heros .navig { position: absolute; top: 10px; right: -40px; width: 600px; transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); }
  .page-offre { height: 420px; background: #F4F2EE; padding: 26px 28px; color: #222; }
  .page-offre .logo-ent { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, #2F6FEB, #7AA6FF); }
  .page-offre .l { height: 10px; border-radius: 5px; background: #DCD8D1; margin-top: 12px; }
  .page-offre .t { height: 18px; width: 62%; border-radius: 6px; background: #2B2A2E; margin-top: 18px; }
  .page-offre mark { display: inline-block; height: 10px; border-radius: 5px; background: rgba(224, 169, 81, .55); margin-top: 12px; }
  .scene-heros .popup { width: 290px; right: -10px; top: 120px; transform: rotate(2deg); }
  .scene-heros .nixh { position: absolute; left: -10px; bottom: -36px; width: 300px; z-index: 3; }
  .scene-heros .socle { bottom: -40px; left: 150px; width: 240px; z-index: 2; }
  .etiquette { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; font-size: 14px; font-weight: 600;
               background: rgba(23, 23, 28, .9); border: 1px solid var(--or-35); box-shadow: 0 20px 40px rgba(0, 0, 0, .5), 0 0 30px -6px rgba(224, 169, 81, .4); backdrop-filter: blur(10px); }
  .etiquette img { width: 26px; height: 26px; border-radius: 7px; }
  .etiquette small { display: block; font-weight: 400; color: var(--gris); font-size: 12px; }
  .scene-heros .e1 { left: -70px; top: 150px; }
  .scene-heros .e2 { right: -30px; bottom: 6px; }

  /* portes en bento */
  .tete-2 { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gouttiere); align-items: end; margin-bottom: var(--bloc); }
  .tete-2 .chapo { margin: 0; justify-self: end; }
  .bento { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: 1fr 1fr; gap: var(--gouttiere); }
  .porte { display: flex; flex-direction: column; overflow: visible; min-height: 280px; }
  .porte .h3 { font-size: 28px; margin-top: 12px; }
  .porte p { color: var(--gris); margin-top: 10px; max-width: 40ch; }
  .porte .lien-fleche { margin-top: auto; padding-top: 22px; }
  .porte .num { font: 700 13px/1 var(--corps); letter-spacing: .2em; color: var(--or); }
  .porte.grande { grid-row: span 2; padding: 40px; justify-content: flex-start; background:
      radial-gradient(500px 380px at 85% 85%, rgba(224, 169, 81, .18), transparent 70%) padding-box,
      linear-gradient(180deg, var(--charbon-3), var(--charbon-2)) padding-box,
      linear-gradient(160deg, rgba(224, 169, 81, .55), rgba(255, 255, 255, .06) 40%, rgba(224, 169, 81, .25)) border-box; }
  .porte.grande .h3 { font-size: 40px; max-width: 12ch; }
  .porte.grande .nixp { position: absolute; right: -24px; bottom: -36px; width: 420px; }
  .porte.grande .mini { display: grid; grid-template-columns: repeat(4, 44px); gap: 10px; margin-top: 28px; }
  .porte.grande .mini img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 8px 20px rgba(0, 0, 0, .5); }
  .porte.petite { padding: 30px 200px 30px 30px; }
  .porte.petite .nixp { position: absolute; right: -14px; bottom: -22px; width: 210px; }

  /* chiffres clés */
  .chiffres { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--rayon); overflow: hidden;
              background: linear-gradient(180deg, var(--charbon-3), var(--charbon-2)) padding-box, linear-gradient(90deg, rgba(224, 169, 81, .5), rgba(255, 255, 255, .05), rgba(224, 169, 81, .5)) border-box;
              border: 1px solid transparent; box-shadow: var(--ombre), var(--ombre-or); }
  .chiffres > div { padding: 34px 32px; position: relative; }
  .chiffres > div + div::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--trait); }
  .chiffres b { display: block; font: 700 60px/1 var(--corps); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
  .chiffres > div > span { display: block; margin-top: 10px; color: var(--gris); font-size: 15px; }

  /* univers */
  .univers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gouttiere); }
  .univ { display: flex; flex-direction: column; gap: 14px; min-height: 210px; }
  .univ .haut { display: flex; justify-content: space-between; align-items: center; }
  .univ .icones { display: flex; }
  .univ .icones img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 8px 18px rgba(0, 0, 0, .55), 0 0 0 2px var(--charbon-2); }
  .univ .icones { gap: 8px; }
  .univ .noms { color: var(--gris); font-size: 15px; }
  .univ .lien-fleche { margin-top: auto; font-size: 15px; }

  /* quiz en bande lumineuse */
  .quiz .h2 { font-size: 56px; }
  .quiz .eventail { position: relative; height: 380px; }
  .quiz .eventail img { position: absolute; width: 230px; filter: drop-shadow(0 24px 24px rgba(80, 40, 0, .35)); }
  .quiz .etapes { display: flex; gap: 22px; margin-top: 26px; font-weight: 600; font-size: 15px; }
  .quiz .etapes > span { display: flex; align-items: center; gap: 8px; }
  .quiz .etapes > span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--or-encre); }

  /* All Access 5/7 */
  .cle { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
  .cle .anneau { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed var(--or-35); }
  .cle .anneau.b { inset: 22%; border-style: solid; border-color: var(--or-20); }
  .cle .coeur { width: 46%; aspect-ratio: 1; border-radius: 28px; display: grid; place-items: center; text-align: center;
                background: linear-gradient(160deg, #2A2418, #141210); border: 1px solid var(--or-35); box-shadow: 0 0 80px -10px rgba(224, 169, 81, .55), var(--ombre); }
  .cle .coeur img { width: 64px; margin: 0 auto; filter: drop-shadow(0 0 16px rgba(224, 169, 81, .7)); }
  .cle .coeur b { display: block; font: 800 22px/1.1 var(--titre); margin-top: 12px; }
  .cle .orbite { position: absolute; width: 50px; height: 50px; border-radius: 13px; box-shadow: 0 10px 20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
  .liste-coche { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
  .liste-coche li { display: flex; gap: 14px; align-items: flex-start; color: var(--texte); }
  .liste-coche li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
                            background: var(--or-12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0A951' stroke-width='3'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center/12px no-repeat;
                            border: 1px solid var(--or-35); }

  /* faits */
  .faits { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gouttiere); }
  .fait .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--or-12); border: 1px solid var(--or-35); color: var(--or); }
  .fait .ico svg { width: 22px; height: 22px; }
  .fait .h3 { margin-top: 18px; font-size: 20px; }
  .fait p { margin-top: 8px; color: var(--gris); font-size: 15px; }

  /* newsletter 7/5 */
  .form-nl { display: flex; gap: 10px; margin-top: 30px; padding: 8px; border-radius: var(--pilule); background: rgba(255, 255, 255, .04); border: 1px solid var(--or-20); max-width: 560px; }
  .form-nl input { flex: 1; background: none; border: 0; color: var(--texte); font: 16px var(--corps); padding: 0 18px; outline: none; }
  .form-nl input::placeholder { color: var(--gris-2); }

  @media (max-width: 760px) {
    .heros { padding-top: 32px; padding-bottom: 64px; }
    .heros .display { font-size: 40px; }
    .heros .chapo { font-size: 17px; }
    .heros .actions .btn { flex: 1; justify-content: center; }
    .heros .rangee-icones { margin-top: 28px; flex-wrap: wrap; } .heros .rangee-icones img { width: 28px; height: 28px; }
    .scene-heros { height: 400px; margin-top: 24px; }
    .scene-heros .navig { width: 330px; right: -24px; transform: none; }
    .page-offre { height: 250px; padding: 18px; }
    .scene-heros .popup { width: 170px; top: 80px; right: -16px; }
    .scene-heros .nixh { width: 190px; bottom: 6px; left: -8px; }
    .scene-heros .socle { bottom: 0; left: 90px; width: 150px; }
    .scene-heros .e1 { left: -6px; top: 4px; } .scene-heros .e2 { display: none; }
    .tete-2 { grid-template-columns: 1fr; } .tete-2 .chapo { justify-self: start; }
    .bento { grid-template-columns: 1fr; grid-template-rows: auto; }
    .porte.grande { padding: 26px 26px 220px; } .porte.grande .h3 { font-size: 30px; } .porte.grande .nixp { width: 250px; right: -10px; bottom: -20px; }
    .porte.petite { padding: 24px 130px 24px 22px; min-height: 0; } .porte.petite .nixp { width: 140px; right: -10px; bottom: -14px; }
    .chiffres { grid-template-columns: 1fr 1fr; } .chiffres > div { padding: 22px 18px; } .chiffres b { font-size: 40px; }
    .chiffres > div:nth-child(3)::before { display: none; }
    .univers { display: flex; } .univ { min-height: 190px; }
    .quiz .h2 { font-size: 36px; } .quiz .eventail { height: 240px; } .quiz .eventail img { width: 150px; }
    .quiz .etapes { flex-wrap: wrap; gap: 10px 18px; }
    .cle { width: 82%; margin: 0 auto; }
    .faits { display: flex; } .faits > * { flex-basis: 72%; }
    .form-nl { flex-direction: column; border-radius: 18px; } .form-nl input { height: 48px; } .form-nl .btn { justify-content: center; }
  }

  /* v2 : compléments pour la vraie page */
  .aa-texte { padding-left: 40px; } .aa-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
  .nl-nix { position: relative; height: 320px; } .nl-nix .socle { bottom: 10px; width: 260px; }
  .nl-nix img { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 320px; }
  .nl-band .nl-form { display: flex; gap: 10px; margin-top: 30px; padding: 8px; border-radius: var(--pilule); background: rgba(255,255,255,.04); border: 1px solid var(--or-20); max-width: 560px; }
  .nl-band .nl-form input[type=email] { flex: 1; min-width: 0; background: none; border: 0; color: var(--texte); font: 16px var(--corps); padding: 0 18px; outline: none; }
  .nl-band .nl-form input::placeholder { color: var(--gris-2); }
  .nl-band .nl-form button { height: 50px; padding: 0 26px; border: 0; border-radius: var(--pilule); cursor: pointer; font: 600 16px/1 var(--corps); color: var(--or-encre);
                             background: linear-gradient(180deg, var(--or-clair), var(--or)); box-shadow: 0 10px 30px -8px rgba(224,169,81,.55); }
  @media (max-width: 760px) {
    .aa-texte { padding-left: 0; }
    .nl-band .nl-form { flex-direction: column; border-radius: 18px; } .nl-band .nl-form input[type=email] { height: 48px; }
    .nl-nix { height: 240px; } .nl-nix img { width: 230px; }
  }

/* Portes sur petits écrans (25/10) : la colonne du bento prenait 291 px pour 288 disponibles. */
.bento > * { min-width: 0; }
@media (max-width: 760px) { .bento { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 359px) { .porte.grande { padding: 24px 20px 220px; } .porte.grande .h3 { font-size: 28px; } html body .porte.petite .h3 { font-size: 22px; } }
/* Grande porte en mobile (relecture 00, 25/10) : Nix reste sous le texte et le lien, jamais dessus (marge de 16 px au moins). */
@media (max-width: 760px) { html body .porte.grande { padding-bottom: 250px; } }
