/*
Theme Name: Laure Dugher
Description: Thème vitrine de Laure Dugher — maquette « La Table » (Terre cuite · Newsreader + Alegreya Sans · angles vifs). Contenu des pages en blocs Gutenberg, styles des blocs dans assets/blocks.css (partagé avec l'éditeur).
Version: 1.0.1
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: laure-dugher
*/

/* ---------- En-tête ---------- */
.ld-header {
  border-bottom: 1px solid var(--ld-hairline);
  font-family: var(--ld-font-ui);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ld-header__inner {
  max-width: var(--ld-max);
  margin: 0 auto;
  padding: 22px var(--ld-gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.ld-brand { color: inherit; }
.ld-nav { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.ld-nav ul { display: flex; gap: 28px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.ld-nav a { color: inherit; }
.ld-nav .current-menu-item > a,
.ld-nav .current_page_item > a { text-decoration: underline; text-underline-offset: 4px; }
.ld-nav__cta { color: var(--ld-accent) !important; font-weight: 700; }

.ld-menu { display: none; }
.ld-menu > summary {
  list-style: none;
  cursor: pointer;
  color: var(--ld-accent);
  font-weight: 700;
}
.ld-menu > summary::-webkit-details-marker { display: none; }
.ld-menu__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--ld-bg);
  border-bottom: 1px solid var(--ld-hairline);
  padding: 8px 22px 20px;
  z-index: 10;
}
.ld-menu__panel ul { list-style: none; margin: 0; padding: 0; }
.ld-menu__panel a { display: block; padding: 12px 0; color: inherit; }

/* ---------- Pied de page ---------- */
.ld-footer {
  background: var(--ld-page);
  color: var(--ld-page-ink);
  font-family: var(--ld-font-ui);
}
.ld-footer__inner {
  max-width: var(--ld-max);
  margin: 0 auto;
  padding: 56px var(--ld-gutter) 32px;
  box-sizing: border-box;
}
.ld-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 56px; flex-wrap: wrap; }
.ld-footer__brand { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.ld-footer__tagline { margin: 14px 0 0; font-family: var(--ld-font-title); font-size: 19px; line-height: 1.65; max-width: 32ch; }
.ld-footer__cols { display: flex; gap: 56px; flex-wrap: wrap; align-items: flex-start; }
.ld-footer__label { font-size: 13px; line-height: 1.6; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }
.ld-footer__links { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; font-size: 17px; line-height: 1.6; }
.ld-footer__links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ld-footer__links a { color: inherit; overflow-wrap: anywhere; }
.ld-footer__note { margin: 14px 0 0; font-size: 17px; line-height: 1.6; max-width: 22ch; }
.ld-footer__bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--ld-muted);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  opacity: 0.85;
}
.ld-footer__legal { display: flex; gap: 24px; }
.ld-footer a { color: inherit; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .ld-header { font-size: 13px; position: relative; }
  .ld-header__inner { padding: 16px var(--ld-gutter); flex-wrap: nowrap; }
  .ld-nav { display: none; }
  .ld-menu { display: block; }

  .ld-footer__inner { padding: 40px var(--ld-gutter) 26px; }
  .ld-footer__brand { font-size: 14px; }
  .ld-footer__tagline { margin-top: 12px; font-size: 18px; line-height: 1.6; }
  .ld-footer__top { display: block; }
  .ld-footer__cols { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ld-footer__cols > .ld-footer__col--wide { grid-column: 1 / -1; }
  .ld-footer__label { font-size: 12px; }
  .ld-footer__links { margin-top: 8px; gap: 0; }
  .ld-footer__links ul { gap: 0; }
  .ld-footer__links a { display: block; padding: 6px 0; }
  .ld-footer__note { margin-top: 8px; max-width: none; }
  .ld-footer__bottom { margin-top: 32px; padding-top: 18px; flex-direction: column; gap: 10px; }
  .ld-footer__legal { gap: 20px; }
}
