/* En-tête et pied de page ivandemonchy.fr (proposition B, 24/11/2026) */
.dm-header, .dm-footer { font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; color: #28303D; line-height: 1.5; }
.dm-header *, .dm-footer * { box-sizing: border-box; max-width: none; }
.dm-header a, .dm-footer a { text-decoration: none; font-size: inherit; line-height: inherit; font-weight: inherit; }
.dm-wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.dm-oswald { font-family: Oswald, "Arial Narrow", sans-serif; }

/* niveau 1 */
.dm-top { background: #fff; }
.dm-top .dm-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 10px; padding-bottom: 10px; }
.dm-brand { display: flex; align-items: center; gap: 16px; color: #4D4D4D; }
.dm-brand img { width: 92px; height: 92px; display: block; }
.dm-brand-txt { display: flex; flex-direction: column; gap: 2px; }
.dm-name { font-size: 26px; font-weight: 700; color: #4D4D4D; line-height: 1.2; }
.dm-sub { font-size: 16px; color: #6B6B6B; line-height: 1.3; }
.dm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.dm-phone { display: flex; align-items: center; gap: 10px; color: #4D4D4D; }
.dm-phone svg { flex: none; }
.dm-phone-txt { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.dm-phone-num { font-size: 19px; font-weight: 600; color: #28303D; }
.dm-phone:hover .dm-phone-num { color: #000; text-decoration: underline; }
.dm-header .dm-rdv { background: #28303D; color: #fff !important; font-size: 16px; padding: 11px 20px; border-radius: 4px; display: inline-block; }
.dm-header .dm-rdv:hover { background: #000; }
.dm-rdv-short { display: none; }

/* niveau 2 : menu */
.dm-nav { background: #E5E5E5; border-top: 1px solid #D4D4D4; border-bottom: 1px solid #D4D4D4; }
.dm-nav .dm-wrap { padding-left: 12px; padding-right: 12px; }
.dm-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: 17px; }
.dm-menu a { display: block; padding: 12px 16px; color: #28303D; }
.dm-menu a:hover { background: #fff; color: #000; }
.dm-menu a[aria-current="page"] { background: #fff; color: #000; }
.dm-toggle { display: none; }

/* pied de page */
.dm-footer { background: #F2F2F2; border-top: 3px solid #4D4D4D; font-size: 14px; line-height: 1.6; color: #4D4D4D; }
.dm-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; padding-top: 40px; padding-bottom: 32px; }
.dm-card { background: #fff; border-radius: 4px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.dm-plain { padding: 20px 4px; display: flex; flex-direction: column; gap: 6px; }
.dm-label { font-size: 13px; color: #6B6B6B; text-transform: uppercase; letter-spacing: 0.08em; }
.dm-place { font-size: 19px; font-weight: 600; color: #28303D; }
.dm-footer strong { color: #28303D; }
.dm-flink { color: #4D4D4D; }
.dm-flink:hover { color: #000; text-decoration: underline !important; }
.dm-footer .dm-strong-link { font-weight: 600; color: #28303D; }
.dm-bottom { background: #fff; }
.dm-bottom .dm-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 14px; padding-bottom: 14px; font-size: 13px; }
.dm-bottom-brand { display: flex; align-items: center; gap: 10px; }
.dm-bottom-brand img { width: 32px; height: 32px; display: block; }
.dm-bottom-name { font-weight: 700; color: #4D4D4D; font-size: 15px; }
.dm-bottom-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.dm-u { text-decoration: underline !important; }

/* tablette et mobile */
@media (max-width: 899px) {
  .dm-top .dm-wrap { flex-wrap: nowrap; padding-left: 16px; padding-right: 16px; gap: 12px; }
  .dm-brand { gap: 10px; min-width: 0; }
  .dm-brand img { width: 56px; height: 56px; }
  .dm-name { font-size: 20px; }
  .dm-sub { font-size: 13px; }
  .dm-sub-long { display: none; }
  .dm-actions { flex-wrap: nowrap; gap: 8px; flex: none; }
  .dm-phone { width: 44px; height: 44px; border: 1.5px solid #28303D; border-radius: 50%; justify-content: center; }
  .dm-phone-txt { display: none; }
  .dm-header .dm-rdv { font-size: 15px; padding: 10px 14px; }
  .dm-rdv-long { display: none; }
  .dm-rdv-short { display: inline; }
  .dm-nav .dm-toggle { display: flex; align-items: center; gap: 10px; width: 100%; background: transparent !important; color: #28303D !important; border: 0 !important; border-radius: 0; box-shadow: none; text-transform: none; font-weight: 400; line-height: 1.4; padding: 12px 4px; font-family: Oswald, "Arial Narrow", sans-serif; font-size: 17px; color: #28303D; cursor: pointer; }
  .dm-menu { display: none; flex-direction: column; padding-bottom: 8px; }
  .dm-nav.dm-open .dm-menu { display: flex; }
  .dm-menu a { padding: 12px 8px; border-top: 1px solid #D4D4D4; }
}
@media (max-width: 420px) {
  .dm-brand img { width: 44px; height: 44px; }
  .dm-name { font-size: 17px; }
  .dm-sub { display: none; }
  .dm-header .dm-rdv { padding: 10px 12px; }
}
