/* =========================================================
   Tifaouine Nature — Feuille de style principale
   Mobile-first • Beige #F5EFE6 • Vert #5A7D2A • Brun #4A3728
   ========================================================= */

:root {
  --beige: #F5EFE6;
  --beige-2: #EFE5D6;
  --beige-3: #E6D8C3;
  --cream: #FBF8F3;
  --green: #5A7D2A;
  --green-dark: #48661F;
  --green-soft: #DCE6C9;
  --sage: #6E8F5A;
  --brown: #4A3728;
  --brown-2: #6B5444;
  --brown-3: #8A7262;
  --gold: #D9A441;
  --wa: #25D366;

  --font-title: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Tajawal", "Segoe UI", Tahoma, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(74, 55, 40, .06);
  --shadow: 0 10px 30px rgba(74, 55, 40, .10);
  --shadow-lg: 0 18px 44px rgba(74, 55, 40, .16);

  --header-h: 72px;
  --bottom-nav-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--brown);
  background: var(--beige);
  padding-bottom: var(--bottom-nav-h);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--brown); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
:focus-visible { outline: 3px solid rgba(90, 125, 42, .45); outline-offset: 3px; border-radius: 6px; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; position: relative; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font: 500 15px/1.2 var(--font-body);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(90, 125, 42, .25); }
.btn-primary:hover { background: var(--green-dark); }

.btn-outline { background: transparent; border-color: var(--brown); color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: var(--beige); }

.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { background: var(--green-dark); box-shadow: 0 8px 18px rgba(90, 125, 42, .28); }

.btn-sage { background: var(--sage); color: #fff; border-radius: 10px; }
.btn-sage:hover { background: var(--green); }

.pill {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 8px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
}
.pill svg { width: 18px; height: 18px; }
.pill-green { background: var(--green-soft); color: var(--brown); border: 1.5px solid rgba(90, 125, 42, .55); }
.pill-green svg { color: var(--green); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--beige);
  border-bottom: 1px solid rgba(74, 55, 40, .06);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(74, 55, 40, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand img { height: 50px; width: auto; }

.menu-toggle {
  position: relative; z-index: 61; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0;
  background: var(--cream); border: 1.5px solid var(--beige-3); border-radius: 12px; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.menu-toggle span {
  display: block; width: 22px; height: 3px; flex-shrink: 0;
  background: var(--brown); border-radius: 3px; transition: transform .25s, opacity .25s;
}
.menu-toggle:active { background: var(--beige-2); }
.menu-toggle[aria-expanded="true"] { border-color: var(--green); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menu mobile : panneau déroulant */
.main-nav {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  background: var(--beige);
  padding: 12px 20px 28px;
  border-bottom: 1px solid var(--beige-3);
  box-shadow: 0 20px 30px rgba(74, 55, 40, .12);
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .25s, opacity .25s, visibility .25s;
}
.main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.main-nav ul { display: flex; flex-direction: column; }
.main-nav li a {
  display: block; padding: 14px 4px;
  font-size: 17px; font-weight: 500;
  border-bottom: 1px solid var(--beige-3);
}
.main-nav li a.is-active { color: var(--green); }
.nav-cta { margin-top: 18px; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 560px at 78% 50%, rgba(238, 222, 194, .95), transparent 70%),
    linear-gradient(180deg, #F6EEE2 0%, var(--beige) 100%);
  padding: 36px 0 48px;
}
.hero-inner { display: grid; gap: 28px; position: relative; z-index: 1; }
.hero-text { text-align: center; }
.hero-text .pill { margin-bottom: 18px; }
.hero h1 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(34px, 9vw, 64px);
  letter-spacing: -.01em;
  line-height: 1.06;
  margin-bottom: 18px;
  font-variation-settings: "opsz" 144;
}
.hero .lead { color: var(--brown-2); font-size: 15.5px; max-width: 560px; margin: 0 auto 26px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.hero-visual { position: relative; max-width: 460px; margin: 0 auto; }
.hero-visual img {
  width: 100%; height: auto;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 16%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent 0, #000 16%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-composite: intersect;
}

/* Feuilles décoratives */
.leaf-deco {
  position: absolute; pointer-events: none; z-index: 0; opacity: .55;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cpath d='M2 15C14 2 40 0 58 15 40 30 14 28 2 15Z' fill='%236E8F5A'/%3E%3Cpath d='M4 15h50' stroke='%23F5EFE6' stroke-width='1' opacity='.6'/%3E%3C/svg%3E");
}
.leaf-1 { width: 54px; height: 27px; top: 8%; left: 4%; transform: rotate(-30deg); filter: blur(.5px); }
.leaf-2 { width: 34px; height: 17px; top: 46%; left: 46%; transform: rotate(40deg); opacity: .35; filter: blur(1.5px); }
.leaf-3 { width: 44px; height: 22px; bottom: 6%; right: 6%; transform: rotate(150deg); filter: blur(1px); }

/* ---------- Avantages ---------- */
.features { padding: 8px 0 24px; background: var(--beige); position: relative; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 22px 12px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(74, 55, 40, .05);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { display: inline-flex; color: var(--green); margin-bottom: 10px; }
.feature-icon svg { width: 46px; height: 46px; }
.feature-card h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.feature-card p { font-size: 12.5px; color: var(--brown-3); margin: 0; line-height: 1.4; }

/* ---------- Titres de section ---------- */
.section-head { text-align: center; margin-bottom: 36px; }
.section-title {
  font-family: var(--font-title); font-weight: 600;
  font-size: clamp(28px, 6.5vw, 44px);
  margin-bottom: 10px;
}
.section-title.caps { text-transform: uppercase; letter-spacing: .02em; }
.section-sub { color: var(--brown-2); font-size: 16px; margin: 0; }

/* ---------- Produits phares ---------- */
.featured { overflow: hidden; background: linear-gradient(180deg, var(--beige) 0%, #F2EADD 100%); }
.leaf-branch {
  position: absolute; width: 160px; height: 360px; opacity: .35; pointer-events: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 180' fill='none' stroke='%236E8F5A' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M10 175C30 120 40 70 70 5'/%3E%3Cg fill='%236E8F5A' fill-opacity='.35'%3E%3Cpath d='M18 150c-12-4-16-14-14-22 10 3 15 12 14 22Z'/%3E%3Cpath d='M22 140c10-8 22-6 28 0-9 6-20 6-28 0Z'/%3E%3Cpath d='M28 112c-12-4-15-14-13-22 10 3 14 12 13 22Z'/%3E%3Cpath d='M32 102c10-8 22-6 28 0-9 6-20 6-28 0Z'/%3E%3Cpath d='M42 76c-12-4-15-14-13-22 10 3 14 12 13 22Z'/%3E%3Cpath d='M46 66c10-8 22-6 28 0-9 6-20 6-28 0Z'/%3E%3Cpath d='M58 38c-11-4-14-13-12-20 9 3 13 11 12 20Z'/%3E%3C/g%3E%3C/svg%3E");
}
.branch-left { left: -60px; top: 40px; }
.branch-right { right: -60px; bottom: 30px; transform: scaleX(-1) rotate(10deg); }

.product-grid { display: grid; grid-template-columns: 1fr; gap: 22px; position: relative; z-index: 1; }
.product-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px 18px 20px;
  text-align: center;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--green); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.product-media {
  aspect-ratio: 6 / 5;
  border-radius: 14px; overflow: hidden;
  background: #fff;
  margin-bottom: 14px;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-noimg { display: grid; place-items: center; height: 100%; font-size: 48px; background: var(--beige-2); }
.product-body { display: flex; flex-direction: column; align-items: center; flex: 1; }
.product-name { font-family: var(--font-body); font-size: 22px; font-weight: 600; margin-bottom: 2px; }
.product-name-ar { font-family: var(--font-ar); color: var(--brown-3); font-size: 18px; margin: 0 0 8px; }
.product-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--brown-2); margin-bottom: 8px; }
.product-price { font-size: 24px; font-weight: 600; color: var(--brown); margin: 0 0 16px; }
.product-body .btn { margin-top: auto; }

.stars { display: inline-flex; gap: 2px; }
.star { position: relative; width: 18px; height: 18px; display: inline-block; }
.star svg { width: 18px; height: 18px; display: block; }
.star-bg { color: #E8DCC6; }
.star-fg { position: absolute; inset: 0; overflow: hidden; color: var(--gold); }

.center-cta { text-align: center; margin-top: 34px; position: relative; z-index: 1; }
.empty-note { text-align: center; color: var(--brown-3); grid-column: 1 / -1; }

/* ---------- Histoire + Coffrets ---------- */
.story { background: var(--beige-2); }
.story-inner { display: grid; gap: 40px; }
.story-title, .gift-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 600; text-transform: uppercase;
  font-size: 26px; letter-spacing: .02em; margin-bottom: 18px;
}
.story-title svg { color: var(--green); width: 30px; height: 30px; }
.gift-title svg { color: var(--brown-3); width: 34px; height: 34px; }
.story-text p { color: var(--brown-2); }
.story-text strong { color: var(--brown); }
.link-arrow { color: var(--green); font-weight: 600; }
.link-arrow:hover { text-decoration: underline; }
.story-swash { display: block; width: 260px; height: 18px; color: var(--sage); opacity: .6; margin-top: 24px; }

.gift { text-align: center; }
.gift-title { justify-content: center; }
.gift-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 22px; }
.gift-media img { width: 100%; aspect-ratio: 602 / 259; object-fit: cover; }
.gift-meta { margin: 14px 0 0; color: var(--brown-3); font-size: 14px; }

/* ---------- Témoignages ---------- */
.testimonials {
  background:
    radial-gradient(600px 300px at 0% 100%, rgba(110, 143, 90, .08), transparent 70%),
    radial-gradient(600px 300px at 100% 0%, rgba(110, 143, 90, .08), transparent 70%),
    var(--beige);
}
.mini-stars { color: var(--gold); letter-spacing: .3em; font-size: 15px; margin-bottom: 6px; }
.testi-grid { display: grid; gap: 18px; }
.testi-card {
  margin: 0;
  background: #F3EADC;
  border: 1.5px solid #D8C6AA;
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-stars { color: var(--gold); font-size: 22px; letter-spacing: .18em; margin-bottom: 12px; }
.testi-card blockquote { margin: 0 0 16px; font-size: 15.5px; color: var(--brown); line-height: 1.55; }
.testi-card figcaption { font-weight: 600; font-size: 16px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--brown); color: #F1E3C8; padding-top: 56px; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
.footer-brand { text-align: center; }
.footer-logo {
  display: inline-block; background: var(--beige);
  border-radius: 46% 46% 40% 40% / 50% 50% 40% 40%;
  padding: 26px 24px 18px; margin-bottom: 16px;
}
.footer-logo img { width: 210px; height: auto; }
.footer-brand p { font-size: 14px; color: #E5D5BB; max-width: 300px; margin: 0 auto 18px; }
.socials { display: flex; justify-content: center; gap: 18px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: #F1E3C8; border: 1px solid rgba(241, 227, 200, .25);
  transition: background-color .2s, color .2s;
}
.socials a:hover { background: #F1E3C8; color: var(--brown); }
.socials svg { width: 22px; height: 22px; }

.footer-col h4 {
  font-family: var(--font-body); font-weight: 600; text-transform: uppercase;
  color: #F1E3C8; font-size: 18px; letter-spacing: .04em; margin-bottom: 14px;
}
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #F6EBD8; transition: color .2s; }
.footer-col a:hover { color: #B7D08A; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list svg { width: 22px; height: 22px; color: #E3C58D; }

.footer-bottom { background: #3E2E21; text-align: center; padding: 16px 20px; }
.footer-bottom p { margin: 0; font-size: 14px; color: #EADBC2; }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(var(--bottom-nav-h) + 16px); z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .4);
  transition: transform .2s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Barre de navigation mobile ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  height: var(--bottom-nav-h);
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(251, 248, 243, .97);
  border-top: 1px solid var(--beige-3);
  box-shadow: 0 -6px 18px rgba(74, 55, 40, .06);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 11.5px; font-weight: 500; color: var(--brown-2);
}
.bottom-nav svg { width: 22px; height: 22px; }
.bottom-nav a.is-active { color: var(--green); }
.bottom-nav a.is-active svg { background: var(--green-soft); border-radius: 10px; padding: 2px 10px; width: 42px; height: 26px; }

/* ---------- Animation d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::after { animation: none; }
  * { transition: none !important; }
}


/* Mobile : cartes produits horizontales (comme la maquette mobile) */
@media (max-width: 599px) {
  .leaf-deco { display: none; }
  .product-grid { gap: 16px; }
  .product-card {
    display: grid; grid-template-columns: 42% 1fr; gap: 14px;
    text-align: left; padding: 12px; border-radius: 18px;
  }
  .product-badge { top: 18px; left: 18px; font-size: 10px; padding: 4px 9px; }
  .product-media { margin: 0; aspect-ratio: 1 / 1.05; border-radius: 12px; }
  .product-body { align-items: flex-start; justify-content: center; }
  .product-name { font-size: 18px; }
  .product-name-ar { font-size: 15px; margin-bottom: 4px; }
  .product-rating { font-size: 12.5px; gap: 6px; margin-bottom: 4px; }
  .star, .star svg { width: 14px; height: 14px; }
  .product-price { font-size: 20px; margin-bottom: 10px; color: var(--green); }
  .product-body { min-width: 0; }
  .product-body .btn { width: 100%; padding: 10px 12px; font-size: 14px; gap: .45em; }
  .lbl-extra { display: none; }
  .branch-left, .branch-right { width: 110px; opacity: .25; }
}

/* =========================================================
   ≥ 600px — petites tablettes
   ========================================================= */
@media (min-width: 600px) {
  .hero-actions { flex-direction: row; justify-content: center; }
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   ≥ 960px — ordinateur
   ========================================================= */
@media (min-width: 960px) {
  :root { --header-h: 92px; }
  body { padding-bottom: 0; font-size: 16px; }
  .section { padding: 90px 0; }

  .bottom-nav, .menu-toggle { display: none; }
  .site-header {
    background: rgba(245, 239, 230, .94);
    backdrop-filter: saturate(1.2) blur(8px);
    -webkit-backdrop-filter: saturate(1.2) blur(8px);
  }
  .wa-float { bottom: 24px; right: 24px; width: 60px; height: 60px; }

  .brand img { height: 66px; }
  .main-nav {
    position: static; transform: none; opacity: 1; visibility: visible;
    max-height: none; overflow: visible; z-index: auto;
    background: none; box-shadow: none; border: 0; padding: 0;
    display: flex; align-items: center; gap: 36px;
  }
  .main-nav ul { flex-direction: row; gap: 34px; }
  .main-nav li a {
    padding: 6px 0; border: 0; font-size: 16.5px; position: relative;
  }
  .main-nav li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--green); border-radius: 2px;
    transform: scaleX(0); transition: transform .25s;
  }
  .main-nav li a:hover::after, .main-nav li a.is-active::after { transform: scaleX(1); }
  .main-nav li a.is-active { color: var(--green); }
  .nav-cta { margin: 0; width: auto; padding: 11px 20px; }

  .hero { padding: 56px 0 70px; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
  .hero-text { text-align: left; }
  .hero .lead { margin-left: 0; font-size: 17px; }
  .hero-actions { justify-content: flex-start; }
  .hero-visual { max-width: none; margin-right: -30px; }

  .features { margin-top: -28px; padding-bottom: 40px; }
  .features-grid { grid-template-columns: repeat(6, 1fr); }
  .feature-card { padding: 28px 14px 22px; }
  .feature-icon svg { width: 52px; height: 52px; }

  .leaf-branch { width: 220px; height: 480px; opacity: .45; }
  .branch-left { left: -50px; }
  .branch-right { right: -50px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 1080px; margin: 0 auto; }

  .story-inner { grid-template-columns: 1fr 1.25fr; gap: 0; }
  .story-text { padding-right: 48px; border-right: 1px solid #D8C6AA; align-self: center; }
  .gift { padding-left: 48px; }
  .gift-title { justify-content: flex-start; }

  .testi-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }

  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 40px; }
  .footer-brand { text-align: center; }
}

@media (min-width: 1200px) {
  .hero h1 { font-size: 68px; }
}


/* =========================================================
   PAGE "NOS PRODUITS"
   ========================================================= */

/* Les cartes produit : image et nom cliquables */
.product-media { border: 0; padding: 0; cursor: pointer; width: 100%; font: inherit; }
.product-name button {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer; text-align: inherit;
}
.product-name button:hover { color: var(--green); }

/* En-tête de page */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 34px 0 30px;
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(220, 230, 201, .55), transparent 70%),
    var(--beige);
}
.page-hero h1 {
  font-family: var(--font-title); font-weight: 600;
  font-size: clamp(34px, 8vw, 56px); margin: 6px 0 8px;
}
.page-hero p { color: var(--green); font-weight: 500; margin: 0; }
.breadcrumb { font-size: 13.5px; color: var(--brown-3); }
.breadcrumb a { color: var(--brown-2); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { margin: 0 6px; opacity: .6; }

/* Mise en page boutique */
.shop { padding: 8px 0 56px; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.shop { overflow-x: clip; }

.shop-filters { min-width: 0; }
.filters-title, .filter-price, .filter-help { display: none; }
.filter-block h3 { display: none; }

/* Puces catégories (défilement horizontal sur mobile) */
.chips {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 6px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: 999px;
  background: var(--cream); color: var(--brown);
  border: 1.5px solid var(--beige-3);
  font: 500 13.5px/1 var(--font-body); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--green); }
.chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.chip-n {
  font-size: 11.5px; min-width: 20px; padding: 2px 6px; border-radius: 999px;
  background: var(--beige-2); color: var(--brown-2); text-align: center;
}
.chip.is-active .chip-n { background: rgba(255, 255, 255, .22); color: #fff; }

/* Barre d'outils */
.shop-toolbar { display: grid; gap: 10px; }
.search-field {
  display: flex; align-items: center; gap: 10px;
  background: var(--cream); border: 1.5px solid var(--beige-3);
  border-radius: 12px; padding: 0 14px; height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.search-field:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(90, 125, 42, .12); }
.search-field svg { width: 20px; height: 20px; color: var(--brown-3); }
.search-field input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font: 400 15px var(--font-body); color: var(--brown);
}
.search-field input::placeholder { color: var(--brown-3); }
.sort-field {
  display: flex; align-items: center; gap: 8px;
  background: var(--cream); border: 1.5px solid var(--green);
  border-radius: 12px; padding: 0 12px; height: 48px;
  font-size: 14px; font-weight: 500;
}
.sort-field span { white-space: nowrap; }
.sort-field select {
  flex: 1; border: 0; background: transparent; outline: none; cursor: pointer;
  font: 500 14px var(--font-body); color: var(--brown);
}

.shop-meta { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 12px; min-height: 24px; }
.shop-meta p { margin: 0; font-size: 14px; color: var(--brown-3); }
.link-reset { background: none; border: 0; cursor: pointer; color: var(--green); font: 500 14px var(--font-body); padding: 4px 0; }
.link-reset:hover { text-decoration: underline; }

.shop-empty {
  grid-column: 1 / -1; text-align: center;
  background: var(--cream); border: 1.5px dashed var(--beige-3);
  border-radius: var(--radius-lg); padding: 44px 22px;
}
.shop-empty-icon { font-size: 42px; margin-bottom: 8px; }
.shop-empty h3 { font-size: 20px; margin-bottom: 6px; }
.shop-empty p { color: var(--brown-2); max-width: 380px; margin: 0 auto 18px; }

/* Curseur de prix */
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 6px; background: var(--beige-3); outline: none;
  accent-color: var(--green);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); border: 3px solid #fff; cursor: pointer;
}
.price-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--brown-3); margin-top: 10px; }
.price-scale output { color: var(--green); font-weight: 600; }

/* Bandeau confiance */
.trust-band { background: var(--beige-2); padding: 26px 0; border-top: 1px solid var(--beige-3); }
.trust-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item > span { font-size: 26px; }
.trust-item strong { display: block; font-size: 14px; line-height: 1.3; }
.trust-item small { color: var(--brown-3); font-size: 12.5px; }

/* ---------- Fiche produit (modale) ---------- */
body.modal-open { overflow: hidden; }
.pm-overlay[hidden] { display: none; }
.pm-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(46, 33, 24, .55);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.pm-overlay.is-open { opacity: 1; }
.pm-dialog {
  position: relative; width: 100%; max-height: 92vh; overflow-y: auto;
  background: var(--cream);
  border-radius: 22px 22px 0 0;
  transform: translateY(30px); transition: transform .25s;
}
.pm-overlay.is-open .pm-dialog { transform: none; }
.pm-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--brown); font-size: 16px;
  box-shadow: var(--shadow-sm);
}
.pm-close:hover { background: #fff; color: var(--green); }
.pm-body { display: grid; }
.pm-media { background: #fff; aspect-ratio: 6 / 5; }
.pm-media img { width: 100%; height: 100%; object-fit: cover; }
.pm-info { padding: 22px 20px 26px; }
.pm-cat { color: var(--green); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 6px; }
.pm-title { font-family: var(--font-body); font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.pm-title { margin-bottom: 2px; }
.pm-title-ar { font-family: var(--font-ar); font-size: 20px; color: var(--brown-3); margin: 0 0 8px; text-align: left; }
.pm-price { font-size: 30px; font-weight: 600; color: var(--green); margin: 8px 0 12px; }
.pm-desc { color: var(--brown-2); font-size: 15px; }
.pm-qty { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 18px 0; font-weight: 500; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--beige-3); border-radius: 12px; background: #fff; }
.qty button {
  width: 42px; height: 42px; border: 0; background: none; cursor: pointer;
  font-size: 20px; color: var(--green); border-radius: 10px;
}
.qty button:hover { background: var(--green-soft); }
.qty output { min-width: 34px; text-align: center; font-weight: 600; }
.pm-total { color: var(--brown-2); font-size: 14px; }
.pm-perks { display: grid; gap: 6px; margin-top: 16px; font-size: 13.5px; color: var(--brown-2); }

@media (min-width: 600px) {
  .shop-toolbar { grid-template-columns: 1fr auto; }
  .trust-inner { grid-template-columns: repeat(4, 1fr); }
  .pm-overlay { align-items: center; padding: 24px; }
  .pm-dialog { max-width: 880px; border-radius: 24px; }
  .pm-body { grid-template-columns: 1fr 1fr; }
  .pm-media { aspect-ratio: auto; min-height: 100%; }
  .pm-info { padding: 34px 30px; }
}

@media (min-width: 960px) {
  .page-hero { padding: 48px 0 40px; }
  .shop { padding: 10px 0 90px; }
  .shop-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 30px; align-items: start; }

  .shop-filters {
    position: sticky; top: calc(var(--header-h) + 20px);
    background: var(--cream); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); padding: 26px 22px;
  }
  .filters-title { display: block; font-family: var(--font-body); font-size: 24px; font-weight: 600; margin-bottom: 18px; }
  .filter-block { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--beige-3); }
  .filter-block:last-child { border: 0; margin: 0; padding: 0; }
  .filter-block h3 { display: block; font-family: var(--font-body); font-size: 17px; font-weight: 600; margin-bottom: 12px; }
  .filter-price, .filter-help { display: block; }
  .filter-help p { margin: 0 0 4px; font-size: 14px; color: var(--brown-2); }
  .filter-help .link-arrow { font-size: 14px; }

  .chips { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 4px; }
  .chip {
    justify-content: space-between; width: 100%;
    border: 0; background: transparent; border-radius: 10px; padding: 10px 12px;
  }
  .chip:hover { background: var(--beige-2); }
  .chip.is-active { background: var(--green-soft); color: var(--green-dark); font-weight: 600; }
  .chip.is-active .chip-n { background: var(--green); color: #fff; }

  .shop-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: none; }
  .shop-grid .product-name { font-size: 19px; }
  .shop-grid .product-price { font-size: 21px; }
  .shop-grid .btn { font-size: 14px; padding: 11px 14px; }
}

/* =========================================================
   PAGE "NOTRE HISTOIRE"
   ========================================================= */
.intro-grid { display: grid; gap: 34px; align-items: center; }
.intro-text .pill { margin-bottom: 14px; }
.intro-title {
  font-family: var(--font-title); font-weight: 600;
  font-size: clamp(28px, 6vw, 42px); margin-bottom: 16px;
}
.intro-text p { color: var(--brown-2); }
.intro-text strong { color: var(--brown); }
.intro-art { margin: 0; text-align: center; }
.intro-art svg { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-lg); }
.intro-art figcaption { margin-top: 10px; font-size: 13px; color: var(--brown-3); font-style: italic; }

.craft { background: var(--beige-2); }
.craft-grid { display: grid; gap: 16px; }
.craft-card {
  background: var(--cream); border-radius: var(--radius-lg); padding: 26px 22px;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.craft-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.craft-icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px;
  background: var(--green-soft); font-size: 28px; margin-bottom: 14px;
}
.craft-card h3 { font-family: var(--font-body); font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.craft-card p { color: var(--brown-2); font-size: 14.5px; margin: 0; }

.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.step {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  padding: 22px 22px 20px 78px; box-shadow: var(--shadow-sm);
}
.step-n {
  position: absolute; left: 20px; top: 20px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: #fff;
  font-family: var(--font-title); font-weight: 600; font-size: 20px;
}
.step h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.step p { margin: 0; color: var(--brown-2); font-size: 14.5px; }

.values { background: var(--beige-2); }
.values-grid { display: grid; gap: 30px; }
.values-list { display: grid; gap: 14px; }
.values-list li {
  position: relative; padding-left: 30px; color: var(--brown-2);
}
.values-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-9' fill='none' stroke='%235A7D2A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.values-list strong { color: var(--brown); }

.meet-card {
  background: var(--brown); color: #F1E3C8; border-radius: var(--radius-lg);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow-lg);
}
.meet-icon { font-size: 34px; }
.meet-card h3 { color: #F6EBD8; font-family: var(--font-title); font-size: 26px; margin: 6px 0 12px; }
.meet-when {
  display: inline-block; margin: 0 0 6px; padding: 5px 14px; border-radius: 999px;
  background: var(--green); color: #fff; font-weight: 600; font-size: 14px;
}
.meet-where { font-size: 18px; font-weight: 600; color: #fff; margin: 0 0 10px; }
.meet-card p:not(.meet-when):not(.meet-where) { font-size: 14.5px; color: #E5D5BB; }
.meet-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.meet-card .btn-outline { border-color: #F1E3C8; color: #F1E3C8; }
.meet-card .btn-outline:hover { background: #F1E3C8; color: var(--brown); }

.story-cta {
  padding: 60px 0; text-align: center;
  background:
    radial-gradient(500px 220px at 50% 100%, rgba(110, 143, 90, .18), transparent 70%),
    var(--beige);
}
.cta-inner h2 { font-family: var(--font-title); font-weight: 600; font-size: clamp(28px, 6vw, 42px); margin-bottom: 10px; }
.cta-inner p { color: var(--brown-2); margin-bottom: 22px; }

@media (min-width: 600px) {
  .craft-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .intro-grid { grid-template-columns: 1.05fr 1fr; gap: 60px; }
  .craft-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps-list { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .step { padding: 74px 22px 24px; text-align: center; }
  .step-n { left: 50%; transform: translateX(-50%); top: 18px; }
  .values-grid { grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
  .values-text .story-title { margin-bottom: 22px; }
}

/* ---------- Prix : promo et « prix sur demande » ---------- */
.product-price del, .pm-price del, .adm-card-price del {
  font-size: .62em; font-weight: 500; color: var(--brown-3); margin-left: 6px;
}
.product-price.is-ask, .pm-price.is-ask, .adm-card-price.is-ask {
  font-size: 15px; font-weight: 600; color: var(--green-dark);
  background: var(--green-soft); border-radius: 999px; padding: 4px 12px; display: inline-block;
}
.pm-price.is-ask { font-size: 16px; margin: 10px 0 14px; }
.product-badge.is-promo { background: #B5472F; }

/* Photos réelles de l'intro (page Histoire) */
.intro-photos { position: relative; margin: 0 auto 40px; padding-right: 18%; max-width: 480px; }
.intro-photos .ph-main {
  width: 100%; height: auto; aspect-ratio: 4 / 4.6; object-fit: cover;
  border-radius: 28px; box-shadow: var(--shadow-lg);
}
.intro-photos .ph-inset {
  position: absolute; right: 0; bottom: -34px; width: 44%; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 22px; border: 6px solid var(--beige); box-shadow: var(--shadow-lg);
}
.intro-photos .ph-tag {
  position: absolute; left: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(251, 248, 243, .94); color: var(--brown);
  padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.intro-photos .ph-tag svg { color: var(--green); width: 16px; height: 16px; }
@media (min-width: 960px) {
  .intro-photos { margin: 0 0 30px auto; padding-right: 16%; max-width: 540px; }
}

/* =========================================================
   V3 — Hero en cartes, coffrets, Instagram, événements
   ========================================================= */
.hero-stack { position: relative; width: 100%; height: 400px; max-width: 460px; margin: 10px auto 0; }
.hero-stack img { -webkit-mask-image: none !important; mask-image: none !important; height: 100% !important; }
.hs-card {
  position: absolute; margin: 0; overflow: hidden; background: #fff;
  border-radius: 22px; box-shadow: var(--shadow-lg); border: 5px solid #fff;
}
.hs-card img { width: 100%; height: 100%; object-fit: cover; }
.hs-center { width: 54%; height: 82%; left: 23%; top: 4%; z-index: 3; }
.hs-left   { width: 42%; height: 62%; left: 0;   top: 22%; transform: rotate(-7deg); z-index: 2; }
.hs-right  { width: 42%; height: 62%; right: 0;  top: 22%; transform: rotate(7deg);  z-index: 2; }
.hs-badge {
  position: absolute; z-index: 4; left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  background: var(--brown); color: #F6EBD8; padding: 10px 16px; border-radius: 14px;
  box-shadow: var(--shadow-lg); font-size: 12.5px; line-height: 1.3;
}
.hs-badge strong { font-family: var(--font-title); font-size: 24px; color: #fff; }
.hero-stack .hs-card { transition: transform .4s ease; }
.hero-stack:hover .hs-left { transform: rotate(-10deg) translateX(-8px); }
.hero-stack:hover .hs-right { transform: rotate(10deg) translateX(8px); }

.gift-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; box-shadow: none; border-radius: 0; overflow: visible; }
.gift-duo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }

.insta { background: var(--beige); }
.insta-handle { color: var(--green); font-weight: 600; margin: 0 0 4px; }
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.insta-tile { position: relative; display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 1; }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.insta-tile::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: rgba(74, 55, 40, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E") center / 34px no-repeat;
}
.insta-tile:hover img { transform: scale(1.06); }
.insta-tile:hover::after { opacity: 1; }

.world { background: var(--beige); }
.world-grid { display: grid; gap: 34px; align-items: center; }
.world-photo { position: relative; margin: 0 auto; max-width: 420px; }
.world-photo img { width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-lg); }
.world-photo figcaption {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(251, 248, 243, .94); padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.world-photo figcaption svg { color: var(--green); }
.world-text p { color: var(--brown-2); }
.events { display: grid; gap: 12px; margin: 20px 0; }
.events li {
  display: flex; align-items: center; gap: 14px;
  background: var(--cream); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-sm);
}
.ev-date {
  flex-shrink: 0; width: 70px; height: 58px; border-radius: 12px; display: grid; place-items: center; text-align: center;
  background: var(--green); color: #fff; font-weight: 600; font-size: 12.5px; line-height: 1.2;
}
.events strong { display: block; font-size: 15.5px; }
.events small { color: var(--brown-3); font-size: 13px; }
.world-brands { font-size: 14px; }

@media (min-width: 600px) {
  .hero-stack { height: 460px; }
  .insta-grid { grid-template-columns: repeat(6, 1fr); gap: 10px; }
}
@media (min-width: 960px) {
  .hero-stack { height: 520px; max-width: 540px; margin: 0 0 0 auto; }
  .hero-visual.hero-stack { margin-right: 0; }
  .world-grid { grid-template-columns: 1fr 1.15fr; gap: 60px; }
  .world-photo { margin: 0; max-width: none; }
}

/* =========================================================
   PAGE CONTACT
   ========================================================= */
.contact-channels { padding: 8px 0 10px; }
.channels-grid { display: grid; gap: 12px; }
.channel {
  display: flex; align-items: center; gap: 14px;
  background: var(--cream); border-radius: 18px; padding: 16px 18px;
  box-shadow: var(--shadow-sm); border: 1.5px solid transparent;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-soft); }
.ch-icon {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; background: var(--green-soft); color: var(--green);
}
.ch-icon svg { width: 26px; height: 26px; }
.ch-body { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.ch-body strong { font-size: 16.5px; }
.ch-body span { color: var(--brown); font-weight: 500; font-size: 14.5px; }
.ch-body small { color: var(--brown-3); font-size: 12.5px; }
.ch-arrow { color: var(--green); font-size: 20px; transition: transform .2s; }
.channel:hover .ch-arrow { transform: translateX(4px); }
.channel-wa { background: var(--green); }
.channel-wa .ch-icon { background: rgba(255,255,255,.18); color: #fff; }
.channel-wa .ch-body strong, .channel-wa .ch-body span, .channel-wa .ch-arrow { color: #fff; }
.channel-wa .ch-body small { color: #E4EED3; }

.contact-main { padding-top: 40px; }
.contact-grid { display: grid; gap: 36px; align-items: start; }
.contact-form-card {
  background: var(--cream); border-radius: var(--radius-lg); padding: 26px 20px; box-shadow: var(--shadow);
}
.contact-form-card h2, .faq h2 { font-family: var(--font-title); font-weight: 600; font-size: clamp(26px, 5vw, 32px); margin-bottom: 8px; }
.form-intro { color: var(--brown-2); font-size: 14.5px; }
.cf-row { display: grid; gap: 0 14px; }
#contact-form .field { margin-bottom: 14px; }
#contact-form label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
#contact-form input, #contact-form select, #contact-form textarea {
  width: 100%; border: 1.5px solid var(--beige-3); background: var(--beige);
  border-radius: 12px; padding: 12px 14px; color: var(--brown);
  font: 400 15px var(--font-body); outline: none; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
#contact-form textarea { resize: vertical; min-height: 120px; }
#contact-form input:focus, #contact-form select:focus, #contact-form textarea:focus {
  border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(90, 125, 42, .12);
}
#contact-form .is-invalid { border-color: #B54A38; background: #FFF4F1; }
#contact-form .field-err { display: block; color: #A63A29; font-size: 13px; margin-top: 4px; }
#contact-form .field-err:empty { display: none; }
.form-note { margin: 12px 0 0; font-size: 13.5px; color: var(--green-dark); text-align: center; min-height: 1em; }

.faq details {
  background: var(--cream); border-radius: 14px; margin-bottom: 10px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative;
  font-weight: 600; font-size: 15.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); font-size: 18px; transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--brown-2); font-size: 14.5px; }
.faq details a { color: var(--green); font-weight: 600; }

@media (min-width: 600px) {
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .cf-row { grid-template-columns: 1fr 1fr; }
  .contact-form-card { padding: 32px 30px; }
}
@media (min-width: 960px) {
  .channels-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .channel { flex-direction: column; align-items: flex-start; padding: 22px; }
  .ch-arrow { position: absolute; }
  .channel { position: relative; }
  .ch-arrow { right: 20px; top: 26px; }
  .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 50px; }
}
