/* Bases reprises de src/styles.css : les guides n'ont pas besoin de toute la feuille du site (420 Ko).
   Chemin de la police relatif à ce fichier (src/). */
@font-face{font-family:"Lilita One";src:url("../assets/fonts/lilita-one/LilitaOne-Regular.woff") format("woff");font-style:normal;font-weight:400;font-display:swap}
:root{--site-font:"Lilita One","Arial Rounded MT Bold",system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}html,body{background-color:#123f66}body{font-synthesis:style}
/* Guides chiffrés (atelier) : chaque guide reprend l'habillage de son calculateur (fond de la section, police Lilita One,
   encadrés et bandeaux de titre des astuces « L'Astuce du Companion »), relevé sur les pages du site le 29/11.
   Thèmes : gd-bleu (Chaudière, sommaire), gd-halo (Équipement du Chef, Talismans, Équipement des Héros), gd-t11, gd-t12. */
.gd-body{
  /* Chaudière : halo blanc-bleu de la scène (.furnace-stage) au-dessus du dégradé de la section */
  --fond:radial-gradient(circle 230px at 50% 470px,rgba(235,252,255,.42) 0,rgba(112,217,255,.26) 36%,rgba(72,166,221,.1) 57%,transparent 72%) no-repeat,
         linear-gradient(180deg,#184d7d 0,#236b9b 38%,#16476f 100%) 0 0/100% 1600px no-repeat,#16476f;
  --panel:rgba(8,43,79,.62);   /* entre le cadre clair (.38) et l'encadré du coût (.9) : moins de contraste haut / bas */
--bord:rgba(131,203,240,.46);--ombre:inset 0 1px rgba(255,255,255,.18),0 14px 35px rgba(1,22,48,.36);
  --bandeau:linear-gradient(180deg,#4b8dc3,#3977ae);--bandeau-ombre:0 2px 2px #16466d;
  --texte:#d9eefb;--fort:#bdf4ff;--doux:#b9def0;--intro:#d4efff;--lien:#8edfff;
  --trait:rgba(131,203,240,.16);--trait-fort:rgba(131,203,240,.5);--colonne:#103e66;--max:rgba(140,215,255,.2);--max-colonne:#2a5d86;
  --clair:rgba(8,43,79,.38);--clair-ombre:inset 0 1px rgba(255,255,255,.16),0 14px 35px rgba(1,22,48,.34);
  margin:0;min-height:100vh;background:var(--fond);color:var(--texte);font:15px/1.5 var(--site-font)}
.gd-body.gd-halo{   /* Équipement, Talismans, Équipement des Héros : halo de la section + lueur claire de l'anneau des pièces (.upgrade-orbit) */
  --fond:radial-gradient(circle 260px at 50% 520px,rgba(239,246,255,.5) 0,rgba(154,220,247,.26) 24%,rgba(68,153,203,.11) 48%,transparent 70%) no-repeat,
         radial-gradient(58% 930px at 50% 690px,rgba(142,229,255,.38) 0,rgba(79,180,222,.22) 42%,transparent 78%) no-repeat,
         linear-gradient(180deg,#184d7d 0,#236b9b 38%,#16476f 100%) 0 0/100% 1600px no-repeat,#16476f}
.gd-body.gd-t11,.gd-body.gd-t12{
  --panel:rgba(42,14,12,.5);--bord:rgba(240,170,120,.42);--ombre:inset 0 1px rgba(255,220,190,.14),0 14px 35px rgba(20,4,4,.4);
  --bandeau:linear-gradient(180deg,#b5603d,#8c4129);--bandeau-ombre:0 2px 2px rgba(60,16,8,.55);
  --texte:#f6e2d6;--fort:#ffd2ad;--doux:#e9c4ad;--intro:#d4efff;--lien:#ffc79a;
  --trait:rgba(240,170,120,.16);--trait-fort:rgba(240,170,120,.5);--colonne:#311219;--max:rgba(255,130,110,.2);--max-colonne:#4e2228;
  --clair:rgba(42,14,12,.3);--clair-ombre:inset 0 1px rgba(255,220,190,.14),0 14px 35px rgba(20,4,4,.4)}
.gd-body.gd-t11{   /* T11 : lueur rouge-orangé derrière l'arbre (#t11Tree::before) sur le fond de la section */
  --fond:radial-gradient(circle 560px at 50% 620px,#b9573f 0,#ad4f3e 8%,#a74c3d 16%,#8c4139 28%,#70322f 42%,#60313b 55%,#502735 70%,#45202f 85%,#381726 100%) no-repeat,
         radial-gradient(70% 600px at 50% 420px,rgba(150,62,52,.18),transparent 75%) no-repeat,#381726}
.gd-body.gd-t12{   /* T12 : rayonnement de la section, étalé comme sur sa page (~1700 px de haut) */
  --fond:radial-gradient(90% 1040px at 50% 380px,#8f4a3d 0,#6e3934 30%,#4a2830 62%,#331b26 100%) no-repeat,#331b26}

.gd-haut{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:900px;margin:0 auto;padding:14px 16px 0}
.gd-retour,.gd-marque{color:var(--intro);text-decoration:none;font-size:15px}.gd-marque{white-space:nowrap}
.gd-retour:hover,.gd-marque:hover{color:#fff}
.gd-page{max-width:900px;margin:0 auto;padding:10px 16px 40px}
.gd-page h1{font-weight:400;color:#fff;font-size:32px;line-height:1.15;margin:20px 0 12px;text-align:center}
.gd-intro{font-size:16px;color:var(--intro);margin:0 auto 20px;max-width:760px;text-align:center}
.gd-page a{color:var(--lien)}

/* tuiles : totaux */
.gd-tuiles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 18px}
.gd-tuile{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;padding:12px 14px;text-align:center;border:2px solid var(--bord);border-radius:22px;background:var(--clair);box-shadow:var(--clair-ombre)}
.gd-tuile img{width:28px;height:28px}
.gd-tuile b{font-weight:400;font-size:28px;color:#fff;line-height:1.1;font-variant-numeric:tabular-nums}
.gd-tuile span{font-size:13.5px;color:var(--doux);line-height:1.3}

/* encadrés : comme « L'Astuce du Companion » (bandeau de titre, fond, bord 2 px) */
.gd-bloc{margin:0 0 18px;padding:14px 18px 18px;border:2px solid var(--bord);border-radius:26px;background:var(--panel);box-shadow:var(--ombre)}
.gd-bloc h2{margin:0 0 12px;padding:9px 18px;border-radius:16px;background:var(--bandeau);color:#fff;font-weight:400;font-size:20px;line-height:1.25;text-align:center;text-shadow:var(--bandeau-ombre)}
.gd-bloc>p{margin:0 0 12px;color:var(--texte)}
.gd-points{margin:4px 0 0;padding-left:20px}.gd-points li{margin:0 0 9px}.gd-points strong{color:var(--fort);font-weight:400}

/* tableaux */
.gd-defile{overflow-x:auto;margin:0;padding:0;-webkit-overflow-scrolling:touch}   /* pas de marge intérieure : sinon les chiffres défilent dans une bande à gauche de la colonne figée */
.gd-table{width:100%;border-collapse:collapse;font-size:14.5px;font-variant-numeric:tabular-nums}
.gd-table thead th{vertical-align:bottom;padding:6px 8px 8px;border-bottom:1px solid var(--trait-fort);color:var(--doux);font-weight:400;font-size:12.5px;text-align:right;white-space:nowrap}
.gd-table thead th:first-child{text-align:left}
.gd-ico{display:flex;justify-content:flex-end;gap:2px;margin:0 0 3px}.gd-ico img{width:24px;height:24px}
.gd-tuile .gd-ico{justify-content:center}
.gd-table thead th span:not(.gd-ico){display:block}
.gd-table tbody th,.gd-table tfoot th{text-align:left;font-weight:400;color:#fff;padding:7px 8px;white-space:normal}
.gd-pal{display:flex;align-items:center;gap:8px}
.gd-large tbody th{min-width:150px}
.gd-table tbody th small{display:block;font-size:12px;color:var(--doux);white-space:normal}
.gd-four{width:36px;height:36px;object-fit:contain;flex:none}
.gd-table td{text-align:right;padding:7px 8px;white-space:nowrap;color:var(--texte)}
.gd-table tbody tr+tr th,.gd-table tbody tr+tr td{border-top:1px solid var(--trait)}
.gd-table tfoot th,.gd-table tfoot td{border-top:1px solid var(--trait-fort);color:#fff}
.gd-fort{color:var(--fort)!important}
.gd-max th,.gd-max td{background:var(--max)}
/* colonne de gauche figée pendant le défilement horizontal (téléphone) : fond opaque */
@media(max-width:900px){   /* seulement quand le tableau peut défiler : sur grand écran, la colonne garde le fond de l'encadré */
  .gd-table tbody th,.gd-table tfoot th,.gd-table thead th:first-child{position:sticky;left:0;z-index:1;background:var(--colonne)}
  .gd-max th{background:var(--max-colonne)}}

.gd-source{font-size:13px;color:var(--doux);margin:6px 2px 16px;text-align:center}
.gd-cta{display:block;width:max-content;max-width:100%;margin:0 auto;padding:12px 22px;border-radius:16px;background:var(--bandeau);color:#fff!important;text-decoration:none;font-size:18px;text-shadow:var(--bandeau-ombre);box-shadow:inset 0 1px rgba(255,255,255,.3),0 3px 8px rgba(3,10,30,.4)}

/* sommaire des guides */
.gd-cartes{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}
.gd-carte{display:flex;flex-direction:column;gap:6px;padding:16px 18px;border:2px solid var(--bord);border-radius:22px;background:var(--panel);box-shadow:var(--ombre);color:var(--texte)!important;text-decoration:none}
.gd-carte:hover{filter:brightness(1.12)}
.gd-carte b{font-weight:400;font-size:20px;color:#fff}
.gd-carte span{font-size:14px;color:var(--doux)}

@media(max-width:700px){.gd-tuiles{grid-template-columns:1fr 1fr}.gd-bloc{padding:12px 12px 14px}.gd-table{font-size:13.5px}.gd-table td,.gd-table th{padding-left:6px;padding-right:6px}.gd-page h1{font-size:26px}}
@media(max-width:520px){.gd-marque,.gd-retour{font-size:14px}.gd-large tbody th{min-width:128px}.gd-four{width:30px;height:30px}.gd-bloc h2{font-size:18px;padding:8px 12px}}
/* Chevron « haut de page » : même bouton que Héros VS Héros (.hv-fhaut), même règle d'apparition (au-delà d'un tiers de la descente) ;
   T11/T12 : aux couleurs cuivrées de leur thème */
.gd-haut-page{position:fixed;right:18px;bottom:22px;z-index:30;display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--haut-bord,rgba(116,215,255,.45));border-radius:50%;
  background:var(--haut-fond,linear-gradient(180deg,#2a6db6,#174a8f 55%,#0f3670));box-shadow:0 6px 16px rgba(1,22,48,.45),inset 0 1px rgba(255,255,255,.16);color:#fff;cursor:pointer;
  opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .2s,transform .2s}
.gd-haut-page.show{opacity:1;pointer-events:auto;transform:none}
.gd-haut-page i{width:10px;height:10px;margin-top:5px;border-left:2.5px solid currentColor;border-top:2.5px solid currentColor;transform:rotate(45deg)}
.gd-t11,.gd-t12{--haut-bord:rgba(240,170,120,.5);--haut-fond:linear-gradient(180deg,#c0703f,#8c4129 55%,#6a2f1e)}
@media(max-width:600px){.gd-haut-page{right:12px;bottom:16px;width:42px;height:42px}}

/* « Ce qu'il faut retenir » : même cadre translucide que la scène du calculateur ; les tableaux gardent l'encadré sombre du coût */
.gd-bloc.gd-clair{background:var(--clair);box-shadow:var(--clair-ombre)}
/* titre de ligne : jamais coupé au milieu (« FC9 → FC10 »), colonne assez large pour lui et son image */
.gd-lib{white-space:nowrap}
.gd-table tbody th,.gd-table tfoot th{min-width:120px}
/* sommaire : fond de section seul (sans halo), étalé sur toute la page */
.gd-body.gd-hub{--fond:linear-gradient(180deg,#184d7d 0,#236b9b 38%,#16476f 100%) no-repeat,#16476f}
.gd-hub .gd-carte{background:rgba(8,43,79,.62);box-shadow:inset 0 1px rgba(255,255,255,.18),0 10px 24px rgba(1,22,48,.45);transition:transform .15s,filter .15s}   /* moins transparentes : lisibles comme des boutons */
.gd-hub .gd-carte:hover{transform:translateY(-2px);filter:brightness(1.1)}
.gd-hub .gd-carte:active{transform:translateY(0);filter:brightness(.95)}
/* cartes du sommaire, comme « L'Astuce du Companion » : titre en bandeau, accroche, suite */
.gd-carte{gap:8px;padding:14px 16px 16px}
.gd-carte .gd-carte-titre{display:block;margin:0 0 4px;padding:8px 14px;border-radius:14px;background:var(--bandeau);color:#fff;font-size:20px;line-height:1.25;text-align:center;text-shadow:var(--bandeau-ombre)}
.gd-carte .gd-accroche{color:#fff;font-size:18px;line-height:1.4;text-shadow:0 2px 2px rgba(0,0,0,.35)}   /* = .astuce-accroche */
.gd-carte .gd-suite{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-weight:400;font-size:15px;line-height:1.5;color:rgba(255,255,255,.92)}   /* = texte des astuces */
@media(max-width:600px){.gd-carte .gd-carte-titre{font-size:18px}.gd-carte .gd-accroche{font-size:16.5px}.gd-carte .gd-suite{font-size:14.5px}}
/* sommaire : chaque carte entièrement dans la couleur du bandeau de titre, comme un vrai bouton du site */
.gd-hub .gd-carte{background:var(--bandeau);border:2px solid rgba(216,247,255,.45);box-shadow:inset 0 1px rgba(216,247,255,.35),0 6px 16px rgba(3,22,48,.5)}
.gd-hub .gd-carte .gd-carte-titre{background:none;padding:0 0 8px;border-radius:0;border-bottom:1px solid rgba(216,247,255,.35)}
.gd-hub .gd-carte .gd-accroche{text-shadow:0 2px 2px #16466d}
.gd-hub .gd-carte{background:linear-gradient(180deg,#3f7fb5,#2f6799)}   /* bandeau légèrement foncé (#4b8dc3 → #3977ae) */
/* boutons du sommaire : sans liseré clair ; léger grossissement au survol et au toucher */
.gd-hub .gd-carte{border:0;padding:16px 18px 18px}
.gd-hub .gd-carte:hover,.gd-hub .gd-carte:focus-visible{transform:scale(1.03);filter:brightness(1.06)}
.gd-hub .gd-carte:active{transform:scale(1.015);filter:none}
@media(prefers-reduced-motion:reduce){.gd-hub .gd-carte,.gd-hub .gd-carte:hover,.gd-hub .gd-carte:active{transition:none;transform:none}}
