/* ═══════════════════════════════════════════════════
   IzaIA — Warm Editorial (inspiration Claude / Medium)
   Chargé après common.css. Ne touche que les pages
   qui l'incluent (home, formation, conseil).
═══════════════════════════════════════════════════ */

/* ── Tokens chauds éditoriaux ── */
:root{
  --cream:#F7F3EC; --cream-alt:#F1EADD;
  --text:#1C1813; --muted:#5B5349; --muted-2:#8E8478;
  --border:rgba(28,24,19,.11); --line-2:rgba(28,24,19,.18);
  --accent:#C2410C; --accent-hover:#8F2E08; --accent-soft:#EFE4D7; --accent-glow:#E89B6C;
  --accent-light:#FED7AA;
  --radius:18px; --radius-sm:11px;
  --shadow:0 1px 2px rgba(28,24,19,.04),0 8px 30px rgba(28,24,19,.07);
  --shadow-lg:0 10px 40px rgba(28,24,19,.10);
}
body{font-size:17px;color:var(--text);background:var(--cream)}
.container{max-width:1140px}

/* tag → eyebrow éditorial */
.tag{font-size:.72rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--muted-2)}
.tag::before{display:none}
.tag.acc{color:var(--accent)}

/* ── Boutons : sombre premium + ghost ── */
.btn{border-radius:9px;font-weight:500;font-size:.94rem;padding:.78rem 1.4rem;transition:all .2s ease}
.btn-primary{background:var(--text);color:var(--cream);box-shadow:none}
.btn-primary::after{display:none!important}
.btn-primary:hover{background:var(--accent);transform:none;box-shadow:0 8px 24px rgba(194,65,12,.22)}
.btn-secondary{background:transparent;color:var(--text);border:1px solid var(--line-2)}
.btn-secondary:hover{background:var(--text);color:var(--cream);border-color:var(--text);transform:none}

/* ── Sections sombres : boutons et liens lisibles sur fond dark ── */
.cta-banner .btn-primary,
.cta-banner .btn,
.ed-dark .btn-primary,
.ed-dark .btn {
  background: var(--cream);
  color: var(--text);
  border-color: transparent;
}
.cta-banner .btn-primary:hover,
.cta-banner .btn:hover,
.ed-dark .btn-primary:hover,
.ed-dark .btn:hover {
  background: var(--accent);
  color: #fff;
}
.cta-banner .btn-secondary,
.ed-dark .btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247,243,236,.35);
}
.cta-banner .btn-secondary:hover,
.ed-dark .btn-secondary:hover {
  background: var(--cream);
  color: var(--text);
  border-color: transparent;
}
/* Liens simples dans sections sombres */
.cta-banner a:not(.btn),
.ed-dark a:not(.btn) {
  color: var(--accent-light);
}

/* ── Nav éditoriale ── */
.nav{background:rgba(247,243,236,.82);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--border)}
.nav.scrolled{box-shadow:none;background:rgba(247,243,236,.93)}
.nav-links a{font-size:.92rem;color:var(--muted)}
.nav-links a:hover{color:var(--text)}
.nav-logo span{color:var(--accent)}

/* ── Dropdown nav Formation ── */
.nav-links li{position:relative}
.nav-links li:hover>.nav-drop{opacity:1;pointer-events:auto;transform:translateY(0)}
.nav-drop{
  position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(-4px);
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-sm);
  box-shadow:0 8px 32px rgba(28,24,19,.12);
  min-width:220px;padding:8px 0 .5rem;z-index:200;
  /* padding-top crée le gap visuel sans rompre le hover */
  opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;
}
.nav-drop::before{
  content:"";position:absolute;top:0;left:0;right:0;height:8px;
  /* pont transparent qui maintient le hover sur le gap */
}
.nav-drop a{
  display:block;padding:.55rem 1.1rem;font-size:.85rem;color:var(--muted);
  white-space:nowrap;transition:color .15s,background .15s;text-decoration:none;
}
.nav-drop a:hover{color:var(--accent);background:var(--cream)}
.nav-drop-sep{height:1px;background:var(--border);margin:.3rem 0}
.nav-drop .nav-drop-label{
  display:block;padding:.4rem 1.1rem .15rem;
  font-size:.62rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted-2);
}

/* helpers */
.ed-rule{height:1px;background:var(--border);border:0;margin:0}
.ed-eyebrow{display:inline-block;font-size:.72rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--muted-2)}
.ed-arrow{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;vertical-align:-2px}

/* ══ HERO éditorial (home) ══ */
.ed-hero{position:relative;padding:clamp(4.5rem,10vw,8rem) 0 clamp(3.5rem,6vw,5.5rem)}
.ed-hero .ed-eyebrow{margin-bottom:1.6rem}
.ed-hero h1{font-family:'Instrument Serif',serif;font-weight:400;font-size:clamp(2.9rem,7vw,5.6rem);line-height:1.0;letter-spacing:-.025em;max-width:16ch}
.ed-hero h1 em{color:var(--accent);font-style:italic}
.ed-hero .sub{font-size:clamp(1.1rem,1.7vw,1.3rem);color:var(--muted);max-width:48ch;margin-top:1.7rem;line-height:1.5}
.ed-hero .cta{display:flex;gap:.85rem;margin-top:2.4rem;flex-wrap:wrap}
.ed-hero-meta{display:flex;gap:clamp(2rem,5vw,3.5rem);margin-top:clamp(3rem,6vw,4.5rem);padding-top:2rem;border-top:1px solid var(--border);flex-wrap:wrap}
.ed-hero-meta div{max-width:26ch}
.ed-hero-meta .n{font-family:'Instrument Serif',serif;font-size:2.1rem;color:var(--accent);line-height:1}
.ed-hero-meta .l{font-size:.86rem;color:var(--muted);margin-top:.45rem;line-height:1.45}

/* ══ Deux pôles éditoriaux (filet central, pas de boîtes) ══ */
.ed-poles{display:grid;grid-template-columns:1fr 1px 1fr;gap:clamp(2rem,5vw,4.5rem);margin-top:clamp(2rem,4vw,3rem)}
.ed-poles .div{background:var(--border)}
.ed-pole .ed-eyebrow{margin-bottom:.9rem}
.ed-pole h3{font-family:'Instrument Serif',serif;font-weight:400;font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.05;margin-bottom:.8rem}
.ed-pole .lead{color:var(--muted);line-height:1.6;margin-bottom:1.5rem}
.ed-pole ul{list-style:none;border-top:1px solid var(--border);margin:0 0 .3rem}
.ed-pole li{padding:.9rem 0;border-bottom:1px solid var(--border);font-size:.96rem;line-height:1.5}
.ed-pole li b{font-weight:600}.ed-pole li span{color:var(--muted)}
.ed-pole .note{margin:1.4rem 0 0;font-size:.9rem;color:var(--muted)}
.ed-pole .note b{color:var(--accent);font-weight:600}
.ed-pole .lk{display:inline-flex;align-items:center;gap:.45rem;margin-top:1.5rem;font-weight:500;color:var(--accent);font-size:.96rem}
.ed-pole .lk svg{transition:transform .2s}.ed-pole:hover .lk svg{transform:translateX(4px)}
@media(max-width:820px){.ed-poles{grid-template-columns:1fr;gap:2.75rem}.ed-poles .div{display:none}}

/* ══ Liste numérotée éditoriale (services conseil) ══ */
.ed-list{border-top:1px solid var(--line-2);margin-top:clamp(2rem,4vw,3rem)}
.ed-row{display:grid;grid-template-columns:auto 1fr;gap:clamp(1.25rem,4vw,3.5rem);align-items:start;padding:clamp(1.6rem,3vw,2.8rem) 0;border-bottom:1px solid var(--border);transition:padding-left .25s ease}
.ed-row:hover{padding-left:.6rem}
.ed-row .idx{font-family:'Instrument Serif',serif;font-size:clamp(1.3rem,2.2vw,1.7rem);color:var(--accent);line-height:1;padding-top:.3rem}
.ed-row h3{font-family:'Instrument Serif',serif;font-weight:400;font-size:clamp(1.5rem,2.7vw,2.1rem);line-height:1.1;margin-bottom:.4rem}
.ed-row p{color:var(--muted);max-width:64ch;line-height:1.6}

/* ══ Bandeau sombre chaud ══ */
.ed-dark{background:#211B15;color:var(--cream);border-radius:var(--radius);padding:clamp(2.5rem,6vw,5rem);position:relative;overflow:hidden}
.ed-dark::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(60% 80% at 88% 0%,rgba(194,65,12,.20),transparent 60%)}
.ed-dark>*{position:relative}
.ed-dark .ed-eyebrow{color:var(--accent-soft)}
.ed-dark h2{font-family:'Instrument Serif',serif;font-weight:400;font-size:clamp(1.9rem,4vw,3rem);line-height:1.08;max-width:22ch;margin-top:1rem;color:#fff}
.ed-dark h2 em{color:var(--accent-glow);font-style:italic}
.ed-dark p{color:rgba(247,243,236,.62);max-width:54ch;margin-top:1.1rem;line-height:1.6}

/* ── Cartes éditoriales sobres (réalisations, ressources, piliers) ── */
.ed-cards{display:grid;gap:1.25rem;margin-top:clamp(2rem,4vw,3rem)}
.ed-cards.c3{grid-template-columns:repeat(3,1fr)}.ed-cards.c4{grid-template-columns:repeat(4,1fr)}.ed-cards.c2{grid-template-columns:1fr 1fr}
@media(max-width:860px){.ed-cards.c3,.ed-cards.c4{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.ed-cards{grid-template-columns:1fr!important}}
.ed-card{background:var(--cream);border:1px solid var(--border);border-radius:var(--radius-sm);padding:1.6rem 1.5rem;transition:border-color .2s,transform .2s,box-shadow .2s}
.ed-card:hover{border-color:var(--line-2);transform:translateY(-2px);box-shadow:var(--shadow)}
.ed-card .k{font-family:'Instrument Serif',serif;font-size:1.2rem;color:var(--accent);margin-bottom:.4rem}
.ed-card .d{color:var(--muted);font-size:.88rem;line-height:1.55}

/* placeholders cas d'usage (sobres) */
.ed-ph{border:1px dashed var(--line-2);background:var(--accent-soft)}
.ed-ph .sect{font-size:.7rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.ed-ph .ttl{font-family:'Instrument Serif',serif;font-size:1.25rem;margin:.4rem 0 1rem}
.ed-skel{display:flex;flex-direction:column;gap:.5rem}
.ed-skel span{height:8px;border-radius:5px;background:rgba(194,65,12,.13)}
.ed-skel span:nth-child(2){width:84%}.ed-skel span:nth-child(3){width:60%}
.ed-ph .flag{margin-top:1rem;font-size:.66rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--accent);opacity:.7}

/* ── Refinement des composants common.css sur ces pages ── */
.pq-card{box-shadow:none;border-color:var(--border)}
.pq-card::after{display:none}
.pq-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.pq-icon{background:var(--accent-soft);border-radius:12px}
.contact-form{box-shadow:var(--shadow)}
.faq-item{}
.formateur-card{box-shadow:none}
.formateur-card:hover{box-shadow:var(--shadow-lg)}
.section-header h2,.sec-head h2{letter-spacing:-.02em}

/* hero conseil/formation (sous-pages) : éditorial centré sobre */
.iz-chero{position:relative;text-align:center;padding:clamp(6rem,11vw,9rem) 0 clamp(2.5rem,5vw,4rem)}
.iz-chero-sub{color:var(--muted);font-size:clamp(1.05rem,1.6vw,1.2rem);line-height:1.6;max-width:60ch;margin:1.25rem auto 0}
.iz-chero-sub .ex{color:var(--accent);font-style:italic}

/* ── HERO home : IA Centerpiece ── */
.iz-hero{
  position:relative;overflow:hidden;text-align:center;
  padding:clamp(2.5rem,5vh,4rem) 0 clamp(2rem,4vh,3.5rem);
  min-height:calc(100vh - 64px);
  display:flex;flex-direction:column;justify-content:center;
}
.iz-hero-bg{position:absolute;inset:0;pointer-events:none;background:radial-gradient(50% 60% at 50% 0%,rgba(194,65,12,.09),transparent 65%)}
.iz-hero .container{position:relative;width:100%}
.iz-hero-title{margin:0;font-weight:400}
.iz-hero-ia{
  display:block;font-family:'Instrument Serif',serif;
  font-size:clamp(4rem,11vw,8rem);line-height:.82;
  color:var(--accent);letter-spacing:-.04em;
}
.iz-hero-grid{
  display:grid;grid-template-columns:1fr 1px 1fr;
  align-items:center;gap:clamp(1rem,3vw,2.5rem);
  max-width:700px;margin:clamp(.6rem,1.5vh,1.2rem) auto 0;
}
.iz-hero-pole{
  font-family:'Instrument Serif',serif;line-height:1.1;
  font-size:clamp(1.2rem,2.4vw,1.9rem);letter-spacing:-.01em;
}
.iz-hero-grid>.iz-hero-pole:first-child{text-align:right}
.iz-hero-grid>.iz-hero-pole:last-child{text-align:left}
.iz-hero-vline{width:1px;align-self:stretch;min-height:2rem;background:var(--line-2)}
.iz-hero-sub{
  color:var(--muted);font-size:clamp(.9rem,1.3vw,1.05rem);
  max-width:46ch;margin:clamp(1rem,2vh,1.6rem) auto 0;line-height:1.6;text-align:center;
}
.iz-hero-cta{
  display:flex;justify-content:center;gap:.7rem;
  margin:clamp(1.2rem,2.5vh,1.8rem) auto 0;flex-wrap:wrap;
}
.iz-hero-cta .btn{min-width:160px;text-align:center}
.iz-hero-scroll{
  display:flex;flex-direction:column;align-items:center;gap:.4rem;
  margin-top:clamp(1.5rem,3vh,2.5rem);
  color:var(--muted-2);font-size:.68rem;font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;
}
.iz-hero-scroll svg{width:20px;height:20px;animation:iz-bob 2s ease-in-out infinite}
@keyframes iz-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}
@media(max-width:680px){
  .iz-hero-grid{grid-template-columns:1fr;gap:.5rem}
  .iz-hero-grid>.iz-hero-pole{text-align:center!important}
  .iz-hero-vline{display:none}
  .iz-hero-cta{flex-direction:column;align-items:center}
  .iz-hero-cta .btn{width:100%;max-width:280px}
}

/* ── Section deux pôles : réduit le gap avec le hero ── */
#decouvrir.section.section-alt{padding-top:clamp(2rem,4vw,3rem)}

/* ════════════════════════════════════════════════════════
   COMPOSANTS PAGES FORMATION / CONSEIL — Warm Editorial
   (ressuscite iz-note, iz-cas, iz-res, iz-bulle, iz-svc, iz-steps, iz-pillars)
   ════════════════════════════════════════════════════════ */

/* — notes — */
.iz-note{background:var(--cream-alt);border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:0 var(--radius-sm) var(--radius-sm) 0;padding:1.05rem 1.4rem}
.iz-note p{margin:0;color:var(--muted);font-size:.95rem;line-height:1.6}
.iz-note .hl{color:var(--accent);font-weight:600}
.iz-smnote{font-size:.8rem;color:var(--muted)}

/* — cas d'usage (placeholders) : carte pointillée éditoriale — */
.iz-cas-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-top:clamp(2rem,4vw,3rem)}
.iz-cas{border:1px dashed var(--line-2);background:var(--accent-soft);border-radius:var(--radius-sm);padding:1.6rem 1.5rem}
.iz-cas-sector{font-size:.7rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.iz-cas-title{display:block;font-family:'Instrument Serif',serif;font-weight:400;font-size:1.25rem;margin:.4rem 0 1rem}
.iz-cas-skel{display:flex;flex-direction:column;gap:.5rem}
.iz-cas-skel span{display:block;height:8px;border-radius:5px;background:rgba(194,65,12,.13)}
.iz-cas-skel span:nth-child(2){width:84%}
.iz-cas-skel span:nth-child(3){width:60%}
.iz-cas-flag{display:block;margin-top:1rem;font-size:.66rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--accent);opacity:.7}

/* — ressources (cartes lien) — */
.iz-res-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-top:clamp(2rem,4vw,3rem)}
.iz-res{display:block;position:relative;background:var(--cream);border:1px solid var(--border);border-radius:var(--radius-sm);padding:1.5rem 1.6rem;transition:border-color .2s,transform .2s,box-shadow .2s}
.iz-res:hover{border-color:var(--line-2);transform:translateY(-2px);box-shadow:var(--shadow)}
.iz-res-t{display:block;font-family:'Instrument Serif',serif;font-size:1.3rem;color:var(--text);margin-bottom:.4rem}
.iz-res-d{display:block;color:var(--muted);font-size:.9rem;line-height:1.55;max-width:32ch}
.iz-res-arrow{position:absolute;top:1.5rem;right:1.6rem;color:var(--accent);font-size:1.05rem;transition:transform .2s}
.iz-res:hover .iz-res-arrow{transform:translateX(4px)}

/* — bulle illustrative (hero conseil) — */
.iz-bulle{background:var(--cream);border:1px solid var(--border);border-radius:var(--radius-sm);padding:1.25rem 1.35rem;display:flex;flex-direction:column;gap:1rem;box-shadow:var(--shadow)}
.iz-bulle .row{display:flex;gap:.8rem;align-items:flex-start;text-align:left}
.iz-bulle .ic{flex-shrink:0;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent)}
.iz-bulle .ic svg{width:18px;height:18px}
.iz-bulle .k{display:block;font-weight:600;font-size:.88rem;color:var(--text)}
.iz-bulle .v{display:block;color:var(--muted);font-size:.83rem;line-height:1.5;margin-top:.15rem}

/* — services (conseil) — */
.iz-svc{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.75rem,3vw,2.75rem) clamp(2rem,4vw,4rem);margin-top:clamp(2rem,4vw,3rem)}
.iz-svc-item{border-top:1px solid var(--line-2);padding-top:1.5rem}
.iz-ico{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);margin-bottom:1.1rem}
.iz-ico svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.iz-svc-item .t{display:block;font-family:'Instrument Serif',serif;font-weight:400;font-size:clamp(1.4rem,2.4vw,1.9rem);line-height:1.15;margin-bottom:.55rem}
.iz-svc-item .d{color:var(--muted);font-size:.96rem;line-height:1.6}

/* — méthode : liste numérotée éditoriale (conseil) — */
.iz-steps{border-top:1px solid var(--line-2);margin-top:clamp(2rem,4vw,3rem)}
.iz-step{display:grid;grid-template-columns:auto 1fr;column-gap:clamp(1.25rem,4vw,3rem);row-gap:.45rem;align-items:baseline;padding:clamp(1.1rem,2.2vw,1.7rem) 0;border-bottom:1px solid var(--border);transition:padding-left .25s ease}
.iz-step:hover{padding-left:.5rem}
.iz-step .n{grid-column:1;grid-row:1;font-family:'Instrument Serif',serif;font-size:clamp(1.2rem,2vw,1.6rem);color:var(--accent);line-height:1}
.iz-step .t{grid-column:2;grid-row:1;font-family:'Instrument Serif',serif;font-size:clamp(1.35rem,2.3vw,1.8rem);line-height:1.05}
.iz-step .d{grid-column:2;grid-row:2;color:var(--muted);font-size:.95rem;line-height:1.55}

/* — piliers trésorerie (conseil) — */
.iz-pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-top:clamp(2rem,4vw,3rem)}
.iz-pillar{border-top:2px solid var(--accent);padding-top:1rem}
.iz-pillar .t{display:block;font-family:'Instrument Serif',serif;font-size:1.3rem;margin-bottom:.45rem}
.iz-pillar .d{color:var(--muted);font-size:.9rem;line-height:1.55}

/* — responsive — */
@media(max-width:880px){
  .iz-cas-grid,.iz-res-grid,.iz-pillars{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .iz-svc{grid-template-columns:1fr;gap:1.75rem}
  .iz-chero-split{grid-template-columns:1fr!important;gap:1.5rem!important}
  .iz-chero-split .iz-bulle{max-width:none!important;min-width:0!important}
}
@media(max-width:560px){
  .iz-cas-grid,.iz-res-grid,.iz-pillars{grid-template-columns:1fr}
}
