/* ==========================================================================
   imynailsbeautybar.fr : feuille de style, page unique sur fond sombre
   Palette : nuit, turquoise, or. Polices systeme, aucun appel externe.
   ========================================================================== */
:root {
  --nuit: #07131d; --nuit-2: #0c1d2a; --nuit-3: #122636; --ligne: #1f3a4d;
  --tq: #14b8a6; --tq-clair: #5eead4; --or: #eab308; --or-2: #ca8a04; --rose: #e11d48;
  --texte: #e6eef4; --texte-2: #9fb4c3;
  --titre: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --corps: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--nuit); color: var(--texte); font: 17px/1.68 var(--corps); }
img { max-width: 100%; height: auto; }
a { color: var(--tq-clair); text-underline-offset: 2px; } a:hover { color: #99f6e4; }
h1, h2, h3 { font-family: var(--titre); color: #fff; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; margin: .6rem 0 .7rem; }
h2 { font-size: 1.6rem; font-weight: 800; margin: 0 0 .9rem; }
h3 { font-size: 1.18rem; font-weight: 700; margin: 1.6rem 0 .5rem; }
p { margin: 0 0 1rem; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; z-index: 60; background: #fff; color: #000; padding: .5rem .8rem; }

/* En-tete */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(7,19,29,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.brand img { display: block; width: 200px; height: auto; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.age { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--rose); color: #fff; font-weight: 800; font-size: .78rem; }
@media (max-width: 560px) { .brand img { width: 150px; } .header-actions .btn-line { display: none; } }

/* Boutons */
.btn { display: inline-block; background: linear-gradient(135deg, var(--or), var(--or-2)); color: #111827; font-weight: 800; text-decoration: none;
  padding: .8rem 1.4rem; border-radius: 12px; line-height: 1.2; text-align: center; border: 0; }
.btn:hover { color: #111827; filter: brightness(1.07); }
.btn-line { background: transparent; color: #fff; border: 1.5px solid var(--ligne); } .btn-line:hover { color: #fff; border-color: var(--tq); filter: none; }
.btn-sm { padding: .52rem .95rem; font-size: .9rem; }
.btn-tq { background: linear-gradient(135deg, var(--tq), #0d9488); color: #fff; } .btn-tq:hover { color: #fff; }
.btn-wide { display: block; width: 100%; }

/* Bandeau */
.hero { position: relative; margin: 1.4rem 0 1.2rem; border-radius: 26px; overflow: hidden; border: 1px solid var(--ligne);
  background: var(--nuit-2) url("https://imynailsbeautybar.fr/assets/img/hero-fond-1200.webp") center right / cover no-repeat; }
@media (min-width: 1300px) { .hero { background-image: url("https://imynailsbeautybar.fr/assets/img/hero-fond-1920.webp"); } }
@media (max-width: 760px) { .hero { background-image: url("https://imynailsbeautybar.fr/assets/img/hero-fond-760.webp"); background-position: center top; } }
.hero-inner { max-width: 600px; padding: 2.8rem 2.6rem 1.8rem; }
.hero-logo { display: block; width: 240px; height: auto; }
.accroche { font-size: 1.14rem; color: #d7e3ec; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-meta { font-size: .84rem; color: var(--texte-2); margin: 1rem 0 0; }
.hero-chiffres { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(7,19,29,.82); border-top: 1px solid var(--ligne); }
.hero-chiffres div { padding: 1rem; text-align: center; border-left: 1px solid var(--ligne); } .hero-chiffres div:first-child { border-left: 0; }
.hero-chiffres b { display: block; font: 800 1.5rem var(--titre); color: var(--or); } .hero-chiffres span { font-size: .82rem; color: var(--texte-2); }
@media (max-width: 760px) {
  .hero-inner { padding: 12rem 1.3rem 1.3rem; background: linear-gradient(180deg, rgba(7,19,29,0) 0, rgba(7,19,29,.92) 11rem); }
  .hero-chiffres { grid-template-columns: repeat(2, 1fr); } .hero-chiffres div:nth-child(3) { border-left: 0; }
}

/* Mise en page */
.layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 2.2rem; align-items: start; margin-top: 1.6rem; }
.rail { position: sticky; top: 92px; display: flex; flex-direction: column; gap: .35rem; }
.rail-lien { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 12px; color: var(--texte); text-decoration: none; font-weight: 600; font-size: .93rem; border: 1px solid transparent; }
.rail-lien:hover { background: var(--nuit-2); border-color: var(--ligne); color: #fff; }
.ico { width: 1.6rem; text-align: center; } .rail-cta { margin-top: .8rem; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; } .rail { display: none; } }
.prose { min-width: 0; }
.prose section { background: var(--nuit-2); border: 1px solid var(--ligne); border-radius: 22px; padding: 1.8rem 1.8rem .9rem; margin: 0 0 1.4rem; }
@media (max-width: 620px) { .prose section { padding: 1.3rem 1.1rem .6rem; } }
.prose ul, .prose ol { padding-left: 1.3rem; } .prose li { margin: .35rem 0; }
.prose strong { color: #fff; }
.nav-repli { background: var(--nuit-2); border: 1px solid var(--ligne); border-radius: 18px; padding: 1rem 1.3rem; margin: 0 0 1.4rem; }
.nav-repli summary { cursor: pointer; font-weight: 800; color: #fff; }
.nav-repli ol { columns: 2; margin: .7rem 0 0; } .nav-repli a { text-decoration: none; color: var(--texte); } .nav-repli a:hover { color: var(--tq-clair); }
@media (max-width: 620px) { .nav-repli ol { columns: 1; } }

/* Images, tableaux, encadres */
.illus { margin: 1.3rem 0; }
.illus img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--ligne); }
.illus figcaption { margin-top: .5rem; font-size: .86rem; color: var(--texte-2); font-style: italic; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; border: 1px solid var(--ligne); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
caption { text-align: left; padding: .75rem 1rem; font-style: italic; font-size: .86rem; color: var(--texte-2); }
th, td { padding: .65rem .9rem; border-top: 1px solid var(--ligne); text-align: left; vertical-align: top; }
thead th { background: var(--nuit-3); color: #fff; border-top: 0; } tbody th { background: rgba(18,38,54,.6); color: #fff; font-weight: 700; }
.encadre { border: 1px solid var(--ligne); border-left: 4px solid var(--tq); border-radius: 14px; background: rgba(20,184,166,.07); padding: 1rem 1.2rem; margin: 1.2rem 0; }
.encadre.or { border-left-color: var(--or); background: rgba(234,179,8,.07); } .encadre.rouge { border-left-color: var(--rose); background: rgba(225,29,72,.08); }
.encadre p { margin: .35rem 0; }
.encadre-titre { margin: 0; font-weight: 800; color: #fff; }
.offre-carte { border-radius: 18px; padding: 1.4rem; margin: 1.2rem 0; background: linear-gradient(135deg, rgba(234,179,8,.16), rgba(20,184,166,.14)); border: 1px solid rgba(234,179,8,.35); }
.offre-carte .eti { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--or); }
.offre-carte .montant { margin: .3rem 0; font: 800 1.45rem var(--titre); color: #fff; }
.offre-carte .details { font-size: .9rem; color: var(--texte-2); }
.paliers { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: .8rem 0 1rem; }
.paliers div { background: rgba(7,19,29,.55); border: 1px solid var(--ligne); border-radius: 12px; padding: .8rem 1rem; }
.paliers b { display: block; color: var(--or); font-family: var(--titre); } .paliers span { font-size: .92rem; }
@media (max-width: 560px) { .paliers { grid-template-columns: 1fr; } }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin: .4rem 0 1rem; }

/* Grille de jeux */
.jeux { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; margin: 1.2rem 0; }
@media (max-width: 1100px) { .jeux { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .jeux { grid-template-columns: repeat(2, 1fr); } }
.jeu { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--ligne); text-decoration: none; }
.jeu img { display: block; width: 100%; height: auto; transition: transform .25s; } .jeu:hover img { transform: scale(1.04); }
.jeu .lecture { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7,19,29,0); transition: background .25s; }
.jeu .lecture span { opacity: 0; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--or); color: #111827; transition: opacity .25s; }
.jeu:hover .lecture { background: rgba(7,19,29,.4); } .jeu:hover .lecture span { opacity: 1; }

/* FAQ, auteur, conclusion */
.faq details { border: 1px solid var(--ligne); border-radius: 12px; padding: .75rem 1rem; margin: .55rem 0; background: rgba(7,19,29,.45); }
.faq summary { cursor: pointer; font-weight: 700; color: #fff; } .faq details p { margin: .6rem 0 .2rem; }
.auteur { display: flex; gap: 1rem; align-items: flex-start; margin: 1rem 0; }
.auteur-jeton { flex: 0 0 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--tq), #0d9488); color: #fff; font: 800 1.2rem var(--titre); }
.auteur .nom { margin: 0; font-weight: 800; color: #fff; } .auteur .role { margin: 0 0 .5rem; font-size: .86rem; color: var(--texte-2); }
.final { border-radius: 22px; padding: 1.8rem; margin: 0 0 1.4rem; background: linear-gradient(135deg, rgba(234,179,8,.16), rgba(20,184,166,.12)); border: 1px solid rgba(234,179,8,.35); }

/* Pied de page */
.site-footer { margin-top: 2.4rem; border-top: 1px solid var(--ligne); background: #050e16; padding: 2.4rem 0 1.4rem; font-size: .9rem; color: var(--texte-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; } .footer-grid li { margin: .35rem 0; }
.footer-grid img { width: 160px; height: auto; margin-bottom: .6rem; }
.footer-titre { color: #fff; font-weight: 800; margin: 0 0 .6rem; }
.legal { border-top: 1px solid var(--ligne); margin-top: 1.8rem; padding-top: 1.2rem; font-size: .82rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Barre mobile */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: .6rem; background: rgba(7,19,29,.97); border-top: 1px solid var(--ligne); }
  .sticky-cta .btn { flex: 1; } body { padding-bottom: 72px; }
}
