/* ===========================================
   DIANI BIO — Styles personnalisés
   Palette : noir profond, or, vert feuille, blanc cassé
   =========================================== */

:root {
  --noir: #0d0d0d;
  --or: #c9a227;
  --vert: #5a7a3a;
  --blanc-casse: #faf7f0;

  --font-titres: 'Playfair Display', serif;
  --font-texte: 'Poppins', sans-serif;
}

/* ---------- Base ---------- */
* {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-texte);
  color: var(--noir);
  background-color: var(--blanc-casse);
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-titres);
}

.text-gold {
  color: var(--or) !important;
}

.section-padding {
  padding: 6rem 0;
}

@media (max-width: 767px) {
  .section-padding {
    padding: 4rem 0;
  }
}

.shadow-soft {
  box-shadow: 0 15px 40px rgba(13, 13, 13, 0.12);
}

/* ---------- Titres de section ---------- */
.section-eyebrow {
  font-family: var(--font-texte);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vert);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 1rem;
}

.title-divider {
  width: 70px;
  height: 3px;
  background: var(--or);
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

/* ---------- Navbar ---------- */
#mainNavbar {
  background-color: transparent;
  padding: 1.25rem 0;
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

#mainNavbar.scrolled {
  background-color: rgba(13, 13, 13, 0.95);
  padding: 0.75rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
  font-family: var(--font-titres);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blanc-casse) !important;
  letter-spacing: 0.05em;
}

.navbar-nav .nav-link {
  color: var(--blanc-casse) !important;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--or) !important;
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cart {
  font-size: 1.2rem;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  background:
    linear-gradient(rgba(13, 13, 13, 0.72), rgba(13, 13, 13, 0.72)),
    url('https://placehold.co/1600x900/0d0d0d/5a7a3a?text=DIANI+BIO') center/cover no-repeat;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.9rem;
  color: var(--or);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-slogan {
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.08em;
  color: var(--blanc-casse);
  opacity: 0.9;
  font-weight: 300;
}

.btn-gold {
  background-color: var(--or);
  border-color: var(--or);
  color: var(--noir);
  font-weight: 600;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-gold:hover {
  background-color: #dcb62f;
  color: var(--noir);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(201, 162, 39, 0.4);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--blanc-casse);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* ---------- Cards Produits ---------- */
.product-card {
  border: none;
  border-radius: 1.2rem;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(13, 13, 13, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 13, 13, 0.12);
}

.product-card .card-img-top {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-card .card-title {
  font-family: var(--font-titres);
  font-weight: 700;
  font-size: 1.3rem;
}

.product-card .card-text {
  color: #666;
  font-size: 0.92rem;
  flex-grow: 1;
}

.product-price {
  font-family: var(--font-titres);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--vert);
  margin-bottom: 1rem;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  padding: 0.65rem 1rem;
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebd59;
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Nos Valeurs ---------- */
.bg-dark-section {
  background-color: var(--noir);
}

.value-block {
  padding: 2rem 1.5rem;
}

.value-block i {
  font-size: 2.8rem;
  color: var(--or);
  margin-bottom: 1.2rem;
  display: inline-block;
}

.value-block h3 {
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.value-block p {
  color: rgba(250, 247, 240, 0.75);
  font-size: 0.95rem;
}

/* ---------- À propos ---------- */
.apropos-text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.apropos-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: rgba(90, 122, 58, 0.08);
  border-radius: 0.8rem;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--vert);
}

.apropos-badge i {
  font-size: 1.3rem;
}

/* ---------- Témoignages ---------- */
.bg-cream-section {
  background-color: #fff;
}

.testimonial-card {
  max-width: 650px;
  text-align: center;
  padding: 2rem 1.5rem;
}

.testimonial-card i.bi-quote {
  font-size: 2.5rem;
  color: var(--or);
}

.testimonial-text {
  font-family: var(--font-titres);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--noir);
  margin: 1rem 0 1.2rem;
  line-height: 1.6;
}

.testimonial-stars {
  color: var(--or);
  margin-bottom: 0.8rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--vert);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--noir);
  border-radius: 50%;
  color: var(--or);
  font-size: 1.2rem;
}

.carousel-indicators-custom {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-indicators-custom button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: rgba(13, 13, 13, 0.2);
  transition: background-color 0.3s ease;
}

.carousel-indicators-custom button.active {
  background-color: var(--or);
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--noir);
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blanc-casse);
}

.footer-slogan {
  color: rgba(250, 247, 240, 0.7);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-heading {
  font-family: var(--font-texte);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--or);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  color: rgba(250, 247, 240, 0.75);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(250, 247, 240, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--or);
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(250, 247, 240, 0.08);
  color: var(--blanc-casse);
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  background-color: var(--or);
  color: var(--noir);
  transform: translateY(-3px);
}

.footer-divider {
  border-color: rgba(250, 247, 240, 0.15);
  margin: 2.5rem 0 1.5rem;
}

.footer-copyright {
  color: rgba(250, 247, 240, 0.55);
  font-size: 0.85rem;
}

/* ---------- Bouton retour en haut ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--or);
  color: var(--noir);
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #dcb62f;
}

/* ---------- Animations au scroll ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
