/* ============================================================
   LePlaisirDeRouler — styles communs à toutes les pages
   Couleur d'accent : change --accent ci-dessous.
   ============================================================ */
:root{
  --bg:#141412; --bg2:#1C1B18; --card:#252420; --card2:#2D2B26; --line:#3A3832;
  --text:#EDE9E1; --muted:#C9C3B8; --dim:#A9A397; --faint:#8E887D;
  --accent:#D9AE2E;
  --bbq:#E4572E; --fondue:#7BC47F;
  --display:'Barlow Condensed','Arial Narrow',sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:'Source Sans 3',system-ui,sans-serif;font-size:18px;line-height:1.6}
img{max-width:100%;display:block}
a{color:var(--accent)}
p{margin:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
section{padding:80px 0}
.alt{background:var(--bg2)}
h1,h2,h3{font-family:var(--display);text-transform:uppercase;color:#fff;margin:0;line-height:1}
h2{font-size:52px;font-weight:700;margin-bottom:24px}
h3{font-size:28px;font-weight:700}
.intro{max-width:720px;color:var(--muted);margin-bottom:40px}
.kicker{color:var(--accent);font-weight:700;letter-spacing:.14em;text-transform:uppercase;font-size:15px;margin-bottom:14px}

/* ---------- En-tête ---------- */
header{position:sticky;top:0;z-index:20;background:rgba(20,20,18,.94);backdrop-filter:blur(8px);border-bottom:1px solid #2E2C27}
header .wrap{display:flex;flex-wrap:wrap;gap:10px 28px;align-items:center;justify-content:space-between;padding-top:14px;padding-bottom:14px}
.logo{display:flex;align-items:center;gap:12px;text-decoration:none;line-height:1}
.logo img{width:60px;height:60px;flex:0 0 auto}
.logo .name{display:flex;flex-direction:column}
.logo b{font-family:var(--display);font-weight:800;font-size:28px;letter-spacing:.02em;color:#fff}
.logo b span{color:var(--accent)}
.logo small{font-size:13px;color:var(--dim);font-weight:600;letter-spacing:.08em;text-transform:uppercase;margin-top:4px}
nav{display:flex;flex-wrap:wrap;gap:6px 22px;font-weight:600;font-size:16px}
nav a{color:var(--text);text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
nav a:hover{color:var(--accent)}
nav a[aria-current="page"]{color:var(--accent);border-bottom-color:var(--accent)}

/* ---------- Boutons ---------- */
.btn{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 26px;border-radius:6px;font-weight:700;text-decoration:none;transition:transform .15s,background .15s;border:none;cursor:pointer;font:inherit;font-weight:700}
.btn:hover{transform:translateY(-2px)}
.btn-main{background:var(--accent);color:#141412}
.btn-ghost{border:2px solid #5A554C;color:#fff;background:transparent}
.btn-off{background:var(--card2);color:var(--faint);cursor:default}
.btn-off:hover{transform:none}
.btn svg{width:18px;height:18px}
.btns{display:flex;flex-wrap:wrap;gap:14px}

/* ---------- Cadres photo (photo si présente, sinon cadre gris) ---------- */
.photo{position:relative;border-radius:10px;border:2px dashed #4A463F;background:#1E1D1A;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px;color:var(--faint);font-weight:600;font-size:16px;overflow:hidden}
.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.photo.has-img{border:none}

/* ---------- Accueil ---------- */
.hero{position:relative;min-height:600px;display:flex;align-items:flex-end;padding:0}
.hero .photo{position:absolute;inset:0;border-radius:0;border:none;align-items:flex-start;padding-top:40px}
.hero .photo::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(20,20,18,.97) 8%,rgba(20,20,18,.55) 55%,rgba(20,20,18,.25))}
.hero .wrap{position:relative;z-index:1;padding-top:200px;padding-bottom:72px;width:100%}
.hero .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:40px}
.hero-text{flex:1 1 520px;min-width:0}
.hero-logo{flex:0 0 auto;width:340px;height:340px;border-radius:50%;box-shadow:0 0 0 3px rgba(217,174,46,.4),0 20px 60px rgba(0,0,0,.6)}
.hero h1{font-size:clamp(46px,6.4vw,96px);font-weight:800;margin-bottom:18px}
.hero h1 span{color:var(--accent)}
.hero .lead{font-size:21px;color:var(--muted);max-width:600px;margin-bottom:32px}

.perks{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.perk{background:var(--card);border-radius:10px;padding:30px}
.perk svg{width:38px;height:38px;stroke:var(--accent);margin-bottom:16px}
.perk h3{font-size:26px;margin-bottom:8px}
.perk p{color:var(--dim)}

.extras{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.extra{display:flex;flex-direction:column;background:var(--card);border-radius:10px;overflow:hidden}
.extra .photo{height:220px;border-radius:0;border:none;border-bottom:2px dashed #4A463F}
.extra .photo.has-img{border:none}
.extra div.txt{padding:26px}
.extra h3{margin-bottom:8px}
.extra p{color:var(--dim)}

.preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:32px}
.preview .photo{height:200px}

/* ---------- Cartes de sortie ---------- */
.events{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:24px}
.event{display:flex;flex-direction:column;background:var(--card);border-radius:10px;overflow:hidden;border-top:5px solid var(--accent)}
.event.bbq{border-top-color:var(--bbq)}
.event.fondue{border-top-color:var(--fondue)}
.event.past{opacity:.55}
.event .body{padding:26px;display:flex;flex-direction:column;gap:14px;flex:1}
.tags{display:flex;flex-wrap:wrap;gap:8px}
.tag{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;border-radius:4px;background:var(--card2);color:var(--muted)}
.tag.type{background:var(--accent);color:#141412}
.event.bbq .tag.type{background:var(--bbq);color:#141412}
.event.fondue .tag.type{background:var(--fondue);color:#141412}
.tag.confirmee{background:#2F4A2F;color:#B9E3B9}
.tag.a-confirmer{background:#4A3F24;color:#F5D58E}
.tag.decalee{background:#4A2A24;color:#F5B5A3}
.tag.complete{background:#3A3832;color:#D8D2C7}
.event h3{font-size:32px}
.facts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:17px}
.facts li{display:flex;gap:10px;align-items:flex-start}
.facts svg{flex:0 0 auto;width:20px;height:20px;stroke:var(--faint);margin-top:4px}
.event .desc{color:var(--dim);font-size:17px}
.event .btn{margin-top:auto;align-self:flex-start}

.featured{display:flex;flex-wrap:wrap;background:var(--card);border-radius:12px;overflow:hidden}
.featured .photo{flex:1 1 380px;min-height:320px;border-radius:0;border:none;border-right:2px dashed #4A463F}
.featured .photo.has-img{border:none}
.featured .body{flex:1 1 420px;padding:40px;display:flex;flex-direction:column;gap:16px}
.featured h3{font-size:44px}

.notice{display:flex;gap:16px;align-items:flex-start;background:#2A2620;border:1px solid #4A3F24;border-radius:10px;padding:22px 24px;color:var(--muted);margin-bottom:32px}
.notice svg{flex:0 0 auto;width:28px;height:28px;stroke:#F5D58E;margin-top:2px}
.notice strong{color:#fff}

.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:32px}
.filters button{font:inherit;font-size:16px;font-weight:700;min-height:44px;padding:0 18px;border-radius:999px;border:2px solid #4A463F;background:transparent;color:var(--text);cursor:pointer}
.filters button[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:#141412}

/* ---------- Déroulement ---------- */
.timeline{list-style:none;margin:0;padding:0;position:relative}
.timeline li:not(:last-child)::before{content:"";position:absolute;left:21px;top:22px;bottom:-22px;width:2px;background:var(--line)}
.timeline li{position:relative;display:flex;gap:24px;padding-bottom:34px}
.timeline li:last-child{padding-bottom:0}
.dot{position:relative;z-index:1;flex:0 0 auto;width:44px;height:44px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center}
.dot svg{width:22px;height:22px;stroke:#141412}
.timeline .when{font-size:14px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.timeline h3{font-size:28px;margin:2px 0 6px}
.timeline p{color:var(--dim)}

.split{display:flex;flex-wrap:wrap;gap:48px}
.split > *{flex:1 1 420px;min-width:0}

.team{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px}
.member{background:var(--card);border-radius:10px;padding:24px;text-align:center}
.member .photo{width:140px;height:140px;border-radius:50%;margin:0 auto 16px;padding:10px;font-size:13px}
.member h3{font-size:26px}
.member p{color:var(--dim);font-size:16px}

.prices{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.price-card{background:var(--card);border-radius:10px;padding:30px}
.price-card .amount{font-family:var(--display);font-weight:800;font-size:56px;color:var(--accent);line-height:1.1}
.price-card p{color:var(--dim)}

.faq{display:flex;flex-direction:column;gap:12px;max-width:860px}
.faq details{background:var(--card);border-radius:8px;padding:0 24px}
.faq summary{cursor:pointer;font-weight:700;color:#fff;padding:20px 0;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:26px;line-height:1;color:var(--accent)}
.faq details[open] summary::after{content:"–"}
.faq details p{padding-bottom:20px;color:var(--dim)}

/* ---------- Galerie ---------- */
.album{margin-bottom:56px}
.album h3{margin-bottom:4px}
.album .meta{color:var(--faint);margin-bottom:18px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.grid button{all:unset;cursor:zoom-in;display:block;border-radius:8px;overflow:hidden;aspect-ratio:4/3;background:#1E1D1A}
.grid button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.grid img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.grid button:hover img{transform:scale(1.04)}
.grid .photo{aspect-ratio:4/3}
.lightbox{position:fixed;inset:0;z-index:50;background:rgba(10,10,9,.95);display:none;align-items:center;justify-content:center;padding:24px}
.lightbox.open{display:flex}
.lightbox img{max-height:86vh;max-width:100%;border-radius:6px}
.lightbox button{position:absolute;font:inherit;background:rgba(255,255,255,.1);color:#fff;border:none;width:52px;height:52px;border-radius:50%;cursor:pointer;font-size:26px}
.lightbox .close{top:18px;right:18px}
.lightbox .prev{left:18px;top:50%;transform:translateY(-50%)}
.lightbox .next{right:18px;top:50%;transform:translateY(-50%)}
.lightbox .caption{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:var(--muted)}

/* ---------- Bandeau d'appel + pied de page ---------- */
.cta{text-align:center}
.cta h2{font-size:56px;font-weight:800}
.cta p{color:var(--muted);max-width:620px;margin:0 auto 32px}
.cta .btns{justify-content:center}
.page-head{padding-top:72px;padding-bottom:24px}
.page-head h1{font-size:clamp(48px,7vw,80px);font-weight:800;margin-bottom:16px}
.page-head p{color:var(--muted);max-width:720px;font-size:20px}

footer{border-top:1px solid #2E2C27;padding:48px 0 32px;color:var(--faint);font-size:16px}
footer .cols{display:flex;flex-wrap:wrap;gap:32px 64px;justify-content:space-between;margin-bottom:32px}
footer h4{margin:0 0 10px;color:#fff;font-size:15px;letter-spacing:.1em;text-transform:uppercase}
footer a{color:var(--muted);text-decoration:none}
footer a:hover{color:var(--accent)}
footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
footer .legal{border-top:1px solid #2E2C27;padding-top:20px;font-size:14px}

@media (max-width:900px){
  .hero-logo{order:-1;width:180px;height:180px}
}
@media (max-width:640px){
  section{padding:56px 0}
  h2{font-size:40px}
  .hero{min-height:520px}
  .hero .wrap{padding-top:140px;padding-bottom:48px}
  .featured .body{padding:26px}
  .featured h3{font-size:36px}
  .cta h2{font-size:42px}
  nav{gap:4px 16px;font-size:15px}
}
.photo[data-src="photos/deroulement.jpg"] img{object-position:88% 50%}
