.aee-estimateur {
    --aee-black: #101214;
    --aee-ink: #252a2e;
    --aee-muted: #667078;
    --aee-line: #dce1e4;
    --aee-soft: #f4f6f5;
    --aee-accent: #49715f;
    color: var(--aee-ink);
    font-family: inherit;
    margin: 1.5rem auto 3rem;
    max-width: 1180px;
}

.aee-estimateur *,
.aee-estimateur *::before,
.aee-estimateur *::after {
    box-sizing: border-box;
}

.aee-estimateur__intro {
    max-width: 780px;
    margin-bottom: clamp(1.75rem, 4vw, 3.5rem);
}

.aee-estimateur__eyebrow,
.aee-estimateur__results-label {
    color: var(--aee-accent);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    margin: 0 0 .65rem;
    text-transform: uppercase;
}

.aee-estimateur__intro h2 {
    color: var(--aee-black);
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.06;
    margin: 0 0 1rem;
}

.aee-estimateur__intro > p:last-child {
    color: var(--aee-muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.65;
    margin: 0;
}

.aee-estimateur__layout {
    align-items: stretch;
    display: grid;
    gap: clamp(1.25rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
}

.aee-estimateur__form,
.aee-estimateur__results {
    border: 1px solid var(--aee-line);
    border-radius: 4px;
    padding: clamp(1.25rem, 3vw, 2.25rem);
}

.aee-estimateur__form {
    background: #fff;
    display: grid;
    gap: 1.5rem;
}

.aee-estimateur__field label {
    color: var(--aee-black);
    display: block;
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: .55rem;
}

.aee-estimateur__options {
    border: 0;
    display: grid;
    gap: .8rem;
    margin: 0;
    padding: .25rem 0 0;
}

.aee-estimateur__options legend {
    color: var(--aee-black);
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: .65rem;
    padding: 0;
}

.aee-estimateur__option {
    align-items: center;
    border-bottom: 1px solid var(--aee-line);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0 0 .8rem;
}

.aee-estimateur__option > span {
    font-size: .88rem;
    font-weight: 600;
}

.aee-estimateur__choice {
    display: flex;
    flex: 0 0 auto;
}

.aee-estimateur .aee-estimateur__choice input {
    height: 1px;
    min-height: 0;
    opacity: 0;
    position: absolute;
    pointer-events: none;
    width: 1px;
}

.aee-estimateur__choice label {
    background: #fff;
    border: 1px solid #bcc5ca;
    cursor: pointer;
    font-size: .78rem;
    margin: 0;
    min-width: 52px;
    padding: .45rem .65rem;
    text-align: center;
}

.aee-estimateur__choice label:first-of-type {
    border-radius: 2px 0 0 2px;
}

.aee-estimateur__choice label:last-of-type {
    border-left: 0;
    border-radius: 0 2px 2px 0;
}

.aee-estimateur__choice input:checked + label {
    background: var(--aee-black);
    border-color: var(--aee-black);
    color: #fff;
}

.aee-estimateur__choice input:focus-visible + label {
    box-shadow: 0 0 0 3px rgba(73, 113, 95, .2);
    outline: 2px solid var(--aee-accent);
    outline-offset: 1px;
}

.aee-estimateur select,
.aee-estimateur input,
.aee-estimateur textarea {
    background-color: #fff;
    border: 1px solid #bcc5ca;
    border-radius: 2px;
    color: var(--aee-black);
    font: inherit;
    min-height: 52px;
    padding: .75rem .9rem;
    width: 100%;
}

.aee-estimateur select:focus,
.aee-estimateur input:focus,
.aee-estimateur textarea:focus {
    border-color: var(--aee-accent);
    box-shadow: 0 0 0 3px rgba(73, 113, 95, .16);
    outline: 0;
}

.aee-estimateur textarea {
    min-height: 120px;
    resize: vertical;
}

.aee-estimateur__surface {
    align-items: stretch;
    display: flex;
}

.aee-estimateur__surface input {
    border-radius: 2px 0 0 2px;
}

.aee-estimateur__surface span {
    align-items: center;
    background: var(--aee-soft);
    border: 1px solid #bcc5ca;
    border-left: 0;
    border-radius: 0 2px 2px 0;
    display: flex;
    font-weight: 700;
    padding: 0 1rem;
}

.aee-estimateur__field small {
    color: var(--aee-muted);
    display: block;
    line-height: 1.45;
    margin-top: .45rem;
}

.aee-estimateur__error {
    color: #9b2c2c;
    font-size: .85rem;
    margin: .45rem 0 0;
}

.aee-estimateur__results {
    background: var(--aee-black);
    color: #fff;
    display: flex;
    flex-direction: column;
}

.aee-estimateur__result-group {
    border-top: 1px solid rgba(255, 255, 255, .18);
    padding: 1.45rem 0;
}

.aee-estimateur__result-group h3 {
    color: #fff;
    font-size: .92rem;
    letter-spacing: .02em;
    margin: 0 0 .8rem;
}

.aee-estimateur__amount {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    font-size: clamp(1.55rem, 4vw, 2.35rem);
    font-weight: 700;
    gap: .4rem .65rem;
    line-height: 1.15;
    margin: 0;
}

.aee-estimateur__dash {
    color: #aab2b6;
    font-size: .95rem;
    font-weight: 400;
}

.aee-estimateur__unit {
    color: #b8c0c4;
    font-size: .78rem;
    line-height: 1.5;
    margin: .55rem 0 0;
}

.aee-estimateur__complex {
    background: rgba(73, 113, 95, .3);
    border-left: 3px solid #83ad99;
    font-size: .86rem;
    line-height: 1.55;
    margin: .25rem 0 1.4rem;
    padding: .85rem 1rem;
}

.aee-estimateur__feasibility {
    border-top: 1px solid rgba(255, 255, 255, .18);
    margin-top: .25rem;
    padding: 1.4rem 0;
}

.aee-estimateur__feasibility-label {
    color: #b8c0c4;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    margin: 0 0 .65rem;
    text-transform: uppercase;
}

.aee-estimateur__feasibility-value {
    align-items: center;
    display: flex;
    font-size: 1.35rem;
    gap: .65rem;
    margin: 0;
}

.aee-estimateur__feasibility-value span {
    background: #3c9a61;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(60, 154, 97, .18);
    height: 12px;
    width: 12px;
}

.aee-estimateur__feasibility[data-score="orange"] .aee-estimateur__feasibility-value span {
    background: #e39428;
    box-shadow: 0 0 0 4px rgba(227, 148, 40, .18);
}

.aee-estimateur__feasibility[data-score="red"] .aee-estimateur__feasibility-value span {
    background: #cc4c4c;
    box-shadow: 0 0 0 4px rgba(204, 76, 76, .18);
}

.aee-estimateur__slope {
    border-bottom: 1px solid var(--aee-line);
    padding-bottom: .8rem;
}

.aee-estimateur__cta {
    align-items: center;
    align-self: flex-start;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 2px;
    color: var(--aee-black) !important;
    display: inline-flex;
    font-size: .85rem;
    font-weight: 700;
    justify-content: center;
    margin-top: auto;
    min-height: 48px;
    padding: .75rem 1.25rem;
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease;
}

.aee-estimateur__cta:hover,
.aee-estimateur__cta:focus {
    background: transparent;
    color: #fff !important;
}

.aee-estimateur__disclaimer {
    border-left: 3px solid var(--aee-accent);
    color: var(--aee-muted);
    font-size: .82rem;
    line-height: 1.6;
    margin: 1.5rem 0 .5rem;
    padding: .25rem 0 .25rem 1rem;
}

.aee-estimateur__contact {
    background: var(--aee-soft);
    border: 1px solid var(--aee-line);
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
    margin-top: clamp(1.5rem, 4vw, 3rem);
    padding: clamp(1.25rem, 4vw, 3rem);
}

.aee-estimateur__contact-heading h3 {
    color: var(--aee-black);
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1.15;
    margin: 0 0 1rem;
}

.aee-estimateur__contact-heading > p:last-child {
    color: var(--aee-muted);
    line-height: 1.6;
    margin: 0;
}

.aee-estimateur__contact-form {
    display: grid;
    gap: 1.1rem;
}

.aee-estimateur__contact-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aee-estimateur__consent {
    align-items: flex-start;
    display: flex;
    gap: .65rem;
}

.aee-estimateur__consent input {
    flex: 0 0 auto;
    min-height: 0;
    margin-top: .25rem;
    width: auto;
}

.aee-estimateur__consent label {
    color: var(--aee-muted);
    font-size: .78rem;
    line-height: 1.55;
}

.aee-estimateur .aee-estimateur__honeypot {
    height: 0;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.aee-estimateur__submit {
    background: var(--aee-black);
    border: 1px solid var(--aee-black);
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .85rem;
    font-weight: 700;
    justify-self: start;
    min-height: 48px;
    padding: .75rem 1.25rem;
}

.aee-estimateur__submit:hover,
.aee-estimateur__submit:focus {
    background: var(--aee-accent);
    border-color: var(--aee-accent);
}

.aee-estimateur__submit:disabled {
    cursor: wait;
    opacity: .55;
}

.aee-estimateur__form-status {
    font-size: .84rem;
    line-height: 1.55;
    margin: 0;
    min-height: 1.3em;
}

.aee-estimateur__form-status.is-success {
    color: #23613f;
}

.aee-estimateur__form-status.is-error {
    color: #9b2c2c;
}

.aee-estimateur__version {
    color: #889197;
    font-size: .75rem;
    margin: 0 0 0 1.2rem;
}

@media (max-width: 800px) {
    .aee-estimateur__layout {
        grid-template-columns: 1fr;
    }

    .aee-estimateur__contact {
        grid-template-columns: 1fr;
    }

    .aee-estimateur__results {
        min-height: 0;
    }

    .aee-estimateur__cta {
        margin-top: .5rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .aee-estimateur {
        margin-top: .5rem;
    }

    .aee-estimateur__form,
    .aee-estimateur__results {
        padding: 1.1rem;
    }

    .aee-estimateur__contact-grid {
        grid-template-columns: 1fr;
    }

    .aee-estimateur__option {
        align-items: flex-start;
        flex-direction: column;
    }

    .aee-estimateur__amount {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aee-estimateur__cta {
        transition: none;
    }
}
