@font-face {
    font-family: 'League Spartan';
    font-weight: 300;
    src: url('../fonts/LeagueSpartan/LeagueSpartan-Light.ttf') format('truetype')
}
@font-face {
    font-family: 'League Spartan';
    font-weight: 400;
    src: url('../fonts/LeagueSpartan/LeagueSpartan-Regular.ttf') format('truetype')
}
@font-face {
    font-family: 'League Spartan';
    font-weight: 700;
    src: url('../fonts/LeagueSpartan/LeagueSpartan-Bold.ttf') format('truetype')
}

@font-face {
    font-family: 'Libre Baskerville';
    font-style: italic;
    src: url('../fonts/LibreBaskerville/LibreBaskerville-Italic.ttf') format('truetype')
}
@font-face {
    font-family: 'Libre Baskerville';
    font-weight: 400;
    src: url('../fonts/LibreBaskerville/LibreBaskerville-Regular.ttf') format('truetype')
}


:root {

    /* Couleurs variables */

    --color-white: #FFFFFF;
    --color-black: #262521;
    --color-white-variant: #F2EDE4;
    --color-grey: #BFBAB0;

    /* Font variables */

    --fnt-league: "League Spartan";
    --fnt-libre: "Libre Baskerville";
}



                                    /*******************************************************************************
                                                                    GENERAL
                                    ********************************************************************************/

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

button, input[type="submit"], input[type="reset"] {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}
                                    /*******************************************************************************
                                                                    HEADER
                                    ********************************************************************************/

.side_nav {
    width: 3rem;
    height: 20rem;
}

#logo-img {
    width: 4rem;
}

@keyframes flashEffect {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

#logo-img:hover {
    animation: flashEffect 0.5s ease-in-out;
}

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

/* Menu Hamburger */

#nav-show img,
#nav-hide img {
    width: 2rem;
}

/* Effets Hover */

.link_nav a {
    color: var(--color-black);
    position: relative;
    text-decoration: none;
}

.link_nav a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    border-radius: 4px;
    background-color: var(--color-grey);
    bottom: -5px;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
}

.link_nav a:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

.container_icon li a img {
    transition: transform 0.3s ease; 
}

.container_icon li a:hover img {
    transform: scale(1.1) rotate(10deg); 
}
                                    /*******************************************************************************
                                                                    MAIN
                                    ********************************************************************************/

#main_img {
    width: 22rem;
    transition: opacity 0.3s ease;
}

#main_img:hover {
    color: var(--color-black);
    opacity: 0.5;
    filter:alpha(opacity=40);
}

.titre_page, .titre_main {
    font: 300 3em League Spartan;
}

.titre_main a {
    color: var(--color-black); 
    text-decoration: none; 
    transition: color 0.3s ease;
}

.titre_main a:hover {
    color: var(--color-grey);
}


                                    /*******************************************************************************
                                                                    FOOTER
                                    ********************************************************************************/

.container_icon img {
    width: 1.5rem;
}

.link_footer {
    font: 400 0.8em "League Spartan";
}

.link_footer a {
    color: var(--color-black); 
    text-decoration: none; 
    transition: color 0.3s ease, text-shadow 0.3s ease; 
}

.link_footer a:hover {
    color: var(--color-grey); 
}

                                    /*******************************************************************************
                                                                    CATEGORY PHOTOS
                                    ********************************************************************************/

.img_category {
    width: 70%;
}

.title_category {
    color: white;
    font: 300 3em 'League Spartan';
}



                                    /*******************************************************************************
                                                                    PHOTOS PAGE
                                    ********************************************************************************/

.box_description h4 {
    font-style: italic;
    font: 1.5em League Spartan;
}

.texteDescriptifPhotos {
    font-style: italic;
    margin: 0 15%;
    text-align: center;
    font: 1em 'Libre Baskerville';
}

.reset_scroll_top {
    width: 5rem;
    height: 5rem;
}

.container_icon_arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20%;
    margin: 5% 0;
}

.icon_arrow {
    width: 2.5rem;
}

.container_icon_arrow a img {
    display: inline-block; 
    transition: transform 0.3s ease;
}

.container_icon_arrow a:hover .icon_arrow_left {
    transform: translateX(-5px); 
}

.container_icon_arrow a:hover .icon_arrow_right {
    transform: translateX(5px); 
}

                                    /*******************************************************************************
                                                                    BLOG
                                    ********************************************************************************/

.category a {
    display: inline-block;
    padding: 2px 2px; 
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    text-decoration: none; 
    background-color: transparent; 
}

.category a:hover {
    background-color: var(--color-grey); 
    color: var(--color-white); 
    transform: translateY(-5px); 
}

.category-slash {
    font: 300 italic "Libre Baskerville";
    padding: 0 5px;
    vertical-align: middle; 
    color: var(--color-black);
}

.category {
    font-style: italic;
    font: 300 italic 0.8em 'Libre Baskerville';
}

.category-article {
    font-size: 1em;
}

.separation_main {
    width: 80%;
    height: 0.1rem;
    background-color: var(--color-black);
    transform: translateY(-1.5rem);
}

.container_categories_article a {
    font-style: italic;
    font: 0.8em 'Libre Baskerville';
}

.container_categories_articles a:hover {
    text-decoration: none;
}

.titre_article {
    font: 300 1.4em League Spartan;
}

.tag_article {
    display: block;
    font-family: 'Libre Baskerville';
    font-style: italic;
    font-size: clamp(0.5em,3vw,2em);
}

.cover_img {
    width: 20rem;
    transition: transform .4s; 
}

.cover_img:hover {
    transform: scale(1.1); 
    cursor: pointer; 
}

/* BOUTON ARTICLE*/

.container_btn_more_article {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30%;
}

.btn_more_article {
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: 25px;
    font-style: italic;
    width: 10rem;
    height: 1.6rem;
    font: 2em 'Libre Baskerville';
}

.btn-more_article,
.btn-more_article *,
.btn-more_article:after,
.btn-more_article :before,
.btn-more_article:after,
.btn-more_article:before {
    border: 0 solid;
    box-sizing: border-box;
}

.btn_more_article {
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: button;
    background-color: var(--color-black);
    background-image: none;
    color: var(--color-white);
    cursor: pointer;
    font-style: italic;
    font-size: clamp(0.5em,3vw,4em);
    line-height: 1.5;
    margin: 0;
    -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
    padding: 0;
    font-weight: 900;
    font-family: "Libre Baskerville";
}

.btn_more_article:disabled {
    cursor: default;
}

.btn_more_article:-moz-focusring {
    outline: auto;
}

.btn_more_article svg {
    display: block;
    vertical-align: middle;
}

.btn_more_article [hidden] {
    display: none;
}

.btn_more_article {
    transform: translate(-30%, 80%);
    border-radius: 10rem;
    border-width: 2px;
    overflow: hidden;
    padding: 0.2rem 1rem;
    margin-bottom: 10%;
}

.btn_more_article span {
    display: grid;
    inset: 0;
    place-items: center;
    position: absolute;
    transition: opacity 0.2s ease;
}

.btn_more_article .marquee {
    --spacing: 10em;
    --start: 0em;
    --end: 10em;
    -webkit-animation: marquee 1s linear infinite;
    animation: marquee 3s linear infinite;
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
    opacity: 0;
    position: relative;
    text-shadow: #fff var(--spacing) 0, #fff calc(var(--spacing) * -1) 0,
    #fff calc(var(--spacing) * -2) 0;
}

.btn_more_article:hover .marquee {
    -webkit-animation-play-state: running;
    animation-play-state: running;
    opacity: 1;
}

.btn_more_article:hover .text {
    opacity: 0;
}

@-webkit-keyframes marquee {
0% {
    transform: translateX(var(--start));
}

to {
    transform: translateX(var(--end));
    }
}

@keyframes marquee {
0% {
    transform: translateX(var(--start));
}

to {
    transform: translateX(var(--end));
    }
}



                                    /*******************************************************************************
                                                                    CONTACT
                                    ********************************************************************************/

.container_form label {
    font: 500 1.5em 'League Spartan';
}

.container_form button {
    background-color: var(--color-black);
    color: var(--color-white);
    height: 2rem;
    border-radius: 5px;
    transform: translateY(-0.5rem);
    font: 400 0.7em 'Libre Baskerville';
}

.container_form button:hover {
    transition: 1s ease-in;
    
}

.container_form input,
textarea {
    border: 2px solid #000000;
}

.container_form input{
    height: 2rem;
}

.asterik_symbol, .required_field, ::placeholder {
    font-family: "Libre Baskerville";
    font-style: italic;
}

::placeholder {
    padding: 0 5px;
}

.asterik_symbol, .required_field {
    font-size: 0.7em;
}

.container_btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_suscribe {
    margin-bottom: 15%;
    width: 100%;
}

.title_neswletters {
    margin-top: 5%;
}

button[type="submit"] {
    transition: transform 0.8s ease-in-out;
}

button[type="submit"]:hover {
    transform: scale(1.05);
    cursor: pointer;
}

                                    /*******************************************************************************
                                                                    DASHBOARD ADMIN
                                    ********************************************************************************/

    .dashboard button {
    color: var(--color-black);
    border: 2px solid #262521;
    height: 3rem;
    font: 300 2em "League Spartan";
    }

    .title_total_article {
        font: 300 2em "League Spartan";
    }

    .separateur {
        width: 100%;
        height: 0.1rem;
        background-color: var(--color-black);
    }

    table {
        color: var(--color-black);
        font: 600 1em "League Spartan";
    }

    .btn_search {
        width: 12rem;
        border: 2px solid #262521;
        color: #262521;
        height: 3rem;
        border-radius: 30px;
        font: 300 1em "Libre Baskerville";
    }


    .search-container {
        position: relative;
    }
    
    .search-input {
        width: 12rem;
        border: 2px solid #262521;
        color: var(--color-black);
        height: 3rem;
        font-family: "Libre Baskerville";
        border-radius: 30px;
        padding-left: 10px;
    }

    .search-input::placeholder {
        font: 1.5em "League Spartan";
    }
    
    .search-button {
        position: absolute;
        top: 50%;
        left: 8rem;
        transform: translateY(-50%);
        border: none;
        cursor: pointer;
    }

    .search-icon {
        width: 50%;
    }

    .logo-img {
        width: 5rem;
    }


                                    /*******************************************************************************
                                                                    SCROLL BAR
                                    ********************************************************************************/

body {
    --sb-track-color: #f2ede4;
    --sb-thumb-color: #262521;
    --sb-size: 8px;
}

body::-webkit-scrollbar {
width: var(--sb-size);
}

body::-webkit-scrollbar-track {
background: var(--sb-track-color);
border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
background: var(--sb-thumb-color);
border-radius: 10px;
border: 1px solid #f2ede4;
}

@supports not selector(::-webkit-scrollbar) {
body {
    scrollbar-color: var(--sb-thumb-color)
                    var(--sb-track-color);
}
}

@media screen and (min-width: 1200px) {

    #logo-img {
        width: 6rem;
    }

    .titre_page {
        font-size: 5em;
    }

    /* CATEGORY */

    .img_category {
        width: 35rem;
    }

    .title_category {
        font-size: 4em;
    }

    .title_category {
        opacity: 0;
    }

    .container_categories .img_category {
        filter: brightness(1);
        transition: filter 0.3s ease-in-out;
    }
    
    .container_categories a:hover .img_category {
        filter: brightness(50%);
    }
    
    .container_categories .img_category:hover + .title_category {
        opacity: 1;
    }
    
    .container_categories .title_category:hover {
        opacity: 1;
    }

    /* Photos Page */

    .img_wdth {
        width: 35rem;
    }

    /* Blog */

    .separation_main {
        width: 50rem;
    }

    .tag_article {
        font-size: 1.5em;
        margin-top: 4%;
    }

    .cover_img {
        width: 45rem;
    }

    .titre_article {
        font-size: 3em;
    }

    /* ARTICLE */

    .separateur_text {
        font-size: 1.5em;
    }

    .date_created {
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        font-size: 1.1em;
    }

    .img_article {
        width: 60rem;
    }
}

@media screen and (min-width: 1200px) {
    
    /* Blog */

    .cover_img {
        width: 50rem;
    }

    .titre_article {
        font-size: 3em;
    }

    .category {
        font-size: 2em;
    }

    .category-article {
        font-size: 1.5em;
    }

    .date_created {
        font-size: 1.3em;
    }
}

@media screen and (min-width: 1400px) {

    .titre_article {
        font-size: 3em;
    }
}

/* === HOME PAGE BEM STYLES (8pt grid, rem units) === */

.header-home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2.5rem 0 2rem; /* 32px 40px 0 32px */
  background: none;
  box-shadow: none;
}
.header-home__logo-img {
  width: 3.5rem; /* 56px */
  height: auto;
  display: block;
}
.header-home__nav ul {
  display: flex;
  gap: 2rem; /* 32px */
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-home__nav-item a {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-black);
  transition: color 0.2s;
}
.header-home__nav-item a:hover {
  color: var(--color-grey);
}

.main-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-top: 2rem; /* 32px */
  min-height: 35rem; /* 560px */
}
.main-home__title {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 4rem; /* 64px */
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-black);
  margin: 2.5rem 0 1rem 0; /* 40px 0 16px 0 */
  text-align: center;
}
.main-home__subtitle {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1.5rem; /* 24px */
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 2rem; /* 32px */
  text-align: center;
  display: flex;
  align-items: center;
  gap: 0.5rem; /* 8px */
}
.main-home__subtitle span {
  font-size: 1.75rem; /* 28px */
  font-weight: 700;
}
.main-home__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 22rem;
  height: auto;
}
.main-home__image {
  width: auto;
  height: auto;
  max-height: 60vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: none;
}

.footer-home {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0 3rem 0; /* 32px 0 48px 0 - Augmentation du padding bottom */
  background: none;
  box-shadow: none;
}
.footer-home__copyright {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1rem; /* 16px */
  color: var(--color-black);
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .header-home {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0.5rem 0 0.5rem; /* 16px 8px 0 8px */
  }
  .header-home__nav ul {
    gap: 1rem; /* 16px */
  }
  .main-home__title {
    font-size: 2rem; /* 32px */
    margin: 1.5rem 0 0.5rem 0; /* 24px 0 8px 0 */
  }
  .main-home__subtitle {
    font-size: 1rem; /* 16px */
    margin-bottom: 1rem; /* 16px */
  }
  .main-home__image-wrapper {
    max-width: 85vw;
  }
  .main-home__image {
    max-height: 50vh;
  }
  .footer-home {
    padding: 0.5rem 0 2rem 0; /* 8px 0 32px 0 - Augmentation du padding bottom */
  }
}

@media (max-width: 700px) {
  .main-home__title {
    font-size: 2rem; /* 32px */
    margin: 1.5rem 0 0.5rem 0; /* 24px 0 8px 0 */
  }
  .main-home__subtitle {
    font-size: 1rem; /* 16px */
    margin-bottom: 1rem; /* 16px */
  }
  .main-home__image-wrapper {
    max-width: 85vw;
  }
  .main-home__image {
    max-height: 50vh;
  }
  .footer-home {
    padding: 0.5rem 0 2rem 0; /* 8px 0 32px 0 - Augmentation du padding bottom */
  }
}

@media (max-width: 480px) {
  .main-home__title {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem 0;
  }
  
  .main-home__subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .main-home__image-wrapper {
    max-width: 90vw;
  }
  
  .main-home__image {
    max-height: 40vh;
  }
  
  .footer-home {
    padding: 0.25rem 0 1.5rem 0;
  }
}

/* Breakpoints supplémentaires pour l'index.html - alignement avec les autres pages */
@media (min-width: 820px) {
  .header-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
  }
  
  .header-home__nav ul {
    display: flex;
    gap: 2rem;
  }
  
  .main-home__title {
    font-size: 4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  
  .main-home__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .main-home__image-wrapper {
    max-width: 22rem;
  }
}

@media (min-width: 1200px) {
  .header-home__logo-img {
    width: 4rem;
  }
  
  .main-home__title {
    font-size: 4rem;
    margin-top: 3rem;
  }
  
  .main-home__image-wrapper {
    max-width: 25rem;
  }
}

@media (min-width: 1400px) {
  .header-home__logo-img {
    width: 5rem;
  }
  
  .main-home__title {
    font-size: 5rem;
    margin-top: 4rem;
  }
  
  .main-home__subtitle {
    font-size: 1.75rem;
  }
  
  .main-home__image-wrapper {
    max-width: 28rem;
  }
}

/* === CATEGORIES PAGE BEM STYLES (8pt grid, rem units) === */

.header-categories {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2em 2.5em 0 2em;
  background: none;
  margin-bottom: 3em;
}
.header-categories__logo-img {
  width: 3.5em;
  height: auto;
  display: block;
}
.header-categories__nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-categories__nav-item a {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-black);
  transition: color 0.2s;
}
.header-categories__nav-item a:hover {
  color: var(--color-grey);
}

.categories-main {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 2rem;
  box-sizing: border-box;
}
.categories-main__intro {
  width: 100%;
  max-width: 50em;
  margin: 0 auto;
  box-sizing: border-box;
  margin-bottom: 2.5em;
  text-align: center;
  padding: 0;
}
.categories-main__title {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 2.5em;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1em;
  margin-top: 0.5em;
  text-align: center;
}
.categories-main__desc {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1em;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-black);
  margin-bottom: 2.5em;
  text-align: left;
  max-width: 50em;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.categories-page .categories-main__desc {
  display: none;
}

.categories-list {
  margin-top: 3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5em;
  width: 100%;
  max-width: 40em;
  margin: 0 auto 3em auto;
  box-sizing: border-box;
}

.category-card {
  position: relative;
  display: block;
  width: 32em;
  max-width: 95vw;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 3/4;
  overflow: hidden;
  box-shadow: none;
  background: #000;
  transition: none;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  margin-bottom: 0;
}

.category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

.category-card__img--hover {
  opacity: 0;
}
.category-card__title {
  position: absolute;
  top: 0.5em;
  left: 0.7em;
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 2.5em;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  letter-spacing: 0.01em;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.category-card__arrow {
  position: absolute;
  right: 1.5em;
  bottom: 1.5em;
  display: flex;
  align-items: center;
  color: #fff;
  opacity: 0.92;
  z-index: 2;
  transition: transform 0.2s, opacity 0.3s ease;
}
.category-card__arrow svg {
  width: 2.5em;
  height: 2.5em;
}
.category-card:hover .category-card__title {
  opacity: 1;
}

.category-card:hover .category-card__arrow {
  opacity: 1;
}

.category-card:hover .category-card__img {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.category-card:hover .category-card__img--hover {
  opacity: 1;
  transition: opacity 0.15s ease;
}

.categories-page .category-card__title {
  opacity: 1;
}

.categories-page .category-card__arrow {
  opacity: 0.92;
}

.categories-page .category-card:hover .category-card__img {
  opacity: 0;
}

.categories-page .category-card:hover .category-card__img--hover {
  opacity: 1;
}

.category-card:hover .category-card__img {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.category-card:hover .category-card__img--hover {
  opacity: 1;
  transition: opacity 0.15s ease;
}

* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-context-menu: none;
  -moz-context-menu: none;
  -ms-context-menu: none;
  context-menu: none;
}

input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.main-categories-page .category-card:hover .category-card__img {
  opacity: 0;
}

.main-categories-page .category-card:hover .category-card__img--hover {
  opacity: 1;
}

/* Footer */
.footer-categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2em 0 3em 0; /* Augmentation du padding bottom */
  background: none;
  margin-top: 4em;
  padding-top: 2em;
  gap: 0.5em;
  box-sizing: border-box;
}
.footer-categories__row {
  width: 100%;
  max-width: 40em;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 auto;
  padding: 0 2em;
}
.footer-categories__logo {
  display: flex;
  align-items: flex-end;
  padding-left: 0;
  margin-left: 0;
}
.footer-categories__logo img {
  width: 4em;
  height: auto;
  display: block;
}
.footer-categories__social-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5em;
  padding-right: 0;
  margin-right: 0;
}
.footer-categories__follow {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 0.25em;
  align-self: flex-end;
}
.footer-categories__icons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1em;
  margin-top: 0.25em;
}
.footer-categories__icons img {
  width: 1.5em;
  height: 1.5em;
  margin-left: 0;
}
.footer-categories__links {
  width: 100%;
  max-width: 40em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2em;
  margin: 0.5em 0 0.25em 0;
}
.footer-categories__links a {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1em;
  color: var(--color-black);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-categories__links a:hover {
  color: var(--color-grey);
}
.footer-categories__copyright {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1em;
  color: var(--color-black);
  text-align: center;
  width: 100%;
  margin: 0.25em 0 0 0;
}
@media (max-width: 700px) {
  .footer-categories__row {
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    padding: 0;
  }
  .footer-categories__logo {
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 0.5em;
  }
  .footer-categories__logo img {
    margin: 0 auto;
  }
  .footer-categories__social-block {
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.5em;
  }
  .footer-categories__follow {
    align-self: center;
  }
}
/* Alignement images cards */
.categories-main {
  align-items: center;
}
.categories-main__intro {
  align-items: center;
  margin-left: 0;
  margin-right: 0;
}
.categories-list {
  display: flex;    
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 40em;
  margin-left: 0;
  margin-right: 0;
}
.category-card {
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 700px) {
  .categories-main__intro {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    align-items: center;
    margin-bottom: 2em;
    padding: 0;
  }
  .categories-list {
    margin-left: 0;
    margin-right: 0;
    max-width: 95vw;
    width: 100%;
    align-items: center;
    gap: 1.5em;
    margin-bottom: 2em;
  }
  .category-card {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 95vw;
  }
  .category-card__title {
    font-size: 1.5em;
    top: 1em;
    left: 1em;
  }
  .category-card__arrow {
    right: 1em;
    bottom: 1em;
  }
  .category-card__arrow svg {
    width: 2em;
    height: 2em;
  }
  .header-categories__logo-img,
  .footer-categories__logo img {
    width: 2.5em;
  }
  .categories-main__title {
    margin-bottom: 1em;
    margin-top: 0.5em;
    text-align: center;
  }
  .categories-main__desc {
    font-size: 1em;
    padding: 0 0.5rem;
    max-width: 100%;
  }
}

/* =====================
   PAGE CATEGORIE BEM
   ===================== */
.header-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2.5rem 0 2rem;
  margin-bottom: 4rem;
}

.header-category__logo-img {
  width: 4rem;
  height: auto;
}

.header-category__nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-category__nav-item a {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-black);
  text-decoration: none;
  transition: color 0.2s;
}

.header-category__nav-item a:hover {
  color: var(--color-grey);
}

.category-main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-main__intro {
  text-align: center;
  margin-bottom: 4rem;
}

.category-main__title {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-black);
}

.category-main__desc {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-black);
}

.category-main__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 3rem;
  align-items: start;
  grid-auto-rows: auto;
  grid-auto-flow: row dense;
  box-sizing: border-box;
}

/* Amélioration de l'espacement et de l'alignement */
.category-main__figure {
  position: relative;
  overflow: hidden;
}

.category-main__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Images portrait - gardent leurs proportions naturelles */
.aspect-portrait {
  grid-column: span 1;
  grid-row: span 2;
  height: auto;
  width: 100%;
}

/* Images carrées - gardent leurs proportions naturelles */
.aspect-square {
  grid-column: span 1;
  grid-row: span 1;
  height: auto;
  width: 100%;
}

/* Adaptation automatique basée sur le ratio d'aspect */
.category-main__figure[data-aspect-ratio="portrait"] {
  grid-column: span 1;
  grid-row: span 2;
  height: auto;
  width: 100%;
}

.category-main__figure[data-aspect-ratio="square"] {
  grid-column: span 1;
  grid-row: span 1;
  height: auto;
  width: 100%;
}

/* Optimisation pour les grands écrans */
@media (min-width: 1400px) {
  .category-main__gallery {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.2rem;
    max-width: 1700px;
    padding: 0 3.5rem;
  }
}

.category-main__figure {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.category-main__figure:nth-child(even) {
  animation-delay: 0.2s;
}

.category-main__figure:nth-child(3n) {
  animation-delay: 0.3s;
}

.category-main__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: pointer;
  transition: none; /* Suppression de la transition */
}

/* Styles spécifiques selon l'orientation */
.img-portrait {
  object-fit: cover;
  aspect-ratio: 3/4;
}

.img-square {
  object-fit: cover;
  aspect-ratio: 1/1;
}

.category-main__img:hover {
  transform: none; /* Suppression de l'effet scale */
  filter: none; /* Suppression de l'effet brightness */
}

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

@media (max-width: 1200px) {
  .category-main__gallery {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
  }
}

@media (max-width: 768px) {
  .category-main__gallery {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0 1.2rem;
  }

  /* Sur mobile, toutes les images gardent leurs proportions naturelles */
  .aspect-portrait,
  .aspect-square,
  .category-main__figure[data-aspect-ratio="portrait"],
  .category-main__figure[data-aspect-ratio="square"] {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .category-main__img {
    max-width: 100%;
  }
}

.footer-category {
  margin-top: 6rem;
  padding: 2rem 2.5rem 3rem 2rem; /* Augmentation du padding bottom */
}

.footer-category__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.footer-category__logo img {
  width: 4rem;
  height: auto;
}

.footer-category__social-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.footer-category__follow {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
}

.footer-category__icons {
  display: flex;
  gap: 1rem;
}

.footer-category__icons img {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-category__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-category__links a {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--color-black);
  text-decoration: none;
}

.footer-category__links a:hover {
  color: var(--color-grey);
}

.footer-category__copyright {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 0.9rem;
  text-align: center;
  color: var(--color-black);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .header-category {
    padding: 1.5rem 1rem 0 1rem;
    margin-bottom: 2rem;
  }
  
  .header-category__logo-img {
    width: 3rem;
  }
  
  .category-main__title {
    font-size: 2rem;
  }
  
  .category-main__desc {
    font-size: 1rem;
  }
  
  .category-main__gallery {
    gap: 3rem;
  }
  
  .footer-category {
    margin-top: 4rem;
    padding: 1.5rem 1rem 2.5rem 1rem; /* Augmentation du padding bottom */
  }
  
  .footer-category__row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .footer-category__social-block {
    align-items: center;
  }
  
  .footer-category__links {
    gap: 1.5rem;
  }
}

/* === CONTACT PAGE BEM STYLES (8pt grid, em units) === */

.contact-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 60vh;
  margin: 0 auto;
  padding-bottom: 4em;
  box-sizing: border-box;
}
.contact-main__section {
  width: 100%;
  max-width: 50em;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 2em;
}
.contact-main__title {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 3em;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.5em;
  margin-top: 1.5em;
  text-align: left;
  width: 100%;
}
.contact-main__desc {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1.125em;
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 3em;
  line-height: 1.5;
  text-align: left;
  width: 100%;
  max-width: 35em;
}

/* Messages de feedback */
.contact-feedback {
  width: 100%;
  padding: 1em 1.5em;
  margin-bottom: 2em;
  border-radius: 0;
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1em;
  font-weight: 500;
  border: 2px solid;
}
.contact-feedback--success {
  background-color: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}
.contact-feedback--error {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}
.contact-form {
  width: 100%;
  max-width: 50em;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 2em;
}
.contact-form__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
}
.contact-form__group {
  flex: 1 1 20em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  min-width: 20em;
}
.contact-form__group--full {
  flex-basis: 100%;
  min-width: 100%;
}
.contact-form__label {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1em;
  font-weight: 400;
  margin-bottom: 0.5em;
  color: var(--color-black);
}
.contact-form__input,
.contact-form__textarea {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1em;
  background: #FFFFFF;
  color: var(--color-black);
  border: 2px solid var(--color-black);
  padding: 1em 1.25em;
  margin-bottom: 0.5em;
  outline: none;
  box-sizing: border-box;
  width: 100%;
  resize: none;
  transition: border-color 0.2s ease;
}
.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--color-grey);
  background-color: #FFFFFF;
}
.contact-form__input--error,
.contact-form__textarea--error {
  background-color: #f8d7da;
  border: 2px solid #dc3545;
}
.contact-form__textarea {
  min-height: 10em;
  max-height: 24em;
  resize: vertical;
}
.contact-form__submit {
  background: var(--color-black);
  color: var(--color-white);
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1em;
  font-weight: 400;
  padding: 1em 2em;
  margin-top: 1.5em;
  align-self: flex-start;
  transition: all 0.3s ease;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5em;
  position: relative;
  overflow: hidden;
}
.contact-form__submit:hover:not(:disabled) {
  background: #333;
  transform: translateY(-2px);
}
.contact-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.contact-form__submit-text {
  transition: transform 0.3s ease;
}
.contact-form__submit-icon {
  transition: transform 0.3s ease;
  font-size: 1.2em;
}
.contact-form__submit:hover:not(:disabled) .contact-form__submit-icon {
  transform: translate(2px, -2px);
}

@media (max-width: 768px) {
  .contact-main__section {
    padding: 0 1em;
    max-width: 100%;
  }
  .contact-main__title {
    font-size: 2.5em;
    margin-top: 1em;
    margin-bottom: 0.5em;
  }
  .contact-main__desc {
    font-size: 1em;
    margin-bottom: 2em;
  }
  .contact-form {
    gap: 1.5em;
    max-width: 100%;
  }
  .contact-form__fields {
    flex-direction: column;
    gap: 1.5em;
  }
  .contact-form__group,
  .contact-form__group--full {
    min-width: 100%;
    width: 100%;
  }
  .contact-form__label {
    font-size: 1em;
  }
  .contact-form__input,
  .contact-form__textarea {
    font-size: 1em;
    padding: 1em 1.25em;
  }
  .contact-form__submit {
    font-size: 1em;
    padding: 1em 2em;
    align-self: stretch;
    justify-content: center;
  }
  .contact-feedback {
    padding: 1em;
    font-size: 0.9em;
  }
}

/* === APROPOS PAGE BEM STYLES (8pt grid, em units) === */

.apropos-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 60vh;
  margin: 0 auto;
  padding-bottom: 4em;
  box-sizing: border-box;
}
.apropos-main__section {
  width: 100%;
  max-width: 40em;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1em;
}
.apropos-main__title {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 2.5em;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1em;
  margin-top: 1.5em;
  text-align: left;
  width: 100%;
}
.apropos-main__content {
  display: flex;
  flex-direction: row;
  gap: 3em;
  width: 100%;
  align-items: flex-start;
  justify-content: center;
}
.apropos-main__img-wrapper {
  flex: 0 0 16em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 16em;
  height: 20em;
  background: none;
}
.apropos-main__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: none;
  /* Pas de border-radius */
}
.apropos-main__text {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.5em;
  min-width: 0;
}
.apropos-main__subtitle {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 2em;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.5em;
  margin-top: 0;
}
.apropos-main__desc {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1.1em;
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.6;
  margin-bottom: 0.5em;
}
.apropos-main__socials {
  display: flex;
  flex-direction: row;
  gap: 1.5em;
  align-items: center;
  margin-top: 1em;
}
.apropos-main__socials img {
  width: 2em;
  height: 2em;
  display: block;
}

.apropos-main__role {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1.2em;
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 1em;
  margin-top: 0;
  font-style: italic;
}

.apropos-main__contact {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1em;
  font-weight: 400;
  color: var(--color-black);
  margin-top: 1em;
  margin-bottom: 0;
}

/* === LEGAL PAGES STYLES === */
.legal-back {
  margin-bottom: 2em;
}

.legal-back__link {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-black);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-back__link:hover {
  color: var(--color-grey);
}

@media (max-width: 900px) {
  .apropos-main__content {
    flex-direction: column;
    gap: 2em;
    align-items: center;
  }
  .apropos-main__img-wrapper {
    width: 12em;
    height: 15em;
  }
  .apropos-main__text {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .apropos-main__section {
    padding: 0 0.5em;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .apropos-main__title {
    font-size: 2em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    text-align: center;
  }
  .apropos-main__content {
    flex-direction: column;
    gap: 1.5em;
    align-items: center;
    text-align: center;
  }
  .apropos-main__img-wrapper {
    width: 10em;
    height: 12em;
  }
  .apropos-main__text {
    text-align: center;
    align-items: center;
  }
  .apropos-main__subtitle {
    font-size: 1.3em;
  }
  .apropos-main__desc {
    font-size: 1em;
    text-align: center;
  }
  .apropos-main__role {
    font-size: 1.1em;
  }
  .apropos-main__contact {
    font-size: 0.9em;
  }
  .apropos-main__socials img {
    width: 1.5em;
    height: 1.5em;
  }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    position: relative;
    z-index: 102;
}

.hamburger__line {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background-color: #000;
    transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 768px) {
    .header-categories__nav {
        display: flex;
        align-items: center;
    }

    .header-categories__nav ul {
        display: flex;
        gap: 1rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .header-categories__nav-item {
        margin: 0;
    }

    .header-categories__nav-item a {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--color-black);
        text-decoration: none;
        transition: opacity 0.2s ease;
    }

    .header-categories__nav-item a:hover {
        opacity: 0.7;
    }
}

/* Styles simplifiés pour la page d'accueil */
.main-home__subtitle {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.main-home__arrow {
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.main-home__subtitle:hover .main-home__arrow {
  transform: translate(3px, -3px);
}

/* === IMAGE VIEWER STYLES === */
.image-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-viewer.active {
  opacity: 1;
  visibility: visible;
}

.image-viewer__container {
  position: relative;
  max-width: 85%;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-viewer__img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.98);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-viewer.active .image-viewer__img {
  opacity: 1;
  transform: scale(1);
}

.image-viewer__close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.image-viewer__close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: rotate(90deg);
}

.image-viewer__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% - 4rem); /* Réduire la largeur pour créer de l'espace */
  max-width: 1600px;
  padding: 0;
  margin: 0 2rem; /* Ajouter des marges sur les côtés */
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.image-viewer__prev,
.image-viewer__next {
  width: 3rem;
  height: 3rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  opacity: 0.7;
  margin: 0 1rem; /* Ajouter une marge supplémentaire */
}

.image-viewer__prev:hover,
.image-viewer__next:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .image-viewer__container {
    max-width: 95%;
  }

  .image-viewer__close {
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .image-viewer__prev,
  .image-viewer__next {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* === BREADCRUMB STYLES === */
.categories-main__breadcrumb {
  margin-bottom: 1.5rem;
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--color-grey);
}

.breadcrumb-link {
  color: var(--color-grey);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--color-black);
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  color: var(--color-grey);
}

.breadcrumb-current {
  color: var(--color-black);
  font-weight: 500;
}

/* === CATEGORY CARD HOVER EFFECTS === */
.category-card {
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card__img {
  transition: transform 0.3s ease;
}

.category-card:hover .category-card__img {
  transform: scale(1.05);
}

.category-card__arrow {
  transition: transform 0.3s ease;
}

.category-card:hover .category-card__arrow {
  transform: translate(5px, -5px);
}

/* === BREADCRUMB STYLES === */
.categories-main__breadcrumb {
  margin-bottom: 1.5rem;
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--color-grey);
}

.breadcrumb-link {
  color: var(--color-grey);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--color-black);
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  color: var(--color-grey);
}

.breadcrumb-current {
  color: var(--color-black);
  font-weight: 500;
}

/* === SUBCATEGORIES PAGE SPECIFIC STYLES === */
.subcategories-page .categories-main__intro {
  text-align: left;
}

.subcategories-page .categories-main__title {
  margin-bottom: 0.5rem;
}

/* === CATEGORY CARD HOVER EFFECTS === */
.category-card {
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card__img {
  transition: transform 0.3s ease;
}

/* === LEGAL PAGES STYLES === */

.legal-main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 200px);
  padding: 2rem 1rem;
  background: var(--color-white);
}

.legal-container {
  max-width: 50rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.legal-title {
  font-family: var(--fnt-league), Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-black);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.legal-date {
  font-family: var(--fnt-league), Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-grey);
  text-align: center;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section__title {
  font-family: var(--fnt-league), Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-grey);
  padding-bottom: 0.5rem;
}

.legal-section__text {
  font-family: var(--fnt-libre), serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-black);
  margin-bottom: 1rem;
  text-align: justify;
}

.legal-list {
  font-family: var(--fnt-libre), serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-black);
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-list li {
  margin-bottom: 0.5rem;
}

.legal-link {
  color: var(--color-black);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: var(--color-grey);
}

.legal-contact {
  background: var(--color-white-variant);
  padding: 1rem;
  border-left: 3px solid var(--color-black);
  margin: 1rem 0;
}

.legal-footer-text {
  font-family: var(--fnt-libre), serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-black);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-grey);
  text-align: justify;
  font-style: italic;
}

/* Responsive design for legal pages */
@media screen and (max-width: 768px) {
  .legal-title {
    font-size: 2rem;
  }

  .legal-section__title {
    font-size: 1.25rem;
  }

  .legal-container {
    padding: 0 0.5rem;
  }

  .legal-main {
    padding: 1rem 0.5rem;
  }
}

.category-card:hover .category-card__img {
  transform: scale(1.05);
}

.category-card__arrow {
  transition: transform 0.3s ease;
}

.category-card:hover .category-card__arrow {
  transform: translate(5px, -5px);
}

.main-home__image {
  transition: opacity 0.4s ease;
  will-change: opacity;
  transform: translateZ(0); /* Force l'accélération GPU */
}

.main-home__image:hover {
  opacity: 0.95;
}

/* Styles simplifiés - curseur personnalisé supprimé */

/* Bouton retour en haut simplifié */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--color-black);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 99;
}

.back-to-top.visible {
  opacity: 0.6;
  visibility: visible;
}

.back-to-top:hover {
  opacity: 0.9;
}

/* Effet hover simplifié sur les icônes sociales */
.footer-categories__icons a img,
.footer-category__icons a img,
.apropos-main__socials a img {
  transition: opacity 0.2s ease;
}

.footer-categories__icons a:hover img,
.footer-category__icons a:hover img,
.apropos-main__socials a:hover img {
  opacity: 0.7;
}
/* Styles dupliqués supprimés - déjà définis plus haut */

/* Styles dupliqués supprimés */

/* Styles pour le lazy loading des images */
/* Suppression des styles problématiques pour le lazy loading */
/* img[data-src] {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

img.loaded {
  opacity: 1;
}

.img-placeholder {
  background-color: #f0f0f0;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: "";
  display: block;
  position: absolute;
  left: -150px;
  top: 0;
  height: 100%;
  width: 150px;
  background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  animation: loading 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes loading {
  from {
    left: -150px;
  }
  to {
    left: 100%;
  }
} */

/* Ajout d'un style plus subtil pour les images */
.category-main__img {
  transition: opacity 0.3s ease;
  opacity: 1;
}
