/* Encart France Rénov' obligatoire (loi Cazenave) – charte Anah 2026 */
@font-face {
  font-family: 'Marianne';
  src: url('Marianne-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Marianne';
  src: url('Marianne-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.et_pb_section.france-renov-section {
  padding: 10px 0;
  background: transparent;
}

/* --logo : hauteur des logos ; marges latérales = 1 visage France Rénov' (0,57), écart texte = Rénov' / 2 (0,67) */
.france-renov-encart {
  --logo: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: -moz-fit-content;
  width: fit-content;
  max-width: calc(100% - 40px);
  min-height: 150px;
  margin: 30px auto;
  padding: calc(var(--logo) / 4) calc(var(--logo) * 0.6);
  background: #fff;
  border-top: 0.14em solid #000;
  border-bottom: 0.14em solid #000;
  color: #000 !important;
  font-family: 'Marianne', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
  text-decoration: none !important;
}
.france-renov-encart:hover,
.france-renov-encart:focus {
  color: #000 !important;
}
.france-renov-encart:focus-visible {
  outline: 2px solid #000091;
  outline-offset: 3px;
}
.france-renov-encart__logos {
  display: block;
  flex: none;
  width: auto !important;
  height: var(--logo) !important;
  max-width: none !important;
}
.france-renov-encart__texte {
  display: block;
  margin-left: calc(var(--logo) * 0.67);
  color: #000;
  font: inherit;
}
.france-renov-encart__texte strong {
  font-weight: 700;
}
.france-renov-encart:hover .france-renov-encart__texte strong {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .france-renov-encart {
    --logo: clamp(30px, 9.5vw, 100px);
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
    font-size: clamp(10.5px, 2.85vw, 16px);
  }
}
