.livreor-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 130px 20px 80px;
    font-family: 'Cormorant Garamond', serif;
    color: #3a2f22;
    position: relative;
    overflow: hidden;
}

.livreor-page::after {
    content: "";
    position: fixed;
    top: 0%;
    right: -400px;
    width: 1800px;
    height: 1800px;

    background-image: url("images/olivier2.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;

    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.livreor-page > * {
    position: relative;
    z-index: 1;
}

.livreor-intro {
    text-align: center;
    margin-bottom: 40px;
}

.livreor-intro h1 {
    font-size: 2.6rem;
    color: #5a4a36;
    margin-bottom: 6px;
}

.livreor-accroche {
    font-family: 'Caveat', cursive;
    font-size: 2.4rem;
    color: #b68b52;
    margin: 0 0 12px;
}

.livreor-intro p:not(.livreor-accroche) {
    font-size: 1.5rem;
    line-height: 1.5;
}

/* --- Formulaire --- */
.livreor-form {
    background: #f7f5f0;
    border: 1px solid #e3dcc9;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 50px;
}

.livreor-champ {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.livreor-champ label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #5a4a36;
    font-size: 1.25rem;
}

.livreor-champ input,
.livreor-champ textarea {
    font-family: inherit;
    font-size: 1.3rem;
    padding: 10px 12px;
    border: 1px solid #d5cdb8;
    border-radius: 6px;
    background: #fff;
    resize: vertical;
}

.livreor-champ input:focus,
.livreor-champ textarea:focus {
    outline: none;
    border-color: #b68b52;
}

.livreor-compteur {
    align-self: flex-end;
    font-size: 1.05rem;
    color: #8a7f6a;
    margin-top: 4px;
}

/* Honeypot : invisible pour les humains, présent pour les robots */
.vi-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.livreor-form button {
    display: block;
    width: 100%;
    background: #b68b52;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 13px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.livreor-form button:hover:not(:disabled) {
    background: #9c7541;
}

.livreor-form button:disabled {
    opacity: 0.6;
    cursor: default;
}

.livreor-retour {
    text-align: center;
    margin: 14px 0 0;
    min-height: 1.4em;
    font-weight: 600;
    font-size: 1.4rem;
}

.livreor-retour.ok { color: #4a7c3f; }
.livreor-retour.erreur { color: #a53d3d; }

.livreor-retour-lien {
    text-align: center;
    margin: 8px 0 0;
}

.livreor-retour-lien a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #b68b52;
    text-decoration: none;
    border-bottom: 1px solid #b68b52;
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.livreor-retour-lien a:hover {
    color: #8a6a3d;
    border-color: #8a6a3d;
}

.livreor-note {
    text-align: center;
    font-size: 1.4rem;
    color: #8a7f6a;
    margin: 8px 0 0;
}

.livreor-vide {
    text-align: center;
    font-style: italic;
    font-size: 2rem;
    color: #8a7f6a;
}

/* ── Annonce au-dessus de la liste des messages publiés ── */
.livreor-annonce-liste {
    max-width: 900px;
    margin: 48px auto 24px;
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    line-height: 1.5;
    color: #b68b52;
    text-align: center;
    transform: rotate(-2deg);
}

.livreor-annonce-ligne2 {
    white-space: nowrap;
}

.livreor-annonce-petite {
    font-size: 0.65em;
    display: inline-block;
    margin-top: 6px;
}

@media (max-width: 640px) {
    .livreor-annonce-liste {
        font-size: 1.6rem;
    }
}

/* --- Liste des messages --- */
.livreor-liste {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.livreor-carte {
    background: #fbf3e6;
    border-left: 3px solid #b68b52;
    border-radius: 4px;
    padding: 18px 22px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.livreor-carte:nth-child(even) {
    background: #f2ede2;
}

.livreor-message {
    font-size: 1.65rem;
    font-style: italic;
    color: #b68b52;
    margin: 0 0 10px;
    line-height: 1.5;
}

.livreor-signature {
    margin: 0;
    font-weight: 600;
    color: #5a4a36;
    font-size: 1.15rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.livreor-date {
    font-weight: 400;
    color: #8a7f6a;
    font-size: 1rem;
}

@media (max-width: 600px) {
    .livreor-form { padding: 20px; }
    .livreor-intro h1 { font-size: 2.1rem; }
}
