/* =========================================================
   BRAHAMA NATURE — Style principal du site
   ========================================================= */

:root {
  --brahama-primary: #2E7D32;
  --brahama-secondary: #F9A825;
  --brahama-dark: #1B5E20;
  --brahama-cream: #FBF8F0;
  --brahama-text: #333333;
}

* { box-sizing: border-box; }

body {
  font-family: 'Nunito', Arial, sans-serif;
  color: var(--brahama-text);
  background-color: #ffffff;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .brand-fallback {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  color: var(--brahama-dark);
}

a { text-decoration: none; color: var(--brahama-primary); transition: color .2s ease; }
a:hover { color: var(--brahama-secondary); }

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--brahama-dark);
  color: #fff;
}
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--brahama-secondary); }

/* ---------- Header / Nav ---------- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  z-index: 1030;
}
.brand-fallback { font-size: 1.4rem; font-weight: 800; color: var(--brahama-primary); }
.navbar-nav .nav-link {
  color: var(--brahama-text);
  font-weight: 600;
  padding: .5rem 1rem !important;
  position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--brahama-primary); }

.btn-brahama-primary {
  background: var(--brahama-primary);
  border-color: var(--brahama-primary);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
}
.btn-brahama-primary:hover {
  background: var(--brahama-dark);
  border-color: var(--brahama-dark);
  color: #fff;
}
.btn-brahama-outline {
  border: 2px solid var(--brahama-primary);
  color: var(--brahama-primary);
  font-weight: 600;
  border-radius: 50px;
  background: transparent;
}
.btn-brahama-outline:hover {
  background: var(--brahama-primary);
  color: #fff;
}
.btn-brahama-secondary {
  background: var(--brahama-secondary);
  border-color: var(--brahama-secondary);
  color: #2b2200;
  font-weight: 700;
  border-radius: 50px;
}
.btn-brahama-secondary:hover { filter: brightness(0.95); color: #2b2200; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, rgba(27,94,32,.92), rgba(46,125,50,.85)), var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.hero h1 { color: #fff; font-size: 2.8rem; font-weight: 800; }
.hero p.lead { color: #f0f0e8; font-size: 1.2rem; max-width: 600px; }
.hero .badge-natural {
  background: var(--brahama-secondary);
  color: #2b2200;
  padding: .4rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  display: inline-block;
  margin-bottom: 1.2rem;
}

/* ---------- Sections generales ---------- */
.section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .eyebrow {
  color: var(--brahama-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .85rem;
}
.section-title h2 { font-size: 2.2rem; margin-top: .5rem; }
.section-title p { color: #666; max-width: 620px; margin: 1rem auto 0; }
.bg-cream { background: var(--brahama-cream); }

/* ---------- Cards produits ---------- */
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,.04);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}
.product-card .img-wrap { height: 220px; overflow: hidden; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .img-wrap img { transform: scale(1.08); }
.product-card .body { padding: 1.3rem; }
.product-card .cat-badge {
  font-size: .72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brahama-primary);
  letter-spacing: .5px;
}

/* ---------- Cards articles ---------- */
.article-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  height: 100%;
}
.article-card .img-wrap { height: 190px; overflow: hidden; }
.article-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.article-card .body { padding: 1.2rem; }
.article-card .meta { font-size: .8rem; color: #888; }

/* ---------- Chiffres clés / atouts ---------- */
.feature-icon {
  width: 64px; height: 64px;
  background: rgba(46,125,50,.1);
  color: var(--brahama-primary);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

/* ---------- Galerie ---------- */
.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1/1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.1); }

/* ---------- Publicité / bannieres ---------- */
.ad-banner { max-height: 220px; object-fit: cover; width: 100%; }

/* ---------- Partenaires ---------- */
.partner-logo img { height: 55px; filter: grayscale(100%); opacity: .7; transition: .25s; }
.partner-logo:hover img { filter: none; opacity: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brahama-dark); color: #e4ede4; }
.site-footer h5, .site-footer h6 { color: #fff; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: #cfe0cf; }
.footer-links a:hover { color: var(--brahama-secondary); }
.footer-social {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.footer-social:hover { background: var(--brahama-secondary); color: #2b2200; }
.footer-bottom { background: rgba(0,0,0,.2); color: #b9cdb9; }
.text-light-50 { color: #cfe0cf; }

/* ---------- WhatsApp flottant ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #25D366;
  color: #fff;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  z-index: 1050;
  animation: pulse 2.2s infinite;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Formulaire contact ---------- */
.contact-form .form-control, .contact-form .form-select {
  border-radius: 10px;
  padding: .7rem 1rem;
  border: 1px solid #ddd;
}
.contact-form .form-control:focus { border-color: var(--brahama-primary); box-shadow: 0 0 0 .2rem rgba(46,125,50,.15); }

/* ---------- Page interne (contenu texte) ---------- */
.page-content img { max-width: 100%; height: auto; border-radius: 10px; }
.page-content h2 { margin-top: 1.8rem; }
.breadcrumb-zone { background: var(--brahama-cream); padding: 25px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .hero { padding: 60px 0 80px; text-align: center; }
  .hero p.lead { margin: 0 auto; }
  .section { padding: 45px 0; }
}
