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

body {
  line-height: 1.6;
  color: #333;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
}
.haut-page {
  /* 100vh permet de couvrir toute la hauteur de l'écran, plus utiles que px en tout cas*/
  min-height: clamp(400px, 100vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: min(80px, 10vw) min(20px, 5vw);
  background-image: url("../images/carrousel-2.jpg");
  background-size: cover;
  background-position: center;
}

.contenu-haut {
  text-align: center;
  max-width: 700px;
  padding: 0 min(20px, 5vw);
  z-index: 2;
}

.logo-container {
  position: relative;
  /* avec clamp la taille s'ajuste entre 100px et 140px */
  width: clamp(100px, 20vw, 140px);
  height: clamp(100px, 20vw, 140px);
  margin: 0 auto clamp(15px, 3vw, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cercle-orange {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #e85d3b;
  border-radius: 50%;
}

.logo {
  width: clamp(70px, 15vw, 100px);
  height: clamp(70px, 15vw, 100px);
  z-index: 2;
}

.haut-page h1 {
  font-size: clamp(32px, calc(8vw + 1rem), 64px);
  color: #1a1a1a;
  margin-bottom: clamp(15px, 3vw, 20px);
  font-weight: 400;
  letter-spacing: -1px;
  font-family: "Brush Script MT", cursive;
}

.sous-titre {
  font-size: clamp(12px, 2vw, 14px);
  color: #666;
  line-height: 2;
  margin-bottom: clamp(20px, 4vw, 30px);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.barre-nav {
  background-color: #e85d3b;
  padding: 0;
  position: relative;
}

.conteneur-nav {
  max-width: 1200px;
  height: clamp(70px, 12vw, 90px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 15px min(20px, 5vw);
  position: relative;
}

.logo-nav-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(70px, 12vw, 90px);
  height: clamp(70px, 12vw, 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.cercle-orange-nav {
  position: absolute;
  width: clamp(90px, 15vw, 120px);
  height: clamp(90px, 15vw, 120px);
  box-shadow: 0 4px 15px rgb(26, 26, 26);
  background-color: #e85d3b;
  border-radius: 50%;
}

.logo-nav {
  width: clamp(50px, 10vw, 70px);
  height: clamp(50px, 10vw, 70px);
  z-index: 2;
}

.icones-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 12px);
}

.icones-nav img {
  width: clamp(18px, 3vw, 22px);
  height: clamp(18px, 3vw, 22px);
}

/* ========== BOUTONS ========== */
.btn-principal {
  background-color: white;
  color: #e85d3b;
  border: 2px solid #e85d3b;
  padding: clamp(10px, 2vw, 13px) clamp(25px, 5vw, 42px);
  font-size: clamp(12px, 2vw, 14px);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-principal:hover {
  background-color: #d84315;
  color: white;
}

.btn-secondaire {
  background-color: transparent;
  color: #e85d3b;
  border: 2px solid #e85d3b;
  padding: clamp(9px, 2vw, 11px) clamp(20px, 4vw, 36px);
  font-size: clamp(12px, 2vw, 14px);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondaire:hover {
  background-color: #e85d3b;
  color: white;
}

.btn-blanc {
  background-color: white;
  color: #333;
  border: none;
  padding: clamp(10px, 2vw, 13px) clamp(25px, 5vw, 42px);
  font-size: clamp(12px, 2vw, 14px);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-blanc:hover {
  background-color: #e85d3b;
  color: white;
}

.btn-inscription {
  background-color: #e85d3b;
  color: white;
  border: none;
  padding: clamp(12px, 2vw, 16px) clamp(25px, 5vw, 42px);
  font-size: clamp(12px, 2vw, 14px);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-inscription:hover {
  background-color: #d84315;
}

.etiquette,
.etiquette1,
.etiquette2 {
  display: inline-block;
  color: #e85d3b;
  font-size: clamp(10px, 1.5vw, 12px);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Sur mobile, l'étiquette est centré */
.etiquette2 {
  margin-left: 0;
}

strong {
  font-weight: bold;
}
.notre-histoire {
  padding: clamp(40px, 8vw, 90px) min(20px, 5vw);
  background-color: white;
}

.conteneur-histoire {
  max-width: 1850px;
  margin: 0 auto;
  display: grid;
  /* Grid passe de 1 colonne à 2 colonnes en auto */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(30px, 8vw, 90px);
  align-items: center;
}

.image-histoire-fond {
  width: 100%;
  /* aspect-ratio maintient le format de l'image */
  aspect-ratio: 1 / 1;
  max-height: 600px;
  background-image: url("../images/banniere-ble.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.contenu-histoire h2 {
  font-size: clamp(28px, calc(6vw + 1rem), 48px);
  color: #1a1a1a;
  margin-bottom: 20px;
}

.contenu-histoire p {
  font-size: clamp(13px, 2vw, 14px);
  color: #666;
  line-height: 2;
  margin-bottom: 30px;
}
.caracteristiques {
  background-color: #e85d3b;
  padding: clamp(25px, 5vw, 38px) min(20px, 5vw);
}

.conteneur-caract {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  /* Grid adaptatif sa passe de 1 à 3 colonnes selon l'écran */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(20px, 5vw, 60px);
}

.item-caract {
  display: flex;
  align-items: center;
  gap: 20px;
  color: white;
}

.item-caract img {
  width: clamp(40px, 8vw, 50px);
  height: clamp(40px, 8vw, 50px);
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.item-caract h3 {
  font-size: clamp(14px, 2vw, 16px);
  margin-bottom: 4px;
  font-weight: 600;
}

.item-caract p {
  font-size: clamp(11px, 1.5vw, 13px);
}
.conteneur-tendances-panera {
  display: grid;
  /* Sur mobile 1 colonne, sur desktop 2 colonnes */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 4vw, 40px);
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 60px) min(20px, 5vw);
}

.tendances {
  padding: 0;
  width: 100%;
}

.tendances .conteneur-tendances {
  max-width: 100%;
  margin: 0;
}

.en-tete-tendances {
  margin-bottom: clamp(25px, 5vw, 40px);
}

.en-tete-tendances h2 {
  font-size: clamp(28px, calc(6vw + 1rem), 48px);
  color: #1a1a1a;
}

.grille-tendances {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 30px);
}

.ligne-tendances {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.carte-produit {
  text-align: center;
  transition: transform 0.3s;
}

.carte-produit:hover {
  transform: translateY(-5px);
}

.carte-produit img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.categorie {
  display: block;
  font-size: clamp(11px, 1.5vw, 12px);
  color: black;
  margin-bottom: 8px;
  font-weight: 800;
}

.carte-produit h3 {
  font-size: clamp(14px, 2vw, 16px);
  color: #e85d3b;
  font-weight: 700;
}

.promo-panera {
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.conteneur-panera-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.image-panera-full {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}
.section-citation {
  position: relative;
  width: 100%;
}

.conteneur-citation {
  background-image: url("../images/bg-temoignages.jpg");
  background-size: cover;
  background-position: center;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  min-height: clamp(300px, 60vh, 450px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(40px, 8vw, 60px) min(20px, 5vw);
}

.texte-citation {
  font-size: clamp(14px, 2.5vw, 18px);
  color: white;
  line-height: 2;
  margin-bottom: clamp(20px, 4vw, 32px);
  font-style: italic;
  max-width: 800px;
}

.auteur-citation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.auteur-citation img {
  width: clamp(50px, 10vw, 60px);
  height: clamp(50px, 10vw, 60px);
  border-radius: 50%;
  border: 3px solid white;
}

.auteur-citation p {
  color: white;
  font-size: clamp(14px, 2vw, 16px);
}
.produits-vedette {
  padding: clamp(40px, 8vw, 90px) min(20px, 5vw);
}

.conteneur-vedette {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  /* Sur mobile 1 colonne, sur pc image à gauche et les produits à droite */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(30px, 6vw, 60px);
}

.promo-vedette {
  background-color: white;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.image-pain-full {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.en-tete-vedette {
  margin-bottom: clamp(20px, 4vw, 32px);
}

.en-tete-vedette h2 {
  font-size: clamp(28px, calc(6vw + 1rem), 48px);
  color: #1a1a1a;
}

.grille-vedette {
  display: grid;
  /* Force exactement 2 colonnes */
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 4vw, 30px);
}

.carte-vedette {
  text-align: center;
  transition: transform 0.3s;
}

.carte-vedette:hover {
  transform: translateY(-5px);
}

.carte-vedette img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.carte-vedette h3 {
  font-size: clamp(14px, 2vw, 16px);
  color: #333;
  margin-bottom: 8px;
}

.prix-vedette {
  font-size: clamp(13px, 2vw, 14px);
  color: #e85d3b;
  font-weight: 700;
}
.blog {
  padding: clamp(40px, 8vw, 90px) min(20px, 5vw);
}

.conteneur-blog {
  max-width: 1150px;
  margin: 0 auto;
}

.en-tete-blog {
  margin-bottom: clamp(25px, 5vw, 40px);
  text-align: center;
}

.en-tete-blog h2 {
  font-size: clamp(28px, calc(6vw + 1rem), 48px);
  color: #1a1a1a;
  margin-left: 0;
}

.grille-blog {
  display: grid;
  /* Grid adaptatif, 1 colonne mobile, 2-3 colonnes pour pc */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 4vw, 30px);
}

.carte-blog {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.carte-blog:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carte-blog img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.contenu-blog {
  padding: clamp(15px, 3vw, 25px);
}

.meta-blog {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(10px, 1.5vw, 11px);
  color: #999;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.date-orange {
  color: #e85d3b !important;
  font-weight: 600;
  font-size: clamp(11px, 2vw, 13px);
}

.auteur-blog {
  color: #666;
  font-size: clamp(10px, 1.5vw, 12px);
}

.titre-blog-gras {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #333;
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 700 !important;
  font-family: "Open Sans", sans-serif;
}

.description-blog {
  font-size: clamp(12px, 2vw, 14px);
  color: #666;
  line-height: 1.8;
}
/* Barre du footer */
.bardufooter {
  background: #d64515;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(15px, 3vw, 20px) min(20px, 5vw);
}

.bardufooter a {
  text-decoration: none;
  color: #fff;
  margin-right: clamp(10px, 2vw, 20px);
  font-size: clamp(11px, 2vw, 14px);
}

.left {
  padding-left: 0;
  display: flex;
  gap: clamp(8px, 2vw, 15px);
  flex-wrap: wrap;
  justify-content: center;
}

/* Fond newsletter et footer */
.fondnewsetfooter {
  background-image: url("../images/bg-footer.jpg");
  background-size: cover;
  background-position: center;
  padding: clamp(60px, 10vw, 90px) min(20px, 5vw) clamp(20px, 5vw, 40px);
  position: relative;
  overflow: hidden;
}

.newsletter-section {
  padding: clamp(40px, 8vw, 60px) min(20px, 5vw) 20px;
  text-align: center;
  position: relative;
  overflow: visible;
}

.newsletter-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter-content h2 {
  font-size: clamp(20px, calc(4vw + 1rem), 32px);
  margin-bottom: 15px;
  color: #333;
}

.newsletter-content p {
  font-size: clamp(12px, 2vw, 14px);
  color: #666;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 600px;
  border: 1px solid rgb(214, 213, 213);
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  z-index: 10;
  transform: translateY(clamp(60px, 12vw, 90px));
}

.email-input {
  flex: 1;
  padding: clamp(12px, 3vw, 18px) clamp(15px, 4vw, 30px);
  border: none;
  background-color: #ffffff;
  font-size: clamp(12px, 2vw, 14px);
  color: #333;
  outline: none;
  border-radius: 50px 0 0 50px;
  min-width: 0;
}

.email-input::placeholder {
  color: #999;
}

.subscribe-btn {
  padding: clamp(12px, 3vw, 18px) clamp(20px, 5vw, 50px);
  background-color: #d94b30;
  color: white;
  border: none;
  cursor: pointer;
  font-size: clamp(13px, 2vw, 16px);
  font-weight: bold;
  transition: background-color 0.3s;
  border-radius: 0 50px 50px 0;
  white-space: nowrap;
}

.subscribe-btn:hover {
  background-color: #c43d24;
}

/* Footer */
.footer {
  padding: clamp(80px, 15vw, 140px) min(20px, 5vw) clamp(20px, 5vw, 40px);
  position: relative;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(20px, 5vw, 40px);
}

.footer-column h3 {
  font-size: clamp(16px, 2.5vw, 18px);
  margin-bottom: 20px;
  color: #333;
}

.about-text {
  font-size: clamp(12px, 2vw, 14px);
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

.contact-info {
  list-style: none;
}

.contact-info li {
  font-size: clamp(11px, 2vw, 13px);
  color: #666;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-icon {
  width: 18px;
  height: 18px;
  color: #d94b30;
  flex-shrink: 0;
  margin-top: 2px;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.product-img {
  width: clamp(60px, 10vw, 80px);
  height: clamp(60px, 10vw, 80px);
  background-color: #e8e8e8;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h4 {
  font-size: clamp(12px, 2vw, 14px);
  color: #333;
  margin-bottom: 5px;
}

.product-price {
  color: #d94b30;
  font-weight: bold;
  font-size: clamp(12px, 2vw, 14px);
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: #666;
  font-size: clamp(12px, 2vw, 14px);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #d94b30;
}

.footer-bottom {
  text-align: center;
  padding: clamp(20px, 4vw, 30px) min(20px, 5vw);
  border-top: 1px solid #e0e0e0;
  margin-top: clamp(20px, 5vw, 40px);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: clamp(11px, 1.5vw, 12px);
  color: #999;
}

.footer-bottom a {
  color: #d94b30;
  text-decoration: none;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icon {
  width: clamp(30px, 5vw, 35px);
  height: clamp(30px, 5vw, 35px);
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  text-decoration: none;
  transition: all 0.3s;
  font-size: clamp(12px, 2vw, 14px);
}

.social-icon:hover {
  border-color: #d94b30;
  color: #d94b30;
}

.boutonretour {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #e85d3b;
  border-radius: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
}

.boutonretour svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .boutonretour {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
    border-radius: 25px;
    transform: translateY(60px);
  }

  .email-input {
    border-radius: 25px 25px 0 0;
    width: 100%;
  }

  .subscribe-btn {
    border-radius: 0 0 25px 25px;
    width: 100%;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer {
    padding-top: 100px;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .newsletter-form {
    transform: translateY(70px);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    padding-top: 110px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}