@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@700&family=Montserrat:wght@400&display=swap');


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

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    background-color: #E1E1E1;
    color: #333;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* STYLES COMMUNS À TOUTES LES PAGES */

/*  HEADER  */
header {
    background-color: #81031a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #F2F2F2;
    padding: 30px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

header h1 {
    font-family: 'Libre Baskerville', serif;
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 5px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

header img {
    display: none;
}

header figure {
    display: inline-block;
    margin: 15px 0 0 0;
}

/*  NAVIGATION  */
nav {
    background-color: #671020;
    padding: 0;
    display: flex;
    justify-content: space-around;
    border-bottom: 3px solid #ece7e8;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(113, 113, 113, 0.2);
}

nav ul {
    list-style: none;
    display: flex;
    width: 100%;
    justify-content: space-around;
}

nav li {
    flex: 1;
}

nav a {
    color: #F2F2F2;
    text-decoration: none;
    font-size: 1.1em;
    padding: 18px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
    text-align: center;
}

nav a:hover {
    background-color: #f7f7f7;
    transform: translateY(-2px);
    letter-spacing: 1px;
    color:#6e071a;
    font-weight: 900;
}

/*  MAIN  */
main {
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
}

/*  TITRES  */
h1 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 30px;
    text-align: center;
    color: #73071B;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    width: 100%;
}

h2 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 25px;
    text-align: center;
    color: #73071B;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
}

h3 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 20px;
    color: #73071B;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: linear-gradient(180deg, #73071B, #A60A27);
    border-radius: 3px;
}

h4 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: #73071B;
    margin: 15px 0 10px 0;
    font-size: 1.2em;
}

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

/* SECTIONS et ARTICLES  */
section {
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
}

/* Animation progressive des sections */
section:nth-child(2) {
    animation-delay: 0.2s;
}

section:nth-child(3) {
    animation-delay: 0.4s;
}

section:nth-child(4) {
    animation-delay: 0.6s;
}

section:nth-child(5) {
    animation-delay: 0.8s;
}

section:nth-child(6) {
    animation-delay: 1s;
}

article {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #D2D2D2;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

article::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(115,7,27,0.05) 0%, transparent 70%);
    transition: all 0.8s ease;
    transform: scale(0);
}

article:hover::before {
    transform: scale(1) rotate(180deg);
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background-color: #fff;
}

article p {
    margin-bottom: 15px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

article p:first-letter {
    font-size: 1.5em;
    font-weight: bold;
    color: #73071B;
    float: left;
    margin-right: 5px;
    line-height: 1;
}

/* IMAGES  */
figure {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

/* Bordure rouge au survol désactivée */
figure::after {
    display: none;
}

figure:hover::after {
    display: none;
}

img {
    max-width: 100%;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
    border-radius: 5px;
    filter: grayscale(0%) brightness(1);
}

figure:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(115, 7, 27, 0.4);
    filter: grayscale(0%) brightness(1.1);
}

/*  LISTES  */
ul {
    list-style: none;
    padding-left: 0;
}

li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
}

/* Animation progressive des éléments de liste */
li:nth-child(1) {
    animation-delay: 0.1s;
}

li:nth-child(2) {
    animation-delay: 0.2s;
}

li:nth-child(3) {
    animation-delay: 0.3s;
}

li:nth-child(4) {
    animation-delay: 0.4s;
}

li:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #73071B;
    font-size: 1.2em;
}

ol {
    padding-left: 30px;
    margin-bottom: 20px;
    counter-reset: custom-counter;
    list-style: none;
}

ol li {
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}

ol li::before {
    counter-increment: custom-counter;
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #73071B, #A60A27);
    color: #F2F2F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #400707 0%, #73071B 100%);
    color: #F2F2F2;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    margin-top: auto;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #A60A27, transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

footer p {
    margin: 10px 0;
    font-size: 0.95em;
}

footer a {
    color: #F2F2F2;
    text-decoration: none;
    margin: 0 15px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

footer a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #A60A27, #F2F2F2);
    transition: width 0.3s ease;
}

footer a:hover {
    color: #A60A27;
    transform: translateY(-2px);
}

footer a:hover::after {
    width: 100%;
}

/* ============================================
   PAGE GASTRONOMIE
   ============================================ */

/* Section avec fond d'image */
.fonds {
    background: url('images/Images gastronomie/asss.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.fonds::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.03) 10px,
        rgba(255,255,255,0.03) 20px
    );
    pointer-events: none;
}

.fonds h2 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: #F2F2F2;
    font-size: 3.5em;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 3px 3px 12px rgba(0,0,0,0.5);
}

.fonds h2::before,
.fonds h2::after {
    display: none;
}

.fonds p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em;
    position: relative;
    z-index: 1;
    color: #F2F2F2;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Section recette */
.recette {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.ingredients, .preparation {
    background: linear-gradient(135deg, #F2F2F2 0%, #E1E1E1 100%);
    padding: 30px;
    border: 3px solid #73071B;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ingredients:hover,
.preparation:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(115,7,27,0.25);
    border-color: #A60A27;
}

.ingredients .ingredient-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 15px;
    align-items: center;
    padding: 20px;
}

.ingredients .ingredient-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #73071B;
    transition: all 0.3s ease;
}

.ingredients .ingredient-item img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(115,7,27,0.4);
}

.ingredients .ingredient-item p {
    margin: 0;
    padding: 10px;
    background-color: #E1E1E1;
    border-radius: 8px;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.ingredients .ingredient-item p:first-letter {
    font-size: inherit;
    font-weight: normal;
    color: inherit;
    float: none;
    margin-right: 0;
    line-height: inherit;
}

.ingredients .ingredient-item p:hover {
    background-color: #F2F2F2;
    transform: translateX(5px);
}

.accompagnements {
    background: linear-gradient(135deg, #F2F2F2, #E1E1E1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 25px;
    border-left: 5px solid #A60A27;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.histoire {
    border: 3px solid #73071B;
    border-left: 8px solid #A60A27;
    padding: 35px;
    border-radius: 12px;
    background: linear-gradient(135deg, #D2D2D2 0%, #E1E1E1 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.histoire::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(115, 7, 27, 0.1), transparent);
    transition: left 0.7s ease;
}

.histoire:hover::after {
    left: 100%;
}


.activite {
    background: linear-gradient(135deg, #E1E1E1 0%, #D2D2D2 100%);
    padding: 35px;
    border-left: 8px solid #73071B;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.activite::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 0;
    background: linear-gradient(180deg, #A60A27, #73071B);
    transition: height 0.5s ease;
}

.activite:hover {
    padding-left: 45px;
    transform: translateX(5px);
}

.activite:hover::after {
    height: 100%;
}

.activite ul {
    margin-top: 15px;
}

.activite {
    width: 100%;
}

.activite article {
    background: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.activite article:hover {
    transform: none;
}

/*--------------------------------------------------------------------------------------------------------------------------------------- */




/* ACCUEIL */
.fondaccueil{
    background-image: url('images/Image lieux/copenhauge_acceuil.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Articles de la page d'accueil */
.article-accueil article {
    height: 450px;
    display: flex;
    flex-direction: column;
}

.article-accueil article figure {
    display: flex;
    justify-content: center;
    height: 200px;
    align-items: center;
}

.article-accueil article figure img {
    max-width: 60%;
    max-height: 180px;
    object-fit: contain; /*permet a l'image d'être complete sans qu'elle se coupe*/
}

.article-accueil article p {
    flex: 1;
    overflow: hidden;
}

/* Article Lars - mêmes dimensions que les autres */
.article-Lars article {
    height: 450px;
    width: 60em;
    display: flex;
    flex-direction: column;
}

.article-Lars article figure {
    display: flex;
    justify-content: center;
    height: 200px;
    align-items: center;
}

.article-Lars article figure img {
    max-width: 60%;
    max-height: 180px;
    object-fit: contain;
}

.article-Lars article p {
    flex: 1;
    overflow: hidden;
}



/*--------------------------------------------------------------------------------------------------------------------------------------- */



/* PAGE LIEUX */

/* BANNIÈRE PRINCIPALE  */
#accueil > div:first-child {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

#accueil > div:first-child img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

#accueil > div:first-child h2 {
    position: absolute;
    top: 40px;
    left: 40px;
    margin: 0;
    color: #fff;
    font-family: 'Libre Baskerville', serif;
    font-size: 3em;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
    text-align: left;
    opacity: 1;
    animation: none;
}

/* INTRODUCTION  */
#accueil > h3,
main > h3 {
    text-align: center;
    font-size: 24px;
    margin: 40px auto 20px;
    padding-left: 0;
    max-width: 900px;
}

#accueil > h3::before,
main > h3::before {
    display: none;
}

#accueil > p,
main > p {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 40px;
}

/*  CARTES / ARTICLES  */
#accueil article,
main > section:last-of-type article {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#accueil article::before,
main > section:last-of-type article::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(115,7,27,0.05) 0%, transparent 70%);
    transform: scale(0);
    transition: all 0.8s ease;
}

#accueil article:hover::before,
main > section:last-of-type article:hover::before {
    transform: scale(1) rotate(180deg);
}

#accueil article:hover,
main > section:last-of-type article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* DEUX PREMIERS ARTICLES  */
#accueil > div:nth-of-type(2) {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

#accueil > div:nth-of-type(2) article {
    flex: 1;
    padding: 30px;
}

#accueil > div:nth-of-type(2) article img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

#accueil > div:nth-of-type(2) article h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
}

#accueil > div:nth-of-type(2) article p {
    text-align: justify;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ARTICLE HISTORIQUE  */
#accueil > article {
    padding: 30px;
    margin-bottom: 40px;
}

#accueil > article img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    float: left;
    margin: 0 25px 20px 0;
    shape-outside: margin-box;
}

#accueil > article h3 {
    font-size: 24px;
    text-align: left;
    margin-bottom: 20px;
    padding-left: 0;
}

#accueil > article h3::before {
    display: none;
}

#accueil > article p {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

#accueil > article p:first-of-type:first-letter {
    font-size: 2.5em;
    font-weight: bold;
    color: #73071B;
    float: left;
    margin-right: 8px;
    line-height: 0.9;
    padding-top: 5px;
}

/*  GRILLE LIEUX TOURISTIQUES -*/
main > section:last-of-type {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

main > section:last-of-type article {
    padding: 20px;
}

main > section:last-of-type article img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

main > section:last-of-type article:hover img {
    transform: scale(1.1);
}

main > section:last-of-type article h4 {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 15px;
}

main > section:last-of-type article p {
    text-align: justify;
    line-height: 1.7;
    font-size: 0.95em;
    position: relative;
    z-index: 1;
}





/*--------------------------------------------------------------------------------------------------------------------------------------- */




/*  STYLES POUR LA PAGE PERSONNAGE */

.Lars { 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

.Lars > img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Fiche d'identité avec fond rouge */
.fiche-identite {
    background: linear-gradient(135deg, #73071B 0%, #A60A27 100%);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: #F2F2F2;
    position: relative;
    overflow: hidden;
}

.fiche-identite h2 {
    color: #F2F2F2;
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    opacity: 1;
    animation: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.fiche-identite ul {
    position: relative;
    z-index: 1;
}

.fiche-identite li {
    color: #F2F2F2;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid #E1E1E1;
    transition: all 0.3s ease;
    animation: none;
    opacity: 1;
}

.fiche-identite li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.fiche-identite li::before {
    display: none;
}

.fiche-identite strong {
    color: #ffffff;
    font-weight: 700;
}

/* Section présentation - comme un article simple */
.presentation {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #D2D2D2;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.presentation:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background-color: #fff;
}

.presentation h2 {
    text-align: center;
    margin-bottom: 20px;
}

.presentation p {
    text-align: justify;
    line-height: 1.8;
}

/* Section biographie - comme un article simple */
.biographie {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #D2D2D2;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.biographie:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background-color: #fff;
}

.biographie h2 {
    text-align: center;
    margin-bottom: 20px;
}

.biographie p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
}

/* Section œuvres et prix */
.oeuvres-prix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.oeuvres-majeures,
.prix-distinctions {
    padding: 20px;
    background-color: #D2D2D2;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.oeuvres-majeures:hover,
.prix-distinctions:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background-color: #fff;
}

.oeuvres-majeures h2,
.prix-distinctions h2 {
    text-align: center;
    margin-bottom: 25px;
}

/* Section style  */
.style {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #D2D2D2;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.style:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background-color: #fff;
}

.style h2 {
    text-align: center;
    margin-bottom: 20px;
}

.style p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
}

/* Section activités touristiques */
.activites-touristiques {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Articles lieu  */
.lieu {
    margin-bottom: 0;
    padding: 0;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lieu::before {
    display: none;
}

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

.lieu h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
    text-align: center;
}

.lieu figure {
    margin: 0;
}

.lieu img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: none;
    border-radius: 0;
    display: block;
    margin: 0;
}

.lieu > h3,
.lieu > p,
.lieu > .map-container {
    padding: 0 20px;
}

.lieu > h3 {
    padding-top: 20px;
}

.lieu p {
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: justify;
}

.lieu p:first-of-type {
    margin-top: 0;
}

.lieu p:first-of-type:first-letter {
    font-size: inherit;
    font-weight: normal;
    color: inherit;
    float: none;
    margin-right: 0;
}

.lieu p strong {
    color: #73071B;
}

.lieu .map-container {
    padding-bottom: 20px;
}

/* Footer  */
.social-links {
    margin-bottom: 20px;
}

.social-links a,
.footer-links a {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.social-links a:hover,
.footer-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}


/* CARTE GOOGLE MAPS  */

.map-container {
    position: relative;
    margin: 20px 0;
    z-index: 1;
}

.map-container iframe {
    width: 100%;
    max-width: 600px;
    height: 450px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* Empêcher le pseudo-élément de figure de bloquer la carte */
.map-container figure::after {
    display: none;
}

/* Si la carte est dans un article .lieu */
.lieu .map-container {
    background: transparent;
    padding: 0;
}


/*--------------------------------------------------------------------------------------------------------------------------------------- */



/*  STYLES POUR LA PAGE OEUVRE */

/* deux colonnes pour auteur/histoire, contexte */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Encadré accent */
.box-accent {
    background: linear-gradient(135deg, #73071B 0%, #A60A27 100%);
    padding: 25px;
    border-radius: 10px;
    color: #F2F2F2;
    box-shadow: 0 4px 12px rgba(115, 7, 27, 0.3);
    transition: all 0.3s ease;
}

.box-accent:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(115, 7, 27, 0.4);
}

.box-accent h3 {
    color: #F2F2F2;
    text-align: center;
    margin-bottom: 20px;
}

.box-accent h3::before {
    display: none;
}

.box-accent ul {
    list-style: none;
}

.box-accent li {
    color: #F2F2F2;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 4px solid #E1E1E1;
    opacity: 1;
    animation: none;
    transition: all 0.3s ease;
}

.box-accent li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.box-accent li::before {
    display: none;
}

.box-accent strong {
    color: #ffffff;
    font-weight: 700;
}

/* Grille de cartes pour activités touristiques */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* Cartes d'activités */
.card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 0;
    padding: 0;
}

.card::before {
    display: none;
}

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

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: none;
    border-radius: 0;
    margin: 0;
}

.card-content {
    padding: 20px;
}

.card-content h4 {
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

.card-content p {
    margin-bottom: 10px;
    line-height: 1.7;
    text-align: justify;
}

.card-content p:first-letter {
    font-size: inherit;
    font-weight: normal;
    color: inherit;
    float: none;
    margin-right: 0;
}

/*MEDIA QUERIES MOBILE */

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

    /* === HEADER === */
    header {
        padding: 20px 15px;
    }

    header h1 {
        font-size: 24px; 
        letter-spacing: 2px; 
    }

    /* === NAVIGATION === */
    
    nav {
        padding: 0;
    }

    nav ul {
        flex-direction: column; /* Liste verticale au lieu d'horizontale */
        width: 100%;
    }

    nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav a {
        padding: 15px 20px; 
        font-size: 1em; 
        text-align: center;
    }

    /* === MAIN === */
   
    main {
        padding: 20px 15px; 
    }

    /* === TITRES === */
   
    h1 {
        font-size: 22px; 
        margin-bottom: 20px;
    }

    h2 {
        font-size: 20px; 
        margin-bottom: 20px;
    }

    h3 {
        font-size: 18px; 
        margin-bottom: 12px;
    }

    h4 {
        font-size: 1.1em;
    }

    /* === SECTIONS & ARTICLES === */
    section {
        margin-bottom: 25px; 
    }

    article {
        margin-bottom: 20px; 
        padding: 15px; 
    }
    
    /* FOOTER */
    footer {
        padding: 30px 15px; 
    }

    footer a {
        display: block; 
        margin: 10px 0;
    }

    footer p {
        font-size: 0.9em;
    }

/* PAGE GASTRONOMIE */

    /* Section avec fond d'image */
    .fonds {
        padding: 40px 20px; 
        background-attachment: scroll; 
    }

    .fonds h2 {
        font-size: 2em; 
        margin-bottom: 10px;
    }

    .fonds p {
        font-size: 1.1em; 
    }

    /* Section recette */
    .recette {
        grid-template-columns: 1fr; 
    }

    .ingredients, .preparation {
        padding: 20px; 
    }

    /* Ingrédients avec images */
    .ingredients .ingredient-item {
        grid-template-columns: 50px 1fr; 
        gap: 10px;
        padding: 15px;
    }

    .ingredients .ingredient-item img {
        width: 50px;
        height: 50px;
    }

    /* Histoire */
    .histoire {
        padding: 20px; 
    }

    /* Activité */
    .activite {
        padding: 20px; 
    }

    /* PAGE ACCUEIL */

    .fondaccueil {
        padding: 40px 20px;
        
    }

    /* Articles de la page d'accueil */
    .article-accueil article {
        height: auto; 
        min-height: 300px;
    }

    .article-accueil article figure {
        height: 150px; 
    }

    .article-accueil article figure img {
        max-width: 80%; 
        max-height: 140px;
    }

    /* Article Lars  */
    .article-Lars article {
        height: auto;
        width: 100%; 
        min-height: 300px;
    }

    .article-Lars article figure {
        height: 150px;
    }

    .article-Lars article figure img {
        max-width: 80%;
        max-height: 140px;
    }

/* PAGE LIEUX  */

    #accueil > div:first-child img {
        height: 250px; /* Réduit de 400px */
    }

    #accueil > div:first-child h2 {
        font-size: 1.8em; 
        top: 20px; 
        left: 20px;
    }

    
    #accueil > h3,
    main > h3 {
        font-size: 20px; 
        margin: 25px auto 15px;
    }

    #accueil > p,
    main > p {
        font-size: 1em; 
        margin: 0 auto 25px;
    }

   
    #accueil > div:nth-of-type(2) {
        flex-direction: column; 
        gap: 15px;
        margin-bottom: 25px;
    }

    #accueil > div:nth-of-type(2) article {
        padding: 20px; 
    }

    #accueil > div:nth-of-type(2) article img {
        height: 200px; 
    }

    /* Article historique */
    #accueil > article {
        padding: 20px; 
        margin-bottom: 25px;
    }

    #accueil > article img {
        width: 100%; 
        height: 200px;
        float: none; 
        margin: 0 0 15px 0;
    }

    
    main > section:last-of-type {
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    main > section:last-of-type article img {
        height: 180px; /* Réduit de 200px */
    }

    /* PAGE PERSONNAGE */

    /* Section Lars  */
    .Lars {
        grid-template-columns: 1fr; 
        gap: 20px;
        margin-bottom: 30px;
    }

  
    .fiche-identite {
        padding: 25px; 
    }

    .fiche-identite h2 {
        font-size: 22px; 
        margin-bottom: 20px;
    }

    /* Sections présentation et biographie */
    .presentation,
    .biographie {
        padding: 15px; 
        margin-bottom: 20px;
    }

    /* Section œuvres et prix */
    .oeuvres-prix {
        grid-template-columns: 1fr; 
        gap: 20px;
        margin-bottom: 25px;
    }

    
    .style {
        padding: 15px; 
        margin-bottom: 20px;
    }

    
    .activites-touristiques {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 25px;
    }

    
    .lieu img {
        height: 200px; 
    }

    /* Carte Google Maps */
    .map-container iframe {
        height: 300px; 
        max-width: 100%;
    }

    /*  PAGE OEUVRE */

    
    .grid-2col {
        grid-template-columns: 1fr; 
        gap: 20px;
        margin-bottom: 20px;
    }

    
    .box-accent {
        padding: 20px; 
    }

    .box-accent h3 {
        margin-bottom: 15px;
    }

    /* Grille de cartes  */
    .grid-cards {
        grid-template-columns: 1fr; 
        gap: 20px;
        margin-top: 20px;
    }

    /* Cartes d'activités */
    .card img {
        height: 200px; 
    }

    .card-content {
        padding: 15px; 
    }
