/* ==========================================================================
   https://www.i-redac.com/ : site vitrine d'I-REDAC, Marie Briez, rédactrice
   web et SEO à Brignais (Sud-Ouest lyonnais). Couleurs : encre bleu nuit,
   rouge I-REDAC, jaune surligneur.
   ========================================================================== */
:root {
  --fond: #14161f; --fond-2: #1b1e2a; --ligne: #2f3345; --a1: #f0506a; --a1-fonce: #c73350; --a1-ombre: #9e2440; --sur-a1: #2a0710; --a2: #ffd166; --creme: #fbf6ee; --lien: #ff8fa1;
  --t: #eef0f6; --t2: #a9afc4; --t3: #d9dceb; --t4: #c4c9db; --entete: rgba(20,22,31,.93); --puce: "\25A0"; --rayon-btn: 10px;
  --hero-fond: radial-gradient(ellipse at 78% 30%, rgba(240,80,106,.20), transparent 58%), radial-gradient(ellipse at 8% 95%, rgba(255,209,102,.10), transparent 50%), #14161f;
  --illu-fond: radial-gradient(circle at 30% 20%, rgba(240,80,106,.14), transparent 60%), #1b1e2a;
  --contact-fond: radial-gradient(ellipse at 50% 0, rgba(255,209,102,.16), transparent 60%), linear-gradient(135deg, #c73350, #6d1d33); --contact-bord: rgba(255,209,102,.35);
  --ico-1: #6d1d33; --ico-2: #c73350; --ico-3: #3a3f57;
  --titre: "DM Serif Display", Georgia, "Times New Roman", serif; --police: "Manrope", 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(--fond); color: var(--t); font: 400 17px/1.7 var(--police); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--lien); }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--titre); color: #fff; line-height: 1.12; margin: 0 0 .8rem; font-weight: 400; }
h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1rem; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.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(--a1); margin-bottom: .8rem; }
.eti::before { content: var(--puce); color: var(--a2); margin-right: .45em; }

/* En-tete */
.entete { position: sticky; top: 0; z-index: 50; background: var(--entete); 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.2rem var(--titre); white-space: nowrap; }
.marque img { width: 36px; height: 36px; flex: 0 0 36px; }
.marque span { color: var(--a1); }
.menu { display: flex; gap: 1.3rem; }
.menu a { color: var(--t2); text-decoration: none; font-weight: 500; font-size: .94rem; }
.menu a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; border-radius: var(--rayon-btn); padding: .8rem 1.4rem; line-height: 1; font-size: .97rem; }
.btn-plein { background: var(--a1); color: var(--sur-a1); box-shadow: 0 4px 0 var(--a1-ombre); } .btn-plein:hover { filter: brightness(1.06); color: var(--sur-a1); }
.btn-ligne { border: 1.5px solid var(--a1); color: var(--a1); } .btn-ligne:hover { background: rgba(255,255,255,.06); color: #fff; }
.btn-petit { padding: .55rem 1rem; font-size: .88rem; }
@media (max-width: 900px) { .menu { display: none; } }
@media (max-width: 400px) { .entete .btn-petit { display: none; } }

/* Accueil */
.hero { position: relative; overflow: hidden; background: var(--hero-fond); }
.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; } }
@media (max-width: 600px) { .hero .wrap { padding-left: 16px; padding-right: 16px; } }
.hero h1 span { color: var(--a1); }
.hero .accroche { font-size: 1.17rem; color: var(--t3); max-width: 34rem; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.reseaux { display: flex; gap: .6rem; flex-wrap: wrap; }
.reseaux a { display: inline-flex; align-items: center; gap: .45rem; color: var(--t); text-decoration: none; font-size: .88rem; border: 1px solid var(--ligne); border-radius: 999px; padding: .42rem .85rem; }
.reseaux a:hover { border-color: var(--a1); color: #fff; }
.reseaux i { font-style: normal; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: .66rem; font-weight: 700; color: #fff; }
.r-yt i { background: #e11d2a; } .r-ig i { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); } .r-fb i { background: #1877f2; } .r-x i { background: #111; } .r-li i { background: #0a66c2; } .r-ml i { background: #fc5757; } .r-bc i { background: var(--a2); }
.portrait { position: absolute; aspect-ratio: 1; border-radius: 50%; overflow: hidden; z-index: 6; background: #111; border: 4px solid var(--a1); box-shadow: 0 0 0 5px var(--fond), 0 14px 30px rgba(0,0,0,.55); }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 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(--fond-2); padding: 1.3rem 1rem; text-align: center; }
.chiffres b { display: block; font: 700 1.9rem/1.15 var(--titre); color: var(--a1); }
.chiffres span { color: var(--t2); font-size: .88rem; }

/* Sections */
.bloc { padding: 4.4rem 0; }
.bloc.alt { background: var(--fond-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: var(--t3); }
.intro { max-width: 46rem; color: var(--t3); font-size: 1.06rem; }
.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(--fond); border: 1px solid var(--ligne); border-radius: 16px; padding: 1.5rem 1.4rem 1.3rem; }
.fiche .coin { position: absolute; top: 1rem; right: 1.1rem; font: 700 1.2rem var(--titre); color: var(--a2); }
.fiche .coin.b { color: var(--a1); }
.fiche h3 { padding-right: 2.2rem; }
.fiche p { color: var(--t4); margin: 0; font-size: .96rem; }
.illu { position: relative; aspect-ratio: 1.2; border-radius: 22px; overflow: hidden; border: 1px solid var(--ligne); background: var(--illu-fond); }

/* 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(--a1); color: #fff; background: rgba(255,255,255,.06); }
.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(--fond); 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(--a1); transform: translateY(-2px); color: #fff; }
.real .ico { flex: 0 0 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font: 700 .9rem var(--titre); color: #fff; background: var(--ico-1); }
.real .ico.r { background: var(--ico-2); } .real .ico.o { background: var(--ico-3); }
.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; }
.cache { display: none !important; }
.frise { list-style: none; margin: 1.6rem 0 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--a1); }
.frise li { position: relative; margin: 0 0 1.4rem; }
.frise li::before { content: var(--puce); position: absolute; left: -2.05rem; top: -.05rem; width: 1.3rem; height: 1.3rem; display: grid; place-items: center; background: var(--fond-2); color: var(--a1); font-size: .9rem; }
.bloc:not(.alt) .frise li::before { background: var(--fond); }
.frise b { color: #fff; display: block; } .frise span { color: var(--t4); }

/* Principes, etapes, FAQ, contact, pied */
.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(--fond-2); border: 1px solid var(--ligne); border-radius: 16px; padding: 1.3rem; }
.bloc.alt .principe { background: var(--fond); }
.principe h3 { margin-bottom: .4rem; } .principe p { color: var(--t4); margin: 0; }
@media (max-width: 520px) { .principe { grid-template-columns: minmax(0, 1fr); } }
.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(--fond); 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(--a1); color: var(--sur-a1); 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(--fond-2); }
.bloc.alt.faq details { background: var(--fond); }
.faq summary { cursor: pointer; font-weight: 600; color: #fff; }
.faq details p { margin: .7rem 0 .1rem; color: var(--t3); }
.contact { text-align: center; border-radius: 26px; padding: 3rem 1.4rem; background: var(--contact-fond); border: 1px solid var(--contact-bord); }
.contact p { color: var(--t3); 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(--a1); background: rgba(255,255,255,.04); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.4rem 0; }
.encadre p { margin: 0; color: var(--t3); }
.domaine { margin-top: 2rem; border: 1px dashed var(--ligne); border-radius: 14px; padding: 1rem 1.2rem; font-size: .92rem; color: var(--t2); }
.domaine p { margin: 0; }
.majeur { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--a2); color: var(--a2); font: 700 .8rem var(--police); margin-right: .6rem; vertical-align: middle; }
.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; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }
@keyframes clignote { 50% { opacity: 0; } }

/* ==========================================================================
   Illustrations https://www.i-redac.com/ : écran d'article qui s'écrit,
   résultats de recherche qui remontent, tableau d'affichage du parcours,
   carte Brignais-Lyon, fiches de contenus. Animations image par image (steps).
   ========================================================================== */
.principe::before { content: counter(p); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--creme); color: var(--a1-fonce); font: 400 1.6rem var(--titre); box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.principe:nth-child(even)::before { background: var(--a2); color: #3a2a05; }
.hero h1 span { color: var(--a1); }
.surligne { background: linear-gradient(transparent 58%, rgba(255,209,102,.55) 58% 92%, transparent 92%); color: inherit; padding: 0 .1em; }

/* ---- Écran du hero : un article s'écrit, un mot-clé est surligné ---- */
.ecran { position: relative; aspect-ratio: 1.22; border-radius: 18px; background: #0e1018; border: 1px solid var(--ligne); box-shadow: 0 30px 60px rgba(0,0,0,.45); overflow: visible; }
.ecran .barre { display: flex; align-items: center; gap: 6px; height: 11%; padding: 0 4%; border-bottom: 1px solid var(--ligne); }
.ecran .barre i { width: 10px; height: 10px; border-radius: 50%; background: #3a3f57; } .ecran .barre i:first-child { background: var(--a1); } .ecran .barre i:nth-child(2) { background: var(--a2); }
.ecran .url { margin-left: 3%; flex: 1; height: 52%; border-radius: 6px; background: #1b1e2a; color: var(--t2); font: 600 clamp(.55rem, 1.2vw, .78rem)/1 var(--police); display: flex; align-items: center; padding: 0 3%; white-space: nowrap; overflow: hidden; }
.ecran .doc { position: absolute; left: 5%; right: 36%; top: 17%; bottom: 7%; background: var(--creme); border-radius: 8px; padding: 5% 6%; overflow: hidden; }
.ecran .doc .h { display: block; height: 7%; width: 0; border-radius: 3px; background: #2a2f45; animation: titre 9s steps(10) infinite; }
@keyframes titre { 0% { width: 0; } 10%, 100% { width: 78%; } }
.ecran .doc .l { position: relative; display: block; height: 3.6%; margin-top: 5.5%; border-radius: 3px; background: #9aa0b4; width: 0; animation: ecrit 9s steps(16) infinite; animation-delay: var(--d, 0s); }
@keyframes ecrit { 0% { width: 0; } 10%, 100% { width: var(--w); } }
.ecran .doc .l.kw::after { content: ""; position: absolute; left: 22%; top: -60%; height: 220%; width: 0; background: rgba(255,209,102,.75); border-radius: 2px; mix-blend-mode: multiply; animation: surligne 9s steps(8) infinite; animation-delay: calc(var(--d) + .9s); }
@keyframes surligne { 0%, 4% { width: 0; } 12%, 100% { width: 34%; } }
.ecran .doc .h2b { display: block; height: 5%; margin-top: 8%; width: 0; border-radius: 3px; background: var(--a1-fonce); animation: titre2 9s steps(8) infinite; animation-delay: 4.2s; }
@keyframes titre2 { 0% { width: 0; } 8%, 100% { width: 52%; } }
.ecran .serp-mini { position: absolute; right: 4%; top: 17%; width: 28%; bottom: 7%; border-radius: 8px; background: #1b1e2a; border: 1px solid var(--ligne); padding: 6% 3%; display: flex; flex-direction: column; align-items: center; gap: 6%; }
.serp-mini .lib { font: 700 clamp(.5rem, 1vw, .7rem) var(--police); letter-spacing: .12em; text-transform: uppercase; color: var(--t2); text-align: center; }
.serp-mini .rang { height: 1.15em; overflow: hidden; font: 400 clamp(2rem, 5.4vw, 3.6rem)/1.15 var(--titre); color: var(--a2); }
.serp-mini .rang span { display: block; animation: rang 9s steps(1) infinite; }
.serp-mini .rang b { display: block; font-weight: 400; height: 1.15em; }
@keyframes rang { 0% { transform: translateY(0); } 25% { transform: translateY(-1.15em); } 45% { transform: translateY(-2.3em); } 65% { transform: translateY(-3.45em); } 80%, 100% { transform: translateY(-4.6em); } }
.serp-mini .barres { display: flex; align-items: flex-end; gap: 8%; width: 80%; height: 26%; }
.serp-mini .barres i { flex: 1; background: var(--a1); border-radius: 3px 3px 0 0; height: 10%; animation: pousse 9s steps(5) infinite; animation-delay: var(--d, 0s); }
@keyframes pousse { 0% { height: 10%; } 70%, 100% { height: var(--h); } }
.ecran .portrait { width: 30%; left: -6%; bottom: -10%; }
.ecran .pastille { position: absolute; right: -3%; top: -5%; z-index: 6; background: var(--a2); color: #3a2a05; font: 700 clamp(.62rem, 1.3vw, .84rem) var(--police); padding: .6em 1em; border-radius: 10px; box-shadow: 0 4px 0 #c89a2e; }
.ecran .pastille span { display: inline-block; height: 1.25em; overflow: hidden; vertical-align: bottom; }
.ecran .pastille i { display: block; font-style: normal; line-height: 1.25em; animation: defile 12s steps(6) infinite; }
@keyframes defile { to { transform: translateY(-7.5em); } }

/* ---- Résultats de recherche : votre page remonte jusqu'en première position ---- */
.serp { position: absolute; inset: 9% 9%; }
.serp .champ { position: absolute; left: 0; right: 0; top: 0; height: 13%; border-radius: 999px; background: var(--creme); display: flex; align-items: center; padding: 0 5%; font: 600 clamp(.62rem, 1.4vw, .9rem) var(--police); color: #2a2f45; overflow: hidden; white-space: nowrap; }
.serp .champ::after { content: ""; width: 2px; height: 50%; margin-left: 3px; background: var(--a1); animation: clignote .8s steps(1) infinite; }
.serp .res { position: absolute; left: 0; right: 0; height: 17%; border-radius: 12px; background: #262a3a; border: 1px solid var(--ligne); padding: 2.4% 4%; display: flex; flex-direction: column; justify-content: center; gap: 12%; }
.serp .res i { display: block; height: 14%; border-radius: 3px; background: #4a5070; width: 62%; }
.serp .res i + i { width: 88%; background: #3a3f57; }
.serp .res.nous { background: var(--creme); border-color: var(--a2); box-shadow: 0 10px 24px rgba(0,0,0,.4); z-index: 2; }
.serp .res.nous i { background: var(--a1-fonce); } .serp .res.nous i + i { background: #b7bccb; }
.serp .res.nous::after { content: "Votre page"; position: absolute; right: 3%; top: 50%; translate: 0 -50%; font: 800 clamp(.5rem, 1.1vw, .72rem) var(--police); letter-spacing: .08em; text-transform: uppercase; color: #3a2a05; background: var(--a2); padding: .35em .7em; border-radius: 6px; }
.serp .s0 { top: 19%; } .serp .s1 { top: 39%; } .serp .s2 { top: 59%; } .serp .s3 { top: 79%; }
.serp .nous { animation: monte4 8s infinite; animation-timing-function: steps(1, end); }
.serp .r0 { animation: r0 8s infinite steps(1, end); } .serp .r1 { animation: r1 8s infinite steps(1, end); } .serp .r2 { animation: r2 8s infinite steps(1, end); }
@keyframes monte4 { 0% { top: 79%; } 25% { top: 59%; } 50% { top: 39%; } 75% { top: 19%; } 100% { top: 19%; } }
@keyframes r0 { 0% { top: 19%; } 75% { top: 39%; } 100% { top: 39%; } }
@keyframes r1 { 0% { top: 39%; } 50% { top: 59%; } 100% { top: 59%; } }
@keyframes r2 { 0% { top: 59%; } 25% { top: 79%; } 100% { top: 79%; } }

/* ---- Tableau d'affichage du parcours (à propos) ---- */
.tableau { position: absolute; inset: 14% 8% auto; padding: 5% 5% 6%; border-radius: 14px; background: #0b0c12; border: 1px solid var(--ligne); box-shadow: 0 20px 40px rgba(0,0,0,.45), inset 0 0 0 6px #1b1e2a; }
.tableau .lib { display: flex; justify-content: space-between; font: 700 clamp(.5rem, 1.1vw, .72rem) var(--police); letter-spacing: .14em; text-transform: uppercase; color: var(--a2); margin-bottom: 5%; }
.tableau .ligne-t { display: flex; gap: 2.2%; margin-bottom: 4%; }
.tableau .case { position: relative; flex: 1; aspect-ratio: .78; border-radius: 4px; background: #1d2030; overflow: hidden; font: 800 clamp(.8rem, 2.4vw, 1.6rem)/1 var(--police); color: var(--creme); }
.tableau .case::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #0b0c12; }
.tableau .case span { position: absolute; inset: 0; display: flex; flex-direction: column; animation: flap 10s infinite steps(1, end); animation-delay: var(--d, 0s); }
.tableau .case b { flex: 0 0 100%; display: grid; place-items: center; font-weight: 800; }
@keyframes flap { 0%, 44% { transform: translateY(0); } 45%, 94% { transform: translateY(-100%); } 95%, 100% { transform: translateY(0); } }
.tableau .case.r b:last-child { color: var(--a1); }
.tableau .sous { display: flex; justify-content: space-between; color: var(--t2); font: 600 clamp(.55rem, 1.1vw, .78rem) var(--police); }
.tableau .sous span { height: 1.3em; overflow: hidden; } .tableau .sous i { display: block; font-style: normal; line-height: 1.3em; animation: flap 10s infinite steps(1, end); }
.bureau { position: absolute; left: 8%; right: 8%; bottom: 0; height: 22%; border-radius: 14px 14px 0 0; background: linear-gradient(#2a2f45, #1d2030); }
.bureau .stylo { position: absolute; left: 14%; top: -14%; width: 34%; height: 9%; border-radius: 4px; background: var(--a1); rotate: -8deg; box-shadow: inset -12px 0 0 #2a2f45; }
.bureau .tasse-b { position: absolute; right: 16%; top: -36%; width: 11%; aspect-ratio: .9; border-radius: 0 0 8px 8px; background: var(--creme); }
.bureau .tasse-b::after { content: ""; position: absolute; right: -32%; top: 18%; width: 34%; height: 44%; border: 3px solid var(--creme); border-left: 0; border-radius: 0 8px 8px 0; }

/* ---- Carte Brignais-Lyon ---- */
.carte-ly { position: absolute; inset: 0; background: linear-gradient(#1b1e2a 0 55%, #171a24 55%); }
.carte-ly .colline { position: absolute; left: -10%; width: 70%; bottom: 30%; height: 34%; border-radius: 50% 50% 0 0; background: #232738; }
.carte-ly .basilique { position: absolute; left: 20%; bottom: 52%; width: 20%; height: 7%; background: var(--creme); border-radius: 2px 2px 0 0; }
.carte-ly .basilique i { position: absolute; left: 30%; right: 30%; bottom: 100%; height: 90%; background: var(--creme); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.carte-ly .basilique::before, .carte-ly .basilique::after { content: ""; position: absolute; bottom: 0; width: 14%; height: 230%; background: var(--creme); border-radius: 2px 2px 0 0; box-shadow: 0 -4px 0 -1px var(--a2); }
.carte-ly .basilique::before { left: -4%; } .carte-ly .basilique::after { right: -4%; }
.carte-ly .tour-metal { position: absolute; left: 44%; bottom: 52%; width: 1.6%; height: 22%; background: #8a90a8; clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.carte-ly .tour { position: absolute; right: 18%; bottom: 30%; width: 6%; height: 46%; background: var(--a1); border-radius: 60% 60% 0 0 / 22% 22% 0 0; }
.carte-ly .tour.b { right: 28%; width: 7%; height: 30%; background: #3a3f57; border-radius: 4px 4px 0 0; }
.carte-ly .tour.c { right: 9%; width: 6%; height: 24%; background: #2f3345; border-radius: 4px 4px 0 0; }
.carte-ly .fenetres { position: absolute; right: 28%; bottom: 33%; width: 7%; height: 24%; background: repeating-linear-gradient(#ffd16633 0 6%, transparent 6% 14%); animation: allume 3s steps(3) infinite; }
@keyframes allume { 0% { opacity: .3; } 50% { opacity: 1; } 100% { opacity: .5; } }
.carte-ly .eau { position: absolute; left: 0; right: 0; bottom: 18%; height: 12%; background: repeating-linear-gradient(90deg, #2c3550 0 18px, #33405e 18px 36px); animation: vague 2s steps(4) infinite; }
@keyframes vague { to { background-position: 36px 0; } }
.carte-ly .repere { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 800 clamp(.55rem, 1.2vw, .8rem) var(--police); color: var(--creme); }
.carte-ly .repere::before { content: ""; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--a2); box-shadow: 0 0 0 4px rgba(255,209,102,.25); }
.carte-ly .repere.lyon { right: 10%; top: 9%; } .carte-ly .repere.lyon::before { background: var(--a1); box-shadow: 0 0 0 4px rgba(240,80,106,.25); }
.carte-ly .repere.brignais { left: 7%; bottom: 3%; }
.carte-ly .avion { position: absolute; width: 7%; aspect-ratio: 1; animation: vol 7s steps(14) infinite; }
.carte-ly .avion::before { content: ""; position: absolute; inset: 0; background: var(--creme); clip-path: polygon(0 55%, 100% 0, 62% 100%, 48% 66%); }
@keyframes vol { 0% { left: 12%; top: 78%; opacity: 0; } 8% { opacity: 1; } 50% { left: 48%; top: 36%; } 92% { opacity: 1; } 100% { left: 82%; top: 14%; opacity: 0; } }
.carte-ly .trace { position: absolute; left: 14%; top: 18%; width: 72%; height: 66%; border-top: 2px dashed rgba(255,209,102,.45); border-right: 2px dashed rgba(255,209,102,.45); border-radius: 0 60% 0 0; }

/* ---- Fiches de contenus (prestations) ---- */
.contenus { position: absolute; inset: 8%; }
.contenus .c { position: absolute; background: var(--creme); border-radius: 12px; box-shadow: 0 14px 28px rgba(0,0,0,.4); padding: 4% 4.5%; overflow: hidden; }
.contenus .c b { display: block; font: 800 clamp(.5rem, 1.1vw, .72rem) var(--police); letter-spacing: .12em; text-transform: uppercase; color: var(--a1-fonce); margin-bottom: 6%; }
.contenus .c i { display: block; height: 7px; margin-bottom: 7px; border-radius: 3px; background: #9aa0b4; width: 0; animation: ecrit 8s steps(12) infinite; animation-delay: var(--d, 0s); }
.contenus .fiche-p { left: 0; top: 4%; width: 46%; height: 62%; rotate: -4deg; }
.contenus .fiche-p .photo { display: block; height: 38%; margin-bottom: 7%; border-radius: 8px; background: linear-gradient(135deg, #f0506a, #ffd166); }
.contenus .fiche-p .prix { display: inline-block; margin-top: 2%; padding: .3em .7em; border-radius: 6px; background: var(--a2); color: #3a2a05; font: 800 clamp(.55rem, 1.2vw, .8rem) var(--police); }
.contenus .news { right: 0; top: 0; width: 50%; height: 44%; rotate: 3deg; }
.contenus .news .env { position: absolute; right: 6%; top: 8%; width: 18%; aspect-ratio: 1.4; background: var(--a1); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 55%, 100% 0); animation: envol 8s steps(4) infinite; }
@keyframes envol { 0%, 60% { transform: translateY(0); } 70% { transform: translateY(-20%); } 80%, 100% { transform: translateY(0); } }
.contenus .post { right: 4%; bottom: 0; width: 52%; height: 46%; rotate: -2deg; }
.contenus .post .reac { position: absolute; left: 6%; bottom: 10%; display: flex; align-items: center; gap: .4em; font: 800 clamp(.6rem, 1.3vw, .85rem) var(--police); color: var(--a1-fonce); }
.contenus .post .reac::before { content: "\2665"; font-size: 1.3em; }
.contenus .post .compteur { display: inline-block; height: 1.2em; line-height: 1.2em; overflow: hidden; vertical-align: bottom; }
.contenus .post .compteur span { display: block; animation: compte 8s steps(5) infinite; }
.contenus .post .compteur b { display: block; height: 1.2em; line-height: 1.2em; font-weight: 800; }
@keyframes compte { to { transform: translateY(-6em); } }

/* Encadré iGaming de fin de page */
.igaming { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem; align-items: start; margin-top: 2rem; padding: 1.6rem; border-radius: 18px; border: 1.5px dashed var(--a2); background: linear-gradient(135deg, rgba(255,209,102,.10), rgba(255,209,102,.02)); }
.igaming .jeton { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--a2); color: #3a2a05; font: 800 1.05rem var(--police); box-shadow: inset 0 0 0 5px #14161f, inset 0 0 0 7px var(--a2), 0 6px 14px rgba(0,0,0,.35); }
.igaming h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: .5rem; }
.igaming p { color: var(--t3); margin-bottom: .8rem; }
.igaming .petit { font-size: .85rem; color: var(--t2); margin: 0; }
@media (max-width: 560px) { .igaming { grid-template-columns: minmax(0, 1fr); } }
.fil-ariane { font-size: .86rem; color: var(--t2); margin-bottom: 1rem; }
.fil-ariane a { color: var(--t2); }
.secteurs-liste { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.secteurs-liste li { padding: .45rem .95rem; border-radius: 10px; background: rgba(240,80,106,.10); border: 1px solid rgba(240,80,106,.35); color: var(--t); font-size: .92rem; font-weight: 600; }
.secteurs-liste li:nth-child(3n) { background: rgba(255,209,102,.10); border-color: rgba(255,209,102,.35); }

.marque b { font-weight: inherit; } .marque b span { color: var(--a1); }
.contact .btn-ligne { border-color: rgba(251,246,238,.7); color: var(--creme); } .contact .btn-ligne:hover { background: rgba(255,255,255,.1); color: #fff; }
.contact .btn-plein { background: var(--creme); color: #6d1d33; box-shadow: 0 4px 0 rgba(0,0,0,.25); }
@media (max-width: 600px) { .ecran .portrait { left: -2%; width: 28%; } .ecran .pastille { right: 0; } }
