/* ════════════════════════════════════════════════
   ordonnance.css — Page Mon Ordonnance
   ════════════════════════════════════════════════ */

/* La page ordonnance centre les badges horizontalement */
.ordo-hero-badges { justify-content: center; margin-top: 24px; }

/* ── Bandeau infos ───────────────────────────────── */
.ordo-info-bar {
    background: #fff;
    border-bottom: 1px solid #e8ecf4;
    padding: 14px 0;
}

.ordo-info-bar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    justify-items: center;
}

.ordo-info-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: #444;
    padding: 8px 16px;
    white-space: nowrap;
}

.ordo-info-bar-item a {
	/*color: var(--primary); */
}

.ordo-info-bar-sep {
    width: 1px;
    height: 20px;
    background: #dde3ee;
}

/* ── Section principale ──────────────────────────── */
.ordo-section {
    background: #f4f7fb;
    padding: 52px 0 72px;
}

/* ── Layout deux modules ─────────────────────────── */
.ordo-dual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

/* ── Séparateur "ou" ─────────────────────────────── */
.ordo-dual-sep {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    margin-top: 60px;
}

.ordo-dual-sep::before,
.ordo-dual-sep::after {
    content: '';
    display: block;
    width: 1px;
    height: 60px;
    background: #d0d8e8;
}

.ordo-dual-sep span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e8ecf4;
    color: #888;
    font-family: 'MontserratBold', sans-serif;
    font-size: .78rem;
    letter-spacing: .03em;
    margin: 10px 0;
}

/* ── Module ──────────────────────────────────────── */
.ordo-module {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #eaedf3;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    overflow: hidden;
}

/*.ordo-module-green { border-top: 3px solid #3aaa5a; }*/
/*.ordo-module-blue  { border-top: 3px solid #4a7bdc; }*/

/* ── En-tête module ──────────────────────────────── */
.ordo-module-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px 22px;
    border-bottom: 1px solid #f0f4f8;
    background: #fafbfd;
}

.ordo-module-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.ordo-module-head h2 {
    font-family: 'MontserratBold', sans-serif;
    font-size: 1.1rem;
    color: #1a2a3a;
    margin: 0 0 4px;
}

.ordo-module-head p {
    font-size: .82rem;
    color: #888;
    margin: 0;
    line-height: 1.4;
}

/* ── Sections internes ───────────────────────────── */
.ordo-form-section {
    padding: 20px 28px;
    border-bottom: 1px solid #f0f4f8;
}

.ordo-form-section:last-of-type {
    border-bottom: none;
}

.ordo-form-section-title {
    font-family: 'MontserratSemiBold', sans-serif;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #888;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.ordo-form-section-title i {
    color: var(--primary);
}

/* ── Champs formulaire ───────────────────────────── */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-row:last-child { margin-bottom: 0; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: .78rem;
    font-family: 'MontserratSemiBold', sans-serif;
    color: #444;
}

.req { color: var(--primary); }

.input-wrap { position: relative; }

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aab;
    font-size: .8rem;
    pointer-events: none;
}

.input-wrap input {
    width: 100%;
    padding: 9px 12px 9px 34px;
    border: 1.5px solid #dde3ee;
    border-radius: 8px;
    font-family: 'MontserratRegular', sans-serif;
    font-size: .88rem;
    color: #333;
    background: #fcfcfd;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

.input-wrap input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,174,188,.1);
    background: #fff;
}

/* input date — supprimer l'icône native sur certains navigateurs */
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: .4;
    cursor: pointer;
}

/* ── Zone de dépôt ───────────────────────────────── */
.ordo-drop-zone {
    border: 2px dashed #c8d4e8;
    border-radius: 12px;
    background: #f8fafc;
    padding: 28px 20px;
    text-align: center;
    transition: border-color .2s, background .2s;
    cursor: pointer;
    position: relative;
}

.ordo-drop-zone:hover {
    border-color: var(--primary);
    background: #f0fbfc;
}

.ordo-drop-zone-alt:hover {
    border-color: #4a7bdc;
    background: #f0f4fc;
}

.ordo-drop-zone.drag-over {
    border-color: var(--primary);
    background: #e8f9fb;
    border-style: solid;
    transform: scale(1.01);
}
.ordo-drop-zone-alt.drag-over {
    border-color: #4a7bdc;
    background: #e8eefc;
    border-style: solid;
    transform: scale(1.01);
}

.ordo-drop-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    pointer-events: none;
}

.ordo-drop-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.ordo-drop-placeholder strong {
    font-size: .9rem;
    color: #2a3a4a;
    font-family: 'MontserratSemiBold', sans-serif;
}

.ordo-drop-placeholder span {
    font-size: .82rem;
    color: #666;
}

.ordo-drop-placeholder small {
    font-size: .73rem;
    color: #999;
}

.ordo-drop-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-family: 'MontserratSemiBold', sans-serif;
    font-size: .82rem;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    pointer-events: all;
}

.ordo-drop-btn-blue { color: #4a7bdc; }

/* FilePond overrides */
.filepond--root { font-family: 'MontserratRegular', sans-serif; margin-bottom: 0; }
.filepond--panel-root { background: transparent; border: none; }
.filepond--drop-label .filepond--label-action { color: var(--primary); text-decoration: underline; }

#mutuelle-retour{
	margin-top: 20px;
	display: none;
}
/* ── Tip ─────────────────────────────────────────── */
.ordo-tip {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    background: #edf7f0;
    border-left: 3px solid #3aaa5a;
    border-radius: 0 7px 7px 0;
    padding: 9px 13px;
    font-size: .8rem;
    color: #555;
    line-height: 1.5;
    margin-top: 30px;
}

.ordo-tip i {
    color: #3aaa5a;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Badge optionnel ─────────────────────────────── */
.ordo-optional-badge {
    display: inline-block;
    background: #e8f0fb;
    color: #2c5fb3;
    font-family: 'MontserratSemiBold', sans-serif;
    font-size: .67rem;
    padding: 2px 8px;
    border-radius: 999px;
    vertical-align: middle;
    margin-left: 4px;
}

/* ── Footer du module ────────────────────────────── */
.ordo-form-footer {
    padding: 20px 28px 24px;
    background: #f8f9fc;
    border-top: 1px solid #eaedf3;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ordo-rgpd {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.ordo-rgpd input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--primary);
    margin-top: 2px;
    cursor: pointer;
}

.ordo-rgpd span {
    font-size: .78rem;
    color: #666;
    line-height: 1.55;
}

.ordo-rgpd a {
    color: var(--primary);
    text-decoration: underline;
}

.ordo-submit-btn {
    align-self: flex-start;
    padding: 12px 24px;
    font-size: .9rem;
	width: 100%;
	justify-content: center;
}


.ordo-submit-note {
    font-size: .75rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ordo-submit-note i { color: #3aaa5a; }

/* ── Bloc infos bas de page ──────────────────────── */
.ordo-bottom-infos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.ordo-bottom-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    border: 1px solid #eaedf3;
}

.ordo-bottom-card-teal {
    background: linear-gradient(135deg, #f0fbfc 0%, #e8f5f6 100%);
    border-color: #c4eaee;
}

.ordo-bottom-card-secure {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f0f7f4;
    border-color: #c4e0d4;
}

.ordo-bottom-card-title {
    font-family: 'MontserratBold', sans-serif;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

/* Comment ça marche */
.ordo-how-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ordo-how-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ordo-how-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-family: 'MontserratBold', sans-serif;
    flex-shrink: 0;
    margin-top: 1px;
}

.ordo-how-list strong {
    display: block;
    font-size: .83rem;
    color: #1a2a3a;
    margin-bottom: 2px;
}

.ordo-how-list span {
    font-size: .76rem;
    color: #777;
    line-height: 1.4;
}

/* Délai */
.ordo-delai-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.ordo-delai-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.7);
    border-radius: 8px;
    padding: 9px 12px;
}

.ordo-delai-item i { font-size: 1rem; flex-shrink: 0; }
.ordo-delai-item strong { display: block; font-size: .82rem; color: #1a2a3a; margin-bottom: 1px; }
.ordo-delai-item span  { font-size: .75rem; color: #666; }

.ordo-delai-note {
    font-size: .76rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.ordo-delai-note a { color: var(--primary); }

/* Contact */
.ordo-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #f0f3f7;
}

.ordo-contact-item:last-child { border-bottom: none; padding-bottom: 0; }

.ordo-contact-label {
    display: block;
    font-family: 'MontserratSemiBold', sans-serif;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #999;
    margin-bottom: 2px;
}

.ordo-contact-val {
    font-size: .85rem;
    color: var(--primary);
    font-family: 'MontserratSemiBold', sans-serif;
    word-break: break-word;
}

/* Sécurité */
.ordo-secure-icon {
    font-size: 1.5rem;
    color: #3aaa5a;
    flex-shrink: 0;
    margin-top: 2px;
}

.ordo-bottom-card-secure strong {
    display: block;
    font-size: .84rem;
    color: #1a3a2a;
    margin-bottom: 4px;
}

.ordo-bottom-card-secure span {
    font-size: .76rem;
    color: #555;
    line-height: 1.55;
}

#form-mutuelle{
	.filepond--panel-root{
		/*background:red;*/
		border: 2px dashed red;
		border-color: #4a7bdc;
		background: #f0f4fc;
	}

	.filepond--panel-center{
		/*height: 300px;*/
	}
}

#form-ordonnance{
	.filepond--panel-root{
		border: 2px dashed red;
		border-color: #3aaa5a;
		background: #edf7f0;
	}

	.filepond--panel-center{
		/*height: 300px;*/
	}
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1220px) {
    .ordo-info-bar-inner {
        grid-template-columns: 1fr 1fr;
        gap: 4px 0;
    }
    .ordo-info-bar-sep { display: none; }
    .ordo-info-bar-item { justify-content: center; padding: 6px 12px; }
    /* ordre 1 3 2 4 */
    .ordo-info-bar-item:nth-child(1) { order: 1; }
    .ordo-info-bar-item:nth-child(3) { order: 3; }
    .ordo-info-bar-item:nth-child(5) { order: 2; }
    .ordo-info-bar-item:nth-child(7) { order: 4; }
}

@media (max-width: 960px) {
    .ordo-dual {
        grid-template-columns: 1fr;
    }

    .ordo-bottom-infos {
        grid-template-columns: repeat(2, 1fr);
    }

    .ordo-dual-sep {
        flex-direction: row;
        margin: 0;
        padding: 16px 0;
        justify-content: center;
    }

    .ordo-dual-sep::before,
    .ordo-dual-sep::after {
        width: 60px;
        height: 1px;
    }

    .ordo-dual-sep span {
        margin: 0 12px;
    }
}

@media (max-width: 768px) {
    .page-hero { padding: 48px 0 36px; }
    .page-hero p { font-size: 14px; }
}

@media (max-width: 700px) {
    .ordo-info-bar-inner {
        grid-template-columns: 1fr;
    }
    .ordo-info-bar-item:nth-child(1),
    .ordo-info-bar-item:nth-child(3),
    .ordo-info-bar-item:nth-child(5),
    .ordo-info-bar-item:nth-child(7) { order: unset; }
}

@media (max-width: 600px) {
    .page-hero-eyebrow { font-size: 11px; padding: 5px 12px; }
    .ordo-bottom-infos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .ordo-module-head {
        padding: 18px 20px;
    }

    .ordo-form-section {
        padding: 16px 20px;
    }

    .ordo-form-footer {
        padding: 16px 20px 20px;
    }

    .ordo-submit-btn {
        align-self: stretch;
        justify-content: center;
    }

    /* ordo-hero-badges span responsive géré dans general.css */
}

@media (max-width: 480px) {
}