/**
 * MAISONS CTL — Page RE2020
 * Version: 1.0.0
 * Date: 23/03/2026
 */

/* ============================================
   HERO
============================================ */
.re2020-hero {
    position: relative;
    min-height: 520px;
    background-image:
        linear-gradient(180deg, rgba(17, 66, 50, 0.45) 0%, rgba(15, 23, 42, 0.6) 100%),
        url('../images/CTL_Sologne.webp');
    background-size: cover;
    background-position: center 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 20px 70px;
    color: white;
    text-align: center;
}

.re2020-hero-content {
    max-width: 820px;
    width: 100%;
}

.re2020-hero h1 {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
    color: #fff;
}

.re2020-hero p {
    font-size: clamp(0.92rem, 1.6vw, 1.1rem);
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: 32px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.re2020-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.re2020-btn-primary {
    display: inline-block;
    padding: 15px 36px;
    background: #40916C;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(45,106,79,0.4);
}

.re2020-btn-primary:hover {
    background: #2D6A4F;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45,106,79,0.5);
    text-decoration: none;
}

.re2020-btn-secondary {
    display: inline-block;
    padding: 15px 36px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.re2020-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ============================================
   SECTIONS COMMUNES
============================================ */
.re2020-section {
    padding: 72px 20px;
}

.re2020-section--alt {
    background: #F4FAF6;
}

.re2020-section--dark {
    background: linear-gradient(135deg, #1B4332 0%, #163a2b 100%);
    color: #fff;
}

.re2020-container {
    max-width: 960px;
    margin: 0 auto;
}

.re2020-section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: #1B2E22;
    margin-bottom: 14px;
    line-height: 1.3;
}

.re2020-section-title--center {
    text-align: center;
}

.re2020-section--dark .re2020-section-title {
    color: #fff;
}

.re2020-section-subtitle {
    font-size: 1.05rem;
    color: #52735F;
    line-height: 1.7;
    margin-bottom: 40px;
}

.re2020-section-subtitle--center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.re2020-section--dark .re2020-section-subtitle {
    color: rgba(255,255,255,0.8);
}

/* ============================================
   SECTION CEST QUOI — 4 CARTES
============================================ */
.re2020-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.re2020-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 26px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(27,67,50,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.re2020-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(27,46,34,0.1);
}

.re2020-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #40916C 0%, #1B4332 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.re2020-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1B2E22;
    margin-bottom: 8px;
}

.re2020-card p {
    font-size: 0.92rem;
    color: #52735F;
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   SECTION CHANGEMENTS — LAYOUT TEXTE + IMAGE
============================================ */
.re2020-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.re2020-split-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1B2E22;
    margin-bottom: 10px;
    padding-left: 16px;
    border-left: 3px solid #40916C;
}

.re2020-split-text p {
    font-size: 0.95rem;
    color: #52735F;
    line-height: 1.7;
    margin-bottom: 20px;
}

.re2020-split-text p:last-child {
    margin-bottom: 0;
}

.re2020-split-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.re2020-split-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* ============================================
   SECTION ACCOMPAGNEMENT — ÉTAPES
============================================ */
.re2020-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    counter-reset: step;
}

.re2020-step {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 28px 24px;
    counter-increment: step;
    transition: background 0.3s ease;
}

.re2020-step:hover {
    background: rgba(255,255,255,0.12);
}

.re2020-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #52B788;
    color: #fff;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.re2020-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.re2020-step p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SECTION AVANTAGES — 6 ITEMS
============================================ */
.re2020-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.re2020-benefit {
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(27,67,50,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.re2020-benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(27,46,34,0.1);
}

.re2020-benefit-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.re2020-benefit h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1B2E22;
    margin-bottom: 8px;
}

.re2020-benefit p {
    font-size: 0.88rem;
    color: #52735F;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   FAQ
============================================ */
.re2020-faq {
    max-width: 780px;
    margin: 0 auto;
}

.re2020-faq details {
    margin-bottom: 12px;
    border: 1px solid #D8F3DC;
    border-radius: 12px;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.re2020-faq details[open] {
    box-shadow: 0 2px 8px rgba(27,67,50,0.06);
}

.re2020-faq summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #1B2E22;
    font-size: 1rem;
    line-height: 1.4;
}

.re2020-faq summary:hover {
    color: #2D6A4F;
}

.re2020-faq details p {
    padding: 0 20px 16px;
    color: #52735F;
    line-height: 1.7;
    font-size: 0.95rem;
}

.re2020-faq details a {
    color: #2D6A4F;
    font-weight: 600;
    text-decoration: none;
}

.re2020-faq details a:hover {
    text-decoration: underline;
}

/* ============================================
   CTA FINAL
============================================ */
.re2020-cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.re2020-cta-box h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.re2020-cta-box p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.re2020-cta-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.re2020-cta-link {
    color: #74C69D;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.re2020-cta-link:hover {
    color: #B7E4C7;
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE — TABLETTE
============================================ */
@media (max-width: 1024px) {
    .re2020-hero {
        min-height: 440px;
        padding: 70px 20px 56px;
    }

    .re2020-split {
        gap: 32px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE
============================================ */
@media (max-width: 768px) {
    .re2020-hero {
        min-height: auto;
        padding: 56px 15px 44px;
    }

    .re2020-section {
        padding: 52px 15px;
    }

    .re2020-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .re2020-split {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .re2020-split-image {
        order: -1;
    }

    .re2020-steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .re2020-benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .re2020-hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .re2020-btn-primary,
    .re2020-btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* ============================================
   RESPONSIVE — PETIT MOBILE
============================================ */
@media (max-width: 480px) {
    .re2020-hero {
        padding: 44px 12px 36px;
    }

    .re2020-section {
        padding: 40px 12px;
    }

    .re2020-card {
        padding: 22px 18px;
    }

    .re2020-benefits-grid {
        grid-template-columns: 1fr;
    }

    .re2020-step {
        padding: 22px 18px;
    }

    .re2020-cta-box h2 {
        font-size: 1.4rem;
    }
}
