/* =========================================================
   Hairlight — Common design system
   Compatible Blocksy / Blocksy Pro child theme
   ========================================================= */

:root {
  --hl-void: #0d0b09;
  --hl-void-2: #15110d;
  --hl-ink: #1f1812;
  --hl-ivory: #f7f1e6;
  --hl-washi: #efe4d0;
  --hl-sand: #e8dccb;
  --hl-gold: #caa46a;
  --hl-gold-light: #e2c489;
  --hl-bronze: #8f6745;
  --hl-muted: #7b6a58;
  --hl-line: rgba(31, 24, 18, 0.12);
  --hl-line-light: rgba(247, 241, 230, 0.16);
  --hl-shadow-soft: 0 24px 70px rgba(13, 11, 9, 0.14);
  --hl-shadow-gold: 0 22px 60px rgba(202, 164, 106, 0.18);
  --hl-radius-xl: 34px;
  --hl-radius-lg: 24px;
  --hl-radius-md: 16px;
  --hl-wrap: min(1120px, calc(100% - 40px));
  --hl-wide: min(1280px, calc(100% - 32px));
  --hl-header-height: 86px;
  --hl-font-title: Fraunces, Georgia, serif;
  --hl-font-text: "DM Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hl-font-label: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html {
  scroll-behavior: smooth;
}

body.page-template-template-hairlight-home,
body.page-template-template-hairlight-coiffure-bondy,
body.page-template-template-hairlight-spa-japonais,
body.page-template-template-hairlight-maderotherapie,
body.page-template-template-hairlight-a-propos,
body.page-template-template-hairlight-contact {
  background: var(--hl-void);
  color: var(--hl-ink);
  overflow-x: clip;
}

body.page-template-template-hairlight-home .ct-header,
body.page-template-template-hairlight-coiffure-bondy .ct-header,
body.page-template-template-hairlight-spa-japonais .ct-header,
body.page-template-template-hairlight-maderotherapie .ct-header,
body.page-template-template-hairlight-a-propos .ct-header,
body.page-template-template-hairlight-contact .ct-header,
body.page-template-template-hairlight-home .ct-footer,
body.page-template-template-hairlight-coiffure-bondy .ct-footer,
body.page-template-template-hairlight-spa-japonais .ct-footer,
body.page-template-template-hairlight-maderotherapie .ct-footer,
body.page-template-template-hairlight-a-propos .ct-footer,
body.page-template-template-hairlight-contact .ct-footer {
  display: none !important;
}

.hairlight-site,
.hairlight-site * {
  box-sizing: border-box;
}

.hairlight-site {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--hl-void);
  color: var(--hl-ink);
  font-family: var(--hl-font-text);
  line-height: 1.7;
  overflow-x: clip;
}

.hairlight-site img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hairlight-site a {
  color: inherit;
  text-decoration: none;
}

.hairlight-site :where(h1, h2, h3, h4) {
  margin: 0;
  color: inherit;
  line-height: 1.06;
  font-family: var(--hl-font-title);
  letter-spacing: -0.035em;
}

.hairlight-site p {
  margin: 0;
}

.hairlight-site [id] {
  scroll-margin-top: calc(var(--hl-header-height) + 24px);
}

.hl-wrap {
  width: var(--hl-wrap);
  max-width: var(--hl-wrap);
  margin-inline: auto;
}

.hl-wide {
  width: var(--hl-wide);
  max-width: var(--hl-wide);
  margin-inline: auto;
}

.hl-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hl-font-label);
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hl-bronze);
}

.hl-label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hl-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
  cursor: pointer;
}

.hl-btn:hover,
.hl-btn:focus-visible {
  transform: translateY(-2px);
}

.hl-btn:focus-visible {
  outline: 3px solid rgba(226, 196, 137, 0.44);
  outline-offset: 3px;
}

.hl-btn--primary {
  color: var(--hl-void);
  background: linear-gradient(135deg, var(--hl-gold-light), var(--hl-gold));
  box-shadow: var(--hl-shadow-gold);
}

.hl-btn--secondary {
  color: var(--hl-ivory);
  border-color: rgba(247, 241, 230, 0.3);
  background: rgba(247, 241, 230, 0.08);
  backdrop-filter: blur(14px);
}

.hl-btn--dark {
  color: var(--hl-ivory);
  background: var(--hl-void);
  border-color: rgba(13, 11, 9, 0.18);
}

.hl-btn--ghost {
  color: var(--hl-ink);
  border-color: rgba(31, 24, 18, 0.16);
  background: rgba(255, 255, 255, 0.4);
}

.hl-panel {
  width: var(--hl-wrap);
  margin: clamp(22px, 4vw, 54px) auto;
  border-radius: var(--hl-radius-xl);
  background: linear-gradient(180deg, #f8f1e7, var(--hl-sand));
  box-shadow: var(--hl-shadow-soft);
  overflow: hidden;
}

.hl-panel__inner {
  padding: clamp(28px, 5vw, 68px);
}

.hl-section {
  padding: clamp(42px, 7vw, 92px) 0;
  border-top: 1px solid var(--hl-line);
}

.hl-section:first-child {
  border-top: 0;
}

.hl-section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.hl-section h2 {
  max-width: 820px;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
}

.hl-section h3 {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.hl-section__intro {
  color: var(--hl-muted);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
}

.hl-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hl-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hl-card {
  position: relative;
  min-height: 100%;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid rgba(31, 24, 18, 0.1);
  border-radius: var(--hl-radius-lg);
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 14px 42px rgba(13, 11, 9, 0.07);
}

.hl-card--dark {
  color: var(--hl-ivory);
  background: radial-gradient(circle at 20% 0%, rgba(202, 164, 106, 0.22), transparent 38%), var(--hl-void-2);
  border-color: rgba(247, 241, 230, 0.12);
}

.hl-card__number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--hl-void);
  background: var(--hl-gold-light);
  font-family: var(--hl-font-label);
  font-size: 0.78rem;
  font-weight: 800;
}

.hl-card p,
.hl-list p,
.hl-step p {
  color: var(--hl-muted);
}

.hl-card--dark p {
  color: rgba(247, 241, 230, 0.74);
}

.hl-list {
  display: grid;
  gap: 14px;
}

.hl-list__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--hl-line);
}

.hl-list__item::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--hl-gold);
  box-shadow: 0 0 0 6px rgba(202, 164, 106, 0.15);
}

.hl-quote {
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--hl-radius-lg);
  color: var(--hl-ivory);
  background: linear-gradient(135deg, rgba(13, 11, 9, 0.96), rgba(31, 24, 18, 0.92));
}

.hl-quote strong {
  display: block;
  color: var(--hl-gold-light);
  margin-bottom: 10px;
  font-family: var(--hl-font-title);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.hl-faq {
  display: grid;
  gap: 12px;
}

.hl-faq details {
  border: 1px solid var(--hl-line);
  border-radius: var(--hl-radius-md);
  background: rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

.hl-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
  color: var(--hl-ink);
}

.hl-faq details p {
  padding: 0 20px 18px;
  color: var(--hl-muted);
}

.hl-skip-link {
  position: absolute;
  z-index: 9999;
  left: 12px;
  top: 12px;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--hl-gold-light);
  color: var(--hl-void);
  font-weight: 800;
}

.hl-skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root {
    --hl-wrap: min(100% - 28px, 760px);
    --hl-header-height: 74px;
  }

  .hl-section__head,
  .hl-grid-3,
  .hl-grid-2 {
    grid-template-columns: 1fr;
  }

  .hl-panel__inner {
    padding-inline: 20px;
  }
}

@media (max-width: 620px) {
  :root {
    --hl-wrap: min(100% - 22px, 100%);
  }

  .hl-btns,
  .hl-btn {
    width: 100%;
  }

  .hl-panel {
    border-radius: 24px;
  }

  .hl-section {
    padding-block: 36px;
  }
}








/* =========================================================
   Hairlight — Hero global uniformisé
   Chemin :
   public_html/wp-content/themes/hairlight-blocksy-child/assets/css/hairlight-common.css

   Objectifs :
   - Hero cohérent sur toutes les pages
   - Image WebP en fond via --hl-hero-image
   - H1 réduit de 50 % environ sur ordinateur
   - H1 réduit de 75 % environ sur mobile
   - Mot-clé principal coloré
   - H1 limité à deux lignes
   ========================================================= */

.hl-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: clamp(430px, 56vh, 620px);
  padding: clamp(72px, 8vw, 108px) 0 clamp(58px, 7vw, 92px);
  background:
    linear-gradient(
      90deg,
      rgba(13, 11, 9, 0.94) 0%,
      rgba(13, 11, 9, 0.86) 38%,
      rgba(13, 11, 9, 0.62) 68%,
      rgba(13, 11, 9, 0.48) 100%
    ),
    var(--hl-hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--hl-ivory);
  overflow: hidden;
  box-sizing: border-box;
}

.hl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 18%, rgba(202, 164, 106, 0.22), transparent 34%),
    radial-gradient(circle at 78% 68%, rgba(226, 196, 137, 0.13), transparent 42%);
  pointer-events: none;
}

.hl-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(13, 11, 9, 0.22) 0%,
      rgba(13, 11, 9, 0.02) 44%,
      rgba(13, 11, 9, 0.62) 100%
    );
  pointer-events: none;
}

.hl-hero__frame {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  min-height: clamp(300px, 38vh, 430px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  box-sizing: border-box;
}

.hl-hero__content {
  max-width: 760px;
}

.hl-hero .hl-label {
  color: var(--hl-gold-light);
  margin-bottom: clamp(16px, 2vw, 24px);
}

/* H1 global — réduction desktop environ 50 % */
.hl-hero h1 {
  max-width: 860px;
  margin: 0 0 clamp(18px, 2.4vw, 26px);
  color: var(--hl-ivory);
  font-family: var(--hl-font-title);
  font-size: clamp(32px, 3.15vw, 48px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em;
  text-wrap: balance;
  overflow-wrap: break-word;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mot-clé principal dans le H1 */
.hl-hero h1 .hl-title-keyword {
  color: var(--hl-gold-light);
  font-weight: inherit;
  font-style: inherit;
  text-shadow: 0 0 28px rgba(226, 196, 137, 0.24);
}

.hl-hero__lead {
  max-width: 690px;
  color: rgba(247, 241, 230, 0.82);
  font-size: clamp(15px, 1.22vw, 18px);
  line-height: 1.65;
}

.hl-hero .hl-btns {
  margin-top: clamp(22px, 3vw, 34px);
}

.hl-hero__aside {
  display: grid;
  gap: 12px;
  align-self: end;
}

.hl-hero-stat {
  padding: 16px 18px;
  border: 1px solid rgba(247, 241, 230, 0.16);
  border-radius: var(--hl-radius-md);
  background: rgba(13, 11, 9, 0.42);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.hl-hero-stat strong {
  display: block;
  color: var(--hl-gold-light);
  font-family: var(--hl-font-title);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hl-hero-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(247, 241, 230, 0.74);
  font-size: 0.9rem;
  line-height: 1.35;
}

/* Tablette */
@media (max-width: 980px) {
  .hl-hero {
    min-height: clamp(390px, 54vh, 540px);
    padding-top: 66px;
    padding-bottom: 58px;
    background-position: center;
  }

  .hl-hero__frame {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 760px);
    min-height: auto;
    align-items: start;
  }

  .hl-hero__content {
    max-width: 100%;
  }

  .hl-hero__aside {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
}

/* Mobile — réduction H1 environ 75 % */
@media (max-width: 768px) {
  .hl-hero {
    min-height: clamp(330px, 50vh, 440px);
    padding-top: 52px;
    padding-bottom: 42px;
    background:
      linear-gradient(
        180deg,
        rgba(13, 11, 9, 0.90) 0%,
        rgba(13, 11, 9, 0.74) 46%,
        rgba(13, 11, 9, 0.90) 100%
      ),
      var(--hl-hero-image);
    background-size: cover;
    background-position: center;
  }

  .hl-hero__frame {
    width: min(100% - 24px, 100%);
    gap: 24px;
  }

  .hl-hero .hl-label {
    margin-bottom: 14px;
    font-size: 0.64rem;
  }

  .hl-hero h1 {
    max-width: 100%;
    font-size: clamp(22px, 6.4vw, 28px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.028em;
    -webkit-line-clamp: 2;
    margin-bottom: 14px;
  }

  .hl-hero__lead {
    max-width: 100%;
    font-size: 14.5px;
    line-height: 1.58;
  }

  .hl-hero .hl-btns {
    margin-top: 20px;
  }

  .hl-hero__aside {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hl-hero-stat {
    padding: 12px 14px;
  }

  .hl-hero-stat strong {
    font-size: 1.15rem;
  }

  .hl-hero-stat span {
    font-size: 0.82rem;
  }
}

/* Très petits écrans */
@media (max-width: 420px) {
  .hl-hero {
    min-height: 330px;
    padding-top: 46px;
    padding-bottom: 38px;
  }

  .hl-hero h1 {
    font-size: clamp(21px, 6.2vw, 26px) !important;
  }
}


/* =========================================================
   Hairlight — Correction Hero mobile compact premium
   Chemin :
   public_html/wp-content/themes/hairlight-blocksy-child/assets/css/hairlight-common.css

   Objectif :
   - Réduire la hauteur verticale du Hero sur mobile
   - Garder l’image WebP visible et élégante
   - Afficher H1 + lead + boutons sans étirement excessif
   - Conserver le concept premium noir / doré / beauté
   ========================================================= */

@media (max-width: 768px) {
  .hl-hero {
    min-height: auto !important;
    height: auto !important;
    padding-top: 34px !important;
    padding-bottom: 30px !important;
    background:
      linear-gradient(
        180deg,
        rgba(13, 11, 9, 0.88) 0%,
        rgba(13, 11, 9, 0.72) 48%,
        rgba(13, 11, 9, 0.92) 100%
      ),
      var(--hl-hero-image) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .hl-hero__frame {
    width: min(100% - 24px, 100%) !important;
    min-height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    align-items: start !important;
  }

  .hl-hero__content {
    max-width: 100% !important;
  }

  .hl-hero .hl-label {
    margin-bottom: 10px !important;
    font-size: 0.61rem !important;
    letter-spacing: 0.13em !important;
  }

  .hl-hero .hl-label::before {
    width: 24px !important;
  }

  .hl-hero h1 {
    max-width: 100% !important;
    margin-bottom: 12px !important;
    font-size: clamp(21px, 6vw, 27px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.028em !important;
    text-wrap: balance;
    overflow-wrap: break-word;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .hl-hero h1 .hl-title-keyword {
    color: var(--hl-gold-light) !important;
    text-shadow: 0 0 20px rgba(226, 196, 137, 0.22);
  }

  .hl-hero__lead {
    max-width: 100% !important;
    font-size: 13.8px !important;
    line-height: 1.52 !important;
    color: rgba(247, 241, 230, 0.82) !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .hl-hero .hl-btns {
    width: 100% !important;
    margin-top: 16px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .hl-hero .hl-btn {
    width: 100% !important;
    min-height: 42px !important;
    padding: 0.72rem 0.95rem !important;
    font-size: 0.86rem !important;
    line-height: 1.15 !important;
  }

  .hl-hero__aside {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 7px !important;
    width: 100% !important;
  }

  .hl-hero-stat {
    padding: 9px 8px !important;
    border-radius: 12px !important;
    text-align: center !important;
    background: rgba(13, 11, 9, 0.48) !important;
  }

  .hl-hero-stat strong {
    font-size: 0.9rem !important;
    line-height: 1.05 !important;
  }

  .hl-hero-stat span {
    margin-top: 4px !important;
    font-size: 0.68rem !important;
    line-height: 1.22 !important;
  }
}

/* Très petits mobiles */
@media (max-width: 420px) {
  .hl-hero {
    padding-top: 28px !important;
    padding-bottom: 26px !important;
    background-position: center top !important;
  }

  .hl-hero__frame {
    width: min(100% - 20px, 100%) !important;
    gap: 15px !important;
  }

  .hl-hero h1 {
    font-size: clamp(20px, 6.2vw, 25px) !important;
    line-height: 1.08 !important;
  }

  .hl-hero__lead {
    font-size: 13.4px !important;
    line-height: 1.48 !important;
    -webkit-line-clamp: 3 !important;
  }

  .hl-hero__aside {
    grid-template-columns: 1fr !important;
  }

  .hl-hero-stat {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: left !important;
    padding: 9px 12px !important;
  }

  .hl-hero-stat strong {
    flex: 0 0 auto !important;
    font-size: 0.95rem !important;
  }

  .hl-hero-stat span {
    margin-top: 0 !important;
    text-align: right !important;
    font-size: 0.72rem !important;
  }
}




/* =========================================================
   Hairlight — Réduction espace menu / sous-titre Hero
   Chemin :
   public_html/wp-content/themes/hairlight-blocksy-child/assets/css/hairlight-common.css
   ========================================================= */

/* Desktop + tablette */
.hl-hero {
  padding-top: clamp(38px, 4.5vw, 64px) !important;
}

/* Mobile */
@media (max-width: 768px) {
  .hl-hero {
    padding-top: 18px !important;
  }

  .hl-hero .hl-label {
    margin-top: 0 !important;
    margin-bottom: 9px !important;
  }
}

/* Très petits mobiles */
@media (max-width: 420px) {
  .hl-hero {
    padding-top: 14px !important;
  }

  .hl-hero .hl-label {
    margin-bottom: 8px !important;
  }
}