/* Econakl — couche de design 2026 (s'ajoute au CSS d'origine, ne modifie pas le contenu) */
:root {
  --yellow: #f5c431;
  --primary: #f5c431;
  --r-card: 18px;
  --r-media: 22px;
  --r-panel: 30px;
  --r-pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-soft: 0 1px 2px rgba(16, 24, 22, .04), 0 8px 28px rgba(16, 24, 22, .07);
  --shadow-lift: 0 2px 4px rgba(16, 24, 22, .05), 0 18px 44px rgba(16, 24, 22, .12);
}

/* Typographie : Geist (chargée via Google Fonts) au lieu d'Arial */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body, body *:not(code):not(pre):not(kbd) { font-family: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3, .hero-slogan { font-weight: 600; font-feature-settings: "ss01", "cv11"; }
.section h2, .faq-section h2, .manifesto h2, .equipment-index-heading h2 { letter-spacing: -.045em; }
.eyebrow { letter-spacing: .14em; font-weight: 500; }
::selection { background: var(--yellow); color: #15191b; }

/* En-tête : verre dépoli */
.site-header { background: rgba(18, 22, 24, .72); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom-color: rgba(255, 255, 255, .08); }
.site-header.over-hero { background: linear-gradient(180deg, rgba(10, 13, 15, .55), rgba(10, 13, 15, 0)); -webkit-backdrop-filter: none; backdrop-filter: none; }
.desktop-nav a { border-radius: var(--r-pill); padding: 8px 12px; transition: background .25s var(--ease), color .25s; }
.desktop-nav a:hover { background: rgba(255, 255, 255, .1); }

/* Boutons en pilule */
.button, .quote-button, .mobile-quote, .round-cta { border-radius: var(--r-pill) !important; }
.button { padding-left: 26px; padding-right: 22px; transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s; }
.button.yellow { box-shadow: 0 6px 20px rgba(245, 196, 49, .28); }
.button.yellow:hover { box-shadow: 0 10px 28px rgba(245, 196, 49, .38); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* Hero : dégradé plus profond, chiffres en bandeau arrondi */
.hero-shade { background: linear-gradient(100deg, rgba(9, 12, 14, .86) 0%, rgba(9, 12, 14, .55) 45%, rgba(9, 12, 14, .12) 100%) !important; }
.hero-slogan { text-wrap: balance; }
.hero-description { max-width: 560px; }
.proof-strip { border-radius: var(--r-panel) var(--r-panel) 0 0; }

/* Cartes et médias arrondis */
.equipment-index-card, .service-card, .universe-card, .company-logo-card, .client-ref-card, .extended-item, .notice {
  border-radius: var(--r-card) !important; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s, background .25s;
}
.equipment-index-card:hover, .service-card:hover, .universe-card:hover, .extended-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.client-ref-card { box-shadow: var(--shadow-soft); }
.family-image, .detail-photo, .extended-item-photo, .visual, .planning-banner, .manifesto-photo img, .content-split img { border-radius: var(--r-media); overflow: hidden; }
.family-card .family-image img { transition: transform .6s var(--ease); }
.family-card:hover .family-image img { transform: scale(1.04); }
.image-note { border-radius: var(--r-pill); }

/* Sections sombres en panneaux flottants */
.manifesto, .event-feature, .planning-banner { border-radius: var(--r-panel); overflow: hidden; }
.manifesto, .event-feature { margin: 24px max(2%, calc((100% - 1520px) / 2)); }
.pale-section, .home-equipment-search { background: #f5f4ef; }

/* Formulaires */
.field input, .field select, .field textarea, .extended-filters input, .extended-filters select,
#demande input, #demande textarea, #demande button { border-radius: 14px !important; }
#demande { border-radius: var(--r-panel) !important; box-shadow: var(--shadow-soft); }
.catalogue-options, .extended-filters { border-radius: var(--r-card); }

/* FAQ : questions en cartes légères */
.faq-list > div[data-slot="accordion-item"] { border: 1px solid #e3e6e2 !important; border-radius: var(--r-card); padding: 4px 22px; margin-bottom: 12px; background: #fff; }

/* Pied de page arrondi */
.site-footer { border-radius: var(--r-panel) var(--r-panel) 0 0; margin-top: 40px; }

/* Apparition au défilement (désactivée si l'utilisateur réduit les animations) */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .equipment-index-card:hover, .service-card:hover, .universe-card:hover, .extended-item:hover { transform: none; }
}

@media (max-width: 700px) {
  :root { --r-panel: 22px; --r-card: 16px; --r-media: 18px; }
  .manifesto, .event-feature { margin: 14px 10px; }
}

/* ---- Étape 2 : signature visuelle 2026 ---- */
/* En-tête flottant en pilule */
.site-header, .site-header.over-hero { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-bottom: 0 !important; height: auto !important; padding: 12px max(12px, 2%); pointer-events: none; }
.site-header .header-inner { pointer-events: auto; height: 66px; max-width: 1360px; padding: 0 12px 0 26px; border-radius: var(--r-pill);
  background: rgba(17, 21, 23, .74); -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px);
  border: 1px solid rgba(255, 255, 255, .10); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.quote-button { white-space: nowrap; padding: 12px 18px !important; }
.brand { font-size: 22px; }

/* Hero aux coins arrondis + bandeau de chiffres flottant */
.hero { border-radius: 0 0 var(--r-panel) var(--r-panel); }
.hero-bottom { bottom: 84px; }
.proof-strip { position: relative; z-index: 3; margin: -52px max(2%, calc((100% - 1360px) / 2)) 0; border-radius: 22px !important;
  border: 0; box-shadow: 0 18px 40px rgba(16, 24, 22, .18); height: 84px; }
.hero-slide-selectors button, .hero-bottom > button { border-radius: var(--r-pill) !important; }

/* Pastilles rondes */
.card-arrow { border-radius: var(--r-pill); bottom: 14px; right: 14px; padding: 13px; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.family-card:hover .card-arrow { padding: 15px; }
.family-number { border-radius: var(--r-pill); min-width: 42px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: rgba(21, 25, 27, .62); }
.offer-badge, .image-disclosure { border-radius: var(--r-pill) !important; }
.universe-card { border-radius: var(--r-media); }
.universe-card > img { transition: transform .8s var(--ease); }
.universe-card:hover > img { transform: scale(1.04); }

/* Cartes familles : fond teinté, sans bordure dure */
.equipment-index-card { background: #f7f7f3; border-color: transparent; }
.equipment-index-card:hover { background: #fffcf1; border-color: #e7c55a; }
.extended-item-photo { background: #f7f7f3; }

/* Section 3D en panneau */
.machine-section { border: 0; border-radius: var(--r-panel); overflow: hidden; margin: 24px max(2%, calc((100% - 1520px) / 2)); }

/* Lisibilité : plus de micro-textes illisibles */
.equipment-index-count, .family-copy .eyebrow { font-size: 11px; }
.equipment-index-number { font-size: 10px; }
.section-heading > p, .hero-description { line-height: 1.7; }

@media (max-width: 1100px) {
  .site-header .header-inner { padding: 0 8px 0 20px; height: 60px; }
}
@media (max-width: 700px) {
  .site-header, .site-header.over-hero { padding: 10px; }
  .site-header .header-inner { height: 58px; padding: 0 6px 0 14px; gap: 8px; }
  .header-actions { gap: 2px; }
  .menu-button { width: 36px !important; height: 36px !important; margin-right: 2px; }
  .quote-button { padding: 10px 14px !important; font-size: 13px; }
  .quote-button svg { display: none; }
  .brand { font-size: 19px; }
  .proof-strip { margin: -36px 10px 0; height: auto; padding: 16px 18px; border-radius: 18px !important; }
  .hero-bottom { bottom: 60px; }
  .machine-section { margin: 14px 10px; }
}

/* Petits écrans : libellé court du bouton devis (place pour le sélecteur de langue et le menu) */
@media (max-width: 430px) {
  .quote-button .selection-label { font-size: 0; }
  .quote-button .selection-label::after { content: "Devis"; font-size: 13px; }
  html[lang=ar] .quote-button .selection-label::after { content: "عرض سعر"; }
  .site-header .header-inner { padding-left: 12px; }
}
@media (max-width: 700px) {
  a[aria-label="Écrire sur WhatsApp"], a[aria-label="راسلنا عبر واتساب"] { bottom: 88px !important; right: 14px !important; padding: 12px 16px !important; }
}

/* Lignes verticales décoratives de l'accueil retirées (demande de Badr) */
.hero-grid{display:none !important}

/* Boutons : texte et flèche resserrés, bien centrés */
.quote-button{gap:12px !important;justify-content:center !important;padding:12px 22px !important}
.button.yellow,.button.glass{gap:14px !important;justify-content:center !important}
@media(max-width:560px){.header-actions{gap:8px}.quote-button{padding:11px 16px !important;font-size:14px}}

/* Sélecteurs du diaporama : barres au lieu de chiffres */
.hero-slide-selectors{gap:6px !important;align-items:center}
.hero-slide-selectors button{width:34px !important;height:30px !important;border:0 !important;background:none !important;position:relative;font-size:0 !important;padding:0;cursor:pointer;transition:width .3s}
.hero-slide-selectors button span{display:none !important}
.hero-slide-selectors button::after{content:"";position:absolute;left:0;right:0;top:50%;height:4px;margin-top:-2px;border-radius:4px;background:rgba(255,255,255,.45);transition:background .3s}
.hero-slide-selectors button:hover::after{background:rgba(255,255,255,.8)}
.hero-slide-selectors button[aria-pressed="true"]{width:60px !important}
.hero-slide-selectors button[aria-pressed="true"]::after{background:var(--yellow,#f2c230)}
