/* Benhammadi — Fruits & Légumes · maquette */
:root{
  --green-950:#0e2416;
  --green-900:#12291a;
  --green:#1d5c38;
  --green-bright:#2e7d46;
  --cream:#faf6ee;
  --paper:#fffdf8;
  --orange:#e07b2a;
  --orange-dark:#c5641a;
  --ink:#1c2420;
  --muted:#5c665f;
  --line:#e7dfd0;
  --radius:18px;
  --shadow:0 18px 40px rgba(18,41,26,.14);
  --font-body:"Inter","IBM Plex Sans Arabic",system-ui,sans-serif;
  --font-display:"Fraunces","IBM Plex Sans Arabic",Georgia,serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
.container{width:min(1160px,100% - 2.5rem);margin-inline:auto}
h1,h2,h3{font-family:var(--font-display);line-height:1.15;color:var(--green-900)}
a{color:inherit}

/* Mockup strip */
.mockup-strip{
  background:var(--green-950);color:#f3e9d2;
  font-size:.78rem;letter-spacing:.02em;text-align:center;
  padding:.45rem 1rem;
}

/* Header */
.header{
  position:sticky;top:0;z-index:50;
  background:rgba(250,246,238,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .25s ease;
}
.header.scrolled{box-shadow:0 8px 24px rgba(18,41,26,.10)}
.header-inner{display:flex;align-items:center;gap:1rem;padding-block:.7rem}
.logo{display:flex;align-items:center;gap:.6rem;text-decoration:none;margin-inline-end:auto}
.logo-mark{width:38px;height:38px;flex:none}
.logo-text{display:flex;flex-direction:column;line-height:1.1}
.logo-name{font-family:var(--font-display);font-weight:700;font-size:1.3rem;color:var(--green-900)}
.logo-sub{font-size:.68rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--orange-dark)}
.nav{
  display:none;position:absolute;inset-inline:0;top:100%;
  background:var(--paper);border-bottom:1px solid var(--line);
  flex-direction:column;padding:.6rem 1.25rem 1rem;gap:.2rem;
}
.nav.open{display:flex}
.nav a{
  text-decoration:none;font-weight:500;font-size:.98rem;color:var(--ink);
  padding:.55rem .4rem;border-radius:10px;
}
.nav a:hover{background:var(--cream);color:var(--green)}
.header-actions{display:flex;align-items:center;gap:.6rem}
.lang-toggle{
  font-family:var(--font-body);font-weight:600;font-size:.9rem;
  background:var(--green);color:#fff;border:0;border-radius:999px;
  padding:.5rem 1rem;cursor:pointer;transition:background .2s ease;
}
.lang-toggle:hover{background:var(--green-bright)}
.burger{
  width:42px;height:42px;border:1px solid var(--line);border-radius:12px;
  background:var(--paper);cursor:pointer;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:5px;
}
.burger span{display:block;width:18px;height:2px;background:var(--green-900);border-radius:2px}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-weight:600;font-size:.98rem;text-decoration:none;
  padding:.85rem 1.6rem;border-radius:999px;border:1px solid transparent;
  transition:transform .15s ease,background .2s ease,color .2s ease;
}
.btn:active{transform:scale(.98)}
.btn-primary{background:var(--orange);color:#fff}
.btn-primary:hover{background:var(--orange-dark)}
.btn-ghost{background:rgba(255,253,248,.14);color:#fff;border-color:rgba(255,253,248,.65)}
.btn-ghost:hover{background:rgba(255,253,248,.28)}
.btn-full{width:100%}

/* Hero */
.hero{position:relative;color:#fff;overflow:hidden}
.hero-media{position:absolute;inset:0}
.hero-media img{width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,36,22,.45),rgba(14,36,22,.78) 78%)}
.hero-content{position:relative;padding-block:4.5rem 3.8rem}
.hero-content>*{max-width:760px}
.hero h1{color:#fff;font-size:clamp(2.2rem,6.2vw,3.9rem);font-weight:700;margin-block:.8rem 1rem}
.eyebrow{
  font-size:.8rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#f5b26b;
}
.hero-sub{font-size:clamp(1rem,2.4vw,1.18rem);color:#f2ede1;max-width:56ch}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.8rem}
.hero-badges{
  list-style:none;display:flex;flex-wrap:wrap;gap:.55rem;margin-top:2.2rem;
}
.hero-badges li{
  font-size:.85rem;font-weight:600;color:#fff;
  border:1px solid rgba(255,253,248,.45);border-radius:999px;padding:.35rem .9rem;
  background:rgba(14,36,22,.35);
}

/* Trust strip */
.trust{background:var(--paper);border-bottom:1px solid var(--line)}
.trust-grid{display:grid;gap:1.4rem;padding-block:2rem}
.trust-item h3{font-size:1.06rem;margin-bottom:.25rem}
.trust-item p{font-size:.92rem;color:var(--muted)}
.trust-item{border-inline-start:3px solid var(--orange);padding-inline-start:1rem}

/* Sections */
.section{padding-block:3.6rem}
.section-alt{background:var(--paper)}
.section-eyebrow{
  font-size:.78rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--orange-dark);
}
.section-title{font-size:clamp(1.7rem,4.4vw,2.5rem);font-weight:600;margin-block:.5rem .6rem}
.section-lead{color:var(--muted);max-width:62ch;margin-bottom:1.6rem}

/* Cards */
.cards{display:grid;gap:1.2rem;margin-top:1.8rem}
.card{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;box-shadow:0 6px 18px rgba(18,41,26,.05);
}
.section .card{background:var(--cream)}
.card img{width:100%;height:210px;object-fit:cover}
.card-body{padding:1.2rem 1.3rem 1.4rem}
.card-body h3{font-size:1.22rem;margin-bottom:.35rem}
.card-body p{font-size:.95rem;color:var(--muted)}

/* Products */
.products{display:grid;gap:1.2rem}
.product{
  background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  display:flex;flex-direction:column;
}
.product img{width:100%;height:190px;object-fit:cover}
.product-body{padding:1.1rem 1.25rem 1.3rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.product-body h3{font-size:1.15rem}
.product-body p{font-size:.93rem;color:var(--muted);flex:1}
.tag{
  align-self:flex-start;font-size:.78rem;font-weight:700;color:var(--green);
  background:#e4efe2;border-radius:999px;padding:.3rem .8rem;margin-top:.5rem;
}

/* Professionals */
.pros-grid{display:grid;gap:1.8rem;align-items:center}
.pros-media img{border-radius:var(--radius);box-shadow:var(--shadow);width:100%;height:100%;object-fit:cover;min-height:260px}
.pros-body p{color:var(--muted);margin-bottom:1rem}
.check-list{list-style:none;margin-bottom:1.6rem;display:grid;gap:.6rem}
.check-list li{position:relative;padding-inline-start:1.9rem;font-weight:500}
.check-list li::before{
  content:"";position:absolute;inset-inline-start:0;top:.28em;width:1.15rem;height:1.15rem;border-radius:50%;
  background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/62% no-repeat;
}

/* Steps */
.steps{display:grid;gap:1.2rem;margin-top:1.8rem}
.step{background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem 1.4rem}
.step-num{
  display:inline-flex;align-items:center;justify-content:center;
  width:2.4rem;height:2.4rem;border-radius:50%;
  background:var(--orange);color:#fff;font-family:var(--font-display);font-weight:700;font-size:1.15rem;
  margin-bottom:.8rem;
}
.step h3{font-size:1.15rem;margin-bottom:.3rem}
.step p{font-size:.94rem;color:var(--muted)}

/* About */
.about-grid{display:grid;gap:1.8rem;align-items:center}
.about-body p{color:var(--muted);margin-bottom:1rem}
.placeholder-note{
  font-size:.88rem;color:var(--orange-dark);background:#fdf1e3;
  border:1px dashed var(--orange);border-radius:12px;padding:.8rem 1rem;
}
.about-media img{border-radius:var(--radius);box-shadow:var(--shadow);width:100%;object-fit:cover}

/* Contact */
.contact-grid{display:grid;gap:2rem}
.coord-list{list-style:none;margin-top:1.4rem;display:grid;gap:.9rem}
.coord-list li{display:flex;flex-direction:column}
.coord-list strong{font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:var(--green)}
.coord-list span{color:var(--muted)}
.contact-form{
  background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.5rem;display:grid;gap:1rem;align-content:start;
}
.contact-form label{display:grid;gap:.35rem;font-weight:600;font-size:.92rem}
.contact-form input,.contact-form select,.contact-form textarea{
  font-family:var(--font-body);font-size:1rem;color:var(--ink);
  background:var(--paper);border:1px solid var(--line);border-radius:12px;
  padding:.75rem .9rem;width:100%;
}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{
  outline:2px solid var(--green-bright);outline-offset:1px;border-color:transparent;
}
.form-ok{font-size:.92rem;font-weight:600;color:var(--green);background:#e4efe2;border-radius:12px;padding:.8rem 1rem}

/* Footer */
.footer{background:var(--green-950);color:#dfe7dc;padding-block:2.6rem 2rem;margin-top:0}
.footer-inner{display:grid;gap:1.4rem}
.footer-brand{font-family:var(--font-display);font-size:1.5rem;font-weight:700;color:#fff}
.footer p{font-size:.93rem;color:#b9c6b4}
.footer-nav{display:flex;gap:1.4rem;flex-wrap:wrap}
.footer-nav a{color:#f3e9d2;text-decoration:none;font-weight:600;font-size:.95rem}
.footer-nav a:hover{text-decoration:underline}
.footer-credit{border-top:1px solid rgba(255,255,255,.14);margin-top:1.8rem;padding-top:1.2rem;display:grid;gap:.4rem}
.footer-credit p{font-size:.82rem;color:#93a58d}

/* Reveal */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
}

/* Tablet + desktop */
@media (min-width:720px){
  .trust-grid{grid-template-columns:repeat(2,1fr)}
  .cards{grid-template-columns:repeat(2,1fr)}
  .products{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(3,1fr)}
  .footer-inner{grid-template-columns:1fr auto;align-items:start}
}
@media (min-width:960px){
  .burger{display:none}
  .nav{
    display:flex;position:static;flex-direction:row;background:transparent;
    border:0;padding:0;gap:1.4rem;margin-inline-end:0;
  }
  .nav a{padding:.4rem 0}
  .logo{margin-inline-end:2rem}
  .header-actions{margin-inline-start:auto}
  .trust-grid{grid-template-columns:repeat(4,1fr)}
  .cards{grid-template-columns:repeat(4,1fr)}
  .card img{height:180px}
  .products{grid-template-columns:repeat(4,1fr)}
  .product img{height:170px}
  .pros-grid{grid-template-columns:1fr 1fr}
  .about-grid{grid-template-columns:1.1fr .9fr}
  .contact-grid{grid-template-columns:1fr 1fr}
  .hero-content{padding-block:6rem 5rem}
}
