/* Dev4bel brand overrides */

/* Header compact / remonté — comme Deuse */
#header {
  padding: 4px 0 !important;
  min-height: 64px !important;
}
@media (min-width: 879px) {
  #header {
    min-height: 84px !important;
    padding: 8px 0 !important;
  }
}
#header.fixed-position {
  min-height: 60px !important;
  padding: 6px 0 !important;
}
#header .logo {
  padding-top: 0 !important;
  display: flex;
  align-items: center;
}
#header .logo a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img,
.footer__logo img {
  width: auto !important;
  height: 48px !important;
  max-width: 220px !important;
}
@media (min-width: 880px) {
  .logo img {
    height: 56px !important;
    max-width: 240px !important;
  }
}
#header.fixed-position .logo img {
  height: 40px !important;
  max-width: 170px !important;
  width: auto !important;
}

.intro-section {
  padding-top: 72px !important;
}
@media (min-width: 879px) {
  .intro-section {
    padding-top: 96px !important;
  }
}

/* Cookie: hidden until JS decides; persist via cookie */
.cookie__banner.dev4bel-cookie-ready:not(.cookie__banner--hidden) {
  display: block;
}
.cookie__banner.cookie__banner--hidden {
  display: none !important;
  pointer-events: none !important;
}

/* Contact form */
.dev4bel-contact-form {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: left;
  display: grid;
  gap: 1rem;
}
.dev4bel-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.dev4bel-contact-form label {
  display: grid;
  gap: .4rem;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #231f20;
}
.dev4bel-contact-form input,
.dev4bel-contact-form select,
.dev4bel-contact-form textarea {
  width: 100%;
  border: 1px solid #cecece;
  padding: .85rem 1rem;
  font: 14px/1.4 "Open Sans", Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: #231f20;
  background: #fff;
}
.dev4bel-contact-form textarea { min-height: 140px; resize: vertical; }
.dev4bel-gdpr {
  display: flex !important;
  align-items: flex-start;
  gap: .75rem;
  text-transform: none !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  line-height: 1.45;
  color: #3a3a3a;
}
.dev4bel-gdpr input {
  width: auto !important;
  margin-top: .2rem;
  flex: 0 0 auto;
}
.dev4bel-form-note { font-size: 13px; color: #5e5e5e; text-transform: none; font-weight: 400; }
.dev4bel-form-status { font-weight: 700; }
.dev4bel-form-status.is-ok { color: #1a1718; }
.dev4bel-form-status.is-err { color: #b00020; }

/* Space between form and contact image */
.contact__picture,
.wrapper--contact.contact__picture {
  margin-top: 2.5rem !important;
  padding-top: 1.5rem !important;
}

@media (max-width: 700px) {
  .dev4bel-form-grid { grid-template-columns: 1fr; }
  .logo img { height: 44px !important; }
}
