.jdt-fc {
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.jdt-fc__box {
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}

.jdt-fc__head {
    margin-bottom: 24px;
}

.jdt-fc__surtitle {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #2563eb;
}

.jdt-fc__title {
    margin: 0 0 12px;
}

.jdt-fc__intro {
    margin: 0;
}

.jdt-fc__inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.jdt-fc__field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.jdt-fc__field input,
.jdt-fc__field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
}

.jdt-fc__field small {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.jdt-fc__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.jdt-fc__btn {
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.jdt-fc__btn:hover {
    opacity: 0.92;
}

.jdt-fc__btn--primary {
    background: #1d4ed8;
    color: #fff;
}

.jdt-fc__btn--secondary {
    background: #e5e7eb;
    color: #111827;
}

.jdt-fc__message[hidden] {
    display: none;
}

.jdt-fc__message {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.jdt-fc__message.is-error {
    background: #fee2e2;
    color: #991b1b;
}

.jdt-fc__message.is-success {
    background: #dcfce7;
    color: #166534;
}

.jdt-fc__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 24px;
    margin-bottom: 18px;
}

.jdt-fc__card {
    padding: 14px;
    background: #f8fafc;
    border-radius: 10px;
    line-height: 1.4;
}

.jdt-fc__label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #666;
}

.jdt-fc__card strong {
    font-size: 16px;
}

.jdt-fc__visual {
    margin-top: 10px;
    margin-bottom: 20px;
}

.jdt-fc__visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.jdt-fc__zone-card {
    padding: 14px;
    border-radius: 12px;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.jdt-fc__zone-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.jdt-fc__zone-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255,255,255,0.7);
}

.jdt-fc__zone-bpm {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.jdt-fc__zone-gps {
    font-size: 13px;
    color: #374151;
}

.jdt-fc__zone-card--z1 {
    background: #eff6ff;
}

.jdt-fc__zone-card--z2 {
    background: #ecfdf5;
}

.jdt-fc__zone-card--z3 {
    background: #fffbeb;
}

.jdt-fc__zone-card--z4 {
    background: #fff7ed;
}

.jdt-fc__zone-card--z5 {
    background: #fef2f2;
}

.jdt-fc__blocks {
    margin-top: 10px;
}

.jdt-fc__block + .jdt-fc__block {
    margin-top: 20px;
}

.jdt-fc__block h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.jdt-fc__table-wrap {
    overflow-x: auto;
}

.jdt-fc__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.jdt-fc__table th,
.jdt-fc__table td {
    border: 1px solid #e5e7eb;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.jdt-fc__table th {
    background: #f3f4f6;
}

.jdt-fc__advice {
    padding: 14px;
    background: #ecfeff;
    border-radius: 10px;
    line-height: 1.7;
}

.jdt-fc__advice p {
    margin: 0 0 10px;
}

.jdt-fc__advice p:last-child {
    margin-bottom: 0;
}

.jdt-fc__note {
    margin-top: 18px;
    font-size: 14px;
    color: #555;
}

.jdt-fc__seo {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #e5e7eb;
}

.jdt-fc__seo h3 {
    margin-top: 0;
    margin-bottom: 14px;
}

.jdt-fc__seo p {
    margin: 0 0 14px;
    line-height: 1.7;
}

.jdt-fc__seo p:last-child {
    margin-bottom: 0;
}

/* Couleurs des zones */

.jdt-fc__zone-z1 {
    background: #ecfdf5;
}

.jdt-fc__zone-z2 {
    background: #eff6ff;
}

.jdt-fc__zone-z3 {
    background: #fefce8;
}

.jdt-fc__zone-z4 {
    background: #fff7ed;
}

.jdt-fc__zone-z5 {
    background: #fef2f2;
}

@media (max-width: 640px) {
    .jdt-fc__box {
        padding: 18px;
    }

    .jdt-fc__actions {
        flex-direction: column;
    }

    .jdt-fc__btn {
        width: 100%;
    }

    .jdt-fc__table th,
    .jdt-fc__table td {
        padding: 10px;
    }
}