/* ==========================================================================
   TattooClub — Informational & legal pages (47–52).
   Layout = Elementor containers/widgets. This file styles the shared
   components: hero, key-info cards, native Nested Accordion, legal sidebar
   (table of contents) + sections, identity blocks, help band.
   Tokens (same as Aide & FAQ): ink #111111, cream #F9F5EF, line #E8E4DC,
   muted #68645E, body #4A4640, electric green #B7E41C, text-safe green #4F7A00.
   ========================================================================== */
body.tc-legal-page { --lg-ink: #111111; --lg-body: #4A4640; --lg-muted: #68645E; --lg-line: #E8E4DC; --lg-cream: #F9F5EF; --lg-green: #B7E41C; --lg-green-d: #4F7A00; --lg-green-soft: #F1F8D9; }
body.tc-legal-page .elementor[data-elementor-type="wp-page"] { background: var(--lg-cream); overflow-x: clip; }
.tc-legal-page .tc-lg-wrap ul, .tc-legal-page .tc-lg-wrap ol { margin: 0 0 12px; padding-left: 20px; }
.tc-legal-page .tc-lg-wrap li { margin: 0 0 6px; }
.tc-legal-page .tc-lg-wrap p:last-child { margin-bottom: 0; }
.tc-legal-page .elementor-widget-text-editor a:not(.tc-lg-btn) { color: var(--lg-ink); text-decoration: underline; text-decoration-color: var(--lg-green); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.tc-legal-page .elementor-widget-text-editor a:not(.tc-lg-btn):hover { background: var(--lg-green-soft); }
.tc-legal-page a:focus-visible, .tc-legal-page summary:focus-visible { outline: 2px solid var(--lg-ink) !important; outline-offset: 2px; border-radius: 6px; }

/* ------------------------------------------------ breadcrumb */
.tc-lg-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; padding: 0 !important; list-style: none; font-size: 13px; color: var(--lg-muted); }
.tc-lg-crumbs li, .tc-lg-toc li, .tc-lg-faqlinks li { margin: 0 !important; list-style: none !important; }
.tc-lg-crumbs li::marker, .tc-lg-toc li::marker, .tc-lg-faqlinks li::marker { content: none; }
.tc-lg-crumbs li + li::before { content: "›"; margin-right: 6px; }
.tc-lg-crumbs a { color: var(--lg-muted) !important; text-decoration: none !important; font-weight: 400 !important; background: none !important; }
.tc-lg-crumbs a:hover { color: var(--lg-ink) !important; text-decoration: underline !important; }
.tc-lg-crumbs [aria-current] { color: var(--lg-ink); }

/* ------------------------------------------------ hero */
.tc-lg-hero { position: relative; }
.tc-lg-hero__txt { position: relative; z-index: 2; }
.tc-lg-hero h1 { position: relative; padding-top: 18px; hyphens: manual; overflow-wrap: normal; }
.tc-lg-hero h1::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 5px; border-radius: 3px; background: var(--lg-green); }
.tc-lg-hero__media { position: relative; align-self: stretch; }
.tc-lg-hero__img, .tc-lg-hero__img .elementor-widget-container { height: 100%; }
.tc-lg-hero__img img { width: 100%; height: 100% !important; min-height: 260px; max-height: 340px; object-fit: cover; object-position: center 40%; border-radius: 0 !important;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%); mask-image: linear-gradient(to right, transparent 0, #000 34%); }
.tc-lg-sticker { position: absolute !important; right: 6%; bottom: 14%; width: auto !important; max-width: none !important; transform: rotate(-12deg); pointer-events: none; z-index: 3; }
.tc-lg-sticker .elementor-heading-title { position: relative; font-style: italic; text-shadow: 0 1px 0 rgba(17,17,17,.25); }
.tc-lg-sticker .elementor-heading-title::after { content: ""; position: absolute; left: 4%; right: 8%; bottom: -10px; height: 5px; border-radius: 4px; background: var(--lg-green); transform: rotate(-2deg); }

/* ------------------------------------------------ key information cards */
.tc-lg-cards > .e-con-inner, .tc-lg-cards.e-con-full { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tc-lg-card { justify-content: flex-start !important; background: #fff; border: 1px solid var(--lg-line); border-radius: 14px; padding: 20px 14px !important; min-width: 0; }
.tc-lg-card .elementor-widget, .tc-lg-card .elementor-shortcode { width: 100%; }
.tc-lg-cardin { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.tc-lg-cardin__ico { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--lg-green-soft); color: var(--lg-ink); font-size: 19px; margin-bottom: 4px; }
.tc-lg-cardin__t { font-weight: 700; font-size: 14px; color: var(--lg-ink); line-height: 1.3; }
.tc-lg-cardin__s { font-size: 13px; color: var(--lg-muted); line-height: 1.4; }

/* ------------------------------------------------ Nested Accordion (native widget) */
.tc-lg-acc .e-n-accordion { display: flex; flex-direction: column; gap: 10px; }
.tc-lg-acc .e-n-accordion-item { background: #fff; border: 1px solid var(--lg-line); border-radius: 14px; overflow: hidden; transition: border-color .15s; }
.tc-lg-acc .e-n-accordion-item[open] { border-color: var(--lg-ink); }
.tc-lg-acc .e-n-accordion-item-title { display: flex !important; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 14px 18px !important; cursor: pointer; list-style: none; background: transparent !important; border: 0 !important; }
.tc-lg-acc .e-n-accordion-item-title::-webkit-details-marker { display: none; }
.tc-lg-acc .e-n-accordion-item-title-text { margin: 0 !important; font-family: "Space Grotesk", sans-serif !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.35 !important; color: var(--lg-ink) !important; letter-spacing: 0 !important; text-transform: none !important; }
.tc-lg-acc .e-n-accordion-item-title-icon { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: inline-flex !important; align-items: center; justify-content: center; font-size: 13px; color: var(--lg-ink); transition: background .15s, transform .2s; }
.tc-lg-acc .e-n-accordion-item-title-icon i, .tc-lg-acc .e-n-accordion-item-title-icon svg { color: var(--lg-ink); fill: var(--lg-ink); width: 13px; height: 13px; }
.tc-lg-acc .e-n-accordion-item-title:hover .e-n-accordion-item-title-icon { background: var(--lg-cream); }
.tc-lg-acc .e-n-accordion-item[open] > .e-n-accordion-item-title .e-n-accordion-item-title-icon { background: var(--lg-green); }
.tc-lg-acc .e-n-accordion-item > .e-con { padding: 0 18px 18px !important; border: 0 !important; }
.tc-lg-acc .e-n-accordion-item > .e-con > .elementor-widget-text-editor { max-width: 760px !important; }
.tc-lg-acc .e-n-accordion-item-title:focus-visible { outline: 2px solid var(--lg-ink) !important; outline-offset: -2px; border-radius: 14px; }

/* ------------------------------------------------ legal layout: sidebar + main */
.tc-lg-layout > .e-con-inner { align-items: flex-start; }
.tc-lg-aside { position: sticky !important; top: 110px; flex: 0 0 250px !important; width: 250px !important; max-width: 250px; }
.tc-lg-main { flex: 1 1 0% !important; width: auto !important; min-width: 0; max-width: 780px; }
.tc-lg-toc { background: #fff; border: 1px solid var(--lg-line); border-radius: 14px; padding: 8px; }
.tc-lg-toc__t { margin: 6px 10px 6px !important; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lg-muted); }
.tc-lg-toc ol { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 2px; }
.tc-lg-toc li { margin: 0 !important; }
.tc-lg-toc a { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px; font-size: 14px; line-height: 1.3; color: var(--lg-body) !important; text-decoration: none !important; font-weight: 500 !important; background: none; }
.tc-lg-toc a i { display: none; margin-left: auto; font-size: 11px; color: var(--lg-muted); }
.tc-lg-toc__n { min-width: 18px; color: var(--lg-muted); font-variant-numeric: tabular-nums; }
.tc-lg-toc a:hover { background: var(--lg-cream) !important; color: var(--lg-ink) !important; }
.tc-lg-toc a.is-active { background: var(--lg-green-soft) !important; color: var(--lg-ink) !important; font-weight: 700 !important; box-shadow: inset 3px 0 0 var(--lg-green); }
.tc-lg-toc a.is-active .tc-lg-toc__n { color: var(--lg-ink); }
.tc-lg-sec { scroll-margin-top: 120px; padding-bottom: 28px !important; }
.tc-lg-sec + .tc-lg-sec { border-top: 1px solid var(--lg-line) !important; padding-top: 28px !important; }
.tc-lg-sec > .elementor-widget-text-editor, .tc-lg-sec > .elementor-widget-heading { max-width: 700px !important; }
.tc-lg-updated { margin: 0; font-size: 13px; color: var(--lg-muted); }

/* ------------------------------------------------ cookie table + action */
.tc-legal-page .tc-cc { list-style: none; margin: 10px 0 14px !important; padding: 0 !important; border: 1px solid var(--lg-line); border-radius: 12px; background: #fff; overflow: hidden; }
.tc-legal-page .tc-cc__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 2px 16px; padding: 12px 14px; margin: 0 !important; border-top: 1px solid var(--lg-line); font-size: 14px; }
.tc-legal-page .tc-cc__row:first-child { border-top: 0; }
.tc-legal-page .tc-cc__name { font-weight: 700; color: var(--lg-ink); overflow-wrap: anywhere; }
.tc-legal-page .tc-cc__desc { color: var(--lg-body); }
.tc-legal-page .tc-cc__meta { grid-column: 2; font-size: 12px; color: var(--lg-muted); }
.tc-legal-page .tc-cc-empty { font-size: 14px; color: var(--lg-muted); background: #fff; border: 1px dashed var(--lg-line); border-radius: 12px; padding: 12px 14px; }
.tc-lg-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 8px; background: var(--lg-green); color: var(--lg-ink) !important; font-weight: 700; font-size: 14px; text-decoration: none !important; transition: background .15s; }
.tc-lg-btn:hover { background: #A5CD19; }
.tc-lg-btn:focus-visible { outline: 2px solid var(--lg-ink); outline-offset: 2px; }

/* ------------------------------------------------ FAQ links inside accordions */
.tc-lg-faqlinks { list-style: none; margin: 0 0 10px !important; padding: 0 !important; display: flex; flex-direction: column; }
.tc-lg-faqlinks li { margin: 0 !important; border-top: 1px solid var(--lg-line); }
.tc-lg-faqlinks li:first-child { border-top: 0; }
.tc-lg-faqlinks a { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 0; text-decoration: none !important; font-weight: 500 !important; color: var(--lg-ink) !important; background: none !important; }
.tc-lg-faqlinks a i { font-size: 12px; color: var(--lg-green-d); transition: transform .15s; }
.tc-lg-faqlinks a:hover i { transform: translateX(3px); }
.tc-lg-more { font-size: 14px; }

/* ------------------------------------------------ mentions: identity blocks */
.tc-lg-id { border-top: 1px solid var(--lg-line); padding-top: 18px !important; }
.tc-lg-id:first-child { border-top: 0; padding-top: 0 !important; }
.tc-lg-id__ico { flex: 0 0 auto; }
.tc-lg-id__ico .elementor-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: #fff; border: 1px solid var(--lg-line); }
.tc-lg-id__body { min-width: 0; }
.tc-lg-id__body .elementor-widget-text-editor { overflow-wrap: anywhere; }
.tc-lg-f { display: block; }
.tc-lg-f--pending { color: var(--lg-muted); font-style: italic; }

/* admin-only « À compléter » marker */
.tc-lg-ph { display: inline-block; margin: 2px 0; padding: 3px 8px; border: 1px dashed #C9A300; border-radius: 6px; background: #FFF8D6; color: #5C4A00; font-size: 12px; font-weight: 600; line-height: 1.4; }
.tc-lg-ph a { color: inherit !important; font-weight: 700 !important; }

/* ------------------------------------------------ help band (same as Aide & FAQ) */
.tc-lg-help .elementor-button { min-height: 48px; }

/* ------------------------------------------------ desktop-only open sections (mentions) */
@media (min-width: 768px) {
	.tc-lg-acc--static .e-n-accordion { gap: 26px; }
	.tc-lg-acc--static .e-n-accordion-item { background: transparent; border: 0; border-radius: 0; overflow: visible; }
	.tc-lg-acc--static .e-n-accordion-item-title { padding: 0 0 8px !important; min-height: 0; cursor: default; pointer-events: none; }
	.tc-lg-acc--static .e-n-accordion-item-title-icon { display: none !important; }
	.tc-lg-acc--static .e-n-accordion-item > .e-con { padding: 0 !important; }
	.tc-lg-acc--static .e-n-accordion-item-title-text { font-family: "Archivo Black", sans-serif !important; font-weight: 900 !important; font-size: 17px !important; }
}

/* ------------------------------------------------ tablet */
@media (max-width: 1024px) {
	.tc-lg-aside { flex-basis: 220px !important; width: 220px !important; max-width: 220px; top: 90px; }
	.tc-lg-sticker .elementor-heading-title { font-size: 18px !important; }
}

/* ------------------------------------------------ mobile */
@media (max-width: 767px) {
	.tc-lg-hero h1 { padding-top: 14px; }
	.tc-lg-hero h1::before { width: 36px; height: 4px; }
	.tc-lg-cards > .e-con-inner, .tc-lg-cards.e-con-full { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tc-lg-card { padding: 16px 10px !important; }
	.tc-lg-cardin__ico { width: 40px; height: 40px; font-size: 17px; }
	.tc-lg-cardin__t { font-size: 13px; }
	.tc-lg-cardin__s { font-size: 12px; }
	.tc-lg-acc .e-n-accordion { gap: 8px; }
	.tc-lg-acc .e-n-accordion-item-title { min-height: 54px; padding: 12px 14px !important; }
	.tc-lg-acc .e-n-accordion-item-title-text { font-size: 14px !important; }
	.tc-lg-acc .e-n-accordion-item > .e-con { padding: 0 14px 16px !important; }
	/* sidebar becomes a full-width section list */
	.tc-lg-layout > .e-con-inner { flex-direction: column !important; }
	.tc-lg-aside { position: static !important; flex: 0 0 auto !important; width: 100% !important; max-width: none; }
	.tc-lg-main { width: 100% !important; max-width: none; }
	.tc-lg-toc { padding: 6px; }
	.tc-lg-toc__t { display: none; }
	.tc-lg-toc ol { gap: 0; }
	.tc-lg-toc li + li { border-top: 1px solid var(--lg-line); }
	.tc-lg-toc a { min-height: 46px; padding: 11px 10px; font-size: 14px; }
	.tc-lg-toc a i { display: inline-block; }
	.tc-lg-sec { scroll-margin-top: 84px; padding-bottom: 22px !important; }
	.tc-lg-sec + .tc-lg-sec { padding-top: 22px !important; }
	.tc-legal-page .tc-cc__row { grid-template-columns: 1fr; }
	.tc-legal-page .tc-cc__meta { grid-column: 1; }
	.tc-lg-btn { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
	.tc-lg-hero h1.elementor-heading-title, .tc-lg-hero .elementor-heading-title { font-size: 25px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.tc-lg-acc .e-n-accordion-item-title-icon, .tc-lg-faqlinks a i { transition: none; }
}
