/* === TYPOGRAPHIE KANFURA === */
body {
  font-family: 'Lora', serif;
  color: #2a1e12;
  background-color: #fffdf9;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.navbar {
  background-color: #e3b880; /* ocre clair */
  border-bottom: 1px solid #e0d6c8; /* bordure douce pour structurer */
}

.navbar.sticky-top {
  z-index: 1030; /* valeur recommandée par Bootstrap */
}

.navbar-navli {
  list-style-type: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
  margin-bottom: 0;
}
.navbar-nav .nav-item {
  margin: 0 0.8rem;
}
.navbar .nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.05rem; /* légèrement plus lisible */
  letter-spacing: 0.3px; /* plus aéré */
  font-family: 'Lora', serif; /* ou 'Cormorant Garamond' pour + d'élégance */
  color: #2a1e12; /* brun foncé cohérent */
}

.navbar .nav-link:hover {
  color: #8c5a33; /* optionnel : un brun plus chaud au survol */
  transform: scale(1.15);
}


.navbar .dropdown-item {
  font-family: 'Playfair Display', serif;
}

.logo-kanfura {
  height: 160px !important;
  transition: transform 0.3s ease;
}
.logo-kanfura:hover {
  transform: scale(1.05);
}

.slogan-kanfura {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-top: 0; /* enlève le décalage */
  line-height: 1; /* réduit l'espace vertical */
  display: flex;
  align-items: flex-end;
}

.icone-navbar {
  height: 38px;
  transition: transform 0.3s ease;
  filter: brightness(0) saturate(100%) contrast(100%);
}

.icone-navbar:hover {
  transform: scale(1.05);
  filter: brightness(0.8) saturate(120%);
}

.nav-connexion,
.nav-panier {
  padding-left: 12px;
  padding-right: 8px;
}
.kanfura-icon {
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.nav-link:hover .kanfura-icon {
  transform: scale(1.2) rotate(-3deg);
  stroke: #5e3b23;
}

/* === LIGNES PRINCIPALES === */
.kanfura-section-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}
.nav-link i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-link:hover i {
  transform: scale(1.2) rotate(-3deg);
  color: #6b3e26; /* ou une teinte Kanfura plus foncée */
}

/* === BLOC HERO IMAGE === */
.kanfura-hero-block {
  flex: 1 1 55%;
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 0.8rem;
}

.kanfura-hero-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: zoomOut 15s ease forwards;
}

.kanfura-hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.kanfura-hero-text {
  position: absolute;
  z-index: 2;
  color: white;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.kanfura-hero-dashboard {
  background-image: url("/static/accueil/images/hero/hero_mon_espace.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-position: center;
  width: 800px ;
  min-height: 200px;                /* Tu peux augmenter cette hauteur */
  background-color: #f6e4cc; /* couleur douce de fond si image transparente */
}

.kanfura-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: #3d2619;
}

.kanfura-subtitle {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  color: #5e3b23;
}


.kanfura-hero-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

/* === ZÉYA BLOCK === */
.zeya-block {
  flex: 1 1 40%;
  text-align: center;
  padding: 1rem;
  background: #f7e9d6;
  border-radius: 0.8rem;
}

.zeya-block img {
  max-width: 220px;
  margin: 1rem auto;
}

.zeya-block .btn-precommande {
  display: inline-block;
  margin-top: 1rem;
  background-color: #a8653d;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.zeya-block .btn-precommande:hover {
  background-color: #8a4d2c;
}

.badge-artisanal {
  display: inline-block;
  background-color: #f7e6d7;
  color: #5a2e1e;
  font-family: 'Cormorant Garamond', serif;
  padding: 4px 10px;
  font-size: 0.85rem;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(240, 203, 116, 0.7);
  font-weight: 500;
}

/* === DIAGNOSTIC FULL WIDTH === */
.diagnostic-section {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 0.8rem;
  margin: 3rem auto;
  max-width: 1200px;
}

.diagnostic-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.diagnostic-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.diagnostic-text {
  position: absolute;
  z-index: 2;
  color: white;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.diagnostic-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.form-step {
  display: none;
}
.form-step.active {
  display: block;
}



/* === SECTION ENGAGEMENTS + TEMOIGNAGE === */
.kanfura-section-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem; /* espace horizontal entre les colonnes */
  align-items: flex-start;
  justify-content: center;
  max-width: 1200px;
  margin: 3rem auto;
  text-align: center;
}

/* Bloc Engagements */
.engagements-block {
  flex: 1 1 48%;
  background-color: #f4c98d;
  padding: 2rem;
  border-radius: 12px;
  box-sizing: border-box;
  text-align: center;
  margin-top: 0; 
}

.engagements-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.engagements-block p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.valeurs-grid {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.valeur {
  flex: 0 0 120px;
  text-align: center;
}

.valeur img {
  max-width: 120px;
  margin-bottom: 0.5rem;
  justify-content: center;
}

.valeur h3 {
  font-size: 0.9rem;
  margin: 0.3rem 0;
  text-align: center;
}

.valeur p {
  font-size: 0.7rem;
  margin: 0;
}

/* Bloc inspirations */
.inspirations-block {
  flex: 1 1 48%;
  background-color:  #faf3ea;
  padding: 2rem;
  border-radius: 12px;
  box-sizing: border-box;
  text-align: center;
   
}

.inspirations-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.inspirations img {
  max-width: 50%; 
  height: auto;
  display: inline;
  
}

.inspirations-card {
  position: relative;
  background-color: #faf3ea !important;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); /* optionnel pour élégance douce */
}

.inspiration-card img {
  max-width: 750px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
}

/* 🌿 Image inspiration/récit, douce et non coupée */
.kanfura-inspiration-img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 500px; /* ou 400px si tu veux une bannière plus fine */
  object-fit: contain;
  margin: 0 auto;
  border-radius: 1rem;
}

.kanfura-inspiration-banner-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  background-color: #fffdf9; /* ou #faf3ea si tu veux */
}

.inspiration-hero-img-container {
  max-width: 100%;
  width: 100%;
  text-align: center;
}


.inspirations-texte {
  font-size: 0.95rem;
  color: #3a2c1a;
}

.page-kanfura {
  background: linear-gradient(to bottom, #fffdf9, #f6eee3); /* Ocre doux */
  min-height: 100vh;
  padding-top: 2rem;
}

.kanfura-carousel-block {
  background-color: #f4d496;
  border: 1px solid #e9decf;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.kanfura-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: #3b2a1a;
  line-height: 1.5;
}

.kanfura-quote footer {
  font-size: 1rem;
  color: #7c5e3a;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(50%);
}

.kanfura-card {
  background-color: #f6c27d; /* fond ocre clair */
  border: 1px solid #e0d5c1; /* bordure douce */
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 1.5rem;
  transition: transform 0.2s ease;
}

.kanfura-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.intro-rituel-kanfura {
  background-color: #faf3ea;
  border-radius: 12px;
  margin-bottom: 2rem;
  padding: 2rem 1rem;
}
.rituel-block {
  margin-bottom: 2rem; /* ou 1.5rem si tu veux un effet plus compact */
}



.phrase-kanfura {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #4e342e;
  margin-bottom: 0.5rem;
}

.sous-phrase-kanfura {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: #7b5e4a;
  margin: 0;
}

/* Bloc Témoignage */
.temoignage-block {
  flex: 1 1 48%;
  background-color: #fffaf3;
  padding: 2rem;
  border-radius: 12px;
  box-sizing: border-box;
  text-align: center;
}

.temoignage-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.temoignage-card {
  position: relative;
}

.temoignage-card img {
  max-width: 220px; /* réduction de la taille de l'image */
  border-radius: 1rem;
  display: block;
  margin: 0 auto 1rem auto;
}

.temoignage-texte {
  font-size: 0.95rem;
  color: #3a2c1a;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .kanfura-section-row {
    flex-direction: column;
    gap: 2rem;
  }

  .engagements-block,
  .inspirations,
  .temoignage-block {
    flex: 1 1 100%;
  }

  .temoignage-card img {
    max-width: 180px;
  }
}

/* === Boutons === */
.btn-kanfura {
  background-color: #a8653d;
  color: white;
  font-weight: 500;
  border-radius: 2rem;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn-kanfura:hover {
  background-color: #8a4d2c;
}

.explorer-btn {
  white-space: nowrap; /* Empêche le retour à la ligne */
  font-size: 1rem;
  padding: 0.5rem 1rem;
  max-width: 100%;
  overflow-wrap: break-word;
  display: inline-block;
  text-align: center;
}

@media (max-width: 576px) {
  .explorer-btn {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .explorer-btn::after {
    content: 'Explorer';
  }
}

/* === ANIMATION ZOOM === */
@keyframes zoomOut {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* === MOBILE === */
@media (max-width: 768px) {
  .kanfura-hero-block,
  .zeya-block,
  .diagnostic-section,
  .engagements-block,
  .temoignage-block {
    flex: 1 1 100%;
  }
  .kanfura-hero-text h1 {
    font-size: 1.6rem;
  }
}
@media (max-width: 768px) {
  .kanfura-title {
    font-size: 2.2rem;
  }

  .kanfura-subtitle {
    font-size: 1rem;
  }
}

/* === FOOTER & NEWSLETTER === */
.newsletter-block {
  max-width: 250px;
  margin: 0 auto;

}

.newsletter-block input[type="email"] {
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 250px;
}

.newsletter-block button {
  background-color: #5e3b23;
  color: #fffdf5;
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  border-radius: 6px;
  border: none;
  margin-top: 0.3rem;
  justify-content: center;
}

.footer-kanfura {
  font-family: 'Lora', serif;
  background-image: url('../images/motifs/motif1.png');
  background-repeat: repeat;
  background-blend-mode: multiply;
  background-size: 220px;
  background-position: center;
  background-color:  #faf3ea;
  text-align: center;
  padding: 0.5rem 1rem !important;}

  .footer-kanfura .row {
  justify-content: center;
}

.footer-kanfura .col {
  margin-bottom: 1rem;
}

.footer-columns {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 1rem;
  gap: 1.5rem;
  padding: 1rem 1rem;
}

.footer-column {
  flex: 1 1 22%;
  max-width: 250px;
  min-width: 180px;
}

.footer-column h5 {
  font-family: 'Lora', serif;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.footer-column p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-style: italic;
}

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

.footer-column ul li a {
  text-decoration: none;
  color: #2a1e12;
  margin-bottom: 0.5rem;

}


.footer-column a {
  color: #2a1e12;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
  color: #faf3ea;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 1.8rem;
}

.newsletter-block input[type="email"] {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 250px;
  margin-bottom: 0.5rem;
}

.newsletter-block button {
  background-color: #5e3b23;
  color: #fffdf5;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: none;
}

@media (max-width: 768px) {
  .footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* 👉 Centre les colonnes */
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
  .footer-column,
  .footer-socials {
    justify-content: center;
    text-align: center;
  }

.rituel-block {
  margin-bottom: 2rem; /* ou 1.5rem si tu veux un effet plus compact */
}

.engagements-block {
  margin-top: 0; /* retire le margin top si existant */
}

section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

}


/* === MODAL STYLE === */
.modal-content {
  background-color: #fef9f4;
  border-radius: 1rem;
  border: none;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  font-family: 'Lora', serif;
}

.modal-header {
  border-bottom: none;
  background-color: #f3e6d2;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #5a2e1e;
}

.modal-body label {
  font-weight: 600;
  color: #3e2d24;
  margin-bottom: 0.3rem;
}

.modal-body input {
  border-radius: 0.5rem;
  border: 1px solid #ccc;
}

.modal-footer {
  background-color: transparent;
  border-top: none;
}

/* === BOUTONS === */
.btn-kanfura {
  background-color: #a8653d;
  color: white;
  font-weight: 500;
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  border: none;
  transition: all 0.3s ease-in-out;
}

.btn-kanfura:hover {
  background-color: #8a4d2c;
}

.btn-outline-secondary {
  border-radius: 2rem;
}

/* === BLOCS PRODUITS === */
.kanfura-card {
  background-color: #f7e9d6;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.kanfura-card:hover {
  transform: translateY(-5px);
}

.kanfura-card h4 {
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 1rem;
  color: #6b3e26;
}

.kanfura-card p {
  font-family: 'Lora', serif;
  color: #6b5842;
  margin-bottom: 1.2rem;
}

.produit-image {
  display: block;
  width: 100%;
  max-height: 200px;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  padding: 10px;
  background-color: #fffaf3;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* === DIVERS === */
.badge-artisanal {
  display: inline-block;
  background-color: #f7e6d7;
  color: #5a2e1e;
  font-family: 'Cormorant Garamond', serif;
  padding: 4px 10px;
  font-size: 0.8rem;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(240, 203, 116, 0.7);
  font-weight: 500;
  margin: 0.5rem auto;
  max-width: max-content;
}

.confiance-box {
  background-color: #fef8f4;
  border: 1px solid #e3d3c8;
  padding: 1rem;
  border-radius: 0.5rem;
  font-family: 'Lora', serif;
  color: #5a2e1e;
}

form select,
form input,
form textarea {
  font-family: 'Lora', serif;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
}

form label {
  margin-top: 1rem;
  font-weight: bold;
  display: block;
  font-family: 'Lora', serif;
  color: #3a2c1a;
}

  .form-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
  }

  .form-step.active {
    display: block;
  }

  .step-title {
    font-family: 'Cormorant Garamond';
    color: #5e3b23;
    margin-bottom: 1rem;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

.progress {
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  transition: width 0.4s ease-in-out;
}

.badge-kanfura-pastel {
  background-color: #fcefd5; /* ocre pastel doux */
  color: #5c4522; /* brun profond */
  border: 1px solid #f3dcaa;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 2rem;
  font-family: 'Lora', serif;
  font-size: 0.85rem;
}

#prix-variante {
  transition: all 0.3s ease-in-out;
}
#stock-variante {
  transition: all 0.3s ease-in-out;
}

.produit-image-large {
  max-height: 450px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}
@media (max-width: 768px) {
  .produit-image-large {
    max-height: 300px;
  }
}

.page-legale {
  max-width: 850px;
  margin: 2rem auto;
  padding: 1rem;
  font-family: 'Lora', serif;
  color: #2a1e12;
}

.page-legale h1,
.page-legale h2 {
  font-weight: bold;
  margin-bottom: 1.2rem;
  color: #2a1e12;
}

.page-legale h1 {
  font-size: 2.2rem;
}

.page-legale h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

.page-legale p,
.page-legale li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  text-align: left;
}

.page-legale ul {
  padding-left: 1.5rem;
}

.formulaire-kanfura {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fffdf9;
  border-radius: 1rem;
  box-shadow: 0 0 12px rgba(0,0,0,0.05);
  font-family: 'Lora', serif;
  color: #2a1e12;
}

.formulaire-kanfura h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: bold;
  color: #2a1e12;
}

.formulaire-kanfura h5 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #3d2619;
}

.formulaire-kanfura label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #5c3b2a;
}

.formulaire-kanfura input,
.formulaire-kanfura select,
.formulaire-kanfura textarea {
  width: 100%;
  padding: 0.7rem;
  font-size: 1rem;
  border: 1px solid #ddd2c4;
  border-radius: 8px;
  background-color: #fffaf5;
  transition: border-color 0.3s ease;
}

.formulaire-kanfura input:focus,
.formulaire-kanfura select:focus,
.formulaire-kanfura textarea:focus {
  outline: none;
  border-color: #a37b55;
}

.formulaire-kanfura .btn {
  background-color: #5e3b23;
  color: #fffdf5;
  border: none;
  padding: 0.7rem 1.5rem;
  font-weight: bold;
}

.formulaire-kanfura .btn:hover {
  background-color: #3d2619;
}

.form-check-input {
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.5em;
  vertical-align: middle;
}

.form-check-label {
  font-size: 1rem;
  vertical-align: middle;
}

/* === CHAMPS FORMULAIRE KANFURA === */
form input[type="text"],
form input[type="email"],
form input[type="password"] {
  background-color: #fffdf5;
  border: 1.5px solid #a17c5b;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  color: #2a1e12;
  font-family: 'Lora', serif;
  box-shadow: none;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus {
  outline: none;
  border-color: #7e4f2b;
  background-color: #fffaf0;
  box-shadow: 0 0 0 3px rgba(165, 121, 84, 0.15);
}
