/* ==========================================================================
   0. VARIABLES & THÈME (CHARTE GRAPHIQUE)
   ========================================================================== */

:root {
  /* Palette de marque principale (Orange Bonny) */
  --bonny-orange: #ff6b35;
  --bonny-orange-hover: #f34e11;
  --bonny-orange-active: #db3f04;
  --bonny-orange-light: #fcefe3;
  --bonny-orange-border: #f3be94;
  --bonny-orange-shadow: rgba(255, 107, 53, 0.35);

  /* Palette secondaire & Hero */
  --brand-dark-teal: #0f3d3e;
  --brand-yellow: #f4b41a;
  --brand-yellow-hover: #d99f13;
  --brand-navy: #214177;
  --brand-navy-hover: #172e54;
  --brand-teal: #1592a6;
  --brand-teal-hover: #0e6b7b;

  /* Neutres, typographie & surfaces */
  --bonny-text-dark: #2b2b2b;
  --bonny-text-heading: #111827;
  --bonny-text-muted: #8d99ae;
  --bonny-bg-light: #f7f7f7;
  --bonny-border-color: #e9ecef;
}


/* ==========================================================================
   1. UTILITAIRES & TYPOGRAPHIE
   ========================================================================== */

.page-title {
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--bonny-text-heading);
}

.fw-black {
  font-weight: 900;
}

.tracking-tight {
  letter-spacing: -0.035em;
}

.tracking-wide {
  letter-spacing: 0.08em;
}

.date-meta {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6c757d;
}

/* Couleurs de texte personnalisées */
.text-orange {
  color: var(--bonny-orange) !important;
  transition: color 0.2s ease-in-out;
}

a.text-orange:hover,
a.text-orange:focus,
.text-orange[href]:hover,
.text-orange[href]:focus {
  color: var(--bonny-orange-hover) !important;
}

.text-footer-muted {
  color: var(--bonny-text-muted) !important;
}


/* ==========================================================================
   2. COMPOSANTS GÉNÉRIQUES & LIENS
   ========================================================================== */

/* Badges */
.badge.bg-primary.text-orange {
  color: var(--bonny-orange) !important;
}

.badge.bg-primary.text-orange i {
  color: var(--bonny-orange) !important;
}

.promo-tag-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border-radius: 50rem;
  background-color: #dc3545;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(220, 53, 69, 0.4);
}

/* Boutons type pilule (Pills) */
.btn-pill-navy {
  display: inline-block;
  padding: 0.45rem 1.25rem;
  border: none;
  border-radius: 50rem;
  background-color: var(--brand-navy);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
}

.btn-pill-navy:hover,
.btn-pill-navy:focus {
  background-color: var(--brand-navy-hover);
  color: #ffffff;
}

.btn-pill-teal {
  display: inline-block;
  padding: 0.45rem 1.25rem;
  border: none;
  border-radius: 50rem;
  background-color: var(--brand-teal);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
}

.btn-pill-teal:hover,
.btn-pill-teal:focus {
  background-color: var(--brand-teal-hover);
  color: #ffffff;
}

/* Lien d'action simple */
.link-learn-more {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  background: none;
  color: #495057;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.link-learn-more:hover,
.link-learn-more:focus {
  color: var(--brand-teal);
  text-decoration: underline;
}


/* ==========================================================================
   3. SECTION : HERO BANNER
   ========================================================================== */

.hero-image-col img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  z-index: 1;
  background-color: var(--brand-dark-teal);
  color: #ffffff;
}

.hero-subtitle {
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.hero-title {
  margin-bottom: 2.5rem;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.btn-custom-cta {
  display: inline-block;
  padding: 0.75rem 2.2rem;
  border: none;
  border-radius: 50rem;
  background-color: var(--brand-yellow);
  color: #1e1e1e;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease-in-out;
}

.btn-custom-cta:hover,
.btn-custom-cta:focus {
  background-color: var(--brand-yellow-hover);
  color: #000000;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Découpe incurvée Hero (Desktop >= 768px) */
@media (min-width: 768px) {
  .hero-image-col {
    min-height: 500px;
    clip-path: ellipse(110% 120% at 0% 50%);
    z-index: 2;
  }
}


/* ==========================================================================
   4. SECTION : CARTES DÉCOUVERTE (DISCOVERY CARDS)
   ========================================================================== */

.discovery-card {
  overflow: hidden;
  border-radius: 1rem;
  background-color: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.discovery-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-5px);
}

.card-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================================
   5. SECTION : PRODUITS SUR DEMANDE (CAPSULES)
   ========================================================================== */

.produits-sur-demande-container {
  padding: 1.5rem;
  background-color: var(--bonny-bg-light);
}

.produits-sur-demande-container .section-title {
  color: #555555;
  letter-spacing: 0.5px;
}

.btn-produit-capsule {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--bonny-border-color);
  border-radius: 6px;
  background-color: #ffffff;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
}

.btn-produit-capsule .custom-bullet {
  flex-shrink: 0;
  width: 10px;
  min-width: 10px;
  height: 10px;
  margin-right: 12px;
  border-radius: 50%;
  background-color: var(--bonny-orange);
  transition: background-color 0.2s ease-in-out;
}

.btn-produit-capsule .capsule-text {
  overflow: hidden;
  color: var(--bonny-text-dark);
  font-size: 0.88rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease-in-out;
}

/* Survol & Focus Capsule */
.btn-produit-capsule:hover {
  border-color: var(--bonny-orange);
  background-color: #f5f5f5;
  box-shadow: 0 3px 8px rgba(255, 107, 53, 0.15);
  transform: translateY(-1px);
}

.btn-produit-capsule:hover .capsule-text {
  color: var(--bonny-orange);
}

/* État actif Capsule */
.btn-produit-capsule.active {
  border-color: var(--bonny-orange-border);
  background-color: var(--bonny-orange-light);
}

.btn-produit-capsule.active .capsule-text {
  color: #1a1a1a;
  font-weight: 600;
}


/* ==========================================================================
   6. SECTION : PIED DE PAGE (FOOTER)
   ========================================================================== */

.footer-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 6px;
  background-color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer-heading {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.schedule-block > div {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.schedule-block > div:last-child {
  border-bottom: none;
}

.btn-devis {
  display: inline-block;
  border: 1px solid var(--bonny-orange);
  border-radius: 4px;
  background-color: var(--bonny-orange);
  color: #ffffff !important;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-devis:hover,
.btn-devis:focus {
  border-color: var(--bonny-orange-hover);
  background-color: var(--bonny-orange-hover);
  color: #ffffff !important;
  box-shadow: 0 6px 14px var(--bonny-orange-shadow);
  transform: translateY(-2px);
}

.btn-devis:active {
  border-color: var(--bonny-orange-active);
  background-color: var(--bonny-orange-active);
  box-shadow: 0 2px 6px rgba(255, 107, 53, 0.2);
  transform: translateY(0);
}

.border-footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 1;
}