/* ===== Réglages de base ===== */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f2f5f8;
  --color-text: #14202e;
  --color-muted: #56636f;
  --color-primary: #14355e;
  --color-primary-dark: #0d2442;
  --color-accent: #f2921e;
  --color-border: #e1e6eb;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.kicker::before {
  content: "— ";
}

.section h1,
.hero-centered h1,
.page-hero h1 {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  line-height: 1.2;
  margin-top: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== En-tête ===== */
.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  flex-shrink: 0;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
  max-width: 100%;
}

.logo-text {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
}

.logo-accent {
  color: var(--color-primary);
  margin-left: 3px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.92rem;
}

.nav-cta {
  background: var(--color-primary);
  color: white !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  text-decoration: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-image {
  line-height: 0;
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-headline {
  font-family: "Sora", sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: clamp(1.4rem, 1vw + 1.25rem, 1.65rem);
  line-height: 1.25;
  margin: 0 0 30px;
}

.hero-headline-white {
  display: block;
  color: #ffffff;
}

.hero-headline-accent {
  display: block;
  color: var(--color-accent);
  position: relative;
  padding-bottom: 14px;
}

.hero-headline-accent::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.hero-signature {
  color: var(--color-accent);
  margin-top: 22px;
  padding-bottom: 14px;
  position: relative;
}

.hero-signature::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.hero-centered {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.5rem, 1vw + 1.35rem, 1.75rem);
  white-space: normal;
}

.highlight {
  color: var(--color-primary);
}

.subtitle {
  color: var(--color-muted);
  max-width: 560px;
  margin: 20px 0 32px;
  font-size: 1.1rem;
}

.hero-photo {
  display: flex;
  justify-content: center;
}

.avatar-hero {
  width: 260px;
  height: 260px;
}

.btn {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 15px 32px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.btn {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 8px 20px rgba(20, 53, 94, 0.25);
}

.btn:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 53, 94, 0.3);
}

/* ===== Icônes ===== */
.icon {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

/* ===== Barre de chiffres clés ===== */
.stats-bar {
  background: var(--color-primary-dark);
  padding: 32px 0 48px;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.stat .icon {
  color: white;
  opacity: 0.85;
  margin-bottom: 8px;
}

.stat-number {
  font-size: 1.1rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

/* ===== Sections générales ===== */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section h2 {
  font-size: 1.9rem;
  margin-bottom: 28px;
}

.lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 760px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ===== Motif de points décoratif ===== */
#solution {
  position: relative;
  background-image: radial-gradient(var(--color-border) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  background-position: -10px -10px;
}

#solution::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg-alt) 55%, transparent 100%);
  pointer-events: none;
}

#solution .container {
  position: relative;
}

/* ===== Citation / pitch ===== */
.pitch {
  border-left: 4px solid var(--color-primary);
  padding: 32px 36px 32px 56px;
  margin: 32px 0 0;
  background: var(--color-bg);
  font-style: italic;
  color: var(--color-text);
  border-radius: 0 8px 8px 0;
  position: relative;
  box-shadow: 0 16px 32px rgba(15, 32, 46, 0.08);
}

.pitch::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  left: 16px;
  font-family: Georgia, serif;
  font-size: 3.5rem;
  font-style: normal;
  color: var(--color-primary);
  opacity: 0.35;
  line-height: 1;
}

/* ===== Étapes ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  background: var(--color-bg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 32, 46, 0.08);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-weight: 700;
  margin-bottom: 16px;
}

.icon-step {
  margin-bottom: 12px;
}

.step h3 {
  margin-bottom: 4px;
}

#parcours .step {
  padding: 20px 22px;
}

#parcours .step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

#parcours .step-number {
  flex-shrink: 0;
  margin-bottom: 0;
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
}

#parcours .step h3 {
  margin-bottom: 0;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  margin: 0 0 12px;
}

/* ===== Photo / avatar ===== */
.two-col-photo > div:first-child {
  display: flex;
  flex-direction: column;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: rgba(20, 53, 94, 0.08);
  border: 1px solid rgba(20, 53, 94, 0.2);
  border-radius: 999px;
  padding: 6px 14px;
}

.icon-badge {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 3px var(--color-primary);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  font-size: 2.2rem;
  font-weight: 700;
}

.avatar-hero .avatar-fallback {
  font-size: 3.6rem;
}

/* ===== Timeline (parcours) ===== */
.timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 32px;
  border-left: 2px solid var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 3px solid var(--color-primary);
}

.timeline-item-current::before {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.timeline-item-compact h3 {
  font-size: 1rem;
  color: var(--color-muted);
  font-weight: 600;
}

.timeline-item-compact p {
  font-size: 0.9rem;
}

.timeline-item-photo h3 {
  font-size: 1.35rem;
}

.timeline-year {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.timeline-item-current .timeline-year {
  color: var(--color-accent);
}

.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.timeline-item p {
  margin: 0;
  color: var(--color-muted);
  max-width: 720px;
}

.timeline-photo-row {
  display: flex;
  gap: 24px;
  align-items: center;
}

.timeline-photo-row p {
  flex: 1.4;
  margin: 0;
}

.timeline-photo {
  flex: 1;
  max-width: 320px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(15, 32, 46, 0.14);
  display: block;
  object-fit: cover;
}

.option-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 32px;
  padding: 24px 28px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-bg-alt);
}

.option-box .icon {
  flex-shrink: 0;
  margin-top: 4px;
  width: 32px;
  height: 32px;
}

.option-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.option-box h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.option-box p {
  margin: 0;
  color: var(--color-muted);
  max-width: 640px;
}

.insight-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(242, 146, 30, 0.08);
  border: 1px solid rgba(242, 146, 30, 0.3);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 40px;
}

.insight-box .icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.insight-box p {
  margin: 0;
  font-weight: 500;
}

.parcours-footer {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.parcours-footer .facts-list {
  flex: 1;
  min-width: 240px;
}

/* ===== Presse & médias ===== */
.press {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.press-title {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--color-muted);
  font-weight: 600;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.press-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.press-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 32, 46, 0.08);
  text-decoration: none;
}

.icon-press {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.press-outlet {
  font-weight: 700;
  font-size: 0.95rem;
}

.press-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.4;
}

/* ===== Faits marquants ===== */
.facts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.facts-list li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.facts-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ===== Cartes (Pour qui) ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 26px;
  background: var(--color-bg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 32, 46, 0.08);
}

.icon-card {
  margin-bottom: 14px;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--color-primary-dark);
}

.card p {
  color: var(--color-muted);
  margin-bottom: 0;
}

.card-example {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 0.92rem;
}

.card-example strong {
  color: var(--color-text);
}

/* ===== Schéma de centralisation CRM ===== */
.flow-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.flow-diagram {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-bg);
  overflow-x: auto;
}

.flow-stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.flow-stage-center {
  align-self: center;
}

.flow-box {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--color-bg-alt);
  min-width: 160px;
}

.flow-box strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.flow-box span {
  display: block;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.flow-box-highlight {
  background: rgba(20, 53, 94, 0.08);
  border-color: var(--color-primary);
}

.flow-box-dashed {
  border-style: dashed;
  background: transparent;
}

.flow-box-dashed span {
  font-style: italic;
}

.flow-arrow {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--color-primary);
}

/* ===== Encart informatif ===== */
.info-box {
  margin-top: 24px;
  padding: 22px 26px;
  border-radius: 16px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.info-box h4 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.info-box ul {
  margin: 0;
  padding-left: 20px;
  color: var(--color-muted);
}

.info-box li {
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.info-box li:last-child {
  margin-bottom: 0;
}

/* ===== Comparatif (deux blocs) ===== */
.compare-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.compare-panel {
  border-radius: 24px;
  padding: 32px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.compare-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.compare-panel-subtitle {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 0 0 20px;
}

.compare-panel-filled {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: white;
}

.compare-panel-filled .compare-panel-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.compare-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1px;
}

.compare-icon-no {
  background: rgba(242, 146, 30, 0.15);
  color: var(--color-accent);
}

.compare-icon-yes {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

@media (max-width: 780px) {
  .compare-panels {
    grid-template-columns: 1fr;
  }
}

/* ===== Tableau comparatif ===== */
.table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg);
  border-radius: 16px;
  overflow: hidden;
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.compare-table thead th {
  background: var(--color-bg-alt);
  font-size: 0.95rem;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--color-muted);
  width: 30%;
}

.compare-table .highlight-col {
  background: rgba(20, 53, 94, 0.06);
  color: var(--color-primary-dark);
  font-weight: 500;
}

.compare-table thead .highlight-col {
  background: var(--color-primary);
  color: white;
  font-weight: 700;
}

/* ===== FAQ ===== */
.faq-list {
  columns: 2;
  column-gap: 20px;
}

@media (max-width: 780px) {
  .faq-list {
    columns: 1;
  }
}

.faq-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 4px 20px;
  background: var(--color-bg);
}

.faq-item summary {
  padding: 16px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.3rem;
  color: var(--color-primary);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--color-muted);
}

/* ===== Réassurance IA ===== */
.reassure-box {
  border-radius: 16px;
  padding: 24px 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.reassure-yes h3 {
  color: var(--color-primary-dark);
}

.reassure-no h3 {
  color: var(--color-accent);
}

.reassure-box ul {
  margin: 0;
  padding-left: 20px;
}

.reassure-box li {
  margin-bottom: 8px;
}

.reassure-note {
  margin-top: 28px;
}

/* ===== Contact ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  resize: vertical;
}

.contact-form .btn {
  margin-top: 16px;
  align-self: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 10px;
}

/* ===== En-tête de page segment ===== */
.page-hero {
  padding: 56px 0 64px;
  background: var(--color-bg-alt);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.back-link:hover {
  color: var(--color-primary);
}

.page-hero h1 {
  font-size: 2rem;
  max-width: 760px;
  margin-bottom: 24px;
}

.page-hero .pitch {
  max-width: 760px;
}

/* ===== Bénéfices (accueil) ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .logo-img {
    height: 28px;
  }
}

.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: 16px;
  padding: 18px 20px;
  background: var(--color-bg);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.benefit:nth-child(even) {
  border-top-color: var(--color-accent);
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 32, 46, 0.1);
}

.benefit .icon-circle {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
}

.benefit .icon-circle .icon {
  width: 18px;
  height: 18px;
}

.benefit h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--color-primary-dark);
}

.benefit p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

/* Badges d'icônes colorés (bénéfices + segments) */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: var(--color-primary);
}

.icon-circle .icon {
  width: 22px;
  height: 22px;
  color: white;
}

.icon-circle.c-accent {
  background: var(--color-accent);
}

.icon-circle.c-dark {
  background: var(--color-primary-dark);
}

.benefit:nth-child(even) .icon-circle {
  background: var(--color-accent);
}

.benefit-filled {
  border-top: none !important;
  background: var(--color-primary) !important;
  color: white;
}

.benefit-filled h3 {
  color: white !important;
}

.benefit-filled p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.benefit-filled .icon-circle {
  background: rgba(255, 255, 255, 0.2) !important;
}

.benefit-filled.benefit-accent {
  background: var(--color-accent) !important;
}

.benefit-wide {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .benefit-wide {
    grid-column: span 1;
  }
}

/* ===== Bandeau de réassurance (bas de page) ===== */
.reassure-strip {
  background: var(--color-primary-dark);
  padding: 40px 0;
}

/* ===== Cartes segments (accueil) ===== */
.segment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.segment-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 28px 26px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}

.segment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
}

.segment-card:nth-child(2)::before {
  background: var(--color-accent);
}

.segment-card:nth-child(3)::before {
  background: var(--color-primary-dark);
}

.segment-card:nth-child(4)::before {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.segment-card:nth-child(5)::before {
  background: var(--color-accent);
}

.segment-card:nth-child(1) .icon-circle { background: var(--color-primary); }
.segment-card:nth-child(2) .icon-circle { background: var(--color-accent); }
.segment-card:nth-child(3) .icon-circle { background: var(--color-primary-dark); }
.segment-card:nth-child(4) .icon-circle {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.segment-card:nth-child(5) .icon-circle {
  background: var(--color-accent);
}

.segment-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 16px 32px rgba(15, 32, 46, 0.12);
  text-decoration: none;
  border-color: var(--color-primary);
}

.segment-card h3 {
  color: var(--color-primary-dark);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.segment-card p {
  color: var(--color-muted);
  font-size: 0.9rem;
  flex: 1;
  margin: 0 0 16px;
}

.segment-card-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
}

/* ===== Chiffres clés du marché (accueil) ===== */
.market-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.market-stat {
  padding: 26px;
  border-radius: 20px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.market-stat-number {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.market-stat-vs {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-muted);
}

.market-stat p {
  margin: 0 0 14px;
  color: var(--color-text);
}

.market-stat-source {
  display: block;
  font-size: 0.78rem;
  color: var(--color-muted);
  font-style: italic;
}

@media (max-width: 780px) {
  .market-stats {
    grid-template-columns: 1fr;
  }
}

/* ===== Bandeau d'entrée alternative (accueil) ===== */
.alt-entry-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 26px 30px;
  border: 1px dashed var(--color-border);
  border-radius: 20px;
  background: var(--color-bg-alt);
}

.alt-entry-banner h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.alt-entry-banner p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  max-width: 520px;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-dark) !important;
  border: 2px solid var(--color-primary);
  box-shadow: none;
  flex-shrink: 0;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white !important;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.hero-sub {
  color: #ffffff;
  max-width: 600px;
  margin: 10px auto;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-sub strong {
  color: var(--color-accent);
}

.hero-lines {
  color: rgba(255, 255, 255, 0.58);
  max-width: 540px;
  margin: 0 0 18px;
  font-size: 0.85rem;
  line-height: 1.45;
  text-align: left;
}

.hero-lines p {
  margin: 0 0 3px;
}

.hero-tagline {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 20px;
  font-family: "Sora", sans-serif;
}

.hero-bubbles {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  list-style: none;
  padding: 0;
}

.hero-bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 7px 16px;
}

.hero-bubble-accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary-dark);
}

.hero-bubbles-rich {
  gap: 14px;
  align-items: stretch;
}

.hero-bubble-rich {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border-radius: 12px;
  padding: 16px 18px;
  flex: 1 1 230px;
  max-width: 254px;
  background: rgba(8, 16, 28, 0.78);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-bubble-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  white-space: nowrap;
}

.hero-bubble-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-accent);
  font-size: 0.9rem;
}

.hero-bubble-rich strong {
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
}

.hero-bubble-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-bottom: 8px;
}

.hero-bubble-desc {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.hero-cta-float {
  position: relative;
  z-index: 2;
  margin-top: 28px;
}

.cta-strip {
  background: var(--color-primary);
  padding: 28px 0;
}

.cta-strip .hero-cta-card {
  text-align: center;
}

.cta-strip-row,
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-cta-card {
  display: block;
  background: #ffffff;
  border-radius: 12px;
  padding: 13px 20px;
  flex: 0 1 300px;
  min-width: 0;
  box-shadow: 0 14px 28px rgba(5, 10, 16, 0.3);
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-cta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(5, 10, 16, 0.35);
}

.hero-cta-title {
  display: block;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.hero-cta-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.35;
}

@media (max-width: 780px) {
  .hero {
    padding: 56px 0 40px;
    min-height: 0;
  }

  .hero-centered {
    max-width: 100%;
  }

  .hero-cta-card {
    flex: 1 1 100%;
  }
}

/* ===== Bannière Julien (accueil) ===== */
.julien-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-bg);
}

.julien-banner .avatar {
  width: 84px;
  height: 84px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.julien-banner-text {
  flex: 1;
}

.julien-banner-text p {
  margin: 0 0 12px;
  color: var(--color-muted);
}

/* ===== Méthode / budget (pages segments) ===== */
.method-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  max-width: 720px;
}

.method-list li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.method-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.budget-callout {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 28px;
  border-radius: 16px;
  background: var(--color-primary-dark);
  color: white;
}

.budget-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.budget-amount {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: "Sora", sans-serif;
}

/* ===== Photo d'illustration (pages segments) ===== */
.segment-photo-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.segment-photo-row .lead {
  margin: 0;
}

.segment-photo {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(15, 32, 46, 0.14);
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ===== Questionnaire diagnostic ===== */
.diag-progress-wrap {
  margin-bottom: 28px;
}

.diag-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--color-border);
  overflow: hidden;
  margin-bottom: 8px;
}

.diag-progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 999px;
  transition: width 0.3s ease;
  width: 0%;
}

.diag-progress-label {
  font-size: 0.85rem;
  color: var(--color-muted);
  font-weight: 600;
}

.diag-question-card {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 32px;
  background: var(--color-bg);
  min-height: 220px;
}

.diag-question-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.diag-hint {
  margin: 0 0 20px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.diag-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.diag-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.diag-option:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-alt);
}

.diag-option input {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.diag-slider {
  width: 100%;
  accent-color: var(--color-primary);
  height: 6px;
  margin: 24px 0 12px;
}

.diag-slider-value {
  text-align: center;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-primary);
}

.diag-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

/* ===== Widget chatbot ===== */
.chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  border: none;
  box-shadow: 0 10px 24px rgba(15, 32, 46, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: transform 0.15s ease;
}

.chat-toggle:hover {
  transform: scale(1.06);
}

.chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 340px;
  max-width: calc(100vw - 32px);
  max-height: min(520px, 70vh);
  display: none;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(15, 32, 46, 0.22);
  overflow: hidden;
  z-index: 100;
}

.chat-panel.open {
  display: flex;
}

.chat-header {
  background: var(--color-primary);
  color: white;
  padding: 14px 18px;
  font-weight: 700;
  font-family: "Sora", sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  background: var(--color-bg-alt);
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 0.9rem;
  max-width: 88%;
  line-height: 1.5;
}

.chat-bubble strong {
  color: var(--color-primary-dark);
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-option-btn {
  text-align: left;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.chat-option-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-alt);
}

.chat-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chat-cta-row a {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--color-primary);
  color: white !important;
}

.chat-cta-row a.chat-cta-secondary {
  background: transparent;
  color: var(--color-primary) !important;
  border: 1px solid var(--color-primary);
}

/* ===== Pied de page ===== */
.site-footer {
  text-align: center;
  padding: 24px 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--color-border);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 14px;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--color-muted);
}

.footer-links a:hover {
  color: var(--color-primary);
}

/* ===== Responsive (écrans étroits, mobile) ===== */
@media (max-width: 780px) {
  .two-col,
  .steps,
  .cards {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .segment-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .julien-banner {
    flex-direction: column;
    text-align: center;
  }

  .segment-photo-row {
    grid-template-columns: 1fr;
  }

  .segment-photo-row .segment-photo {
    order: -1;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-photo {
    order: -1;
  }

  .avatar-hero {
    width: 180px;
    height: 180px;
  }

  .parcours-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-photo-row {
    flex-direction: column;
    align-items: stretch;
  }

  .timeline-photo {
    max-width: 100%;
  }

  .timeline {
    padding-left: 24px;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    right: 24px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 20px;
    gap: 12px;
    white-space: normal;
  }

  .nav-links.open {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .segment-cards {
    grid-template-columns: 1fr;
  }

  .chat-panel {
    right: 16px;
    bottom: 88px;
  }

  .chat-toggle {
    right: 16px;
    bottom: 16px;
  }
}
