/* ============================================
   RÉINITIALISATION & BASE
   ============================================ */

   html, body{
    height: 100vh;
   }
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; 
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #404040;
  background: #f8f8f8;   
  margin: 0;
  padding: 0;
}

body::selection{
  background-color: #f8d29a;
  color: #ff4d00;
}




/* ============================================
   HEADER / NAVIGATION
   ============================================ */
#site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  z-index: 80000;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  font-family: 'Poppins', sans-serif;
}


header.scrolled {
  background: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.logo-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff7f50;
  text-decoration: none;
  transition: transform 0.3s;
}

.logo-link:hover {
  transform: scale(1.05);
}

/*SCROOL BAR*/
html::-webkit-scrollbar{
  width: .6rem;

}

html::-webkit-scrollbar-thumb{
  background: rgb(255, 47, 0);
  border-radius: 20px; 
}

html::-webkit-scrollbar-track{
  background: #f9783c5a;
  border-radius: 20px;
}




.main-nav .nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #ff7f50;
  left: 0;
  bottom: -4px;
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: #ff7f50;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s, transform 0.3s;
}

.cart-btn:hover {
  background: #ff3c00;
  transform: scale(1.1);
}

#cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #fff;
  color: #ff4400;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}



.nav-link {
  text-decoration: none;
  color: #333;
}
.nav-link.active {
  color: #007bff;
  font-weight: bold;
}


/* Burger menu (mobile) */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
}

.burger-line {
  width: 25px;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
}


.burger.open .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.open .burger-line:nth-child(2) {
  opacity: 0;
}
  
.burger.open .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-list.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  height: 100vh;
  left: 0;
  z-index: 1000;
  width: 150px;
  height: 100vh;
  background: #fff;
  gap: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.8);
  transition: .5s;
  padding-top: 100px;
}



@media screen and (max-width: 768px){
  .main-nav {
    position: fixed;
    top: -100vh;
    left: 0;
    height: 100%;
    width: 200px;
    background: #fff;
    flex-direction: column;
    padding-top: 5rem;
    transition: 5s;
    box-shadow: -2px 0 12px rgba(0,0,0,0.1);
  }

  .logo {
    z-index: 50000;
  }
  .logo .logo-link{
    font-size: .7rem;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 1.5rem;
    display: block;
    height: 100%;
    font-size: .6rem;
    z-index: 100;
  }

  .cart-btn{
    display: flex;
    column-gap: 1rem;
  }
  

  .main-nav.open {
    right: 0;
  }
  .burger {
    display: flex;
  }
  .features-grid {
    flex-direction: column;
  }
}


/*========== Resonsive mobile ==========*/
@media screen and (max-width: 720px){
  .main-nav {
    position: fixed;
    top: -100vh;
    left: 0;
    background: #fff;
    flex-direction: column;
    padding-top: 5rem;
    transition: 5s ease-in;
    box-shadow: -2px 0 12px rgba(0,0,0,0.1);
  }
  #site-header{
    z-index: 99999;
  }

  .logo .logo-link{
    font-size: .8rem;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 1.5rem;
    display: block;
    height: 100%;
    font-size: .8rem;
    z-index: 100;
  }
  .nav-list.open{
    width: 150px;
  }

  .cart-btn{
    display: flex;
    column-gap: 1rem;
  }
  

  .main-nav.open {
    right: 0;
  }
  .burger {
    display: flex;
  }
  .burger-line {
  width: 18px;
  height: 1.5px;
}
  .features-grid {
    flex-direction: column;
  }
}



/*========== Resonsive mobile ==========*/
@media screen and (max-width: 343px){
  .main-nav {
    position: fixed;
    top: -100vh;
    left: 0;
    background: #fff;
    flex-direction: column;
    padding-top: 5rem;
    transition: 5s ease-in;
    box-shadow: -2px 0 12px rgba(0,0,0,0.1);
  }
  #site-header{
    z-index: 99999;
  }

  .logo .logo-link{
    font-size: .7rem;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 1.5rem;
    display: block;
    height: 100%;
    font-size: .6rem;
    z-index: 100;
  }
  .nav-list.open{
    width: 100px;
  }

  .cart-btn{
    display: flex;
    column-gap: 1rem;
  }
  

  .main-nav.open {
    right: 0;
  }
  .burger {
    display: flex;
  }
  .burger-line {
  width: 18px;
  height: 1.5px;
}
  .features-grid {
    flex-direction: column;
  }
}


/* ============================================
   HERO / LANDING
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#ffbe79,#ff5810);
  color: #fff;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.hero-title {
  font-size: 2rem;
  margin-top: 10rem;
  margin-bottom: 1rem;
  animation: fadeInDown 2s ease forwards;
}

.hero-sub {
  font-size: .8rem;
  margin-bottom: 2rem;
  animation: fadeInUp 2s ease forwards;
}

.hero-ctas .btn {
  font-size: .6rem;
  margin: 0 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}


.btn.primary:hover {
   background: linear-gradient(120deg, rgb(255, 166, 0), rgb(255, 111, 0));

}

.btn.ghost {
  font-size: .6rem;
  background: transparent;
  border: 2px solid #fff;
  color: #ffffff;
  border: 1px solid #007bff;
}


.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
}
.btn.primary {
  background-color: #007bff;
  color: #fff;
  margin-top: 50px ;
  margin-bottom: 50px;
  border: blue;
  box-shadow: 0 0 10px rgba(0, 0, 255, 0.5);
}




.btn.ghost:hover {
  background: linear-gradient(120deg, rgb(255, 166, 0), rgb(255, 111, 0));
  color: #ffffff;
  border: red;
  
}

/* Animations */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px);}
  100% { opacity: 1; transform: translateY(0);}
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px);}
  100% { opacity: 1; transform: translateY(0);}
}

/*========== Responsive Mobile ==========*/



@media screen and (max-width: 760px){
  html
  .hero-section{
    padding: 2rem;
    height: 100vh;

  }

  .hero-title {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

  .hero-sub {
    font-size: .7rem;
    animation: fadeInUp 3s ease forwards;
    margin-bottom: -40px;
  }
  .hero-ctas .btn {
    padding-top: 10px;
    max-height: 2rem;
    max-width: 10rem;
    font-size: .6rem;
    margin-bottom: 1rem;
    border-radius: 50px;
    font-weight: 600;
  }
  .btn.primary{
    margin-top: 80px;
  }
  
}
@media screen and (max-width: 343px){
  html
  .hero-section{
    padding: 2rem;
    height: 100vh;

  }

  .hero-title {
    font-size: 1rem;
    margin-top: 5rem;
    margin-bottom: 1rem;
}

  .hero-sub {
    font-size: .5rem;
    animation: fadeInUp 2s ease forwards;
    margin-bottom: -40px;
  }
  .hero-ctas .btn {
    padding-top: 10px;
    max-height: 2rem;
    max-width: 9rem;
    font-size: .5rem;
    margin-bottom: 1rem;
    border-radius: 50px;
    font-weight: 600;
  }
  .btn.primary{
    margin-top: 80px;
  }
  
}





/* ============================================
   CARROUSEL NOUVEAUTÉS
============================================ */
.nouveautes-section {
  padding: 6rem 1rem 4rem;
  background: #f9f9f9;
  text-align: center;
}

.nouveautes-section .section-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.bar-c1{
  position: absolute;
  left: 0;
  height: 1px;
  width: 450px;
  height: 3px;
  background: linear-gradient(90deg, red, rgb(255, 94, 0), rgb(255, 149, 0), rgb(255, 225, 0));
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}
.bar-c2{
  right: 0;
  position: absolute;
  height: 1px;
  width: 450px;
  height: 3px;
  background: linear-gradient(90deg, rgb(255, 255, 0), rgb(255, 149, 0), rgb(255, 94, 0), red);
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}

.nouveautes-section .section-sub {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #666;
}

.carousel-container {
  position: relative;
  overflow: hidden;
}


.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}


.carousel-item {
  min-width: 250px;
  background: #fdf6f3;
  padding: 1rem;
  border-radius: 15px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 200px;
  max-height: 500px;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  transition: transform 0.5s ease;
  max-height: 200px;
}


.carousel-item h3 {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: #111;
}



.carousel-item .btn {
  margin: 0.3rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 10px;
  outline: none;
  border: 2px solid rgb(255, 132, 0);
  box-shadow: 0 0 3px rgba(255, 98, 0, 0.2);
}

.carousel-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.item-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.item-body {
  padding: 1rem;
  text-align: center;
}

.item-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.item-price {
  color: #ff4400;
  font-weight: 600;
  margin-bottom: 1rem;
}

.item-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.btn.small {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 6px;
  transition: all 0.3s;background: #fffefe;
}

#btn-add-to-cart:focus{
  animation: addToCart 1s ;
}

/* MICRO-ANIMATION AJOUT PANIER */
@keyframes addToCart {
  0% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1) rotate(360deg); opacity: 0.5; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.carousel-control:hover {
  background: #ff6f00;
  color: #fff;
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

/*=====   RESPONSIVE   =====*/
@media(max-width: 1200px){
  .carousel-item {
    min-width: 220px;
    max-width: 400px;
  }
}

@media(max-width: 992px){
  .carousel-item {
    min-width: 180px;

  }
}

@media(max-width: 576px){
  .carousel-item {
    min-width: 150px;
  }
}

/*=====   RESPONSIVE   =====*/
@media screen and (max-width: 768px){
  #nouveautes{
    padding-top: 30px;
    height: 30rem;
  }
  .nouveautes-section .section-title {
    margin-top: 5px;
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  .bar-c1{
  height: 2px;
  width: 100px;
  margin-top: 1rem;
}
.bar-c2{
  width: 100px;
  height: 2px;
  margin-top: 1rem;
}
  .nouveautes-section .section-sub {
    font-size: .8rem;
  }

  .carousel-item {
    width: 5rem;
    height: 13rem;
    padding: 5px;
    border-radius: 15px;
  }

  .carousel-item img {
    width: 5rem;
    height: 5rem;
    margin: 0 auto;
  }

  .carousel-item h3 {
    margin: 0.5rem 0;
    font-size: .5rem;
  }

  .carousel-item .btn {
    width: 5rem;
    height: 1.5rem;
    padding-left: 4px;
    padding-right: 2px;
    font-size: 10px;
    border-radius: 5px;
  }
  .item-price {
    font-size: .8rem;
    color: #ff4400;
    font-weight: 600;
    margin-bottom: .5rem;
  }
  .btn.small {
    padding-top: 3.5px;
  }
  .carousel-control {
  font-size: 2rem;
  cursor: pointer;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  z-index: 10;
}

.carousel-track {
  display: inline-flex;
  gap: 2rem;
  transition: transform 0.5s ease-in-out;
  width: 1000rem;
}
  
}






@media screen and (max-width: 343px){
  #nouveautes{
    padding-top: 30px;
    height: 30rem;
  }
  .nouveautes-section .section-title {
    margin-top: 5px;
    margin-bottom: 1rem;
    font-size: .8rem;
  }
  .bar-c1{
  height: 2px;
  width: 80px;
  margin-top: .5rem;
}
.bar-c2{
  width: 80px;
  height: 2px;
  margin-top: .5rem;
}
  .nouveautes-section .section-sub {
    font-size: .5rem;
  }

  .carousel-item {
    width: 5rem;
    height: 13rem;
    padding: 5px;
    border-radius: 15px;
  }

  .carousel-item img {
    width: 5rem;
    height: 5rem;
    margin: 0 auto;
  }

  .carousel-item h3 {
    margin: 0.5rem 0;
    font-size: .5rem;
  }

  .carousel-item .btn {
    width: 5rem;
    height: 1.5rem;
    padding-left: 4px;
    padding-right: 2px;
    font-size: 10px;
    border-radius: 5px;
  }
  .item-price {
    font-size: .8rem;
    color: #ff4400;
    font-weight: 600;
    margin-bottom: .5rem;
  }
  .btn.small {
    padding-top: 3.5px;
  }
  .carousel-control {
  font-size: 2rem;
  cursor: pointer;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  z-index: 10;
}

.carousel-track {
  display: inline-flex;
  gap: 2rem;
  transition: transform 0.5s ease-in-out;
  width: 1000rem;
}
  
}








/* ============================================
   MODAL PANIER 
   ============================================ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200000;
  opacity: 1;
  transition: opacity 0.5s ease;
  overflow: scroll;
}


.modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
#cart-modal[aria-hidden="false"] {
  display: block;
}
.modal.show {
  display: flex;
  opacity: 1;
}


.modal-panel {

  background: #ffffff;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  padding: 2rem;
  position: relative;
  transform: translateY(-20px);
  animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
  to { transform: translateY(0); }
}


.btn.ghost2{
  background: transparent;
  border: 2px solid #fff;
  color: blue;
  border: 1px solid #007bff;
}

.btn.ghost2:hover {
  background: linear-gradient(120deg, rgb(255, 166, 0), rgb(255, 111, 0));
  color: #ffffff;
  border: red;
  
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: red;
}


.cart-items {
  list-style: none;
  margin: 1rem 0;
  max-height: 300px;
  overflow-y: auto;
}

.cart-items li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.remove-item {
  background: rgb(255, 255, 255);
  border: none;
  color: rgb(255, 0, 0);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
}


/*========== Responsive ==========*/
@media screen and (max-width: 768px){
  .modal {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%; 
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200000;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.modal-panel {
  border-radius: 10px;
  width: 100%;
  height: 100vh;
  max-width: 400px;
  padding: 2rem;
  position: relative;
  transform: translateY(-20px);
  animation: slideIn 0.5s forwards;
}
.cart-items {
  margin: 1rem 0;
  max-height: 300px;
  margin-bottom: .5rem;
}

.cart-items li {
  margin-bottom: .5px;
  font-size: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #807c7a;
}



}


@media screen and (max-width: 343px){
  .modal {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%; 
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200000;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.modal-panel {
  border-radius: 10px;
  width: 100%;
  height: 100vh;
  max-width: 400px;
  padding: 2rem;
  position: relative;
  transform: translateY(-20px);
  animation: slideIn 0.5s forwards;
}
.cart-items {
  margin: 1rem 0;
  max-height: 300px;
  margin-bottom: .5rem;
}

.cart-items li {
  margin-bottom: .5px;
  font-size: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #807c7a;
}



}




/* ============================================
   ANIMATIONS BOUTONS & IMAGES
   ============================================ */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

img:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}



/* ============================================
   SECTION
   ============================================ */
.section {
  padding: 6rem 1rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #202020e5;
  font-weight: 600;
}

.section-sub {
  text-align: center;
  margin-bottom: 3rem;
  color: #666666;
}

/* ============================================
   À PROPOS
   ============================================ */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.bar-c3{
  position: absolute;
  left: 0;
  height: 1px;
  width: 400px;
  height: 3px;
  background: linear-gradient(90deg, red, rgb(255, 94, 0), rgb(255, 149, 0), rgb(255, 225, 0));
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}
.bar-c4{
  right: 0;
  position: absolute;
  height: 1px;
  width: 400px;
  height: 3px;
  background: linear-gradient(90deg, rgb(255, 255, 0), rgb(255, 149, 0), rgb(255, 94, 0), red);
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}

.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  color: #535252;
  flex: 1 1 250px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;

}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 1200px) {
  .feature-card {
    width: 20rem;
  }
}
@media (max-width: 1127px) {
  .feature-card {
    width: 20rem;
  }
}

/*=========== Responsive ==========*/
@media screen and (max-width: 768px){
  
  .section-title {
  font-size: 1.5rem;margin-top: 4rem;
  margin-bottom: 2.5rem;
  
}
.features-grid {
  display: grid;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: -2rem;
}

  .bar-c3{
  height: 2px;
  width: 80px;
  margin-top: 1rem; 
}
.bar-c4{
  width: 80px;
  height: 2px;
  margin-top: 1rem;
}
.feature-card {
  padding: 1.8rem;
  font-size: .9rem;
  border-radius: 15px;
  flex: 1 1 250px;
  height: 15rem;
  max-width: 20rem;
  height: auto;
}
#apropos{
  margin-top: -80px;
}
#apropos-section{
  margin-top: -90px;
}
}

@media screen and (max-width: 343px){
  
  .section-title {
  font-size: .8rem;
  margin-bottom: 1rem;
  
}
.features-grid {
  display: grid;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: -2rem;
}

  .bar-c3{
  height: 2px;
  width: 40px;
  margin-top: .5rem;
}
.bar-c4{
  width: 40px;
  height: 2px;
  margin-top: .5rem;
}
.feature-card {
  padding: .5rem;
  font-size: .7rem;
  border-radius: 10px;
  flex: 1 1 250px;
  max-height: 20rem;
  max-width: 16rem;
}
#apropos{
  margin-top: -80px;
}
#apropos-section{
  margin-top: -90px;
}
}


/* ============================================
   FORMULAIRE CONTACT
============================================ */
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.contact-form .form-grid {
  
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.contact-form .form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start
}

.contact-section {
  background-color: #f9f9f9;
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: #ff6200;
  box-shadow: 0 0 0 3px rgba(255, 105, 11, 0.2);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}


.contact-form .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Bouton primaire */
.contact-form .btn.primary {
  background: linear-gradient(120deg, rgb(255, 162, 0), rgb(255, 85, 0));
  color: #fff;
  border: 2px solid #ff6f00;
  max-height: 45px;
}

.contact-form .btn.ghost, .contact-form .btn.primary {
  margin-top: 20px;
  max-height: 45px;

}

.bar-c5{
  position: absolute;
  left: 0;
  height: 1px;
  width: 450px;
  height: 3px;
  background: linear-gradient(90deg, red, rgb(255, 94, 0), rgb(255, 149, 0), rgb(255, 225, 0));
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}
.bar-c6{
  right: 0;
  position: absolute;
  height: 1px;
  width: 450px;
  height: 3px;
  background: linear-gradient(90deg, rgb(255, 255, 0), rgb(255, 149, 0), rgb(255, 94, 0), red);
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}
/* Bouton secondaire / ghost */ 
.contact-form .btn.ghost {
  background-color: transparent;
  color: #ff5e00;
  border: 2px solid #ff6f00;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 81, 0, 0.3);
  float: right;
  padding-top: 8px;
}

.contact-form .btn.ghost:hover{
  color: #ffffff;
  transition: .3s;
}


@media (max-width: 768px) {
  .contact-form .form-grid {
    flex-direction: column;
  }
  
  .contact-form .form-actions {
    flex-direction: column;
  }
}

/*========== Responsive mobile ===========*/
@media screen and (max-width: 768px){
  .contact-form{
    display: grid;
  }
  .section-sub{
    font-size: .8rem;
  }
  .contact-form {
  padding: 1rem;
  border-radius: 10px;
  width: 14rem;
  width: 300px;
  max-height: 500px;
  margin-bottom: -6rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"]{
  width: 100%;
  font-size: .8rem;
  max-height: 5px;
}
.contact-form textarea{
  font-size: .8rem;
  width: 100%;
  height: 8rem;
}

.contact-form .btn.primary {
  max-height: 30px;
  padding-top: 7px;
  margin-bottom: 1px;
  font-size: .8rem;
  font-weight: bold;
}
.contact-form .btn.ghost {
  font-size: .9rem;
  max-height: 2rem;
}
#cvw{
  padding-top: 6px;
  font-size: .7rem;
}
  .bar-c5{
  height: 2px;
  width: 80px;
  margin-top: 1rem;
}
.bar-c6{
  width: 80px;
  height: 2px;
  margin-top: 1rem;
}
}
@media screen and (max-width: 343px){
  .contact-form{
    display: grid;
  }
  .section-sub{
    font-size: .5rem;
  }
  .contact-form {
  padding: 1rem;
  border-radius: 10px;
  width: 14rem;
  max-width: 600px;
  max-height: 500px;
  margin-bottom: -6rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"]{
  width: 100%;
  font-size: .8rem;
  max-height: 5px;
}
.contact-form textarea{
  font-size: .8rem;
  width: 100%;
  height: 8rem;
}

.contact-form .btn.primary {
  max-height: 30px;
  padding-top: 7px;
  margin-bottom: 1px;
  font-size: .8rem;
  font-weight: bold;
}
.contact-form .btn.ghost {
  font-size: .9rem;
  max-height: 2rem;
}
#cvw{
  padding-top: 6px;
  font-size: .7rem;
}
  .bar-c5{
  height: 2px;
  width: 40px;
  margin-top: .5rem;
}
.bar-c6{
  width: 40px;
  height: 2px;
  margin-top: .5rem;
}
}


/* ============================================
   PRODUCTS GRID (aperçu)
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #fffefe;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.bar-c7{
  position: absolute;
  left: 0;
  height: 1px;
  width: 450px;
  height: 3px;
  background: linear-gradient(90deg, red, rgb(255, 94, 0), rgb(255, 149, 0), rgb(255, 225, 0));
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}
.bar-c8{
  right: 0;
  position: absolute;
  height: 1px;
  width: 450px;
  height: 3px;
  background: linear-gradient(90deg, rgb(255, 255, 0), rgb(255, 149, 0), rgb(255, 94, 0), red);
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}
/* Bouton secondaire / ghost */ 
.contact-form .btn.ghost {
  background-color: transparent;
  color: #ff5e00;
  border: 2px solid #ff6f00;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 81, 0, 0.3);
  float: right;
  padding-top: 8px;
}
.product-card:hover {
  transform: translateY(-10px);
}

.product-card img {
  width: 100%;
  height: auto;
  max-width: 200px;
  max-height: 150px;
}
.product-card h3{
  font-size: 13px;
  font-weight: 600;
}
.product-card .price {
  color: #ff6600;
  font-weight: 600;
  margin: 0.5rem 0;
}

.btn-small-add-to-cart{
  background-color: #000000;
}

.btn-small-ghost-pd:visited{
  color: blue;
}

.btn-small-ghost-pd{
  list-style: none;
  text-decoration: none;
  border: 1px solid blue;
  border-radius: 5px;
  padding: 5px;
  font-weight: lighter;
}


#btn-add-to-cart{
  float: right;
  bottom: 0;
  border-bottom-right-radius: 15px;
  border: none;
  background: linear-gradient(120deg, rgb(255, 182, 92), rgb(255, 94, 0));
  color: #ffffff;
}

#btn-add-to-cart img{
  height: 1rem
}



.btn-small-ghost-pd:hover{
  background: linear-gradient(120deg, rgb(255, 166, 0), rgb(255, 111, 0));
  color: #ffffff;
  border: red;
  padding: 8px;
  transition: .3s;
}
.btn-all{
  text-decoration: none;
  color: blue;
  border: 2px solid rgb(68, 68, 255);
  padding: 5px;
  border-radius: 10px;
  position: absolute;
  top: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 80px;
  box-shadow: 0 0 5px rgba(27, 27, 255, 0.8);
}

.btn-all:hover{
  background: linear-gradient(120deg, rgb(255, 166, 0), rgb(255, 111, 0));
  color: #fff;
  border: none;
  box-shadow: none;
  padding: 10px ;
  transition: .3s ;
  text-transform: uppercase;
}

#btn-add-to-cart:focus{
  animation: addToCart 1s ;
}

/* MICRO-ANIMATION AJOUT PANIER */
@keyframes addToCart {
  0% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1) rotate(360deg); opacity: 0.5; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@media screen and (max-width: 768px) {
.products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .product-card {
    padding: 0.8rem;
    border-radius: 15px;
  }

  .btn.small {
    padding: 0.35rem 0.7rem;
  }


    .bar-c7{
  height: 2px;
  width: 100px;
  margin-top: 1rem;
}
.bar-c8{
  width: 100px;
  height: 2px;
  margin-top: 1rem;
}

.product-card h3{
  font-size: 10px;
}
.product-card .price {
  font-weight: 600;
  font-size: 10px;
  margin: 0.5rem 0;
}
.btn-small-ghost-pd{
  font-size: .5rem;
  float: left;
  border-radius: 4px;
  max-height: 18px;
  padding-top: 3px;
  top: 100%;
  bottom: 0px;
}
#btn-add-to-cart{
  float: right;
  border-bottom-right-radius: 15px;
  border: none;
  background: linear-gradient(120deg, rgb(255, 182, 92), rgb(255, 94, 0));
  color: #ffffff;
}

#btn-add-to-cart img{
  height: 1rem
}
.btn-all{
  margin-top: 50px;
  font-size: .6rem;
  border: 1px;
}
}



/* ============================================
   FOOTER 
============================================ */
.site-footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.socials a {
  margin: 0 0.5rem;
}
.site-footer {
  background-color: #111;
  color: #eee;
  font-family: 'Poppins', sans-serif;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 100px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid #333;
  padding-bottom: 2rem;
}

.footer-brand {
  flex: 1 1 200px;
}

.footer-brand strong {
  font-size: 1.8rem;
  color: #ff9800;
}

.footer-brand p {
  margin-top: 0.5rem;
  color: #aaa;
}

.footer-partners, .footer-newsletter {
  flex: 1 1 250px;
}

.footer-partners h4,
.footer-newsletter h4 {
  font-size: 1.2rem;
  color: #ff9800;
  margin-bottom: 1rem;
}

.partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.partner {
  background-color: #222;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.partner:hover {
  background-color: #ff9800;
  color: #111;
  transform: translateY(-3px);
}

.footer-newsletter form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-newsletter input[type="email"] {
  flex: 1;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  outline: none;
}

.footer-newsletter button {
  padding: 0.5rem 1rem;
  background-color: #ff9800;
  color: #111;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-newsletter button:hover {
  background-color: #e68a00;
}

/* FOOTER BOTTOM */
.footer-bottom {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.socials {
  display: flex;
  gap: 1rem;
}

.socials a {
  color: #eee;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.socials a:hover {
  color: #ff9800;
  transform: translateY(-2px);
}

.site-footer .copyright {
  font-size: 0.9rem;
  color: #aaa;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-newsletter form { 
    flex-direction: column;
  }

  .footer-newsletter input[type="email"],
  .footer-newsletter button {
    width: 100%;
  }

  .footer-bottom {
    gap: 0.5rem;
  }
}


/*========== Responsive Mobile ==========*/
@media screen and (max-width: 768px){
  .site-footer {
  padding:  1.5rem 1.5rem;
  margin-top: 100px;
  display: grid;
}

  .footer-brand strong {
  font-size: 1.2rem;
  color: #ff9800;
  margin-top: 500px;
}

.footer-brand p {
  color: #aaa;
  font-size: 12px;
}
.footer-partners, .footer-newsletter {
  flex: 1 1 250px;
}
.partners-list span{
  font-size: .6rem;
  padding-left: 8px;
  padding-top: 5px;
  padding-right: 8px;
  max-width:45px;
  max-height: 25px;
}
.partners-list {
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-partners h4{
  margin-top: 100px;
}
.footer-newsletter h4{
  margin-top: 1px;
}
.footer-bottom {
  margin-bottom: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.socials {
  display: flex;
  gap: .1rem;
}

.socials a {
  color: #eee;
  font-size: .6rem;
  transition: all 0.3s ease;
}

.site-footer .copyright {
  font-size: 0.5rem;
  color: #aaa;
}


}


@media screen and (max-width: 343px){
  .site-footer {

  padding:  1.5rem 1.5rem;
  margin-top: 100px;
  display: grid;
}
  .footer-brand strong {
  font-size: 1.2rem;
  color: #ff9800;
  margin-top: 500px;
}

.footer-brand p {
  color: #aaa;
  font-size: 12px;
}
.footer-partners, .footer-newsletter {
  flex: 1 1 250px;
}
.partners-list span{
  font-size: .6rem;
  padding-left: 8px;
  padding-top: 5px;
  padding-right: 8px;
  max-width:45px;
  max-height: 25px;
}
.partners-list {
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-partners h4{
  margin-top: 100px;
}
.footer-newsletter h4{
  margin-top: 1px;
}
.footer-bottom {
  margin-bottom: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.socials {
  display: flex;
  gap: .1rem;
}

.socials a {
  color: #eee;
  font-size: .6rem;
  transition: all 0.3s ease;
}

.site-footer .copyright {
  font-size: 0.5rem;
  color: #aaa;
}


}



