/* ==========================================================================
   Habillage du site : en-tête et pied de page identiques à
   pro.monphotographebebe.fr (valeurs relevées sur le site le 20/11/2026).
   Si le menu ou le pied de page du site change, c'est ce fichier et
   js/habillage.js qu'il faut mettre à jour.
   ========================================================================== */
.hb, .hb *, .hb *::before, .hb *::after { box-sizing: border-box; }
.hb { --hb-bordeaux: #9b2f45; --hb-trait: #ebdcda; --hb-encre: #474746; --hb-texte: #5f5f5d; --hb-discret: #737371; --hb-gris: #f3eeec; --hb-poudre: #fbf5f3;
  font-family: 'Mulish', sans-serif; font-weight: 300; -webkit-font-smoothing: antialiased; }
.hb a { text-decoration: none; color: inherit; }
.hb img { display: block; max-width: 100%; }
.hb [hidden] { display: none !important; }
.hb-cont { max-width: 1240px; margin: 0 auto; padding-left: clamp(20px, 4.45vw, 64px); padding-right: clamp(20px, 4.45vw, 64px); }

/* ---------- En-tête ---------- */
.hb-entete { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 160px minmax(0, 1fr) max-content; align-items: center; gap: 24px; min-height: 85px; padding: 8px clamp(20px, 4.45vw, 64px); background: #fff; border-bottom: 1px solid var(--hb-trait); color: var(--hb-encre); font-size: 16px; }
.hb-logo { display: flex; align-items: center; width: 160px; justify-self: start; }
.hb-logo img { width: 160px; height: auto; }
.hb-nav { justify-self: center; display: flex; align-items: center; padding: 4px; background: #fff; border: 1px solid var(--hb-trait); border-radius: 10px; max-width: 100%; }
.hb-nav a { display: flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 8px; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; transition: color 0.18s, background 0.18s; }
.hb-nav a:hover, .hb-nav a.is-active { color: var(--hb-bordeaux); }
.hb-actions { justify-self: end; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.hb-parents { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 7px 8px 7px 10px; background: #fff; border: 1px solid var(--hb-trait); border-radius: 999px; }
.hb-parents img { width: 28px; height: 28px; border-radius: 50%; }
.hb-parents-texte { display: grid; gap: 1px; }
.hb-parents strong { font-size: 11px; line-height: 1.1; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.hb-parents small { font-size: 10px; line-height: 1.15; letter-spacing: 0.02em; color: var(--hb-discret); white-space: nowrap; }
.hb-parents-fleche { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; font-size: 13px; line-height: 1; background: var(--hb-gris); border-radius: 6px; }
.hb-acces { position: relative; }
.hb-acces-bouton { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; padding: 7px 15px; border: 0; border-radius: 999px; background: var(--hb-bordeaux); color: #fff; font-family: inherit; cursor: pointer; text-align: left; }
.hb-acces-bouton > span:first-child { display: grid; gap: 2px; }
.hb-acces-bouton strong { font-size: 11px; line-height: 1.15; font-weight: 600; letter-spacing: 0.065em; text-transform: uppercase; white-space: nowrap; }
.hb-acces-bouton small { font-size: 9px; line-height: 1.15; font-weight: 300; letter-spacing: 0.025em; white-space: nowrap; }
.hb-chevron { width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.hb-acces-panneau { position: absolute; top: 56px; right: 0; width: 286px; display: grid; padding: 6px; background: #fff; border: 1px solid var(--hb-trait); border-radius: 10px; z-index: 40; }
.hb-acces-option { display: grid; grid-template-columns: 28px minmax(0, 1fr) 14px; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; color: var(--hb-encre); }
.hb-acces-option:hover { background: var(--hb-poudre); }
.hb-acces-option + .hb-acces-option { border-top: 1px solid var(--hb-trait); }
.hb-acces-icone { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f7dddd; color: #111; font-size: 15px; }
.hb-acces-icone svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.hb-acces-option strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.hb-acces-option small { display: block; font-size: 10px; color: var(--hb-discret); }
.hb-burger { display: none; position: relative; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--hb-gris); border: 1px solid var(--hb-trait); cursor: pointer; padding: 0; }
.hb-burger span { position: absolute; left: 12px; width: 18px; height: 1.5px; border-radius: 999px; background: var(--hb-encre); transition: transform 0.18s, top 0.18s; }
.hb-burger span:first-child { top: 16px; }
.hb-burger span:last-child { top: 26px; }
.hb-burger[aria-expanded='true'] span:first-child { top: 21px; transform: rotate(45deg); }
.hb-burger[aria-expanded='true'] span:last-child { top: 21px; transform: rotate(-45deg); }
.hb-mobile { grid-column: 1 / -1; display: grid; gap: 14px; padding: 10px 0 14px; }
.hb-mobile nav { display: grid; }
.hb-mobile nav a { display: flex; align-items: center; min-height: 48px; padding: 10px 4px; border-bottom: 1px solid var(--hb-trait); font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.hb-mobile nav a.is-active { color: var(--hb-bordeaux); }
.hb-mobile-acces { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hb-mobile-acces a { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; background: var(--hb-gris); }
.hb-mobile-acces a:first-child { background: var(--hb-bordeaux); color: #fff; }
.hb-mobile .hb-parents { justify-self: start; }

@media (min-width: 1121px) and (max-width: 1480px) {
  .hb-entete { gap: 12px; }
  .hb-nav a { padding-left: 8px; padding-right: 8px; text-align: center; white-space: normal; }
  .hb-parents-texte, .hb-parents-fleche { display: none; }
  .hb-parents::after { content: 'Parents ↗'; font-size: 13px; font-weight: 600; line-height: 16px; padding-right: 6px; }
}
@media (max-width: 1120px) {
  .hb-entete { grid-template-columns: 160px minmax(0, 1fr); }
  .hb-nav { display: none; }
  .hb-burger { display: inline-flex; }
}
@media (max-width: 767px) {
  .hb-entete { grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding-left: 24px; padding-right: 24px; }
  .hb-logo, .hb-logo img { width: 130px; }
  .hb-actions > .hb-parents, .hb-actions > .hb-acces { display: none; }
}

/* ---------- Pied de page ---------- */
.hb-pied { margin-top: clamp(64px, 7vw, 96px); background: var(--hb-poudre); border-top: 1px solid var(--hb-trait); color: var(--hb-texte); font-size: 15px; line-height: 24px; }
.hb-pied p, .hb-pied h2 { margin: 0; }
.hb-pied-grille { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'marque main ressources' 'parents parents parents'; align-items: start; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.hb-pied-marque { grid-area: marque; display: grid; gap: 14px; justify-items: start; }
.hb-pied-marque img { width: 160px; height: auto; }
.hb-label { margin-top: 4px !important; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hb-bordeaux); }
.hb-pied-marque > p:not(.hb-label) { max-width: 380px; }
.hb-pied-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 4px; }
.hb-bouton { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 14px 24px; border-radius: 999px; border: 1px solid var(--hb-bordeaux); background: var(--hb-bordeaux); color: #fff !important; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; }
.hb-bouton.hb-second { background: var(--hb-gris); border-color: var(--hb-gris); color: var(--hb-encre) !important; }
.hb-lien { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; font-weight: 600; color: var(--hb-bordeaux) !important; text-decoration: underline !important; text-underline-offset: 4px; }
.hb-pied-section h2 { margin-bottom: 14px; font-size: 20px; line-height: 26px; font-weight: 600; color: var(--hb-encre); }
.hb-pied-section:nth-of-type(1) { grid-area: main; }
.hb-pied-section:nth-of-type(2) { grid-area: ressources; }
.hb-pied-liens { display: grid; gap: 8px; }
.hb-pied-liens a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--hb-trait); color: var(--hb-encre); }
.hb-pied-liens a:hover { color: var(--hb-bordeaux); }
.hb-pied-parents { grid-area: parents; display: grid; grid-template-columns: minmax(0, 1fr) 286px; align-items: center; gap: 24px; padding: 24px; background: #fff; border: 1px solid var(--hb-trait); border-radius: 24px; }
.hb-pied-parents > div:first-child { display: grid; gap: 14px; }
.hb-pied-parents .hb-label { margin-top: 0 !important; }
.hb-pied-parents h2 { font-size: 20px; line-height: 26px; font-weight: 200; letter-spacing: -0.02em; color: var(--hb-encre); margin-bottom: 14px; }
.hb-pied-parents p:not(.hb-label) { max-width: 620px; font-size: 13px; line-height: 1.7; }
.hb-pied-parents > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hb-pied-parents .hb-bouton { width: 100%; }
.hb-pied-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--hb-trait); font-size: 13px; line-height: 19.5px; }
.hb-pied-bas nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.hb-pied-bas nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1120px) {
  .hb-pied-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: 'marque marque' 'main ressources' 'parents parents'; }
}
@media (max-width: 767px) {
  .hb-pied-grille { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; gap: 28px; padding-top: 32px; padding-bottom: 24px; }
  .hb-pied-marque, .hb-pied-section, .hb-pied-parents { grid-area: auto !important; }
  .hb-pied-parents { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px; }
}
