/* ============================================
/* Variable */

@font-face {
    font-family: 'MorrisRoman';
    src: url('./MorrisRoman.woff2') format('woff2'),
         url('./MorrisRoman.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KingthingsPetrock';
    src: url('./Kingthings_Petrock.woff2') format('woff2'),
         url('./Kingthings_Petrock.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Variables CSS - Thème par défaut (Brun Classique) */
:root {
    --primary-color: #2f5d3a;      /* Vert forêt */
    --secondary-color: #F1E5C8;     /* Beige parchemin */
    --accent-color: #C9A227;        /* Or de l'identité */
    --text-color: #3E2723;          /* Brun foncé avant vert #2f5d3a  et brun foncé #3E2723*/
    --light-text: #F5F5DC;          /* Beige */
    --background-color: #FFFFFF;    /* Blanc */
    --dark-background: #3E2723;     /* Brun très foncé */
    --border-color: #C9A227;        /* Or */
    --shadow-color: #3E2723;     /* rgba(93, 64, 55, 0.15);*/
    --card-bg: #FFFFFF;             /* Fond cards */
    --hover-color: #3E2723;         /* OR hover cffa43 #6D4C41mais pour l'instant beige  #cffa43*/
    
    --font-title: 'MorrisRoman', serif;
    --font-text: 'KingthingsPetrock', serif;
}



/* ============================================
   TEXTURES MÉDIÉVALES
   ============================================ */

/* Texture parchemin - pour les sections claires */
.texture-parchemin {
    position: relative;
}

.texture-parchemin::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 69, 19, 0.03) 2px, rgba(139, 69, 19, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 69, 19, 0.03) 2px, rgba(139, 69, 19, 0.03) 4px);
    background-size: 100% 100%;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

.texture-parchemin > * {
    position: relative;
    z-index: 2;
}

/* Texture pierre - pour les sections sombres */
.texture-pierre {
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 0, 0, 0.04) 0%, transparent 50%);
}

.texture-pierre::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.02) 10px,
        rgba(0, 0, 0, 0.02) 20px
    );
    pointer-events: none;
}

/* Texture bois - pour les cartes et éléments */
.texture-bois {
    position: relative;
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(62, 39, 35, 0.03),
            rgba(62, 39, 35, 0.03) 2px,
            transparent 2px,
            transparent 4px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(93, 64, 55, 0.02),
            rgba(93, 64, 55, 0.02) 1px,
            transparent 1px,
            transparent 3px
        );
}

/* Texture tissu médiéval - pour les bannières */
.texture-tissu {
    position: relative;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        );
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Textures globales sur le body */
[data-textures="parchemin"] body {
    background-image: url('imgs/texture-parchemin.svg');
    background-size: 600px 600px;
    background-attachment: fixed;
}

[data-textures="parchemin-leger"] body {
    background-image: url('imgs/texture-parchemin-leger.svg');
    background-size: 600px 600px;
    background-attachment: fixed;
}

[data-textures="parchemin-vintage"] body {
    background-image: url('imgs/texture-parchemin-vintage.svg');
    background-size: 600px 600px;
    background-attachment: fixed;
}

[data-textures="pierre"] body {
    background-image: url('imgs/texture-pierre.svg');
    background-size: 400px 400px;
    background-attachment: fixed;
}

[data-textures="pierre-claire"] body {
    background-image: url('imgs/texture-pierre-claire.svg');
    background-size: 400px 400px;
    background-attachment: fixed;
}

[data-textures="pierre-sombre"] body {
    background-image: url('imgs/texture-pierre-sombre.svg');
    background-size: 400px 400px;
    background-attachment: fixed;
}

[data-textures="bois"] body {
    background-image: url('imgs/texture-bois.svg');
    background-size: 300px 300px;
    background-attachment: fixed;
}

[data-textures="bois-clair"] body {
    background-image: url('imgs/texture-bois-clair.svg');
    background-size: 300px 300px;
    background-attachment: fixed;
}

[data-textures="bois-fonce"] body {
    background-image: url('imgs/texture-bois-fonce.svg');
    background-size: 300px 300px;
    background-attachment: fixed;
}

body {
    font-family: var(--font-text);
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding-top: 0;
}

/* ============================================
   HEADER ET NAVIGATION
   ============================================ */

.header-medieval {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
    backdrop-filter: blur(10px);
}

[data-textures="parchemin"] .header-medieval,
[data-textures="parchemin-leger"] .header-medieval,
[data-textures="parchemin-vintage"] .header-medieval {
    background-size: 450px 450px;
    background-blend-mode: overlay;
    background-color: rgba(255, 255, 255, 0.92);
}

[data-textures="parchemin"] .header-medieval {
    background-image: url('imgs/texture-parchemin.svg');
}

[data-textures="parchemin-leger"] .header-medieval {
    background-image: url('imgs/texture-parchemin-leger.svg');
}

[data-textures="parchemin-vintage"] .header-medieval {
    background-image: url('imgs/texture-parchemin-vintage.svg');
}

.header-medieval.scrolled {
    box-shadow: 0 4px 20px var(--shadow-color);
}

.main-nav {
    background: #FAFAFA;
    border-top: 1px solid var(--border-color);
    position: relative;
    padding: 0 2rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

[data-textures="bois"] .main-nav {
    background-image: url('imgs/texture-bois.svg');
    background-size: 200px 200px;
    background-blend-mode: multiply;
}

[data-textures="bois-clair"] .main-nav {
    background-image: url('imgs/texture-bois-clair.svg');
    background-size: 200px 200px;
    background-blend-mode: multiply;
}

[data-textures="bois-fonce"] .main-nav {
    background-image: url('imgs/texture-bois-fonce.svg');
    background-size: 200px 200px;
    background-blend-mode: multiply;
}

.main-nav.hidden {
    transform: translateY(-100%);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.header-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    position: relative;
}

.banner-decoration {
    display: none;
}

.site-logo {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.site-title {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 2px;
}

.site-subtitle {
    font-family: var(--font-text);
    font-size: 0.95rem;
    color: var(--primary-color);
    font-style: italic;
    margin: 0;
}


.nav-decoration-left,
.nav-decoration-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    background: repeating-linear-gradient(
        45deg,
        var(--accent-color),
        var(--accent-color) 5px,
        transparent 5px,
        transparent 10px
    );
}

.nav-decoration-left {
    left: 0;
}

.nav-decoration-right {
    right: 0;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.nav-menu > li {
    margin: 0 1rem;
    position: relative;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 1rem 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(93, 64, 55, 0.05);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}


/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    min-width: 220px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 4px 12px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    border-bottom: 1px solid rgba(205, 133, 63, 0.3);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    display: block;
    font-family: var(--font-text);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: rgba(93, 64, 55, 0.05);
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-left: 2rem;
}

.social-link {
    color: var(--secondary-color);
    font-size: 1.2rem;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: scale(1.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    right: 1.5rem;
    top: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1200;
    width: 32px;
    height: 20px;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ============================================
   SECTION HERO
   ============================================ */

.hero-section {
    position: relative;
    height: calc(100vh - 140px);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 140px;
}

@media (max-width: 768px) {
    .hero-section {
        height: calc(100vh - 100px);
        min-height: 400px;
        margin-top: 100px;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(93, 64, 55, 0.6) 0%, rgba(62, 39, 35, 0.7) 100%), url('imgs/hero.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--font-text);
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-medieval {
    padding: 1rem 2rem;
    font-family: var(--font-title);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-medieval.primary {
    background: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

.btn-medieval.secondary {
    background: transparent;
    color: var(--light-text);
    border-color: var(--light-text);
}

.btn-medieval.primary:hover {
    background: var(--hover-color);
    border-color: var(--hover-color);
}

.btn-medieval.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-medieval:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.btn-medieval::before,
.btn-medieval::after {
    display: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light-text);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   SECTION village
   ============================================ */

.village-section {
    position: relative;
    height: calc(100vh - 140px);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 140px;
}

@media (max-width: 800px) {
    .village-section {
        height: calc(100vh - 100px);
        min-height: 400px;
        margin-top: 200px;
    }
}

.village-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(93, 64, 55, 0.6) 0%, rgba(62, 39, 35, 0.7) 100%), url('imgs/villageenaction.jpg');
    background-size: cover;
    background-position: center;
}

.village-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.village-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
}

.village-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.village-subtitle {
    font-family: var(--font-text);
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-style: italic;
}

.village-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-medieval {
    padding: 1rem 2rem;
    font-family: var(--font-title);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-medieval.primary {
    background: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

.btn-medieval.secondary {
    background: transparent;
    color: var(--light-text);
    border-color: var(--light-text);
}

.btn-medieval.primary:hover {
    background: var(--hover-color);
    border-color: var(--hover-color);
}

.btn-medieval.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-medieval:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.btn-medieval::before,
.btn-medieval::after {
    display: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light-text);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* ============================================
   SECTION fete med
   ============================================ */

.fete-section {
    position: relative;
    min-height: calc(100vh - 140px);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin-top: 140px;
}

@media (max-width: 800px) {
    .fete-section {
        min-height: auto;
        height: auto;
        margin-top: 100px;
        padding: 3rem 1rem;
        overflow: visible;
    }

    .fete-section .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .fete-buttons {
        gap: 1rem;
    }

    .scroll-indicator {
        display: none;
    }
}

.fete-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(93, 64, 55, 0.6) 0%, rgba(62, 39, 35, 0.7) 100%), url('https://levillagemedieval.fr/imgs/visuel%20rs.gif');
    background-size: cover;
    background-position: center;
}

.fete-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.fete-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
}

.fete-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.fete-subtitle {
    font-family: var(--font-text);
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-style: italic;
}

.fete-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-medieval {
    padding: 1rem 2rem;
    font-family: var(--font-title);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-medieval.primary {
    background: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

.btn-medieval.secondary {
    background: transparent;
    color: var(--light-text);
    border-color: var(--light-text);
}

.btn-medieval.primary:hover {
    background: var(--hover-color);
    border-color: var(--hover-color);
}

.btn-medieval.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-medieval:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.btn-medieval::before,
.btn-medieval::after {
    display: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light-text);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   SECTIONS COMMUNES
   ============================================ */

section {
    padding: 4rem 2rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-decoration {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
}

.section-decoration::before,
.section-decoration::after {
    display: none;
}

/* ============================================
   SECTION PRÉSENTATION
   ============================================ */

.presentation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .presentation-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .presentation-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.card-medieval {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-color);
}


.card-medieval:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--accent-color);
}

.card-icon i {
    font-size: 2rem;
    color: var(--light-text);
}

.card-medieval h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-medieval p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .card-medieval {
        padding: 1.5rem;
    }

    .card-medieval h3 {
        font-size: 1.3rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon i {
        font-size: 1.5rem;
    }
}

.card-link {
    color: var(--accent-color);
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 600;
    border: 2px solid var(--accent-color);
    padding: 0.5rem 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.card-link:hover {
    background: var(--accent-color);
    color: var(--light-text);
}

/* ============================================
   SECTION VILLAGEOIS
   ============================================ */

.villageois-section {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(210, 105, 30, 0.1) 100%);
}

.villageois-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.villageois-card {
    display: none;
    background: var(--light-text);
    border: 3px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-color);
}

.villageois-card.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.villageois-image {
    flex: 1;
    min-height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    font-size: 4rem;
    color: var(--light-text);
}

.villageois-info {
    flex: 1;
    padding: 2rem;
}

.villageois-info h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.villageois-info p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--accent-color);
    border: none;
    color: var(--light-text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.carousel-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* ============================================
   SECTION ACTIVITÉS
   ============================================ */

.activites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .activites-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .activites-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.activite-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.activite-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px var(--shadow-color);
}

.activite-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid var(--accent-color);
}

.activite-icon i {
    font-size: 1.5rem;
    color: var(--light-text);
}

.activite-item h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.activite-item p {
    color: var(--text-color);
    font-size: 0.95rem;
}

.activite-item img {
    max-width: 100%;
    height: auto;
    margin: 0 auto 1rem;
    border-radius: 6px;
}

/* ============================================
   SECTION ACTUALITÉS
   ============================================ */

.actualites-section {
    background: linear-gradient(135deg, rgba(62, 39, 35, 0.05) 0%, rgba(139, 69, 19, 0.05) 100%);
}

.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.actualite-card {
    background: var(--light-text);
    border: 3px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 6px 25px var(--shadow-color);
}

@media (max-width: 700px) {
    .actualites-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.actualite-date {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 2rem 1rem;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.date-day {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-family: var(--font-text);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.actualite-content {
    padding: 2rem;
    flex: 1;
}

.actualite-content h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.actualite-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.actualite-link {
    color: var(--accent-color);
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 600;
    border: 2px solid var(--accent-color);
    padding: 0.5rem 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.actualite-link:hover {
    background: var(--accent-color);
    color: var(--light-text);
}

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

.footer-medieval {
    background: #2f5d3a;
    color: var(--light-text);
    border-top: 1px solid var(--border-color);
    position: relative;
}

[data-textures="bois"] .footer-medieval,
[data-textures="bois-clair"] .footer-medieval,
[data-textures="bois-fonce"] .footer-medieval {
    background-size: 200px 200px;
    background-blend-mode: multiply;
}

[data-textures="bois"] .footer-medieval {
    background-image: url('imgs/texture-bois.svg');
}

[data-textures="bois-clair"] .footer-medieval {
    background-image: url('imgs/texture-bois-clair.svg');
}

[data-textures="bois-fonce"] .footer-medieval {
    background-image: url('imgs/texture-bois-fonce.svg');
}

.footer-medieval::before {
    display: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    font-weight: 600;
}

.footer-section h3::after {
    display: none;
}

.footer-section p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
}

.footer-section i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links-footer {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links-footer a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links-footer a:hover {
    background: var(--secondary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.newsletter-text {
    font-size: 0.9rem;
    opacity: 0.9;
    color: var(--light-text);
}

.footer-bottom {
    background: #2f5d3a;
    text-align: center;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    color: var(--light-text);
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-legal span {
    color: var(--secondary-color);
}

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Désactiver le comportement de hide sur mobile pour garder le bouton burger visible */
    .main-nav.hidden {
        transform: none;
        opacity: 1;
        max-height: none;
        overflow: visible;
    }
    
    .header-banner {
        padding: 0.8rem 1rem;
        justify-content: center;
        position: relative;
        z-index: 1100;
    }

    .site-logo {
        width: 55px;
        height: 55px;
        object-fit: contain;
    }

    .site-title {
        display: none;
    }

    .site-subtitle {
        display: none;
    }

    .hero-title {
        font-size: 1.8rem;
        padding: 0 0.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .main-nav {
        padding: 0;
    }
    
    .nav-decoration-left,
    .nav-decoration-right {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
        padding: 20px 0 2rem 0;
        overflow-y: auto;
        z-index: 1150;
        transition: right 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu > li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        justify-content: space-between;
    }
    
    .social-links {
        margin: 0;
        padding: 1rem 1.5rem;
        border-top: 2px solid var(--border-color);
        justify-content: center;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #F5F5F5;
        margin: 0;
        border: none;
        border-top: 1px solid var(--border-color);
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid rgba(188, 170, 164, 0.3);
    }
    
    .dropdown-menu a {
        padding: 0.8rem 2rem;
    }
    
    .villageois-card {
        flex-direction: column;
    }
    
    .actualite-card {
        flex-direction: column;
    }
    
    .actualite-date {
        min-width: auto;
        padding: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
        padding: 0 1rem;
    }

    .btn-medieval {
        width: 100%;
        max-width: 300px;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .btn-medieval::before,
    .btn-medieval::after {
        display: none;
    }

    .hero-section {
        margin-top: 75px;
        min-height: auto;
        height: auto;
        padding: 4rem 0;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-content .content-text {
        font-size: 1rem;
    }

    section {
        padding: 2.5rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        padding: 0 0.5rem;
    }
    
    .content-text-center {
        padding: 0 0.5rem;
    }
    
    .info-box {
        padding: 1.5rem;
    }
    
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .page-hero-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .cta-buttons .btn-medieval {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .site-logo {
        width: 50px;
        height: 50px;
    }

    .mobile-menu-toggle {
        width: 35px;
        height: 30px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-content .content-text {
        font-size: 0.95rem;
    }

    .btn-medieval {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }

    .presentation-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .activites-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .actualites-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links-footer {
        justify-content: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-legal span {
        display: none;
    }

    section {
        padding: 2rem 0.8rem;
    }

    .building-card,
    .activite-item,
    .card-medieval {
        padding: 1.2rem;
    }

    .activite-item h3 {
        font-size: 1.1rem;
    }

    .activite-item p {
        font-size: 0.9rem;
    }
}

/* ============================================
   STYLES PAGES INTERNES
   ============================================ */

.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(93, 64, 55, 0.7) 0%, rgba(62, 39, 35, 0.8) 100%), url('imgs/hero2.jpg');
    background-size: cover;
    background-position: center;
    margin-top: 140px;
}

[data-textures="pierre"] .page-hero::before,
[data-textures="pierre-claire"] .page-hero::before,
[data-textures="pierre-sombre"] .page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 300px 300px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

[data-textures="pierre"] .page-hero::before {
    background-image: url('imgs/texture-pierre.svg');
}

[data-textures="pierre-claire"] .page-hero::before {
    background-image: url('imgs/texture-pierre-claire.svg');
}

[data-textures="pierre-sombre"] .page-hero::before {
    background-image: url('imgs/texture-pierre-sombre.svg');
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
        margin-top: 75px;
    }
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.page-hero-content h1 {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.page-hero-content p {
    font-family: var(--font-text);
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-style: italic;
}

.content-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section.alt-bg {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05) 0%, rgba(210, 105, 30, 0.05) 100%);
}

[data-textures="parchemin"] .content-section.alt-bg,
[data-textures="parchemin-leger"] .content-section.alt-bg,
[data-textures="parchemin-vintage"] .content-section.alt-bg {
    background-color: rgba(250, 245, 235, 0.5);
    background-size: 400px 400px;
    background-blend-mode: multiply;
}

[data-textures="parchemin"] .content-section.alt-bg {
    background-image: url('imgs/texture-parchemin.svg');
}

[data-textures="parchemin-leger"] .content-section.alt-bg {
    background-image: url('imgs/texture-parchemin-leger.svg');
}

[data-textures="parchemin-vintage"] .content-section.alt-bg {
    background-image: url('imgs/texture-parchemin-vintage.svg');
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.content-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.content-text-center {
    text-align: center;
    max-width: 900px;
    margin: 2rem auto;
}

.content-text-center p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.content-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: 3px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-family: var(--font-title);
    font-size: 1.2rem;
}

.timeline-container {
    max-width: 900px;
    margin: 2rem auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    bottom: -50px;
    width: 3px;
    background: var(--accent-color);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-icon i {
    font-size: 2rem;
    color: var(--light-text);
}

.timeline-content {
    flex: 1;
    background: var(--light-text);
    border: 2px solid var(--border-color);
    padding: 2rem;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-item::before {
        left: 20px;
        top: 40px;
    }

    .timeline-icon {
        width: 60px;
        height: 60px;
    }

    .timeline-icon i {
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.3rem;
    }

    .timeline-content p {
        font-size: 1rem;
    }
}

.timeline-content h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }

    .stat-icon i {
        font-size: 1.3rem;
    }
}

.stat-card {
    background: var(--light-text);
    border: 3px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid var(--accent-color);
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--light-text);
}

.stat-number {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1rem 0;
}

.stat-card p {
    color: var(--text-color);
    font-size: 1rem;
}

.buildings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

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

@media (max-width: 768px) {
    .buildings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .building-card {
        padding: 1.5rem;
    }

    .building-card h3 {
        font-size: 1.3rem;
    }

    .building-card p {
        font-size: 1rem;
    }

    .building-card img {
        max-width: 100%;
        height: auto;
    }
}

.building-card {
    background: var(--light-text);
    border: 2px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.building-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.building-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid var(--accent-color);
}

.building-icon i {
    font-size: 1.5rem;
    color: var(--light-text);
}

.building-card h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.building-card p {
    color: var(--text-color);
    font-size: 0.95rem;
}

.cta-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(93, 64, 55, 0.95) 0%, rgba(62, 39, 35, 1) 100%);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.info-box {
    background: var(--light-text);
    border: 3px solid var(--accent-color);
    border-left: 10px solid var(--accent-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .info-box {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .info-box h3 {
        font-size: 1.3rem;
    }

    .info-box ul li {
        font-size: 0.95rem;
    }
}

[data-textures="parchemin"] .info-box,
[data-textures="parchemin-leger"] .info-box,
[data-textures="parchemin-vintage"] .info-box {
    background-size: 400px 400px;
    background-blend-mode: multiply;
}

[data-textures="parchemin"] .info-box {
    background-image: url('imgs/texture-parchemin.svg');
}

[data-textures="parchemin-leger"] .info-box {
    background-image: url('imgs/texture-parchemin-leger.svg');
}

[data-textures="parchemin-vintage"] .info-box {
    background-image: url('imgs/texture-parchemin-vintage.svg');
}

.info-box h3 {
    font-family: var(--font-title);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box ul li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.info-box ul li::before {
    content: '❦';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--dark-background);
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    margin: 1rem 0;
}

.download-button:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.contact-form {
    max-width: 700px;
    margin: 2rem auto;
    background: var(--light-text);
    border: 3px solid var(--border-color);
    padding: 2rem;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .btn-submit {
        width: 100%;
        padding: 1rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-title);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    background: var(--background-color);
    font-family: var(--font-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

.btn-submit {
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--dark-background);
    border: none;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .partner-card {
        padding: 1.5rem;
    }
}

.partner-card {
    background: var(--light-text);
    border: 2px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.partner-logo {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(210, 105, 30, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.partner-logo i {
    font-size: 3rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   LYNX MASCOTTE
   ============================================ */

.lynx-companion {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9998;
    max-width: 250px;
    height: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    filter: drop-shadow(4px 4px 16px rgba(0, 0, 0, 0.5));
    animation: lynxFloat 4s ease-in-out infinite;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    padding: 10px;
    backdrop-filter: blur(8px);
    border: 2px solid rgba(139, 69, 19, 0.3);
}

.lynx-companion:hover {
    transform: scale(1.12) translateY(-10px) rotate(3deg);
    filter: drop-shadow(6px 6px 24px rgba(139, 69, 19, 0.7));
    border-color: rgba(139, 69, 19, 0.6);
}

@keyframes lynxFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(-2deg);
    }
}

@media (max-width: 968px) {
    .lynx-companion {
        max-width: 180px;
        bottom: 25px;
        left: 15px;
        padding: 8px;
    }
}

@media (max-width: 768px) {
    .lynx-companion {
        display: none;
    }
}


/* ============================================
   CONTRÔLE AUDIO
   ============================================ */

.audio-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: var(--primary-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.audio-control:hover {
    background: var(--hover-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.audio-control i {
    color: var(--light-text);
    font-size: 24px;
}

.audio-control.muted {
    background: #8D6E63;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .audio-control {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .audio-control i {
        font-size: 20px;
    }
}




 
/* =========================
   ARCHIVES - MAIN DE CARTES
   ========================= */

.archives-cards {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
}

/* Carte */
.archives-cards .actualite-card {
    position: relative;

    margin-top: -120px;

    min-height: 180px;

    background: #f4ead2;

    border: 2px solid #395b3a;
    border-radius: 12px;

    padding: 20px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        margin 0.35s ease;

    cursor: pointer;

    overflow: hidden;
}

/* La première carte ne remonte pas sur la précédente */
.archives-cards .actualite-card:first-child {
    margin-top: 0;
}


/* =========================
   CONTENU CACHE
   ========================= */

.archives-cards .actualite-content {
    opacity: 0;

    max-height: 0;

    transform: translateY(20px);

    overflow: hidden;

    transition:
        opacity 0.35s ease,
        max-height 0.45s ease,
        transform 0.35s ease;
}


/* =========================
   CARTE SURVOLEE
   ========================= */

.archives-cards .actualite-card:hover {

    /* la carte sort de la "main" */
    transform: translateY(-35px) scale(1.03);

    /* elle passe devant les autres */
    z-index: 50;

    /* légère mise en valeur */
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);

    /* elle s'ouvre */
    margin-bottom: 120px;
}


/* Apparition du contenu */

.archives-cards .actualite-card:hover .actualite-content {

    opacity: 1;

    max-height: 500px;

    transform: translateY(0);
}


/* =========================
   DATE TOUJOURS VISIBLE
   ========================= */

.archives-cards .actualite-date {

    position: relative;
    z-index: 2;

    font-weight: bold;

    margin-bottom: 10px;
}


/* =========================
   ARCHIVES - MAIN DE CARTES
   ========================= */

.archives-cards {
    /* ... */
}

.archives-cards .actualite-card {
    /* ... */
}

/* etc. */

/* =========================
   EFFET CARTES EN MAIN
   ========================= */

.archives-cards .actualite-card:nth-child(odd) {
    transform: rotate(-0.5deg);
}

.archives-cards .actualite-card:nth-child(even) {
    transform: rotate(0.5deg);
}

.archives-cards .actualite-card:hover {
    transform: translateY(-35px) scale(1.03) rotate(0deg);
}

/* ============================================
   SÉLECTEUR DE THÈME
   ============================================ */

.theme-selector {
    position: fixed;
    bottom: 20px;
    right: 100px;
    z-index: 9999;
}

.theme-toggle {
    background: var(--primary-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--hover-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.theme-toggle i {
    color: var(--light-text);
    font-size: 24px;
}

.theme-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    box-shadow: 0 8px 24px var(--shadow-color);
    backdrop-filter: blur(10px);
}

.theme-options.active {
    display: flex;
}

.theme-option {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-option:hover {
    transform: scale(1.15);
    border-color: var(--accent-color);
}

.theme-option.active {
    border-color: var(--primary-color);
    border-width: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}

.theme-label {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-divider {
    width: 100%;
    height: 2px;
    background: var(--border-color);
    margin: 0.3rem 0;
}

.texture-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
}

@media (max-width: 480px) {
    .texture-options {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.3rem;
    }

    .texture-option {
        width: 40px;
        height: 40px;
    }
}

.texture-option {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    background: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.texture-option:hover {
    transform: scale(1.1);
    border-color: var(--accent-color);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.texture-option.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px var(--shadow-color);
}

.texture-option i {
    font-size: 1rem;
    color: var(--primary-color);
}

.texture-option.active i {
    color: var(--light-text);
}

@media (max-width: 768px) {
    .theme-selector {
        bottom: 15px;
        right: 75px;
    }
    
    .theme-toggle {
        width: 50px;
        height: 50px;
    }
    
    .theme-toggle i {
        font-size: 20px;
    }
    
    .theme-options {
        bottom: 60px;
        padding: 0.8rem;
        gap: 0.6rem;
    }
    
    .theme-option {
        width: 38px;
        height: 38px;
    }
}

/* Contraste renforcé pour les cartes d archives */
.archives-cards .actualite-card,
.archives-cards .actualite-content,
.archives-cards .actualite-content p,
.archives-cards .actualite-content h3 {
    color: #3E2723;
}

.archives-cards .actualite-link {
    color: #2f5d3a;
    font-weight: 700;
}

.archives-cards .actualite-link:hover {
    color: #1f3f28;
}


/* ============================================
   IDENTITÉ VISUELLE — SEIGNEURIE DES CORNELLES
   Charte globale : vert forêt / beige / or
   ============================================ */
:root {
    --cornelles-green: #2F5D3A;
    --cornelles-green-dark: #23472C;
    --cornelles-beige: #F1E5C8;
    --cornelles-beige-light: #FBF7EC;
    --cornelles-gold: #C9A227;
    --cornelles-brown: #3E2723;
}

html, body { background: var(--cornelles-beige-light); color: var(--cornelles-brown); }
body { font-family: var(--font-text); }
h1, h2, h3, h4, h5, h6, .section-title, .site-title, .nav-link, .btn-medieval { font-family: var(--font-title); }

.header-medieval { background: rgba(241,229,200,.97); border-bottom: 1px solid var(--cornelles-gold); }
.header-banner { background: linear-gradient(180deg, var(--cornelles-beige-light), var(--cornelles-beige)); }
.site-logo { filter: drop-shadow(0 2px 2px rgba(0,0,0,.18)); }
.site-title { color: var(--cornelles-green); }
.site-subtitle { color: var(--cornelles-brown); font-style: normal; letter-spacing: .08em; }
.main-nav { background: var(--cornelles-green); border-top: 2px solid var(--cornelles-gold); border-bottom: 2px solid var(--cornelles-gold); }
.nav-link { color: var(--cornelles-beige-light); }
.nav-link:hover, .nav-link.active { color: var(--cornelles-gold); background: rgba(255,255,255,.06); }
.nav-link.active::after { background: var(--cornelles-gold); }
.nav-decoration-left, .nav-decoration-right { background: repeating-linear-gradient(45deg,var(--cornelles-gold),var(--cornelles-gold) 4px,transparent 4px,transparent 9px); opacity:.65; }
.dropdown-menu { background: var(--cornelles-beige-light); border-color: var(--cornelles-gold); }
.dropdown-menu a { color: var(--cornelles-brown); }
.dropdown-menu a:hover { color: var(--cornelles-green); background: var(--cornelles-beige); }

.section-title, .page-hero-content h1 { color: var(--cornelles-green); }
.section-decoration { background: var(--cornelles-gold); }
.page-hero-content h1 { text-shadow: 0 2px 5px rgba(0,0,0,.55); color: var(--cornelles-beige-light); }
.page-hero-content p { color: var(--cornelles-beige-light); }
.content-section.alt-bg, .alt-bg { background: var(--cornelles-beige); }

.btn-medieval { border-color: var(--cornelles-gold); border-radius: 3px; }
.btn-medieval.primary { background: var(--cornelles-green); color: var(--cornelles-beige-light); border-color: var(--cornelles-gold); }
.btn-medieval.primary:hover { background: var(--cornelles-green-dark); border-color: var(--cornelles-gold); }
.btn-medieval.secondary { color: var(--cornelles-green); border-color: var(--cornelles-gold); background: var(--cornelles-beige-light); }
.btn-medieval.secondary:hover { background: var(--cornelles-gold); color: var(--cornelles-brown); }

.card-medieval, .actualite-card, .building-card, .activite-item { background: var(--cornelles-beige-light); border-color: rgba(201,162,39,.65); }
.card-medieval h3, .actualite-card h3, .building-card h3, .activite-item h3 { color: var(--cornelles-green); }
.card-icon { background: var(--cornelles-green); border-color: var(--cornelles-gold); }
.card-link, .actualite-link { color: var(--cornelles-green); }

.footer-medieval { background: var(--cornelles-green-dark); border-top: 4px solid var(--cornelles-gold); }
.footer-section h3, .footer-section i, .footer-links a:hover, .social-links-footer a { color: var(--cornelles-gold); }
.footer-section p, .footer-links a, .footer-bottom { color: var(--cornelles-beige-light); }
.social-links-footer a { border-color: var(--cornelles-gold); }
.social-links-footer a:hover { background: var(--cornelles-gold); color: var(--cornelles-green-dark); }

::selection { background: var(--cornelles-gold); color: var(--cornelles-brown); }


/* ============================================
   LIENS EXTERNES
   Identifiables sans bleu : vert + soulignement or
   ============================================ */
main a[href^="http://"],
main a[href^="https://"],
.content-section a[href^="http://"],
.content-section a[href^="https://"] {
    color: var(--cornelles-green, #2F5D3A);
    text-decoration-line: underline;
    text-decoration-color: var(--cornelles-gold, #C9A227);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color .2s ease, text-decoration-thickness .2s ease;
}

main a[href^="http://"]:not(:has(img))::after,
main a[href^="https://"]:not(:has(img))::after,
.content-section a[href^="http://"]:not(:has(img))::after,
.content-section a[href^="https://"]:not(:has(img))::after {
    content: " ↗";
    color: var(--cornelles-gold, #C9A227);
    font-size: .78em;
    font-weight: 700;
}

main a[href^="http://"]:hover,
main a[href^="https://"]:hover,
.content-section a[href^="http://"]:hover,
.content-section a[href^="https://"]:hover {
    color: var(--cornelles-brown, #3E2723);
    text-decoration-thickness: 3px;
}

/* Les liens externes du footer restent adaptés au fond sombre */
.footer-medieval a[href^="http://"],
.footer-medieval a[href^="https://"] {
    color: var(--cornelles-beige-light, #FBF7EC);
    text-decoration-color: var(--cornelles-gold, #C9A227);
}


/* ============================================
   MENU MOBILE — CONTRASTE SUR FOND CLAIR
   ============================================ */
@media (max-width: 768px) {
    .nav-menu .nav-link,
    .nav-menu .dropdown > .nav-link {
        color: var(--cornelles-brown, #3E2723);
        font-weight: 700;
        opacity: 1;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:focus,
    .nav-menu .nav-link:active,
    .nav-menu .nav-link.active,
    .nav-menu .dropdown > .nav-link:hover,
    .nav-menu .dropdown > .nav-link:focus {
        color: var(--cornelles-green-dark, #23472C);
        background: var(--cornelles-beige, #F1E5C8);
    }

    .nav-menu .dropdown-menu a {
        color: var(--cornelles-brown, #3E2723);
        opacity: 1;
    }

    .nav-menu .dropdown-menu a:hover,
    .nav-menu .dropdown-menu a:focus,
    .nav-menu .dropdown-menu a:active {
        color: var(--cornelles-green-dark, #23472C);
        background: var(--cornelles-beige, #F1E5C8);
    }

    .nav-menu .nav-link i {
        color: var(--cornelles-gold, #C9A227);
    }
}


/* ==========================================================
   RESPONSIVE V2 — TABLETTE UNIQUEMENT (769px à 1024px)
   Le desktop (>1024px) n'est pas modifié.
   ========================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    body { font-size: 18px; }
    .header-banner { padding: 1rem 1.5rem; gap: 1rem; }
    .site-logo { width: 52px; }
    .site-title { font-size: 1.65rem; letter-spacing: 1px; }
    .site-subtitle { font-size: .9rem; }
    .main-nav { padding: 0 1rem; }
    .nav-menu { padding: .65rem 0; }
    .nav-menu > li { margin: 0 .25rem; }
    .nav-link { padding: .8rem .65rem; font-size: .78rem; gap: .3rem; }
    .dropdown-menu { min-width: 210px; }

    .hero-section, .village-section { margin-top: 120px; height: calc(100vh - 120px); }
    .hero-content, .village-content, .fete-content { max-width: 720px; padding: 1.75rem; }
    .hero-title, .village-title, .fete-title { font-size: 2.55rem; }
    .hero-buttons, .village-buttons, .fete-buttons, .cta-buttons { gap: 1rem; }
    .btn-medieval { padding: .85rem 1.35rem; }

    .content-section { padding-left: 1.5rem; padding-right: 1.5rem; }
    .content-grid { gap: 1.5rem; }
    .actualites-grid, .cards-grid, .buildings-grid, .partners-grid { gap: 1.4rem; }
    img { max-width: 100%; height: auto; }
}

/* ==========================================================
   RESPONSIVE V2 — SMARTPHONE (jusqu'à 768px)
   Interface pensée pour le tactile et les petits écrans.
   ========================================================== */
@media (max-width: 768px) {
    html { scroll-padding-top: 76px; }
    body { font-size: 17px; line-height: 1.55; overflow-x: hidden; }

    /* Header compact */
    .header-medieval { min-height: 72px; }
    .header-banner {
        min-height: 72px;
        justify-content: flex-start;
        gap: .7rem;
        padding: .55rem 4.25rem .55rem .8rem;
    }
    .site-logo { width: 46px; flex: 0 0 46px; }
    .site-title { font-size: clamp(1.05rem, 5vw, 1.4rem); line-height: 1.05; letter-spacing: .5px; }
    .site-subtitle { font-size: .72rem; line-height: 1.2; letter-spacing: .03em; margin-top: .15rem; }
    .mobile-menu-toggle { display: block; top: 26px; right: 1.1rem; width: 30px; height: 20px; }

    /* Navigation tactile */
    .main-nav { padding: 0; border-top: 1px solid var(--cornelles-gold); }
    .nav-decoration-left, .nav-decoration-right { display: none; }
    .nav-menu {
        width: 100%;
        padding: .35rem 0 .65rem;
        align-items: stretch;
        background: var(--cornelles-beige-light);
    }
    .nav-menu > li { width: 100%; margin: 0; border-bottom: 1px solid rgba(201,162,39,.3); }
    .nav-menu .nav-link,
    .nav-menu .dropdown > .nav-link {
        min-height: 48px;
        width: 100%;
        padding: .8rem 1.15rem;
        justify-content: space-between;
        color: var(--cornelles-brown);
        font-size: 1rem;
        font-weight: 700;
    }
    .nav-link.active::after { left: .8rem; right: .8rem; height: 2px; }
    .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        background: var(--cornelles-beige);
    }
    .dropdown-menu a { min-height: 44px; padding: .7rem 1.65rem; font-size: .95rem; }

    /* Heroes : contenu visible plus vite */
    .hero-section, .village-section {
        height: auto;
        min-height: 0;
        margin-top: 72px;
        padding: 3.2rem 0 2.5rem;
    }
    .fete-section { margin-top: 72px; padding: 2.5rem .75rem; }
    .hero-content, .village-content, .fete-content { width: 100%; max-width: 100%; padding: 1.1rem; }
    .hero-title, .village-title, .fete-title { font-size: clamp(1.85rem, 9vw, 2.45rem); line-height: 1.1; }
    .hero-subtitle, .village-subtitle { font-size: 1.05rem; margin-bottom: 1.25rem; }
    .scroll-indicator { display: none; }

    /* Boutons faciles à toucher */
    .hero-buttons, .village-buttons, .fete-buttons, .cta-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: .7rem;
    }
    .btn-medieval { width: 100%; min-height: 48px; padding: .8rem 1rem; text-align: center; justify-content: center; }

    /* Contenus et cartes */
    .content-section, .actualites-section, .archives-section { padding-left: 1rem; padding-right: 1rem; }
    .content-grid, .actualites-grid, .cards-grid, .buildings-grid, .partners-grid { grid-template-columns: 1fr; gap: 1rem; }
    .section-title { font-size: clamp(1.65rem, 8vw, 2.15rem); line-height: 1.15; }
    .actualite-card, .card-medieval, .building-card, .activite-item { width: 100%; }
    .actualite-content img, .card-medieval img, .building-card img, .activite-item img { max-width: 100%; height: auto; }

    /* Archives : le contenu doit être accessible sans hover */
    .archives-cards { margin: 1.5rem auto; }
    .archives-cards .actualite-card,
    .archives-cards .actualite-card:first-child {
        margin-top: 0;
        margin-bottom: 1rem;
        min-height: 0;
        transform: none;
    }
    .archives-cards .actualite-content {
        opacity: 1;
        max-height: none;
        transform: none;
        overflow: visible;
    }
    .archives-cards .actualite-card:hover { transform: none; margin-bottom: 1rem; }

    /* Formulaires / médias */
    .contact-form { width: 100%; padding: 1rem; }
    .form-group input, .form-group textarea, .form-group select { font-size: 16px; }
    img, video, iframe { max-width: 100%; }
    iframe { width: 100%; }

    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
}
