/* ============================= */
/* HAUT DE PAGE FIXE - GRHTLD */
/* ============================= */

:root {
  --bg: #F4F1EA;
  --hdp-bg: #F4F1EA;
  --surface: #FFFFFF;
  --ink: #14110D;
  --ink-2: #3B362D;
  --ink-3: #71695C;
  --line: #DDD6C6;

  --navy: #1F3565;
  --navy-dk: #152545;
  --gold: #D9A536;
  --rose: #B72A30;

  --serif: "Source Serif 4", "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --radius-l: 4px;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

/* ============================= */
/* SECTION */
/* ============================= */
body:not(.home) main,
body.home main {
  padding-top: 80px;
}


.hdp[data-color="#F4F1EA"] {
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
  background: #F4F1EA;
  color: var(--ink);
}

.hdp .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.text-blue {
  color: #263b67 !important;
}

.text-gold {
  color: #e4b24a !important;
}

/* ============================= */
/* HERO GRID */
/* ============================= */

.hdp__content {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  padding-bottom: 50px;
}

.hdp__main {
  max-width: 620px;
}

/* ============================= */
/* LABEL */
/* ============================= */

.hdp__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
}

.hdp__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
  flex-shrink: 0;
}

/* ============================= */
/* TITRE */
/* ============================= */

.hdp__title h1 {
  margin: 0 0 32px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 3,3vw, 88px);
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--ink);
}

.hdp__title h1 em,
.hdp__title h1 i {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

/* ============================= */
/* INTRO */
/* ============================= */

.hdp__intro {
  max-width: 500px;
  margin-bottom: 40px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
}

.hdp__intro p {
  margin: 0;
}

/* ============================= */
/* BOUTONS */
/* ============================= */

.hdp__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.hdp__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), transform .15s var(--ease), border-color .25s;
}

.hdp__btn:hover {
  transform: translateY(-1px);
}

/* Bouton principal */
.hdp__btn--primary {
  padding: 14px 22px;
  
  border-radius: 100px;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
}

.hdp__btn--primary:hover {
  background: var(--navy-dk);
  color: #fff;
}

/* Bouton secondaire façon modèle */
.hdp__btn--secondary {
  padding: 10px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.hdp__btn--secondary:hover {
  color: var(--navy);
  transform: none;
}

/* Picto bouton secondaire */
.hdp__btn--secondary.has-picto::after {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--navy);
  background-image: var(--picto-url);
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-flex;
  flex-shrink: 0;
  transition: transform .25s var(--ease), background-color .25s;
}

.hdp__btn--secondary.has-picto:hover::after {
  transform: translateX(4px);
  background-color: var(--gold);
}

/* Fallback flèche si aucun picto n'est renseigné */
.hdp__btn--secondary:not(.has-picto)::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  transition: transform .25s var(--ease), background .25s, color .25s;
}

.hdp__btn--secondary:not(.has-picto):hover::after {
  transform: translateX(4px);
  background: var(--gold);
  color: var(--navy-dk);
}

/* ============================= */
/* IMAGE DROITE */
/* ============================= */

.hdp__visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hdp__figure {
  position: relative;
  width: 100%;
  max-width: 554.156px;
  height: 692.688px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: #765725;
}

.hdp__figure-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}



/* Label image : Place Vauboin · vers 1908 */
.hdp__image-label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 48px);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  padding: 10px 14px;
  border-radius: 100px;
  z-index: 3;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

.hdp__image-label-dot {
  width: 8px;
  height: 8px;
  background: var(--rose);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1200px) {
  .hdp {
    padding-top: 72px;
  }

  .hdp .container {
    padding: 0 28px;
  }

  .hdp__content {
    gap: 64px;
  }
}

@media (max-width: 1024px) {
  .hdp {
    padding-top: 64px;
  }

  .hdp .container {
    padding: 0 26px;
  }

  .hdp__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hdp__main {
    max-width: 760px;
  }

  .hdp__visual {
    justify-content: center;
  }

  .hdp__figure {
    max-width: 540px;
    height: auto;
    aspect-ratio: 5 / 4;
  }
}

@media (max-width: 600px) {
  .hdp {
    padding-top: 48px;
  }

  .hdp .container {
    padding: 0 20px;
  }

  .hdp__label {
    margin-bottom: 22px;
    font-size: 10.5px;
  }

  .hdp__title h1 {
    font-size: clamp(40px, 11vw, 60px);
    margin-bottom: 24px;
  }

  .hdp__intro {
    font-size: 16.5px;
    margin-bottom: 28px;
  }

  .hdp__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hdp__btn--primary {
    width: auto;
  }

  .hdp__figure {
    max-width: none;
    height: auto;
    aspect-ratio: 4 / 3;
  }


  .hdp__image-label {
    left: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
    padding: 8px 12px;
    font-size: 11.5px;
  }
}

@media (max-width: 400px) {
  .hdp .container {
    padding: 0 16px;
  }

  .hdp__title h1 {
    font-size: clamp(34px, 10vw, 48px);
  }
}