/* ==========================================================================
   Séné-Ouest SARL — Site vitrine
   Charte : bleu #1D6FB8 / vert #3AAA35, fond blanc dominant
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Inter:wght@400;500;600;700;900&display=swap");

:root {
  --blue: #1d6fb8;
  --blue-dark: #15578f;
  --blue-light: #eaf3fb;
  --green: #3aaa35;
  --green-dark: #2e8a2a;
  --green-light: #eaf8e9;
  --dark: #1a1d1f;
  --gray: #5f6b72;
  --gray-light: #f4f6f8;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 30, 40, 0.08);
  --shadow-hover: 0 18px 40px rgba(20, 30, 40, 0.16);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 76px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-title {
  font-family: "Baloo 2", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 88px 0;
}
.section--tight {
  padding: 56px 0;
}
.section--alt {
  background: var(--gray-light);
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 40px;
}

.section-header {
  text-align: center;
}
.section-header .section-subtitle {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    background-color 0.28s var(--ease),
    color 0.28s var(--ease);
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(29, 111, 184, 0.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(29, 111, 184, 0.4);
}

.btn-accent {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(58, 170, 53, 0.35);
}
.btn-accent:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(58, 170, 53, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline-dark:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}
.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  z-index: 1000;
  transition:
    box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(20, 30, 40, 0.08);
  background: rgba(255, 255, 255, 0.97);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 14px;
  padding: 6px 12px;
}
.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}
.brand-name {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--blue);
  line-height: 1;
  white-space: nowrap;
}
.brand-name span {
  color: var(--green);
}
.footer-intro .brand-name {
  color: var(--white);
}
.footer-intro .brand-name span {
  color: #9fe89b;
}

.nav-desktop {
  display: none;
}
@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 6px;
  }
}

.nav-link {
  position: relative;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.96rem;
  border-radius: 999px;
  color: var(--dark);
  transition:
    color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}
.nav-link:hover {
  color: var(--blue);
  background: var(--blue-light);
}
.nav-link.is-active {
  color: var(--blue);
  background: var(--blue-light);
}

.nav-item-dropdown {
  position: relative;
}
.nav-item-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-caret {
  transition: transform 0.25s var(--ease);
}
.nav-item-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease),
    visibility 0.25s;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark);
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    padding-left 0.2s var(--ease);
}
.dropdown-menu a:hover {
  background: var(--blue-light);
  color: var(--blue);
  padding-left: 16px;
}
.dropdown-menu .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-light);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.header-social svg {
  width: 16px;
  height: 16px;
}
.header-social a:hover {
  background: var(--blue-light);
  color: var(--blue);
  transform: translateY(-2px);
}

.header-social--desktop {
  display: none;
}
@media (min-width: 900px) {
  .header-social--desktop {
    display: flex;
    margin-right: 4px;
  }
}

.header-social--mobile {
  margin-top: 18px;
}

.header-cta {
  display: none;
}
@media (min-width: 900px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Mobile toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
}
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
  z-index: 999;
  padding: 20px 24px 40px;
}
.nav-mobile.is-open {
  transform: translateX(0);
}
@media (min-width: 900px) {
  .nav-mobile {
    display: none;
  }
}

.nav-mobile .nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  font-size: 1.05rem;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 999px;
}
.accordion-trigger:hover {
  color: var(--blue);
  background: var(--blue-light);
}
.accordion-trigger .nav-caret {
  transition: transform 0.3s var(--ease);
}
.accordion-trigger.is-open .nav-caret {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
  padding-left: 12px;
}
.accordion-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--gray);
}
.accordion-panel a:hover {
  color: var(--blue);
}
.accordion-panel .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.nav-mobile .header-cta {
  display: flex;
  margin-top: 18px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    var(--blue) 0%,
    #164f85 55%,
    #103a63 100%
  );
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.35;
  animation: float 9s ease-in-out infinite;
}
.hero-blob--1 {
  width: 420px;
  height: 420px;
  background: var(--green);
  top: -120px;
  right: -100px;
}
.hero-blob--2 {
  width: 300px;
  height: 300px;
  background: #ffffff;
  bottom: -80px;
  left: -60px;
  opacity: 0.12;
  animation-delay: -3s;
}
.hero-blob--3 {
  width: 180px;
  height: 180px;
  background: var(--green);
  bottom: 12%;
  right: 12%;
  opacity: 0.2;
  animation-delay: -6s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-20px, 24px) scale(1.06);
  }
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.float-bottle {
  position: absolute;
  bottom: -140px;
  opacity: 0;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
  animation: float-rise linear infinite;
  will-change: transform, opacity;
}
@keyframes float-rise {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  8% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(-58vh) rotate(var(--tilt, 8deg));
  }
  92% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-125vh) rotate(calc(var(--tilt, 8deg) * -1));
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
  text-align: center;
  color: var(--white);
}
.hero-content .eyebrow {
  color: #9fe89b;
}
.hero-title {
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  color: var(--white);
  max-width: 1000px;
  margin: 0 auto 20px;
}
.hero-title .hl {
  color: #9fe89b;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 620px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.88);
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1.is-visible {
  transition-delay: 0.1s;
}
.reveal-delay-2.is-visible {
  transition-delay: 0.2s;
}
.reveal-delay-3.is-visible {
  transition-delay: 0.3s;
}
.reveal-delay-4.is-visible {
  transition-delay: 0.4s;
}

/* ==========================================================================
   About summary (home) & About page
   ========================================================================== */
.about-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
@media (min-width: 900px) {
  .about-grid--reverse .about-photo {
    order: 2;
  }
}

.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3.2;
  box-shadow: var(--shadow);
}
.about-photo svg {
  width: 100%;
  height: 100%;
}
.about-photo img.brand-logo-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 48px;
  box-sizing: border-box;
}
.about-photo img.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-photo img.about-photo-img--contain {
  object-fit: contain;
  background: var(--white);
}
.about-history-photo {
  display: none;
}
@media (min-width: 900px) {
  body[data-page="qui-sommes-nous"] .about-photo svg {
    display: none;
  }
  body[data-page="qui-sommes-nous"] .about-history-photo {
    display: block;
  }
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  padding: 16px 20px;
  text-align: center;
  min-width: 120px;
}
.about-badge strong {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.7rem;
  color: var(--blue);
}
.about-badge span {
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 600;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 16px;
}
.about-text .btn {
  margin-top: 12px;
}

@media (max-width: 599px) {
  body[data-page="qui-sommes-nous"] .about-text {
    background:
      linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
      url("../img/sene-ouest-arriere-plan.jpg") center/cover no-repeat;
    border-radius: var(--radius);
    padding: 24px;
  }
  body[data-page="qui-sommes-nous"] .about-text p {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    color: #0a0a0a;
  }
  body[data-page="qui-sommes-nous"] .about-grid .about-photo {
    display: none;
  }
}

.maison-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  margin-bottom: 18px;
}
.maison-title .word {
  display: inline-block;
}
.maison-title .word--accent {
  color: var(--green);
  font-size: 1.3em;
}
.maison-title .word--accent.reveal {
  transition: none;
  transform: translateY(36px) scale(0.6) rotate(-8deg);
}
.maison-title .word--accent.reveal.is-visible {
  animation: propre-pop 0.8s var(--ease) forwards;
}
@keyframes propre-pop {
  0% {
    transform: translateY(36px) scale(0.6) rotate(-8deg);
    opacity: 0;
  }
  55% {
    transform: translateY(-8px) scale(1.15) rotate(4deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* Values grid (about page) */
.values-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.value-icon svg {
  width: 28px;
  height: 28px;
}
.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.value-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ==========================================================================
   Marques (cards)
   ========================================================================== */
.brands-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.brand-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  isolation: isolate;
}
.brand-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: var(--shadow-hover);
}

.brand-card-media {
  aspect-ratio: 16/11;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  transition: transform 0.5s var(--ease);
}
.brand-card:hover .brand-card-media {
  transform: scale(1.05);
}
.brand-card-media svg {
  width: 100%;
  height: 100%;
  max-height: 130px;
}
.brand-card-media img.brand-logo-img {
  width: auto;
  height: 100%;
  max-height: 130px;
  max-width: 100%;
  object-fit: contain;
}

.brand-card-body {
  padding: 22px 26px 28px;
}
.brand-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.brand-card-body p {
  color: var(--gray);
  font-size: 0.93rem;
  margin-bottom: 16px;
}
.brand-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}
.brand-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.brand-card:hover .brand-card-link svg {
  transform: translateX(5px);
}

.brand-card--foot .brand-card-link {
  color: var(--blue);
}
.brand-card--baobab .brand-card-link {
  color: var(--green);
}
.brand-card--ngalam .brand-card-link {
  color: var(--blue);
}

/* ==========================================================================
   Page marque — hero band
   ========================================================================== */
.brand-hero {
  padding: calc(var(--header-h) + 56px) 0 56px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.brand-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 20px;
  padding: 14px 24px;
  margin: 0 auto 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}
.brand-hero-badge img {
  height: 64px;
  width: auto;
  display: block;
}
.brand-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}
.brand-hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto;
}

.brand-hero--foot {
  background: linear-gradient(135deg, var(--blue), #123f6b);
}
.brand-hero--baobab {
  background: linear-gradient(135deg, var(--green), #1f6a1c);
}
.brand-hero--ngalam {
  background: linear-gradient(135deg, #164f85, var(--blue));
}

/* ==========================================================================
   Produits — grille de cards
   ========================================================================== */
.products-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
}
@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.product-media {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%;
}
.product-media-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.product-media svg {
  width: 62%;
  height: 62%;
  transition: transform 0.4s var(--ease);
}
.product-card:hover .product-media svg {
  transform: scale(1.08) rotate(-3deg);
}
.product-media img.product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.product-card:hover .product-media img.product-photo {
  transform: scale(1.06);
}
.product-media-inner:has(img[src*="4 savon ngalam.png"]) {
  padding: 0;
}

@media (max-width: 599px) {
  .product-media-inner:has(img[src*="Détergent Multi-Usage Baobab.png"]) {
    padding: 4px;
  }
  .product-media-inner:has(img[src*="4 savon ngalam.png"]) img.product-photo {
    transform: scale(1.15);
  }
  .product-card:hover
    .product-media-inner:has(img[src*="4 savon ngalam.png"])
    img.product-photo {
    transform: scale(1.22);
  }
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
}

.product-body {
  padding: 16px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.product-body h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}
.product-body p {
  color: var(--gray);
  font-size: 0.82rem;
  flex: 1;
}

/* ==========================================================================
   Localisation
   ========================================================================== */
.map-wrap {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .map-wrap {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
  border: none;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.location-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.location-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.location-icon svg {
  width: 20px;
  height: 20px;
}
.location-item h4 {
  font-size: 0.95rem;
  margin-bottom: 3px;
}
.location-item p,
.location-item a {
  color: var(--gray);
  font-size: 0.92rem;
}
.location-item a:hover {
  color: var(--blue);
}

@media (max-width: 599px) {
  .location-card .location-item {
    display: none;
  }
}

/* ==========================================================================
   Footer + Contact form
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #123f6b, #0d2c4c);
  color: rgba(255, 255, 255, 0.92);
  padding: 76px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.footer-intro .brand {
  margin-bottom: 18px;
}
.footer-intro .brand-logo-wrap {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.footer-intro p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 360px;
  margin-bottom: 22px;
  font-size: 0.93rem;
}

.footer-coords {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.footer-coords a,
.footer-coords span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s var(--ease);
}
.footer-coords a:hover {
  color: #9fe89b;
}
.footer-coords svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #9fe89b;
}

.social-row {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.social-btn svg {
  width: 19px;
  height: 19px;
}
.social-btn:hover {
  background: var(--green);
  transform: translateY(-4px);
}

/* Bouton flottant WhatsApp (site-wide) */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  z-index: 950;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.55;
  animation: whatsapp-pulse 2.4s ease-out infinite;
  z-index: -1;
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.55);
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@media (max-width: 599px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* Bouton flottant "Retour en haut" (mobile uniquement) */
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 96px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(29, 111, 184, 0.4);
  z-index: 950;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.scroll-top svg {
  width: 22px;
  height: 22px;
}
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 899px) {
  .scroll-top {
    display: flex;
  }
}

@media (max-width: 599px) {
  .scroll-top {
    right: 16px;
    bottom: 82px;
  }
}

.footer-form-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 32px;
}
.footer-form-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.footer-form-card .form-note {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.contact-form-card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.contact-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.contact-form-card .form-note {
  color: var(--gray);
  font-size: 0.92rem;
  margin-bottom: 26px;
}
.contact-form-card .field label {
  color: var(--dark);
}
.contact-form-card .field input,
.contact-form-card .field textarea {
  background: var(--gray-light);
}
.contact-form-card .form-feedback.success {
  background: var(--green-light);
  color: var(--green-dark);
}

.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}
@media (min-width: 600px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.field input,
.field textarea {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--dark);
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(58, 170, 53, 0.2);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field.has-error input,
.field.has-error textarea {
  border-color: #e2564f;
}
.field-error {
  display: none;
  color: #ffb3ae;
  font-size: 0.78rem;
}
.field.has-error .field-error {
  display: block;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-feedback {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-feedback.is-visible {
  display: flex;
}
.form-feedback.success {
  background: rgba(58, 170, 53, 0.18);
  color: #b7f0b2;
}
.form-feedback svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Contact page — coordinates
   ========================================================================== */
.contact-info-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 20px;
}
@media (min-width: 700px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-align: center;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.contact-info-card .location-icon {
  margin: 0 auto 14px;
}
.contact-info-card h4 {
  margin-bottom: 6px;
  font-size: 1rem;
}
.contact-info-card p,
.contact-info-card a {
  color: var(--gray);
  font-size: 0.92rem;
}
.contact-info-card a:hover {
  color: var(--blue);
}

/* ==========================================================================
   Page intro band (used on secondary pages)
   ========================================================================== */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 60px;
  background: var(--gray-light);
  text-align: center;
}
.page-hero .eyebrow {
}
.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
}
.page-hero p {
  color: var(--gray);
  max-width: 600px;
  margin: 14px auto 0;
}

/* Breadcrumb-ish back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
  margin-bottom: 20px;
}
.back-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.back-link:hover svg {
  transform: translateX(-4px);
}

/* Utilities */
.mt-0 {
  margin-top: 0 !important;
}
.text-center {
  text-align: center;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
