/* ==========================================================================
   www.julienpoker.fr : site vitrine de Julien, joueur de poker et redacteur
   Ambiance table de poker : tapis vert, noir, or, rouge des cartes.
   ========================================================================== */
:root {
  --noir: #0d110f; --noir-2: #151b18; --tapis: #0f5132; --tapis-2: #146c43; --tapis-3: #0b3d26; --or: #d4af37; --or-2: #f0d67a;
  --rouge: #c8102e; --creme: #faf6ec; --t: #e7ece9; --t2: #9fb1a8; --ligne: #24302b;
  --titre: "Playfair Display", Georgia, "Times New Roman", serif; --police: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--noir); color: var(--t); font: 400 17px/1.7 var(--police); }
img { max-width: 100%; height: auto; }
a { color: var(--or-2); }
h1, h2, h3 { font-family: var(--titre); color: #fff; line-height: 1.15; margin: 0 0 .8rem; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1rem; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 10px; top: 10px; z-index: 99; background: #fff; color: #000; padding: .5rem; }
.eti { display: inline-block; font: 600 .76rem var(--police); letter-spacing: .16em; text-transform: uppercase; color: var(--or); margin-bottom: .8rem; }
.eti::before { content: "\2660  "; color: var(--rouge); }

/* En-tete */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(13,17,15,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne); }
.entete .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.marque { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; font: 700 1.25rem var(--titre); }
.marque img { width: 36px; height: 36px; }
.marque span { color: var(--or); }
.menu { display: flex; gap: 1.4rem; }
.menu a { color: var(--t2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.menu a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; border-radius: 999px; padding: .8rem 1.5rem; line-height: 1; font-size: .98rem; }
.btn-or { background: linear-gradient(180deg, var(--or-2), var(--or)); color: #1d1600; } .btn-or:hover { filter: brightness(1.06); color: #1d1600; }
.btn-ligne { border: 1.5px solid var(--or); color: var(--or-2); } .btn-ligne:hover { background: rgba(212,175,55,.1); color: #fff; }
.btn-petit { padding: .55rem 1.1rem; font-size: .9rem; }
@media (max-width: 860px) { .menu { display: none; } }

/* Accueil */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 70% 40%, rgba(20,108,67,.45), transparent 60%), var(--noir); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2.4rem; align-items: center; padding: 4.2rem 24px 4.6rem; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 2.6rem; } }
.hero h1 span { color: var(--or); font-style: italic; }
.hero .accroche { font-size: 1.2rem; color: #cfdad4; max-width: 34rem; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.reseaux { display: flex; gap: .7rem; flex-wrap: wrap; }
.reseaux a { display: inline-flex; align-items: center; gap: .45rem; color: var(--t); text-decoration: none; font-size: .9rem; border: 1px solid var(--ligne); border-radius: 999px; padding: .45rem .9rem; }
.reseaux a:hover { border-color: var(--or); color: #fff; }
.reseaux i { font-style: normal; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: .7rem; font-weight: 700; color: #fff; }
.yt i { background: #e11d2a; } .ig i { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); } .jgc i { background: var(--tapis-2); }

/* Illustration : table de poker construite en HTML, cartes distribuees image par image */
.table { position: relative; aspect-ratio: 1.45; border-radius: 50% / 50%; background: radial-gradient(ellipse at 50% 45%, var(--tapis-2), var(--tapis) 55%, var(--tapis-3));
  border: 14px solid #3a2616; box-shadow: inset 0 0 0 3px rgba(212,175,55,.5), 0 30px 60px rgba(0,0,0,.55); }
.table::before { content: ""; position: absolute; inset: 9%; border: 2px solid rgba(255,255,255,.12); border-radius: 50% / 50%; }
.table .logo-tapis { position: absolute; left: 50%; top: 9%; transform: translateX(-50%); font: italic 700 clamp(.9rem, 2vw, 1.2rem) var(--titre); color: rgba(255,255,255,.2); letter-spacing: .1em; white-space: nowrap; }
.portrait { position: absolute; left: 50%; bottom: -8%; transform: translateX(-50%); width: 27%; aspect-ratio: 1; border-radius: 50%; border: 4px solid var(--or); box-shadow: 0 10px 24px rgba(0,0,0,.5); background: #111; overflow: hidden; z-index: 3; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.carte { position: absolute; width: 13%; aspect-ratio: .7; border-radius: 7%; background: var(--creme); box-shadow: 0 4px 10px rgba(0,0,0,.4); display: grid; place-items: center;
  font: 700 clamp(.8rem, 2.2vw, 1.5rem) var(--titre); color: #141414; opacity: 0; }
.carte small { position: absolute; top: 6%; left: 10%; font: 700 clamp(.5rem, 1.1vw, .75rem) var(--police); line-height: 1; text-align: center; }
.carte.rouge { color: var(--rouge); }
.carte.dos { background: repeating-linear-gradient(45deg, #7a1020 0 6px, #9b1428 6px 12px); border: 3px solid var(--creme); }
.flop1 { left: 23%; top: 38%; } .flop2 { left: 37%; top: 38%; } .flop3 { left: 51%; top: 38%; } .turn { left: 65%; top: 38%; }
.main1 { left: 64%; top: 63%; transform: rotate(-9deg); } .main2 { left: 75%; top: 63%; transform: rotate(8deg); }
@keyframes donne { 0% { opacity: 0; translate: 0 -160%; scale: .6; } 60% { opacity: 1; } 100% { opacity: 1; translate: 0 0; scale: 1; } }
.carte { animation: donne .5s cubic-bezier(.2,.8,.3,1) forwards; }
.main1 { animation-delay: .2s; } .main2 { animation-delay: .45s; } .flop1 { animation-delay: .9s; } .flop2 { animation-delay: 1.05s; } .flop3 { animation-delay: 1.2s; } .turn { animation-delay: 1.7s; }
.jetons { position: absolute; display: flex; gap: 4px; align-items: flex-end; }
.pile { display: flex; flex-direction: column-reverse; }
.jeton { width: clamp(20px, 3.4vw, 34px); aspect-ratio: 3.2; margin-top: -48%; border-radius: 50%; border: 2px dashed rgba(255,255,255,.75); box-shadow: 0 2px 0 rgba(0,0,0,.35); }
.j-rouge { background: var(--rouge); } .j-noir { background: #1b1b1b; } .j-or { background: var(--or); } .j-vert { background: #1e8a55; }
.jetons.pot { left: 50%; top: 27%; transform: translateX(-50%); }
@keyframes monte { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.jetons.pot .jeton { opacity: 0; animation: monte .25s steps(3) forwards; }
.jetons.pot .pile:nth-child(1) .jeton:nth-child(1) { animation-delay: 2.1s; } .jetons.pot .pile:nth-child(1) .jeton:nth-child(2) { animation-delay: 2.2s; }
.jetons.pot .pile:nth-child(1) .jeton:nth-child(3) { animation-delay: 2.3s; } .jetons.pot .pile:nth-child(2) .jeton:nth-child(1) { animation-delay: 2.4s; }
.jetons.pot .pile:nth-child(2) .jeton:nth-child(2) { animation-delay: 2.5s; } .jetons.pot .pile:nth-child(3) .jeton:nth-child(1) { animation-delay: 2.6s; }
.jetons.pot .pile:nth-child(3) .jeton:nth-child(2) { animation-delay: 2.7s; } .jetons.pot .pile:nth-child(3) .jeton:nth-child(3) { animation-delay: 2.8s; }
.jetons.pot .pile:nth-child(3) .jeton:nth-child(4) { animation-delay: 2.9s; }
@media (prefers-reduced-motion: reduce) { .carte, .jetons.pot .jeton { animation: none; opacity: 1; } }

/* Chiffres */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: 18px; overflow: hidden; margin-top: -1.6rem; position: relative; z-index: 2; }
@media (max-width: 760px) { .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chiffres div { background: var(--noir-2); padding: 1.3rem 1.2rem; text-align: center; }
.chiffres b { display: block; font: 700 2.2rem var(--titre); color: var(--or); line-height: 1.1; }
.chiffres span { color: var(--t2); font-size: .9rem; }

/* Sections */
.bloc { padding: 4.4rem 0; }
.bloc.alt { background: var(--noir-2); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.texte p, .texte li { color: #cdd7d2; }
.intro { max-width: 46rem; color: #cdd7d2; font-size: 1.08rem; }
.cartes-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2rem; }
@media (max-width: 900px) { .cartes-grille { grid-template-columns: minmax(0, 1fr); } }
.fiche { position: relative; background: var(--noir); border: 1px solid var(--ligne); border-radius: 16px; padding: 1.5rem 1.4rem 1.3rem; }
.bloc.alt .fiche { background: var(--noir); }
.fiche .coin { position: absolute; top: 1rem; right: 1.1rem; font: 700 1.3rem var(--titre); color: var(--rouge); }
.fiche .coin.noir { color: #e7ece9; }
.fiche h3 { padding-right: 2rem; }
.fiche p { color: #b9c6bf; margin: 0; font-size: .96rem; }

/* Illustrations HTML : article, main de cartes, lecteur video */
.illu { position: relative; aspect-ratio: 1.2; border-radius: 22px; background: radial-gradient(circle at 30% 20%, rgba(20,108,67,.5), transparent 60%), var(--noir-2); border: 1px solid var(--ligne); overflow: hidden; }
.article-illu { position: absolute; left: 12%; top: 14%; width: 56%; height: 72%; background: var(--creme); border-radius: 10px; padding: 7% 7%; box-shadow: 0 20px 40px rgba(0,0,0,.45); transform: rotate(-4deg); }
.article-illu i { display: block; height: 7%; border-radius: 4px; background: #d9d2c0; margin-bottom: 6%; }
.article-illu i:first-child { background: var(--tapis); width: 70%; height: 10%; }
.article-illu i:nth-child(3) { width: 85%; } .article-illu i:nth-child(5) { width: 60%; }
.article-illu b { position: absolute; right: 8%; bottom: 8%; font: 700 1.6rem var(--titre); color: var(--rouge); }
.main-illu { position: absolute; right: 8%; bottom: 10%; width: 44%; height: 50%; }
.main-illu .carte { opacity: 1; animation: none; width: 46%; }
.main-illu .c1 { left: 0; top: 10%; transform: rotate(-14deg); } .main-illu .c2 { left: 27%; top: 0; transform: rotate(0deg); } .main-illu .c3 { left: 54%; top: 10%; transform: rotate(14deg); }
.stylo { position: absolute; left: 60%; top: 10%; width: 5%; height: 46%; border-radius: 6px; background: linear-gradient(90deg, #8a6d1d, var(--or), #8a6d1d); transform: rotate(28deg); box-shadow: 0 6px 12px rgba(0,0,0,.4); }
.stylo::after { content: ""; position: absolute; left: 25%; bottom: -12%; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 14px solid #2b2b2b; }
.video-illu { position: absolute; inset: 14% 10%; border-radius: 14px; background: linear-gradient(135deg, var(--tapis-2), var(--tapis-3)); box-shadow: 0 20px 40px rgba(0,0,0,.45); overflow: hidden; }
.video-illu .lecture { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 20%; aspect-ratio: 1.4; border-radius: 14px; background: #e11d2a; display: grid; place-items: center; }
.video-illu .lecture::after { content: ""; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 5px; }
.video-illu .barre { position: absolute; left: 6%; right: 6%; bottom: 10%; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); }
.video-illu .barre::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #e11d2a; border-radius: 3px; animation: lecture 8s steps(40) infinite; }
@keyframes lecture { to { width: 100%; } }
.video-illu .titre-v { position: absolute; left: 6%; top: 8%; font: 700 1rem var(--titre); color: #fff; }
.video-illu .carte { opacity: 1; animation: none; width: 14%; }
.video-illu .v1 { left: 8%; bottom: 22%; transform: rotate(-10deg); } .video-illu .v2 { left: 18%; bottom: 22%; transform: rotate(6deg); }
@media (prefers-reduced-motion: reduce) { .video-illu .barre::before { animation: none; width: 35%; } }

/* Realisations */
.onglets { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 1.2rem; }
.onglets button { background: transparent; border: 1.5px solid var(--ligne); color: var(--t2); border-radius: 999px; padding: .55rem 1.1rem; font: 600 .92rem var(--police); cursor: pointer; }
.onglets button[aria-selected=true] { border-color: var(--or); color: #fff; background: rgba(212,175,55,.1); }
.liste-real { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 800px) { .liste-real { grid-template-columns: minmax(0, 1fr); } }
.real { display: flex; gap: 1rem; align-items: flex-start; background: var(--noir); border: 1px solid var(--ligne); border-radius: 14px; padding: 1.1rem 1.2rem; text-decoration: none; color: var(--t); transition: border-color .2s, transform .2s; }
.real:hover { border-color: var(--or); transform: translateY(-2px); color: #fff; }
.real .ico { flex: 0 0 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font: 700 1.1rem var(--titre); color: #fff; background: var(--tapis); }
.real .ico.r { background: var(--rouge); } .real .ico.o { background: #6b5510; }
.real b { display: block; color: #fff; font-weight: 600; line-height: 1.35; }
.real span { display: block; color: var(--t2); font-size: .86rem; margin-top: .2rem; }
.real q { color: #fff; font-style: italic; font-family: var(--titre); }
.cache { display: none; }
.frise { list-style: none; margin: 1.6rem 0 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--or); }
.frise li { position: relative; margin: 0 0 1.4rem; }
.frise li::before { content: "\2660"; position: absolute; left: -2.05rem; top: -.1rem; width: 1.3rem; height: 1.3rem; display: grid; place-items: center; background: var(--noir); color: var(--or); font-size: .95rem; }
.frise b { color: #fff; display: block; }
.frise span { color: #b9c6bf; }

/* Principes */
.principes { counter-reset: p; display: grid; gap: 1rem; margin-top: 1.6rem; }
.principe { counter-increment: p; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.1rem; background: var(--noir-2); border: 1px solid var(--ligne); border-radius: 16px; padding: 1.3rem; }
.principe::before { content: counter(p); display: grid; place-items: center; width: 56px; height: 76px; border-radius: 8px; background: var(--creme); color: var(--rouge); font: 700 1.6rem var(--titre); box-shadow: 0 6px 14px rgba(0,0,0,.4); transform: rotate(-4deg); }
.principe:nth-child(even)::before { color: #141414; transform: rotate(4deg); }
.principe h3 { margin-bottom: .4rem; } .principe p { color: #b9c6bf; margin: 0; }

/* Etapes, FAQ, contact, pied */
.etapes { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: e; }
@media (max-width: 900px) { .etapes { grid-template-columns: minmax(0, 1fr); } }
.etapes li { counter-increment: e; background: var(--noir); border: 1px solid var(--ligne); border-radius: 14px; padding: 1.2rem; }
.etapes li::before { content: counter(e); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--or); color: #1d1600; font-weight: 700; margin-bottom: .7rem; }
.etapes b { display: block; color: #fff; } .etapes span { color: var(--t2); font-size: .92rem; }
.faq details { border: 1px solid var(--ligne); border-radius: 12px; padding: 1rem 1.2rem; margin: .6rem 0; background: var(--noir-2); }
.faq summary { cursor: pointer; font-weight: 600; color: #fff; }
.faq details p { margin: .7rem 0 .1rem; color: #cdd7d2; }
.contact { text-align: center; border-radius: 26px; padding: 3rem 1.6rem; background: radial-gradient(ellipse at 50% 0, rgba(212,175,55,.2), transparent 60%), linear-gradient(135deg, var(--tapis), var(--tapis-3)); border: 1px solid rgba(212,175,55,.35); }
.contact p { color: #d9e6df; max-width: 38rem; margin-left: auto; margin-right: auto; }
.contact .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.encadre { border-left: 4px solid var(--or); background: rgba(212,175,55,.08); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.4rem 0; }
.encadre p { margin: 0; color: #d9e6df; }
.pied { border-top: 1px solid var(--ligne); padding: 2.4rem 0 2rem; color: var(--t2); font-size: .88rem; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.6rem; }
@media (max-width: 800px) { .pied-grille { grid-template-columns: minmax(0, 1fr); } }
.pied h3 { font-size: 1rem; } .pied ul { list-style: none; margin: 0; padding: 0; } .pied li { margin: .35rem 0; }
.pied a { color: var(--t2); text-decoration: none; } .pied a:hover { color: #fff; }
.pied .legal { border-top: 1px solid var(--ligne); margin-top: 1.6rem; padding-top: 1.2rem; }
