/* LPPS Design Charter - Les Petits Pois Show */
/* Charte raffinée et standing inspirée des boutiques artisanales haut de gamme */
:root {
  /* Palette crème élégante et bleu discret */
  --lpps-bg: #F9F5F0;           /* crème chaud et raffiné */
  --lpps-bg-secondary: #F5F1EB; /* crème plus clair pour sections */
  --lpps-text: #2D3748;         /* gris foncé élégant (moins noir pur) */
  --lpps-text-secondary: #718096; /* gris moyen plus discret */
  --lpps-text-muted: #A0AEC0;   /* gris clair pour éléments discrets */
  --lpps-accent: #4A5568;       /* gris bleu discret (remplace le bleu flashy) */
  --lpps-accent-hover: #374151; /* gris bleu plus foncé pour hover */
  --lpps-accent-light: rgba(74, 85, 104, 0.08); /* version très légère */
  --lpps-gold: #B7950B;         /* doré discret */
  --lpps-border: #E2E8F0;       /* bordures crème subtiles */
  --lpps-white: #FFFFFF;        /* blanc pour contrastes */

  /* Espacement généreux selon échelle 4/8 pour standing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 80px;

  /* Typographie raffinée et lisible */
  --font-title: 'Playfair Display', serif; /* serif élégante pour titres */
  --font-body: 'Inter', sans-serif;        /* sans-serif moderne et lisible */
  --font-accent: 'Inter', sans-serif;      /* même police pour cohérence */

  /* Rayons de bordure subtils */
  --radius-sm: 4px;    /* très subtil */
  --radius-md: 8px;    /* élégant */
  --radius-lg: 12px;   /* pour éléments importants */

  /* Ombres raffinées */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
  --shadow-premium: 0 20px 40px rgba(0,0,0,0.04);
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--lpps-text);
  background-color: var(--lpps-bg);
  position: relative;
}

/* Design épuré - pas de motifs décoratifs tape-à-l'œil */

/* Header raffiné et minimaliste */
.header {
  background-color: var(--lpps-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--lpps-border);
}

.nav {
  padding: var(--spacing-lg) 0; /* Réduit de 48px à 24px */
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg); /* Réduit de 32px à 24px */
}

.logo-large {
  height: 70px; /* Réduit de 100px à 70px */
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo-large:hover {
  transform: scale(1.02);
}

.brand-info h1 {
  font-family: var(--font-title);
  font-size: 28px; /* Réduit de 36px à 28px */
  font-weight: 600;
  color: var(--lpps-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-xs);
  line-height: 1.1;
  position: relative;
}

.brand-info h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--lpps-accent);
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 13px; /* Réduit de 14px à 13px */
  font-weight: 400;
  color: var(--lpps-text-secondary);
  letter-spacing: 0.01em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-3xl);
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--lpps-text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
  padding: var(--spacing-sm) var(--spacing-md);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--lpps-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--lpps-accent);
}

.cta-nav {
  background: var(--lpps-accent);
  color: var(--lpps-white) !important;
  padding: var(--spacing-sm) var(--spacing-xl);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
  border: none;
}

.cta-nav:hover {
  background: var(--lpps-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Menu Hamburger pour mobile */
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--lpps-text);
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: absolute;
  right: var(--spacing-lg);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.hamburger-menu:hover {
  background-color: var(--lpps-accent-light);
  color: var(--lpps-accent);
}

.hamburger-menu:focus {
  outline: 2px solid var(--lpps-accent);
  outline-offset: 2px;
}

/* Menu mobile overlay */
.nav-menu.mobile-open {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--lpps-white);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-2xl);
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

.nav-menu.mobile-open a {
  font-size: 20px;
  padding: var(--spacing-lg);
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--lpps-border);
}

.nav-menu.mobile-open .cta-nav {
  margin-top: var(--spacing-xl);
  border-bottom: none;
}

/* Section Hero élégante et minimaliste */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--lpps-bg);
  padding: var(--spacing-4xl) 0;
  position: relative;
}

.hero-content {
  flex: 1;
  padding: 0 var(--spacing-2xl);
  max-width: 650px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 56px;
  font-weight: 600;
  color: var(--lpps-text);
  margin-bottom: var(--spacing-xl);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: var(--lpps-text-secondary);
  margin-bottom: var(--spacing-3xl);
  line-height: 1.6;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
}

.stat {
  text-align: center;
  background: var(--lpps-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 600;
  color: var(--lpps-accent);
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--lpps-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-image {
  flex: 1;
  padding: 0 var(--spacing-2xl);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-2xl);
}

/* Sections élégantes */
section {
  padding: var(--spacing-4xl) 0;
  position: relative;
}

.section-title {
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 600;
  color: var(--lpps-text);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--lpps-text-secondary);
  text-align: center;
  margin-bottom: var(--spacing-4xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Produits élégants */
.products-section {
  background-color: var(--lpps-bg-secondary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-4xl);
}

.product-card {
  background-color: var(--lpps-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--lpps-border);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.02);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: var(--spacing-xl);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-cta {
  background: var(--lpps-accent);
  color: var(--lpps-white);
  text-decoration: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  text-transform: none;
  letter-spacing: 0.01em;
}

.product-cta:hover {
  background: var(--lpps-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.product-info {
  padding: var(--spacing-xl);
}

.product-info h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 600;
  color: var(--lpps-text);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.product-description {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--lpps-text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.5;
}

.product-price {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--lpps-accent);
}

.product-price::before {
  content: '€';
  font-size: 14px;
  margin-right: 2px;
}

.products-cta {
  text-align: center;
}

/* À propos */
.about-section {
  background-color: var(--lpps-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-4xl);
  align-items: center;
}

.about-image {
  text-align: center;
}

.about-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.about-text h2 {
  margin-bottom: var(--spacing-xl);
}

.about-description {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
  color: var(--lpps-text-2);
}

.about-description strong {
  color: var(--lpps-text);
}

.about-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-3xl);
}

.detail-item h4 {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  color: var(--lpps-text);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-item p {
  font-size: 14px;
  color: var(--lpps-text-2);
}

/* Avis */
.reviews-section {
  background-color: var(--lpps-white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-4xl);
}

.review-card {
  background-color: var(--lpps-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--lpps-sep);
}

.review-stars {
  color: var(--lpps-accent);
  font-size: 16px;
  margin-bottom: var(--spacing-sm);
}

.review-text {
  font-style: italic;
  color: var(--lpps-text-2);
  margin-bottom: var(--spacing-lg);
  line-height: 1.5;
}

.review-author {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  color: var(--lpps-text);
}

.reviews-summary {
  text-align: center;
  padding: var(--spacing-3xl);
  background-color: var(--lpps-bg);
  border-radius: var(--radius-md);
}

.rating-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.rating-number {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 700;
  color: var(--lpps-accent);
}

.rating-stars {
  color: var(--lpps-accent);
  font-size: 20px;
}

.rating-count {
  font-size: 14px;
  color: var(--lpps-text-2);
}

.reviews-text {
  font-size: 16px;
  color: var(--lpps-text);
  font-weight: 500;
}

/* Boutons CTA raffinés */
.cta-button {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
  padding: var(--spacing-lg) var(--spacing-2xl);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.cta-button.primary {
  background: var(--lpps-accent);
  color: var(--lpps-white);
  box-shadow: var(--shadow-sm);
}

.cta-button.primary:hover {
  background: var(--lpps-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-button.large {
  font-size: 18px;
  padding: var(--spacing-xl) var(--spacing-3xl);
  font-weight: 600;
}

/* Footer élégant et lisible - CORRECTIONS COMPLETES */
.footer {
  background-color: var(--lpps-bg-secondary) !important;
  color: var(--lpps-text) !important;
  padding: var(--spacing-4xl) 0 var(--spacing-2xl) 0;
  border-top: 1px solid var(--lpps-border);
}

.footer * {
  color: var(--lpps-text) !important;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-4xl);
}

.footer-section h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.footer-logo {
  height: 90px;
  width: auto;
  margin-bottom: var(--spacing-lg);
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
  color: var(--lpps-text-secondary) !important;
}

.footer-links {
  list-style: none;
  color: var(--lpps-text);
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
  color: var(--lpps-text);
}

.footer-links a {
  color: var(--lpps-text-secondary) !important;
  text-decoration: none !important;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--lpps-accent) !important;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-2xl);
  border-top: 1px solid var(--lpps-border);
  font-size: 14px;
  color: var(--lpps-text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    padding: var(--spacing-md) 0; /* Plus compact sur tablette */
  }

  .nav-container {
    position: relative;
  }

  .logo-section {
    gap: var(--spacing-md);
  }

  .logo-large {
    height: 60px; /* Plus petit sur tablette */
  }

  .brand-info h1 {
    font-size: 24px;
  }

  .nav-menu {
    gap: var(--spacing-lg);
  }

  .nav-menu a {
    font-size: 14px;
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .cta-nav {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .hamburger-menu {
    display: block;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.mobile-open {
    display: flex;
  }

  .nav-container {
    justify-content: flex-start;
  }

  .logo-section {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }

  .logo-large {
    height: 50px;
  }

  .brand-info h1 {
    font-size: 20px;
  }

  .brand-tagline {
    font-size: 12px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-3xl) 0;
  }

  .hero-content {
    order: 2;
    max-width: 100%;
    padding: 0 var(--spacing-lg);
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
  }

  .hero-title {
    font-size: 28px;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-2xl);
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-2xl);
  }

  .container {
    padding: 0 var(--spacing-lg);
  }

  section {
    padding: var(--spacing-3xl) 0;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: var(--spacing-sm) 0; /* Encore plus compact sur mobile */
  }

  .nav-container {
    padding: 0 var(--spacing-lg);
  }

  .logo-large {
    height: 45px; /* Très compact pour mobile */
  }

  .brand-info h1 {
    font-size: 18px; /* Encore plus petit pour mobile */
  }

  .brand-tagline {
    font-size: 11px;
  }

  .hamburger-menu {
    right: var(--spacing-md);
    font-size: 22px;
  }

  .hero-title {
    font-size: 24px; /* Ajusté pour mobile */
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .section-title {
    font-size: 28px;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    font-size: 16px;
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .products-grid {
    gap: var(--spacing-md);
  }

  .product-info {
    padding: var(--spacing-md);
  }

  .container {
    padding: 0 var(--spacing-md);
  }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible pour accessibilité */
*:focus-visible {
  outline: 2px solid var(--lpps-accent);
  outline-offset: 2px;
}

/* Animations subtiles et raffinées */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* CORRECTIONS CRITIQUES DU FOOTER - PRIORITÉ MAXIMALE */
.footer,
.footer * {
  background-color: var(--lpps-bg-secondary) !important;
  color: var(--lpps-text) !important;
}

.footer .footer-content,
.footer .footer-section,
.footer h4,
.footer ul,
.footer li {
  color: var(--lpps-text) !important;
}

.footer .footer-description {
  color: var(--lpps-text-secondary) !important;
}

.footer .footer-links a {
  color: var(--lpps-text-secondary) !important;
}

.footer .footer-links a:hover {
  color: var(--lpps-accent) !important;
}

.footer .footer-bottom,
.footer .footer-bottom p {
  color: var(--lpps-text-secondary) !important;
}

/* Print styles */
@media print {
  .header,
  .footer,
  .cta-button {
    display: none !important;
  }

  body {
    background-color: white !important;
  }

  section {
    page-break-inside: avoid;
  }

  /* Masquer les motifs décoratifs à l'impression */
  body::before {
    display: none !important;
  }
}
