body {
  padding-top: 0;
  font-family: 'Inter', sans-serif;
}

body[data-theme='dark'] {
  background: #000;
  color: #f5f7fb;
}

@media (min-width: 781px) {
  .page-shell {
    margin-top: 1.5rem;
    padding: 7.5rem 0 4rem;
  }
}

@media (max-width: 780px) {
  .page-shell {
    margin-top: 7rem;
  }
}

.page-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 2.5rem;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(160deg, rgba(255,255,255,0.97), rgba(236,243,255,0.95));
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
  padding: 2.6rem 2.4rem;
}

body[data-theme='dark'] .page-hero {
  border-color: rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(160deg, rgba(10,15,24,0.95), rgba(18,25,40,0.96));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1.8rem;
  left: -3rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), transparent 72%);
  pointer-events: none;
}

.hero-top {
  position: relative;
  z-index: 1;
  margin-bottom: 1.9rem;
}

.page-hero > * + * {
  margin-top: 1.9rem;
}

.page-hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
}

.hero-copy {
  padding: 0.3rem 0;
}

.hero-copy h1 {
  margin-bottom: -3vh;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  font-weight: 800;
  white-space: normal;
  overflow-wrap: break-word;
  width: 100%;
  max-width: 100%;
}

.hero-copy p {
  margin: 1.2rem 0 0;
  max-width: 640px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.02rem;
}

.hero-strong {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hero-strong span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
}

.hero-strong strong {
  color: var(--text);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(56, 189, 248, 0.16));
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
}

.hero-strong strong {
  color: var(--primary);
}

.section-deck {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.4rem;
}

.section-panel {
  position: relative;
  padding: 1.85rem 1.75rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 255, 0.96));
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

body[data-theme='dark'] .section-panel {
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.95), rgba(20, 28, 44, 0.96));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.4);
}

.section-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5rem;
  height: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.6), rgba(56, 189, 248, 0.55));
}

.section-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 3.2rem;
  height: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.4), rgba(37, 99, 235, 0.32));
}

.section-panel:hover {
  transform: translateY(-0.65rem);
  box-shadow: 0 45px 105px rgba(15, 23, 42, 0.18);
  border-color: rgba(37, 99, 235, 0.2);
  z-index: 10;
}

.section-panel:nth-child(1) {
  transform: translateY(-0.15rem);
}

.section-panel:nth-child(2) {
  transform: translateY(-0.15rem);
}

.section-panel:nth-child(3) {
  transform: translateY(-0.05rem);
}

.section-panel:nth-child(4) {
  transform: translateY(0.35rem);
}

.section-panel:hover {
  transform: translateY(-0.65rem);
}

.section-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.22rem;
  color: var(--primary);
}

.section-panel h2::after {
  content: '';
  display: block;
  width: 3.5rem;
  height: 0.25rem;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.8), rgba(56, 189, 248, 0.7));
}

.section-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.hero-tagline {
  margin-top: 1.9rem;
  padding: 1.1rem 1.3rem;
  border-radius: 1.6rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--text);
  font-weight: 600;
  border: 1px solid rgba(37, 99, 235, 0.12);
  max-width: 44rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.hero-tagline strong {
  color: var(--primary);
}

.content-layout,
.detail-grid,
.hero-grid {
  display: block;
}

.story-card,
.side-card,
.detail-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.story-card {
  padding: 1.3rem 1.35rem;
}

.story-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.story-intro {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.story-quote {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--text);
  font-weight: 600;
  line-height: 1.8;
}

.story-footer p {
  margin: 0 0 0.7rem;
}

.signature-line {
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
}

.side-card {
  padding: 1.2rem;
}

.side-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
  color: var(--text);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.detail-card {
  padding: 1rem 1.05rem;
}

.detail-card h4 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--text);
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.section-block {
  margin-top: 1.35rem;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

body[data-theme='dark'] .section-block {
  background: rgba(10, 18, 34, 0.88);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}

.section-block h2 {
  margin: 0 0 0.45rem;
  font-size: 1.4rem;
  color: var(--text);
}

.section-block .section-intro {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.75;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.info-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
}

.info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

.info-card p,
.info-card ul {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.info-card ul {
  padding-left: 1rem;
}

.value-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.value-list li {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.value-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.value-list span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .content-layout,
  .hero-grid,
  .detail-grid,
  .section-deck {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 2.2rem 1.6rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.75rem, 5vw, 2.2rem);
  }

  .hero-copy p,
  .hero-tagline {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 1.4rem 1rem;
  }

  .page-shell {
    padding: 6rem 0 3rem;
  }

  .section-deck {
    gap: 1rem;
  }

  .section-panel {
    padding: 1.4rem 1.1rem;
  }

  .section-panel h2 {
    font-size: 1.1rem;
  }

  .hero-tagline {
    font-size: 0.95rem;
    padding: 0.95rem 1rem;
  }
}

@media (max-width: 500px) {
  .page-shell {
    padding: 6rem 1rem 3rem;
  }

  .page-hero {
    padding: 1.3rem 1rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.75rem, 6.5vw, 2.1rem);
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 1rem;
    line-height: 1.9;
    max-width: 100%;
  }

  .hero-tagline {
    font-size: 0.98rem;
    padding: 1rem 1rem;
    max-width: 100%;
  }

  .section-deck {
    gap: 1.8rem;
  }

  .section-panel {
    padding: 1.45rem 1.1rem;
    border-radius: 1.95rem;
  }

  .section-panel h2 {
    font-size: 1.1rem;
  }

  .section-panel p {
    font-size: 1rem;
    line-height: 1.9;
  }

  .hero-grid,
  .content-layout,
  .detail-grid,
  .section-deck {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-strong {
    width: 100%;
  }

  .hero-strong {
    gap: 0.4rem;
  }
}

@media (min-width: 2560px) {
  body.page-synthese-conseil .brand-mark {
    width: 5.4rem;
    padding: 0.15rem;
  }

  body.page-synthese-conseil .brand-text {
    font-size: 1.6rem;
    font-weight: 800;
  }

  .page-shell {
    padding: 10rem 0 7rem;
  }

  .page-hero {
    padding: 5rem 4rem;
  }

  .page-hero::before {
    width: 24rem;
    height: 24rem;
    top: -3.3rem;
    right: -3.3rem;
  }

  .page-hero::after {
    width: 18rem;
    height: 18rem;
    bottom: -3rem;
    left: -4rem;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-copy p,
  .hero-tagline {
    font-size: 1.35rem;
    max-width: 72rem;
  }

  .hero-tagline {
    padding: 1.15rem 1.45rem;
  }

  .section-deck {
    gap: 3.8rem;
  }

  .section-panel {
    padding: 3.6rem 3rem;
    border-radius: 3rem;
  }

  .section-panel h2 {
    font-size: 1.95rem;
  }

  .section-panel p {
    font-size: 1.2rem;
    line-height: 2;
  }

  .section-panel::before {
    width: 6.5rem;
  }

  .section-panel::after {
    width: 4.5rem;
  }

  .story-card,
  .side-card,
  .detail-card {
    padding: 2.6rem 2.8rem;
  }

  .story-card p,
  .detail-card p,
  .side-card p {
    font-size: 1.2rem;
  }

  .side-card h3 {
    font-size: 1.45rem;
  }

  .detail-card h4 {
    font-size: 1.3rem;
  }
}

.page-footer {
  padding: 2.5rem 0 3.5rem;
  display: flex;
  justify-content: center;
}
