/* ECONAKL — theme v2 : sobre, industriel, lisible.
   Chargé APRÈS site.css : surcharge le rendu sans toucher à la structure. */

:root {
  --ink: #12171d;
  --ink-2: #1c242d;
  --cream: #f6f5f1;
  --cream-2: #ecebe5;
  --amber: #f2b705;
  --amber-2: #ffc928;
  --yellow: #f2b705;
  --yellow-2: #ffc928;
  --lime: #f2b705;
  --green: #12171d;
  --muted: #55606b;
  --line: rgba(18, 23, 29, 0.12);
  --glass: #ffffff;
  --glass-dark: #12171d;
  --shadow: 0 18px 50px rgba(18, 23, 29, 0.12);
  --r: 12px;
}

body { background: var(--ink); color: var(--ink); font-weight: 400; -webkit-font-smoothing: antialiased; }
.site-shell { background: var(--cream); border-radius: 0; }

/* ---------- Barre d'annonce ---------- */
.topbar { background: var(--ink); color: #d9dde2; min-height: 38px; padding: 8px 20px; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.01em; }

/* ---------- Navigation ---------- */
.navbar { padding: 0; background: rgba(18, 23, 29, 0.96); backdrop-filter: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-inner { justify-content: space-between; min-height: 68px; gap: 24px; }
.nav-pill, .nav-pill:hover, .nav-pill:focus-within { width: auto; flex: 1; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; justify-content: flex-start; gap: 44px; color: #fff; }
.brand { color: #fff; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; text-shadow: none; text-transform: none; }
.brand::after { content: ""; width: 8px; height: 8px; margin-left: 2px; margin-top: 10px; background: var(--amber); border-radius: 2px; }
.brand-word { color: var(--amber); text-shadow: none; font-weight: 700; }
.nav-links { gap: 28px; font-size: 0.92rem; font-weight: 500; }
.nav-links a { opacity: 0.8; color: #fff; padding: 4px 0; }
.nav-links a:hover, .nav-links a.active { opacity: 1; text-decoration: none; box-shadow: 0 2px 0 var(--amber); }
.nav-links a.lang-switch { border-color: rgba(255,255,255,0.3); background: transparent; color: #fff; border-radius: 6px; min-height: 30px; padding: 4px 10px; box-shadow: none; }
.nav-actions { position: static; color: #fff; }
.nav-actions .btn { min-height: 44px; }

/* ---------- Boutons ---------- */
.btn { min-height: 52px; border-radius: 8px; padding: 0 26px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0; }
.btn-primary { background: var(--amber); color: #12171d; box-shadow: none; }
.btn-primary:hover { background: var(--amber-2); box-shadow: 0 0 0 4px rgba(242,183,5,0.25); transform: none; }
.btn-light { background: #fff; color: #12171d; box-shadow: none; }
.btn-link { color: var(--ink); border-bottom: 2px solid var(--amber); font-weight: 600; }
.dark .btn-link { color: #fff; }

/* ---------- Hero ---------- */
.hero { min-height: 0; padding: 72px 0 88px; background: var(--cream); }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.eyebrow { border: 0; border-radius: 4px; padding: 6px 12px; background: var(--ink); color: #fff; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.eyebrow::before { background: var(--amber); border-radius: 1px; }
.hero h1 { margin: 22px 0 22px; max-width: 640px; font-size: clamp(2.5rem, 4.6vw, 4.4rem); line-height: 1.03; font-weight: 800; letter-spacing: -0.035em; }
.highlight { background: none; color: var(--ink); box-shadow: inset 0 -0.28em 0 var(--amber); padding: 0; }
.lead { color: var(--muted); font-size: 1.14rem; line-height: 1.6; font-weight: 400; max-width: 540px; }
.hero-visual { min-height: 560px; }
.hero-photo { inset: 0; border-radius: var(--r); box-shadow: var(--shadow); }
.hero-photo::after { background: linear-gradient(180deg, transparent 55%, rgba(18,23,29,0.55)); }
.floating-card { display: none; }              /* miniature Dubaï incohérente */
.glass-card { background: #fff; backdrop-filter: none; border: 0; box-shadow: var(--shadow); }
.hero-card { left: 24px; right: auto; bottom: 24px; width: min(420px, calc(100% - 48px)); border-radius: 10px; padding: 22px 24px; border-left: 5px solid var(--amber); }
.hero-card .mini-label, .glass-panel .mini-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; }
.hero-card .mini-label::before, .glass-panel .mini-label::before { background: var(--amber); border-radius: 1px; }
.hero-card strong { font-size: 2.2rem; line-height: 1; letter-spacing: -0.03em; font-weight: 800; text-shadow: none; }
.hero-card p { color: var(--muted); font-weight: 400; font-size: 0.95rem; line-height: 1.5; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--cream-2); }
.section.dark { background: var(--ink); color: #fff; }
.section-header { align-items: end; gap: 56px; margin-bottom: 44px; }
.kicker { color: var(--ink); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--amber); }
.dark .kicker { color: #c9ced4; }
.section h2, .page-hero h1 { max-width: 780px; font-size: clamp(1.9rem, 3.3vw, 3rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.section-header p { color: var(--muted); font-weight: 400; font-size: 1.02rem; line-height: 1.6; }
.dark .section-header p { color: #b4bbc3; }

/* ---------- Cartes ---------- */
.service-card, .panel, .product-card, .contact-card, .office-card, .city-card, .metric, .timeline-step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: none; backdrop-filter: none; }
.service-card:hover, .panel:hover, .product-card:hover, .contact-card:hover, .timeline-step:hover, .office-card:hover, .city-card:hover { transform: translateY(-3px); border-color: var(--amber); box-shadow: 0 14px 36px rgba(18,23,29,0.1); }
.service-card { min-height: 0; }
.service-card img { height: 210px; }
.service-body { padding: 22px 24px 26px; }
.service-card h3, .panel h3, .product-card h3, .contact-card h3 { margin: 14px 0 8px; font-size: 1.28rem; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
.service-card p, .panel p, .product-card p, .contact-card p, .city-card p, .office-card p, .timeline-step p { color: var(--muted); font-weight: 400; line-height: 1.6; }
.chip { border: 0; border-radius: 4px; background: rgba(242,183,5,0.2); color: #6b4f00; min-height: 26px; padding: 0 10px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.panel { padding: 28px; }
.dark .panel, .dark-panel { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.dark .panel h3 { color: #fff; }
.dark .panel p { color: #b4bbc3; }
.dark .panel:hover { border-color: var(--amber); }
.feature-list { color: var(--muted); font-weight: 500; }
.feature-list li::before { background: var(--amber); border-radius: 1px; }

/* ---------- Bloc « méthode » (verre → panneau plein) ---------- */
.glass-stage { min-height: 0; border-radius: var(--r); background: var(--ink); }
.glass-stage > img { opacity: 0.28; }
.glass-panel { margin: 0; min-height: 0; padding: clamp(28px, 5vw, 60px); border-radius: 0; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); column-gap: 56px; align-content: center; }
.glass-panel h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.glass-panel .mini-label { color: #c9ced4; }
.glass-panel p { color: #d3d8de; font-weight: 400; }
.callout { border: 1px solid rgba(255,255,255,0.16); border-radius: 10px; background: rgba(255,255,255,0.06); padding: 18px 20px; }
.callout:first-child { border-color: var(--amber); background: rgba(242,183,5,0.1); }
.callout span { color: var(--amber); }
.callout strong { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Métriques ---------- */
.metric-strip { gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.metric, .metric:nth-child(even) { border: 0; border-right: 1px solid var(--line); border-radius: 0; background: #fff; padding: 30px 28px; }
.metric:last-child { border-right: 0; }
.metric strong { font-size: 2.1rem; line-height: 1; letter-spacing: -0.03em; font-weight: 800; text-shadow: none; box-shadow: inset 0 -0.3em 0 rgba(242,183,5,0.55); width: max-content; margin-bottom: 12px; }
.metric span { color: var(--muted); font-weight: 400; line-height: 1.5; }

/* ---------- Scénarios sectoriels : cartes compactes, texte toujours visible ---------- */
.customer-story-grid { gap: 16px; }
.customer-story, .customer-story-grid.stories-visible .customer-story { min-height: 0; align-items: flex-start; border-radius: var(--r); padding: 28px; border: 1px solid rgba(255,255,255,0.08); background: var(--ink); box-shadow: none; }
.customer-story::before { display: none; }
.customer-story-grid.stories-visible .customer-story:hover, .customer-story:hover { transform: translateY(-3px); border-color: var(--amber); }
.customer-logo, .customer-story-grid.stories-visible .customer-logo { width: auto; height: auto; padding: 0; border: 0; background: none; box-shadow: none; transform: none; display: block; }
.customer-logo.text-logo { color: var(--amber); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.story-content, .customer-story-grid .story-content { margin-top: 14px; visibility: visible; opacity: 1; transform: none; }
.story-content h3, .story-content p, .customer-story-grid .story-content h3, .customer-story-grid .story-content p { opacity: 1; transform: none; }
.story-content h3 { margin: 12px 0 10px; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; color: #fff; }
.story-content p { font-size: 0.95rem; font-weight: 400; color: #b4bbc3; line-height: 1.6; }
.story-content .chip { background: rgba(255,255,255,0.1); color: #e7eaee; }

/* ---------- Carte du monde / bandeau ---------- */
.world-map-card { min-height: 480px; border-radius: var(--r); background: #fff; box-shadow: none; }
.world-map-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.world-map-card.is-empty::after { display: none; }
.world-map-card img { opacity: 0.18; }
.map-overlay { background: none; }
.map-info, .map-card { backdrop-filter: none; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--amber); border-radius: 10px; box-shadow: var(--shadow); padding: 24px; }
.map-info h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.map-info p, .map-card p { color: var(--muted); font-weight: 400; }
.marketing-band { border-radius: var(--r); }
.marketing-band .timeline-step { background: #fff; backdrop-filter: none; border-color: var(--line); }
.timeline-step { min-height: 0; padding: 26px; }
.timeline-step strong { border-radius: 6px; background: var(--amber); font-weight: 800; }
.timeline-step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }

/* ---------- Tableau / routes ---------- */
.route-table-wrap { border-radius: var(--r); background: #fff; box-shadow: none; }
.route-table th { background: var(--ink); font-weight: 700; }
.route-table td { color: var(--muted); font-weight: 400; }
.route-table td strong { color: var(--ink); font-weight: 700; }
.route-table tr:nth-child(even) td { background: #faf9f6; }
.route { border-radius: 8px; background: #fff; font-weight: 500; }
.route strong { font-weight: 700; }
.route-highlight { border-radius: var(--r); }
.route-highlight span { background: var(--amber); color: #12171d; border-radius: 4px; }

/* ---------- Photos (plus de cartes floues) ---------- */
.visual-tile { border-radius: var(--r); box-shadow: none; }
.visual-caption { backdrop-filter: none; background: #fff; border: 0; border-radius: 8px; border-left: 4px solid var(--amber); }
.visual-caption p { color: var(--muted); font-weight: 400; }
.product-card { padding: 32px; min-height: 0; }
.product-card img { border-radius: 8px; }
.page-hero { background: var(--ink); min-height: 360px; padding: 80px 0 56px; }
.page-hero::before { background: linear-gradient(90deg, rgba(18,23,29,0.92), rgba(18,23,29,0.6)); }
.page-bg { opacity: 0.55; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #d3d8de; font-weight: 400; }
.page-hero .eyebrow { background: var(--amber); color: #12171d; }
.page-hero .eyebrow::before { background: #12171d; }

/* ---------- Formulaires ---------- */
.form input, .form select, .form textarea { border-radius: 8px; background: #fff; border: 1px solid rgba(18,23,29,0.25); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(242,183,5,0.25); }
.form-status { border-radius: 8px; background: rgba(242,183,5,0.15); }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); padding: 64px 0 34px; border-top: 4px solid var(--amber); }
.footer .brand { font-size: 1.4rem; }
.footer p, .footer li, .footer a { color: #aab2bb; }
.footer a:hover { color: #fff; }
.footer h4 { color: #fff; font-weight: 700; }

/* ---------- Accessibilité ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ================= Tablette / mobile ================= */
@media (max-width: 980px) {
  .nav-inner { min-height: 60px; align-items: center; }
  .nav-pill, .nav-pill:hover, .nav-pill:focus-within { flex-wrap: nowrap; justify-content: space-between; gap: 12px; width: auto; padding: 0; }
  .nav-links a { border: 0; background: none; border-radius: 0; padding: 0; }
  .has-mobile-nav .nav-links { top: 100%; left: 0; right: 0; border-radius: 0; border: 0; border-top: 1px solid rgba(255,255,255,0.1); background: var(--ink); padding: 8px 20px 20px; gap: 0; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
  .has-mobile-nav .nav-links a { color: #fff; border: 0; border-bottom: 1px solid rgba(255,255,255,0.08); background: none; padding: 15px 2px; border-radius: 0; font-size: 1rem; box-shadow: none; }
  .has-mobile-nav .nav-links a.lang-switch { margin-top: 12px; width: max-content; padding: 8px 14px; border: 1px solid rgba(255,255,255,0.3); border-radius: 6px; }
  .nav-toggle { border-radius: 8px; background: transparent; border-color: rgba(255,255,255,0.3); }
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .callout-grid { grid-column: 1; grid-row: auto; }
  .customer-story-grid, .timeline, .office-grid, .city-grid { grid-template-columns: 1fr; }
  .glass-panel { column-gap: 0; }
  .hero-visual { min-height: 340px; }
  .hero-photo { inset: 0; }
  .hero-card { left: 14px; bottom: 14px; width: calc(100% - 28px); padding: 16px 18px; }
  .hero-card p { display: none; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .glass-panel { margin: 0; grid-template-columns: 1fr; }
  .callout-grid { margin-top: 26px; }
  .section { padding: 60px 0; }
  .section-header { gap: 14px; margin-bottom: 30px; }
}
@media (max-width: 640px) {
  .topbar { font-size: 0.74rem; }
  .brand { font-size: 1.3rem; }
  .hero h1 { font-size: clamp(2.1rem, 9.2vw, 2.8rem); line-height: 1.07; letter-spacing: -0.03em; }
  .lead { font-size: 1.04rem; }
  .section h2, .page-hero h1 { font-size: clamp(1.65rem, 7.4vw, 2.1rem); letter-spacing: -0.025em; }
  .metric-strip { grid-template-columns: 1fr; }
  .metric, .metric:nth-child(even) { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .glass-stage, .glass-panel { border-radius: var(--r); }
  .customer-story, .customer-story-grid.stories-visible .customer-story { padding: 22px; }
  .product-card { padding: 22px; }
  .world-map-card { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .word-reveal span { animation: none; opacity: 1; transform: none; filter: none; }
}
.page-hero h1 { margin-top: 18px; }
