/* ═══════════════════════════════════════════════
   DAOUDI FARM IMPORT — style.css
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&family=Noto+Naskh+Arabic:wght@400;600&display=swap');

/* ── VARIABLES ── */
:root {
  --cream:    #f3ede0;
  --earth:    #1a1008;
  --gold:     #b5872a;
  --gold-lt:  #d4a843;
  --gold-dim: #7a5a18;
  --green:    #122a1a;
  --green-md: #1c4228;
  --green-lt: #2a5e38;
  --sand:     #e6d9c0;
  --white:    #faf6ed;
  --gray:     #6a5840;
  --gray-lt:  #9a8868;
  --nav-h:    70px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Outfit', sans-serif; background: var(--white); color: var(--earth); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5rem; height: var(--nav-h);
  background: rgba(250,246,237,.96); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(181,135,42,.1);
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
nav.scrolled { box-shadow: 0 2px 40px rgba(26,16,8,.08); }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--earth); letter-spacing: .03em; }
.logo span { color: var(--gold); }
.logo small { font-size: .55rem; display: block; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-lt); font-family: 'Outfit', sans-serif; font-weight: 400; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 2.4rem; }
.nav-links a { font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--earth); opacity: 1; transition: opacity .2s, color .2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.btn-nav { background: var(--gold); color: var(--earth); padding: .42rem 1.2rem; border-radius: 2px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: all .2s; opacity: 1 !important; }
.btn-nav:hover { background: var(--gold-lt); transform: translateY(-1px); }
.btn-nav::after { display: none !important; }
.btn-lang { background: none; border: 1px solid rgba(181,135,42,.3); color: var(--gold); padding: .35rem .85rem; font-size: .68rem; letter-spacing: .1em; cursor: pointer; border-radius: 2px; font-family: 'Outfit', sans-serif; transition: all .2s; }
.btn-lang:hover { background: rgba(181,135,42,.1); }

/* Mobile nav toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; background: none; border: none; }
.nav-toggle span { width: 24px; height: 2px; background: var(--earth); border-radius: 1px; transition: all .3s; display: block; }

/* ── HERO SPLIT ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
}
.hero-panel {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 4rem 4rem 4rem 5rem; min-height: calc(100vh - var(--nav-h));
}
.hero-panel::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  transition: opacity .4s;
}
.hero-panel.pommiers::before {
  background: linear-gradient(160deg, rgba(18,42,26,.75) 0%, rgba(18,42,26,.4) 50%, rgba(18,42,26,.7) 100%);
}
.hero-panel.irrigation::before {
  background: linear-gradient(160deg, rgba(26,16,8,.8) 0%, rgba(26,16,8,.45) 50%, rgba(26,16,8,.75) 100%);
}
.hero-panel img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease; z-index: 0;
}
.hero-panel:hover img.hero-bg { transform: scale(1.04); }
.hero-content { position: relative; z-index: 2; }
.hero-icon { font-size: 2.5rem; margin-bottom: 1.2rem; }
.hero-tag {
  font-size: .58rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem;
}
.hero-tag::before { content: ''; width: 2rem; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 300; line-height: 1.05;
  color: var(--cream); margin-bottom: 1.2rem;
}
.hero-h1 em { font-style: italic; color: var(--gold-lt); }
.hero-h1 strong { font-weight: 600; }
.hero-sub { font-size: .88rem; font-weight: 300; line-height: 1.85; color: rgba(243,237,224,.62); max-width: 380px; margin-bottom: 2.2rem; }
.hero-chips { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.h-chip { font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(243,237,224,.5); border: 1px solid rgba(243,237,224,.15); padding: .25rem .7rem; border-radius: 2px; }
.btn-hero {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 2rem; border-radius: 2px; font-weight: 600;
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  transition: all .25s; width: fit-content;
}
.btn-hero.gold { background: var(--gold); color: var(--earth); }
.btn-hero.gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(181,135,42,.35); }
.btn-hero.ghost { border: 1px solid rgba(243,237,224,.28); color: var(--cream); }
.btn-hero.ghost:hover { border-color: var(--gold); background: rgba(181,135,42,.1); }

/* Séparateur vertical hero */
.hero-divider {
  position: absolute; left: 50%; top: var(--nav-h); bottom: 0;
  width: 3px; background: linear-gradient(180deg, var(--gold) 0%, rgba(181,135,42,.2) 100%);
  z-index: 100; pointer-events: none;
}

/* ── STATS ── */
.stats {
  background: var(--earth); display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 3px solid var(--gold);
}
.stat {
  padding: 1.8rem 2.5rem; border-right: 1px solid rgba(243,237,224,.05);
  position: relative; overflow: hidden; transition: background .25s;
}
.stat:last-child { border-right: none; }
.stat:hover { background: rgba(181,135,42,.06); }
.stat::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width .4s; }
.stat:hover::after { width: 100%; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 600; color: var(--gold); line-height: 1; }
.stat-label { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,237,224,.35); margin-top: .45rem; }

/* ── SECTIONS ── */
.sec { padding: 6rem 6rem; }
.sec-cream { background: var(--cream); }
.sec-green { background: var(--green); }
.sec-earth { background: var(--earth); }
.sec-white { background: var(--white); }

.eyebrow {
  font-size: .6rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--gold); display: block; flex-shrink: 0; }
h2.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 300; line-height: 1.18;
  color: var(--earth); max-width: 660px; margin-bottom: 1.2rem;
}
h2.sec-title em { font-style: italic; color: var(--gold); }
h2.sec-title.on-dark { color: var(--cream); }
.sec-body { font-size: .88rem; line-height: 1.85; color: var(--gray); max-width: 540px; }
.sec-body.on-dark { color: rgba(243,237,224,.52); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border: none; margin: 0; }

/* ── POMMIERS SECTION ── */
.pommiers-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.pommiers-intro { position: sticky; top: calc(var(--nav-h) + 2rem); }
.pommiers-intro .sec-body { margin-bottom: 2rem; }

/* Variétés grille */
.var-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.vc {
  border: 1px solid rgba(26,16,8,.08); border-radius: 3px; overflow: hidden;
  background: var(--white); transition: all .35s cubic-bezier(.4,0,.2,1);
}
.vc:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 20px 48px rgba(26,16,8,.1); }
.vc.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.vi { overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f0ece0, #e4dbc8); }
.vi.h200 { height: 200px; }
.vi.h260 { height: 260px; }
.vi img { max-height: 90%; max-width: 80%; object-fit: contain; transition: transform .6s ease; filter: drop-shadow(0 10px 24px rgba(26,16,8,.18)); }
.vc:hover .vi img { transform: scale(1.1) translateY(-4px); }
.vbody { padding: 1.2rem 1.4rem; }
.vname { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--earth); margin-bottom: .25rem; }
.vorigin { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-lt); margin-bottom: .5rem; }
.vdesc { font-size: .76rem; line-height: 1.65; color: var(--gray); }
.vtags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .8rem; }
.vtag { font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(181,135,42,.08); color: var(--gold-dim); border: 1px solid rgba(181,135,42,.2); padding: .18rem .5rem; border-radius: 2px; }
.vtag.g { background: rgba(42,94,56,.08); color: var(--green-lt); border-color: rgba(42,94,56,.2); }

/* Arbre + Logistique */
.tree-row { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: center; margin-top: 1.5rem; padding: 1.8rem; background: var(--cream); border: 1px solid rgba(26,16,8,.07); border-radius: 3px; }
.tree-img { background: linear-gradient(135deg, #ece8dc, #e0d8c4); border-radius: 2px; padding: 1.2rem; display: flex; align-items: center; justify-content: center; height: 200px; }
.tree-img img { max-height: 170px; object-fit: contain; }
.tree-label { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.tree-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 300; color: var(--earth); margin-bottom: .6rem; }
.tree-title em { font-style: italic; color: var(--gold); }
.tree-desc { font-size: .8rem; line-height: 1.75; color: var(--gray); }

/* ONSSA bar */
.onssa-bar {
  background: linear-gradient(135deg, var(--green-md), var(--green));
  padding: 1.4rem 6rem; display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  border-top: 1px solid rgba(181,135,42,.2); border-bottom: 1px solid rgba(181,135,42,.2);
}
.onssa-text { font-size: .78rem; color: rgba(243,237,224,.65); line-height: 1.65; }
.onssa-text strong { color: var(--gold-lt); font-size: .83rem; display: block; margin-bottom: .2rem; }
.onssa-badges { display: flex; gap: .9rem; flex-wrap: wrap; }
.obadge { background: rgba(181,135,42,.14); border: 1px solid rgba(181,135,42,.3); padding: .5rem 1.1rem; border-radius: 2px; text-align: center; }
.obadge-label { font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.obadge-val { font-size: .76rem; font-weight: 600; color: var(--cream); }

/* ── GALERIE PHOTOS ── */
.gallery-wrap { position: relative; overflow: hidden; border-radius: 3px; margin-top: 2rem; }
.gallery-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.gallery-slide { flex: 0 0 33.333%; position: relative; overflow: hidden; aspect-ratio: 4/3; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-slide:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,16,8,.75));
  padding: 2rem 1.2rem .8rem;
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,237,224,.85);
}
.gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(250,246,237,.9); backdrop-filter: blur(8px);
  border: 1px solid rgba(181,135,42,.2); border-radius: 2px;
  width: 44px; height: 44px; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; z-index: 10; color: var(--earth);
}
.gallery-btn:hover { background: var(--gold); color: var(--earth); }
.gallery-btn.prev { left: 1rem; }
.gallery-btn.next { right: 1rem; }
.gallery-dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.2rem; }
.g-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(181,135,42,.25); border: none; cursor: pointer; transition: all .25s; padding: 0; }
.g-dot.active { background: var(--gold); transform: scale(1.4); }

/* TERRAIN PLACEHOLDER */
.terrain-placeholder {
  background: rgba(18,42,26,.04); border: 2px dashed rgba(181,135,42,.25);
  border-radius: 3px; aspect-ratio: 4/3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; color: var(--gold-dim);
}
.terrain-placeholder span:first-child { font-size: 2rem; }
.terrain-placeholder span:last-child { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }

/* ── IRRIGATION / SERVICES ── */
.services-split { display: grid; grid-template-columns: 1fr 1fr; }
.service-half { padding: 5rem; position: relative; overflow: hidden; }
.service-half.dark { background: var(--green); }
.service-half.light { background: var(--cream); }
.svc-icon { width: 52px; height: 52px; color: var(--gold); margin-bottom: 1.8rem; }
h3.svc-title { font-family: 'Cormorant Garamond', serif; font-size: 1.65rem; font-weight: 300; margin-bottom: 1rem; }
.svc-desc { font-size: .84rem; line-height: 1.8; margin-bottom: 1.4rem; }
.slist { list-style: none; display: flex; flex-direction: column; gap: .72rem; }
.slist li { font-size: .82rem; line-height: 1.6; padding-left: 1.2rem; position: relative; }
.slist li::before { content: ''; position: absolute; left: 0; top: .6rem; width: 5px; height: 5px; border-radius: 50%; }
.slist.dark-list li { color: rgba(243,237,224,.62); }
.slist.dark-list li::before { background: var(--gold); }
.slist.light-list li { color: var(--gray); }
.slist.light-list li::before { background: var(--green-lt); }

/* ── BASSIN / RÉALISATION ── */
.real-grid { display: grid; grid-template-columns: 58fr 42fr; gap: 3.5rem; align-items: center; }
.real-img-wrap { position: relative; overflow: hidden; border-radius: 3px; box-shadow: 0 24px 72px rgba(26,16,8,.14); }
.real-img-wrap img { width: 100%; height: 440px; object-fit: cover; transition: transform .8s ease; }
.real-img-wrap:hover img { transform: scale(1.03); }
.real-badge {
  position: absolute; bottom: 1.4rem; left: 1.4rem;
  background: rgba(26,16,8,.72); backdrop-filter: blur(8px); color: var(--gold);
  font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .38rem .85rem; border-radius: 2px; border: 1px solid rgba(181,135,42,.25);
}
.real-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.rfeat { background: var(--cream); padding: 1.1rem; border-radius: 2px; border-left: 2px solid var(--gold); }
.rfeat-icon { font-size: 1.2rem; margin-bottom: .35rem; }
.rfeat-title { font-size: .76rem; font-weight: 600; color: var(--earth); margin-bottom: .22rem; }
.rfeat-desc { font-size: .68rem; color: var(--gray); line-height: 1.5; }

/* ── ÉQUIPEMENTS ── */
.eq-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: rgba(181,135,42,.12);
  margin-top: 3rem; border: 1px solid rgba(181,135,42,.12);
}
.eq-card { background: rgba(26,16,8,.97); padding: 1.5rem; transition: background .25s; position: relative; overflow: hidden; }
.eq-card:hover { background: rgba(181,135,42,.07); }
.eq-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.eq-card:hover::before { transform: scaleX(1); }
.eq-card img { width: 100%; height: 145px; object-fit: contain; padding: .4rem; transition: transform .4s; }
.eq-card:hover img { transform: scale(1.05); }
.eq-name { font-family: 'Cormorant Garamond', serif; font-size: .95rem; font-weight: 600; color: var(--cream); margin: .9rem 0 .3rem; }
.eq-desc { font-size: .67rem; line-height: 1.55; color: rgba(243,237,224,.38); }
.eq-badge { display: inline-block; margin-top: .6rem; font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(181,135,42,.28); padding: .14rem .48rem; border-radius: 2px; }

/* ── AUTOMATISATION / KC868 ── */
.auto-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-bottom: 3.5rem; }
.kc-box { background: rgba(243,237,224,.04); border: 1px solid rgba(181,135,42,.18); border-radius: 3px; padding: 2rem; }
.kc-box h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--cream); margin-bottom: .65rem; }
.kc-box p { font-size: .78rem; line-height: 1.78; color: rgba(243,237,224,.48); }
.kc-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.kc-tag { font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(181,135,42,.1); color: var(--gold); border: 1px solid rgba(181,135,42,.25); padding: .18rem .5rem; border-radius: 2px; }

/* IoT modules grille */
.iot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
.iot-card { background: rgba(243,237,224,.04); border: 1px solid rgba(181,135,42,.12); border-radius: 3px; overflow: hidden; transition: all .3s; }
.iot-card:hover { background: rgba(181,135,42,.06); border-color: rgba(181,135,42,.35); transform: translateY(-4px); }
.iot-img { height: 145px; display: flex; align-items: center; justify-content: center; background: rgba(10,6,2,.5); overflow: hidden; }
.iot-img img { max-height: 125px; max-width: 90%; object-fit: contain; padding: .4rem; transition: transform .4s; }
.iot-card:hover .iot-img img { transform: scale(1.06); }
.iot-body { padding: 1rem 1.1rem; }
.iot-name { font-family: 'Cormorant Garamond', serif; font-size: .9rem; font-weight: 600; color: var(--cream); margin-bottom: .3rem; }
.iot-desc { font-size: .66rem; line-height: 1.55; color: rgba(243,237,224,.4); }
.iot-badge { display: inline-block; margin-top: .5rem; font-size: .54rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-lt); border: 1px solid rgba(212,168,67,.2); padding: .14rem .48rem; border-radius: 2px; }

/* Composants supplémentaires */
.comp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; margin-top: 1.2rem; }
.comp-card { background: rgba(243,237,224,.04); border: 1px solid rgba(181,135,42,.12); border-radius: 3px; overflow: hidden; transition: all .3s; }
.comp-card:hover { background: rgba(181,135,42,.06); border-color: rgba(181,135,42,.3); transform: translateY(-3px); }
.comp-img { height: 120px; display: flex; align-items: center; justify-content: center; background: rgba(10,6,2,.4); overflow: hidden; }
.comp-img img { max-height: 100px; max-width: 88%; object-fit: contain; padding: .4rem; }
.comp-body { padding: .9rem 1rem; }
.comp-name { font-family: 'Cormorant Garamond', serif; font-size: .88rem; font-weight: 600; color: var(--cream); margin-bottom: .25rem; }
.comp-desc { font-size: .64rem; line-height: 1.5; color: rgba(243,237,224,.38); }
.comp-badge { display: inline-block; margin-top: .45rem; font-size: .52rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-lt); border: 1px solid rgba(212,168,67,.18); padding: .12rem .45rem; border-radius: 2px; }

/* ── ZONES ── */
.zones-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-top: 3rem; }
.zone-card { border: 1px solid rgba(26,16,8,.1); border-radius: 3px; padding: 2.4rem; transition: all .3s; }
.zone-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 14px 44px rgba(26,16,8,.07); }
.zone-flag { font-size: 2.2rem; margin-bottom: .7rem; }
.zone-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--earth); margin-bottom: .55rem; }
.zone-desc { font-size: .82rem; line-height: 1.75; color: var(--gray); }
.zone-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.z-chip { font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(26,16,8,.05); color: var(--gray); border: 1px solid rgba(26,16,8,.1); padding: .18rem .55rem; border-radius: 2px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; margin-top: 4rem; }
.contact-method { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.4rem; background: rgba(243,237,224,.04); border: 1px solid rgba(181,135,42,.14); border-radius: 3px; transition: all .25s; margin-bottom: .9rem; }
.contact-method:hover { background: rgba(181,135,42,.08); border-color: var(--gold); transform: translateX(4px); }
.c-icon { width: 40px; height: 40px; border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-label { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(243,237,224,.32); margin-bottom: .2rem; }
.c-value { font-size: .84rem; color: var(--cream); }
.contact-form { display: flex; flex-direction: column; gap: .9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-group { display: flex; flex-direction: column; gap: .32rem; }
.form-label { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(243,237,224,.32); }
.form-input, .form-textarea { background: rgba(243,237,224,.04); border: 1px solid rgba(181,135,42,.18); color: var(--cream); padding: .8rem 1rem; font-family: 'Outfit', sans-serif; font-size: .84rem; border-radius: 2px; transition: border-color .2s; outline: none; }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(243,237,224,.18); }
.form-input:focus, .form-textarea:focus { border-color: var(--gold); }
.form-textarea { height: 115px; resize: vertical; }
.form-select { background: rgba(243,237,224,.04); border: 1px solid rgba(181,135,42,.18); color: var(--cream); padding: .8rem 1rem; font-family: 'Outfit', sans-serif; font-size: .84rem; border-radius: 2px; outline: none; cursor: pointer; }
.form-select option { background: var(--earth); }
.form-submit { background: var(--gold); color: var(--earth); border: none; padding: .95rem; font-family: 'Outfit', sans-serif; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; cursor: pointer; transition: all .2s; }
.form-submit:hover { background: var(--gold-lt); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(181,135,42,.3); }

/* ── FOOTER ── */
footer { background: var(--earth); padding: 2.5rem 6rem; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(181,135,42,.1); flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 600; color: var(--cream); }
.footer-logo span { color: var(--gold); }
.footer-sub { font-size: .56rem; color: rgba(243,237,224,.22); letter-spacing: .12em; text-transform: uppercase; font-family: 'Outfit', sans-serif; font-weight: 300; margin-top: 2px; }
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-links a { font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(243,237,224,.28); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: .64rem; color: rgba(243,237,224,.2); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up.d1 { transition-delay: .1s; }
.fade-up.d2 { transition-delay: .2s; }
.fade-up.d3 { transition-delay: .3s; }
.fade-up.d4 { transition-delay: .4s; }

/* ── ARABIC RTL ── */
body.ar { direction: rtl; }
.ar-only { display: none; }
body.ar .fr-only { display: none; }
body.ar .ar-only { display: block; }
.ar-inline { display: none; }
body.ar .ar-inline { display: inline; }
body.ar .fr-inline { display: none; }

/* ── RESPONSIVE MOBILE ── */
@media (max-width: 1024px) {
  nav { padding: 0 2rem; }
  .sec { padding: 5rem 3rem; }
  .onssa-bar { padding: 1.4rem 3rem; }
  footer { padding: 2rem 3rem; }
  .hero-panel { padding: 3rem 2.5rem; }
  .contact-grid { gap: 3rem; }
  .pommiers-layout { gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: rgba(250,246,237,.98); flex-direction: column; padding: 2rem; gap: 1.5rem; border-bottom: 1px solid rgba(181,135,42,.15); backdrop-filter: blur(20px); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero { grid-template-columns: 1fr; }
  .hero-divider { display: none; }
  .hero-panel { min-height: 60vh; padding: 2.5rem 2rem; }
  .hero-panel.irrigation { border-top: 3px solid var(--gold); }
  .hero-h1 { font-size: clamp(2rem, 8vw, 3rem); }

  .stats { grid-template-columns: repeat(2,1fr); }
  .sec { padding: 4rem 1.5rem; }
  .onssa-bar { padding: 1.2rem 1.5rem; flex-direction: column; align-items: flex-start; }
  .pommiers-layout { grid-template-columns: 1fr; }
  .pommiers-intro { position: static; }
  .var-grid { grid-template-columns: 1fr; }
  .vc.featured { grid-column: span 1; display: block; }
  .services-split { grid-template-columns: 1fr; }
  .real-grid { grid-template-columns: 1fr; }
  .eq-grid { grid-template-columns: repeat(2,1fr); }
  .auto-layout { grid-template-columns: 1fr; }
  .iot-grid { grid-template-columns: repeat(2,1fr); }
  .comp-grid { grid-template-columns: repeat(2,1fr); }
  .zones-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .gallery-slide { flex: 0 0 100%; }
  .tree-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .eq-grid { grid-template-columns: 1fr; }
  .iot-grid { grid-template-columns: 1fr; }
  .comp-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-h1 { font-size: 2rem; }
}

/* ── SECTION ÉQUIPEMENTS FUSIONNÉE ── */
.eq-card img { height: 160px; width: 100%; object-fit: contain; padding: .6rem; }
.iot-img { height: 160px; }
.iot-img img { max-height: 150px; }
.comp-img { height: 140px; }
.comp-img img { max-height: 130px; }
.eq-section-title { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 600; color: var(--gold); letter-spacing: .18em; text-transform: uppercase; margin: 3rem 0 1.2rem; display: flex; align-items: center; gap: .8rem; }
.eq-section-title::before { content: ''; width: 2rem; height: 1px; background: var(--gold); display: block; }
nav { background: #fff; border-bottom: 2px solid #b5872a; }
.nav-links a { opacity: 1; color: #1a1008; }
