/* =========================================
   DXN FRANCE — Feuille de styles principale
   Palette : vert forêt, beige doré, crème
   ========================================= */

/* === VARIABLES === */
:root {
  --vert:        #3d5a3e;
  --vert-clair:  #5a7d5b;
  --vert-pale:   #e8f0e8;
  --beige:       #c8a96e;
  --beige-clair: #e8d9b8;
  --creme:       #f5f0e8;
  --blanc:       #ffffff;
  --texte:       #2c2c2c;
  --texte-doux:  #5a5a5a;
  --bordure:     #ddd6c8;

  --font-titre:  'Playfair Display', Georgia, serif;
  --font-corps:  'Lato', 'Segoe UI', sans-serif;

  --radius:      8px;
  --radius-lg:   16px;
  --ombre:       0 4px 20px rgba(0,0,0,0.08);
  --ombre-forte: 0 8px 40px rgba(0,0,0,0.14);

  --max-width:   1100px;
  --padding-section: 80px 20px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-corps);
  font-size: 16px;
  line-height: 1.7;
  color: var(--texte);
  background: var(--creme);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === TYPOGRAPHIE === */
h1, h2, h3, h4 {
  font-family: var(--font-titre);
  line-height: 1.3;
  color: var(--texte);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { margin-bottom: 1rem; color: var(--texte-doux); }

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
section { padding: var(--padding-section); }

/* === BOUTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-corps);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}
.btn-primary {
  background: var(--vert);
  color: var(--blanc);
}
.btn-primary:hover {
  background: var(--vert-clair);
  transform: translateY(-2px);
  box-shadow: var(--ombre);
}
.btn-secondary {
  background: transparent;
  color: var(--vert);
  border: 2px solid var(--vert);
}
.btn-secondary:hover {
  background: var(--vert-pale);
  transform: translateY(-2px);
}
.btn-beige {
  background: var(--beige);
  color: var(--blanc);
}
.btn-beige:hover {
  background: #b8944e;
  transform: translateY(-2px);
  box-shadow: var(--ombre);
}

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blanc);
  border-bottom: 1px solid var(--bordure);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  color: var(--vert);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.logo span { color: var(--beige); }
nav { display: flex; gap: 32px; align-items: center; }
nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--texte-doux);
  transition: color 0.2s;
}
nav a:hover { color: var(--vert); }
nav a.active { color: var(--vert); font-weight: 600; }
.nav-cta { margin-left: 8px; }

/* === FOOTER === */
.footer {
  background: var(--texte);
  color: rgba(255,255,255,0.75);
  padding: 48px 20px 24px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer h4 {
  color: var(--blanc);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer p, .footer a { font-size: 0.9rem; line-height: 1.8; }
.footer a:hover { color: var(--beige); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.85rem;
  text-align: center;
}

/* === CARDS PRODUIT === */
.product-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--ombre);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-forte);
}
.product-card-image {
  height: 220px;
  background: var(--vert-pale);
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--beige);
  margin-bottom: 8px;
}
.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.product-card p {
  font-size: 0.9rem;
  flex: 1;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bordure);
}
.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--vert);
}
.product-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--texte-doux);
  display: block;
}

/* === SECTION HERO === */
.hero {
  background: linear-gradient(135deg, var(--vert) 0%, var(--vert-clair) 100%);
  color: var(--blanc);
  padding: 100px 20px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { color: var(--blanc); margin-bottom: 20px; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--ombre-forte);
}

/* === SECTION AVANTAGES === */
.avantages { background: var(--blanc); }
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.avantage-item {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--creme);
  border: 1px solid var(--bordure);
}
.avantage-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.avantage-item h3 { margin-bottom: 12px; }

/* === SECTION PRODUITS APERÇU === */
.produits-apercu { background: var(--creme); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.section-header p { font-size: 1.05rem; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--beige);
  margin-bottom: 12px;
}

/* === SECTION DXN === */
.dxn-section { background: var(--vert-pale); }
.dxn-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.dxn-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.stat-item {
  background: var(--blanc);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--ombre);
}
.stat-number {
  font-family: var(--font-titre);
  font-size: 2rem;
  font-weight: 700;
  color: var(--vert);
}
.stat-label { font-size: 0.85rem; color: var(--texte-doux); }

/* === SECTION OPPORTUNITÉ === */
.opportunite {
  background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
  color: var(--blanc);
}
.opportunite .section-tag { color: var(--beige); }
.opportunite h2 { color: var(--blanc); }
.opportunite p { color: rgba(255,255,255,0.8); }
.opportunite-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step-item {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.step-number {
  width: 48px;
  height: 48px;
  background: var(--beige);
  color: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.step-item h3 { color: var(--blanc); margin-bottom: 8px; }

/* === CTA FINAL === */
.cta-section {
  background: var(--beige-clair);
  text-align: center;
  padding: 80px 20px;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { max-width: 520px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === FILTRES CATALOGUE === */
.filtres {
  display: flex;
  gap: 12px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.filtre-btn {
  padding: 8px 20px;
  border-radius: 99px;
  border: 2px solid var(--bordure);
  background: var(--blanc);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}
.filtre-btn:hover,
.filtre-btn.active {
  background: var(--vert);
  border-color: var(--vert);
  color: var(--blanc);
}

/* === PAGE PRODUIT === */
.produit-hero {
  background: var(--blanc);
  padding: 60px 20px;
}
.produit-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.produit-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--vert-pale);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.produit-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 99px;
}
.badge-vert { background: var(--vert-pale); color: var(--vert); }
.badge-beige { background: var(--beige-clair); color: #8a6530; }
.produit-price-block {
  background: var(--creme);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
}
.produit-formats { display: flex; flex-direction: column; gap: 10px; }
.format-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 2px solid var(--bordure);
  background: var(--blanc);
  cursor: pointer;
  transition: all 0.2s;
}
.format-option:hover,
.format-option.selected {
  border-color: var(--vert);
  background: var(--vert-pale);
}
.benefices-list { margin: 24px 0; }
.benefices-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.benefices-list li::before {
  content: '✓';
  color: var(--vert);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-inner,
  .dxn-inner,
  .produit-hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .avantages-grid,
  .opportunite-steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  nav { display: none; }
  .section-padding { padding: 48px 20px; }
}
