/* ============================================================
   EPIKURE DISTRIBUTION - Design selon maquette maque-site.pptx
   Couleur principale : #F04E06 (orange)
   Couleur secondaire : #3D2166 (violet logo)
   ============================================================ */

/* ---- RESET GLOBAL ---- */
* { box-sizing: border-box; }

body {
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* ============================================================
   HEADER - Barre orange + navigation
   ============================================================ */

/* Masquer l'ancien header PrestaShop */
.header-banner,
.header-nav,
.header-top {
  display: none !important;
}

/* Barre orange supérieure */
.epikure-top-bar {
  background-color: #F04E06;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  min-height: 70px;
}

.epikure-top-bar .tagline {
  color: #fff;
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 500;
  max-width: 220px;
  line-height: 1.3;
}

.epikure-top-bar .tagline-left { text-align: left; }
.epikure-top-bar .tagline-right { text-align: right; }

.epikure-header-logo {
  display: block;
  text-align: center;
  flex-shrink: 0;
}

.epikure-header-logo img {
  height: 52px;
  width: auto;
  display: block;
}

/* Barre de navigation */
.epikure-nav-bar {
  background-color: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.epikure-nav-bar a.nav-item {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 25px;
  border: 1.5px solid #ddd;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
  background: #fff;
}

.epikure-nav-bar a.nav-item:hover,
.epikure-nav-bar a.nav-item.active {
  background-color: #F04E06;
  color: #fff;
  border-color: #F04E06;
}

.epikure-nav-bar a.nav-item-pro {
  background-color: #F04E06;
  color: #fff;
  border-color: #F04E06;
  font-weight: 600;
}

.epikure-nav-bar a.nav-item-pro:hover {
  background-color: #d43e00;
  border-color: #d43e00;
}

/* ============================================================
   PAGE D'ACCUEIL - Hero & sections
   ============================================================ */

/* Supprimer le padding/margin du content container sur la home */
body.page-index #wrapper,
body.page-index #content-wrapper,
body.page-index #main,
body.page-index .epikure-homepage-editable {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

body.page-index #content.page-home {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Section Hero - deux images côte à côte */
.epikure-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 400px;
}

.epikure-hero .hero-image {
  position: relative;
  overflow: hidden;
}

.epikure-hero .hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.epikure-hero .hero-image:hover img {
  transform: scale(1.03);
}

/* Section B2B CTA */
.epikure-b2b-cta {
  background-color: #fdf3ee;
  border-left: 5px solid #F04E06;
  padding: 25px 40px;
  margin: 0;
  text-align: left;
}

.epikure-b2b-cta p {
  margin: 0;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.epikure-b2b-cta strong {
  color: #F04E06;
}

/* Section "Qui sommes-nous" - Bloc orange */
.epikure-about-block {
  background-color: #F04E06;
  color: #fff;
  padding: 50px 60px;
}

.epikure-about-block h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-style: italic;
  color: #fff;
  margin: 0 0 20px 0;
}

.epikure-about-block p {
  font-size: 1rem;
  line-height: 1.8;
  color: #fff;
  text-align: justify;
}

/* Section double-col: texte + carte */
.epikure-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.epikure-about-grid .col-text {
  background-color: #F04E06;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.epikure-about-grid .col-map {
  background-color: #F04E06;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.epikure-about-grid .col-map img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
}

/* Section produits / marques */
.epikure-brands-grid {
  padding: 50px 40px;
  background: #fff;
}

.epikure-brands-grid h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3D2166;
  margin-bottom: 30px;
  text-align: center;
}

.epikure-brands-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.epikure-brand-card {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.epikure-brand-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.epikure-brand-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 20px;
  background: #fafafa;
}

.epikure-brand-card .card-label {
  padding: 12px 15px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  text-align: center;
}

/* ============================================================
   FOOTER - Barre orange
   ============================================================ */

.footer-container {
  display: none !important;
}

.epikure-footer {
  background-color: #F04E06;
  padding: 16px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.epikure-footer .footer-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.epikure-footer .footer-legal {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  text-align: right;
}

.epikure-footer .footer-legal a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
}

.epikure-footer .footer-legal a:hover {
  color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .epikure-top-bar {
    flex-direction: column;
    padding: 12px 15px;
    gap: 8px;
  }

  .epikure-top-bar .tagline {
    max-width: 100%;
    text-align: center;
  }

  .epikure-nav-bar {
    padding: 8px 10px;
    justify-content: center;
  }

  .epikure-nav-bar a.nav-item {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .epikure-hero {
    grid-template-columns: 1fr;
  }

  .epikure-hero .hero-image img {
    height: 250px;
  }

  .epikure-about-grid {
    grid-template-columns: 1fr;
  }

  .epikure-about-block,
  .epikure-about-grid .col-text {
    padding: 30px 20px;
  }

  .epikure-b2b-cta {
    padding: 20px;
  }

  .epikure-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .epikure-footer .footer-legal {
    text-align: center;
  }
}
