/*
   RESET
 */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: #fffdf8;
  color: #24201d;
  font-family: "Inter", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

/*
   HEADER
*/

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 32px;

  background-color: #ffffff;
  border-bottom: 1px solid #e8e2d9;
}

/* 
   HEADER LEFT
*/

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  color: #24201d;

  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;

  white-space: nowrap;
}

/*
   HAMBURGER
 */

.sidebar-toggle {
    position: fixed;

    top: 0;
    left: 0;

    width: 1px;
    height: 1px;

    margin: 0;
    padding: 0;

    opacity: 0;

    overflow: hidden;

    clip-path: inset(50%);
    white-space: nowrap;
}

.menu-button {
    width: 40px;
    height: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    cursor: pointer;

    border-radius: 8px;

    transition:
        background-color 0.2s ease,
        transform 0.15s ease;
}

/* Survol */

.menu-button:hover {
    background-color: #F1F7F3;
}

.menu-button:hover span {
    background-color: #1B6B45;
}

/* Effet de pression */

.menu-button:active {
    transform: scale(0.88);
}


/* ========================================
   BARRES PAR DÉFAUT
   SIDEBAR FERMÉE → CROIX
======================================== */

.menu-button span {
    display: block;

    width: 20px;
    height: 2px;

    background-color: #24201D;

    border-radius: 2px;

    transform-origin: center;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        background-color 0.2s ease;
}

/* Croix */

.menu-button span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.menu-button span:nth-child(2) {
    opacity: 0;
}

.menu-button span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}


/* ========================================
   SIDEBAR OUVERTE → 3 BARRES
======================================== */

.sidebar-toggle:checked ~ .site-header .menu-button span:first-child {
    transform: translateY(0) rotate(0);
}

.sidebar-toggle:checked ~ .site-header .menu-button span:nth-child(2) {
    opacity: 1;
}

.sidebar-toggle:checked ~ .site-header .menu-button span:last-child {
    transform: translateY(0) rotate(0);
}


/* 
   MAIN NAVIGATION
*/

.main-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: #6b625c;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;

  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #1b6b45;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 72px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: #1b6b45;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* 
   HEADER CTA
*/

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 40px;
  padding: 0 18px;

  background-color: #1b6b45;
  color: #ffffff;

  border-radius: 8px;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.header-cta:hover {
  background-color: #155437;
}

.header-cta:active {
  transform: translateY(1px);
}

/* 
   SIDEBAR
*/

.sidebar {
  position: fixed;

  top: 72px;
  left: 0;

  width: 250px;
  height: calc(100vh - 72px);

  background-color: #ffffff;

  border-right: 1px solid #e8e2d9;

  overflow-y: auto;

  transform: translateX(0);

  transition: transform 0.3s ease;

  z-index: 900;
}

.sidebar-content {
  padding: 32px 16px;
}

.sidebar-label {
  margin-bottom: 16px;
  padding: 0 12px;

  color: #6b625c;

  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;

  letter-spacing: 0.5px;
}

.sidebar-navigation {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  min-height: 44px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 0 12px;

  color: #6b625c;

  border-radius: 8px;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
  background-color: #f1f7f3;
  color: #1b6b45;
}

.sidebar-icon {
  width: 20px;

  display: inline-flex;
  justify-content: center;

  font-size: 16px;
  color: currentColor;
}

.sidebar-link {
  position: relative;
}
.sidebar-link::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  background-color: #1b6b45;
  border-radius: 0 3px 3px 0;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.sidebar-link:hover::before,
.sidebar-link.active::before {
  transform: scaleY(1);
}

/* 
   SIDEBAR TOGGLE
*/

.sidebar-toggle:checked ~ .sidebar {
  transform: translateX(-100%);
}
main {
    margin-left: 250px;
    transition: margin-left 0.3s ease;
    container-type: inline-size; /* permet aux grilles de réagir à la largeur réelle de <main> (sidebar ouverte ou fermée) */
}

.sidebar-toggle:checked ~ main {
    margin-left: 0;
}


/* Footer toujours sur toute la largeur */
.site-footer {
    margin-left: 0;
}

/* ========================================
   HERO
======================================== */

.hero {
  min-height: calc(100vh - 72px);

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 64px);

  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 64px);

  background-color: #fffdf8;
}

.hero-content {
  max-width: 620px;
}

.hero-kicker {
  margin-bottom: 16px;

  color: #1b6b45;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;

  letter-spacing: 1.2px;
}

.hero-title {
  margin-bottom: 24px;

  color: #24201d;

  font-family: "Poppins", sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.hero-description {
  max-width: 520px;
  margin-bottom: 32px;

  color: #6b625c;

  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0 24px;

  background-color: #1b6b45;
  color: #ffffff;

  border-radius: 8px;

  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.hero-cta:hover {
  background-color: #155437;
}

.hero-cta:active {
  transform: translateY(1px);
}

/* ========================================
   HERO PRODUCTS
======================================== */

.hero-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: clamp(12px, 2vw, 24px);
}

.hero-product {
  min-height: clamp(220px, 29vw, 420px);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: clamp(12px, 2vw, 32px);

  background-color: #ffffff;

  border: 1px solid #e8e2d9;
  border-radius: 16px;
}

.hero-product-image {
  width: 100%;
  height: clamp(160px, 22vw, 320px);

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #f1f7f3;

  border-radius: 12px;

  color: #1b6b45;

  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 600;
}

/* ========================================
   PRODUCTS
======================================== */

.products {
  padding: 96px 64px;

  background-color: #ffffff;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 48px;

  text-align: center;
}

.section-kicker {
  margin-bottom: 12px;

  color: #1b6b45;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;

  letter-spacing: 1.2px;
}

.section-title {
  margin-bottom: 16px;

  color: #24201d;

  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
}

.section-description {
  color: #6b625c;

  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.products-grid {
  max-width: 1000px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  overflow: hidden;

  background-color: #fffdf8;

  border: 1px solid #e8e2d9;
  border-radius: 16px;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 12px 32px rgba(36, 32, 29, 0.08);
}

.product-image {
  height: 320px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 16px;

  background-color: #f1f7f3;

  border-radius: 12px;

  color: #1b6b45;

  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 600;
}

.product-content {
  padding: 8px 24px 28px;
}

.product-brand {
  margin-bottom: 6px;

  color: #1b6b45;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.product-title {
  margin-bottom: 12px;

  color: #24201d;

  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.product-price {
  margin-bottom: 20px;

  color: #24201d;

  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 0 20px;

  background-color: #1b6b45;
  color: #ffffff;

  border-radius: 8px;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;

  transition: background-color 0.2s ease;
}

.product-cta:hover {
  background-color: #155437;
}

/* ========================================
   PACKS
======================================== */

.packs {
  padding: 96px 64px;

  background-color: #fffdf8;
}

.packs-grid {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pack-card {
  min-height: 320px;

  display: flex;
  flex-direction: column;

  padding: 28px 24px;

  background-color: #ffffff;

  border: 1px solid #e8e2d9;
  border-radius: 12px;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.pack-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 12px 32px rgba(36, 32, 29, 0.08);
}

.pack-card-featured {
  border: 2px solid #1b6b45;
}

.pack-label {
  margin-bottom: 20px;

  color: #1b6b45;

  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;

  letter-spacing: 1px;
}

.pack-quantity {
  margin-bottom: 4px;

  color: #24201d;

  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.pack-units {
  margin-bottom: 24px;

  color: #6b625c;

  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.pack-price {
  margin-top: auto;
  margin-bottom: 24px;

  color: #24201d;

  font-family: "Poppins", sans-serif;
  font-size: 21px;
  font-weight: 700;
}

.pack-cta {
  min-height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 16px;

  background-color: #1b6b45;
  color: #ffffff;

  border-radius: 8px;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;

  transition: background-color 0.2s ease;
}

.pack-cta:hover {
  background-color: #155437;
}

/* ========================================
   WHY US
======================================== */

.why-us {
  padding: 96px 64px;

  background-color: #ffffff;
}

.why-us-grid {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.why-us-card {
  padding: 28px 24px;

  background-color: #fffdf8;

  border: 1px solid #e8e2d9;
  border-radius: 12px;
}

.why-us-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;

  background-color: #f1f7f3;
  color: #1b6b45;

  border-radius: 8px;

  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.why-us-title {
  margin-bottom: 10px;

  color: #24201d;

  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 600;
}

.why-us-description {
  color: #6b625c;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

/* ========================================
   HOW IT WORKS
======================================== */
.how-it-works {
  padding: 96px 64px;
  background-color: #fffdf8;
}
.steps-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.step-card {
  padding: 32px 28px;
  background-color: #ffffff;
  border: 1px solid #e8e2d9;
  border-radius: 12px;
}
.step-number {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background-color: #f1f7f3;
  color: #1b6b45;
  border-radius: 50%;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 700;
}
.step-title {
  margin-bottom: 12px;
  color: #24201d;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}
.step-description {
  color: #6b625c;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

/* ========================================
   DELIVERY
======================================== */

.delivery {
  padding: 96px 64px;

  background-color: #ffffff;
}

.delivery-content {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: 64px;
}

.delivery-information {
  max-width: 560px;
}

.delivery-title {
  margin-bottom: 20px;

  color: #24201d;

  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.delivery-description {
  margin-bottom: 28px;

  color: #6b625c;

  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.delivery-details {
  display: flex;
  flex-direction: column;
  gap: 18px;

  margin-bottom: 32px;

  list-style: none;
}

.delivery-details li {
  display: flex;
  align-items: center;
  gap: 12px;

  color: #24201d;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.delivery-detail-icon {
  width: 36px;
  height: 36px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #f1f7f3;
  color: #1b6b45;

  border-radius: 8px;

  font-size: 12px;
  font-weight: 700;
}

.delivery-cta {
  min-height: 48px;
  padding: 0 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background-color: #1b6b45;
  color: #ffffff;

  border-radius: 8px;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;

  transition: background-color 0.2s ease;
}

.delivery-cta:hover {
  background-color: #155437;
}

.delivery-visual {
  min-height: 360px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 32px;

  background-color: #f1f7f3;

  border-radius: 16px;
}

.delivery-visual-card {
  width: 100%;
  max-width: 300px;

  padding: 40px 24px;

  background-color: #ffffff;

  border: 1px solid #e8e2d9;
  border-radius: 16px;

  text-align: center;

  box-shadow: 0 12px 32px rgba(36, 32, 29, 0.06);
}

.delivery-city {
  margin-bottom: 8px;

  color: #24201d;

  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.delivery-country {
  color: #6b625c;

  font-family: "Inter", sans-serif;
  font-size: 15px;
}

/* ========================================
   WHATSAPP CTA
======================================== */

.whatsapp-cta {
  padding: 80px 64px;

  background-color: #fffdf8;
}

.whatsapp-cta-content {
  max-width: 1100px;
  margin: 0 auto;

  padding: 64px 48px;

  background-color: #1b6b45;

  border-radius: 16px;

  text-align: center;
}

.whatsapp-cta-kicker {
  margin-bottom: 16px;

  color: #f4b942;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;

  letter-spacing: 1.2px;
}

.whatsapp-cta-title {
  margin-bottom: 20px;

  color: #ffffff;

  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}

.whatsapp-cta-description {
  max-width: 620px;
  margin: 0 auto 32px;

  color: #ffffff;

  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.whatsapp-cta-button {
  min-height: 50px;
  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  background-color: #ffffff;
  color: #1b6b45;

  border-radius: 8px;

  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.whatsapp-cta-button:hover {
  background-color: #f4b942;
}

.whatsapp-cta-button:active {
  transform: translateY(1px);
}

/* ========================================
   FAQ
======================================== */

.faq {
  padding: 96px 64px;

  background-color: #ffffff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #fffdf8;

  border: 1px solid #e8e2d9;
  border-radius: 12px;

  overflow: hidden;
}

.faq-question {
  min-height: 68px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 20px 24px;

  color: #24201d;

  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;

  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;

  color: #1b6b45;

  font-size: 24px;
  font-weight: 400;

  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 24px;
}

.faq-answer p {
  color: #6b625c;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

.faq-question:focus-visible {
  outline: 2px solid #1b6b45;
  outline-offset: -4px;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  width: 100%;
  padding: 64px 64px 24px;
  background-color: #24201d;
  color: #ffffff;
}
.footer-content {
  max-width: 1280px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand {
  max-width: 280px;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 700;
}
.footer-description {
  color: #d1cbc5;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
.footer-heading {
  margin-bottom: 20px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer-navigation a,
.footer-contact-link {
  color: #d1cbc5;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.2s ease;
}
.footer-navigation a:hover,
.footer-contact-link:hover {
  color: #f4b942;
}
.footer-contact-text {
  margin-bottom: 16px;
  color: #d1cbc5;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
.footer-contact-link {
  display: inline-block;
  color: #f4b942;
  font-weight: 600;
}
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #514a44;
  text-align: center;
}
.footer-bottom p {
  color: #d1cbc5;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.6;
}
/* ========================================
   FOOTER — ESPACE POUR LA SIDEBAR
======================================== */

.site-footer {
    container-type: inline-size;
    margin-left: 250px;
    width: calc(100% - 250px);

    transition:
        margin-left 0.3s ease,
        width 0.3s ease;
}

.sidebar-toggle:checked ~ .site-footer {
    margin-left: 0;
    width: 100%;
}

/* ========================================
   IMAGES PRODUITS
   (mix-blend-mode: multiply fond blanc des JPEG se fond dans le cadre vert clair)
======================================== */

.hero-product-image img,
.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-image {
  padding: 12px;
}

/* ========================================
   ICÔNES SVG (héritent de la couleur du texte)
======================================== */

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.sidebar-icon .icon {
  width: 20px;
  height: 20px;
}

.why-us-icon .icon {
  width: 24px;
  height: 24px;
}

.delivery-detail-icon .icon {
  width: 20px;
  height: 20px;
}

/* ========================================
   FOOTER — RÉSEAUX SOCIAUX
======================================== */

.footer-social {
  margin-top: 20px;

  display: flex;
  flex-direction: column;
  gap: 4px;

  list-style: none;
}

.footer-social a {
  min-height: 40px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: #d1cbc5;

  font-family: "Inter", sans-serif;
  font-size: 14px;

  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: #f4b942;
}

.footer-social .icon {
  width: 20px;
  height: 20px;
}

/* ========================================
   ACCESSIBILITÉ
======================================== */

/* Ancres : le titre ne passe plus sous le header fixe */
main section[id] {
  scroll-margin-top: 84px;
}

/* Focus clavier visible */
a:focus-visible,
.sidebar-toggle:focus-visible ~ .site-header .menu-button {
  outline: 3px solid #1b6b45;
  outline-offset: 3px;
}

.whatsapp-cta a:focus-visible,
.site-footer a:focus-visible {
  outline-color: #f4b942;
}

/* Animations réduites si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* ========================================
   PHOTO DE LA SECTION LIVRAISON
======================================== */

.delivery-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 5;
  object-fit: cover;

  margin-bottom: 20px;

  border-radius: 12px;
}

/* ========================================
   BOUTON MODE CLAIR / SOMBRE (CSS seul, sans JavaScript)
======================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-button {
  width: 40px;
  height: 40px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #24201d;
  border: 1px solid #e8e2d9;
  border-radius: 8px;

  cursor: pointer;
  transition: background-color 0.2s ease;
}

.theme-button:hover {
  background-color: #f1f7f3;
}

.theme-button .icon {
  width: 20px;
  height: 20px;
}

.theme-button .icon-sun,
:root:has(#theme-toggle:checked) .theme-button .icon-moon {
  display: none;
}

:root:has(#theme-toggle:checked) .theme-button .icon-sun {
  display: block;
}

:root:has(#theme-toggle:focus-visible) .theme-button {
  outline: 3px solid #1b6b45;
  outline-offset: 3px;
}

/* ========================================
   MODE SOMBRE
======================================== */

:root:has(#theme-toggle:checked) {
  color-scheme: dark;
}

:root:has(#theme-toggle:checked) :is(body, .hero, .packs, .how-it-works, .whatsapp-cta, .product-card, .why-us-card, .faq-item) {
  background-color: #161412;
}

:root:has(#theme-toggle:checked) :is(.site-header, .sidebar, .hero-product, .products, .pack-card, .why-us, .step-card, .delivery, .delivery-visual-card, .faq) {
  background-color: #1f1c19;
}

:root:has(#theme-toggle:checked) :is(.delivery-visual, .why-us-icon, .step-number, .delivery-detail-icon, .menu-button:hover, .theme-button:hover, .sidebar-link:hover, .sidebar-link.active) {
  background-color: #23302a;
}

:root:has(#theme-toggle:checked) :is(.site-header, .sidebar, .hero-product, .product-card, .pack-card:not(.pack-card-featured), .why-us-card, .step-card, .delivery-visual-card, .faq-item, .theme-button) {
  border-color: #3a342f;
}

:root:has(#theme-toggle:checked) :is(body, .logo, .hero-title, .section-title, .product-title, .product-price, .pack-quantity, .pack-price, .why-us-title, .step-title, .delivery-title, .delivery-details li, .delivery-city, .faq-question, .theme-button) {
  color: #f3eee8;
}

:root:has(#theme-toggle:checked) :is(.nav-link, .sidebar-label, .sidebar-link, .hero-description, .section-description, .pack-units, .why-us-description, .step-description, .delivery-description, .delivery-country, .faq-answer p) {
  color: #b9b0a8;
}

:root:has(#theme-toggle:checked) :is(.nav-link:hover, .nav-link.active, .sidebar-link:hover, .sidebar-link.active, .hero-kicker, .section-kicker, .product-brand, .pack-label, .why-us-icon, .step-number, .delivery-detail-icon, .faq-icon) {
  color: #5fc08c;
}

:root:has(#theme-toggle:checked) .nav-link::after,
:root:has(#theme-toggle:checked) .sidebar-link::before {
  background-color: #5fc08c;
}

:root:has(#theme-toggle:checked) .menu-button span {
  background-color: #f3eee8;
}

:root:has(#theme-toggle:checked) .menu-button:hover span {
  background-color: #5fc08c;
}

:root:has(#theme-toggle:checked) .site-footer {
  background-color: #0d0b0a;
}

/* ========================================
   LIVRAISON : ZONES, FRAIS, QUARTIERS
======================================== */

.delivery-zones {
  max-width: 1100px;
  margin: 64px auto 0;
}

.delivery-zones-title {
  color: #24201d;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 600;
}

.delivery-zones-note {
  max-width: 560px;
  margin: 8px auto 32px;
  color: #6b625c;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.zones-grid,
.cities-grid {
  display: grid;
  gap: 20px;
}

.zones-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cities-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 20px;
}

.zone-card,
.city-card {
  padding: 24px;
  background-color: #fffdf8;
  border: 1px solid #e8e2d9;
  border-radius: 12px;
}

.zone-card {
  text-align: center;
}

.zone-name {
  margin-bottom: 8px;
  color: #6b625c;
  font-family: "Inter", sans-serif;
  font-size: 15px;
}

.zone-price {
  color: #1b6b45;
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 600;
}

.city-name {
  margin-bottom: 8px;
  color: #24201d;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.city-districts {
  color: #6b625c;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

.delivery-conditions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  list-style: none;
  color: #24201d;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* ========================================
   REVENDEURS
======================================== */

.reseller-banner {
  max-width: 1100px;
  margin: 32px auto 0;
  padding: 32px;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  background-color: #ffffff;
  border: 1px solid #e8e2d9;
  border-radius: 12px;
}

.reseller-content {
  flex: 1 1 320px;
}

.reseller-title {
  margin-bottom: 8px;
  color: #24201d;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.reseller-text {
  color: #6b625c;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

#resellers {
  scroll-margin-top: 84px;
}

.whatsapp-cta-hours {
  margin-top: 20px;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

/* Mode sombre : nouveaux blocs */

:root:has(#theme-toggle:checked) :is(.zone-card, .city-card) {
  background-color: #161412;
  border-color: #3a342f;
}

:root:has(#theme-toggle:checked) .reseller-banner {
  background-color: #1f1c19;
  border-color: #3a342f;
}

:root:has(#theme-toggle:checked) :is(.delivery-zones-title, .city-name, .delivery-conditions, .reseller-title) {
  color: #f3eee8;
}

:root:has(#theme-toggle:checked) :is(.delivery-zones-note, .zone-name, .city-districts, .reseller-text) {
  color: #b9b0a8;
}

:root:has(#theme-toggle:checked) .zone-price {
  color: #5fc08c;
}

/* ========================================
   PAGES SECONDAIRES (mentions légales, 404) ET LIENS DE FOOTER
======================================== */

.footer-contact-text a,
.footer-bottom a {
  color: inherit;
  text-decoration: underline;
}

.footer-contact-text a:hover,
.footer-bottom a:hover {
  color: #f4b942;
}

.legal-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: #ffffff;
  border-bottom: 1px solid #e8e2d9;
}

.legal-back {
  color: #1b6b45;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #3b3531;
}

.legal-page h1 {
  margin-bottom: 8px;
  color: #24201d;
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  line-height: 1.25;
}

.legal-page h2 {
  margin: 36px 0 8px;
  color: #24201d;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-page a {
  color: #1b6b45;
  text-decoration: underline;
}

.legal-update {
  color: #6b625c;
  font-size: 14px;
}

/* ========================================
   GALERIE REVENDEURS
======================================== */

.reseller-gallery {
  flex: 1 1 100%;
  margin-top: 8px;

  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ratio-square {
  --ar: 1;
}

.ratio-wide {
  --ar: 1.776;
}

.ratio-portrait {
  --ar: 0.858;
}

.reseller-gallery figure {
  flex: var(--ar) 1 calc(var(--ar) * 200px);
  min-width: min(100%, 220px);
  margin: 0;
}

.reseller-gallery img {
  display: block;
  width: 100%;
  height: auto;

  background-color: #f1f7f3;
  border-radius: 12px;
}

.reseller-gallery figcaption {
  margin-top: 8px;
  color: #6b625c;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  text-align: center;
}

:root:has(#theme-toggle:checked) .reseller-gallery figcaption {
  color: #b9b0a8;
}
