/* ============================================================
   OneClick — Styles des pages (accueil, formations, cartes…)
   ============================================================ */

/* ---------------- HERO ---------------- */
.hero { position: relative; background: var(--navy-800); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(243,118,35,.22), transparent 60%),
    radial-gradient(700px 600px at -5% 110%, rgba(38,106,140,.4), transparent 55%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; padding: 72px 0 84px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 60px); font-weight: 900; line-height: 1.04; }
.hero h1 .accent { color: var(--orange); }
.hero-lead { color: rgba(255,255,255,.82); font-size: clamp(16px, 2vw, 19px); margin-top: 20px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600;
  font-size: 13.5px; color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 14px; border-radius: 999px;
}
.hero-pill svg { color: var(--orange); }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-xl);
  padding: 16px; box-shadow: var(--sh-3); backdrop-filter: blur(4px);
}
.hero-ph { aspect-ratio: 4/3.4; border-radius: var(--r-lg); }
.hero-float {
  position: absolute; background: #fff; color: var(--ink); border-radius: var(--r-md);
  box-shadow: var(--sh-3); padding: 13px 16px; display: flex; align-items: center; gap: 12px;
}
.hero-float .hf-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.hero-float strong { font-family: var(--font-head); font-size: 15px; color: var(--navy-800); display: block; }
.hero-float span { font-size: 12.5px; color: var(--ink-3); }
.hf-a { bottom: -22px; left: -22px; }
.hf-b { top: 26px; right: -20px; }

/* ---------------- Nos pôles d'activité (grille écosystème) ---------------- */
.eco-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; margin-top: 36px; }
.eco-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1);
  overflow: hidden; display: flex; flex-direction: column; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.eco-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--orange-100); }
.eco-card-img { position: relative; }
.eco-card-img .imgfill, .eco-card-img .ph { border-radius: 0; }
.eco-card-img img { transition: transform .5s ease; }
.eco-card:hover .eco-card-img img { transform: scale(1.05); }
.eco-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.eco-ic {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px); color: var(--orange-700); flex-shrink: 0;
}
.eco-card h3 { font-size: 17px; color: var(--navy-800); }
.eco-tagline { font-size: 12.5px; color: var(--ink-3); margin-top: 5px; }
.eco-list { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; }
.eco-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.eco-list li svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.eco-more { display: inline-block; margin-top: 10px; font-family: var(--font-head); font-size: 12px; font-weight: 700; color: var(--navy-600); }
.eco-go {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line-soft); font-family: var(--font-head); font-weight: 700;
  font-size: 13px; color: var(--orange-600);
}
.eco-go svg { color: var(--orange-600); }

/* ---------------- STATS BAR ---------------- */
.stats { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; padding: 30px 0; }
.stat { text-align: center; padding: 8px; }
.stat-num { font-family: var(--font-head); font-weight: 900; font-size: clamp(26px,3.6vw,40px); color: var(--navy-800); line-height: 1; }
.stat-num .u { color: var(--orange); }
.stat-lbl { color: var(--ink-2); font-size: 14px; margin-top: 7px; }

/* ---------------- PACKS GRID ---------------- */
.packs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.pack-card {
  display: flex; flex-direction: column; padding: 26px; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.pack-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: var(--orange-100); }
.pack-ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--navy-100); color: var(--navy-700); margin-bottom: 18px;
}
.pack-card:hover .pack-ic { background: var(--orange-100); color: var(--orange-700); }
.pack-card h3 { font-size: 21px; }
.pack-accroche { color: var(--orange-700); font-family: var(--font-head); font-weight: 600; font-size: 13.5px; margin-top: 5px; }
.pack-desc { color: var(--ink-2); font-size: 14.5px; margin-top: 12px; flex: 1; }
.pack-foot { display: flex; align-items: center; justify-content: flex-end; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.pack-go { display: inline-flex; align-items: center; gap: 6px; color: var(--orange-600); font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.pack-card:hover .pack-go svg { transform: translateX(3px); }
.pack-go svg { transition: transform .2s; }

/* ---------------- Bandeau photo (mission) ---------------- */
.photo-band { position: relative; height: clamp(320px, 40vw, 480px); overflow: hidden; }
.photo-band-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(10,44,64,.92) 0%, rgba(10,44,64,.75) 46%, rgba(10,44,64,.2) 100%);
  display: flex; align-items: center;
}
.photo-band-copy { max-width: 560px; }

/* ---------------- SPLIT (cartes teaser, etc.) ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.feat-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.feat-item { display: flex; gap: 13px; align-items: flex-start; }
.feat-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--green-bg); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.feat-item div strong { font-family: var(--font-head); color: var(--navy-800); font-size: 15.5px; }
.feat-item div p { color: var(--ink-2); font-size: 14px; }

/* ---------------- Credit / bank cards visual ---------------- */
.bankcard {
  position: relative; aspect-ratio: 1.586/1; border-radius: 18px; color: #fff; padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  box-shadow: var(--sh-3);
}
.bankcard::after { content:""; position:absolute; inset:0; background: radial-gradient(420px 200px at 110% -20%, rgba(255,255,255,.18), transparent 60%); }
.bankcard .bc-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 2; }
.bankcard .bc-bank { font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.bankcard .bc-chip { width: 42px; height: 32px; border-radius: 7px; background: linear-gradient(135deg,#F4D58D,#C99A3A); margin: 18px 0; position: relative; z-index: 2; }
.bankcard .bc-num { font-family: var(--font-head); font-size: clamp(15px,2.4vw,19px); letter-spacing: .12em; position: relative; z-index: 2; }
.bankcard .bc-bottom { display: flex; justify-content: space-between; align-items: flex-end; position: relative; z-index: 2; }
.bankcard .bc-net { font-family: var(--font-head); font-weight: 800; font-size: 21px; font-style: italic; }
.bankcard .bc-prepaid { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }

/* Vraies images de cartes prépayées */
.bankimg { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: var(--sh-3); }

/* ---------------- Carte mentale écosystème (page Consulting) ---------------- */
.eco-link-pill {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px 10px 14px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy-800);
  transition: background .15s, border-color .15s, transform .15s;
}
.eco-link-pill svg { color: var(--orange-600); flex-shrink: 0; }
.eco-link-pill:hover { background: var(--orange-050); border-color: var(--orange-100); transform: translateY(-2px); }

/* Carte mentale graphique (desktop / tablette) */
.mindmap-graphic { overflow-x: auto; padding: 4px 0 16px; }
.mindmap-tree { display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
.mm-root {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy-800); color: #fff; border-radius: 999px;
  padding: 14px 26px; font-family: var(--font-head); font-weight: 700; font-size: 15.5px;
  box-shadow: var(--sh-2); white-space: nowrap;
}
.mm-root svg { color: var(--orange); }
.mm-stem { width: 2px; height: 24px; background: var(--line); }
.mm-stem-leaf { height: 18px; }
.mm-branch-node {
  background: var(--orange-050); border: 1px solid var(--orange-100); color: var(--orange-700);
  font-family: var(--font-head); font-weight: 700; font-size: 14px; border-radius: 999px;
  padding: 11px 20px; white-space: nowrap; margin-bottom: 4px;
}

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--navy-800); color: #fff; border-radius: var(--r-xl); padding: 56px; position: relative; overflow: hidden; text-align: center; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 50% -40%, rgba(243,118,35,.28), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------------- Testimonials ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testi { padding: 26px; display: flex; flex-direction: column; }
.testi-stars { display: flex; gap: 3px; color: var(--orange); margin-bottom: 14px; }
.testi-quote { font-size: 15.5px; color: var(--ink); line-height: 1.6; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi-av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-100); color: var(--navy-700); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.testi-who strong { font-family: var(--font-head); font-size: 14.5px; color: var(--navy-800); display: block; }
.testi-who span { font-size: 12.5px; color: var(--ink-3); }

/* ---------------- Agence cards ---------------- */
.ag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ag-card { overflow: hidden; display: flex; flex-direction: column; }
.ag-map { aspect-ratio: 16/8; position: relative; }
.ag-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-60%); color: var(--orange-600); }
.ag-body { padding: 24px; }
.ag-body h3 { font-size: 20px; }
.ag-meta { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.ag-meta-row { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14px; }
.ag-meta-row svg { color: var(--orange-600); flex-shrink: 0; }

/* ---------------- BLOG ---------------- */
.blog-filters {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px;
}
.blog-filter-btn {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-family: var(--font-head);
  font-weight: 600; font-size: 13.5px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.blog-filter-btn:hover { border-color: var(--orange); color: var(--orange-700); }
.blog-filter-btn.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.blog-card {
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
  cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--orange-100); }
.blog-card-cat { display: flex; }
.blog-card-titre {
  font-size: 17px; line-height: 1.35; color: var(--navy-800);
  font-family: var(--font-head); font-weight: 700; flex: 1;
}
.blog-card-extrait { font-size: 14px; color: var(--ink-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft);
}
.blog-card-date { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.blog-card-lire { display: flex; align-items: center; gap: 5px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--orange-600); }
.blog-card:hover .blog-card-lire svg { transform: translateX(3px); transition: transform .2s; }

.blog-empty { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.blog-empty svg { opacity: .3; margin-bottom: 14px; }

/* Chips colorées */
.chip-orange { background: var(--orange-100); color: var(--orange-700); }
.chip-navy   { background: var(--navy-100);   color: var(--navy-700);   }
.chip-green  { background: var(--green-bg);   color: var(--green);      }
.chip-gray   { background: var(--bg-2);       color: var(--ink-2);      }

/* Article complet */
.article-meta {
  display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px;
  color: rgba(255,255,255,.7); font-size: 14px;
}
.article-meta span { display: flex; align-items: center; gap: 7px; }

.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }

.article-extrait {
  font-size: 17px; color: var(--ink-2); line-height: 1.7;
  font-style: italic; padding-bottom: 24px;
}
.article-hr { border: none; border-top: 1px solid var(--line); margin: 0 0 28px; }
.article-content { font-size: 15.5px; line-height: 1.8; color: var(--ink); }
.article-content h3 { font-family: var(--font-head); font-size: 20px; color: var(--navy-800); margin: 28px 0 10px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { padding-left: 22px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.article-content li { color: var(--ink-2); }
.article-content strong { color: var(--navy-800); font-weight: 700; }

.aside-title { font-family: var(--font-head); font-size: 15px; color: var(--navy-800); font-weight: 700; }

.share-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.share-btn { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: var(--r-md); font-family: var(--font-head); font-weight: 600; font-size: 14px; text-decoration: none; transition: opacity .15s; }
.share-btn:hover { opacity: .85; }
.share-wa { background: #25D366; color: #fff; }
.share-fb { background: #1877F2; color: #fff; }

.other-article-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.other-article-btn:last-child { border-bottom: none; padding-bottom: 0; }
.other-article-titre { font-size: 13.5px; color: var(--ink); font-family: var(--font-head); font-weight: 600; line-height: 1.35; }
.other-article-btn:hover .other-article-titre { color: var(--orange-700); }

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; }
  .page-hero-in.with-media { grid-template-columns: 1fr; gap: 28px; }
  .page-hero-media { max-width: 420px; margin-inline: auto; order: -1; }
  .packs-grid, .testi-grid { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .stats-in { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  .packs-grid, .testi-grid, .ag-grid { grid-template-columns: 1fr; }
  .hf-a { left: 8px; bottom: -16px; }
  .hf-b { right: 4px; }
  .cta-band { padding: 38px 22px; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-aside { grid-template-columns: 1fr; }
  .article-body { padding: 22px 18px !important; }
}
