/* =====================================================================
   refonte.css : habillage « pierre, bronze et or » inspiré de l'interface de WoW.
   Chargé par style.css (@import). Reprend l'identité du site : polices Cinzel, emblème, image de fond.
   ===================================================================== */
:root{
  --brique:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='168' height='52'><rect width='168' height='52' fill='%23302f30'/><g fill='%23ffffff' opacity='.035'><rect x='3' y='3' width='78' height='20'/><rect x='87' y='3' width='78' height='20'/><rect x='45' y='29' width='78' height='20'/></g><g fill='none' stroke='%230b0a0a' stroke-width='3'><path d='M0 1.5H168M0 26H168M0 50.5H168M84 0V26M42 26V52M126 26V52'/></g><g fill='none' stroke='%23585552' stroke-width='1' opacity='.55'><path d='M2 5H80M88 5H166M44 31H122'/></g></svg>");
  --bronze:linear-gradient(180deg,#5a4122 0%,#3a2916 40%,#241810 100%);
}

/* ---------- En-tête : bandeau de pierre + barre de bronze ---------- */
.barre-compte{background:linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.55)),var(--brique);border-bottom:2px solid #d9b45a;
  box-shadow:0 3px 0 rgba(0,0,0,.55)}
header#entete .barre-compte .wrap{padding:.4rem 0;min-height:2.9rem}
@media(min-width:1301px){header#entete .barre-compte .wrap{justify-content:flex-start;width:min(1500px,100% - 2rem)}}
header#entete{background:var(--grain),var(--bronze);border-bottom:4px solid #b08a3a;
  box-shadow:inset 0 -1px 0 #f0cf86,inset 0 -3px 0 #000,0 10px 26px rgba(0,0,0,.8)}
header#entete .haut{position:relative;height:4.8rem}
.nav-bloc a{padding:.5rem 1.15rem;border-bottom:0;border-radius:3px;margin-inline:.1rem;border-left:0!important;transition:background .2s,box-shadow .2s}
.nav-bloc a:hover{background:rgba(0,0,0,.35);box-shadow:inset 0 0 0 1px rgba(201,162,75,.5)}
header#entete .nav-bloc a[aria-current="page"]{color:#fff3c8;border:0;background:linear-gradient(#6a4c24,#33230f);
  box-shadow:inset 0 0 0 2px #d9b45a,inset 0 1px 0 rgba(255,240,180,.55),0 0 14px rgba(201,162,75,.4),0 2px 4px #000}
header#entete .embleme img{height:10.2rem;translate:-50% -40%}
@media(max-width:1300px){
  header#entete .embleme img{height:7rem;translate:-50% -44%}
  .nav-bloc a{margin:0;border-radius:0}
  header#entete .nav-bloc a[aria-current="page"]{background:none;box-shadow:none;border-bottom:1px solid var(--or)}
}

/* ---------- Accueil : bannière ---------- */
.hero{min-height:clamp(300px,34vw,440px);padding:3rem 0 4rem;overflow:visible;--voile:.3}
.hero::after{background:radial-gradient(ellipse at center,transparent 55%,rgba(0,0,0,.45)),linear-gradient(transparent 80%,rgba(12,18,15,.85))}
.hero .runes{display:none}
.hero h1{font-size:clamp(1.7rem,4.4vw,3.6rem);letter-spacing:.07em;white-space:normal}
.hero p{margin:.8rem 0 0;font-size:clamp(.8rem,1.9vw,1.15rem)}
.plaque{position:absolute;left:50%;bottom:0;translate:-50% 50%;z-index:6;display:inline-flex;align-items:center;gap:.7rem;
  font:900 clamp(1.15rem,2.6vw,1.6rem) "Cinzel Decorative","Cinzel",serif;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;
  color:#fff1c2;text-shadow:0 2px 0 #000,0 0 14px rgba(240,207,134,.5);padding:.85rem 2.6rem;white-space:nowrap;
  background:var(--grain),linear-gradient(#6b4a22,#3a250f 55%,#241508);border:3px solid transparent;border-radius:4px;
  background-clip:padding-box,padding-box,padding-box;
  box-shadow:0 0 0 3px #1a1209,0 0 0 5px #b08a3a,0 0 0 6px #000,inset 0 1px 0 rgba(255,235,170,.5),inset 0 -3px 0 rgba(0,0,0,.55),0 10px 26px rgba(0,0,0,.8);
  transition:filter .2s,box-shadow .2s}
.plaque:hover{filter:brightness(1.2);box-shadow:0 0 0 3px #1a1209,0 0 0 5px #f0cf86,0 0 0 6px #000,inset 0 1px 0 rgba(255,235,170,.6),0 0 30px rgba(224,180,92,.6),0 10px 26px rgba(0,0,0,.8)}
.note-hero{max-width:60ch;margin:3.4rem auto 0;padding:0 1.25rem;text-align:center;font-size:.98rem;line-height:1.45;color:var(--doux)}
.note-hero a{white-space:nowrap}

/* ---------- Accueil : trois panneaux ---------- */
#tableau{padding:2.2rem 0 3rem}
.tableau-grille{width:min(1400px,100% - 2.5rem);margin-inline:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:1.6rem;align-items:stretch}
.panneau{position:relative;display:flex;flex-direction:column;gap:.8rem;padding:1.5rem 1.6rem 1.3rem;border:3px solid transparent;border-radius:4px;
  background:var(--grain),linear-gradient(170deg,#2b2318,#15110b) padding-box,var(--laiton) border-box;
  box-shadow:inset 0 0 0 2px #0e0b07,inset 0 0 0 3px #5a4420,inset 0 0 40px rgba(0,0,0,.6),0 8px 22px rgba(0,0,0,.6)}
.panneau[hidden]{display:none}
.panneau h2{font-size:clamp(1.3rem,2.2vw,1.75rem);text-align:center;text-transform:uppercase;letter-spacing:.06em;margin:0 0 .5rem;padding-bottom:.9rem;position:relative}
.panneau h2::after{content:"";position:absolute;left:8%;right:8%;bottom:0;height:9px;
  background:radial-gradient(circle,#f0cf86 0 2.5px,transparent 3px) center/9px 9px no-repeat,linear-gradient(90deg,transparent,#b08a3a 30%,#b08a3a 70%,transparent) center/100% 1px no-repeat}
.panneau p{font-size:1.02rem;line-height:1.5}
.sous-titre{font-size:1.1rem;text-align:center;text-transform:uppercase;letter-spacing:.1em;margin-top:.4rem}
.valeurs{list-style:none;display:flex;gap:.35rem;justify-content:center;flex-wrap:wrap;padding:0;margin:.3rem 0}
.valeurs li{display:grid;justify-items:center;gap:.2rem;width:3.5rem;font-size:.62rem;color:var(--or-clair);text-align:center;font-family:var(--titre);letter-spacing:.03em}
.valeurs span{display:grid;place-items:center;width:2.6rem;height:2.6rem;font-size:1.5rem;border:2px solid #8a6a2c;border-radius:4px;
  background:var(--cuir);box-shadow:inset 0 0 0 1px #000,inset 0 1px 0 rgba(255,235,170,.3),0 2px 4px rgba(0,0,0,.7)}
.regles{padding-left:1.2rem;font-size:1rem}
.regles li{margin:.15rem 0}
.regles li::marker{color:#c9a24b}
.lien-suite{margin-top:auto;padding-top:.6rem;text-align:center;font:700 .9rem var(--titre);letter-spacing:.08em;text-transform:uppercase;color:var(--or-clair)}
.vide{color:var(--doux);text-align:center;margin:.6rem 0}
#p-calendrier .btn{align-self:center}
.raid-ligne{display:grid;grid-template-columns:1fr auto;gap:.15rem .8rem;padding:.7rem .9rem;text-decoration:none;color:var(--texte);
  border:2px solid #6b5224;border-left:5px solid var(--elfe);border-radius:3px;background:linear-gradient(90deg,rgba(138,107,196,.22),rgba(0,0,0,.35));
  box-shadow:inset 0 1px 0 rgba(255,235,170,.18),0 2px 6px rgba(0,0,0,.5);transition:filter .2s,border-color .2s}
.raid-ligne:nth-of-type(2){border-left-color:var(--hurle)}.raid-ligne:nth-of-type(3){border-left-color:var(--forge)}
.raid-ligne:hover{filter:brightness(1.2);border-color:#c9a24b}
.raid-ligne.annule{opacity:.55}
.raid-titre{font:700 1.05rem var(--titre);color:var(--or-clair);text-transform:uppercase;letter-spacing:.04em}
.raid-quand{font-size:.95rem;color:var(--doux);text-align:right;align-self:center}
.raid-compo{grid-column:1/-1;display:flex;gap:.9rem;flex-wrap:wrap;font-size:.92rem}
.raid-compo i{font-style:normal;padding:.05rem .45rem;border-radius:3px;background:rgba(0,0,0,.4);border:1px solid rgba(201,162,75,.25)}
.r-tank{color:#9ab8ff}.r-heal{color:#8fe0a8}.r-dps{color:#ff9d8a}
.etiquette{grid-column:2;font:700 .7rem var(--titre);letter-spacing:.1em;text-transform:uppercase;font-style:normal;color:#1a1002;background:var(--or);padding:.05rem .45rem;border-radius:2px;justify-self:end}
.etiquette.ko{background:var(--rouge);color:#fff}

/* Panneau Live : le lecteur Twitch s'insère dans le cadre */
#live{background:var(--grain),linear-gradient(170deg,#241c2e,#15110b) padding-box,var(--laiton) border-box}
#live .tw-cadre{box-shadow:none;border-width:1px}
#live .tw-cadre::before{display:none}
.tw-lecteur{height:clamp(220px,24vw,340px)}
#live .tw-hors{padding:2rem 1rem}
#live .tw-hors h3{font-size:1.25rem}

/* ---------- Pied de page : fine barre de pierre ---------- */
footer{padding:1rem 0 5.2rem;background:linear-gradient(rgba(0,0,0,.35),rgba(0,0,0,.6)),var(--brique);border-top:3px solid #b08a3a;box-shadow:inset 0 2px 0 #000;font-size:.88rem}
footer .wrap{justify-content:center;gap:.5rem 1.6rem;text-align:center}
footer a,footer .l-officier{font-family:var(--titre);letter-spacing:.05em;color:var(--or-clair)}

@media(max-width:620px){
  .hero{padding:2rem 0 3.4rem}
  .plaque{padding:.7rem 1.8rem}
  .note-hero{margin-top:3rem}
  .panneau{padding:1.2rem 1.1rem}
  .raid-ligne{grid-template-columns:1fr}.raid-quand{text-align:left}.etiquette{grid-column:1;justify-self:start}
}
