.rf-centered {
    text-align: center;
}

.rf-bg--alt,
.rf-bg--alt h2 {
    background-color: var(--bf500);
    color: var(--g100);
}
p.rf-hint-text {
    margin-bottom: 0;
}
.tofill {
    background-color: #fffacd;
    font-weight: lighter;
    padding: 0.1em 0.2em;
}
span.tofill::after {
    content: "]";
}
span.tofill::before {
    content: "[";
}
/* ADEME logo */
.fr-header__operator {
    width: 5.8rem;
    padding-top: 0;
    padding-bottom: 0;
}
/* le SVG inline garde sinon l'espace de la ligne de base sous le logo */
.fr-header__operator svg {
    display: block;
}
.fr-footer__logo {
    max-width: 6.5rem;
    padding-top: 0.2rem;
    margin-left: 2rem;
}
.aldo-logo {
    height: 2.5rem;
}
.fr-header__service {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Newsletter subscribe button loader */
.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.loader-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-rotate 0.6s linear infinite;
}

.loader-text {
    display: inline-block;
}

@keyframes spinner-rotate {
    to {
        transform: rotate(360deg);
    }
}

.fr-btn.btn-loading {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Bandeau d'accueil : texte sur fond blanc, collines sur les côtés */
.aldo-bandeau {
    position: relative;
    overflow: hidden;
    height: 13rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 37%;
}
.aldo-bandeau__colline {
    position: absolute;
    top: 0;
    width: min(660px, 37%);
    height: 100%;
}
.aldo-bandeau__colline--gauche {
    left: 0;
}
.aldo-bandeau__colline--droite {
    right: 0;
}
.aldo-bandeau__texte {
    position: relative;
    margin: 0;
    text-align: center;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.3;
    min-width: 16rem;
}
@media (max-width: 40em) {
    .aldo-bandeau {
        padding: 1.5rem 1.5rem 0;
        align-items: flex-start;
    }
    .aldo-bandeau__colline {
        top: auto;
        bottom: 0;
        width: 36%;
        height: 58%;
    }
    .aldo-bandeau__texte {
        font-size: 1.25rem;
        min-width: 0;
    }
}

/* Titre d'accueil surligné */
.aldo-titre {
    text-align: center;
    line-height: 1.5;
}
.aldo-titre + .fr-container-fluid #location-search-form {
    margin-inline: auto;
}
#location-search-form :is(.fr-label, .fr-input, .fr-btn, .fr-tag) {
    font-size: 1.125rem;
}
.aldo-surligne {
    color: inherit;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.aldo-surligne--bleu {
    background-color: #cde9fa;
}
.aldo-surligne--orange {
    background-color: #ffc6a6;
}
.aldo-surligne--vert {
    background-color: #c9eed3;
}

/* Section verte des 4 étapes */
.aldo-etapes {
    position: relative;
    background-color: #1f6b45;
    color: #fff;
    padding: 7.5rem 0 6rem;
}
.aldo-etapes__vague {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 90px;
}
.aldo-etapes h2 {
    color: #fff;
    text-align: center;
}
.aldo-etapes__accent {
    color: #161616;
}
.aldo-etapes__question {
    max-width: 45rem;
    margin: 0 auto 3rem;
    text-align: center;
    color: #e6f2ea;
}
.aldo-etapes__question a {
    color: #fff;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: #ffb38a;
    text-underline-offset: 4px;
    background-image: none;
}
.aldo-etapes__question a:hover {
    text-decoration-thickness: 2px;
    background-color: transparent;
}
.aldo-etapes__liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13.75rem, 1fr));
    gap: 2rem;
}
.aldo-etapes__liste li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
}
.aldo-etapes__numero {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    color: #161616;
}
.aldo-etapes__carte {
    flex: 1;
    width: 100%;
    background: #fff;
    color: #161616;
    border-bottom: 4px solid #ffb38a;
    padding: 1.5rem;
    text-align: center;
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.aldo-etapes__carte strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #1f6b45;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Fiches actions : bordure basse colorée par secteur */
.aldo-fiche {
    border-bottom: 4px solid #929292;
}
.aldo-fiche--agriculture {
    border-bottom-color: #f59a6c;
}
.aldo-fiche--forets {
    border-bottom-color: #7cc49a;
}
.aldo-fiche--urbanisme {
    border-bottom-color: #9ed3f0;
}

/* En-tête pleine largeur : logos institutionnels à gauche, logo ALDO centré */
.aldo-header__conteneur {
    max-width: none;
}
@media (min-width: 62em) {
    .aldo-header__conteneur .fr-header__brand {
        position: relative;
        width: 100%;
    }
    .aldo-header__conteneur .fr-header__service {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .aldo-header__conteneur .fr-header__body-row {
        padding: 0.7rem 0;
    }
}

/* pas de fond gris au survol de l'en-tête */
.fr-header__brand.fr-enlarge-link:hover {
    background-color: transparent;
}
