/* DexiChef v1-02 - ana sayfa. Yalnizca store/index uzerinde yuklenir. */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

.dx-home{
  --navy:#1C2433;--navy-line:#3A4458;--text:#1C2433;--text-muted:#3D4555;
  --on-dark-muted:#D6DBE4;--on-dark-soft:#B9C1CE;
  --brand:#F26B0F;--orange:#E85D04;--orange-dark:#B84A00;--orange-soft:#FFF1E6;
  --client-bg:#FFF4E8;--client-band:#FCDDBF;--client-dots:#F6C59B;--client-main:#E85D04;
  --resto-bg:#E6F6EE;--resto-band:#BFE8D2;--resto-dots:#A9DDC2;--resto-main:#0E7A3E;
  --livreur-bg:#EFEBFA;--livreur-band:#D8CFF3;--livreur-dots:#C9BEEE;--livreur-main:#3B2A8C;
  font-family:'Outfit',system-ui,-apple-system,'Segoe UI',sans-serif;
  color:var(--text);-webkit-font-smoothing:antialiased;
}
.dx-home *,.dx-home *::before,.dx-home *::after{box-sizing:border-box}
.dx-home h1,.dx-home h2,.dx-home p{margin:0;font-family:inherit}
.dx-home img{max-width:100%;display:block}
.controller-store.action-index{scroll-behavior:smooth}

/* Logo (pas de barre de navigation sur l'accueil) */
.dx-home .dx-logo{font-family:Arial,Helvetica,sans-serif;font-weight:700;font-size:44px;letter-spacing:-1px;line-height:1;color:var(--brand);text-decoration:none;align-self:flex-start}
.dx-home .dx-logo:hover{color:var(--brand);text-decoration:none}

/* Motif de points */
.dx-home .dx-dots{position:absolute;pointer-events:none}
.dx-home .dx-hero-dots{left:24px;bottom:96px;fill:var(--navy-line)}
.dx-home .dx-dots--tr{right:32px;top:32px}
.dx-home .dx-dots--bl{left:32px;bottom:32px}

/* HERO : ecran complet sous l'en-tete du site */
.dx-home .dx-hero{position:relative;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;padding:32px 24px 28px;background:var(--navy);color:#fff;overflow:hidden}
.dx-home .dx-hero-media{position:absolute;top:0;bottom:0;right:0;width:48%}
.dx-home .dx-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:300px 0 0 300px/50% 0 0 50%}
.dx-home .dx-hero-ring{position:absolute;top:28px;bottom:28px;right:0;width:calc(48% + 44px);border:2px solid rgba(242,107,15,.55);border-right:0;border-radius:340px 0 0 340px/50% 0 0 50%}
.dx-home .dx-hero-dot{position:absolute;top:14%;left:-18px;width:44px;height:44px;border-radius:50%;background:var(--brand)}
.dx-home .dx-hero-chip{position:absolute;bottom:18%;left:-36px;display:flex;align-items:center;gap:12px;padding:14px 18px;border-radius:18px;background:#fff;color:var(--text);font-size:15px;font-weight:600;line-height:1.3;box-shadow:0 16px 36px rgba(0,0,0,.3)}
.dx-home .dx-hero-chip-text{max-width:150px}
.dx-home .dx-hero-chip-icon{width:40px;height:40px;border-radius:50%;background:var(--orange-soft);display:flex;align-items:center;justify-content:center}
.dx-home .dx-hero-inner{position:relative;width:100%;max-width:1200px;margin:0 auto;flex:1 1 auto;display:flex;flex-direction:column}
.dx-home .dx-hero-text{flex:1 1 auto;max-width:620px;display:flex;flex-direction:column;justify-content:center;gap:22px;padding:32px 0}
.dx-home .dx-hero h1{font-size:clamp(40px,6vw,64px);line-height:1.04;font-weight:700;letter-spacing:-1.5px;color:#fff}
.dx-home .dx-accent{color:var(--brand)}
.dx-home .dx-hero-lead{font-size:20px;line-height:1.5;color:var(--on-dark-muted)}

/* Barre d'adresse : le composant de recherche du site dans la barre */
.dx-home .dx-address{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.dx-home .dx-address-label{font-size:16px;font-weight:600}
.dx-home .dx-address-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px 8px 8px 16px;border-radius:20px;background:#fff;color:var(--text);box-shadow:0 16px 40px rgba(0,0,0,.35)}
.dx-home .dx-address-bar:focus-within{box-shadow:0 0 0 3px rgba(242,107,15,.6),0 16px 40px rgba(0,0,0,.35)}
.dx-home .dx-address-pin{flex:0 0 auto}
.dx-home .dx-search{flex:1 1 220px;min-width:0;position:relative}
.dx-home .dx-search .home-search-wrap{width:100%;margin:0}
.dx-home .dx-search .search-geocomplete{width:100%!important}
.dx-home .dx-search .flex-enabled-locate{display:none}
.dx-home .dx-search .form-control-text{background:#fff;min-height:48px;font-size:17px;border:0;box-shadow:none}
.dx-home .dx-search .el-input__wrapper{box-shadow:none!important;background:#fff;padding-left:0}
.dx-home .dx-search .el-input__inner{font-size:17px;height:48px;color:var(--text);font-family:inherit}
.dx-home .dx-search .el-input__inner::placeholder{color:#6B7280}
.dx-home .dx-search .btn-link,.dx-home .dx-search .btn-link:hover{color:var(--orange-dark);background:none}
.dx-home .search-geocomplete-results{position:absolute;left:0;right:0;top:100%;z-index:50;background:#fff;color:var(--text);text-align:left}
.dx-home .dx-search-btn{flex:0 0 auto;height:52px;padding:0 24px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;background:var(--orange);color:#fff;font-family:inherit;font-size:19px;font-weight:700;cursor:pointer}
.dx-home .dx-search-btn:hover{background:#D45300}
.dx-home .dx-search-btn:focus-visible{outline:3px solid rgba(242,107,15,.6);outline-offset:2px}
.dx-home .dx-address-hint{font-size:15px;color:var(--on-dark-soft)}

/* Fleche vers le bas */
.dx-home .dx-scroll-down{align-self:center;display:flex;flex-direction:column;align-items:center;gap:6px;color:#fff;font-size:14px;text-decoration:none;animation:dx-bounce 2s ease-in-out infinite}
.dx-home .dx-scroll-down:hover{color:#fff;text-decoration:none}
.dx-home .dx-scroll-down-circle{width:48px;height:48px;border-radius:50%;border:2px solid rgba(255,255,255,.7);display:flex;align-items:center;justify-content:center}

/* SECTIONS (image gauche / droite) */
.dx-home .dx-split{position:relative;display:flex;align-items:stretch;min-height:540px;overflow:hidden}
.dx-home .dx-theme-client{background:var(--client-bg);--main:var(--client-main);--band:var(--client-band);--dots:var(--client-dots)}
.dx-home .dx-theme-resto{background:var(--resto-bg);--main:var(--resto-main);--band:var(--resto-band);--dots:var(--resto-dots)}
.dx-home .dx-theme-livreur{background:var(--livreur-bg);--main:var(--livreur-main);--band:var(--livreur-band);--dots:var(--livreur-dots)}
.dx-home .dx-split .dx-dots{fill:var(--dots)}
.dx-home .dx-split-media{position:relative;flex:0 0 50%;min-height:480px}
.dx-home .dx-split-band,.dx-home .dx-split-img{position:absolute;top:0;bottom:0}
.dx-home .dx-split-band{background:var(--band)}
.dx-home .dx-split-img{width:100%;height:100%;object-fit:cover}
.dx-home .dx-split--left .dx-split-band{left:0;right:-48px;border-radius:0 320px 320px 0/0 50% 50% 0}
.dx-home .dx-split--left .dx-split-img{left:0;right:0;border-radius:0 280px 280px 0/0 50% 50% 0}
.dx-home .dx-split--right .dx-split-band{right:0;left:-48px;border-radius:320px 0 0 320px/50% 0 0 50%}
.dx-home .dx-split--right .dx-split-img{right:0;left:0;border-radius:280px 0 0 280px/50% 0 0 50%}
.dx-home .dx-chip{position:absolute;bottom:40px;display:flex;align-items:center;gap:10px;padding:10px 18px 10px 10px;border-radius:999px;background:#fff;font-size:15px;font-weight:600;box-shadow:0 12px 28px rgba(28,36,51,.16)}
.dx-home .dx-split--left .dx-chip{right:-24px}
.dx-home .dx-split--right .dx-chip{left:-24px}
.dx-home .dx-chip-icon{width:36px;height:36px;border-radius:50%;background:var(--main);display:flex;align-items:center;justify-content:center}
.dx-home .dx-split-text{position:relative;flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:20px}
.dx-home .dx-split--left .dx-split-text{padding:80px 48px 80px 112px}
.dx-home .dx-split--right .dx-split-text{padding:80px 112px 80px 48px}
.dx-home .dx-icon-circle{width:72px;height:72px;border-radius:50%;background:var(--main);display:flex;align-items:center;justify-content:center}
.dx-home .dx-split h2{font-size:clamp(34px,4vw,48px);line-height:1.08;font-weight:700;letter-spacing:-1px;color:var(--text);max-width:10em;text-wrap:balance}
.dx-home .dx-split p{font-size:19px;line-height:1.55;color:var(--text-muted);max-width:460px}

/* Boutons */
.dx-home .dx-btn{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 24px;border-radius:999px;font-size:17px;font-weight:600;text-decoration:none;transition:transform .15s ease,filter .15s ease}
.dx-home .dx-btn:hover{transform:translateY(-1px);text-decoration:none}
.dx-home .dx-btn--outline{border:2px solid var(--orange-dark);color:var(--orange-dark)}
.dx-home .dx-btn--outline:hover{background:var(--orange-dark);color:#fff}
.dx-home .dx-btn--solid{background:var(--main);color:#fff}
.dx-home .dx-btn--solid:hover{color:#fff;filter:brightness(1.1)}

@keyframes dx-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(8px)}}
@media (prefers-reduced-motion:reduce){
  .controller-store.action-index{scroll-behavior:auto}
  .dx-home .dx-scroll-down{animation:none}
}

/* Mobile */
@media (max-width:860px){
  .dx-home .dx-hero-media{width:100%;opacity:.2}
  .dx-home .dx-hero-img{border-radius:0}
  .dx-home .dx-search-btn{flex:1 1 100%}
  .dx-home .dx-logo{font-size:36px}
  .dx-home .dx-hero-ring,.dx-home .dx-hero-dot,.dx-home .dx-hero-chip,.dx-home .dx-hero-dots{display:none}
  .dx-home .dx-split{flex-direction:column;min-height:0}
  .dx-home .dx-split-media{flex:none;width:100%;min-height:300px;order:-1}
  .dx-home .dx-split-band{display:none}
  .dx-home .dx-split--left .dx-split-img,.dx-home .dx-split--right .dx-split-img{border-radius:0 0 50% 50%/0 0 72px 72px}
  .dx-home .dx-split--left .dx-chip,.dx-home .dx-split--right .dx-chip{right:auto;left:24px;bottom:-22px}
  .dx-home .dx-split--left .dx-split-text,.dx-home .dx-split--right .dx-split-text{padding:48px 24px 64px}
}
