
/* =========================================
   SOUVENANCE - IDENTITE VISUELLE
   ========================================= */

:root {
    --vert: #547b65;
    --vert-fonce: #35483d;
    --vert-clair: #e8eee8;
    --fond: #f5f6f2;
    --blanc: #ffffff;
    --texte: #35443b;
    --gris: #7b857d;
    --bordure: #e5e9e3;
    --beige: #f2eee7;
    --ombre: 0 8px 30px rgba(40,60,45,.05);
    --rayon: 13px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--fond);
    color: var(--texte);
    font-family: -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: var(--vert);
    text-decoration: none;
}

a:hover {
    color: var(--vert-fonce);
}

/* =========================================
   HEADER
   ========================================= */

.main-header {
    background: var(--blanc);
    border-bottom: 1px solid var(--bordure);
    position: relative;
    z-index: 10;
}

.header-container {
    max-width: 1250px;
    margin: auto;
    min-height: 82px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--vert-fonce);
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vert-clair);
    border-radius: 12px;
    color: var(--vert);
}

.brand-icon svg {
    width: 30px;
    height: 30px;
}

.brand-name {
    font-family: Georgia, serif;
    font-size: 27px;
    font-weight: normal;
    letter-spacing: -.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    color: #59665d;
    font-size: 14px;
    transition: .2s;
}

.main-nav a:hover {
    color: var(--vert);
}

.main-nav .nav-button {
    background: var(--vert);
    color: white;
    padding: 11px 19px;
    border-radius: 8px;
}

.main-nav .nav-button:hover {
    background: var(--vert-fonce);
    color: white;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--vert-clair);
    color: var(--vert);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-name {
    font-weight: 600;
}

/* =========================================
   CONTENU GENERAL
   ========================================= */

.main-content {
    min-height: 70vh;
    max-width: 1250px;
    margin: auto;
    padding: 40px 25px;
}

.page-heading {
    margin-bottom: 30px;
}

.page-heading h1 {
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: normal;
    color: var(--vert-fonce);
    margin: 0 0 8px;
}

.page-heading p {
    color: var(--gris);
    margin: 0;
}

/* =========================================
   CARTES
   ========================================= */

.card {
    background: var(--blanc);
    border: 1px solid var(--bordure);
    border-radius: var(--rayon);
    padding: 25px;
    box-shadow: var(--ombre);
    margin-bottom: 22px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 18px;
    color: var(--vert-fonce);
}

.card-description {
    color: var(--gris);
    font-size: 14px;
}

/* =========================================
   BOUTONS
   ========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 19px;
    border: none;
    border-radius: 8px;
    background: var(--vert);
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: .2s;
    font-family: inherit;
}

.btn:hover {
    background: var(--vert-fonce);
    color: white;
}

.btn-light {
    background: var(--vert-clair);
    color: var(--vert-fonce);
}

.btn-light:hover {
    background: #dce7dc;
    color: var(--vert-fonce);
}

.btn-secondary {
    background: #e9ece8;
    color: #4d5a51;
}

.btn-danger {
    background: #a95757;
    color: white;
}

/* =========================================
   FORMULAIRES
   ========================================= */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 7px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dce2dc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--texte);
    background: white;
    outline: none;
}

.form-control:focus {
    border-color: var(--vert);
    box-shadow: 0 0 0 3px rgba(84,123,101,.10);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

/* =========================================
   TABLEAUX
   ========================================= */

.table-container {
    overflow-x: auto;
    background: white;
    border-radius: var(--rayon);
    border: 1px solid var(--bordure);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 14px 17px;
    text-align: left;
    border-bottom: 1px solid var(--bordure);
}

th {
    background: #f7f8f5;
    color: #68756b;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

td {
    font-size: 14px;
}

tr:last-child td {
    border-bottom: none;
}

/* =========================================
   BADGES
   ========================================= */

.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    background: var(--vert-clair);
    color: var(--vert-fonce);
}

.badge-warning {
    background: #f5eddf;
    color: #92713c;
}

/* =========================================
   MESSAGES
   ========================================= */

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #e6f1e8;
    color: #41694b;
}

.alert-error {
    background: #f8e8e6;
    color: #9b4b43;
}

/* =========================================
   FOOTER
   ========================================= */

.main-footer {
    background: white;
    border-top: 1px solid var(--bordure);
    padding: 35px 25px 20px;
}

.footer-container {
    max-width: 1250px;
    margin: auto;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    font-family: Georgia, serif;
    font-size: 24px;
    color: var(--vert-fonce);
}

.footer-brand p {
    color: var(--gris);
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid var(--bordure);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    color: var(--gris);
    font-size: 12px;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media screen and (max-width: 850px) {

    .header-container {
        flex-wrap: wrap;
    }

    .main-nav {
        width: 100%;
        gap: 12px;
        flex-wrap: wrap;
    }

    .main-nav a {
        font-size: 13px;
    }

    .user-info {
        display: none;
    }

    .main-content {
        padding: 25px 15px;
    }
}

@media screen and (max-width: 500px) {

    .brand-name {
        font-size: 23px;
    }

    .main-nav {
        gap: 10px;
    }

    .main-nav a {
        padding: 5px 0;
    }

    .main-nav .nav-button {
        padding: 9px 12px;
    }

    .page-heading h1 {
        font-size: 26px;
    }

    .card {
        padding: 18px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}
/* CSS Document */



/* ==========================================
   SOUVENANCE - VITRINE PUBLIQUE
   ========================================== */

.section-container {
    max-width: 1120px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.hero {
    background: #eef1eb;
    overflow: hidden;
}

.hero-inner {
    max-width: 1250px;
    min-height: 560px;
    margin: auto;
    padding: 75px 35px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 65px;
}

.eyebrow,
.section-label {
    color: #718575;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(40px, 4.5vw, 59px);
    line-height: 1.14;
    font-weight: normal;
    color: #35483d;
    margin: 25px 0;
    letter-spacing: -1px;
}

.hero-subtitle {
    color: #69766d;
    font-size: 17px;
    line-height: 1.9;
    max-width: 510px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 35px;
}

.hero-button {
    padding: 15px 22px;
}

.hero-link {
    color: #547b65;
    font-size: 14px;
    font-weight: 600;
}

.hero-signature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 45px;
    font-family: Georgia, serif;
    font-style: italic;
    color: #829083;
    font-size: 14px;
}

.signature-line {
    height: 1px;
    width: 35px;
    background: #9aa99a;
}

.hero-visual {
    position: relative;
    padding: 10px 15px 45px 0;
}

.hero-photo {
    height: 420px;
    border-radius: 180px 180px 15px 15px;
    background:
        linear-gradient(
            to top,
            rgba(36,55,42,.40),
            transparent 60%
        ),
        url('https://images.unsplash.com/photo-1470770841072-f978cf4d019e?w=1100&auto=format&fit=crop')
        center / cover;
    position: relative;
    box-shadow: 0 20px 50px rgba(50,70,50,.13);
}

.photo-overlay {
    position: absolute;
    bottom: 30px;
    left: 25px;
    color: white;
    font-family: Georgia, serif;
    font-size: 21px;
    font-style: italic;
}

.floating-note {
    position: absolute;
    bottom: 0;
    left: -45px;
    background: white;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 12px 35px rgba(30,50,35,.12);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 310px;
}

.note-icon {
    width: 40px;
    height: 40px;
    background: #e8eee8;
    color: #547b65;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.floating-note strong,
.floating-note small {
    display: block;
}

.floating-note strong {
    font-size: 13px;
    color: #35483d;
}

.floating-note small {
    font-size: 11px;
    color: #89938a;
    margin-top: 4px;
}

/* PRESENTATION */

.intro-section {
    padding: 105px 0;
    text-align: center;
    background: white;
}

.section-container h2 {
    font-family: Georgia, serif;
    color: #35483d;
    font-size: clamp(29px, 3.5vw, 42px);
    font-weight: normal;
    line-height: 1.3;
    margin: 20px 0;
}

.intro-text {
    max-width: 750px;
    margin: 25px auto;
    color: #778178;
    line-height: 1.9;
    font-size: 16px;
}

.concept-highlight {
    max-width: 780px;
    margin: 40px auto 0;
    padding: 25px 35px;
    background: #f3f5f0;
    border-radius: 12px;
}

.highlight-icon {
    font-size: 27px;
    color: #78937d;
}

.concept-highlight p {
    color: #536358;
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.7;
}

/* VALEURS */

.values-section {
    padding: 100px 0;
    background: #f5f6f2;
    text-align: center;
}

.section-intro {
    max-width: 680px;
    margin: 15px auto 45px;
    color: #7b857d;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    text-align: left;
}

.value-card {
    background: white;
    border: 1px solid #e7ebe5;
    border-radius: 13px;
    padding: 35px 28px;
    transition: transform .25s, box-shadow .25s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(40,60,45,.07);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: #eaf0e9;
    color: #547b65;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-bottom: 23px;
}

.value-card h3,
.step h3 {
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: normal;
    color: #35483d;
}

.value-card p,
.step p {
    color: #7b857d;
    font-size: 14px;
    line-height: 1.8;
}

/* FONCTIONNEMENT */

.how-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    text-align: left;
}

.step {
    border-top: 1px solid #dce4dc;
    padding-top: 25px;
}

.step-number {
    font-family: Georgia, serif;
    color: #8da38e;
    font-size: 32px;
}

/* SECURITE */

.security-section {
    background: #edf1eb;
    padding: 75px 0;
}

.security-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 950px;
}

.security-symbol {
    min-width: 95px;
    height: 95px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: #547b65;
}

.security-content p {
    color: #69776d;
    line-height: 1.8;
}

/* APPEL FINAL */

.final-section {
    background: #35483d;
    padding: 90px 0;
    text-align: center;
}

.final-section h2 {
    color: white;
}

.final-section p {
    color: #d0dbd1;
    margin: 20px auto 35px;
    max-width: 650px;
}

.final-button {
    background: #e9eee7;
    color: #35483d;
    padding: 15px 25px;
}

.final-button:hover {
    background: white;
    color: #35483d;
}

/* RESPONSIVE */

@media(max-width: 850px) {

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 65px 25px;
        gap: 35px;
    }

    .hero-photo {
        height: 350px;
    }

    .floating-note {
        left: 5px;
    }

    .values-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .security-content {
        align-items: flex-start;
    }
}

@media(max-width: 500px) {

    .hero h1 {
        font-size: 39px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-photo {
        height: 290px;
        border-radius: 130px 130px 12px 12px;
    }

    .floating-note {
        max-width: 275px;
    }

    .intro-section,
    .values-section,
    .how-section {
        padding: 65px 0;
    }

    .security-content {
        flex-direction: column;
    }

    .hero-signature {
        margin-top: 30px;
    }
}



/* ==========================================
   CONNEXION SOUVENANCE
   ========================================== */

.login-container {
    min-height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 15px;
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: white;
    border: 1px solid #e7ebe5;
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 15px 45px rgba(40,60,45,.06);
    text-align: center;
}

.login-icon {
    width: 60px;
    height: 60px;
    background: #eaf0e9;
    color: #547b65;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
}

.login-card h1 {
    font-family: Georgia, serif;
    font-weight: normal;
    font-size: 30px;
    color: #35483d;
    margin: 15px 0;
}

.login-intro {
    color: #7b857d;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.login-card form {
    text-align: left;
}

.login-button {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
}

.login-security {
    margin-top: 28px;
    padding: 13px;
    background: #f3f5f0;
    border-radius: 8px;
    color: #718575;
    font-size: 12px;
}

.login-back {
    display: inline-block;
    margin-top: 25px;
    font-size: 13px;
    color: #718575;
}

@media(max-width: 500px) {
    .login-card {
        padding: 30px 22px;
    }

    .login-card h1 {
        font-size: 26px;
    }
}


/* ==========================================
   TABLEAU DE BORD SOUVENANCE
   ========================================== */

.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.dashboard-welcome h1 {
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: normal;
    color: #35483d;
    margin: 12px 0 5px;
}

.dashboard-welcome p {
    color: #7b857d;
    margin: 0;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.stat-card {
    background: white;
    border: 1px solid #e7ebe5;
    border-radius: 12px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 47px;
    height: 47px;
    border-radius: 12px;
    background: #eaf0e9;
    color: #547b65;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-card strong,
.stat-card span {
    display: block;
}

.stat-card strong {
    font-family: Georgia, serif;
    font-size: 29px;
    font-weight: normal;
    color: #35483d;
}

.stat-card span {
    font-size: 12px;
    color: #849087;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 25px;
    align-items: start;
}

.dashboard-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 15px;
}

.dashboard-section-heading h2 {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: normal;
    color: #35483d;
    margin: 0 0 5px;
}

.dashboard-section-heading p {
    color: #89938a;
    font-size: 13px;
    margin: 0;
}

.dashboard-section-heading > a {
    font-size: 13px;
    white-space: nowrap;
}

.recent-list {
    background: white;
    border: 1px solid #e7ebe5;
    border-radius: 12px;
    overflow: hidden;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf0eb;
}

.recent-item:last-child {
    border-bottom: none;
}

.recent-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: #f0f3ee;
    color: #547b65;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 21px;
}

.recent-info {
    flex: 1;
    min-width: 0;
}

.recent-info strong {
    display: block;
    color: #35483d;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.recent-info span {
    display: block;
    color: #929b93;
    font-size: 12px;
    margin-top: 4px;
}

.recent-action {
    flex-shrink: 0;
}

.recent-action .btn {
    font-size: 12px;
    padding: 8px 12px;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dashboard-side-card {
    background: white;
    border: 1px solid #e7ebe5;
    border-radius: 12px;
    padding: 24px;
}

.side-card-icon {
    color: #78937d;
    font-size: 27px;
    margin-bottom: 12px;
}

.dashboard-side-card h3 {
    font-family: Georgia, serif;
    font-weight: normal;
    font-size: 20px;
    color: #35483d;
    margin: 0 0 10px;
}

.dashboard-side-card p {
    color: #7b857d;
    font-size: 13px;
    line-height: 1.8;
}

.dashboard-side-card > a {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-top: 18px;
}

.protected-card {
    background: #f3f5f0;
}

.empty-state {
    padding: 55px 25px;
    text-align: center;
}

.empty-icon {
    font-size: 35px;
    color: #91a493;
}

.empty-state h3 {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: normal;
    color: #35483d;
}

.empty-state p {
    max-width: 430px;
    margin: 10px auto 25px;
    color: #89938a;
    font-size: 14px;
    line-height: 1.8;
}

@media(max-width: 950px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-welcome h1 {
        font-size: 27px;
    }

    .dashboard-stats {
        gap: 10px;
    }

    .stat-card {
        padding: 13px;
        gap: 10px;
    }

    .stat-icon {
        width: 38px;
        height: 38px;
        font-size: 19px;
    }

    .stat-card strong {
        font-size: 24px;
    }

    .stat-card span {
        font-size: 10px;
    }

    .dashboard-sidebar {
        grid-template-columns: 1fr;
    }

    .recent-item {
        flex-wrap: wrap;
    }

    .recent-action {
        margin-left: 57px;
    }

    .dashboard-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}



/* ==========================================
   GESTION DES CATEGORIES
   ========================================== */

.categories-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 25px;
    align-items: start;
}

.categories-list-card {
    min-width: 0;
}

.categories-list {
    margin-top: 20px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 0;
    border-bottom: 1px solid #edf0eb;
}

.category-item:last-child {
    border-bottom: none;
}

.category-symbol {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eaf0e9;
    color: #547b65;
    font-size: 23px;
}

.category-details {
    flex: 1;
    min-width: 0;
}

.category-details strong {
    display: block;
    color: #35483d;
    font-size: 14px;
}

.category-details span {
    display: block;
    color: #8b958c;
    font-size: 12px;
    margin-top: 3px;
}

.category-details p {
    color: #89938a;
    font-size: 12px;
    margin: 5px 0 0;
}

.category-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.category-actions .btn {
    font-size: 12px;
    padding: 8px 11px;
}

.category-actions form {
    margin: 0;
}

@media(max-width: 950px) {
    .categories-layout {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 600px) {
    .category-item {
        flex-wrap: wrap;
    }

    .category-details {
        flex: 1;
    }

    .category-actions {
        width: 100%;
        padding-left: 60px;
    }
}



/* ==========================================
   BIBLIOTHEQUE DES FICHES
   ========================================== */

.fiche-search-card {
    padding: 22px;
}

.fiche-search-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    gap: 18px;
    align-items: end;
}

.fiche-search-grid label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
    color: #526156;
}

.fiche-search-button {
    display: flex;
    gap: 8px;
}

.fiche-search-button .btn {
    white-space: nowrap;
}

.fiche-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 35px 0 20px;
}

.fiche-list-heading h2 {
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: normal;
    color: #35483d;
    margin: 0;
}

.fiche-list-heading p {
    color: #89938a;
    font-size: 13px;
    margin: 4px 0 0;
}

.fiche-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fiche-card {
    background: white;
    border: 1px solid #e7ebe5;
    border-radius: 13px;
    padding: 23px;
    display: flex;
    flex-direction: column;
    min-height: 245px;
    transition: .2s;
}

.fiche-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(40,60,45,.06);
}

.fiche-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fiche-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #eaf0e9;
    color: #547b65;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.fiche-card h3 {
    font-family: Georgia, serif;
    font-weight: normal;
    font-size: 21px;
    color: #35483d;
    margin: 20px 0 8px;
    overflow-wrap: anywhere;
}

.fiche-card-category {
    color: #547b65;
    font-size: 12px;
    font-weight: 600;
}

.fiche-card-date {
    color: #929b93;
    font-size: 11px;
    margin-top: 12px;
}

.fiche-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 22px;
}

.fiche-card-actions .btn {
    font-size: 12px;
    padding: 9px 13px;
}

.fiche-empty {
    background: white;
    border: 1px solid #e7ebe5;
    border-radius: 13px;
    margin-top: 20px;
}

@media(max-width: 1000px) {

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

    .fiche-search-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fiche-search-button {
        grid-column: 1 / -1;
    }
}

@media(max-width: 600px) {

    .fiche-grid {
        grid-template-columns: 1fr;
    }

    .fiche-search-grid {
        grid-template-columns: 1fr;
    }

    .fiche-search-button {
        grid-column: auto;
        flex-wrap: wrap;
    }

    .fiche-list-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ==========================================
   CREATION ET MODIFICATION DES FICHES
   ========================================== */

.fiche-edit-form {
    max-width: 1050px;
}

.fiche-edit-card {
    padding: 28px;
    margin-bottom: 22px;
}

.fiche-edit-card h2 {
    font-family: Georgia, serif;
    font-weight: normal;
    color: #35483d;
    font-size: 23px;
    margin: 0 0 25px;
}

.fiche-edit-card .form-group {
    margin-bottom: 22px;
}

.fiche-edit-card label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #526156;
    margin-bottom: 8px;
}

.fiche-edit-card .form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #dfe6dd;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
}

.fiche-edit-card .form-control:focus {
    outline: none;
    border-color: #789780;
    box-shadow: 0 0 0 3px rgba(120,151,128,.12);
}

.fiche-contenu {
    resize: vertical;
    line-height: 1.7;
    min-height: 250px;
}

.form-help {
    font-size: 12px;
    color: #89938a;
    line-height: 1.6;
    margin-top: 8px;
}

.droits-table {
    margin-top: 25px;
}

.droits-header,
.droits-row {
    display: grid;
    grid-template-columns: 2fr .7fr .9fr 1.5fr;
    gap: 15px;
    align-items: center;
}

.droits-header {
    padding: 12px 15px;
    background: #f2f5f0;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #647368;
}

.droits-row {
    padding: 16px 15px;
    border-bottom: 1px solid #edf0eb;
}

.droits-user strong {
    display: block;
    font-size: 13px;
    color: #35483d;
}

.droits-user small {
    display: block;
    font-size: 11px;
    color: #929b93;
    margin-top: 4px;
}

.droits-row label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 12px;
    font-weight: normal;
}

.droits-row input {
    accent-color: #66866e;
}

.protection-info {
    background: #f4f6f1;
    border-left: 3px solid #829b82;
    padding: 15px 18px;
    border-radius: 5px;
    margin-top: 25px;
    color: #647368;
    font-size: 12px;
    line-height: 1.7;
}

.fiche-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin: 25px 0 40px;
}

@media(max-width: 750px) {

    .droits-header {
        display: none;
    }

    .droits-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 18px 8px;
    }

    .droits-user {
        grid-column: 1 / -1;
    }

    .droits-protection {
        grid-column: 1 / -1;
    }

    .fiche-edit-card {
        padding: 20px;
    }
}



/* ==========================================
   CONSULTATION D'UNE FICHE
   ========================================== */

.fiche-view-container {
    max-width: 950px;
    margin: 0 auto;
}

.fiche-view-navigation {
    margin-bottom: 22px;
}

.fiche-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #647368;
    text-decoration: none;
    font-size: 13px;
}

.fiche-back-link:hover {
    color: #35483d;
}

.fiche-success-message {
    background: #edf5ed;
    color: #456c4e;
    border: 1px solid #d8e9d8;
    border-radius: 9px;
    padding: 13px 17px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.fiche-view-card {
    background: white;
    border: 1px solid #e7ebe5;
    border-radius: 14px;
    padding: 42px;
    box-shadow: 0 8px 30px rgba(40,60,45,.035);
}

.fiche-view-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.fiche-view-category {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64816b;
    font-size: 12px;
    font-weight: 600;
}

.fiche-view-title {
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: normal;
    line-height: 1.3;
    color: #35483d;
    margin: 28px 0 12px;
    overflow-wrap: anywhere;
}

.fiche-view-meta {
    color: #929b93;
    font-size: 12px;
}

.fiche-view-meta span {
    padding: 0 8px;
}

.fiche-view-divider {
    height: 1px;
    background: #e9ede7;
    margin: 28px 0;
}

.fiche-view-content {
    color: #4f5d52;
    font-size: 15px;
    line-height: 1.9;
    min-height: 150px;
    overflow-wrap: anywhere;
}

.fiche-view-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid #e9ede7;
    margin-top: 35px;
    padding-top: 25px;
}

.fiche-protected-panel {
    text-align: center;
    background: white;
    border: 1px solid #e7ebe5;
    border-radius: 14px;
    padding: 55px 35px;
    max-width: 650px;
    margin: 30px auto;
}

.fiche-protected-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #edf2eb;
    color: #66866e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.fiche-protected-panel h1 {
    font-family: Georgia, serif;
    font-weight: normal;
    color: #35483d;
    font-size: 29px;
    margin: 15px 0;
}

.fiche-protected-panel p {
    color: #7d897f;
    font-size: 14px;
    line-height: 1.8;
    max-width: 470px;
    margin: 0 auto 25px;
}

.fiche-protected-note {
    color: #929b93;
    font-size: 11px;
    line-height: 1.7;
    max-width: 440px;
    margin: 25px auto 0;
}

@media(max-width: 600px) {

    .fiche-view-card {
        padding: 23px;
    }

    .fiche-view-title {
        font-size: 27px;
    }

    .fiche-view-actions {
        justify-content: flex-start;
    }

    .fiche-protected-panel {
        padding: 35px 20px;
    }
}

@media print {

    header,
    footer,
    .fiche-view-navigation,
    .fiche-view-actions {
        display: none !important;
    }

    .fiche-view-card {
        border: none;
        box-shadow: none;
        padding: 0;
    }

    body {
        background: white;
    }
}

/* ==========================================
   MOT DE PASSE PERSONNEL
   ========================================== */

.password-destinataire-card {
    max-width: 700px;
}

.fiche-unlock-container {
    max-width: 650px;
    margin: 30px auto;
}

.fiche-unlock-container .fiche-protected-panel {
    margin: 0;
}

.fiche-unlock-container .form-group {
    margin-bottom: 18px;
}

.fiche-unlock-container input.form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid #dfe6dd;
    border-radius: 8px;
    font-size: 14px;
}

.fiche-unlock-container button {
    width: 100%;
    justify-content: center;
}



/* ==========================================
   GESTION DES UTILISATEURS
   ========================================== */

.utilisateur-create-card {
    padding: 28px;
    margin-bottom: 38px;
}

.utilisateur-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.utilisateur-section-heading h2,
.utilisateurs-list-heading h2 {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: normal;
    color: #35483d;
    margin: 7px 0 0;
}

.utilisateur-heading-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #edf2eb;
    color: #66866e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.utilisateur-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.utilisateur-create-card .form-group,
.utilisateur-password-form .form-group {
    margin-bottom: 15px;
}

.utilisateur-create-card label,
.utilisateur-password-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #526156;
    margin-bottom: 7px;
}

.utilisateur-create-card .form-control,
.utilisateur-password-form .form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #dfe6dd;
    border-radius: 8px;
    background: white;
}

.utilisateur-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.utilisateurs-list-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.utilisateurs-list-heading p {
    color: #89938a;
    font-size: 13px;
    margin-top: 5px;
}

.utilisateurs-total {
    font-size: 12px;
    color: #647368;
    background: #edf2eb;
    padding: 9px 14px;
    border-radius: 20px;
}

.utilisateurs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.utilisateur-card {
    background: white;
    border: 1px solid #e7ebe5;
    border-radius: 13px;
    padding: 22px;
}

.utilisateur-card-header {
    display: flex;
    align-items: center;
    gap: 13px;
}

.utilisateur-avatar {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #eaf0e9;
    color: #547b65;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    font-size: 21px;
}

.utilisateur-identite {
    flex: 1;
    min-width: 0;
}

.utilisateur-identite h3 {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: normal;
    color: #35483d;
    margin: 0 0 5px;
}

.utilisateur-identite p {
    color: #929b93;
    font-size: 11px;
    overflow-wrap: anywhere;
    margin: 0;
}

.utilisateur-card-infos {
    border-top: 1px solid #edf0eb;
    border-bottom: 1px solid #edf0eb;
    margin: 18px 0;
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.utilisateur-card-infos div {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #718074;
    font-size: 12px;
}

.utilisateur-details {
    background: #f7f8f5;
    padding: 13px;
    border-radius: 8px;
}

.utilisateur-details summary {
    cursor: pointer;
    color: #547b65;
    font-size: 12px;
    font-weight: 600;
}

.utilisateur-password-form {
    padding-top: 17px;
}

.utilisateur-password-form .btn {
    font-size: 12px;
}

.utilisateur-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
}

.utilisateur-card-footer span {
    color: #929b93;
    font-size: 11px;
}

.btn-small {
    padding: 8px 11px;
    font-size: 11px;
}

@media(max-width: 850px) {

    .utilisateur-form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .utilisateurs-list {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 550px) {

    .utilisateur-form-grid {
        grid-template-columns: 1fr;
    }

    .utilisateur-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}



/* ==================================================
   SOUVENANCE - IDENTITE VISUELLE DE LA PAGE PUBLIQUE
   ================================================== */

body:has(.sou-hero) {
    background: #faf9f5;
    color: #38483d;
}

/* BASE */

.sou-container {
    width: min(1160px, calc(100% - 60px));
    margin: 0 auto;
}

.sou-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #788777;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
}

.sou-eyebrow-line {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: #879782;
}

.sou-hero h1,
.sou-section-intro h2,
.sou-centered-heading h2,
.sou-how-heading h2,
.sou-security h2,
.sou-final h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: normal;
    letter-spacing: -1.8px;
}

.sou-hero h1 em,
.sou-section-intro h2 em,
.sou-centered-heading h2 em,
.sou-how-heading h2 em,
.sou-security h2 em,
.sou-final h2 em {
    font-weight: normal;
    color: #82927c;
}

/* HERO */

.sou-hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    background: #f1f0e9;
    display: flex;
    flex-direction: column;
}

.sou-hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 75% 30%, rgba(190,199,177,.22), transparent 40%),
        linear-gradient(110deg, #f6f4ed 0%, #f2f1e9 55%, #e9ebdf 100%);
}

.sou-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 70px));
    margin: auto;
    padding: 75px 0 85px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 55px;
}

.sou-hero-text {
    padding: 25px 0;
}

.sou-hero h1 {
    color: #35483d;
    font-size: clamp(48px, 5.4vw, 72px);
    line-height: 1.08;
    margin: 32px 0 24px;
}

.sou-hero-description {
    max-width: 475px;
    color: #727d70;
    font-size: 15px;
    line-height: 1.95;
}

.sou-hero-actions {
    display: flex;
    align-items: center;
    gap: 27px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.sou-button {
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: #526b57;
    color: #17251D;
    border-radius: 3px;
    text-decoration: none !important;
    font-size: 12px;
    letter-spacing: .3px;
    transition: .25s;
}

.sou-button:hover {
    background: #394e3e;
    transform: translateY(-2px);
}

.sou-button span {
    font-size: 18px;
}

.sou-text-link {
    color: #69766a;
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1px solid #aab3a5;
    padding-bottom: 7px;
}

.sou-text-link span {
    margin-left: 8px;
}

.sou-hero-signature {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #92998d;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 13px;
    margin-top: 50px;
}

.sou-hero-visual {
    position: relative;
    padding: 15px 30px 30px 10px;
}

.sou-art-image {
    position: relative;
    height: 490px;
    max-width: 470px;
    margin-left: auto;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 70% 25%, rgba(224,218,192,.75), transparent 38%),
        linear-gradient(145deg, #dce1d1, #a9b69f 60%, #82947e);
    border-radius: 220px 220px 5px 5px;
}

.sou-art-image:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(43,61,44,.35));
}

.sou-hero-botanical {
    position: absolute;
    width: 92%;
    height: 95%;
    top: 1%;
    left: 5%;
    opacity: .95;
}

.sou-art-circle {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(241,233,211,.25);
    border: 1px solid rgba(255,255,255,.35);
    top: 80px;
    right: 40px;
}

.sou-art-caption {
    position: absolute;
    bottom: 28px;
    left: 30px;
    z-index: 2;
    color: white;
}

.sou-art-caption span {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.sou-art-caption strong {
    font-family: Georgia, serif;
    font-size: 19px;
    font-weight: normal;
}

.sou-floating-card {
    position: absolute;
    bottom: 0;
    left: -15px;
    width: 275px;
    background: #faf9f5;
    padding: 19px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 40px rgba(46,62,46,.12);
}

.sou-floating-heart {
    font-size: 30px;
    color: #84947c;
}

.sou-floating-card strong,
.sou-floating-card small {
    display: block;
}

.sou-floating-card strong {
    color: #405244;
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: normal;
}

.sou-floating-card small {
    color: #8a9487;
    font-size: 10px;
    line-height: 1.5;
    margin-top: 5px;
}

.sou-art-number {
    position: absolute;
    right: -8px;
    bottom: 100px;
    writing-mode: vertical-rl;
    color: #7c897a;
    font-size: 9px;
    letter-spacing: 2px;
}

.sou-hero-bottom {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 5%;
    margin-bottom: 22px;
    color: #92998d;
    font-size: 9px;
    letter-spacing: 2px;
}

.sou-bottom-line {
    width: 65px;
    height: 1px;
    background: #b4bcad;
}

/* PHILOSOPHIE */

.sou-philosophy {
    padding: 115px 0;
    background: #faf9f5;
}

.sou-philosophy .sou-container {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
}

.sou-section-intro h2,
.sou-how-heading h2,
.sou-security h2 {
    font-size: clamp(39px, 4vw, 53px);
    line-height: 1.18;
    color: #35483d;
    margin: 28px 0 0;
}

.sou-philosophy-content {
    padding-top: 15px;
    max-width: 570px;
}

.sou-philosophy-content p {
    color: #788277;
    font-size: 14px;
    line-height: 2;
    margin: 0 0 19px;
}

.sou-philosophy-content .sou-lead {
    color: #465a49;
    font-family: Georgia, serif;
    font-size: 23px;
    line-height: 1.55;
    margin-bottom: 27px;
}

.sou-quote {
    position: relative;
    border-left: 2px solid #a2b099;
    padding: 12px 0 12px 24px;
    margin-top: 35px;
}

.sou-quote span {
    display: block;
    font-family: Georgia, serif;
    font-size: 42px;
    color: #9aaa91;
    line-height: .8;
}

.sou-quote p {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 18px;
    color: #526b57;
    margin: 8px 0 0;
}

/* INTERLUDE */

.sou-interlude {
    padding: 0 5%;
    background: #faf9f5;
}

.sou-interlude-image {
    min-height: 440px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 15%, rgba(225,212,183,.7), transparent 28%),
        linear-gradient(115deg, #647b65 0%, #89967c 55%, #b5b59a 100%);
}

.sou-interlude-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(38,57,42,.65), rgba(38,57,42,.05));
}

.sou-interlude-content {
    position: relative;
    z-index: 2;
    max-width: 1160px;
    margin: 0 auto;
    padding: 100px 40px;
    color: white;
}

.sou-interlude-content > span {
    font-size: 10px;
    letter-spacing: 2px;
}

.sou-interlude-content h2 {
    font-family: Georgia, serif;
    font-weight: normal;
    font-size: clamp(43px, 5vw, 65px);
    line-height: 1.12;
    margin: 25px 0;
}

.sou-interlude-content h2 em {
    color: #e3dfc9;
    font-weight: normal;
}

.sou-interlude-content p {
    max-width: 430px;
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255,255,255,.85);
}

.sou-interlude-decoration {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    color: rgba(255,255,255,.3);
}

/* DOMAINES */

.sou-univers {
    padding: 120px 0;
    background: #f4f3ed;
}

.sou-centered-heading {
    text-align: center;
    max-width: 690px;
    margin: 0 auto 65px;
}

.sou-centered-heading .sou-eyebrow {
    justify-content: center;
}

.sou-centered-heading h2 {
    color: #35483d;
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.2;
    margin: 25px 0 17px;
}

.sou-centered-heading p {
    color: #849082;
    font-size: 14px;
    line-height: 1.8;
}

.sou-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.sou-domain-card {
    position: relative;
    background: #fbfaf6;
    padding: 30px;
    min-height: 345px;
    border: 1px solid #e9e9df;
    transition: .25s;
}

.sou-domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(46,62,46,.07);
}

.sou-card-illustration {
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #edf0e8;
}

.sou-card-illustration svg {
    width: 150px;
    height: 125px;
}

.sou-illustration-heart {
    background: #f0ece5;
}

.sou-illustration-letter {
    background: #ecefe9;
}

.sou-card-index {
    color: #9aa394;
    font-size: 10px;
    letter-spacing: 2px;
}

.sou-domain-card h3 {
    font-family: Georgia, serif;
    color: #435746;
    font-size: 23px;
    font-weight: normal;
    margin: 12px 0;
}

.sou-domain-card p {
    color: #828c7e;
    font-size: 12px;
    line-height: 1.9;
}

/* ETAPES */

.sou-how {
    padding: 115px 0;
    background: #faf9f5;
}

.sou-how-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    margin-bottom: 65px;
}

.sou-how-heading h2 {
    margin-top: 25px;
}

.sou-how-heading > p {
    max-width: 370px;
    color: #849082;
    font-size: 14px;
    line-height: 1.9;
}

.sou-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #e2e5dc;
}

.sou-step {
    padding: 28px 24px 15px 0;
    margin-right: 24px;
    border-right: 1px solid #e2e5dc;
}

.sou-step:last-child {
    border-right: 0;
    margin-right: 0;
}

.sou-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.sou-step-top > span {
    color: #899783;
    font-size: 12px;
    letter-spacing: 2px;
}

.sou-step-icon {
    width: 43px;
    height: 43px;
    border: 1px solid #dfe4d9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6d846d;
    font-size: 20px;
}

.sou-step h3 {
    font-family: Georgia, serif;
    color: #435746;
    font-size: 21px;
    font-weight: normal;
}

.sou-step p {
    color: #849082;
    font-size: 12px;
    line-height: 1.9;
}

/* SECURITE */

.sou-security {
    position: relative;
    overflow: hidden;
    padding: 105px 0;
    background: #e9ede5;
}

.sou-security-inner {
    position: relative;
    z-index: 1;
}

.sou-security-text {
    max-width: 680px;
}

.sou-security h2 {
    margin: 28px 0;
}

.sou-security-text > p {
    max-width: 610px;
    color: #748071;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 17px;
}

.sou-security-decoration {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    color: rgba(99,123,99,.23);
}

.sou-security-points {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 30px;
}

.sou-security-points div {
    color: #596c58;
    font-size: 12px;
}

.sou-security-points span {
    display: inline-flex;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #d6e0d2;
    color: #526e55;
    margin-right: 7px;
}

/* FINAL */

.sou-final {
    position: relative;
    overflow: hidden;
    background: #405b47;
    color: white;
    padding: 105px 25px 75px;
    text-align: center;
}

.sou-final-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}

.sou-final .sou-eyebrow {
    justify-content: center;
    color: #c4d0bf;
}

.sou-final h2 {
    font-size: clamp(39px, 4.5vw, 58px);
    line-height: 1.2;
    margin: 30px 0 22px;
}

.sou-final h2 em {
    color: #c4d0b9;
}

.sou-final-content > p {
    color: #d1d9ce;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.sou-button-light {
    background: #f4f2e9;
    color: #435b48 !important;
}

.sou-button-light:hover {
    background: white;
}

.sou-final-decoration {
    position: absolute;
    left: 5%;
    bottom: -90px;
    width: 250px;
    color: rgba(255,255,255,.14);
}

.sou-final-signature {
    margin-top: 70px;
    color: #bdc9b9;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 13px;
}

/* RESPONSIVE */

@media(max-width: 950px) {

    .sou-hero-inner {
        grid-template-columns: 1fr .8fr;
        gap: 25px;
    }

    .sou-art-image {
        height: 400px;
    }

    .sou-floating-card {
        left: -35px;
        width: 240px;
    }

    .sou-steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }

    .sou-step:nth-child(2) {
        border-right: 0;
    }

    .sou-security-decoration {
        opacity: .4;
        right: -100px;
    }
}

@media(max-width: 700px) {

    .sou-container {
        width: calc(100% - 40px);
    }

    .sou-hero-inner {
        width: calc(100% - 40px);
        grid-template-columns: 1fr;
        padding: 65px 0 70px;
    }

    .sou-hero h1 {
        font-size: 51px;
    }

    .sou-hero-visual {
        padding: 0 15px 35px;
        margin-top: 15px;
    }

    .sou-art-image {
        height: 370px;
        max-width: 100%;
        margin: 0 auto;
    }

    .sou-floating-card {
        left: 0;
        bottom: 0;
        width: min(270px, 90%);
    }

    .sou-art-number {
        display: none;
    }

    .sou-hero-signature {
        margin-top: 35px;
    }

    .sou-philosophy,
    .sou-univers,
    .sou-how {
        padding: 75px 0;
    }

    .sou-philosophy .sou-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sou-section-intro h2,
    .sou-how-heading h2,
    .sou-security h2 {
        font-size: 41px;
    }

    .sou-interlude {
        padding: 0 15px;
    }

    .sou-interlude-image {
        min-height: 400px;
    }

    .sou-interlude-content {
        padding: 75px 25px;
    }

    .sou-interlude-decoration {
        right: -90px;
        opacity: .5;
    }

    .sou-centered-heading {
        margin-bottom: 40px;
    }

    .sou-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sou-domain-card {
        min-height: auto;
        padding: 22px;
    }

    .sou-card-illustration {
        height: 125px;
    }

    .sou-how-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 40px;
    }

    .sou-steps {
        grid-template-columns: 1fr;
    }

    .sou-step,
    .sou-step:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid #e2e5dc;
        margin: 0;
        padding: 22px 0;
    }

    .sou-step-top {
        margin-bottom: 20px;
    }

    .sou-security {
        padding: 75px 0;
    }

    .sou-security-decoration {
        width: 200px;
        right: -100px;
        top: 70%;
    }

    .sou-security-points {
        flex-direction: column;
        gap: 14px;
    }

    .sou-final {
        padding: 80px 20px 55px;
    }

    .sou-final h2 {
        font-size: 39px;
    }

    .sou-final-signature {
        margin-top: 50px;
    }
}

@media(max-width: 380px) {

    .sou-hero h1 {
        font-size: 43px;
    }

    .sou-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .sou-final h2 {
        font-size: 34px;
    }
}


/* FORMULAIRE DE CONTACT */

.sou-contact {
    padding: 100px 24px;
    background: #f3f1e9;
}

.sou-contact-inner {
    max-width: 1120px;
    margin: auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.sou-contact-intro h2 {
    font-family: Georgia, serif;
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.2;
    color: #354b40;
    font-weight: normal;
    margin: 18px 0;
}

.sou-contact-intro p {
    color: #69766d;
    line-height: 1.8;
    font-size: 16px;
}

.sou-contact-note {
    margin-top: 35px;
    color: #526d5c;
    font-size: 14px;
}

.sou-contact-note span {
    margin-right: 8px;
}

.sou-contact-form {
    background: #fff;
    padding: 38px;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(45, 60, 49, 0.06);
}

.sou-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.sou-form-group {
    margin-bottom: 20px;
}

.sou-form-group label {
    display: block;
    color: #425649;
    font-size: 14px;
    margin-bottom: 8px;
}

.sou-form-group input,
.sou-form-group textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #e2e5df;
    background: #fbfcfa;
    border-radius: 8px;
    padding: 13px 15px;
    font: inherit;
    font-size: 15px;
    color: #354b40;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.sou-form-group input:focus,
.sou-form-group textarea:focus {
    border-color: #819b86;
    box-shadow: 0 0 0 3px rgba(129, 155, 134, .12);
}

.sou-form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.sou-contact-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #778078;
    font-size: 12px;
    line-height: 1.6;
    margin: 8px 0 24px;
}

.sou-contact-consent input {
    margin-top: 3px;
}

.sou-contact-submit {
    border: none;
    background: #496653;
    color: white;
    padding: 15px 24px;
    border-radius: 7px;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.sou-contact-submit:hover {
    background: #354b40;
    transform: translateY(-2px);
}

.sou-contact-submit span {
    margin-left: 15px;
}

.sou-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 760px) {
    .sou-contact {
        padding: 65px 20px;
    }

    .sou-contact-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .sou-contact-form {
        padding: 25px 20px;
    }

    .sou-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


.sou-contact-feedback {
    max-width: 1120px;
    margin: 0 auto 25px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
}

.sou-contact-feedback.success {
    background: #e5eee6;
    color: #385b43;
}

.sou-contact-feedback.error {
    background: #f7e9e5;
    color: #934b3e;
}
.sou-contact-feedback {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
}

.anneaux-temps {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: auto;
}


/* ==========================================
   SOUVENANCE — HISTOIRES ET UTILISATIONS
=========================================== */

.sou-stories {
    padding: 10px 0;
    background: #faf9f5;
}

.sou-stories-heading {
    max-width: 760px;
    margin: 0 auto 65px;
    text-align: center;
}

.sou-stories-heading .sou-eyebrow {
    justify-content: center;
}

.sou-stories-heading h2 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 4.5vw, 55px);
    line-height: 1.15;
    font-weight: normal;
    color: #35483d;
    margin: 25px 0 20px;
    letter-spacing: -1.5px;
}

.sou-stories-heading h2 em {
    color: #82927c;
    font-weight: normal;
}

.sou-stories-heading > p {
    max-width: 650px;
    margin: auto;
    color: #788477;
    font-size: 15px;
    line-height: 1.9;
}

.sou-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

.sou-story-card {
    background: #fffefa;
    border: 1px solid #e9e8df;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform .3s ease, box-shadow .3s ease;
}

.sou-story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(42, 59, 44, .09);
}

.sou-story-photo {
    position: relative;
    height: 235px;
    overflow: hidden;
    background: #e9ece4;
}

.sou-story-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s ease;
}

.sou-story-card:hover .sou-story-photo img {
    transform: scale(1.045);
}

.sou-story-number {
    position: absolute;
    right: 17px;
    bottom: 15px;
    width: 37px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(250, 249, 245, .94);
    color: #526b55;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 15px;
}

.sou-story-content {
    padding: 27px 27px 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sou-story-category {
    color: #81917e;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.6;
}

.sou-story-content h3 {
    font-family: Georgia, serif;
    color: #35483d;
    font-size: 24px;
    font-weight: normal;
    line-height: 1.25;
    margin: 15px 0 17px;
}

.sou-story-content > p {
    color: #68756b;
    font-size: 13px;
    line-height: 1.9;
    margin: 0 0 25px;
}

.sou-story-signature {
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid #eaece5;
}

.sou-story-signature strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: normal;
    color: #455a49;
}

.sou-story-signature span {
    display: block;
    margin-top: 4px;
    color: #9a9f93;
    font-size: 10px;
    line-height: 1.5;
}

.sou-story-featured {
    background: #f0f1e9;
}

.sou-story-featured .sou-story-content h3 {
    color: #526b55;
}

.sou-story-featured .sou-story-signature {
    border-color: #dce2d6;
}

.sou-stories-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    max-width: 700px;
    margin: 50px auto 0;
    color: #879184;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

.sou-stories-note span {
    color: #9ba88f;
    font-size: 17px;
}

/* TABLETTES */

@media(max-width: 1000px) {
    .sou-stories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILES */

@media(max-width: 650px) {
    .sou-stories {
        padding: 75px 0;
    }

    .sou-stories-heading {
        margin-bottom: 40px;
    }

    .sou-stories-heading h2 {
        font-size: 39px;
    }

    .sou-stories-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .sou-story-photo {
        height: 250px;
    }

    .sou-story-content {
        padding: 24px;
    }

    .sou-story-content h3 {
        font-size: 23px;
    }

    .sou-stories-note {
        text-align: left;
        margin-top: 35px;
    }
}

/* ACCESSIBILITÉ */

@media(prefers-reduced-motion: reduce) {
    .sou-story-card,
    .sou-story-photo img {
        transition: none;
    }

    .sou-story-card:hover {
        transform: none;
    }
}

/* BANDEAU SERVICE GRATUIT */

.sou-free-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 13px 20px;
    background: #edf1e9;
    border-bottom: 1px solid #e1e8df;
    color: #35483d;
    text-align: left;
}

.sou-free-icon {
    font-size: 25px;
    color: #718b73;
}

.sou-free-banner strong,
.sou-free-banner small {
    display: block;
}

.sou-free-banner strong {
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: normal;
}

.sou-free-banner small {
    color: #788477;
    font-size: 11px;
    margin-top: 2px;
}

.sou-free-badge {
    margin-left: 10px;
    padding: 5px 10px;
    border: 1px solid #bdcdbb;
    border-radius: 20px;
    color: #547b65;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

@media(max-width: 600px) {
    .sou-free-banner {
        gap: 9px;
        padding: 12px;
    }

    .sou-free-banner strong {
        font-size: 13px;
    }

    .sou-free-banner small {
        font-size: 10px;
    }

    .sou-free-badge {
        display: none;
    }
}


/* BANDEAU GRATUITÉ SOUVENANCE */

.sou-free-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, #edf1e9 0%, #f6f4ee 55%, #e9eee7 100%);
    border-bottom: 1px solid #dce4d9;
    padding: 19px 20px 12px;
}

.sou-free-inner {
    max-width: 1180px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

/* Médaillon */

.sou-free-seal {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #35483d;
    color: #f5f2e9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(53,72,61,.16);
    border: 3px double rgba(255,255,255,.35);
}

.sou-free-seal strong {
    font-family: Georgia, serif;
    font-size: 23px;
    line-height: 25px;
    font-weight: normal;
}

.sou-free-seal span {
    font-size: 8px;
    letter-spacing: 1.5px;
    font-weight: bold;
}

/* Message */

.sou-free-message {
    max-width: 580px;
}

.sou-free-title {
    font-family: Georgia, serif;
    font-size: 21px;
    color: #35483d;
    line-height: 1.3;
}

.sou-free-subtitle {
    font-size: 12px;
    color: #788477;
    margin-top: 5px;
    line-height: 1.5;
}

/* Décoration */

.sou-free-decoration {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
    color: #718b73;
}

.sou-free-line {
    width: 35px;
    height: 1px;
    background: #bdcbbb;
}

.sou-free-heart {
    font-family: Georgia, serif;
    font-size: 35px;
    line-height: 1;
}

/* Signature inférieure */

.sou-free-baseline {
    text-align: center;
    margin-top: 12px;
    font-size: 8px;
    letter-spacing: 2px;
    color: #718477;
    font-weight: 600;
}

.sou-free-baseline span {
    margin: 0 7px;
    color: #a6b5a3;
}

/* Mobile */

@media (max-width: 600px) {
    .sou-free-banner {
        padding: 14px 12px 10px;
    }

    .sou-free-inner {
        gap: 13px;
    }

    .sou-free-seal {
        width: 53px;
        height: 53px;
    }

    .sou-free-seal strong {
        font-size: 19px;
    }

    .sou-free-title {
        font-size: 16px;
    }

    .sou-free-subtitle {
        font-size: 10px;
    }

    .sou-free-decoration {
        display: none;
    }

    .sou-free-baseline {
        font-size: 7px;
        letter-spacing: 1px;
    }
}

.ruban-memory-notice {
    margin-top: 28px;
    padding-top: 17px;
    border-top: 1px solid rgba(164, 134, 70, 0.25);
    color: #8b8067;
    font-size: 12px;
    line-height: 1.7;
}

.ruban-memory-notice-title {
    color: #9b804b;
    font-family: Georgia, serif;
    font-size: 14px;
    margin-bottom: 5px;
}

.ruban-memory-notice p {
    margin: 0;
    font-style: italic;
}
