

* {
  font-family: 'Poppins', sans-serif;
}


img {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

img, a, button {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}



h1 { font-size: 2.5rem; font-weight: 600; }
h2 { font-size: 1.6rem; font-weight: 500; margin-top: 3rem; }
p  { line-height: 1.6; }

:root {
  --couleur-header: #f3dcc7;
  --couleur-secondaire: #252525;
  --couleur-fond: #f7f7f7;
  --couleur-texte: #333;
  --couleur-texte-secondaire: #ffffff;
  --couleur-texte-titre-menu: #000000;
  --couleur-accent: #e07b39;
  --couleur-doree: #978729;

  --taille-header-ordi: 148px;
  --taille-header-mobile: 110px;
  --taille-logo-ordi: 200px;
  --taille-logo-mobile: 150px;
  --taille-margin-logo-ordi: 65px;
  --taille-margin-logo-mobile: 55px;
}



/*=================================================================*/


.banniere-produits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  min-width: 600px;
}

.banniere-images {
  flex: 0 0 50%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-flow: dense; 
  gap: 1.5rem;
  justify-items: center;
  justify-content: center; 
}




.banniere-images img {
  width: 100%;
  max-width: 220px; 
  min-width: 180px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 15px;
}


.banniere-texte {
  flex: 0 0 50%;
  flex-shrink: 0;
}


.banniere-texte h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.banniere-texte p {
  margin: 0.3rem 0;
  font-size: 1rem;
}


body {
  margin: 0;
  padding: 0;
  background: #f7f7f7;
  color: var(--couleur-texte);
  padding-top: 80px; 
  overflow-x: hidden;
}

.card {
  background: #fff;
  overflow: hidden;
  box-shadow: 1px 5px 25px rgb(192, 192, 192);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  flex: 0 1 180px;   
  max-width: 250px;  
  width: 100%;
}

.card img {
  width: 100%;
  display: block;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.5s ease, transform 0.3s ease;
}
.card img.loaded { opacity: 1; }

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

  #city-title {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--accent-color, #444);
    font-family: var(--font-title, 'Poppins', sans-serif);
  }

.collections-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 2rem;
  margin: 0 auto;
  max-width: calc(350px * 3 + 1rem * 2);
  box-sizing: border-box;
}

.collection {
  position: relative;
  flex: 0 1 325px; /*$$*/
  max-width: 350px;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.collection img {
  width: 100%;             /* responsive */
  height: auto;            /* conserve le ratio */
  aspect-ratio: 1.9 / 1;   /* ratio réel de l'image */
  object-fit: cover;       /* garde l'image centrée et recadrée si besoin */
  border-radius: 20px;
  transition: transform 0.4s ease;
  display: block;          /* évite l'espace blanc en inline-block */
}




.collection-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 1rem;   
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%, transparent 100%);
  transition: background 0.3s ease;
}




.collections-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.groupe-fabrication-francaise {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
  margin-bottom: 20px;
}

.collections-header h2 {
  margin: 0;
  font-size: 1.8rem;
}

#couleur-home {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-top: 25px;
  margin-bottom: 25px;
  background: var(--couleur-secondaire);
  color: var(--couleur-texte-secondaire);
  padding: 3rem 1rem;
  box-sizing: border-box;
  overflow-x: hidden;
}

.drapeaufrimg {
  height: 20px;
  width: auto;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

  .drapeaufrimg.animate{
    animation: spin-bounce 0.8s ease forwards;

  }



footer {
  background: #fff;
  border-top: 2px solid var(--couleur-doree);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
  font-family: 'Poppins', sans-serif;
  color: #333;
  padding: 1rem 2rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

.footer-col {
  flex: 1;
  min-width: 160px;
}

.footer-col h3 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
  color: var(--couleur-doree);
  text-align: center;
}

.footer-col p, .footer-col a {
  margin: 0.2rem 0;
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
  text-align: center;
}






  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--taille-header-ordi);
    background: var(--couleur-header);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  header .logo img {
    height: var(--taille-logo-ordi);
    width: auto;
    max-width: 100%;
    z-index: 2001;
    margin-top: var(--taille-margin-logo-ordi);
  }

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 0 auto 0.5rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  max-width: calc(250px * 4 + 20px * 4);
}
  #loaded{
    border-radius: 0px;
  }


  #home, #partners, #contact, #cgv{
    text-align: center;
  }

  #home h1, #partners h2, #contact h2, #cgv h2{
    margin-top: 0;
    margin-bottom: 0.5rem;
  }


  #home h1 {
    font-size: 2rem;

  }

  #home p {
    max-width: 600px;
    margin: 0 auto 2rem;
  }



main {
  margin: 0 auto;
  padding: calc(var(--taille-header-ordi) + 2rem) 2rem 2rem 2rem;
  max-width: 1200px;
  position: relative;
  overflow: visible;
}

  .main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 0 40px;

  }


/* ======================= */

.mobile-menu {
  display: none;
}

#mobile-sidebar {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}


#mobile-sidebar.open {
  max-height: 500px; 
  opacity: 1;
}


#mobile-sidebar li {
  list-style: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  user-select: none;
}


#mobile-sidebar li.menu-title {
  pointer-events: none;
  font-weight: 600;
  color: var(--couleur-texte-titre-menu);
  margin-top: 1rem;
  text-transform: uppercase;
  font-size: 1rem;
}

#mobile-sidebar li.menu-title:hover {
  background: none;
  transform: none;
  color: #555;
}





#mobile-sidebar li.active {
  background: rgba(224, 123, 57, 0.15);
  color: var(--couleur-doree);
  border-left: 4px solid var(--couleur-doree);
  font-weight: 600;
}


#mobile-sidebar li a {
  text-decoration: none;
  color: inherit; 
  display: block;
  width: 100%;
  pointer-events: none;
}


#mobile-sidebar li a:hover {
  background: rgba(224,123,57,0.15);
  color: var(--couleur-doree);
  transform: translateX(5px);
}


#mobile-sidebar li.active, .sidebar li.active {
  background: rgba(224, 123, 57, 0.15);
  color: var(--couleur-doree);
  border-left: 4px solid var(--couleur-doree);
  font-weight: 600;
  transition: all 0.2s ease;
}


#mobile-sidebar::-webkit-scrollbar {
  width: 6px;
}

#mobile-sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 3px;
}

#mobile-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

#menu-toggle {
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--couleur-texte-titre-menu);
  transition: transform 0.3s ease, color 0.3s ease;
}

#menu-toggle.active {
  transform: rotate(90deg);
  color: var(--couleur-doree);
}


  .produits-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    flex-direction: row-reverse;
  }

.produits-texte {
  flex: 0 0 50%;
  min-width: 250px;
}

.produits-texte h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.produits-texte p {
  margin: 0;
  font-size: 1rem;
}

.produits-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.produits-images .produit:last-child:nth-child(odd) {
  margin-left: auto;
  margin-right: auto;
}

.produit {
  flex: 0 1 220px;
  width: 100%;
  max-width: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}



.produit img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 15px;
  display: block;
  
}



  .section {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .section.active {
    display: block;
    opacity: 1;
  }

 

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 0.3rem;
}

.social-icon {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}


@media (min-width: 800px) {
  .collection:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }

  .collection:hover img {
    transform: scale(1.05);
  }






  .mobile-menu {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 1rem;
  }

  #menu-toggle {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
  }


  #mobile-sidebar {
    position: fixed;
    top: var(--taille-header-ordi);
    left: -240px; 
    width: 208px;
    height: calc(100% - var(--taille-header-ordi));
    background: linear-gradient(160deg, #f1e4d9, #eee5e5);
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    padding: 1rem;
    transition: left 0.3s ease;
    z-index: 1500;
    margin: 0;
    overflow-y: auto;
  }
  
  #mobile-sidebar.open {
    left: 0;
  }

  #mobile-sidebar li {
    list-style: none;
    padding: 0.6rem 1rem;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
  }



  #mobile-sidebar li:hover {
    background: rgba(151,135,41,0.1);
    transform: translateX(5px);
    cursor: pointer;
  }



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




  .social-icon:hover {
    transform: scale(1.2);
    opacity: 0.8;
    
  }

  .produit:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

  .toggle-read:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    opacity: 80%;
  }

  .btn-cgv:hover {
    transform: translateY(-3px);
    background: var(--couleur-doree);
    color: #ffffff;
  }
  
  .footer-col a:hover {
    color: var(--couleur-doree);
  }

  #mobile-sidebar li:not(.menu-title):hover {
    background: rgba(224,123,57,0.15);
    color: var(--couleur-doree);
    transform: translateX(5px);
  }
}


/*=================================================================*/

@media (max-width: 799px) {

  .banniere-produits {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .banniere-images {
    order: 2;
    flex: none;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .banniere-texte {
    order: 1;
    flex: none;
    width: 100%;
  }

  .banniere-images img {
    max-width: 100%;
  }

  .card:hover {
    transform: none;
  }


  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

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

  .card { flex-basis: 180px; }
  .gallery { max-width: calc(180px * 3 + 20px * 2); }

  header {
    justify-content: center;
    align-items: center;
    height: var(--taille-header-mobile);
    padding: 0 1rem;
  }

  .logo {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2001;
    margin-top: -63px;
    
  }

  header .logo img {
    height: var(--taille-logo-mobile);
    width: auto;
    max-width: 100%;
    z-index: 2001;
    max-width: none;
    min-height: 40px;
    object-fit: contain;
    margin-top: var(--taille-margin-logo-mobile);
  }


  main {
    margin-top: 100px;
    margin-left: 0;
    padding: 1rem;
  }

  .main-content {
    padding: 0 20px;
  }
  
  #menu-toggle {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2002;
  }

  #menu-toggle.active {
    transform: translateY(-50%) rotate(90deg);
    color: var(--couleur-doree);
  }


  .mobile-menu {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 1rem;
  }


  #mobile-sidebar {
    position: fixed;
    top: var(--taille-header-mobile);
    left: -240px;
    width: 200px;
    background: linear-gradient(160deg, #f1e4d9, #eee5e5);
    height: calc(100% - var(--taille-header-mobile));
    padding-top: 1rem;
    padding-left: 1rem;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
    z-index: 1500;
    transition: left 0.3s ease;
    margin: 0;
    max-height: calc(100% - var(--taille-header-mobile));
    overflow-y: auto;
  }

  #mobile-sidebar.open {
    left: 0;
  }

  #mobile-sidebar li {
    padding: 0.5rem 1rem;
    list-style: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 8px;
  }

  


  #mobile-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }






  #menu-toggle {
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
  }
  


  .social-icon:hover {
    transform: none;
  }

  .btn-cgv {
    font-size: 0.9rem!important;
  }

  #premier-h2-accueil{
    font-size: 1.2rem!important;
  }

  #deuxieme-h2-accueil{
    /* margin-top: 10px!important; */
    font-size: 1.2rem!important;
  }

  .conditions-right ul{
    padding-left: 0px!important;
  }


  .drapeaufrimg{
    height: 17px;
  }
}

@media (max-width: 480px) {
  .card { flex-basis: 140px; }
  .gallery { gap: 12px; max-width: calc(140px * 2 + 12px * 1); }



}


@media (min-width: 800px) {
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }
}


/*=================================================================*/

@keyframes spin-bounce {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  20% {
    transform: translateY(10px) rotate(-15deg);
  }
  50% {
    transform: translateY(-30px) rotate(360deg);
  }
  100% {
    transform: translateY(0px) rotate(360deg);
  }

}


@media (max-width: 1000px) and (min-width: 769px) {
  .banniere-produits {
    gap: 2rem;
  }

  .banniere-images {
    gap: 1rem;
  }
}

@media (max-width: 1149px) {
    .produits-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .produits-texte {
    order: 1;
    width: 100%;
    text-align: center;
  }

  .produits-images {
    order: 2;
    width: 100%;
    justify-content: center;
  }

  .produit {
    flex: 0 1 calc(50% - 0.5rem);
    max-width: 220px;
  }
}

@media (min-width: 723px) and (max-width: 1149px) {
  .produits-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .produit {
    flex: 0 1 220px;
    max-width: 220px;
    margin: 0;
  }

  .produit img {
    height: auto;
  }
}


/* === CGV === */
#cgv {
  border: 2px dotted var(--couleur-doree);
  border-radius: 50px;
}

.conditions-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.conditions-left,
.conditions-right {
  flex: 1 1 45%;
  box-sizing: border-box;
}

.conditions-left h3 {
  margin: 0 0 0.5em 0;
}

.conditions-left ul {
  list-style-type: disc;
  list-style-position: outside;
  margin: 0;
  padding-left: 1.2em;
}

.conditions-left li {
  margin: 0.3em 0;
}

.conditions-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.conditions-right .liste-droite {
  list-style: none;
  margin: 0;
  padding: 0;
}

.conditions-right .liste-droite li {
  font-weight: bold;
  margin: 0.3em 0;
}

.conditions-right ul{
  list-style: none;
}


@media (max-width: 768px) {
  .conditions-container {
    flex-direction: column;
  }

  .conditions-right {
    margin-top: 1rem;
  }
}

.section a {
  color: inherit;
  text-decoration: underline;
}


#cgv a {
  text-decoration: none;
  color: var(--couleur-texte);
}

#cgv h2 {
  margin-top: 20px;
}

#cgv h4 {
  color: var(--couleur-doree);
}

#cgv .conditions-left,
#cgv .conditions-right {
  text-align: left !important;
}

.conditions-left,
.conditions-right {
  max-width: 450px;
  flex: 1 1 auto;
  box-sizing: border-box;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .conditions-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .conditions-left,
  .conditions-right {
    max-width: 400px;
    width: 90%;
    padding: 0 1rem;
  }

  .conditions-right {
    margin-top: 0;
  }

  #arthur{
    padding: 0;
  }

  .conditions-left h3{
    text-align: center;
  }

  .conditions-right li{
    text-align: center;
  }

  #texte-collections-vintage{
    font-size: 1.2rem!important;
  }




}

.read-more { display: none; }
.read-more.open { display: block; }
.toggle-read {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--couleur-texte);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.toggle-read:focus {
  outline: none;
}

#texte-collections-vintage{
  font-size: 1.5rem;
  margin-top: 10px;
}


#titre-accueil{
  margin-bottom: 0px!important;
  line-height: 1;
}


#premier-h2-accueil{
  margin-top: 10px;
  margin-bottom: 0px;
}

#deuxieme-h2-accueil{
  font-size: 1.6rem;
  margin-top: 0px;
  margin-bottom: 0px;
  /* margin-bottom: 20px; */
}

.btn-cgv {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--couleur-texte-secondaire);
  border: 2px solid var(--couleur-doree);
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}



.collection-h1{
  font-size: 1.5rem;
  text-align: center;
  margin: 0 0 1.5rem 0;
  font-weight: 600;
}


@media (min-width: 799px) and (max-width: 1024px) {
  #deuxieme-h2-accueil {
    font-size: 1.4rem; /* ni trop petit ni trop grand */
  }

  .drapeaufrimg {
    height: 18px;
  }

  #texte-collections-vintage {
    font-size: 1.4rem;
  }

  .toggle-read, .btn-cgv {
    font-size: 1.1rem;
    padding: 12px 24px;
  }

  .collections-header h2 {
    font-size: 1.5rem;
  }
}


.toggle-read:focus-visible{
  outline: 3px solid var(--couleur-doree);
  outline-offset: 3px;
}

.btn-cgv:focus-visible {
  outline: 3px solid var(--couleur-texte);
  outline-offset: 3px;
}

