/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #0F62FE;
  --blue-hover:  #0353E9;
  --text:        #161616;
  --text-sub:    #525252;
  --border:      #E0E0E0;
  --bg-light:    #F4F4F4;
  --white:       #FFFFFF;
  --nav-height:  48px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ─── Navigation ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  gap: 0;
}

.nav__logo {
  display: flex;
  align-items: center;
  padding-right: 1.5rem;
  border-right: 1px solid var(--border);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: var(--text);
  white-space: nowrap;
}
.nav__logo:hover { text-decoration: none; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  padding-left: 0.5rem;
}

.nav__item { position: relative; }

.nav__link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 1rem;
  height: var(--nav-height);
  font-size: 0.875rem;
  color: var(--text);
  white-space: nowrap;
  border: none;
  background: none;
  cursor: pointer;
}
.nav__link:hover { background: var(--bg-light); text-decoration: none; }

.nav__link svg { width: 12px; height: 12px; transition: transform 0.2s; }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

/* Dropdown */
.nav__dropdown {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  z-index: 200;
}
.nav__item:hover .nav__dropdown { display: block; }

.nav__dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
}
.nav__dropdown a:hover { background: var(--bg-light); text-decoration: none; }

/* Nav actions (right side) */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--nav-height);
  height: var(--nav-height);
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text);
}
.nav__icon-btn:hover { background: var(--bg-light); }
.nav__icon-btn svg { width: 18px; height: 18px; }

.nav__tel { display: flex; align-items: center; padding: 0 1rem; text-decoration: none; }
.nav__tel img { display: block; }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: clamp(260px, 30vw, 560px) 1fr clamp(220px, 22vw, 380px);
  gap: 0;
  min-height: clamp(360px, 38vw, 560px);
  border-bottom: 1px solid var(--border);
}

.hero__text {
  padding: 3rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
  color: var(--blue);
}
.hero__title strong { font-weight: 600; color: var(--text); }

.hero__desc {
  font-size: 1.1rem;
  color: var(--text-sub);
  margin-bottom: 2rem;
  flex: 1;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 400;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); text-decoration: none; color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--ghost:hover { background: rgba(15,98,254,.08); text-decoration: none; }

/* ─── Hero Image ────────────────────────────────────────────────────────────── */
.hero__visual {
  position: relative;
  background: #f6f0e8;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8edf5 0%, #d0daf0 100%);
  color: var(--text-sub);
  font-size: 0.875rem;
}

/* ─── Sidebar Actus ─────────────────────────────────────────────────────────── */
.hero__sidebar {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.sidebar__title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.news-list { display: flex; flex-direction: column; gap: 0; flex: 1; }

.news-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.news-item__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  margin-bottom: 0.25rem;
}

.news-item__link {
  font-size: 0.8125rem;
  color: var(--blue);
  line-height: 1.4;
  display: block;
  margin-bottom: 0.5rem;
}
.news-item__link:hover { text-decoration: underline; }

.news-item__arrow {
  display: inline-block;
  font-size: 1rem;
  color: var(--blue);
}

/* Pagination */
.sidebar__pagination {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.sidebar__pagination button {
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--text-sub);
}
.sidebar__pagination button.active { color: var(--text); font-weight: 700; }

/* ─── Section: Recommandations ──────────────────────────────────────────────── */
.section {
  padding: 3rem 2rem;
  border-bottom: 1px solid var(--border);
}

.section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section__title {
  font-size: 1rem;
  font-weight: 600;
}

.section__more {
  font-size: 0.8125rem;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.card {
  background: var(--white);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.15s;
}
.card:hover { background: var(--bg-light); }

.card__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-sub);
}

.card__title {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
}

.card__desc {
  font-size: 0.8125rem;
  color: var(--text-sub);
  flex: 1;
}

.card__link {
  font-size: 0.8125rem;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
}

/* ─── Section Statistiques ──────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
}

.stat {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }

.stat__value {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--text-sub);
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
  margin-bottom: 1.5rem;
}

.footer__col-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 0.5rem;
}
.footer__col a:hover { color: var(--white); text-decoration: none; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__legal a {
  font-size: 0.75rem;
  color: rgba(255,255,255,.5);
}
.footer__legal a:hover { color: var(--white); text-decoration: none; }

/* ─── Page Hero (pages internes) ─────────────────────────────────────────── */
.page-hero { padding: 4rem 2rem 3rem; border-bottom: 1px solid var(--border); }
.page-hero__eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-sub); margin-bottom: 1rem; }
.page-hero__title { font-size: clamp(2rem,4vw,3rem); font-weight: 300; line-height: 1.2; margin-bottom: 1.25rem; }
.page-hero__title strong { font-weight: 600; }
.page-hero__desc { font-size: .9375rem; color: var(--text-sub); max-width: 640px; margin-bottom: 2rem; line-height: 1.7; }
.page-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.page-hero--split { display: grid; grid-template-columns: 1fr 520px; gap: 0; padding: 0; }
.page-hero--split .page-hero__content { padding: 4rem 2rem 3rem; }
.page-hero--split .page-hero__desc { max-width: 100%; }
.page-hero__visual { border-left: 1px solid var(--border); background: #f6f0e8; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.page-hero__visual img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 900px) {
  .page-hero--split { grid-template-columns: 1fr; }
  .page-hero__visual { border-left: none; border-top: 1px solid var(--border); min-height: 260px; }
  .page-hero__visual img { max-height: 60vw; }
}

/* ─── Modes (Kristal 3 niveaux) ──────────────────────────────────────────── */
.modes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.mode { background: var(--white); padding: 2rem; }
.mode__number { font-size: 2.5rem; font-weight: 300; color: var(--blue); line-height: 1; margin-bottom: .75rem; }
.mode__title { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.mode__desc { font-size: .875rem; color: var(--text-sub); line-height: 1.6; }
.mode__badge { display: inline-block; font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-sub); border: 1px solid var(--border); padding: .2rem .6rem; margin-top: .75rem; }

/* ─── Kristal offline suggestions ────────────────────────────────────────── */
.kristal-offline-suggestions { background: var(--bg-light); border: 1px solid var(--border); padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.kristal-offline-suggestions__label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-sub); margin-bottom: .25rem; }
.kristal-offline-suggestions__text { font-size: .875rem; }
.kristal-action-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.25rem; background: var(--blue); color: var(--white); font-size: .875rem; font-family: inherit; border: none; cursor: pointer; text-decoration: none; white-space: nowrap; }
.kristal-action-btn:hover { background: var(--blue-hover); color: var(--white); text-decoration: none; }

/* ─── Features list ──────────────────────────────────────────────────────── */
.features-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: .75rem; }
.features-list li { padding: .875rem 1rem; background: var(--bg-light); border-left: 3px solid var(--blue); font-size: .875rem; line-height: 1.5; }

/* ─── Roadmap ────────────────────────────────────────────────────────────── */
.roadmap { display: flex; flex-direction: column; gap: 1.5rem; }
.roadmap__item { display: flex; gap: 1.5rem; align-items: flex-start; }
.roadmap__version { font-size: .6875rem; font-weight: 600; background: var(--blue); color: var(--white); padding: .3rem .75rem; white-space: nowrap; flex-shrink: 0; margin-top: .15rem; }
.roadmap__content h4 { font-size: .9375rem; font-weight: 600; margin-bottom: .25rem; }
.roadmap__content p { font-size: .875rem; color: var(--text-sub); }

/* ─── Use cases ──────────────────────────────────────────────────────────── */
.usecases-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.usecase { background: var(--white); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.usecase__icon { font-size: 1.5rem; }
.usecase__title { font-size: .9375rem; font-weight: 600; }
.usecase__desc { font-size: .875rem; color: var(--text-sub); flex: 1; line-height: 1.6; }

/* ─── CTA section ────────────────────────────────────────────────────────── */
.cta-section { background: var(--text); color: var(--white); padding: 4rem 2rem; text-align: center; }
.cta-section__title { font-size: clamp(1.5rem,3vw,2rem); font-weight: 300; margin-bottom: 1rem; }
.cta-section__desc { font-size: .9375rem; color: rgba(255,255,255,.7); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section .btn--primary { background: var(--white); color: var(--text); border-color: var(--white); }
.cta-section .btn--primary:hover { background: var(--bg-light); }
.cta-section .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.5); }
.cta-section .btn--ghost:hover { background: rgba(255,255,255,.1); }

/* ─── Pricing ────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.pricing-card { background: var(--white); padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.pricing-card--featured { background: var(--blue); color: var(--white); }
.pricing-card__label { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-sub); }
.pricing-card--featured .pricing-card__label { color: rgba(255,255,255,.7); }
.pricing-card__title { font-size: 1.125rem; font-weight: 600; }
.pricing-card__price { font-size: 2.25rem; font-weight: 300; color: var(--blue); line-height: 1; }
.pricing-card--featured .pricing-card__price { color: var(--white); }
.pricing-card__price span { font-size: .875rem; font-weight: 400; }
.pricing-card__desc { font-size: .875rem; color: var(--text-sub); }
.pricing-card--featured .pricing-card__desc { color: rgba(255,255,255,.7); }
.pricing-card ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; flex: 1; border-top: 1px solid var(--border); padding-top: 1rem; }
.pricing-card--featured ul { border-color: rgba(255,255,255,.2); }
.pricing-card li { font-size: .875rem; padding-left: 1.25rem; position: relative; }
.pricing-card li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.pricing-card--featured li::before { color: var(--white); }
.pricing-card--featured li { color: rgba(255,255,255,.9); }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; font-size: .9375rem; font-family: inherit; background: none; border: none; cursor: pointer; text-align: left; color: var(--text); gap: 1rem; }
.faq-question svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 0 1.25rem; font-size: .875rem; color: var(--text-sub); line-height: 1.7; max-width: 640px; }
.faq-item.open .faq-answer { display: block; }

/* ─── Contact ────────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
  align-items: start;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.form-group { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1.25rem; }
.form-group label { font-size: .875rem; font-weight: 600; }
.form-group input,.form-group select,.form-group textarea { padding: .625rem .875rem; border: 1px solid var(--border); font-family: inherit; font-size: .875rem; background: var(--white); outline: none; transition: border-color .15s; width: 100%; }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { min-height: 160px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; padding: 2rem; background: var(--bg-light); }
.contact-info__label { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-sub); margin-bottom: .25rem; }
.contact-info__value { font-size: .9375rem; }

/* ─── Legal ──────────────────────────────────────────────────────────────── */
.legal-content { max-width: 760px; padding: 3rem 2rem; }
.legal-content h2 { font-size: 1.125rem; font-weight: 600; margin: 2rem 0 .75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.legal-content h3 { font-size: .9375rem; font-weight: 600; margin: 1.25rem 0 .5rem; }
.legal-content p,.legal-content li { font-size: .875rem; color: var(--text-sub); line-height: 1.7; margin-bottom: .5rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin: .5rem 0; }

/* ─── Resources ──────────────────────────────────────────────────────────── */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.resource-card { background: var(--white); padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; transition: background .15s; }
.resource-card:hover { background: var(--bg-light); }
.resource-card__tag { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-sub); }
.resource-card__title { font-size: .9375rem; font-weight: 600; }
.resource-card__desc { font-size: .875rem; color: var(--text-sub); flex: 1; line-height: 1.6; }

/* ─── Webinars ───────────────────────────────────────────────────────────── */
.webinar-list { display: flex; flex-direction: column; }
.webinar-item { display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.webinar-item:first-child { border-top: 1px solid var(--border); }
.webinar-item__date { font-size: .875rem; font-weight: 600; color: var(--blue); }
.webinar-item__title { font-size: .9375rem; }
.webinar-item__sub { font-size: .8125rem; color: var(--text-sub); margin-top: .15rem; }

/* ─── Case studies ───────────────────────────────────────────────────────── */
.case-studies { display: flex; flex-direction: column; gap: 3rem; }
.case-study { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.case-study:last-child { border-bottom: none; }
.case-study__org { font-size: 1.125rem; font-weight: 600; margin-bottom: .25rem; }
.case-study__sector { font-size: .8125rem; color: var(--text-sub); margin-bottom: 1rem; }
.case-study__tools { display: flex; gap: .5rem; flex-wrap: wrap; }
.case-study__tool { font-size: .6875rem; font-weight: 600; text-transform: uppercase; padding: .2rem .6rem; border: 1px solid var(--border); }
.case-study__block { margin-bottom: 1rem; }
.case-study__block-label { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-sub); margin-bottom: .35rem; }
.case-study__block-text { font-size: .875rem; color: var(--text-sub); line-height: 1.6; }
.case-study__result { font-size: 1.0625rem; font-weight: 300; color: var(--blue); border-left: 3px solid var(--blue); padding-left: 1rem; }

/* ─── Problem / Solution ─────────────────────────────────────────────────── */
.problem-solution { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); }
.problem-solution__half { padding: 2rem; }
.problem-solution__half:first-child { border-right: 1px solid var(--border); }
.problem-solution__label { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-sub); margin-bottom: 1rem; }
.problem-solution__list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.problem-solution__list li { font-size: .875rem; padding-left: 1.25rem; position: relative; line-height: 1.5; }
.problem-solution__list li::before { content: '—'; position: absolute; left: 0; color: var(--blue); }

/* ─── Tool reco ──────────────────────────────────────────────────────────── */
.tool-reco-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.tool-reco { background: var(--white); padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.tool-reco__tag { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-sub); }
.tool-reco__title { font-size: 1rem; font-weight: 600; }
.tool-reco__desc { font-size: .875rem; color: var(--text-sub); flex: 1; line-height: 1.6; }
.tool-reco__link { font-size: .8125rem; color: var(--blue); }

/* ─── Responsive additions ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .modes-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .case-study { grid-template-columns: 1fr; }
  .problem-solution { grid-template-columns: 1fr; }
  .problem-solution__half:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .webinar-item { grid-template-columns: 1fr; }
}

/* ─── Download funnel ───────────────────────────────────────────────────────── */
.dl-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.dl-info { display: flex; flex-direction: column; gap: 1.5rem; padding: 2rem; background: var(--bg-light); }

.dl-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.dl-form__errors { background: #fff0f0; border-left: 3px solid #da1e28; padding: 1rem; margin-bottom: 1.5rem; font-size: .875rem; color: #da1e28; }

.dl-form__checkboxes { display: flex; flex-direction: column; gap: .625rem; margin-top: .375rem; }
.dl-form__checkbox { display: flex; align-items: center; gap: .625rem; font-size: .875rem; cursor: pointer; }
.dl-form__checkbox input { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }

.dl-recap { display: flex; flex-direction: column; gap: .75rem; }
.dl-recap__item { display: flex; align-items: center; gap: .75rem; font-size: .9375rem; padding: .875rem 1rem; background: var(--bg-light); border-left: 3px solid var(--blue); }
.dl-recap__item svg { color: var(--blue); flex-shrink: 0; }

/* ─── Download funnel – step indicator ──────────────────────────────────────── */
.dl-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
}

.dl-step {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: default;
}

.dl-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-sub);
  background: var(--white);
  transition: background .2s, border-color .2s, color .2s;
  flex-shrink: 0;
}

.dl-step__label {
  font-size: .8125rem;
  color: var(--text-sub);
  white-space: nowrap;
}

.dl-step--active .dl-step__num {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.dl-step--active .dl-step__label { color: var(--blue); font-weight: 600; }

.dl-step--done .dl-step__num {
  background: var(--bg-light);
  border-color: var(--blue);
  color: var(--blue);
}
.dl-step--done .dl-step__label { color: var(--text-sub); }

.dl-step__connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 .5rem;
  min-width: 1.5rem;
}

/* ─── Download funnel – step panels ─────────────────────────────────────────── */
.dl-step-panel { display: none; }
.dl-step-panel--active { display: block; }

.dl-step-panel__actions {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}

/* ─── Input error state ──────────────────────────────────────────────────────── */
.input--error {
  border-color: #DA1E28 !important;
  outline: 2px solid #DA1E28 !important;
  outline-offset: 0;
}

@media (max-width: 700px) {
  .dl-layout { grid-template-columns: 1fr; gap: 2rem; }
  .dl-form__row { grid-template-columns: 1fr; }
  .dl-steps { flex-wrap: wrap; gap: .5rem; }
  .dl-step__connector { display: none; }
  .dl-step__label { display: none; }
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */

/* Grand écran */
@media (min-width: 1200px) {
  .hero__visual img { transform: scale(0.95); }
}

/* Tablette paysage */
@media (max-width: 1100px) {
  .hero__text { padding: 2rem 1.5rem; }
  .hero__title { font-size: clamp(1.4rem, 2.5vw, 2rem); }
}

/* Tablette portrait */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: unset;
  }
  .hero__visual {
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .hero__visual img {
    width: 100%;
    height: auto;
    max-height: 70vw;
    object-fit: contain;
  }
  .hero__sidebar { border-top: 1px solid var(--border); }
  .nav__menu { display: none; }
}

/* Mobile */
@media (max-width: 600px) {
  .hero__text { padding: 1.5rem 1rem; }
  .hero__visual img { max-height: 90vw; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--border); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}
