/* ===== PAGES CONTACT & DEVENIR VENDEUR ===== */

/* ---- Hero commun ---- */
.eco-pg-hero {
    background: linear-gradient(135deg, #1d2327 0%, #2a3744 100%);
    padding: 54px 0 50px;
    text-align: center;
}
.eco-pg-hero-title { color: #fff; font-size: 34px; font-weight: 800; margin: 0 0 10px; }
.eco-pg-hero-sub { color: #b9c0c7; font-size: 16px; margin: 0 auto; max-width: 560px; line-height: 1.6; }

/* ---- Contact : layout ---- */
.eco-contact { padding: 46px 0 64px; }
.eco-contact-grid {
    display: grid; grid-template-columns: 340px minmax(0, 1fr);
    gap: 28px; align-items: start;
}

/* Infos */
.eco-cinfo-list { list-style: none; margin: 0; padding: 22px; background: #fff; border-radius: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.eco-cinfo-list li { display: flex; gap: 13px; align-items: flex-start; }
.eco-cinfo-list li + li { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--eco-border, #e6e6e6); }
.eco-cinfo-icon {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(43,108,176,.10); color: var(--eco-accent, #2b6cb0);
}
.eco-cinfo-icon svg { width: 19px; height: 19px; }
.eco-cinfo-list strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: var(--eco-text, #1d2327); margin-bottom: 2px; }
.eco-cinfo-list a, .eco-cinfo-list span:not(.eco-cinfo-icon) { color: #4b5563; font-size: 14px; text-decoration: none; }
.eco-cinfo-list a:hover { color: var(--eco-accent, #2b6cb0); }

.eco-cinfo-note {
    display: flex; gap: 10px; align-items: flex-start;
    background: rgba(43,108,176,.07); border: 1px solid rgba(43,108,176,.18);
    border-radius: 12px; padding: 15px; margin-top: 16px;
    font-size: 13px; line-height: 1.55; color: #33526f;
}
.eco-cinfo-note svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--eco-accent, #2b6cb0); margin-top: 1px; }

/* ---- Formulaire (commun) ---- */
.eco-form-card {
    background: #fff; border-radius: 16px; padding: 30px;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
}
.eco-form-card--wide { max-width: 780px; margin: 34px auto 0; }
.eco-form-title { font-size: 21px; font-weight: 800; color: var(--eco-text, #1d2327); margin: 0 0 20px; }

.eco-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.eco-field { margin-bottom: 16px; }
.eco-field label { display: block; font-weight: 600; font-size: 13.5px; color: var(--eco-text, #1d2327); margin-bottom: 6px; }
.eco-req { color: #e53e3e; }
.eco-opt { color: #9ca3af; font-weight: 400; font-size: 12px; }

.eco-field input[type="text"], .eco-field input[type="email"], .eco-field input[type="tel"],
.eco-field input[type="url"], .eco-field select, .eco-field textarea {
    width: 100%; height: 46px;
    border: 1px solid var(--eco-border, #e6e6e6); border-radius: 8px;
    background: #fff; padding: 0 13px; font-size: 14.5px; color: var(--eco-text, #1d2327);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.eco-field textarea { height: auto; min-height: 120px; padding: 12px 13px; resize: vertical; }
.eco-field input:focus, .eco-field select:focus, .eco-field textarea:focus {
    border-color: var(--eco-accent, #2b6cb0); outline: none;
    box-shadow: 0 0 0 3px rgba(43,108,176,.12);
}
.eco-field select { appearance: none; -webkit-appearance: none; cursor: pointer;
    background: #fff url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7177' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 12px center / 14px;
    padding-right: 36px;
}

.eco-form-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    width: 100%; height: 52px;
    background: var(--eco-accent, #2b6cb0); color: #fff;
    border: 0; border-radius: 10px; cursor: pointer;
    font-size: 15.5px; font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}
.eco-form-btn:hover { background: #1e4e8a; transform: translateY(-1px); }
.eco-form-btn svg { width: 18px; height: 18px; }

/* Honeypot */
.eco-hp { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Consentement RGPD */
.eco-consent {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 13px; line-height: 1.55; color: #4b5563;
    margin: 4px 0 18px; cursor: pointer;
}
.eco-consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--eco-accent, #2b6cb0); flex-shrink: 0; }
.eco-consent a { color: var(--eco-accent, #2b6cb0); font-weight: 600; }

/* Bandeaux résultat */
.eco-form-banner {
    display: flex; align-items: center; gap: 8px;
    border-radius: 10px; padding: 14px 16px;
    font-size: 14px; font-weight: 600; margin-bottom: 20px;
}
.eco-form-banner--ok { background: #e6f7ef; color: #22855b; border: 1px solid #b5e5cd; }
.eco-form-banner--err { background: #fdeaea; color: #c53030; border: 1px solid #f6c6c6; }

/* ---- Vendeur : avantages + étapes ---- */
.eco-seller { padding: 46px 0 64px; }

.eco-seller-adv {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.eco-seller-adv-card {
    background: #fff; border-radius: 14px; padding: 24px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}
.eco-seller-adv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,.12); }
.eco-seller-adv-icon {
    display: inline-flex; width: 46px; height: 46px; border-radius: 12px;
    align-items: center; justify-content: center;
    background: rgba(43,108,176,.10); color: var(--eco-accent, #2b6cb0);
    margin-bottom: 14px;
}
.eco-seller-adv-icon svg { width: 22px; height: 22px; }
.eco-seller-adv-card h3 { font-size: 15px; font-weight: 700; color: var(--eco-text, #1d2327); margin: 0 0 6px; }
.eco-seller-adv-card p { font-size: 13.5px; color: #6b7177; line-height: 1.55; margin: 0; }

.eco-seller-steps-title {
    text-align: center; font-size: 24px; font-weight: 800; color: var(--eco-text, #1d2327);
    margin: 44px 0 26px;
}
.eco-seller-steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    background: #fff; border-radius: 14px; padding: 26px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.eco-seller-step { display: flex; gap: 13px; align-items: flex-start; }
.eco-seller-step-num {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--eco-accent, #2b6cb0); color: #fff;
    font-size: 17px; font-weight: 800;
}
.eco-seller-step h3 { font-size: 14.5px; font-weight: 700; color: var(--eco-text, #1d2327); margin: 0 0 4px; }
.eco-seller-step p { font-size: 13px; color: #6b7177; line-height: 1.55; margin: 0; }

/* ---- CTA vendeur (Dokan) ---- */
.eco-vendor-cta {
    background: linear-gradient(135deg, #1d2327 0%, #2a3744 100%);
    border-radius: 20px; padding: 44px 40px;
    color: #fff; text-align: center;
    position: relative; overflow: hidden;
    margin-top: 44px;
}
.eco-vendor-cta::after {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 240px; height: 240px; border-radius: 50%;
    background: radial-gradient(circle, rgba(43,108,176,.35), transparent 70%);
    pointer-events: none;
}
.eco-vendor-cta h2 { font-size: 28px; font-weight: 800; margin: 0 0 10px; color: #fff; position: relative; }
.eco-vendor-cta p { color: #b9c0c7; margin: 0 0 24px; font-size: 15px; position: relative; }
.eco-vendor-cta-actions {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    position: relative;
}
.eco-vendor-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--eco-accent, #2b6cb0); color: #fff;
    text-decoration: none; font-weight: 700; font-size: 15px;
    padding: 14px 30px; border-radius: 10px;
    transition: background .2s ease, transform .2s ease;
}
.eco-vendor-cta-btn:hover { background: #1e4e8a; color: #fff; transform: translateY(-2px); }
.eco-vendor-cta-btn svg { width: 18px; height: 18px; }
.eco-vendor-cta-btn--ghost {
    background: transparent; border: 2px solid rgba(255,255,255,.35);
    padding: 12px 28px;
}
.eco-vendor-cta-btn--ghost:hover { background: #fff; border-color: #fff; color: #1d2327; }
.eco-vendor-cta-note {
    display: block; margin-top: 18px; font-size: 12.5px; color: #9aa2aa;
    position: relative;
}

/* ---- Liens rapides (espaces Dokan) ---- */
.eco-quick-links {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    margin-top: 26px;
}
.eco-quick-link {
    display: flex; align-items: center; gap: 13px;
    background: #fff; border: 1px solid var(--eco-border, #e6e6e6); border-radius: 12px;
    padding: 18px; text-decoration: none;
    color: var(--eco-text, #1d2327); font-weight: 700; font-size: 14px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.eco-quick-link:hover {
    transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.10);
    border-color: var(--eco-accent, #2b6cb0);
}
.eco-quick-link-icon { color: var(--eco-accent, #2b6cb0); flex-shrink: 0; display: flex; }
.eco-quick-link-icon svg { width: 24px; height: 24px; }
.eco-quick-link-label { flex: 1; line-height: 1.35; }
.eco-quick-link-arrow {
    width: 16px; height: 16px; color: #9ca3af; flex-shrink: 0;
    transition: transform .25s ease, color .25s ease;
}
.eco-quick-link:hover .eco-quick-link-arrow { transform: translateX(4px); color: var(--eco-accent, #2b6cb0); }

/* ---- FAQ ---- */
.eco-faq { max-width: 780px; margin: 0 auto; }
.eco-faq details {
    background: #fff; border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    margin-bottom: 12px; overflow: hidden;
}
.eco-faq summary {
    cursor: pointer; padding: 16px 48px 16px 20px;
    font-weight: 700; font-size: 15px; color: var(--eco-text, #1d2327);
    list-style: none; position: relative;
}
.eco-faq summary::-webkit-details-marker { display: none; }
.eco-faq summary::after {
    content: '+'; position: absolute; right: 18px; top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(43,108,176,.10); color: var(--eco-accent, #2b6cb0);
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 800;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}
.eco-faq details[open] summary::after {
    content: '−'; background: var(--eco-accent, #2b6cb0); color: #fff;
}
.eco-faq details p {
    padding: 0 20px 18px; margin: 0;
    color: #4b5563; font-size: 14.5px; line-height: 1.65;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .eco-contact-grid { grid-template-columns: 1fr; }
    .eco-cinfo-list { max-width: 480px; }
    .eco-seller-adv { grid-template-columns: repeat(2, 1fr); }
    .eco-seller-steps { grid-template-columns: repeat(2, 1fr); }
    .eco-quick-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 782px) {
    .eco-pg-hero { padding: 38px 0 36px; }
    .eco-pg-hero-title { font-size: 25px; }
    .eco-pg-hero-sub { font-size: 14.5px; }
    .eco-contact, .eco-seller { padding: 30px 0 50px; }
    .eco-form-card { padding: 22px 18px; }
    .eco-form-row { grid-template-columns: 1fr; gap: 0; }
    .eco-seller-adv { grid-template-columns: 1fr; gap: 12px; }
    .eco-seller-steps { grid-template-columns: 1fr; padding: 20px; }
    .eco-vendor-cta { padding: 30px 22px; margin-top: 30px; }
    .eco-vendor-cta h2 { font-size: 21px; }
    .eco-vendor-cta-actions { flex-direction: column; align-items: stretch; }
    .eco-vendor-cta-btn { justify-content: center; }
    .eco-quick-links { grid-template-columns: 1fr; gap: 10px; }
}