/* ============================================================
   lejournaldemanosque.fr — homepage.css
   Charte : Terracotta #C1553D | Bleu nuit #1F2A44 | Safran #E8A33D
   Sauge #6E8B74 | Crème #F4EDE4 | Beige chaud #EFE3D0
   Signature : dividers en vagues (héritage du site archivé) + tampons catégorie
============================================================ */

/* ── BASE ── */
.hm-homepage * { box-sizing: border-box; }

.hm-homepage,
#hm-main {
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  color: #241C14;
  overflow-x: hidden;
}

.hm-homepage h1,
.hm-homepage h2,
.hm-homepage h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
}

.hm-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── DIVIDERS EN VAGUES (signature du site) ── */
.hm-wave {
  position: relative;
  height: 54px;
  margin-top: -1px;
  z-index: 3;
  pointer-events: none;
  line-height: 0;
}
.hm-wave svg { display: block; width: 100%; height: 100%; }
@media (max-width: 700px) { .hm-wave { height: 32px; } }

/* ── HERO ── */
.hm-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 170px 24px 80px;
  overflow: hidden;
}

.hm-hero__bg {
  position: absolute;
  inset: -60px 0 -60px 0;
  z-index: 0;
  background:
    linear-gradient(160deg, rgba(31,42,68,0.82) 0%, rgba(193,85,61,0.55) 100%),
    url('https://lejournaldemanosque.fr/wp-content/uploads/2026/07/vue-de-manosque.png') center 30% / cover no-repeat;
  will-change: transform;
}

.hm-hero__content { position: relative; z-index: 2; max-width: 760px; }

.hm-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #F4EDE4;
  margin-bottom: 30px;
  opacity: 0;
  animation: ljm-fade-up 0.8s ease 0.05s forwards;
}
.hm-hero__eyebrow::before,
.hm-hero__eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: #E8A33D;
}

.hm-hero__title {
  font-size: clamp(3rem, 8vw, 6rem);
  color: #F4EDE4;
  margin: 0 0 24px;
  font-weight: 700;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
  opacity: 0;
  animation: ljm-fade-up 0.9s ease 0.18s forwards;
}

.hm-hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: rgba(244,237,228,0.86);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.7;
  opacity: 0;
  animation: ljm-fade-up 0.9s ease 0.32s forwards;
}

.hm-hero__cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: ljm-fade-up 0.9s ease 0.46s forwards;
}

@keyframes ljm-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── APPARITION AU SCROLL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.hm-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.hm-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .hm-hero__eyebrow, .hm-hero__title, .hm-hero__subtitle, .hm-hero__cta-group {
    animation: none; opacity: 1;
  }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ── BOUTONS ── */
.hm-btn {
  display: inline-block;
  padding: 15px 32px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.hm-btn--primary  { background: #C1553D; color: #F4EDE4; border: 2px solid #C1553D; }
.hm-btn--primary:hover { background: #a8442f; border-color: #a8442f; color: #F4EDE4; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(193,85,61,0.35); }
.hm-btn--ghost    { background: rgba(244,237,228,0.08); color: #F4EDE4; border: 2px solid rgba(244,237,228,0.55); backdrop-filter: blur(4px); }
.hm-btn--ghost:hover { border-color: #F4EDE4; background: rgba(244,237,228,0.16); transform: translateY(-2px); }
.hm-btn--outline-dark { background: transparent; color: #241C14; border: 2px solid #241C14; }
.hm-btn--outline-dark:hover { background: #241C14; color: #F4EDE4; }
.hm-btn--ocre { background: #C1553D; color: #F4EDE4; border: 2px solid #C1553D; }
.hm-btn--ocre:hover { background: #a8442f; border-color: #a8442f; color: #F4EDE4; transform: translateY(-2px); }

/* ── SIGNATURE CÉSAR ── */
.hm-signature {
  background: #1F2A44;
  padding: 60px 0 70px;
  position: relative;
}
.hm-signature__inner {
  display: flex;
  align-items: center;
  gap: 36px;
}
.hm-signature__avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #C1553D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.1rem;
  font-style: italic;
  color: #F4EDE4;
  border: 3px solid rgba(232,163,61,0.5);
}
.hm-signature__quote { margin: 0; padding: 0; border: none; }
.hm-signature__quote p {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(244,237,228,0.88);
  line-height: 1.75;
  margin: 0 0 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
}
.hm-signature__quote cite {
  font-size: 0.74rem;
  color: #E8A33D;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
}
@media (max-width: 600px) {
  .hm-signature__inner { flex-direction: column; text-align: center; }
}

/* ── SECTIONS ARTICLES ── */
.hm-section { padding: 88px 0 96px; position: relative; }
.hm-section--light { background: #F4EDE4; }
.hm-section--beige { background: #EFE3D0; }

.hm-section__header { margin-bottom: 52px; max-width: 560px; }
.hm-section__header h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  margin: 10px 0 14px;
  color: #241C14;
}
.hm-section__header p {
  font-size: 1.06rem;
  color: #6b6258;
  line-height: 1.65;
  margin: 0;
}
.hm-section__cta { text-align: center; margin-top: 48px; }

/* Labels catégorie (au-dessus des titres H2) */
.hm-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 7px;
  border-bottom: 2px solid;
}
.hm-label--green  { color: #1F2A44; border-color: #1F2A44; }
.hm-label--purple { color: #E8A33D; border-color: #E8A33D; }
.hm-label--ocre   { color: #C1553D; border-color: #C1553D; }
.hm-label--sauge  { color: #6E8B74; border-color: #6E8B74; }

/* ── GRILLE ── */
.hm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 960px) { .hm-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .hm-grid { grid-template-columns: 1fr; } }

/* ── CARTES ── */
.hm-card {
  background: #fff;
  border-radius: 10px;
  overflow: visible;
  box-shadow: 0 2px 16px rgba(36,28,20,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.hm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(36,28,20,0.16);
}
.hm-card__img-wrap {
  display: block;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #D8A68F, #C1553D);
  text-decoration: none;
  border-radius: 10px 10px 0 0;
  position: relative;
}
.hm-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.hm-card:hover .hm-card__img-wrap img { transform: scale(1.06); }
.hm-card__img-wrap--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
}

/* Tampon catégorie (signature visuelle) */
.hm-stamp {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(244,237,228,0.94);
  border: 1.5px dashed currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-6deg);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  padding: 6px;
  box-shadow: 0 4px 10px rgba(36,28,20,0.18);
}
.hm-stamp--green  { color: #1F2A44; }
.hm-stamp--purple { color: #E8A33D; }
.hm-stamp--ocre   { color: #C1553D; }
.hm-stamp--sauge  { color: #6E8B74; }

.hm-card__body {
  padding: 30px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hm-card__body h3 {
  font-size: 1.16rem;
  margin: 0 0 11px;
  line-height: 1.35;
}
.hm-card__body h3 a { color: #241C14; text-decoration: none; }
.hm-card__body h3 a:hover { color: #C1553D; }
.hm-card__body p {
  font-size: 0.9rem;
  color: #6b6258;
  line-height: 1.62;
  margin: 0;
  flex: 1;
  padding-bottom: 18px;
}
.hm-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid rgba(36,28,20,0.09);
  font-size: 0.78rem;
  color: #a09080;
}
.hm-read-more {
  color: #C1553D;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.hm-read-more:hover { color: #a8442f; }

/* ── BANDEAU DESTINATIONS ── */
.hm-band {
  background: #C1553D;
  padding: 30px 0;
  position: relative;
}
.hm-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
.hm-band__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 28px;
  color: #F4EDE4;
  font-size: 0.9rem;
  font-weight: 600;
  border-right: 1px solid rgba(244,237,228,0.3);
  white-space: nowrap;
}
.hm-band__item:last-child { border-right: none; }
.hm-band__item em { font-style: normal; font-size: 1.1rem; }
@media (max-width: 700px) {
  .hm-band__item { border-right: none; border-bottom: 1px solid rgba(244,237,228,0.25); width: 50%; justify-content: center; }
  .hm-band__item:last-child { border-bottom: none; }
}

/* ── À PROPOS ── */
.hm-about {
  background: #1F2A44;
  padding: 96px 0;
  position: relative;
}
.hm-about__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 68px;
  align-items: center;
}
.hm-about__text h2 {
  color: #F4EDE4;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 14px 0 22px;
}
.hm-about__text p {
  color: rgba(244,237,228,0.75);
  line-height: 1.75;
  font-size: 0.99rem;
  margin: 0 0 15px;
}
.hm-about__text p:last-of-type { margin-bottom: 30px; }
.hm-about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hm-about__tags span {
  background: rgba(193,85,61,0.14);
  color: #E8A33D;
  border: 1px solid rgba(232,163,61,0.35);
  padding: 8px 16px;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 760px) {
  .hm-about__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ── CTA COMMERÇANTS ── */
.hm-merchant-cta {
  background: #C1553D;
  padding: 72px 0;
  position: relative;
}
.hm-merchant-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.hm-merchant-cta__text { max-width: 560px; }
.hm-merchant-cta__text h2 {
  color: #F4EDE4;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 12px;
}
.hm-merchant-cta__text p {
  color: rgba(244,237,228,0.85);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}
.hm-merchant-cta .hm-btn--ghost {
  border-color: rgba(244,237,228,0.7);
  flex-shrink: 0;
}

/* ── VIDE ── */
.hm-empty {
  text-align: center;
  color: #a09080;
  font-style: italic;
  padding: 48px 0;
}

/* ============================================================
   PAGES CONTACT & MENTIONS LÉGALES
   (contenu collé directement dans l'éditeur WordPress)
============================================================ */
.ljm-legal,
.ljm-contact {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 24px 40px;
  font-family: 'Source Sans 3', sans-serif;
  color: #241C14;
  line-height: 1.7;
}
.ljm-legal__subtitle,
.ljm-contact__subtitle {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #6b6258;
  margin: 0 0 24px;
}
.ljm-legal .page-subtitle { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 1.15rem; color: #6b6258; margin: 0 0 24px; }
.ljm-legal .divider {
  height: 2px;
  background: linear-gradient(to right, #C1553D, transparent);
  margin: 32px 0;
}
.ljm-legal section { margin-bottom: 40px; }
.ljm-legal section h2,
.ljm-contact h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  color: #1F2A44;
  border-top: 2px solid #C1553D;
  padding-top: 0.5em;
  margin: 0 0 14px;
}
.ljm-legal .info-block {
  background: #F4EDE4;
  border-left: 4px solid #C1553D;
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin: 0 0 16px;
  font-size: 0.95rem;
}
.ljm-legal section p { margin: 0 0 14px; color: #4a423a; }
.ljm-legal a,
.ljm-contact a { color: #C1553D; text-decoration: underline; text-underline-offset: 3px; }
.ljm-legal a:hover,
.ljm-contact a:hover { color: #9c4530; }

.ljm-contact__intro {
  background: #1F2A44;
  color: rgba(244,237,228,0.85);
  border-radius: 8px;
  padding: 28px 30px;
  margin-bottom: 40px;
}
.ljm-contact__intro strong { color: #F4EDE4; }
.ljm-contact__form-wrap {
  background: #F4EDE4;
  border: 1px solid rgba(36,28,20,0.1);
  border-radius: 10px;
  padding: 32px;
}

/* ============================================================
   HEADER ASTRA — surcharge du menu par défaut
============================================================ */
.site-header,
.ast-above-header,
#masthead {
  background: #1F2A44 !important;
  border-bottom: none !important;
  box-shadow: 0 2px 20px rgba(31,42,68,0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header .ast-container,
#masthead .ast-container {
  padding-left: 40px !important;
  padding-right: 40px !important;
}

/* Header transparent sur la home, devient plein au scroll */
.ljm-transparent-header #masthead {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 150;
  background: transparent !important;
  box-shadow: none !important;
}
.ljm-transparent-header #masthead.ljm-scrolled {
  position: fixed;
  background: rgba(31,42,68,0.97) !important;
  box-shadow: 0 4px 24px rgba(31,42,68,0.25) !important;
}

.main-header-bar {
  background: transparent !important;
  border-bottom: none !important;
  padding: 6px 0;
  transition: padding 0.25s ease;
}

#masthead.ljm-scrolled .main-header-bar {
  padding: 0;
}
#masthead.ljm-scrolled {
  box-shadow: 0 4px 24px rgba(31,42,68,0.25);
}

.ast-site-identity .site-title,
.ast-site-identity .site-title a {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: italic;
  font-size: 1.5rem !important;
  color: #F4EDE4 !important;
  letter-spacing: 0.01em;
}

.ast-site-identity .site-description {
  color: rgba(244,237,228,0.6) !important;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem !important;
}

.main-navigation,
.ast-flex-menu-container {
  background: transparent !important;
}

.main-header-bar .main-navigation ul li a,
.ast-header-navigation-buttons a {
  color: #F4EDE4 !important;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.main-header-bar .main-navigation ul li a:hover,
.main-header-bar .main-navigation ul li.current-menu-item > a {
  color: #E8A33D !important;
}

.main-header-bar .main-navigation ul.sub-menu {
  background: #1F2A44 !important;
  border: 1px solid rgba(244,237,228,0.12);
}

.ast-mobile-menu-buttons-minimal svg,
button.menu-toggle {
  color: #F4EDE4 !important;
}
.ast-mobile-menu-buttons-minimal .astra-icon-bar {
  background: #F4EDE4 !important;
}