/* ========================================================================================================= VARIABLES ==================== */
:root {
  --primary-color: #B88A4B; /* brun-doré premium */
  --secondary-color: #8B5C2A; /* brun terroir */
  --accent-color: #F2C572;
  --dark-color: #2D1E12;
  --light-color: #FFF9F3;
  --white: #FFFFFF;
  --text-dark: #2D1E12;
  --text-light: #6B5E4E;
  --border-color: #E5D3C6;
  --shadow: 0 4px 24px rgba(45, 30, 18, 0.08);
  --shadow-hover: 0 8px 32px rgba(184, 138, 75, 0.15);
  --transition: 0.25s cubic-bezier(.4, 0, .2, 1);
  --focus-color: rgba(242, 197, 114, 0.2);
  --radius: 12px;
  --radius-lg: 24px;
  --radius-sm: 6px;
  --fade-in: fadeIn 0.7s cubic-bezier(.4, 0, .2, 1);
  --fade-in-up: fadeInUp 0.7s cubic-bezier(.4, 0, .2, 1);
}

/* ==================== RESET & BASE ==================== */


body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--light-color) 0%, var(--accent-color) 100%);
  font-size: 1.09rem;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition), background var(--transition), transform var(--transition);
  outline: none;
}

ul {
  list-style: none;
}

/* ==================== HEADER & NAVIGATION ==================== */
.header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(139,92,42,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4px 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contact {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}

.header-main {
  padding: 5px 0 2px 0;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px 0 rgba(45, 30, 18, 0.08);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 10px;
  transition: background var(--transition), box-shadow var(--transition);
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.45rem;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(45, 30, 18, 0.18);
  transition: transform var(--transition), text-shadow var(--transition);
}

.logo:hover {
  transform: scale(1.02);
  text-shadow: 0 3px 12px rgba(45, 30, 18, 0.25);
}

.logo span {
  color: inherit;
  font-weight: inherit;
  letter-spacing: 0.14em;
}



.nav-menu {
  display: flex;
  gap: 10px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-weight: 600;
  color: var(--dark-color);
  padding: 8px 16px;
  border-radius: var(--radius);
  background: transparent;
  position: relative;
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.04em;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
  background: rgba(242, 197, 114, 0.15);
}

.nav-menu a:hover {
  background: rgba(242, 197, 114, 0.25);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
  border-radius: var(--radius);
  background: transparent;
  border: none;
  transition: background var(--transition);
}

.menu-toggle:hover {
  background: rgba(242, 197, 114, 0.15);
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--primary-color);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}








/* Forcer la visibilité du wrapper du carrousel hero */
.hero-img-wrapper {
  min-height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: linear-gradient(120deg, #f8ede3 0%, #e7dacb 100%);
  opacity: 1;
  transition: background 0.6s cubic-bezier(.4,0,.2,1);
  backdrop-filter: blur(4px);
}
/* Centrage image confrérie (robuste) */
.confrerie-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#confrerie-img {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
/* Centrage image confrérie */
.confrerie-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}




/* ==================== CONTAINER ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== HERO SECTION ==================== */

.hero {

  position: relative;

  height: 600px;

  background-size: cover;

  background-position: center;

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--white);

  text-align: center;

  border-radius: 0 0 var(--radius-lg) var(--radius-lg);

  margin-bottom: 32px;

  animation: var(--fade-in);

}



.hero::before {

  content: '';

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background: linear-gradient(135deg, rgba(45, 30, 18, 0.45) 0%, rgba(139, 92, 42, 0.35) 100%);

  border-radius: 0 0 var(--radius-lg) var(--radius-lg);

}



.hero-content {

  position: relative;

  z-index: 1;

  max-width: 800px;

  padding: 40px 50px;

  background: rgba(0, 0, 0, 0.35);

  border-radius: var(--radius-lg);

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);

  backdrop-filter: blur(10px);

}



.hero h1 {

  font-size: 3.2rem;

  margin-bottom: 20px;

  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);

  color: var(--white);

  font-weight: 800;

  line-height: 1.2;

}



.hero h2 {

  font-size: 1.5rem;

  margin-bottom: 20px;

  font-weight: 500;

  color: var(--white);

  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.25);

}



.hero p {

  font-size: 1.15rem;

  margin-bottom: 30px;

  line-height: 1.8;

  color: var(--white);

  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);

}










/* ==================== BOUTONS ==================== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--white);
  color: var(--dark-color);
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--accent-color);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(184, 138, 75, 0.15);
  letter-spacing: 0.03em;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(184, 138, 75, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(184, 138, 75, 0.4);
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 70px 0 60px 0;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.section-header p {
  font-size: 1.13rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-alt {
  background: linear-gradient(135deg, var(--light-color) 0%, rgba(255, 249, 243, 0.95) 100%);
  box-shadow: var(--shadow);
}

/* ==================== PRESENTATION ==================== */
.presentation {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 48px;
  align-items: center;
}

.presentation-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(139, 92, 42, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out, box-shadow 0.3s ease;
}

.presentation-img.visible {
  opacity: 1;
  transform: translateX(0);
}

.presentation-img:hover {
  transform: translateX(0) scale(1.02);
  box-shadow: 0 6px 30px rgba(139, 92, 42, 0.18);
}

.presentation-content h3 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 18px;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.presentation-content p {
  font-size: 1.09rem;
  line-height: 1.8;
  color: var(--text-light);
  white-space: pre-wrap;
  word-wrap: break-word;
  max-width: none;
}

/* Layout triple colonne pour méthodes */
.presentation-triple {
  grid-template-columns: 0.8fr auto 10fr;
  gap: 20px;
  align-items: center;
}

.presentation-center {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1s ease-out, transform 1s ease-out;
  max-width: 350px;
  margin: 0 auto;
}

.presentation-center img {
  width: 100%;
  height: auto;
}

.presentation-center.visible {
  opacity: 1;
  transform: scale(1);
}

.presentation-center:hover {
  transform: scale(1.05);
}

.presentation-left,
.presentation-right {
  opacity: 1;
}

/* Liste des méthodes */
.methodes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.methodes-list li {
  opacity: 0;
  transform: translateX(-50px);
  margin-bottom: 20px;
  padding-left: 35px;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-dark);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.methodes-list li.visible {
  opacity: 1;
  transform: translateX(0);
}

.methodes-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.3rem;
}

.presentation-right {
  padding-left: 20px;
}

.presentation-right div,
.presentation-right p {
  font-size: 1.09rem;
  line-height: 1.8;
  color: var(--text-dark);
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* ==================== VALEURS / CARDS ==================== */
.valeurs-grid,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Cartes de valeurs avec effet de révélation */
.valeur-card {
  background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.98) 100%);
  padding: 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: var(--fade-in);
  position: relative;
  overflow: hidden;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.valeur-card .icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.valeur-card h4 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  font-weight: 700;
}

.valeur-card p {
  color: var(--white);
  line-height: 1.7;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 30px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
  font-size: 1rem;
  border-radius: var(--radius);
}

.valeur-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.valeur-card:hover .icon {
  transform: translateY(-120%) scale(0.7);
  opacity: 0;
}

.valeur-card:hover h4 {
  transform: translateY(-120%) scale(0.7);
  opacity: 0;
}

.valeur-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* Cartes standard */
.card {
  background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.98) 100%);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: var(--fade-in);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card h4 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.card p {
  color: var(--text-light);
  line-height: 1.7;
}

.card-img {
  width: calc(100% + 60px);
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -40px -30px 20px -30px;
}

/* ==================== PRODUITS ==================== */

/* Contrôles de produits */
.produits-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.search-box {
  width: 100%;
}

.search-box input {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.05rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text-dark);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 4px 24px rgba(184, 138, 75, 0.2);
  transform: translateY(-2px);
}

.search-box input::placeholder {
  color: var(--text-light);
}

/* Filtres de catégorie */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.filter-btn {
  padding: 12px 24px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  background: var(--light-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(184, 138, 75, 0.15);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  border-color: var(--secondary-color);
  box-shadow: 0 4px 16px rgba(184, 138, 75, 0.3);
}

.filter-btn .count {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
}

.filter-btn.active .count {
  background: rgba(255, 255, 255, 0.3);
}

/* États de chargement */
.loading-state,
.error-state,
.no-results {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin: 20px 0;
}

.loading-state p,
.error-state p,
.no-results p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-top: 20px;
}

.spinner {
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Catégories de produits */
.produits-category {
  margin-bottom: 60px;
  animation: fadeInUp 0.6s ease-out;
}

.produits-category h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-count {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 400;
}

.produits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* Cartes de produits */
.produit-card {
  background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.98) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  cursor: pointer;
}

.produit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* Badge Nouveau */
.badge-new {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #2d7a2e, #1e5a1f);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Image produit */
.produit-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: var(--light-color);
}

.produit-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.produit-card:hover .produit-img {
  transform: scale(1.1);
}

/* Info produit */
.produit-info {
  padding: 20px;
}

.produit-info h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
  transition: color var(--transition);
}

.produit-card:hover .produit-info h4 {
  color: var(--secondary-color);
}

.produit-info p {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer de la carte produit */
.produit-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.produit-prix {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.produit-category-tag {
  background: var(--light-color);
  color: var(--text-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
}

/* ==================== MARCHES ==================== */
.marches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.marche-card {
  background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.98) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.marche-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(45, 30, 18, 0.15);
}

.marche-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.marche-info {
  padding: 25px;
}

.marche-info h4 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.marche-jour {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(139, 92, 42, 0.95) 100%);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(139, 92, 42, 0.25);
}

.marche-info p {
  color: var(--text-light);
  margin: 5px 0;
  line-height: 1.6;
}

/* ==================== ÉVÉNEMENTS ==================== */
.evenements-grid {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}

.evenement-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.98) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: var(--fade-in-up);
  transition: transform var(--transition), box-shadow var(--transition);
}

.evenement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(45, 30, 18, 0.15);
}

.evenement-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.97) contrast(1.05);
  transition: filter var(--transition);
}

.evenement-card:hover .evenement-img {
  filter: brightness(1) contrast(1.1);
}

.evenement-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.evenement-date {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, rgba(184, 138, 75, 0.95) 100%);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px var(--primary-color);
}

.evenement-info h4 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.evenement-info p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 10px;
}

.evenement-lieu {
  color: var(--secondary-color);
  font-weight: 600;
  margin-top: 15px;
}

/* ==================== CONTACT ==================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-info {
  background: linear-gradient(135deg, var(--light-color) 0%, rgba(255, 249, 243, 0.95) 100%);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: 600;
}

.contact-item {
  margin-bottom: 25px;
}

.contact-item h4 {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-item p {
  color: var(--text-dark);
  line-height: 1.8;
}

.contact-form {
  background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.98) 100%);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: 600;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--focus-color);
  box-shadow: 0 0 0 3px rgba(184, 138, 75, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==================== FOOTER ==================== */
.footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, rgba(45, 30, 18, 0.98) 100%);
  color: var(--white);
  padding: 60px 0 20px;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  box-shadow: 0 -4px 20px rgba(45, 30, 18, 0.15);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  display: block;
  transition: color var(--transition);
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
}

/* ==================== RESPONSIVE - PROFESSIONNEL ==================== */

/* Desktop Large (1400px+) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .valeurs-grid,
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

/* Desktop Medium (1200px - 1399px) */
@media (max-width: 1399px) {
  .container {
    max-width: 1140px;
  }
}

/* Desktop Small / Laptop (992px - 1199px) */
@media (max-width: 1199px) {
  /* Correction responsive container */
  .container {
    max-width: 960px;
    padding: 0 15px;
  }
  
  .hero h2 {
    font-size: 1.4rem;
  }
  
  .section {
    padding: 60px 0 50px 0;
  }
  
  .section-header h2 {
    font-size: 2.25rem;
  }
  
  .valeurs-grid,
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  
  .produits-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
  }
}

/* Tablet Landscape (768px - 991px) */
@media (max-width: 991px) {
  body {
    font-size: 1rem;
  }
  
  .container {
    max-width: 720px;
    padding: 0 15px;
  /* Recadrage images carrousel et événements (encore plus marqué) */
  .evenement-card .evenement-img, .marche-card .marche-img, .carousel-slide img {
    width: 100% !important;
    aspect-ratio: 4/3;
    height: auto;
    max-height: 160px;
    min-height: 120px;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 18px 18px 0 0;
    background: #eee;
    display: block;
  }
  .carousel-slide {
    min-height: unset;
    height: auto;
    background: #fff;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
  }
  /* Correction carrousel et cartes événements */
  .evenements-grid, .marches-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
  .evenement-card, .marche-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 18px 0;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(45,30,18,0.07);
    margin: 0 0 18px 0;
    width: 100%;
    max-width: 100%;
  }
  .evenement-card .evenement-img, .marche-card .marche-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 18px 18px 0 0;
    object-fit: cover;
    margin: 0 auto 0 auto;
    display: block;
  }
  .evenement-info, .marche-info {
    width: 100%;
    padding: 18px 12px 0 12px;
    text-align: center;
  }
  /* Correction carrousel mobile */
  .carousel-slide img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    display: block;
  }
  .carousel-slide {
    min-height: 180px;
    background: #fff;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
  }
  /* Correction padding et centrage */
  .section {
    padding-left: 0;
    padding-right: 0;
  }
  /* Menu mobile harmonisé */
  .nav-menu {
    border-radius: 0 0 24px 24px;
    box-shadow: 0 8px 32px rgba(45,30,18,0.13);
    background: rgba(255,255,255,0.98);
    margin-top: 0;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .nav-menu li {
    margin: 0 0 6px 0;
  }
  .nav-menu a {
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    padding: 14px 20px;
    margin: 0 10px 0 10px;
    color: var(--dark-color);
    background: none;
    border: none;
    display: block;
    text-align: left;
    transition: background 0.2s, color 0.2s;
  }
  .nav-menu a.active, .nav-menu a:hover {
    background: rgba(242,197,114,0.18);
    color: var(--primary-color);
  }
  .nav-menu .btn {
    display: block;
    width: 100%;
    margin: 10px 0 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: #fff;
    text-align: center;
    padding: 14px 0;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(184,138,75,0.07);
    transition: background 0.2s, color 0.2s, border 0.2s;
  }
  .nav-menu .btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
  }
  /* Bouton fermeture menu burger */
  .menu-toggle.active {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 1100;
  }
  .header-main .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  .logo {
    margin-left: 0 !important;
    justify-content: flex-start;
    text-align: left;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
  }
  .menu-toggle {
    position: static;
    margin-right: 0;
    margin-left: auto;
    transform: none;
    flex: 0 0 auto;
  }
  .logo {
    margin-left: 0 !important;
    justify-content: flex-start;
    text-align: left;
  }
  /* Menu burger à droite */
  .header-main .container {
    position: relative;
  }
  .menu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 10px;
  }
  .logo {
    margin-left: 0;
  }
  /* Présentation : passage en colonne */
  .presentation {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .presentation-img {
    width: 100%;
    max-width: 350px;
    margin: 0 auto 12px auto;
    display: flex;
    justify-content: center;
  }
  .presentation-img img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
  }
  .presentation-content {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  /* Section header centrée */
  .section-header {
    text-align: center;
    margin-bottom: 24px;
  }
  /* Valeurs : une colonne */
  .valeurs-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
  .valeur-card {
    margin: 0 auto;
    max-width: 350px;
    text-align: center;
  }
  .valeur-card .icon {
    width: 100%;
    max-width: 220px;
    height: auto;
    margin: 0 auto 10px auto;
    display: block;
  }
  /* CTA section centrée */
  .section .btn, .section .btn-primary {
    display: block;
    margin: 0 auto;
    width: fit-content;
  }
  /* Footer : sections empilées */
  .footer-content {
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
  }
  .footer-section {
    width: 100%;
    margin-bottom: 10px;
  }
  }
  
  /* Header */
  .header-top {
    padding: 3px 0;
  }
  
  .header-contact {
    font-size: 0.85rem;
    gap: 15px;
  }
  
  .header-main {
    padding: 8px 0;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
  .nav-menu {
    gap: 8px;
  }
  
  .nav-menu a {
    padding: 8px 14px;
    font-size: 0.95rem;
  }
  
  /* Hero */
  .hero {
    height: 500px;
    margin-bottom: 28px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 18px;
  }
  
  .hero h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
  
  .hero p {
    font-size: 1.05rem;
    margin-bottom: 25px;
  }
  
  .hero-content {
    padding: 35px 40px;
  }
  
  /* Sections */
  .section {
    padding: 55px 0 45px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  /* Cards & Grids */
  .valeurs-grid,
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  
  .produits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  
  /* Contrôles produits */
  .produits-controls {
    gap: 15px;
  }
  
  .search-box input {
    padding: 14px 20px;
    font-size: 1rem;
  }
  
  .filter-buttons {
    gap: 10px;
  }
  
  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  /* Buttons */
  .btn {
    padding: 14px 35px;
    font-size: 1.05rem;
  }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }
  
  .container {
    max-width: 100%;
    padding: 0 14px;
  }
  
  /* Header - Navigation mobile */
  .header-top {
    display: none; /* Masquer les contacts sur tablette */
  }
  
  .header-main .container {
    flex-wrap: wrap;
  }
  
  .logo {
    font-size: 1.2rem;
    order: 1;
  }
  
  .menu-toggle {
    display: flex;
    order: 2;
    z-index: 1001;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  .nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    box-shadow: 0 8px 24px rgba(45, 30, 18, 0.15);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    z-index: 1000;
    order: 3;
    width: 100%;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    animation: slideDown 0.3s ease;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu a {
    padding: 14px 20px;
    margin: 0 10px;
    border-radius: var(--radius);
    font-size: 1rem;
    border-bottom: 1px solid rgba(184, 138, 75, 0.1);
    display: block;
    width: calc(100% - 20px);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  .nav-menu a:last-child {
    border-bottom: none;
  }
  
  .nav-menu a:active {
    background: rgba(184, 138, 75, 0.1);
  }
  
  /* Hero */
  .hero {
    height: 450px;
    margin-bottom: 24px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  
  .hero h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 22px;
  }
  
  .hero-content {
    padding: 30px 35px;
    max-width: 90%;
  }
  
  /* Sections */
  .section {
    padding: 50px 0 40px 0;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-header h2 {
    font-size: 1.85rem;
    margin-bottom: 10px;
  }
  
  .section-header p {
    font-size: 0.95rem;
  }
  
  /* Presentation */
  .presentation-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .presentation-left,
  .presentation-right {
    padding: 0;
  }
  
  .presentation-text h3 {
    font-size: 1.65rem;
  }
  
  .presentation-text p {
    font-size: 0.95rem;
  }
  
  /* Cards */
  .valeurs-grid,
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .valeur-card,
  .card {
    padding: 25px;
  }
  
  .valeur-card .icon {
    height: 180px;
  }
  
  .valeur-card h4,
  .card h4 {
    font-size: 1.35rem;
  }
  
  /* Produits */
  .produits-controls {
    gap: 12px;
  }
  
  .search-box input {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  
  .filter-buttons {
    gap: 8px;
    justify-content: flex-start;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    flex: 0 0 auto;
  }
  
  .produits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .produits-category h3 {
    font-size: 1.75rem;
    margin-bottom: 25px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .category-count {
    font-size: 1rem;
  }
  
  .produit-img-wrapper {
    height: 220px;
  }
  
  .produit-info {
    padding: 16px;
  }
  
  .produit-info h4 {
    font-size: 1.2rem;
  }
  
  .produit-description {
    font-size: 0.9rem;
  }
  
  .produit-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  /* Optimisation des filtres produits */
  .produits-controls {
    flex-direction: column;
    gap: 15px;
  }
  
  .search-box {
    width: 100%;
  }
  
  .filter-buttons {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
  }
  
  .filter-btn {
    white-space: nowrap;
  }
  
  .badge-new {
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    font-size: 0.75rem;
  }
  
  .loading-state,
  .error-state,
  .no-results {
    padding: 40px 15px;
  }
  
  /* Événements & Marchés */
  .evenements-grid,
  .marches-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .evenement-card,
  .marche-card {
    padding: 20px;
    max-width: 100%;
  }
  
  .evenement-card h3,
  .evenement-card h4,
  .marche-card h3,
  .marche-card h4 {
    font-size: 1.4rem;
  }
  
  .evenement-img {
    height: 200px;
  }
  
  .evenement-info,
  .marche-info {
    padding: 15px;
  }
  
  .evenement-date,
  .marche-date {
    font-size: 0.85rem;
  }
  
  .evenement-lieu,
  .marche-lieu {
    font-size: 0.9rem;
  }
  
  /* Carrousel événements */
  .evenement-carousel {
    height: 200px !important;
  }
  
  .carousel-track {
    height: 100%;
  }
  
  .carousel-slide {
    height: 100%;
  }
  
  .carousel-slide img {
    height: 100%;
    object-fit: cover;
  }
  
  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .contact-info,
  .contact-form {
    padding: 25px;
  }
  
  .contact-item h4 {
    font-size: 1.05rem;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 0.9rem;
  }
  
  /* Buttons */
  .btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 576px) {
  body {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .container {
    padding: 0 12px;
  }
  
  .logo {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
  }
  
  .logo img {
    width: 75px !important;
    height: 75px !important;
  }
  
  .nav-menu a {
    padding: 12px 18px;
    font-size: 0.95rem;
  }
  
  .hero {
    height: 350px;
    min-height: 350px;
    margin-bottom: 22px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    line-height: 1.2;
  }
  
  .hero h2 {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  .hero p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }
  
  .hero-content {
    padding: 20px;
    max-width: 95%;
  }
  
  .btn {
    padding: 10px 22px;
    font-size: 0.9rem;
  }
  
  .section {
    padding: 35px 0 30px 0;
  }
  
  .section-header {
    margin-bottom: 25px;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }
  
  .section-header p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .presentation-text h3 {
    font-size: 1.4rem;
  }
  
  .presentation-text p {
    font-size: 0.9rem;
  }
  
  .valeur-card,
  .card {
    padding: 18px;
  }
  
  .valeur-card .icon {
    height: 150px;
  }
  
  .valeur-card h4,
  .card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .valeur-card p,
  .card p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  
  .produits-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .produit-card {
    max-width: 100%;
  }
  
  .produit-img-wrapper {
    height: 200px;
  }
  
  .evenement-card h3,
  .marche-card h3 {
    font-size: 1.25rem;
  }
  
  .evenement-img {
    height: 180px;
  }
  
  .evenements-grid,
  .marches-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-info,
  .contact-form {
    padding: 20px;
  }
  
  .contact-item {
    padding: 1.2rem;
  }
  
  .contact-item h4 {
    font-size: 1rem;
  }
  
  .contact-item p {
    font-size: 0.9rem;
  }
  
  .form-group label {
    font-size: 0.9rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 0.9rem;
    padding: 10px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-section h3 {
    font-size: 1.1rem;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 0.85rem;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
  }
  
  /* Responsive pour les cartes produits */
  .produit-info {
    padding: 14px;
  }
  
  .produit-info h4 {
    font-size: 1.1rem;
  }
  
  .produit-description {
    font-size: 0.85rem;
  }
  
  /* Menu mobile optimisé */
  .header-main {
    padding: 6px 0;
  }
  
  .menu-toggle span {
    width: 25px;
  }
}


/* Mobile Medium (480px - 575px) */
@media (max-width: 480px) {
  body {
    font-size: 0.88rem;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
  }
  
  .container {
    padding: 0 11px;
  }
  
  .header-main {
    padding: 6px 0;
  }
  
  .logo {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }
  
  .logo img {
    width: 70px !important;
    height: 70px !important;
  }
  
  .menu-toggle {
    padding: 5px;
  }
  
  .menu-toggle span {
    width: 24px;
    height: 3px;
  }
  
  .nav-menu a {
    padding: 12px 18px;
    font-size: 0.9rem;
  }
  
  .hero {
    height: 320px;
    min-height: 320px;
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: 1.65rem;
    margin-bottom: 10px;
    line-height: 1.2;
  }
  
  .hero h2 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  .hero p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .hero-content {
    padding: 16px;
    max-width: 96%;
  }
  
  .btn {
    padding: 9px 18px;
    font-size: 0.85rem;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .section {
    padding: 28px 0;
  }

  .section-header {
    margin-bottom: 22px;
  }

  .section-header h2 {
    font-size: 1.55rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }
  
  .section-header p {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  
  .presentation-text h3 {
    font-size: 1.4rem;
  }
  
  .presentation-text p {
    font-size: 0.88rem;
  }
  
  .valeur-card,
  .card {
    padding: 16px;
  }
  
  .valeur-card .icon {
    height: 140px;
  }
  
  .valeur-card h4,
  .card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .valeur-card p,
  .card p,
  .evenement-info p,
  .marche-info p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .produits-grid {
    gap: 15px;
  }
  
  .produit-card {
    max-width: 100%;
  }
  
  .produit-img-wrapper {
    height: 180px;
  }
  
  .produit-info {
    padding: 12px;
  }
  
  .produit-info h4 {
    font-size: 1.05rem;
  }
  
  .produit-description {
    font-size: 0.85rem;
  }
  
  .evenement-card h3,
  .evenement-card h4,
  .marche-card h3,
  .marche-card h4 {
    font-size: 1.2rem;
  }
  
  .evenement-img,
  .evenement-carousel {
    height: 160px !important;
  }
  
  .evenements-grid,
  .marches-grid {
    gap: 15px;
  }
  
  /* Optimisations touch */
  a, button, .filter-btn {
    -webkit-tap-highlight-color: rgba(184, 138, 75, 0.2);
    touch-action: manipulation;
  }
  
  .contact-info,
  .contact-form {
    padding: 20px;
  }
  
  .contact-item h4 {
    font-size: 1rem;
  }
  
  .contact-item p {
    font-size: 0.9rem;
  }
  
  .form-group label {
    font-size: 0.9rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 0.9rem;
    padding: 10px;
  }
  
  .footer-section h3 {
    font-size: 1.1rem;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 0.85rem;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
  }
}

/* Mobile Small (360px - 479px) */
@media (max-width: 360px) {
  body {
    font-size: 0.85rem;
  }
  
  .container {
    padding: 0 10px;
  }
  
  .logo {
    font-size: 0.9rem;
  }
  
  .logo img {
    width: 70px !important;
    height: 70px !important;
  }
  
  .hero {
    height: 300px;
    min-height: 300px;
  }
  
  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  .hero h2 {
    font-size: 0.9rem;
  }
  
  .hero p {
    font-size: 0.8rem;
  }
  
  .hero-content {
    padding: 15px;
  }
  
  .section {
    padding: 25px 0;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .btn {
    padding: 8px 15px;
    font-size: 0.8rem;
  }
  
  .valeur-card,
  .card,
  .contact-info,
  .contact-form {
    padding: 15px;
  }
  
  .valeur-card .icon {
    height: 130px;
  }
  
  .valeur-card h4,
  .card h3 {
    font-size: 1rem;
  }
  
  .valeur-card p,
  .card p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  
  .produit-card {
    max-width: 100%;
  }
  
  .produit-img-wrapper {
    height: 180px;
  }
  
  .evenement-img,
  .marche-card img {
    height: 150px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Très petits mobiles (< 360px) */
@media (max-width: 320px) {
  body {
    font-size: 0.8rem;
  }
  
  .container {
    padding: 0 8px;
  }
  
  .logo {
    font-size: 0.85rem;
  }
  
  .logo img {
    width: 60px !important;
    height: 60px !important;
  }
  
  .hero {
    height: 280px;
    min-height: 280px;
  }
  
  .hero h1 {
    font-size: 1.3rem;
    line-height: 1.2;
  }
  
  .hero h2 {
    font-size: 0.85rem;
  }
  
  .hero-content {
    padding: 12px;
  }
  
  .section {
    padding: 20px 0;
  }
  
  .section-header h2 {
    font-size: 1.3rem;
    line-height: 1.3;
  }
  
  .valeur-card,
  .card {
    padding: 12px;
  }
  
  .btn {
    padding: 7px 12px;
    font-size: 0.75rem;
  }
  
  .produit-info {
    padding: 12px;
  }
  
  .produit-info h4 {
    font-size: 1rem;
  }
  
  .contact-item {
    padding: 1rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 8px;
    font-size: 0.85rem;
  }
}

/* Orientation paysage pour mobiles */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    height: 350px;
  }
  
  .hero-content {
    padding: 20px 30px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero h2 {
    font-size: 1rem;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .hero-content,
  .card,
  .valeur-card {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { 
    opacity: 0;
    transform: translateY(-20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
} 