/* =====================================================
   RENO3R - FORMULAIRE MULTI-ÉTAPES
   ===================================================== */

.r3r-form-shell {
    --r3r-green: #6BBF59;
    --r3r-green-dark: #56A94A;
    --r3r-blue: #0B2B50;
    --r3r-light-blue: #E6F0F8;
    --r3r-bg: #F7F9FC;
    --r3r-border: #E1E7EE;
    --r3r-text: #243449;
    --r3r-muted: #66758A;

    max-width: 860px;
    margin: 0 auto;
}


.r3r-form-shell .wpcf7 {
    width: 100%;
}


.r3r-multistep,
.r3r-success {
    background: #fff;
    border-radius: 22px;
    padding: 38px;
    box-shadow:
        0 20px 60px rgba(11, 43, 80, 0.10);
}

/* ==========================================================
   FORCE RENO3R FULL WIDTH
   ========================================================== */

body.page .reno3r-page {

    width: 100vw;

    max-width: none;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    overflow: hidden;
}


/*
 * Elementor peut ajouter une largeur maximale
 * au widget HTML ou au conteneur.
 */

body.page .elementor-widget-html:has(.reno3r-page),
body.page .elementor-widget-html:has(.reno3r-page) > .elementor-widget-container {

    width: 100%;

    max-width: none;

}


/*
 * Les sections Réno3R occupent toute la largeur.
 */

.reno3r-hero,
.reno3r-section,
.reno3r-form-intro {

    width: 100%;

    max-width: none;
}

/* =====================================================
   ÉTAPE COORDONNÉES
   ===================================================== */



.r3r-contact-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 0 18px;

}


.r3r-field-full {

    grid-column:
        1 / -1;

}



/* Projet sélectionné */

.r3r-selected-project {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 10px;

    padding: 15px 17px;

    border:
        1px solid
        #dce9d8;

    border-radius: 12px;

    background:
        #f6fbf4;

}


.r3r-selected-project span {

    color:
        var(--r3r-muted);

    font-size: 13px;

}


.r3r-selected-project strong {

    color:
        var(--r3r-blue);

    font-size: 14px;

    text-align: right;

}



/* MOBILE */

@media (max-width: 700px) {

    .r3r-contact-grid {

        grid-template-columns: 1fr;

    }


    .r3r-field-full {

        grid-column: auto;

    }


    .r3r-selected-project {

        align-items: flex-start;

        flex-direction: column;

        gap: 4px;

    }


    .r3r-selected-project strong {

        text-align: left;

    }

}

/* PROGRESSION */

.r3r-progress {
    margin-bottom: 38px;
}


.r3r-progress-bar {
    width: 100%;
    height: 7px;
    background: #edf1f5;
    border-radius: 20px;
    overflow: hidden;
}


.r3r-progress-fill {
    display: block;
    width: 50%;
    height: 100%;
    background: var(--r3r-green);
    border-radius: 20px;
    transition: width .35s ease;
}


.r3r-progress-text {
    margin-top: 9px;
    color: var(--r3r-muted);
    font-size: 13px;
    text-align: right;
}


/* ÉTAPES */

.r3r-step {
    display: none;
}


.r3r-step-active {
    display: block;
    animation: r3rFade .32s ease;
}


@keyframes r3rFade {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* TITRES */

.r3r-step-heading {
    margin-bottom: 28px;
}


.r3r-eyebrow {
    display: inline-block;
    margin-bottom: 8px;

    color: var(--r3r-green-dark);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;
}


.r3r-step-heading h2,
.r3r-success h2 {

    margin: 0 0 10px;

    color: var(--r3r-blue);

    font-size: clamp(25px, 4vw, 36px);
    line-height: 1.2;
    font-weight: 800;
}


.r3r-step-heading p,
.r3r-success p {

    margin: 0;

    color: var(--r3r-muted);

    font-size: 16px;
    line-height: 1.6;
}



/* =====================================================
   CARTES CATÉGORIES
   ===================================================== */

.r3r-project-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}


.r3r-project-card {

    position: relative;

    height: 280px;
    width: 280px;

    padding: 25px;

    border: 2px solid var(--r3r-border);
    border-radius: 18px;

    background: #fff;

    color: var(--r3r-blue);

    text-align: left;

    cursor: pointer;

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}


.r3r-project-card:hover {

    transform: translateY(-3px);

    border-color: var(--r3r-green);

    box-shadow:
        0 15px 30px rgba(11, 43, 80, .10);
}


.r3r-project-card.r3r-selected {

    border-color: var(--r3r-green);

    background: #f5fcf3;

    box-shadow:
        0 12px 28px rgba(107, 191, 89, .18);
}


.r3r-project-icon {

    display: flex;

    width: 58px;
    height: 58px;

    margin-bottom: 22px;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #eef8ec;

    color: var(--r3r-green-dark);

    font-size: 26px;
}


.r3r-project-card strong {

    display: block;

    padding-right: 30px;

    font-size: 18px;
    line-height: 1.3;
}


.r3r-project-arrow {

    position: absolute;

    right: 20px;
    bottom: 18px;

    color: var(--r3r-green-dark);

    font-size: 22px;
}



/* =====================================================
   CHAMPS
   ===================================================== */

.r3r-field {
    margin-bottom: 21px;
}


.r3r-field label {

    display: block;

    margin-bottom: 8px;

    color: var(--r3r-blue);

    font-size: 15px;
    font-weight: 700;
}


.r3r-field input,
.r3r-field select,
.r3r-field textarea {

    width: 100%;

    border: 1px solid var(--r3r-border);

    border-radius: 12px;

    padding: 14px 15px;

    background: #fff;

    color: var(--r3r-text);

    font-family: inherit;
    font-size: 16px;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}


.r3r-field textarea {

    min-height: 145px;

    resize: vertical;
}


.r3r-field input:focus,
.r3r-field select:focus,
.r3r-field textarea:focus {

    outline: none;

    border-color: var(--r3r-green);

    box-shadow:
        0 0 0 4px rgba(107, 191, 89, .14);
}


.r3r-field small {

    display: block;

    margin-top: 6px;

    color: var(--r3r-muted);

    font-size: 13px;
}



/* =====================================================
   BOUTONS
   ===================================================== */

.r3r-nav {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-top: 30px;
}


.r3r-btn-next,
.r3r-submit,
.r3r-followup-submit {

    appearance: none;

    border: 0 !important;

    border-radius: 12px !important;

    padding: 14px 23px !important;

    background: var(--r3r-green) !important;

    color: #fff !important;

    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 800 !important;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(107, 191, 89, .27);

    transition:
        background .15s ease,
        transform .15s ease;
}


.r3r-btn-next:hover,
.r3r-submit:hover,
.r3r-followup-submit:hover {

    background: var(--r3r-green-dark) !important;

    transform: translateY(-1px);
}


.r3r-btn-back {

    appearance: none;

    border: 0;

    padding: 12px 5px;

    background: transparent;

    color: var(--r3r-muted);

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}


.r3r-btn-back:hover {

    color: var(--r3r-blue);
}



/* =====================================================
   VALIDATION
   ===================================================== */

.r3r-field-error {

    border-color: #d84b4b !important;

    box-shadow:
        0 0 0 3px rgba(216, 75, 75, .10) !important;
}


.r3r-error-message {

    margin-top: 6px;

    color: #c93f3f;

    font-size: 13px;
}


.r3r-privacy {

    margin-top: 19px;

    color: var(--r3r-muted);

    text-align: center;

    font-size: 12px;
}


.r3r-privacy i {

    margin-right: 5px;

    color: var(--r3r-green-dark);
}



/* =====================================================
   ÉCRAN DE SUCCÈS
   ===================================================== */

.r3r-success {

    text-align: center;

    animation: r3rFade .4s ease;
}


.r3r-success-icon {

    display: flex;

    width: 76px;
    height: 76px;

    margin: 0 auto 22px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eff9ed;

    color: var(--r3r-green-dark);

    font-size: 32px;
}


.r3r-success-intro {

    max-width: 600px;

    margin: 0 auto 32px !important;
}


.r3r-success-extra {

    margin-top: 30px;

    padding: 28px;

    border-radius: 16px;

    background: var(--r3r-bg);

    text-align: left;
}


.r3r-success-extra h3 {

    margin: 0 0 6px;

    color: var(--r3r-blue);

    font-size: 20px;
}


.r3r-success-extra > p {

    margin-bottom: 23px;
}


.r3r-skip-followup {

    margin-top: 20px;

    border: 0;

    background: transparent;

    color: var(--r3r-muted);

    text-decoration: underline;

    cursor: pointer;
}



/* CF7 */

.r3r-form-shell .wpcf7-response-output {
    display: none;
}


.r3r-form-shell .wpcf7-spinner {

    vertical-align: middle;
}



/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 700px) {

    .r3r-multistep,
    .r3r-success {
        padding: 25px 19px;
        border-radius: 16px;
    }


    .r3r-project-grid {
        grid-template-columns: 1fr;
    }


    .r3r-project-card {

        display: grid;

        grid-template-columns:
            52px 1fr 20px;

        align-items: center;

        gap: 14px;

        min-height: 100px;

        padding: 18px;
    }


    .r3r-project-icon {

        width: 50px;
        height: 50px;

        margin: 0;

        font-size: 21px;
    }


    .r3r-project-card strong {

        padding: 0;

        font-size: 16px;
    }


    .r3r-project-arrow {

        position: static;

        text-align: right;
    }


    .r3r-nav {

        flex-direction: column-reverse;

        align-items: stretch;
    }


    .r3r-btn-next,
    .r3r-submit {

        width: 100% !important;
    }


    .r3r-btn-back {

        width: 100%;
    }

}

/* ==========================================================
   RENO3R - PAGE
   ========================================================== */

.reno3r-page {

    --reno3r-green: #6BBF59;
    --reno3r-green-dark: #56A94A;
    --reno3r-blue: #0B2B50;
    --reno3r-text: #243449;
    --reno3r-muted: #64748B;
    --reno3r-light: #F5F8FB;
    --reno3r-green-light: #F1F9EF;
    --reno3r-border: #E2E8F0;

    font-family:
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--reno3r-text);
}


.reno3r-page *,
.reno3r-page *::before,
.reno3r-page *::after {
    box-sizing: border-box;
}


.reno3r-wrap {

    width: min(1180px, 92%);

    margin-left: auto;
    margin-right: auto;
}


.reno3r-section {
    padding: 90px 0;
}



/* ==========================================================
   TYPOGRAPHIE
   ========================================================== */

.reno3r-kicker {

    display: inline-block;

    margin-bottom: 10px;

    color: var(--reno3r-green-dark);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.reno3r-section-heading {

    max-width: 750px;

    margin-bottom: 45px;
}


.reno3r-heading-center {

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


.reno3r-section-heading h2,
.reno3r-benefits-copy > h2,
.reno3r-form-intro h2 {

    margin:
        0
        0
        16px;

    color: var(--reno3r-blue);

    font-size:
        clamp(
            30px,
            4vw,
            44px
        );

    font-weight: 800;

    line-height: 1.15;
}


.reno3r-section-heading p,
.reno3r-benefits-intro {

    margin: 0;

    color: var(--reno3r-muted);

    font-size: 18px;

    line-height: 1.7;
}



/* ==========================================================
   HERO
   ========================================================== */

.reno3r-hero {

    position: relative;

    display: flex;

    min-height: 630px;

    align-items: center;

    overflow: hidden;

    background:
        #0B2B50;
}


.reno3r-hero-bg {

    position: absolute;

    inset: 0;

    background-image:
        url("https://energie3r.ca/wp-content/uploads/2026/10/hero.png");

    background-position: center;

    background-size: cover;
}


.reno3r-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 30, 55, .93) 0%,
            rgba(7, 30, 55, .80) 46%,
            rgba(7, 30, 55, .30) 100%
        );
}


.reno3r-hero-content {

    position: relative;

    z-index: 2;

    padding-top: 90px;
    padding-bottom: 90px;
}


.reno3r-hero-text {

    max-width: 720px;
}


.reno3r-hero .reno3r-kicker {
    color: #A8E59A;
}


.reno3r-hero h1 {

    margin: 0 0 22px;

    color: #fff;

    font-size:
        clamp(
            38px,
            5.6vw,
            68px
        );

    font-weight: 850;

    line-height: 1.06;

    letter-spacing: -.025em;
}


.reno3r-hero h1 span {
    color: #82D36F;
}


.reno3r-hero-text > p {

    max-width: 660px;

    margin:
        0
        0
        30px;

    color: rgba(255,255,255,.88);

    font-size: 20px;

    line-height: 1.65;
}



/* HERO BUTTONS */

.reno3r-hero-actions {

    display: flex;

    gap: 13px;

    flex-wrap: wrap;

    margin-bottom: 30px;
}


.reno3r-btn-primary,
.reno3r-btn-secondary {

    display: inline-flex;

    min-height: 52px;

    padding:
        0
        22px;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-size: 16px;
    font-weight: 800;

    text-decoration: none !important;

    transition:
        transform .15s ease,
        background .15s ease;
}


.reno3r-btn-primary {

    background: var(--reno3r-green);

    color: #fff !important;
}


.reno3r-btn-primary:hover {

    background: var(--reno3r-green-dark);

    transform: translateY(-2px);
}


.reno3r-btn-secondary {

    border:
        1px solid
        rgba(255,255,255,.30);

    background:
        rgba(255,255,255,.08);

    color: #fff !important;
}


.reno3r-btn-secondary:hover {

    background:
        rgba(255,255,255,.15);
}



/* HERO POINTS */

.reno3r-hero-points {

    display: flex;

    gap: 22px;

    flex-wrap: wrap;
}


.reno3r-hero-points span {

    color:
        rgba(255,255,255,.78);

    font-size: 14px;
}


.reno3r-hero-points i {

    margin-right: 5px;

    color: #8BDB78;
}



/* ==========================================================
   COMMENT ÇA MARCHE
   ========================================================== */

.reno3r-how {
    background: #fff;
}


.reno3r-steps {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.reno3r-step-card {

    position: relative;

    padding: 32px;

    border:
        1px solid
        var(--reno3r-border);

    border-radius: 20px;

    background: #fff;

    box-shadow:
        0 12px 35px
        rgba(11,43,80,.06);
}


.reno3r-step-number {

    position: absolute;

    top: 18px;
    right: 20px;

    color:
        rgba(11,43,80,.09);

    font-size: 44px;

    font-weight: 900;

    line-height: 1;
}


.reno3r-step-icon {

    display: flex;

    width: 60px;
    height: 60px;

    margin-bottom: 24px;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        var(--reno3r-green-light);

    color:
        var(--reno3r-green-dark);

    font-size: 25px;
}


.reno3r-step-card h3 {

    margin:
        0
        0
        10px;

    color: var(--reno3r-blue);

    font-size: 20px;

    font-weight: 800;
}


.reno3r-step-card p {

    margin: 0;

    color: var(--reno3r-muted);

    line-height: 1.65;
}



/* ==========================================================
   TYPES DE PROJETS
   ========================================================== */

.reno3r-projects-section {
    background: var(--reno3r-light);
}


.reno3r-projects-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.reno3r-project {

    display: flex;

    min-height: 350px;

    padding: 28px;

    flex-direction: column;

    border:
        1px solid
        var(--reno3r-border);

    border-radius: 18px;

    background: #fff;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}


.reno3r-project:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 18px 40px
        rgba(11,43,80,.10);
}


.reno3r-project-icon {

    display: flex;

    width: 58px;
    height: 58px;

    margin-bottom: 22px;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        var(--reno3r-green-light);

    color:
        var(--reno3r-green-dark);

    font-size: 24px;
}


.reno3r-project h3 {

    min-height: 52px;

    margin:
        0
        0
        12px;

    color: var(--reno3r-blue);

    font-size: 20px;

    font-weight: 800;
}


.reno3r-project p {

    margin:
        0
        0
        25px;

    color:
        var(--reno3r-muted);

    line-height: 1.65;
}


.reno3r-project-link {

    margin-top: auto;

    color:
        var(--reno3r-green-dark) !important;

    font-weight: 800;

    text-decoration:
        none !important;
}



/* ==========================================================
   BENEFITS
   ========================================================== */

.reno3r-benefits-section {
    background: #fff;
}


.reno3r-benefits-grid {

    display: grid;

    grid-template-columns:
        1.15fr .85fr;

    gap: 60px;

    align-items: center;
}


.reno3r-benefits-intro {
    margin-bottom: 32px;
}


.reno3r-benefit-row {

    display: grid;

    grid-template-columns:
        44px 1fr;

    gap: 17px;

    margin-top: 24px;
}


.reno3r-benefit-check {

    display: flex;

    width: 40px;
    height: 40px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--reno3r-green-light);

    color:
        var(--reno3r-green-dark);
}


.reno3r-benefit-row h3 {

    margin:
        0
        0
        5px;

    color:
        var(--reno3r-blue);

    font-size: 18px;
}


.reno3r-benefit-row p {

    margin: 0;

    color:
        var(--reno3r-muted);

    line-height: 1.6;
}



/* RIGHT CARD */

.reno3r-advice-card {

    padding: 38px;

    border:
        1px solid
        #CEE8C8;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #F5FCF3,
            #ECF8E9
        );
}


.reno3r-advice-icon {

    display: flex;

    width: 64px;
    height: 64px;

    margin-bottom: 24px;

    align-items: center;
    justify-content: center;

    border-radius: 17px;

    background: #fff;

    color:
        var(--reno3r-green-dark);

    font-size: 27px;

    box-shadow:
        0 8px 25px
        rgba(86,169,74,.12);
}


.reno3r-advice-card h3 {

    margin:
        0
        0
        16px;

    color:
        var(--reno3r-blue);

    font-size: 27px;

    line-height: 1.25;
}


.reno3r-advice-card p {

    color:
        #536578;

    line-height: 1.65;
}


.reno3r-text-link {

    display: inline-block;

    margin-top: 8px;

    color:
        var(--reno3r-green-dark) !important;

    font-weight: 800;

    text-decoration:
        none !important;
}



/* ==========================================================
   FORM INTRO
   ========================================================== */

.reno3r-form-intro {

    padding:
        85px
        0
        28px;

    background:
        var(--reno3r-light);

    text-align: center;
}


.reno3r-form-intro-inner {

    max-width: 720px;

    margin:
        0
        auto;
}


.reno3r-form-intro p {

    color:
        var(--reno3r-muted);

    font-size: 18px;

    line-height: 1.65;
}



/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1000px) {

    .reno3r-projects-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .reno3r-benefits-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}



@media (max-width: 760px) {

    .reno3r-section {
        padding: 65px 0;
    }


    .reno3r-hero {
        min-height: auto;
    }


    .reno3r-hero-bg {
        background-position: 62% center;
    }


    .reno3r-hero-overlay {

        background:
            rgba(7,30,55,.83);
    }


    .reno3r-hero-content {

        padding-top: 70px;
        padding-bottom: 70px;
    }


    .reno3r-hero h1 {
        font-size: 40px;
    }


    .reno3r-hero-text > p {
        font-size: 17px;
    }


    .reno3r-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }


    .reno3r-btn-primary,
    .reno3r-btn-secondary {
        width: 100%;
    }


    .reno3r-hero-points {
        flex-direction: column;
        gap: 8px;
    }


    .reno3r-steps {
        grid-template-columns: 1fr;
    }


    .reno3r-projects-grid {
        grid-template-columns: 1fr;
    }


    .reno3r-project {
        min-height: auto;
    }


    .reno3r-project h3 {
        min-height: 0;
    }


    .reno3r-advice-card {
        padding: 27px;
    }

}