/* ==========================================================================
   Complexe Funéraire Roy - Custom External Style Sheet (Classic Design)
   ========================================================================== */

/* Variables & Reset */
:root {
    --primary: #343a3b;      /* Gris ardoise */
    --accent: #c5a059;       /* Doré */
    --accent-light: #e5c583; /* Doré clair */
    --dark: #000000;
    --light-bg: #efefef;
    --text-dark: #343a3b;
    --text-muted: #8b9293;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Lato', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #ffffff;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header & Navigation */
.header-wrapper {
    background-color: var(--dark);
    color: #ffffff;
    /* border-bottom: 3px solid var(--accent); */
    padding: 20px 0;
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.slogan-villes-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

#logo img {
    max-height: 120px;
}

#slogan {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    background-color: var(--primary);
    padding: 8px 16px;
    border-radius: 4px;
    text-align: center;
}

#villes {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    text-align: center;
}

.header-contact-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.contact-number {
    background-color: var(--primary);
    border-radius: 4px;
    padding: 8px 16px;
    margin: 0;
}

.contact-number a {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.availability-tag {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-nav-row {
    display: flex;
    justify-content: center;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* padding-top: 15px; */
}

/* Navigation Menu */
.main-menu {
    display: block;
    width: 100%;
}

.menu-list {
    list-style: none;
    display: flex;
    gap: 5px;
    justify-content: center;
}

.menu-list > li {
    position: relative;
}

.menu-list > li > a {
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    padding: 10px 15px;
    display: block;
    text-transform: uppercase;
}

.menu-list > li > a.cursive-menu {
    font-family: 'Great Vibes', cursive;
    font-size: 26px;
    text-transform: none;
    padding: 5px 15px;
}

.menu-list > li:hover > a,
.menu-list > li.active > a {
    background-color: var(--primary);
    border-radius: 4px;
}

/* Dropdown Menu */
.has-submenu:hover .sub-menu {
    display: block;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary);
    min-width: 220px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    z-index: 100;
    list-style: none;
    border-top: 2px solid var(--accent);
}

.sub-menu li a {
    color: #ffffff;
    padding: 10px 15px;
    display: block;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sub-menu li a:hover {
    background-color: var(--dark);
}

.mobile-menu-btn {
    display: none;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Banner / Slider */
.home-slider {
    position: relative;
    width: 99.5vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -40px;
    height: 450px;
    overflow: hidden;
    border-bottom: 5px solid var(--accent);
    background-color: var(--dark);
}

.slides-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 8s ease-in-out;
    transform: scale(1);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1.05); /* Premium Ken Burns Effect */
    z-index: 2;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 3;
    pointer-events: none;
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover, .dot.active {
    background-color: var(--accent);
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--accent);
}

@media (max-width: 768px) {
    .home-slider {
        height: 350px;
    }
}


/* Contents */
.contents {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

.welcome-section {
    text-align: center;
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-section h1 {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 36px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.welcome-section .subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}

.welcome-section p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #555;
}

/* Custom Buttons */
.btn-classic {
    display: inline-block;
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 4px;
    padding: 11px 28px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-classic:hover {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

/* Prochaines funérailles Section */
.funerailles-section {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.funerailles-section h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 40px;
    font-style: italic;
}

.funerailles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.funeraille-card {
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.funeraille-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.funeraille-card-img {
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
    position: relative;
}

.funeraille-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.funeraille-card:hover .funeraille-card-img img {
    transform: scale(1.03);
}

.funeraille-card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    text-align: center;
}

.funeraille-card-info h4 {
    font-family: var(--font-heading);
    font-size: 19px;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.funeral-datetime {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f7f9f9;
    border-left: 3px solid var(--accent);
    padding: 12px 16px;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
    text-align: left;
}

.date-icon {
    font-size: 20px;
}

.date-details {
    display: flex;
    flex-direction: column;
}

.date-day {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.date-time {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
}

.btn-sympathy {
    display: block;
    width: 100%;
    background-color: var(--primary);
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.btn-sympathy:hover {
    background-color: var(--accent);
    color: #ffffff;
}

/* Avis de décès Section */
.deces-section {
    background-color: var(--light-bg);
    margin: 40px -5vw;
    padding: 60px 5vw;
    text-align: center;
}

.deces-section h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.search-form-wrap {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.search-form-wrap label {
    font-weight: bold;
    color: var(--primary);
}

.search-input {
    padding: 10px 15px;
    border: 1px solid #ccc;
    width: 300px;
    font-family: var(--font-main);
}

.search-submit {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-submit:hover {
    background-color: var(--dark);
}

/* Grid layout */
.deces-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    text-align: left;
}

@media (max-width: 1200px) {
    .deces-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .deces-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 550px) {
    .deces-grid {
        grid-template-columns: 1fr;
    }
}

.deces-card {
    background-color: #121415;
    border: 1px solid #232729;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    height: 440px;
}

.deces-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--accent);
}

.deces-card-img {
    height: 260px;
    overflow: hidden;
    position: relative;
    background-color: #1f2223;
}

.deces-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.deces-card:hover .deces-card-img img {
    transform: scale(1.04);
}

/* Le dégradé sombre en bas de l'image pour le nom */
.deces-card-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(18, 20, 21, 0.95));
    z-index: 2;
}

.deces-card-img .no-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #999;
    font-size: 14px;
}

.deces-card-info {
    position: relative;
    background-color: #121415;
    padding: 15px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 3;
}

/* Positionnement du nom absolument en bas de la photo, juste au-dessus de la description */
.deces-card-info h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--accent-light);
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: absolute;
    top: -28px;
    left: 20px;
    right: 20px;
    z-index: 4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.deces-card-info p {
    font-size: 13.5px;
    color: #cccccc;
    line-height: 1.5;
    margin-bottom: 15px;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deces-card-info .readmore-btn {
    align-self: stretch;
    margin-top: auto;
    background-color: transparent;
    color: var(--accent-light);
    border: 1px solid var(--accent-light);
    padding: 10px 15px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.deces-card-info .readmore-btn:hover {
    background-color: var(--accent-light);
    color: #121415;
    border-color: var(--accent-light);
}

/* Two Columns / Services Extra */
.services-extra-section {
    margin: 60px 0;
    text-align: center;
}

.services-extra-section h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 26px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.services-extra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.services-extra-item {
    border: 1px solid #ddd;
    background-color: #ffffff;
}

.services-extra-item img {
    width: 100%;
    transition: opacity 0.2s;
}

.services-extra-item img:hover {
    opacity: 0.9;
}

/* Visite 360 & Article */
.visite-360-section {
    text-align: center;
    margin: 60px 0;
}

.visite-360-section img {
    margin: 20px auto;
}

.article-section {
    text-align: center;
    margin: 60px 0;
    padding: 40px 0;
    border-top: 1px solid #ddd;
}

.article-section h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 20px;
}

.article-section img {
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Footer Section */
#footer-wrapper {
    background-color: #151718;
    border-top: 1px solid #26292b;
    color: #a0a5a8;
    padding: 50px 0 0 0;
    font-size: 14px;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col p a {
    color: #cfd2d3;
}

.footer-col p a:hover {
    color: var(--accent-light);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
    align-self: flex-start;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    color: #cfd2d3;
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-links li a:hover {
    color: var(--accent-light);
    transform: translateX(5px);
}

#footer-bottom {
    border-top: 1px solid #26292b;
    padding: 20px 0;
}

.footer-row-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #7c8082;
}

.footer-row-bottom p {
    margin: 0;
}

.footer-row-bottom a {
    color: #cfd2d3;
    font-weight: bold;
    text-decoration: none;
}

.footer-row-bottom a:hover {
    color: var(--accent-light);
}

/* Sub-page layouts (Philosophie, Services, Contact, etc.) */
.page-head {
    background-color: var(--light-bg);
    padding: 30px 0;
    border-bottom: 1px solid #dedede;
    margin-bottom: 40px;
}

.page-head-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.page-head h1 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 28px;
    text-transform: uppercase;
}

.page-content-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.sidebar {
    background-color: #fafafa;
    border: 1px solid #eee;
    padding: 20px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    font-family: var(--font-main);
}

textarea.form-control {
    height: 150px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-top-row {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .header-contact-right {
        align-items: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-menu {
        display: none;
        width: 100%;
        background-color: var(--primary);
        border-radius: 4px;
        margin-top: 10px;
    }
    
    .main-menu.open {
        display: block;
    }
    
    .menu-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .menu-list > li > a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
    }
    
    .sub-menu li a {
        padding-left: 35px;
    }
    
    .services-extra-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-row-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .page-content-wrap {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Préarrangements Page Premium Styles
   ========================================================================== */
.prearrangements-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -40px;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('../img/prearrangements_hero.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    border-bottom: 4px solid var(--accent);
    margin-bottom: 60px;
}

.prearrangements-hero-content {
    width: 90%;
    max-width: 800px;
}

.prearrangements-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.prearrangements-hero .tagline {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--accent-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.prearrangements-intro {
    max-width: 900px;
    margin: 0 auto 60px auto;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

.prearrangements-section-title {
    font-family: var(--font-heading);
    color: var(--primary);
    text-transform: uppercase;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    letter-spacing: 1px;
}

.prearrangements-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: 15px auto 0 auto;
}

/* Grille des raisons */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.reason-card {
    background: #ffffff;
    border: 1px solid #e5e8e8;
    padding: 35px 30px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(197, 160, 89, 0.2);
}

.reason-card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.reason-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(197, 160, 89, 0.2);
    position: absolute;
    top: 15px;
    right: 25px;
    transition: color 0.3s ease;
}

.reason-card:hover .reason-number {
    color: var(--accent);
}

.reason-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
    padding-right: 40px;
}

.reason-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Section 2 colonnes avec image */
.split-info-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
    padding: 40px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.split-info-text h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.split-info-text p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

.guarantees-box {
    background-color: #fafaf9;
    border: 1px solid #eadecc;
    border-left: 4px solid var(--accent);
    padding: 25px;
    margin-top: 30px;
    border-radius: 4px;
}

.guarantees-box h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.guarantees-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guarantees-list li {
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guarantees-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

.split-info-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.split-info-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.split-info-img:hover img {
    transform: scale(1.03);
}

/* Citation / Temoignage */
.quote-banner {
    background: linear-gradient(rgba(52, 58, 59, 0.92), rgba(52, 58, 59, 0.92)), url('../img/prearrangements_serenity.png') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 80px;
    border-radius: 4px;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
    color: #fcfcfc;
}

.quote-author {
    font-family: var(--font-heading);
    color: var(--accent-light);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Formulaire premium */
.premium-form-container {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-top: 5px solid var(--accent);
    padding: 50px 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 850px;
    margin: 0 auto 40px auto;
}

.premium-form-container h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.8rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.premium-form-container .form-desc {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

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

.form-group-custom label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input-custom {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-input-custom:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.form-textarea-custom {
    min-height: 120px;
    resize: vertical;
}

.btn-classic-premium {
    display: block;
    width: 100%;
    background-color: var(--primary);
    color: #ffffff;
    padding: 15px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(52, 58, 59, 0.2);
}

.btn-classic-premium:hover {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(197, 160, 89, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .prearrangements-hero {
        height: 300px;
        margin-bottom: 40px;
    }
    
    .prearrangements-hero h1 {
        font-size: 2.2rem;
    }
    
    .prearrangements-hero .tagline {
        font-size: 1.1rem;
    }
    
    .prearrangements-section-title {
        font-size: 1.6rem;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .split-info-section {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .quote-banner {
        padding: 50px 20px;
        margin-bottom: 50px;
    }
    
    .quote-text {
        font-size: 1.3rem;
    }
    
    .premium-form-container {
        padding: 30px 20px;
    }
    
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   Header Version 2 (Avis de Décès - Bloc 1/8 - 6/8 - 1/8)
   ========================================================================== */
.header-v2 {
    padding: 15px 0;
    background-color: var(--dark);
    border-bottom: 2px solid var(--accent);
}

.header-v2 .header-container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

.header-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 8fr 1fr; /* Proportions 1/10, 8/10, 1/10 */
    align-items: center;
    gap: 20px;
    width: 100%;
}

.header-logo-v2 img {
    object-fit: contain;
    width: auto;
}

.header-center-v2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px;
}

.header-meta-v2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-priority-v2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.priority-label-v2 {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
}

.priority-desc-v2 {
    font-family: var(--font-heading);
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

.header-slogan-group-v2 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.slogan-v2 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 0.5px;
}

.villes-v2 {
    font-size: 11px;
    color: var(--text-muted);
}

.header-nav-v2 {
    width: 100%;
}

.header-nav-v2 .menu-list {
    display: flex;
    justify-content: space-between; /* Répartition égale */
    gap: 2px; /* Réduire l'espace entre les éléments */
    width: 100%;
}

.header-nav-v2 .menu-list > li > a {
    font-size: 13px; /* Augmenté à 13px */
    padding: 8px 4px; /* Ajustement du padding latéral */
    white-space: nowrap; /* Empêche le texte de se couper en 2 lignes */
    letter-spacing: 0.2px;
}

.header-phone-v2 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    justify-content: center;
}

.header-social-v2 {
    display: flex;
    justify-content: flex-end;
}

.fb-link-v2 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

.fb-link-v2:hover {
    color: #1877F2; /* Couleur officielle Facebook */
}

.fb-icon-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1877F2;
    color: #ffffff;
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 11px;
    width: 16px;
    height: 16px;
    border-radius: 2px;
    line-height: 1;
    padding-bottom: 2px; /* Ajustement visuel pour le f */
}

.phone-link-v2 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background-color: var(--primary);
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--accent);
    transition: all 0.3s ease;
}

.phone-link-v2:hover {
    background-color: var(--accent);
}

.phone-link-v2:hover .phone-num-v2,
.phone-link-v2:hover .phone-lbl-v2 {
    color: var(--dark);
}

.phone-num-v2 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.phone-lbl-v2 {
    color: var(--accent-light);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* responsive v2 */
@media (max-width: 1024px) {
    .header-grid-v2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .header-logo-v2, .header-phone-v2 {
        justify-content: center;
        text-align: center;
    }
    
    .header-logo-v2 img {
        max-height: 80px;
        margin: 0 auto;
    }
    
    .header-phone-v2 .phone-link-v2 {
        align-items: center;
        margin: 0 auto;
    }
    
    .header-meta-v2 {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

/* ==========================================================================
   Header Version 3 (Qui Sommes-Nous / Philosophie - Moderne & Épuré)
   ========================================================================== */
.header-v3 {
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-v3 .header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-flex-v3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 30px;
}

.header-logo-v3 img {
    max-height: 70px;
    width: auto;
}

.header-nav-v3 {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.header-nav-v3 .menu-list {
    gap: 15px;
}

.header-nav-v3 .menu-list > li > a {
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 8px 12px;
}

.header-cta-v3 .btn-cta-v3 {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: 2px solid var(--accent);
    padding: 8px 16px;
    border-radius: 30px;
    color: #ffffff;
    align-items: center;
    transition: all 0.3s ease;
}

.header-cta-v3 .btn-cta-v3 span {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--accent-light);
    letter-spacing: 1px;
}

.header-cta-v3 .btn-cta-v3 strong {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
}

.header-cta-v3 .btn-cta-v3:hover {
    background: var(--accent);
    color: var(--dark) !important;
}

.header-cta-v3 .btn-cta-v3:hover span {
    color: var(--dark);
}

/* responsive v3 */
@media (max-width: 1024px) {
    .header-flex-v3 {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-logo-v3 img {
        margin: 0 auto;
    }
    
    .header-cta-v3 {
        margin-top: 10px;
    }
}

/* Custom Hero section for Avis de décès */
.page-head-deces {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -40px;
    height: 250px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/parchemin_roule_hero.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    border-bottom: 4px solid var(--accent);
    margin-bottom: 60px;
}

.page-head-deces .page-head-container {
    width: 90%;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.page-head-deces h1 {
    font-family: 'Great Vibes', cursive, var(--font-heading);
    color: #ffffff;
    font-size: 4.8rem;
    text-transform: none;
    margin: 0 0 10px 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.page-head-deces .tagline {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--accent-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* responsive hero deces */
@media (max-width: 768px) {
    .page-head-deces {
        height: 200px;
    }
    .page-head-deces h1 {
        font-size: 3.2rem;
    }
    .page-head-deces .tagline {
        font-size: 1.1rem;
    }
}

/* Modern Search Form for Avis de décès */
.deces-search-container {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    background: #fafafa;
    padding: 25px 30px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.deces-search-intro {
    color: #555555;
    max-width: 500px;
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
}

.deces-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
    max-width: 500px;
    justify-content: flex-end;
}

@media (max-width: 991px) {
    .deces-search-container {
        flex-direction: column;
        align-items: stretch;
    }
    .deces-search-form {
        max-width: 100%;
        justify-content: flex-start;
    }
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.search-icon {
    position: absolute;
    left: 15px;
    color: var(--accent);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.deces-search-input {
    width: 100%;
    padding: 12px 45px 12px 45px;
    font-size: 0.95rem;
    border: 1px solid #cccccc;
    border-radius: 30px;
    background-color: #ffffff;
    color: var(--text-dark);
    transition: all 0.3s ease;
    outline: none;
}

.deces-search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.deces-search-clear {
    position: absolute;
    right: 15px;
    font-size: 1.4rem;
    color: #999999;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
    line-height: 1;
}

.deces-search-clear:hover {
    color: #333333;
}

.deces-search-btn {
    padding: 11px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    background-color: transparent;
    border: 2px solid var(--accent);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.deces-search-btn:hover {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.15);
}

.deces-search-btn:active {
    transform: translateY(1px);
}

/* --- Styles pour la superposition de la photo de profil sur le HERO --- */
.page-head-deces .deces-dates {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-light);
    letter-spacing: 3px;
    margin: 5px 0 10px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    font-weight: 700;
}

.left-column-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.details-profile-photo {
    width: 240px;
    height: 300px;
    border-radius: 6px;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    background-color: #121415;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: -240px; /* Décale la photo vers le haut dans le HERO */
}

.details-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-photo-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #999;
    font-size: 32px;
    background-color: #222;
}

.details-profile-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 10px;
}

.details-profile-meta .back-to-list {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.details-profile-meta .back-to-list:hover {
    color: var(--accent-light);
}

.details-profile-meta .publish-date-badge {
    font-size: 0.9rem;
    color: #777777;
}

@media (max-width: 768px) {
    .left-column-wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -80px;
        gap: 15px;
    }
    .details-profile-meta {
        align-items: center;
    }
}

/* Masquage par défaut des éléments spécifiques à la Version 3 */
.details-version-name,
.deces-dates-v3 {
    display: none;
}

/* ==========================================================================
   VERSION 2 : Mémorial Centré / Solennel
   ========================================================================== */
.version-v2 .left-column-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -150px;
    gap: 15px;
}
.version-v2 .details-profile-photo {
    width: 200px;
    height: 250px;
    border-radius: 50%; /* Image circulaire de médaillon */
    border: 5px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.version-v2 .details-profile-meta {
    align-items: center;
}
.version-v2 .page-content-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}
.version-v2 .page-content-wrap > div:first-child {
    width: 100%;
    text-align: center;
}
.version-v2 .page-content-wrap .sidebar {
    display: none; /* Masqué pour un style centré focalisé */
}
.version-v2 .form-classic, 
.version-v2 form {
    align-items: center;
}
.version-v2 form .btn-classic {
    align-self: center !important;
}

/* ==========================================================================
   VERSION 3 : Asymétrique Moderne / Split Screen
   ========================================================================== */
.version-v3 .page-head-deces {
    height: 180px; /* Bannière plus discrète */
}
.version-v3 .page-head-deces h1,
.version-v3 .page-head-deces .deces-dates {
    display: none; /* Masqués dans le hero, affichés à côté de la photo */
}
.version-v3 .left-column-wrap {
    margin-top: -90px;
    margin-bottom: 50px;
    align-items: flex-end;
}
.version-v3 .details-profile-photo {
    width: 260px;
    height: 340px;
    border-radius: 0; /* Pas de coins arrondis, asymétrie moderne */
    border: 8px solid #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.version-v3 .details-profile-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 0;
}
.version-v3 .details-version-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
}
.version-v3 .deces-dates-v3 {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}
.version-v3 .details-profile-meta .back-to-list {
    align-self: flex-start;
}

/* ==========================================================================
   VERSION 4 : Style Parchemin Traditionnel
   ========================================================================== */
.version-v4 {
    background-color: #f7f2e8; /* Papier lin */
    color: #3e3223;
}
.version-v4 .page-head-deces {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/parchemin_roule_hero.png') no-repeat center center;
    border-bottom: 3px double #b1946e;
}
.version-v4 .page-head-deces h1 {
    font-family: 'Great Vibes', cursive;
    color: #f7f2e8;
}
.version-v4 .left-column-wrap {
    margin-top: -150px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.version-v4 .details-profile-photo {
    border: 6px solid #b1946e;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(62, 50, 35, 0.2);
    filter: sepia(0.5) contrast(1.05); /* Filtre sépia traditionnel */
}
.version-v4 .page-content-wrap {
    background: #fdfbf7;
    border: 1px solid #e6dcce;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    font-family: 'Georgia', serif;
}
.version-v4 .page-content-wrap h3 {
    font-family: 'Georgia', serif;
    color: #5c4831;
    border-bottom: 1px solid #e6dcce;
    padding-bottom: 8px;
}
.version-v4 .page-content-wrap .sidebar {
    border-left: 1px solid #e6dcce;
    padding-left: 30px;
}

/* ==========================================================================
   VERSION 5 : Glassmorphism / Sombre Luxueux
   ========================================================================== */
.version-v5 {
    background-color: #0b0c0d;
    color: #e0e0e0;
}
.version-v5 .page-head-deces {
    border-bottom: 2px solid var(--accent);
}
.version-v5 .left-column-wrap {
    margin-top: -150px;
}
.version-v5 .details-profile-photo {
    border: 3px solid var(--accent);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.35);
}
.version-v5 .page-content-wrap {
    gap: 40px;
}
.version-v5 .page-content-wrap > div:first-child {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px;
    border-radius: 12px;
}
.version-v5 .page-content-wrap .sidebar {
    background: rgba(197, 160, 89, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.08);
    padding: 30px;
    border-radius: 12px;
    color: #e0e0e0;
}
.version-v5 .page-content-wrap h3 {
    color: var(--accent-light);
}
.version-v5 .form-control {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}
.version-v5 .form-control:focus {
    border-color: var(--accent-light) !important;
}
.version-v5 label {
    color: #b0b0b0;
}

@media (max-width: 991px) {
    .version-v3 .left-column-wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .version-v3 .details-profile-meta {
        align-items: center;
    }
    .version-v3 .details-profile-meta .back-to-list {
        align-self: center;
    }
}

/* Alignement des colonnes (gauche: infos salon de 240px aligné sous la photo, droite: formulaire de condoléances) */
.deces-details-version-wrapper .page-content-wrap {
    grid-template-columns: 240px 1fr;
    align-items: start;
    gap: 30px;
}

/* Style de la description de l'hommage déplacée à côté de la photo */
.hommage-description-block {
    margin-top: 15px;
    width: 100%;
}

.hommage-title {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 6px;
    letter-spacing: 0.5px;
}

.hommage-text {
    white-space: pre-line;
    line-height: 1.8;
    color: #555555;
    font-size: 1rem;
}

/* Adaptations selon les versions pour l'hommage */
.version-v4 .hommage-title {
    color: #5c4831;
    border-bottom: 1px dashed #b1946e;
    font-family: 'Georgia', serif;
}
.version-v4 .hommage-text {
    color: #3e3223;
    font-family: 'Georgia', serif;
}

.version-v5 .hommage-title {
    color: var(--accent-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.version-v5 .hommage-text {
    color: #d8d8d8;
}

/* Masquage de la colonne de salon dans la v2 centrée */
.version-v2 .deces-details-version-wrapper .page-content-wrap {
    grid-template-columns: 1fr;
}

@media (max-width: 991px) {
    .deces-details-version-wrapper .page-content-wrap {
        grid-template-columns: 1fr;
    }
}

.sidebar a:hover {
    color: var(--accent) !important;
}

/* Style pour l'affichage des dates au-dessus de l'hommage (sur fond blanc) */
.deces-details-dates {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
    letter-spacing: 2px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.version-v4 .deces-details-dates {
    color: #5c4831;
    font-family: 'Georgia', serif;
}

.version-v5 .deces-details-dates {
    color: var(--accent-light);
}






