/*
Theme Name: Hello Elementor Child – La Maison Capillaire
Theme URI: https://strivok.fr
Description: Thème enfant de Hello Elementor. Ajoute un système typographique réutilisable : sur-titre tracké, titre display arrondi et mot accentué (style « Se reconnaître, enfin. »). Couleurs et polices pilotées par variables CSS.
Author: STRIVOK
Author URI: https://strivok.fr
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: hello-elementor-child-lmc
*/

/* =========================================================
   1. Variables — modifie ici la marque (couleur + polices)
   ========================================================= */
:root {
  --lmc-ink: #161616;          /* noir des titres */
  --lmc-accent: #EC1E8C;       /* rose / magenta du mot accentué */
  --lmc-paper: #FAF8F3;        /* fond crème optionnel */
  --lmc-font-display: 'Baloo 2', system-ui, -apple-system, "Segoe UI", sans-serif;
  --lmc-font-text: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* =========================================================
   2. Sur-titre (eyebrow) — « LA MAISON CAPILLAIRE »
   À mettre sur un widget Titre, balise <p> ou <span>
   ========================================================= */
.lmc-eyebrow,
.lmc-eyebrow .elementor-heading-title {
  font-family: var(--lmc-font-text);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: clamp(0.7rem, 1.1vw, 0.9rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--lmc-ink);
}
.lmc-eyebrow { margin-bottom: 0.6em; }

/* =========================================================
   3. Titre display arrondi — « Se reconnaître, enfin. »
   À mettre sur un widget Titre (balise H1/H2)
   ========================================================= */
.lmc-display .elementor-heading-title,
.lmc-display {
  font-family: var(--lmc-font-display) !important;
  font-weight: 800 !important;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--lmc-ink);
}

/* =========================================================
   4. Mot accentué — à englober dans un <span class="lmc-accent">
   ========================================================= */
.lmc-accent { color: var(--lmc-accent); }

/* =========================================================
   5. Utilitaires optionnels
   ========================================================= */
.lmc-bg-paper { background-color: var(--lmc-paper); }

/* Bloc « hero » centré prêt à l'emploi (facultatif) */
.lmc-hero {
  text-align: center;
  padding: clamp(3rem, 8vw, 7rem) 1.25rem;
}
.lmc-hero .lmc-display { margin: 0 auto; max-width: 14ch; }

/* Titre de section — display arrondi, plus petit que le hero */
.lmc-title .elementor-heading-title,
.lmc-title {
  font-family: var(--lmc-font-display) !important;
  font-weight: 800 !important;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--lmc-ink);
}

/* Longueurs disponibles — boucle produit */
.loop-longueurs {
  margin: 12px 0;
}

.loop-longueurs__count {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: #9a9a9a !important;
  margin-bottom: 10px;
}

.loop-longueurs ul.loop-longueurs__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.loop-longueurs ul.loop-longueurs__list > li.loop-longueurs__item {
  list-style: none !important;
  margin: 0 !important;
  border: 1px solid #e0ddd8;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1;
  color: #333 !important;
  background: #fff;
}

.loop-longueurs__item::marker,
.loop-longueurs__item::before {
  content: none !important;
  display: none !important;
}
