/* ==================================================
   NextStepping — main.css
   Thème clair / consulting / expertise
   ================================================== */

/* ---------- Variables ---------- */
:root{
  --bg: #f4f6f8;
  --paper: #ffffff;
  --text: #1f2937;
  --muted: #4b5563;

  --ink: #111827;
  --ink2: #374151;

  --line: rgba(0,0,0,.08);
  --line2: rgba(0,0,0,.12);

  --accent: #111827;

  --shadow: 0 20px 45px rgba(0,0,0,.08);
  --shadow2: 0 10px 25px rgba(0,0,0,.06);

  --radius: 14px;
  --radius2: 10px;
  --max: 1100px;
}

/* ---------- Reset / base ---------- */
*{box-sizing:border-box}
html {
scroll-behavior: smooth;
scroll-padding-top: 50px;
}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px; /* base maîtrisée */
}

a{color: var(--accent); text-decoration:none}
img{max-width:100%; display:block}

/* ---------- Layout ---------- */
.container{
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.section{padding: 88px 0}

.section--alt{
  background: #eef1f4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--contact{
  padding: 96px 0 110px;
}

/* ---------- Typographie (3 niveaux max) ---------- */
h1, h2, h3{
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1{
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.1;
}

h2{
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
}

h3{
  font-size: 1.05rem;
  line-height: 1.25;
}

p{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1rem;
}

/* Variantes légères */
.lead{
  font-size: 1.02rem;
  max-width: 62ch;
}

.micro,
.tiny{
  font-size: 0.92rem;
  color: var(--muted);
}

/* Kicker (plus lisible, sans crier) */
.kicker{
display:inline-block;
padding: 9px 14px;
border: 1px solid var(--line);
border-radius: 999px;
font-size: 1rem; /* au lieu de 0.9rem */
font-weight: 600; /* donne du “mature” */
color: var(--ink); /* plus lisible */
background: var(--paper);
margin-bottom: 14px;
}

/* ---------- Header ---------- */
.topbar{
  position: sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 0 12px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

/* ---------- Brand / logo ---------- */
.brand{
  display:flex;
  align-items:center;
  padding: 14px 20px;
  flex: 0 0 auto;
}

.brand img{
height: 76px; /* clairement plus grand */
width: auto;
transform: scale(1.25); /* compense le SVG “vide” */
transform-origin: left center;
}

.brand:hover img{opacity:.9}

/* ---------- Navigation ---------- */
.nav{
  display:flex;
  align-items:center;
  gap:18px;
  padding:14px 16px;
  flex: 1 1 auto;
}

.nav a{
  font-size:.95rem;
  color: var(--ink2);
  padding:8px 10px;
  border-radius:10px;
}

.nav a:hover,
.nav a.active{
  background: rgba(0,0,0,.04);
  color: var(--ink);
}

/* ---------- Boutons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:12px;
  border:1px solid var(--ink);
  background: var(--ink);
  color:#fff;
  font-size:.95rem;
}

.btn:hover{opacity:.92}

.btn--ghost{
  background: transparent;
  color: var(--ink);
}

.btn--small{
  padding:10px 14px;
  font-size:.9rem;
}

.nav .btn{
  margin-left: 4px;
}

/* ---------- Mobile nav ---------- */
.navToggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:10px;
  border:1px solid var(--line);
  background: var(--paper);
}

.navToggle span{
  display:block;
  height:2px;
  margin:6px 10px;
  background: var(--ink);
}

/* ---------- Hero ---------- */
.hero{
  padding-top: 72px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.heroGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:28px;
}

.heroCard{
  background: var(--paper);
  border-radius: var(--radius);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}

.heroCardInner{padding:24px}

.heroCtas{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 18px 0 10px;
}

/* ---------- Grilles ---------- */
.grid3{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:16px;
  margin-top:20px;
}

.grid2{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:20px;
  margin-top:16px;
}

.gridCards{
  display:grid;
  grid-template-columns: repeat(2,1fr);
  gap:16px;
  margin-top:20px;
}

/* ---------- Cards ---------- */
.card{
  background: var(--paper);
  border-radius: var(--radius);
  border:1px solid var(--line);
  padding:20px;
  box-shadow: var(--shadow2);
}

/* ---------- Bullets ---------- */
.bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.bullets li{margin: 6px 0}

/* ---------- Timeline ---------- */
.timeline{
  margin-top:20px;
  display:grid;
  gap:14px;
}

.step{
  display:grid;
  grid-template-columns: 40px 1fr;
  gap:14px;
  background: var(--paper);
  border-radius: var(--radius);
  border:1px solid var(--line);
  padding:18px;
}

.badge{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#f0f2f5;
  font-weight:700;
}

/* ---------- Note ---------- */
.note{
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
}

/* ---------- Accordéon ---------- */
.accordionBtn{
  width:100%;
  text-align:left;
  padding:12px;
  border-radius:10px;
  border:1px solid var(--line);
  background: #f9fafb;
  cursor:pointer;
  color: var(--ink);
}

.accordionPanel{padding-top:10px}

/* ---------- Contact ---------- */
.contactBox{
  background: var(--paper);
  border-radius: var(--radius);
  border:1px solid var(--line);
  padding:26px;
  box-shadow: var(--shadow);
}

.contactActions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:12px;
}

/* ---------- Footer ---------- */
.footer{
  border-top:1px solid var(--line);
  background:#eef1f4;
  padding:28px 0;
}

.footerGrid{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  color: var(--muted);
}

/* ---------- Animations ---------- */
.reveal{
  opacity:0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){


.heroGrid,
.grid3,
.grid2,
.gridCards{
grid-template-columns: 1fr;
}


.nav{
position: fixed;
top:64px;
left:12px;
right:12px;
display:none;
flex-direction:column;
background: var(--paper);
border:1px solid var(--line);
border-radius:14px;
padding:6px; /* plus compact */
gap:2px; /* resserre vraiment */
box-shadow: var(--shadow2);
}


.nav.open{display:flex}
.navToggle{display:inline-block}


.nav a{
padding: 7px 10px; /* moins haut */
font-size: .95rem;
line-height: 1.15; /* énorme impact visuel sur la hauteur */
}


.nav .btn{
width:100%;
justify-content:center;
margin-left:0;
}


.brand img{
height: 64px; /* plus présent sur mobile */
transform: scale(1.15);
transform-origin: left center;
}


.topbar{
padding:0 8px;
}
}