/*
Theme Name: shotbylucxs
Theme URI: https://instagram.com/shotbylucxs
Author: Lucas — shotbylucxs
Description: Thème léger pour Elementor et PRO Elements. Un installateur (Apparence › Installer shotbylucxs) ajoute les couleurs et polices de la charte, l'en-tête, le pied de page et les pages Accueil, Pour les pros, À propos et Contact, entièrement modifiables dans Elementor.
Version: 2.2.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shotbylucxs
*/

@font-face { font-family: "Syne"; font-weight: 600; font-display: swap; src: url("assets/fonts/syne-600.woff2") format("woff2"); }
@font-face { font-family: "Syne"; font-weight: 700; font-display: swap; src: url("assets/fonts/syne-700.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("assets/fonts/instrument-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url("assets/fonts/instrument-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("assets/fonts/instrument-sans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #0A0A0B;
	color: #F2F0EB;
	font-family: "Instrument Sans", "Helvetica Neue", sans-serif;
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: #8B5CF6; text-decoration: none; }
a:hover { color: #A78BFA; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid #8B5CF6;
	outline-offset: 3px;
}
h1, h2, h3, h4 { font-family: "Syne", sans-serif; font-weight: 700; line-height: 1.05; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

/* Texte des blocs Elementor : pas de marge sous le dernier paragraphe */
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-text-editor ul { margin: 0; }
.elementor-widget-text-editor li { margin-bottom: 8px; }
.elementor-widget-text-editor li:last-child { margin-bottom: 0; }

/* Mots très longs (adresses e-mail, noms composés) : retour à la ligne au lieu de déborder */
.elementor-heading-title, .elementor-widget-text-editor, .elementor-button-text { overflow-wrap: break-word; word-break: normal; }
.elementor-heading-title { hyphens: manual; }
@media (max-width: 767px) {
	.elementor-heading-title, .elementor-widget-text-editor { overflow-wrap: anywhere; }
}

/* Images de remplacement : fond gris photo tant qu'aucune photo n'est choisie */
.elementor-widget-image img[src*="placeholder"] { background: #1C1C20; }

/* En-tête et pied de page de secours (si PRO Elements n'est pas actif) */
.sbl-entete, .sbl-pied {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding: 20px clamp(20px, 4.5vw, 64px);
}
.sbl-entete { border-bottom: 1px solid #2A2A30; }
.sbl-pied { border-top: 1px solid #2A2A30; font-family: "IBM Plex Mono", monospace; font-size: 13px; color: #A8A6A0; }
.sbl-entete .custom-logo { height: 32px; width: auto; display: block; }
.sbl-entete .sbl-nom { font-family: "Syne", sans-serif; font-weight: 700; font-size: 22px; color: #F2F0EB; }
.sbl-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.sbl-menu a { color: #F2F0EB; font-weight: 500; font-size: 15px; }
.sbl-menu a:hover { color: #8B5CF6; }

/* Pages et articles hors Elementor */
.sbl-contenu { max-width: 760px; margin: 0 auto; padding: 96px 20px; }
.sbl-contenu h1 { font-size: clamp(40px, 6vw, 72px); }
.sbl-lien-evitement { position: absolute; left: -9999px; }
.sbl-lien-evitement:focus { left: 16px; top: 16px; z-index: 1000; background: #7C3AED; color: #F2F0EB; padding: 12px 20px; }
