.hero {
    text-align: center;
    padding: 0 0 28px;
}
.hero-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.5px;
    line-height: 1.3;
}
.hero-privacy {
    margin-top: 10px;
    font-size: .95rem;
    color: #475569;
}
.hero-privacy svg {
    width: 16px;
    height: 16px;
    color: #16a34a;
    vertical-align: -3px;
    margin-right: 6px;
}
.hero-privacy a {
    color: #166534;
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}
.hero-privacy a:hover { color: #14532d; }
.value-prop {
    text-align: center;
    width: 100%;
    margin: 0 auto 45px;
    padding: 24px 28px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}
.value-prop-intro {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2732;
    margin-bottom: 20px;
}
.value-prop-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 24px;
    text-align: left;
}
.value-prop-group-title {
    font-size: .80rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #1e3a5f;
    margin-bottom: 8px;
}
.value-prop-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
}
.value-prop-group li {
    font-size: .85rem;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.3;
}
.value-prop-group li::before {
    content: "✓";
    color: #1e3a5f;
    font-weight: 700;
    flex-shrink: 0;
}
.value-prop .value-prop-note {
    font-size: .9rem;
    font-weight: 400;
    color: #94a3b8;
    margin-top: 22px;
    margin-bottom: 0;
}
.dropzone-wrap {
    width: 100%;
}
.dropzone {
    width: 100%;
    min-height: 170px;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color .15s, background .15s;
    margin-bottom: 18px;
}
.dropzone:hover,
.dropzone.drag-over {
    border-color: #1e3a5f;
    background: #f0f5ff;
}
.dropzone.ready {
    border-style: solid;
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.dropzone.ready:hover {
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.dropzone.ready #dropzone-icon-ready {
    color: #16a34a;
}
@keyframes dropzone-nudge {
    0%, 100% { transform: translateX(0); border-color: #e2e8f0; }
    20%      { transform: translateX(-6px); border-color: #f59e0b; }
    40%      { transform: translateX(5px); border-color: #f59e0b; }
    60%      { transform: translateX(-3px); border-color: #f59e0b; }
    80%      { transform: translateX(2px); border-color: #f59e0b; }
}
.dropzone.nudge, .merge-choice.nudge {
    animation: dropzone-nudge 0.4s ease-in-out;
}
.dropzone-bg-icon {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: #e2e8f0;
    width: 52px;
    height: 52px;
    pointer-events: none;
}
.file-list {
    position: relative;
    z-index: 1;
    padding: 14px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 60%;
    overflow-y: auto;
}
.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.92);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: .8rem;
    color: #334155;
}
.remove-file {
    background: transparent;
    border: none;
    border-radius: 0;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 0 0 8px;
    font-size: .8rem;
    font-weight: 400;
    line-height: 1;
    transition: color .1s;
}
.remove-file:hover { background: transparent; color: #ef4444; }
.dropzone-bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.drop-main { font-size: 1.05rem; font-weight: 600; color: #1f2732;; }
.drop-sub  { font-size: .78rem; color: #94a3b8; }
.progress-wrap {
    width: 100%;
    margin-top: 2px;
    margin-bottom: 12px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    visibility: hidden;
}
.progress-bar {
    height: 100%;
    background: #1e3a5f;
    width: 0%;
    border-radius: 4px;
}
.submit-wrap {
    text-align: center;
    margin: 15px 0 40px;
}
.submit-wrap button {
    width: 500px;
    height: 55px;
    transition: background .2s, box-shadow .2s, transform .15s;
}
#submit-btn.ready {
    background: #16a34a;
    box-shadow: 0 4px 14px rgba(22, 163, 74, .35);
}
#submit-btn.ready:hover {
    background: #128a3e;
    box-shadow: 0 6px 18px rgba(22, 163, 74, .4);
}
@keyframes submit-btn-pop {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.06); }
    65%  { transform: scale(0.98); }
    100% { transform: scale(1); }
}
#submit-btn.pop {
    animation: submit-btn-pop .45s ease-in-out;
}
.duplicate-warning {
    text-align: center;
    font-size: .82rem;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 8px 14px;
    margin: 0 0 16px;
}
.demo-hint {
    text-align: center;
    font-size: .78rem;
    color: #94a3b8;
    margin: 0 0 20px;
}
.demo-hint a {
    color: #64748b;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.demo-hint a:hover { color: #1e3a5f; }
.merge-choice {
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}
.merge-choice p { margin-bottom: 8px; }
.merge-choice label {
    display: block;
    font-size: .85rem;
    font-weight: 400;
    color: #334155;
    margin-bottom: 6px;
    cursor: pointer;
}
.merge-choice input { margin-right: 6px; }
.merge-confirm {
    margin: 8px 0 0 20px;
    padding: 6px 10px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 6px;
    color: #92400e;
}

/* Le dépôt de fichier (glisser-déposer, formulaire) ne fonctionne pas bien au
   toucher et n'a pas lieu d'être sur mobile — un FEC vit dans un logiciel
   comptable sur un poste de travail. Le bandeau de base.html explique
   pourquoi ; ici on évite surtout qu'un visiteur mobile tente une
   interaction cassée. !important : résiste à un style.display posé par
   index.js après coup (ex. #merge-choice révélé par addFiles()). */
@media (max-width: 700px) {
    .dropzone-wrap,
    .demo-hint,
    #merge-choice,
    .submit-wrap {
        display: none !important;
    }
}
