/* Styles limités au hub Tirage et à sa navigation associée. */
.tg-page,.tg-related{--tg-ink:#19151b;--tg-muted:#6f6576;--tg-accent:#b60e88;--tg-paper:#fff;--tg-line:#e9dfeb;--tg-soft:#fcf7fb;color:var(--tg-ink);font-size:17px;line-height:1.7}
[data-theme="dark"] .tg-page,[data-theme="dark"] .tg-related{--tg-ink:#faf5fc;--tg-muted:#c4b7cc;--tg-accent:#f17bd0;--tg-paper:#211b27;--tg-line:#49394f;--tg-soft:#19131e}
#signup-main .tg-container{max-width:1920px;margin-inline:auto;padding:0 0 32px}
#signup-main.tg-page :is(p,li,summary),#signup-main .tg-related :is(p,li){font-size:17px;line-height:1.7}
#signup-main.tg-page :is(h1,h2),#signup-main .tg-related h2{color:var(--tg-accent);font-size:clamp(25px,2.2vw,34px);line-height:1.25;text-align:left;margin:0 0 18px;font-weight:750}
#signup-main.tg-page h3{color:var(--tg-ink);font-size:19px;line-height:1.4;text-align:left;margin:0 0 12px}
#signup-main.tg-page .tg-prefix{color:var(--tg-ink)}
#signup-main.tg-page a,#signup-main .tg-related a{text-decoration:none;color:var(--tg-accent)}
#signup-main.tg-page a:hover,#signup-main .tg-related a:hover{filter:brightness(.85)}
#signup-main.tg-page a:focus-visible,#signup-main .tg-related a:focus-visible,#signup-main.tg-page summary:focus-visible{outline:3px solid var(--tg-accent);outline-offset:4px}
#signup-main.tg-page .msv-signup-breadcrumb{font-size:13px}
.tg-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:22px;background:var(--tg-soft);margin:0 0 28px;min-height:clamp(280px,20.84vw,400px)}
.tg-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:76% center;z-index:-2}
.tg-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fcf7fb 0%,#fcf7fbef 40%,#fcf7fb70 66%,transparent 85%);z-index:-1}
[data-theme="dark"] .tg-hero::after{background:linear-gradient(90deg,#19131e 0%,#19131eee 42%,#19131e70 72%,#19131e20)}
.tg-hero-copy{max-width:1100px;padding:clamp(24px,3vw,40px)}
.tg-hero-copy>p{max-width:750px;margin:0 0 20px}
.tg-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start}
#signup-main.tg-page .tg-actions a,#signup-main.tg-page .tg-button{display:inline-flex;align-items:center;gap:12px;border:1px solid var(--tg-accent);border-radius:30px;padding:8px 18px;color:var(--tg-ink);font-size:17px;font-weight:600;line-height:1.5;background:var(--tg-paper);width:fit-content}
.tg-section{margin:32px 0}.tg-section>p{max-width:1200px;margin:0 0 18px}
.tg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tg-card{display:flex;flex-direction:column;align-items:flex-start;padding:24px;border:1px solid var(--tg-line);border-radius:20px;background:var(--tg-paper)}
#signup-main.tg-page .tg-card h3 a{color:var(--tg-ink);font-size:19px}
.tg-card>p{margin:0 0 18px}.tg-card .tg-button{margin-top:auto}
#signup-main.tg-page .tg-badge{font-size:17px;color:var(--tg-muted);margin-bottom:10px}
.tg-faq{padding:clamp(22px,3vw,36px);border:1px solid var(--tg-line);border-radius:28px;background:var(--tg-paper);margin-top:36px}
.tg-faq details{border-top:1px solid var(--tg-line);padding:20px 0}.tg-faq details:last-child{padding-bottom:0}
.tg-faq summary,.tg-sources summary{display:list-item;cursor:pointer;color:var(--tg-ink);text-align:left;list-style:disclosure-closed inside}
.tg-faq details[open]>summary,.tg-sources details[open]>summary{list-style-type:disclosure-open}
.tg-faq summary::marker,.tg-sources summary::marker{color:var(--tg-accent)}
.tg-faq details p{margin:14px 0 0;max-width:1200px}
.tg-sources{padding:28px 0 8px}.tg-sources summary{color:var(--tg-muted)}
#signup-main .tg-related{margin:32px auto;padding:24px;max-width:1800px;border:1px solid var(--tg-line);border-radius:22px;background:var(--tg-paper)}
.tg-related ul{display:flex;gap:12px 24px;flex-wrap:wrap;list-style:none;padding:0;margin:16px 0 0}.tg-related p{margin:0}
@media(min-width:1500px){.tg-grid:not(.tg-three){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1000px){.tg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-hero-copy{max-width:85%}.tg-hero::after{background:linear-gradient(90deg,#fcf7fbf5,#fcf7fbda 65%,#fcf7fb60)}}
@media(max-width:600px){.tg-grid{grid-template-columns:1fr}.tg-hero-copy{max-width:none;padding:24px 20px}.tg-hero{min-height:0}.tg-hero>img{opacity:.23}.tg-hero::after{background:#fcf7fb99}.tg-card{padding:20px}.tg-section{margin:26px 0}.tg-actions{gap:8px}#signup-main.tg-page .tg-actions a{padding:7px 12px}.tg-related ul{display:grid}}

/* Bandeau compact et photographies des méthodes de tirage. */
#signup-main.tg-page .tg-hero{min-height:0!important;height:auto!important}
#signup-main.tg-page .tg-hero-copy{padding:24px 32px}
#signup-main.tg-page .tg-hero h1{margin-bottom:12px}
#signup-main.tg-page .tg-hero-copy>p{margin-bottom:14px}
#signup-main.tg-page .tg-hero>img{object-fit:contain;object-position:right center}
#signup-main.tg-page .tg-method-photo{display:block;width:100%;height:170px;object-fit:cover;object-position:80% center;border-radius:12px;margin:0 0 18px;background:var(--tg-soft)}
@media(max-width:600px){
 #signup-main.tg-page .tg-hero-copy{padding:20px}
 #signup-main.tg-page .tg-method-photo{height:auto;aspect-ratio:16/7}
}

/* Bloc titre : dimensions, fondu et responsive du gabarit medium.php. */
#signup-main.tg-page .tg-hero{--tg-hero:#fff2f8;--tg-hero-rgb:255,242,248;box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:auto!important;min-height:255px!important;margin:12px 0 26px;padding:27px 36px;border:1px solid var(--tg-line);border-radius:18px;background:var(--tg-hero)}
#signup-main.tg-page .tg-hero::after{content:none;display:none}
#signup-main.tg-page .tg-hero-art{position:absolute;inset:0 0 0 40%;z-index:0;pointer-events:none}
#signup-main.tg-page .tg-hero-art img{position:static;display:block;width:100%;max-width:none;height:100%;object-fit:cover;object-position:right center;opacity:1}
#signup-main.tg-page .tg-hero-art::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,var(--tg-hero) 0%,var(--tg-hero) 25%,rgba(var(--tg-hero-rgb),.94) 40%,rgba(var(--tg-hero-rgb),.5) 65%,rgba(var(--tg-hero-rgb),0) 88%)}
#signup-main.tg-page .tg-hero-copy{box-sizing:border-box;position:relative;z-index:1;width:70%;min-width:0;max-width:1320px;padding:0}
#signup-main.tg-page .tg-hero-copy h1{font-family:"Nunito","Segoe UI",Arial,sans-serif;font-size:clamp(25px,2.35vw,34px);font-weight:800;line-height:1.2;letter-spacing:-.035em;margin:0;text-wrap:balance}
#signup-main.tg-page .tg-hero-copy>p{max-width:80%;margin:7px 0 10px;line-height:1.45}
#signup-main.tg-page .tg-hero .tg-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-start;margin:0;padding:0;border:0;overflow:visible}
#signup-main.tg-page .tg-hero .tg-actions a{box-sizing:border-box;min-height:44px;padding:10px 18px;max-width:100%;min-width:0;flex-shrink:1;white-space:normal;line-height:1.4;border-radius:999px;background:var(--tg-soft);text-align:center}
html[data-theme=dark] #signup-main.tg-page .tg-hero{--tg-hero:#302435;--tg-hero-rgb:48,36,53}
html[data-theme=dark] #signup-main.tg-page .tg-hero-art img{filter:brightness(.65) saturate(.85)}
@media(max-width:1199px){
 #signup-main.tg-page .tg-hero{display:block;height:auto!important;min-height:0!important;padding:0}
 #signup-main.tg-page .tg-hero-art{position:relative;inset:auto;height:160px}
 #signup-main.tg-page .tg-hero-art img{height:100%;object-position:right center;filter:none!important}
 #signup-main.tg-page .tg-hero-art::after{display:none}
 #signup-main.tg-page .tg-hero-copy{width:100%;max-width:none;padding:26px 22px 30px}
 #signup-main.tg-page .tg-hero-copy>p{max-width:none;margin:12px 0 16px;line-height:1.65}
}
@media(max-width:760px){#signup-main.tg-page .tg-hero{border-radius:22px}}
@media(max-width:400px){#signup-main.tg-page .tg-hero-copy{padding-inline:18px}}

/* Boutons : aucun soulignement, même avec la typographie globale du site. */
@layer msv-typographie {
 #signup-main.tg-page :is(.tg-actions a,.tg-button),
 #signup-main.tg-page :is(.tg-actions a,.tg-button):is(:link,:visited,:hover,:focus,:focus-visible,:active) {
  text-decoration:none!important;
  text-decoration-line:none!important;
  background-image:none!important;
 }
 #signup-main.tg-page :is(.tg-actions a,.tg-button)::after,
 #signup-main.tg-page :is(.tg-actions a,.tg-button)::before {
  content:none!important;
  display:none!important;
 }
}
#signup-main.tg-page :is(.tg-actions a,.tg-button),
#signup-main.tg-page :is(.tg-actions a,.tg-button):is(:link,:visited,:hover,:focus,:focus-visible,:active) {
 text-decoration:none!important;
 text-decoration-line:none!important;
 background-image:none!important;
}
#signup-main.tg-page :is(.tg-actions a,.tg-button)::after,
#signup-main.tg-page :is(.tg-actions a,.tg-button)::before {
 content:none!important;
 display:none!important;
}

/* Même conteneur que voyance-avec-les-runes.php : aucune seconde gouttière. */
main#signup-main.tg-page > .tg-container,
main#signup-main.tg-page > .msv-signup-breadcrumb {
 box-sizing:border-box;
 width:100%;
 max-width:1920px;
 margin-inline:auto;
}
main#signup-main.tg-page > .tg-container {
 padding-inline:0;
}

/* Image panoramique sur toute la largeur, fondu du gabarit 32 cartes. */
@media(min-width:1200px){
 #signup-main.tg-page .tg-hero-art{inset:0}
 #signup-main.tg-page .tg-hero-art img{object-fit:cover;object-position:76% center}
 #signup-main.tg-page .tg-hero-art::after{background:linear-gradient(90deg,rgba(var(--tg-hero-rgb),.97) 0%,rgba(var(--tg-hero-rgb),.93) 28%,rgba(var(--tg-hero-rgb),.6) 47%,rgba(var(--tg-hero-rgb),0) 68%)}
}
/* La carte découpe les coins supérieurs ; le bas de la photo reste droit. */
#signup-main.tg-page .tg-method-card{
 --tg-card-inset:24px;
 padding:0;
 overflow:hidden;
}
#signup-main.tg-page .tg-method-card>.tg-method-photo{
 display:block;
 width:100%;
 max-width:none;
 flex-shrink:0;
 border-radius:0;
 margin:0 0 20px;
}
#signup-main.tg-page .tg-method-card>:not(.tg-method-photo){
 margin-left:var(--tg-card-inset);
 margin-right:var(--tg-card-inset);
 max-width:calc(100% - 2 * var(--tg-card-inset));
}
#signup-main.tg-page .tg-method-card>.tg-button{
 margin-top:auto;
 margin-bottom:var(--tg-card-inset);
}
@media(max-width:600px){
 #signup-main.tg-page .tg-method-card{--tg-card-inset:20px}
}
