/* BEAST CODES — tokens et composants globaux (charte 0dfe3dc3bb7f).
   Les couleurs et typographies éditables vivent dans le kit global Elementor ;
   ces variables en sont le miroir pour le CSS du thème et de BEAST Core. */
:root {
	--bc-black: #030303;
	--bc-surface: #080808;
	--bc-border: #343434;
	--bc-ivory: #F5F0E8;
	--bc-grey: #C8C4BF;
	--bc-red: #E10818;
	--bc-red-dark: #B80614;
	--bc-serif: Georgia, "Times New Roman", Times, serif;
	--bc-sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
	--bc-gutter: 76px;
	--bc-focus: 0 0 0 3px var(--bc-black), 0 0 0 6px var(--bc-ivory);
	color-scheme: dark;
}
@media (max-width: 1024px) { :root { --bc-gutter: 40px; } }
@media (max-width: 767px) { :root { --bc-gutter: 24px; } }

html { background: var(--bc-black); scroll-padding-top: 96px; }
body.beast { margin: 0; background: var(--bc-black); color: var(--bc-grey); font-family: var(--bc-sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
body.beast a { color: var(--bc-ivory); }
body.beast ::selection { background: var(--bc-red); color: var(--bc-ivory); }
.bc-main { display: block; outline: none; }
.bc-wrap { max-width: 1288px; margin: 0 auto; padding: 0 var(--bc-gutter); box-sizing: content-box; }

/* Lien d'évitement */
.bc-skip { position: absolute; left: 16px; top: -100px; z-index: 10000; background: var(--bc-ivory); color: var(--bc-black) !important; padding: 12px 18px; font: 700 16px/1 var(--bc-sans); text-decoration: none; border-radius: 3px; }
.bc-skip:focus { top: 16px; }

/* Focus visible homogène (clavier) */
body.beast a:focus-visible,
body.beast button:focus-visible,
body.beast input:focus-visible,
body.beast select:focus-visible,
body.beast textarea:focus-visible,
body.beast [tabindex]:focus-visible { outline: 3px solid var(--bc-ivory); outline-offset: 3px; box-shadow: none; }
body.beast .e-con[href]:focus-visible { outline: 3px solid var(--bc-ivory); outline-offset: 3px; }

/* En-tête collant */
.bc-site-header { position: sticky; top: 0; z-index: 900; }
.admin-bar .bc-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bc-site-header { top: 0; } }

/* Repères numérotés « 01 / WHAT WE DO » */
.bc-kicker, .bc-kicker .elementor-heading-title { font-family: var(--bc-sans) !important; font-weight: 700; font-size: 17px; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; color: var(--bc-ivory); margin: 0; }
.bc-kicker .elementor-heading-title .bc-slash, .bc-slash { color: var(--bc-red); padding: 0 .35em; }
@media (max-width: 767px) { .bc-kicker, .bc-kicker .elementor-heading-title { font-size: 15px; } }

/* Mentions provisoires de la maquette (masquables : Réglages > BEAST CODES) */
.bc-provisional, .bc-provisional p { font-family: var(--bc-sans); font-weight: 700; font-size: 13px !important; line-height: 1.4; letter-spacing: .02em; text-transform: uppercase; color: var(--bc-ivory); margin: 0; }
body.bc-hide-provisional .bc-provisional { display: none !important; }

/* Filets de séparation */
.bc-rule { border-top: 1px solid var(--bc-border); }

/* Cartes */
.bc-card { transition: border-color .18s ease, background-color .18s ease; }
.bc-card .bc-num .elementor-heading-title { font: 700 17px/1.2 var(--bc-sans); color: var(--bc-ivory); letter-spacing: .02em; }
a.bc-card:hover, a.bc-card:focus-visible { border-color: var(--bc-red) !important; }
a.bc-card { text-decoration: none; }
/* Libellé « Explore » toujours aligné en bas des cartes d'une même rangée */
.bc-card > .bc-card-more, .bc-card .e-con > .bc-card-more { margin-top: auto; padding-top: 8px; }
.bc-card-more .elementor-heading-title { font: 700 15px/1.3 var(--bc-sans); color: var(--bc-ivory); letter-spacing: .04em; text-transform: uppercase; }
.bc-card-more .elementor-heading-title::after { content: "\2192"; display: inline-block; margin-left: .5em; color: var(--bc-red); transition: transform .18s ease; }
a.bc-card:hover .bc-card-more .elementor-heading-title::after { transform: translateX(4px); }

/* Liste de services à filets (mobile de la maquette) */
.bc-card--line { border-width: 1px 0 0 0 !important; }

/* Boutons Elementor : libellés et états */
body.beast .elementor-button { font-family: var(--bc-sans); letter-spacing: .03em; text-transform: uppercase; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
body.beast .elementor-button:focus-visible { outline: 3px solid var(--bc-ivory); outline-offset: 3px; }
.bc-btn-link .elementor-button { padding: 0 !important; background: transparent !important; }
.bc-btn-link .elementor-button:hover .elementor-button-text { text-decoration: underline; text-underline-offset: 4px; }

/* Encadré d'appel à l'action (bordure rouge de la maquette) */
.bc-cta { border: 2px solid var(--bc-red); }

/* Listes éditoriales */
.bc-list ul { list-style: none; margin: 0; padding: 0; }
.bc-list li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid var(--bc-border); color: var(--bc-grey); }
.bc-list li:last-child { border-bottom: 1px solid var(--bc-border); }
.bc-list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 10px; height: 10px; background: var(--bc-red); }

/* Étapes numérotées */
.bc-steps ol { list-style: none; counter-reset: bcstep; margin: 0; padding: 0; }
.bc-steps li { counter-increment: bcstep; position: relative; padding: 18px 0 18px 64px; border-top: 1px solid var(--bc-border); color: var(--bc-grey); }
.bc-steps li:last-child { border-bottom: 1px solid var(--bc-border); }
.bc-steps li::before { content: counter(bcstep, decimal-leading-zero); position: absolute; left: 0; top: 18px; font: 700 17px/1.6 var(--bc-sans); color: var(--bc-ivory); }
.bc-steps li strong { color: var(--bc-ivory); }

/* FAQ : détails/résumé natifs (widget Texte), fonctionnent sans JavaScript */
.bc-faq details { border-top: 1px solid var(--bc-border); }
.bc-faq details:last-of-type { border-bottom: 1px solid var(--bc-border); }
.bc-faq summary { cursor: pointer; list-style: none; position: relative; padding: 22px 48px 22px 0; font: 400 22px/1.35 var(--bc-serif); color: var(--bc-ivory); min-height: 44px; box-sizing: border-box; }
.bc-faq summary::-webkit-details-marker { display: none; }
.bc-faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 30px/1 var(--bc-sans); color: var(--bc-red); transition: transform .18s ease; }
.bc-faq details[open] summary::after { transform: rotate(45deg); }
.bc-faq details p { margin: 0 0 22px; max-width: 780px; color: var(--bc-grey); }
@media (max-width: 767px) { .bc-faq summary { font-size: 19px; } }

/* Contenus rédactionnels (pages légales, textes longs) */
.bc-prose h2 { font: 400 30px/1.25 var(--bc-serif); color: var(--bc-ivory); margin: 40px 0 12px; }
.bc-prose h3 { font: 700 18px/1.4 var(--bc-sans); color: var(--bc-ivory); margin: 28px 0 8px; }
.bc-prose p, .bc-prose li { color: var(--bc-grey); max-width: 820px; }
.bc-prose a { color: var(--bc-ivory); text-decoration: underline; text-underline-offset: 3px; }
.bc-prose ul { padding-left: 22px; }
.bc-prose .bc-todo { color: var(--bc-ivory); background: #1a1a1a; border-left: 3px solid var(--bc-red); padding: 2px 8px; }
.bc-prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 16px; }
.bc-prose th, .bc-prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-top: 1px solid var(--bc-border); color: var(--bc-grey); overflow-wrap: anywhere; }
.bc-prose th { color: var(--bc-ivory); font-weight: 700; }
@media (max-width: 767px) {
	.bc-prose table, .bc-prose thead, .bc-prose tbody, .bc-prose tr, .bc-prose th, .bc-prose td { display: block; }
	.bc-prose thead { position: absolute; left: -9999px; }
	.bc-prose tr { border-top: 1px solid var(--bc-border); padding: 10px 0; }
	.bc-prose td { border: 0; padding: 2px 0; }
	.bc-prose td:first-child { color: var(--bc-ivory); font-weight: 700; }
}

/* Définitions (informations société) */
.bc-facts dl { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; margin: 0; }
.bc-facts dt, .bc-facts dd { margin: 0; padding: 16px 0; border-top: 1px solid var(--bc-border); }
.bc-facts dt { color: var(--bc-grey); font-size: 16px; }
.bc-facts dd { color: var(--bc-ivory); }
@media (max-width: 767px) { .bc-facts dl { grid-template-columns: 1fr; } .bc-facts dd { border-top: 0; padding-top: 0; } }

/* Fil d'Ariane */
.bc-crumbs p { margin: 0; font-size: 15px; color: var(--bc-grey); }
.bc-crumbs a { color: var(--bc-grey) !important; text-decoration: underline; text-underline-offset: 3px; }
.bc-crumbs a:hover { color: var(--bc-ivory) !important; }
.bc-crumbs [aria-current] { color: var(--bc-ivory); }

/* Pied de page */
.bc-footer-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.bc-footer-legal a, .bc-footer-links a { color: var(--bc-grey) !important; text-decoration: none; font-size: 15px; }
.bc-footer-legal a:hover, .bc-footer-links a:hover { color: var(--bc-ivory) !important; text-decoration: underline; text-underline-offset: 3px; }
.bc-footer-links ul { list-style: none; margin: 0; padding: 0; }
.bc-footer-links li { padding: 5px 0; }

/* Illustrations : jamais d'étirement */
.bc-illus img { display: block; width: 100%; height: auto; }

/* 404 et secours */
.bc-404 { padding-top: 96px; padding-bottom: 120px; }
.bc-404 h1 { font: 400 64px/1.1 var(--bc-serif); color: var(--bc-ivory); margin: 18px 0; }
.bc-404 .bc-lead { font-size: 22px; max-width: 640px; }
.bc-404__links { list-style: none; padding: 0; display: flex; gap: 12px 28px; flex-wrap: wrap; margin-top: 28px; }
.bc-404__links a { font: 700 17px/1 var(--bc-sans); text-transform: uppercase; letter-spacing: .04em; color: var(--bc-ivory); text-decoration: none; border-bottom: 2px solid var(--bc-red); padding-bottom: 6px; display: inline-block; }
@media (max-width: 767px) { .bc-404 h1 { font-size: 40px; } .bc-404 { padding-top: 56px; } }
.bc-fallback { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 20px; gap: 24px; flex-wrap: wrap; }
.bc-fallback__logo { font: 400 24px/1 var(--bc-serif); color: var(--bc-ivory); text-decoration: none; }
.bc-fallback ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.bc-prose { padding-top: 56px; padding-bottom: 80px; }
.bc-prose h1 { font: 400 52px/1.1 var(--bc-serif); color: var(--bc-ivory); }


/* ---------- Animations (1.0.3) ---------- */
/* Apparition au défilement : active seulement si html.bc-anim (JS chargé, hors éditeur, mouvement non réduit). */
html.bc-anim .bc-main .elementor-widget-heading, html.bc-anim .bc-main .elementor-widget-text-editor,
html.bc-anim .bc-main .elementor-widget-button, html.bc-anim .bc-main .elementor-widget-image,
html.bc-anim .bc-main .elementor-widget-bc_diagram, html.bc-anim .bc-main .elementor-widget-bc_form, html.bc-anim .bc-main .bc-card {
	opacity: 0; transform: translate3d(0, 22px, 0);
	transition: opacity .6s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0s), transform .6s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0s), border-color .18s ease, background-color .18s ease;
}
html.bc-anim .bc-main .bc-card .elementor-widget-heading, html.bc-anim .bc-main .bc-card .elementor-widget-text-editor,
html.bc-anim .bc-main .bc-card .elementor-widget-image { opacity: 1; transform: none; transition: none; }
html.bc-anim .bc-main .is-in { opacity: 1 !important; transform: none !important; }

/* Titre principal : révélation ligne par ligne + curseur rouge */
.bc-hero-title .elementor-heading-title::after { content: ""; display: inline-block; width: .09em; height: .78em; margin-left: .12em; vertical-align: -.02em; background: var(--bc-red); animation: bc-caret 1.1s steps(1) infinite; }
@keyframes bc-caret { 50% { opacity: 0; } }
html.bc-anim .bc-hero-title .elementor-heading-title { clip-path: inset(0 0 100% 0); animation: bc-wipe 1s cubic-bezier(.2,.7,.2,1) .15s forwards; }
@keyframes bc-wipe { to { clip-path: inset(0 0 -10% 0); } }

/* Hero : trame de points (visuel d'arrière-plan décoratif, dans la charte) */
.bc-hero { position: relative; overflow: hidden; isolation: isolate; }
.bc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: radial-gradient(rgba(245,240,232,.13) 1px, transparent 1.2px); background-size: 28px 28px;
	-webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%); mask-image: linear-gradient(100deg, transparent 20%, #000 75%); }
.bc-hero::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; z-index: -1; background: linear-gradient(90deg, var(--bc-red), var(--bc-red)) no-repeat; background-size: 0 100%; animation: bc-bar 1.4s cubic-bezier(.2,.7,.2,1) .4s forwards; }
@keyframes bc-bar { to { background-size: 100% 100%; } }

/* Repère rouge des « 01 / … » : trait qui se dessine */
.bc-kicker .elementor-heading-title::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--bc-red); vertical-align: .32em; margin-right: 12px; transform-origin: left; }
html.bc-anim .bc-main .elementor-widget-heading.bc-kicker .elementor-heading-title::before { transform: scaleX(0); transition: transform .7s cubic-bezier(.2,.7,.2,1) calc(var(--rv-d, 0s) + .2s); }
html.bc-anim .bc-main .elementor-widget-heading.bc-kicker.is-in .elementor-heading-title::before { transform: scaleX(1); }

/* Cartes : coin rouge qui s'allume au survol + léger soulèvement */
.bc-card { position: relative; }
.bc-card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 0; height: 3px; background: var(--bc-red); transition: width .35s cubic-bezier(.2,.7,.2,1); z-index: 1; }
a.bc-card:hover::before, a.bc-card:focus-visible::before { width: calc(100% + 2px); }
a.bc-card:hover { transform: translate3d(0, -4px, 0) !important; transition: transform .25s ease, border-color .18s ease !important; }
a.bc-card .bc-illus img, .bc-card .elementor-widget-image img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
a.bc-card:hover .elementor-widget-image img { transform: scale(1.04); }
.bc-card .elementor-widget-image { overflow: hidden; }

/* Boutons : balayage ivoire au survol (boutons rouges) */
body.beast .elementor-button { position: relative; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	html.bc-anim .bc-main .elementor-widget-heading, html.bc-anim .bc-main .elementor-widget-text-editor, html.bc-anim .bc-main .elementor-widget-button,
	html.bc-anim .bc-main .elementor-widget-image, html.bc-anim .bc-main .elementor-widget-bc_diagram, html.bc-anim .bc-main .elementor-widget-bc_form,
	html.bc-anim .bc-main .bc-card { opacity: 1; transform: none; }
	html.bc-anim .bc-hero-title .elementor-heading-title { clip-path: none; animation: none; }
	.bc-hero-title .elementor-heading-title::after { animation: none; }
	.bc-hero::after { background-size: 100% 100%; animation: none; }
	a.bc-card:hover { transform: none !important; }
}
@media print { html.bc-anim .bc-main * { opacity: 1 !important; transform: none !important; clip-path: none !important; } }


/* ---------- Boutique WooCommerce (gabarit woocommerce.php, 1.0.4) : lisibilité sur fond noir ---------- */
.bc-woo { padding-top: 56px; padding-bottom: 96px; }
.bc-woo h1, .bc-woo .product_title, .bc-woo .woocommerce-products-header__title { font: 400 52px/1.1 var(--bc-serif); color: var(--bc-ivory); margin: 0 0 28px; }
.bc-woo ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.bc-woo ul.products::before, .bc-woo ul.products::after { display: none; }
.bc-woo ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 20px; background: var(--bc-surface); border: 1px solid var(--bc-border); border-radius: 3px; }
.bc-woo ul.products li.product a { color: var(--bc-ivory); text-decoration: none; }
.bc-woo .woocommerce-loop-product__title { font: 400 22px/1.3 var(--bc-serif) !important; color: var(--bc-ivory); }
.bc-woo .price, .bc-woo .price .amount { color: var(--bc-ivory) !important; font-weight: 700; }
.bc-woo .woocommerce-result-count, .bc-woo .woocommerce-breadcrumb, .bc-woo .product_meta, .bc-woo p { color: var(--bc-grey); }
.bc-woo .woocommerce-breadcrumb a { color: var(--bc-ivory); }
.bc-woo select, .bc-woo input.qty { background: var(--bc-surface); color: var(--bc-ivory); border: 1px solid #6a6a6a; border-radius: 3px; min-height: 44px; padding: 6px 10px; }
body.beast .bc-woo .button, body.beast .bc-woo button.button { background: var(--bc-red); color: var(--bc-ivory); border: 2px solid var(--bc-red); border-radius: 3px; font: 700 16px/1 var(--bc-sans); text-transform: uppercase; letter-spacing: .03em; padding: 14px 20px; min-height: 44px; }
body.beast .bc-woo .button:hover { background: var(--bc-ivory); color: var(--bc-black); border-color: var(--bc-ivory); }
.bc-woo img { max-width: 100%; height: auto; }
.bc-woo .woocommerce-tabs ul.tabs li a { color: var(--bc-ivory); }
.bc-woo div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.bc-woo div.product .woocommerce-tabs, .bc-woo div.product .related, .bc-woo div.product .upsells { grid-column: 1 / -1; }
@media (max-width: 767px) { .bc-woo div.product { grid-template-columns: 1fr; } .bc-woo h1, .bc-woo .product_title { font-size: 36px; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
