/* ============================================
   Landing Page — La Chrysalide
   ============================================ */

/* --- Reset form.css globals on landing --- */
.landing-body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #fff;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.landing-body header,
.landing-body section,
.landing-body footer {
    max-width: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    text-align: left;
    color: inherit;
}

/* --- Hero (split layout) --- */
.landing-body .landing-hero {
    background: linear-gradient(135deg, #4A6741 0%, #2d4a27 50%, #1a3318 100%);
    color: #fff;
    padding: 24px 24px 40px;
}

/* --- Logo + lang switch bar inside hero --- */
.landing-hero-top {
    max-width: 1140px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-logo img {
    display: block;
    filter: brightness(0) invert(1);
}

.landing-lang-switch {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.2s;
}

.landing-lang-switch:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.12);
}

/* --- Hero inner grid --- */
.landing-hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: center;
}

.landing-hero-left {
    padding-top: 8px;
}

.landing-hero-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.landing-hero-subtitle {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.landing-hero-text {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 500px;
}

.landing-hero-text strong {
    color: #fff;
    opacity: 1;
}

.landing-hero-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landing-hero-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    padding: 5px 0;
    opacity: 0.9;
}

.landing-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 0.72rem;
    flex-shrink: 0;
}

/* --- Form Card (in hero) --- */
.landing-form-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    color: #1f2937;
}

.landing-form-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
    text-align: center;
}

.landing-form-subtitle {
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 14px;
}

/* Override form.css lang-selector inside hero card */
.landing-form-card .lang-selector {
    text-align: center;
    margin-bottom: 12px;
}

.landing-form-card .lang-selector button {
    padding: 5px 14px;
    margin: 0 3px;
    border: 1.5px solid #4A6741;
    background: #fff;
    color: #4A6741;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
    font-family: inherit;
}

.landing-form-card .lang-selector button:hover,
.landing-form-card .lang-selector button.active {
    background: #4A6741;
    color: #fff;
}

.landing-form-card #emc-widget-container {
    max-width: 100%;
    margin: 0;
}

.landing-form-card .pf-submit {
    background-color: #4A6741;
}

.landing-form-card .pf-submit:hover {
    background-color: #3a5434;
}

/* --- Section --- */
.landing-body .landing-section {
    max-width: 1140px;
    margin: 0 auto;
    padding: 56px 24px;
    background: #f8faf7;
}

.landing-section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

/* --- Features Grid (3 cols) --- */
.landing-features {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.landing-feature {
    background: #fff;
    border-radius: 12px;
    padding: 24px 20px;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s, transform 0.2s;
}

.landing-feature:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.landing-feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: #4A6741;
    border-radius: 10px;
    margin-bottom: 14px;
}

.landing-feature h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.landing-feature p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.55;
}

/* --- Why List (Pourquoi choisir) --- */
.landing-why-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 32px;
    max-width: 700px;
}

.landing-why-list li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 1.05rem;
    padding: 8px 0;
    color: #1f2937;
    line-height: 1.5;
}

.landing-why-list .landing-check {
    color: #4A6741;
    background: #ecfdf5;
}

/* --- Logos (2×2 grid) --- */
.landing-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 48px;
    max-width: 500px;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
}

.landing-logos img {
    height: 88px;
    width: auto;
    object-fit: contain;
}

.landing-logos img[alt*="Minist"],
.landing-logos img[src*="logo-men"] {
    height: 115px;
}

/* --- Footer --- */
.landing-body .landing-footer {
    background: #111827;
    color: #9ca3af;
    padding: 20px 24px;
}

.landing-footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.landing-footer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
}

.landing-footer-contact a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}

.landing-footer-contact a:hover {
    color: #fff;
}

.landing-footer-sep {
    color: #4b5563;
}

.landing-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.8rem;
}

.landing-footer-bottom p {
    margin: 0;
}

.landing-admin-link {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.72rem;
    transition: color 0.2s;
}

.landing-admin-link:hover {
    color: #9ca3af;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .landing-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .landing-hero-left {
        text-align: center;
        padding-top: 0;
    }

    .landing-hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .landing-hero-points {
        display: inline-block;
        text-align: left;
    }

    .landing-form-card {
        max-width: 460px;
        margin: 0 auto;
    }

    .landing-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .landing-hero-subtitle {
        font-size: 1.1rem;
    }

    .landing-body .landing-hero {
        padding: 20px 16px 40px;
    }

    .landing-features {
        grid-template-columns: 1fr;
    }

    .landing-section-title {
        font-size: 1.3rem;
    }

    .landing-footer-contact {
        flex-direction: column;
        gap: 4px;
    }

    .landing-footer-sep {
        display: none;
    }

    .landing-footer-bottom {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .landing-hero-subtitle {
        font-size: 1rem;
    }

    .landing-hero-badge {
        font-size: 0.7rem;
    }

    .landing-body .landing-section {
        padding: 40px 16px;
    }
}
