/* ============================================
   unmondededifferences.fr — dialogue-pages.css
   Compléments aux 9 pages reprises de la maquette « Le dialogue »
   (leur mise en page est écrite dans les gabarits, comme dans la
   maquette) : logo, pied de page, formulaires, agenda, mobile.
   ============================================ */

/* ── Logo : deux bulles ── */
.dl-logo-mark { display: inline-flex; gap: 3px; margin-right: 10px; vertical-align: middle; }
.dl-logo-mark span { display: block; width: 18px; height: 14px; border-radius: 8px 8px 8px 2px; background: var(--coral); }
.dl-logo-mark span + span { background: #E8B547; border-radius: 8px 8px 2px 8px; margin-top: 6px; }
.nav-logo { flex-direction: row; align-items: center; }
.nav-logo-main { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 22px; }
.nav-links a[aria-current="page"] { background: var(--tint); }
.nav-links a.nav-cta { background: var(--coral); }
.nav-links a.nav-cta:hover { background: var(--night); }

/* ── Pages de la maquette : passer sous l'en-tête fixe ── */
.dl-main { padding-top: 84px; }
.dl-main a:not([style*="color"]) { color: inherit; }
.dl-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dl-cal { width: 100%; border-radius: 32px; overflow: hidden; background: #fff; }
.dl-cal iframe { display: block; width: 100%; height: 680px; border: 0; }
.dl-form-msg { margin: 0; font-size: 15px; line-height: 1.5; padding: 14px 18px; border-radius: 18px; }
.dl-form-error { background: #FBE3D2; color: #382D28; }
.dl-form-success { background: #F7E9D1; color: #382D28; font-size: 17px; }
.dl-main [aria-pressed="true"] { background: #382D28 !important; color: #fff !important; }
.lm-form-card .lm-success h3, .lm-form-card .lm-success p { color: #fff !important; }
.lm-form-card .lm-error-msg { color: #fff; background: rgba(255,255,255,0.12); }

/* ── Pied de page : cinq colonnes, page en cours en rose ── */
.foot-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
.foot-current { color: #E8B547 !important; }
@media (max-width: 1000px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}

/* ── Mobile : la maquette fixe des tailles « ordinateur » ── */
@media (max-width: 760px) {
  .dl-main h1 { font-size: clamp(2.3rem, 10.5vw, 3.4rem) !important; }
  .dl-main h2 { font-size: clamp(1.9rem, 8vw, 2.6rem) !important; }
  .dl-main section > div[style*="max-width: 1240px"] { padding-top: 64px !important; padding-bottom: 64px !important; }
  .dl-main [style*="padding: 40px"] { padding: 26px !important; }
  .dl-main [style*="border-radius: 40px"] { border-radius: 28px !important; }
  .dl-main [style*="grid-template-columns: 1fr 1fr"],
  .dl-main [style*="grid-template-columns: repeat(2"] { grid-template-columns: 1fr !important; }
  .dl-main [style*="flex: 1 1"] { flex-basis: 100% !important; }
  .dl-main [style*="white-space: nowrap"] { white-space: normal !important; }
  .dl-cal iframe { height: 760px; }
}

/* Les titres héritent de la couleur de leur section, comme dans la maquette */
.dl-main h1, .dl-main h2, .dl-main h3, .dl-main h4 { color: inherit; }
