
/* =====================================================================
   COPIE DE L'HABILLAGE DU SITE herzo.fr — POUR L'APERÇU UNIQUEMENT
   Bandeau, en-tête, menu, titre de page, pied de page, en-tête fixe.
   Mesures relevées sur https://www.herzo.fr/bagues-de-fiancailles/
   Dans WordPress, c'est le thème qui fournit tout ceci : ne pas copier ce fichier.
   ===================================================================== */

.hz-site {
  --site-ink:    #242424;
  --site-text:   #5a5a5a;
  --site-accent: #c09578;
  --site-line:   #ebebeb;
  --site-title:  "Montserrat", Arial, Helvetica, sans-serif;
  --site-body:   "Cormorant Garamond", Georgia, "Times New Roman", serif;

  margin: 0;
  background: #fff;
  color: var(--site-text);
  font: 400 18px/26px var(--site-body);
  -webkit-font-smoothing: antialiased;
}
.hz-site *, .hz-site *::before, .hz-site *::after { box-sizing: border-box; }
.hz-site a { color: inherit; text-decoration: none; }
.hz-site img { max-width: 100%; height: auto; }
.hz-site svg { display: block; }
.hz-site button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.hz-site :focus-visible { outline: 1px solid var(--site-accent); outline-offset: 3px; }

.hz-wrap { width: min(960px, 100% - 32px); margin-inline: auto; }

/* ---------- Bandeau d'annonce ---------- */
.hz-topbar {
  background: var(--site-accent);
  color: #fff;
  font: 300 17px/34px Helvetica, Arial, sans-serif;
  text-align: center;
  padding: 18px 16px;
}

/* ---------- En-tête ---------- */
.hz-header { background: #fff; position: relative; z-index: 40; }

.hz-util { border-bottom: 1px solid var(--site-line); }
.hz-util .hz-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 45px;
  padding-inline: 15px;
}
.hz-util__icons { display: flex; gap: 22px; color: var(--site-ink); }
.hz-util__icons a { width: 22px; height: 22px; display: grid; place-items: center; transition: color .3s; }
.hz-util__icons a:hover { color: var(--site-accent); }
.hz-lang { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #444; }

.hz-brand .hz-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 15px;
}
.hz-logo { display: block; width: 130px; }
.hz-logo img { display: block; width: 100%; height: auto; }
.hz-search {
  position: absolute;
  top: 20px;
  right: 15px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid var(--site-line);
  border-radius: 3px;
  color: var(--site-ink);
}
.hz-mobile-actions { display: none; }

/* ---------- Menu principal ---------- */
.hz-nav > ul,
.hz-sticky__nav > ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hz-nav li,
.hz-sticky__nav li { position: relative; list-style: none; }
.hz-nav > ul > li > a,
.hz-sticky__nav > ul > li > a {
  display: block;
  padding: 0 24px;
  font: 300 13px/65px var(--site-title);
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--site-ink);
  transition: color .3s;
}
.hz-nav > ul > li.has-dd > a,
.hz-sticky__nav > ul > li.has-dd > a { font-weight: 400; }
.hz-nav > ul > li.is-current > a,
.hz-sticky__nav > ul > li.is-current > a,
.hz-nav > ul > li > a:hover,
.hz-sticky__nav > ul > li > a:hover { color: var(--site-accent); }

/* Sous-menus (Alliances, La Maison) */
.hz-dd {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  margin: 0;
  padding: 20px 10px;
  list-style: none;
  background: #fff;
  box-shadow: 0 0 0 1px var(--site-line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility 0s .25s;
  z-index: 60;
}
li:hover > .hz-dd,
li:focus-within > .hz-dd {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s, transform .25s;
}
.hz-dd a { display: block; padding: 8px 20px; }
.hz-dd__t { display: block; font: 400 18px/1.31 var(--site-body); color: #191919; transition: color .3s; }
.hz-dd__d { display: block; font: 400 14.4px/1.31 var(--site-body); color: #c0c0c0; }
.hz-dd a:hover .hz-dd__t { color: var(--site-accent); }

/* ---------- En-tête fixe au défilement ---------- */
.hz-sticky {
  position: fixed;
  inset: 0 0 auto 0;
  height: 96px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .11);
  transform: translateY(-110%);
  transition: transform .35s ease;
  z-index: 50;
}
.hz-sticky.is-shown { transform: none; }
.hz-sticky .hz-wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.hz-sticky__logo { flex: none; width: 100px; }
.hz-sticky__logo img { display: block; width: 100%; height: auto; }
.hz-sticky__nav { flex: 1; }
.hz-sticky__nav > ul { justify-content: flex-start; }
.hz-sticky__nav > ul > li > a { padding: 0 15px; }

/* ---------- Titre de la page + fil d'Ariane ---------- */
.hz-pagetitle { text-align: center; padding: 41px 16px 20px; }
.hz-pagetitle h1 {
  margin: 0;
  font: 300 36px/48.6px var(--site-title);
  color: var(--site-ink);
}
.hz-crumbs { font: 400 16px/30px var(--site-body); letter-spacing: .8px; color: var(--site-text); }
.hz-crumbs a { color: var(--site-ink); }
.hz-crumbs a:hover { color: var(--site-accent); }
.hz-crumbs .sep { margin: 0 10px; }
.hz-crumbs [aria-current] { color: var(--site-accent); }

/* ---------- Pied de page ---------- */
.hz-footer { padding: 30px 16px 40px; text-align: center; }
.hz-footer .hz-wrap { width: min(930px, 100%); }
.hz-footer h2,
.hz-footer h3,
.hz-footer h4 { margin: 0 0 10px; font-family: var(--site-title); font-weight: 300; color: var(--site-ink); line-height: 1.35; }
.hz-footer h2 { font-size: 24px; }
.hz-footer h3 { font-size: 20px; }
.hz-footer h4 { font-size: 18px; }
.hz-footer p { margin: 0 0 10px; font-size: 16px; line-height: 19px; }

.hz-footer__shops {
  display: grid;
  grid-template-columns: 1fr 200px 1fr;
  gap: 75px;
  align-items: start;
}
.hz-footer__logo img { display: block; width: 200px; margin-inline: auto; }

.hz-footer__insta { margin-top: 35px; }
.hz-footer__insta a:hover { color: var(--site-accent); }
.hz-insta {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.hz-insta a { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f4efe9; }
.hz-insta img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.hz-insta a:hover img { opacity: .85; }

.hz-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 44px;
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
  font: 400 16px/20px var(--site-title);
}
.hz-footer__links a:hover { color: var(--site-accent); }
.hz-footer__jdf { display: block; width: 391px; max-width: 100%; height: auto; margin: 40px auto 0; }
.hz-footer__copy { margin-top: 35px !important; }

/* ---------- Bouton « haut de page » (losange) ---------- */
.hz-totop {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--site-accent);
  color: #fff;
  transform: rotate(45deg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s .3s;
  z-index: 45;
}
.hz-totop svg { transform: rotate(-45deg); }
.hz-totop.is-shown { opacity: 1; visibility: visible; transition: opacity .3s; }

/* ---------- Menu mobile ---------- */
.hz-mobile-menu { border-top: 1px solid var(--site-line); padding: 8px 25px 18px; }
.hz-mobile-menu[hidden] { display: none; }
.hz-mobile-menu ul { margin: 0; padding: 0; list-style: none; }
.hz-mobile-menu a {
  display: block;
  font: 400 14px/40px var(--site-title);
  color: #808080;
  border-bottom: 1px solid #f2f2f2;
}
.hz-mobile-menu .is-current > a { color: var(--site-accent); }
.hz-mobile-menu .hz-dd {
  position: static;
  width: auto;
  padding: 0 0 0 14px;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.hz-mobile-menu .hz-dd a { padding: 0; }
.hz-mobile-menu .hz-dd__t { font: 400 14px/40px var(--site-title); color: #808080; }
.hz-mobile-menu .hz-dd__d { display: none; }

/* =====================================================================
   RESPONSIVE (mêmes paliers que le thème)
   ===================================================================== */
@media (max-width: 991px) {
  .hz-util,
  .hz-nav,
  .hz-search,
  .hz-sticky { display: none; }

  .hz-header { border-bottom: 1px solid var(--site-line); }
  .hz-brand .hz-wrap {
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 9px;
    width: min(960px, 100% - 32px);
  }
  .hz-logo { width: 85px; }
  .hz-mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
  .hz-account { font-size: 15.4px; line-height: 19px; color: var(--site-ink); }
  .hz-burger { width: 28px; height: 28px; display: grid; place-items: center; color: var(--site-ink); }

  .hz-pagetitle h1 { font-size: 30px; line-height: 1.35; }

  .hz-footer__shops { grid-template-columns: 1fr; gap: 28px; }
  .hz-insta { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .hz-topbar { font-size: 15px; line-height: 20px; padding: 15px 12px; }
  .hz-pagetitle { padding-top: 40px; }
  .hz-pagetitle h1 { font-size: 26px; line-height: 35px; }
  .hz-footer__links { gap: 6px 24px; font-size: 15px; }
  .hz-totop { right: 18px; bottom: 18px; width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .hz-site *, .hz-site *::before, .hz-site *::after { transition: none !important; }
}


/* WordPress : la barre d'administration est au-dessus de tout */
.admin-bar .hz-sticky{top:32px}@media (max-width:782px){.admin-bar .hz-sticky{top:46px}}
.hz-nav .hz-flake{margin-left:.45em}
