/* ========================================
   PAGE D'ACCUEIL 2 - DESIGN PREMIUM
   ======================================== */

.home2-page {
    min-height: 100vh;
    padding-top: 80px; /* Espace pour le header fixe */
    transition: padding-top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}



/* ========================================
   HEADER NAVIGATION - STYLE POETICOUS
   ======================================== */

.home2-header {
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(11, 14, 17, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(-100%);
    animation: headerSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* Header réduit au scroll */
.home2-header.scrolled {
    background: rgba(11, 14, 17, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom-color: rgba(231, 231, 231, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.home2-header.scrolled .home2-header-container {
    padding: 0.5rem 2rem;
}

.home2-header.scrolled .home2-logo-image {
    width: 28px;
    height: 28px;
}

.home2-header.scrolled .home2-logo-text {
    font-size: 1.25rem;
}

.home2-header.scrolled .home2-nav-link {
    font-size: 0.75rem;
}

.home2-header.scrolled .home2-search-icon {
    width: 18px;
    height: 18px;
}

.home2-header.scrolled .home2-language {
    font-size: 0.75rem;
}

/* Header au hover - redevient plus visible */
.home2-header.scrolled:hover {
    background: rgba(11, 14, 17, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(231, 231, 231, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

html.day-mode .home2-header.scrolled {
    height: 70px;
    background: rgba(246, 241, 233, 0.75);
    border-bottom-color: rgba(90, 82, 73, 0.12);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

html.day-mode .home2-header.scrolled:hover {
    background: rgba(246, 241, 233, 0.95);
    border-bottom-color: rgba(90, 82, 73, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

@keyframes headerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html.day-mode .home2-header {
    background: rgba(246, 241, 233, 0.9);
    border: 1px solid rgba(90, 82, 73, 0.15);
    height: 80px;
}

.home2-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Logo et Burger Menu */
.home2-header-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home2-burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 0.5rem;
    transition: opacity 0.2s ease;
}

.home2-burger-menu:hover {
    opacity: 0.8;
}

.home2-burger-line {
    width: 24px;
    height: 2px;
    background: rgba(231, 231, 231, 0.9);
    transition: all 0.3s ease;
    display: block;
}

html.day-mode .home2-burger-line {
    background: var(--text-primary);
}

.home2-burger-menu.active .home2-burger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.home2-burger-menu.active .home2-burger-line:nth-child(2) {
    opacity: 0;
}

.home2-burger-menu.active .home2-burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.home2-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.2s ease;
}

.home2-logo:hover {
    opacity: 0.8;
}

.home2-logo-image {
    position: absolute;
    width: 200px;
    opacity: .2;
    left: 23rem;
    object-fit: contain;
    display: block;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home2-logo-text {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: rgba(231, 231, 231, 0.95);
    letter-spacing: 0.02em;
    transition: font-size 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html.day-mode .home2-logo-text {
    color: var(--text-primary);
}

/* Navigation */
.home2-header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.home2-nav-link {
    font-family: 'Lora', serif;
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(231, 231, 231, 0.85);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease, opacity 0.2s ease, font-size 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.home2-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.home2-nav-link:hover {
    color: rgba(231, 231, 231, 1);
}

.home2-nav-link:hover::after {
    width: 100%;
}

.home2-nav-link.active::after {
    width: 100%;
}

html.day-mode .home2-nav-link {
    color: var(--text-primary);
}

html.day-mode .home2-nav-link:hover {
    color: var(--text-primary);
    opacity: 0.8;
}

.home2-nav-icon {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

/* Header Right */
.home2-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

/* ========================================
   BOUTON DE RECHERCHE
   ======================================== */

.home2-search-wrapper {
    position: relative;
}

.home2-search-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10003;
}

.home2-search-button-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-day);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(43, 43, 43, 0.15);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease;
    position: relative;
    overflow: hidden;
}

html:not(.day-mode) .home2-search-button-circle {
    background: var(--text-night);
    box-shadow: 0 4px 16px rgba(231, 231, 231, 0.12);
}

.home2-search-button:hover .home2-search-button-circle {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(43, 43, 43, 0.25);
}

html:not(.day-mode) .home2-search-button:hover .home2-search-button-circle {
    box-shadow: 0 6px 20px rgba(231, 231, 231, 0.18);
}

.home2-search-button:active .home2-search-button-circle {
    transform: scale(0.96);
}

.home2-search-icon,
.home2-search-close-icon {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: absolute;
}

html:not(.day-mode) .home2-search-icon,
html:not(.day-mode) .home2-search-close-icon {
    color: var(--bg-night);
}

.home2-search-close-icon {
    width: 24px;
    height: 24px;
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
}

.home2-search-button.active .home2-search-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.8);
}

.home2-search-button.active .home2-search-close-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    display: block !important;
}

/* Language */
.home2-language {
    font-family: 'Lora', serif;
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(231, 231, 231, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: font-size 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html.day-mode .home2-language {
    color: var(--text-primary);
}

/* ========================================
   HERO D'ACCUEIL
   ======================================== */

.home2-welcome-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: welcomeReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes welcomeReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home2-welcome-container {
    width: 100%;
    text-align: center;
}

.home2-welcome-title {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-night);
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

html.day-mode .home2-welcome-title {
    color: var(--text-primary);
}

.home2-welcome-subtitle {
    font-family: 'Lora', serif;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.75;
    color: rgba(231, 231, 231, 0.8);
    text-align: center;
    margin: 0 0 2rem 0;
    letter-spacing: 0.01em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

html.day-mode .home2-welcome-subtitle {
    color: var(--text-primary);
}

.home2-welcome-intro {
    font-family: 'Lora', serif;
    font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
    font-weight: 400;
    line-height: 1.7;
    color: rgba(231, 231, 231, 0.7);
    text-align: center;
    margin: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(231, 231, 231, 0.1);
    letter-spacing: 0.01em;
    font-style: italic;
}

html.day-mode .home2-welcome-intro {
    color: rgba(90, 82, 73, 0.6);
    border-top-color: rgba(90, 82, 73, 0.15);
}

@media (max-width: 768px) {
    .home2-welcome-section {
        padding: 3.5rem 1.5rem 1rem;
    }
    
    .home2-welcome-title {
        margin-bottom: 1.25rem;
    }
    
    .home2-welcome-subtitle {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.75rem;
    }
    
    .home2-welcome-intro {
        font-size: 0.9375rem;
        line-height: 1.65;
        padding-top: 1.75rem;
    }
}

@media (max-width: 480px) {
    .home2-welcome-section {
        padding: 3rem 1rem 0.5rem;
    }
    
    .home2-welcome-title {
        margin-bottom: 1rem;
    }
    
    .home2-welcome-subtitle {
        font-size: 0.9375rem;
        line-height: 1.65;
        margin-bottom: 1.5rem;
    }
    
    .home2-welcome-intro {
        font-size: 0.875rem;
        line-height: 1.6;
        padding-top: 1.5rem;
    }
}

/* ========================================
   MENU ONGLETS
   ======================================== */

.home2-tabs-section {
    display: flex;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: tabsSectionReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes tabsSectionReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home2-tabs-container {
    border-bottom: 1px solid rgba(231, 231, 231, 0.15);
}

html.day-mode .home2-tabs-container {
    border-bottom-color: rgba(90, 82, 73, 0.2);
}

.home2-tabs-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.home2-tab-button {
    width: 290px;
    font-family: 'Lora', serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(231, 231, 231, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease, font-weight 0.3s ease;
    position: relative;
}

.home2-tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.home2-tab-button:hover {
    color: rgba(231, 231, 231, 0.8);
}

.home2-tab-button.active {
    color: rgba(231, 231, 231, 0.95);
    font-weight: 500;
}

.home2-tab-button.active::after {
    transform: scaleX(1);
}

html.day-mode .home2-tab-button {
    color: var(--text-secondary);
}

html.day-mode .home2-tab-button:hover {
    color: var(--text-primary);
}

html.day-mode .home2-tab-button.active {
    color: var(--text-primary);
}

.home2-tab-separator {
    width: 1px;
    height: 20px;
    background: rgba(231, 231, 231, 0.2);
}

html.day-mode .home2-tab-separator {
    background: rgba(90, 82, 73, 0.3);
}

.home2-tabs-content {
    position: relative;
}

/* Responsive tabs section */
@media (max-width: 768px) {
    .home2-tabs-section {
        padding: 2.5rem 1rem 0;
    }

    .home2-tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    .home2-tabs-nav::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .home2-tab-button {
        font-size: 0.8125rem;
        padding: 0.875rem 1rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .home2-tab-separator {
        height: 16px;
        margin: 0 0.25rem;
    }
}

@media (max-width: 480px) {
    .home2-tabs-section {
        padding: 2rem 0.75rem 0;
    }

    .home2-tab-button {
        font-size: 0.75rem;
        padding: 0.75rem 0.875rem;
        letter-spacing: 0.03em;
    }

    .home2-tab-separator {
        height: 14px;
        margin: 0 0.125rem;
    }
}

.home2-tab-panel {
    display: none;
    animation: tabPanelFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home2-tab-panel.active {
    display: block;
}

@keyframes tabPanelFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SÉLECTION DE LA SEMAINE
   ======================================== */

.home2-weekly-selection {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 0;
}

.home2-weekly-hero {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 0;
}

.home2-weekly-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.home2-weekly-hero-text-wrapper {
    max-width: 800px;
    width: 100%;
    opacity: 0;
    animation: heroTextReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes heroTextReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home2-weekly-hero-title {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    margin: 0 0 1.25rem 0;
    color: var(--text-night);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

html.day-mode .home2-weekly-hero-title {
    color: var(--text-primary);
}

.home2-weekly-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    color: rgba(231, 231, 231, 0.75);
    margin: 0;
    line-height: 1.6;
    letter-spacing: 0.01em;
    font-family: 'Lora', serif;
    opacity: 0;
    animation: heroSubtitleReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes heroSubtitleReveal {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html.day-mode .home2-weekly-hero-subtitle {
    color: var(--text-secondary);
}

.home2-weekly-hero-image-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: heroImageReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes heroImageReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.home2-weekly-hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.home2-weekly-hero-image.loaded {
    animation: heroImageFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
    cursor: pointer;
}

@keyframes heroImageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.92;
    }
}

.home2-weekly-hero-image:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.home2-weekly-hero-image.loaded:hover {
    cursor: pointer;
}

/* ========================================
   IMAGE VIEWER MODAL
   ======================================== */

.home2-image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.home2-image-viewer.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home2-image-viewer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 14, 17, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html.day-mode .home2-image-viewer-backdrop {
    background: rgba(246, 241, 233, 0.95);
}

.home2-image-viewer.opening .home2-image-viewer-backdrop {
    opacity: 1;
}

.home2-image-viewer.closing .home2-image-viewer-backdrop {
    opacity: 0;
}

.home2-image-viewer-container {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home2-image-viewer.opening .home2-image-viewer-container {
    transform: scale(1);
    opacity: 1;
}

.home2-image-viewer.closing .home2-image-viewer-container {
    transform: scale(0.8);
    opacity: 0;
}

.home2-image-viewer-image {
    max-width: 100%;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home2-image-viewer.opening .home2-image-viewer-image {
    transform: scale(1);
}

.home2-image-viewer.closing .home2-image-viewer-image {
    transform: scale(0.9);
}

html.day-mode .home2-image-viewer-image {
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}

.home2-image-viewer-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 100001;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 14, 17, 0.8);
    border: 1px solid rgba(231, 231, 231, 0.2);
    border-radius: 50%;
    color: rgba(231, 231, 231, 0.9);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: scale(0.8) rotate(-90deg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home2-image-viewer.opening .home2-image-viewer-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    transition-delay: 0.2s;
}

.home2-image-viewer.closing .home2-image-viewer-close {
    opacity: 0;
    transform: scale(0.8) rotate(90deg);
}

.home2-image-viewer-close:hover {
    background: rgba(11, 14, 17, 0.95);
    border-color: rgba(231, 231, 231, 0.4);
    color: rgba(231, 231, 231, 1);
    transform: scale(1.1) rotate(90deg);
}

.home2-image-viewer.opening .home2-image-viewer-close:hover {
    transform: scale(1.1) rotate(90deg);
}

html.day-mode .home2-image-viewer-close {
    background: rgba(246, 241, 233, 0.9);
    border-color: rgba(90, 82, 73, 0.3);
    color: var(--text-primary);
}

html.day-mode .home2-image-viewer-close:hover {
    background: rgba(246, 241, 233, 0.95);
    border-color: rgba(90, 82, 73, 0.5);
}

@media (max-width: 768px) {
    .home2-image-viewer-container {
        padding: 1rem;
        max-width: 100vw;
        max-height: 100vh;
    }

    .home2-image-viewer-image {
        max-height: 100vh;
        border-radius: 4px;
    }

    .home2-image-viewer-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .home2-image-viewer-close svg {
        width: 20px;
        height: 20px;
    }
}

.home2-weekly-hero-painting-subtitle {
    font-size: 0.875rem;
    font-family: 'Lora', serif;
    font-style: italic;
    color: rgba(231, 231, 231, 0.55);
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
    opacity: 0;
    animation: heroPaintingReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

@keyframes heroPaintingReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html.day-mode .home2-weekly-hero-painting-subtitle {
    color: var(--text-secondary);
}

.home2-section-separator {
    text-align: center;
    font-size: 1.75rem;
    color: rgba(231, 231, 231, 0.35);
    margin: 3rem auto;
    width: 40px;
    line-height: 1;
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
    animation: separatorReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes separatorReveal {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

html.day-mode .home2-section-separator {
    color: rgba(212, 201, 192, 0.6);
}

/* Poèmes de la semaine */

.home2-weekly-poems-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .home2-weekly-poems-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem 3.5rem;
        padding: 0 3rem;
    }
}

.home2-weekly-poem-section {
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    background: transparent;
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.home2-weekly-poem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: rgba(231, 231, 231, 0.02);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    pointer-events: none;
}

.home2-weekly-poem-section:hover::before {
    opacity: 1;
}

.home2-weekly-poem-section:hover {
    transform: translateY(-4px);
}

.home2-weekly-poem-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

.home2-weekly-poem-section.revealed:hover {
    transform: translateY(-4px);
}

html.day-mode .home2-weekly-poem-section::before {
    background: rgba(90, 82, 73, 0.03);
}

.home2-weekly-poem-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2.5rem;
}

.home2-weekly-poem-author-portrait {
    margin-bottom: 1.75rem;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home2-weekly-poem-section:hover .home2-weekly-poem-author-portrait {
    transform: scale(1.05);
}

.home2-author-portrait-image {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(231, 231, 231, 0.15);
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.home2-weekly-poem-section:hover .home2-author-portrait-image {
    border-color: rgba(231, 231, 231, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

html.day-mode .home2-author-portrait-image {
    border-color: rgba(90, 82, 73, 0.2);
}

.home2-author-portrait-placeholder {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: rgba(231, 231, 231, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(231, 231, 231, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.home2-author-initials {
    font-family: 'Crimson Pro', serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: rgba(231, 231, 231, 0.65);
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home2-weekly-poem-section:hover .home2-author-initials {
    color: rgba(231, 231, 231, 0.85);
}

html.day-mode .home2-author-initials {
    color: var(--text-secondary);
}

.home2-weekly-poem-title-author {
    max-width: 100%;
    width: 100%;
}

.home2-weekly-poem-title {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
    color: var(--text-night);
    letter-spacing: -0.01em;
}

html.day-mode .home2-weekly-poem-title {
    color: var(--text-primary);
}

.home2-weekly-poem-title-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: opacity 0.3s ease;
}

.home2-weekly-poem-title-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.3;
}

.home2-weekly-poem-title-link:hover::after {
    width: 100%;
}

.home2-weekly-poem-title-link:hover {
    opacity: 0.85;
}

.home2-weekly-poem-author {
    font-family: 'Lora', serif;
    font-size: 1.125rem;
    color: rgba(231, 231, 231, 0.7);
    margin: 0;
    line-height: 1.6;
    font-style: italic;
}

html.day-mode .home2-weekly-poem-author {
    color: var(--text-secondary);
}

.home2-weekly-author-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.home2-weekly-author-link:hover {
    opacity: 0.8;
}

.home2-weekly-poem-excerpt {
    font-family: 'Lora', serif;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: rgba(231, 231, 231, 0.88);
    text-align: center;
    margin: 0 0 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.home2-weekly-poem-section.revealed .home2-weekly-poem-excerpt {
    opacity: 1;
    transform: translateY(0);
}

html.day-mode .home2-weekly-poem-excerpt {
    color: var(--text-primary);
}

.home2-weekly-poem-footer {
    text-align: center;
    margin-top: 2.5rem;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s,
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.home2-weekly-poem-section.revealed .home2-weekly-poem-footer {
    opacity: 1;
    transform: translateY(0);
}

.home2-weekly-poem-read-more {
    font-family: 'Lora', serif;
    font-size: 0.9375rem;
    color: rgba(231, 231, 231, 0.75);
    text-decoration: none;
    border-bottom: 1px solid rgba(231, 231, 231, 0.25);
    padding-bottom: 3px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    position: relative;
    letter-spacing: 0.02em;
}

.home2-weekly-poem-read-more::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home2-weekly-poem-read-more:hover {
    color: rgba(231, 231, 231, 0.95);
    border-bottom-color: rgba(231, 231, 231, 0.5);
}

.home2-weekly-poem-read-more:hover::before {
    width: 100%;
}

html.day-mode .home2-weekly-poem-read-more {
    color: var(--text-secondary);
    border-bottom-color: rgba(90, 82, 73, 0.25);
}

html.day-mode .home2-weekly-poem-read-more:hover {
    color: var(--text-primary);
    border-bottom-color: rgba(90, 82, 73, 0.5);
}

.home2-weekly-poem-separator {
    display: none;
}

@media (max-width: 1023px) {
    .home2-weekly-poem-separator {
        display: block;
        text-align: center;
        font-size: 1.5rem;
        color: rgba(212, 201, 192, 0.6);
        margin: 1rem auto;
        width: 36px;
        line-height: 1;
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
        transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        grid-column: 1 / -1;
    }

    .home2-weekly-poem-separator.revealed {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* ========================================
   POÈTE DU JOUR - DESIGN WWW AWARDS
   ======================================== */

.home2-poet-of-day-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.home2-poet-of-day-container {
    opacity: 0;
    transform: translateY(30px);
    animation: poetOfDayReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes poetOfDayReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero du poète */
.home2-poet-of-day-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(231, 231, 231, 0.1);
}

html.day-mode .home2-poet-of-day-hero {
    border-bottom-color: rgba(90, 82, 73, 0.15);
}

.home2-poet-of-day-portrait-wrapper {
    margin-bottom: 2rem;
    animation: portraitReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes portraitReveal {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.home2-poet-of-day-portrait {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(231, 231, 231, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home2-poet-of-day-portrait:hover {
    transform: scale(1.05);
}

html.day-mode .home2-poet-of-day-portrait {
    border-color: rgba(90, 82, 73, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.home2-poet-of-day-portrait-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(231, 231, 231, 0.05);
    border: 2px solid rgba(231, 231, 231, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

html.day-mode .home2-poet-of-day-portrait-placeholder {
    background: rgba(90, 82, 73, 0.08);
    border-color: rgba(90, 82, 73, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.home2-poet-of-day-initials {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    font-weight: 500;
    color: rgba(231, 231, 231, 0.4);
    letter-spacing: 0.05em;
}

html.day-mode .home2-poet-of-day-initials {
    color: rgba(90, 82, 73, 0.4);
}

.home2-poet-of-day-hero-content {
    animation: heroContentReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

@keyframes heroContentReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home2-poet-of-day-name {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    color: var(--text-night);
    margin: 0 0 1rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

html.day-mode .home2-poet-of-day-name {
    color: var(--text-primary);
}

.home2-poet-of-day-years {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    color: rgba(231, 231, 231, 0.7);
    margin: 0 0 0.5rem 0;
    font-style: italic;
}

html.day-mode .home2-poet-of-day-years {
    color: var(--text-secondary);
}

.home2-poet-of-day-movement {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: rgba(231, 231, 231, 0.6);
    margin: 0;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

html.day-mode .home2-poet-of-day-movement {
    color: var(--text-secondary);
}

/* Biographie */
.home2-poet-of-day-bio {
    margin-bottom: 4rem;
    padding: 0 1rem;
    animation: bioReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

@keyframes bioReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home2-poet-of-day-bio p {
    font-family: 'Lora', serif;
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    line-height: 1.9;
    color: rgba(231, 231, 231, 0.85);
    margin: 0 0 1.5rem 0;
    text-align: justify;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.home2-poet-of-day-bio p:last-child {
    margin-bottom: 0;
}

html.day-mode .home2-poet-of-day-bio p {
    color: var(--text-primary);
}

/* Poèmes */
.home2-poet-of-day-poems {
    margin-bottom: 4rem;
    animation: poemsReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

@keyframes poemsReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home2-poet-of-day-poems-title {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 500;
    color: var(--text-night);
    margin: 0 0 3rem 0;
    text-align: center;
    letter-spacing: -0.01em;
}

html.day-mode .home2-poet-of-day-poems-title {
    color: var(--text-primary);
}

.home2-poet-of-day-poems-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.home2-poet-of-day-poem {
    padding: 2.5rem;
    background: rgba(231, 231, 231, 0.02);
    border: 1px solid rgba(231, 231, 231, 0.1);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home2-poet-of-day-poem:hover {
    background: rgba(231, 231, 231, 0.04);
    border-color: rgba(231, 231, 231, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

html.day-mode .home2-poet-of-day-poem {
    background: rgba(90, 82, 73, 0.03);
    border-color: rgba(90, 82, 73, 0.15);
}

html.day-mode .home2-poet-of-day-poem:hover {
    background: rgba(90, 82, 73, 0.05);
    border-color: rgba(90, 82, 73, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.home2-poet-of-day-poem-title {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 500;
    color: var(--text-night);
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

html.day-mode .home2-poet-of-day-poem-title {
    color: var(--text-primary);
}

.home2-poet-of-day-poem-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.home2-poet-of-day-poem-link:hover {
    opacity: 0.8;
}

.home2-poet-of-day-poem-excerpt {
    font-family: 'Lora', serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(231, 231, 231, 0.75);
    margin: 0 0 1.5rem 0;
    font-style: italic;
}

html.day-mode .home2-poet-of-day-poem-excerpt {
    color: var(--text-secondary);
}

.home2-poet-of-day-poem-read-more {
    font-family: 'Lora', serif;
    font-size: 0.9375rem;
    color: rgba(231, 231, 231, 0.75);
    text-decoration: none;
    border-bottom: 1px solid rgba(231, 231, 231, 0.25);
    padding-bottom: 3px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    position: relative;
    letter-spacing: 0.02em;
}

.home2-poet-of-day-poem-read-more::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home2-poet-of-day-poem-read-more:hover {
    color: rgba(231, 231, 231, 0.95);
    border-bottom-color: rgba(231, 231, 231, 0.5);
}

.home2-poet-of-day-poem-read-more:hover::before {
    width: 100%;
}

html.day-mode .home2-poet-of-day-poem-read-more {
    color: var(--text-secondary);
    border-bottom-color: rgba(90, 82, 73, 0.25);
}

html.day-mode .home2-poet-of-day-poem-read-more:hover {
    color: var(--text-primary);
    border-bottom-color: rgba(90, 82, 73, 0.5);
}

/* Footer */
.home2-poet-of-day-footer {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(231, 231, 231, 0.1);
    animation: footerReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

@keyframes footerReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html.day-mode .home2-poet-of-day-footer {
    border-top-color: rgba(90, 82, 73, 0.15);
}

.home2-poet-of-day-link {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: rgba(231, 231, 231, 0.75);
    text-decoration: none;
    border-bottom: 1px solid rgba(231, 231, 231, 0.25);
    padding-bottom: 3px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    position: relative;
    letter-spacing: 0.02em;
}

.home2-poet-of-day-link::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home2-poet-of-day-link:hover {
    color: rgba(231, 231, 231, 0.95);
    border-bottom-color: rgba(231, 231, 231, 0.5);
}

.home2-poet-of-day-link:hover::before {
    width: 100%;
}

html.day-mode .home2-poet-of-day-link {
    color: var(--text-secondary);
    border-bottom-color: rgba(90, 82, 73, 0.25);
}

html.day-mode .home2-poet-of-day-link:hover {
    color: var(--text-primary);
    border-bottom-color: rgba(90, 82, 73, 0.5);
}

/* État vide */
.home2-poet-of-day-empty {
    font-family: 'Lora', serif;
    font-size: 1.125rem;
    color: rgba(231, 231, 231, 0.6);
    text-align: center;
    padding: 4rem 2rem;
}

html.day-mode .home2-poet-of-day-empty {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {

    .home2-section-separator {
        margin: 1rem auto;
    }

    .home2-poet-of-day-section {
        padding: 3rem 1.5rem;
    }

    .home2-poet-of-day-hero {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
    }

    .home2-poet-of-day-portrait,
    .home2-poet-of-day-portrait-placeholder {
        width: 140px;
        height: 140px;
    }

    .home2-poet-of-day-initials {
        font-size: 2.5rem;
    }

    .home2-poet-of-day-bio {
        margin-bottom: 3rem;
        padding: 0;
    }

    .home2-poet-of-day-bio p {
        text-align: left;
    }

    .home2-poet-of-day-poems {
        margin-bottom: 3rem;
    }

    .home2-poet-of-day-poems-list {
        gap: 2rem;
    }

    .home2-poet-of-day-poem {
        padding: 1.5rem;
    }

    .home2-poet-of-day-footer {
        padding-top: 2rem;
    }
}

/* ========================================
   ONGLET AU HASARD - DESIGN WWW AWARDS
   ======================================== */


/* Footer - Style de la page d'accueil de base */
.home2-footer-wrapper {
    max-width: 680px;
    margin: 6rem auto 2rem;
    padding: 0 1.5rem;
    text-align: center;
}

.home2-footer-wrapper .home-footer__content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.home2-footer-wrapper .home-footer__signature {
    font-family: 'Lora', serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(231, 231, 231, 0.6);
    margin: 0;
    line-height: 1.5;
}

html.day-mode .home2-footer-wrapper .home-footer__signature {
    color: var(--text-secondary);
}

.home2-footer-wrapper .home-footer__links {
    font-family: 'Lora', serif;
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(231, 231, 231, 0.55);
    margin: 0;
    line-height: 1.6;
}

html.day-mode .home2-footer-wrapper .home-footer__links {
    color: var(--text-secondary);
}

.home2-footer-wrapper .home-footer__link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
    opacity: 0.85;
}

.home2-footer-wrapper .home-footer__link:hover {
    opacity: 1;
}

.home2-footer-wrapper .home-footer__link:focus {
    outline: 1px dotted rgba(231, 231, 231, 0.4);
    outline-offset: 2px;
}

html.day-mode .home2-footer-wrapper .home-footer__link:focus {
    outline-color: rgba(90, 82, 73, 0.4);
}

.home2-footer-wrapper .home-footer__separator {
    margin: 0 0.5em;
    opacity: 0.5;
    user-select: none;
}

.home2-footer-wrapper .home-footer__notice {
    font-family: 'Lora', serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(231, 231, 231, 0.5);
    margin: 0;
    line-height: 1.5;
    font-style: italic;
}

html.day-mode .home2-footer-wrapper .home-footer__notice {
    color: var(--text-placeholder);
    font-style: italic;
}

/* ========================================
   MENU LATÉRAL MOBILE
   ======================================== */

.home2-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.home2-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.home2-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-day);
    z-index: 10002;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

html:not(.day-mode) .home2-sidebar {
    background: var(--bg-night);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
}

.home2-sidebar.active {
    transform: translateX(0);
}

.home2-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(90, 82, 73, 0.15);
}

html:not(.day-mode) .home2-sidebar-header {
    border-bottom-color: rgba(231, 231, 231, 0.15);
}

.home2-sidebar-logo {
    text-decoration: none;
}

.home2-sidebar-logo-text {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

html:not(.day-mode) .home2-sidebar-logo-text {
    color: rgba(231, 231, 231, 0.95);
}

.home2-sidebar-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-primary);
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home2-sidebar-close:hover {
    opacity: 0.7;
}

html:not(.day-mode) .home2-sidebar-close {
    color: rgba(231, 231, 231, 0.9);
}

.home2-sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.home2-sidebar-link {
    font-family: 'Lora', serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(90, 82, 73, 0.1);
    transition: background 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

html:not(.day-mode) .home2-sidebar-link {
    color: rgba(231, 231, 231, 0.85);
    border-bottom-color: rgba(231, 231, 231, 0.1);
}

.home2-sidebar-link:hover {
    background: rgba(90, 82, 73, 0.05);
    color: var(--text-primary);
}

html:not(.day-mode) .home2-sidebar-link:hover {
    background: rgba(231, 231, 231, 0.05);
    color: rgba(231, 231, 231, 1);
}

.home2-sidebar-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .home2-page {
        padding-top: 70px;
    }

    .home2-header-container {
        padding: 0.75rem 1rem;
        gap: 1rem;
    }

    .home2-header.scrolled .home2-header-container {
        padding: 0.5rem 1rem;
    }

    html.day-mode .home2-header {
        border: none;
        height: auto;
    }

    .home2-logo-text {
        font-size: 1.25rem;
    }

    .home2-burger-menu {
        display: flex;
    }

    .home2-header-nav {
        display: none; /* Cacher la nav sur mobile, utiliser le menu burger */
    }

    .home2-search-panel {
        width: calc(100vw - 2rem);
        right: -1rem;
    }

    .home2-tab-button {
        width: auto;
    }

    .home2-weekly-selection {
        padding: 2rem 1rem 0;
    }

    .home2-weekly-poems-container {
        padding: 0 1rem;
    }

    .home2-weekly-poem-section {
        padding: 1.5rem 0.5rem;
    }


    .home2-footer-wrapper {
        margin: 5rem auto 3rem;
        padding: 0 1rem;
    }

    .home2-footer-wrapper .home-footer__content {
        gap: 0.625rem;
    }

    .home2-footer-wrapper .home-footer__signature {
        font-size: 0.8125rem;
    }

    .home2-footer-wrapper .home-footer__links {
        font-size: 0.75rem;
    }

    .home2-footer-wrapper .home-footer__notice {
        font-size: 0.6875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home2-header {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .home2-tabs-section {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .home2-weekly-hero-text-wrapper,
    .home2-weekly-hero-subtitle,
    .home2-weekly-hero-image-wrapper,
    .home2-weekly-hero-painting-subtitle,
    .home2-section-separator,
    .home2-weekly-poem-section,
    .home2-weekly-poem-excerpt,
    .home2-weekly-poem-footer,
    .home2-weekly-poem-separator,

    .home2-weekly-hero-image {
        animation: none !important;
        opacity: 0.92 !important;
    }
}

