:root {
  --ink: #2B241D;
  --ink-soft: #5C5247;
  --cream: #F5EFE0;
  --cream-2: #EFE6D2;
  --sand: #E7DCC3;
  --brick: #B0442B;
  --amber: #EDB552;
  --radius: 26px;
}

* {
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
}

.shell {
  background: var(--cream);
  border-radius: 34px;
  margin: 26px;
  overflow: hidden;
}

.serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
}

.accent {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  color: var(--brick);
  letter-spacing: 0.05em;
}

.display-hero {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.h-section {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.lead-muted {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}

.nav-pill {
  border: 1px solid rgba(43, 36, 29, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.nav-pill .nav-link {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-pill .nav-link:hover {
  color: var(--ink);
}

@media (max-width: 991.98px) {
  .nav-pill {
    border-radius: 22px;
  }

  .nav-pill .navbar-collapse {
    border-top: 1px solid rgba(43, 36, 29, 0.12);
    margin-top: 0.75rem;
    padding-top: 0.5rem;
  }

  .nav-pill .nav-link {
    padding: 0.6rem 0;
  }
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232B241D' stroke-width='2' stroke-linecap='round' d='M4 8h22M4 15h22M4 22h22'/%3e%3c/svg%3e");
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border: 0;
}

.btn-ink:hover {
  background: #1c1712;
  color: #fff;
}

.btn-amber {
  background: var(--amber);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border: 0;
}

.btn-amber:hover {
  background: #e0a53c;
}

.btn-outline-ink {
  border: 1px solid rgba(43, 36, 29, 0.25);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  background: transparent;
}

.btn-outline-ink:hover {
  background: var(--ink);
  color: var(--cream);
}

.card-soft {
  background: var(--cream-2);
  border-radius: var(--radius);
  border: 1px solid rgba(43, 36, 29, 0.06);
}

.card-line {
  background: transparent;
  border: 1px solid rgba(43, 36, 29, 0.14);
  border-radius: var(--radius);
}

.badge-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(43, 36, 29, 0.1);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-dot i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brick);
  display: inline-block;
}

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 420px;
  background: #8d9179;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.stats-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 18px;
  padding: 1.1rem 1.4rem;
  color: #F6F1E6;
  background: linear-gradient(180deg, rgba(30, 25, 20, 0.55), rgba(30, 25, 20, 0.85));
  backdrop-filter: blur(10px);
}

.stat-v {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
}

.stat-l {
  font-size: 0.8rem;
  opacity: 0.78;
}

.logos span {
  font-weight: 800;
  font-size: 1.1rem;
  color: rgba(43, 36, 29, 0.42);
  letter-spacing: -0.02em;
}

.dark-panel {
  background: #221D18;
  color: #F1EADC;
  border-radius: var(--radius);
}

.dark-panel .lead-muted {
  color: rgba(241, 234, 220, 0.7);
}

.step-n {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
  color: var(--brick);
  line-height: 1;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.step-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--brick);
}

.price {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.sec {
  padding: clamp(56px, 8vw, 110px) 0;
}

a {
  text-decoration: none;
}

.case-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.case-card-header .small {
  margin: 0;
}

.case-tag {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 0.9rem;
  color: var(--brick);
  margin: 0;
}

.case-title-company {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.15rem;
}

.case-title-project {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.case-desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.75;
}

.problem-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1.5rem;
  height: 100%;
}

.problem-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.problem-card h3 {
  font-size: 1.05rem !important;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.problem-picto {
  display: none;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--sand);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}

.cross-list {
  list-style: none;
  padding: 0;
}

.cross-list li {
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
  color: var(--ink-soft);
}

.cross-list li::before {
  content: "\2717";
  position: absolute;
  left: 0;
  color: var(--brick);
  font-weight: 700;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sand);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.accordion-item {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(43, 36, 29, 0.14);
}

.accordion-button {
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  padding: 1.2rem 0;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--ink);
}

.accordion-body {
  padding: 0 0 1.2rem;
  color: var(--ink-soft);
}

.footer-link {
  color: rgba(241, 234, 220, 0.65);
}

.footer-link:hover {
  color: #fff;
}

.cta-section .h-section {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
}

.pricing-item {
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-header {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 175px;
}

.pricing-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.pricing-center .pricing-header {
  position: relative;
}

.pricing-center .pricing-header h3 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.pricing-header p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.pricing-price {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1;
  margin: 0.5rem 0 0 0;
}

.pricing-body {
  padding: 0 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.pricing-list li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
}

.pricing-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: 700;
}

.pricing-left .pricing-item {
  background: var(--cream-2);
  color: var(--ink);
}

.pricing-left .pricing-body {
  border-top-color: rgba(43, 36, 29, 0.1);
}

.pricing-left .pricing-list li::before {
  color: var(--amber);
}

.pricing-center {
  position: relative;
}

.pricing-center .pricing-item {
  background: var(--ink);
  color: #F1EADC;
}

.pricing-center .pricing-header h3 {
  color: #F1EADC;
}

.pricing-center .pricing-header p {
  color: rgba(241, 234, 220, 0.75);
}

.pricing-center .pricing-price {
  color: var(--amber);
}

.pricing-center .pricing-body {
  border-top-color: rgba(241, 234, 220, 0.15);
}

.pricing-center .pricing-list li {
  color: rgba(241, 234, 220, 0.9);
}

.pricing-center .pricing-list li::before {
  color: var(--amber);
}

.pricing-badge {
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pricing-right .pricing-item {
  background: var(--cream-2);
  color: var(--ink);
}

.pricing-right .pricing-body {
  border-top-color: rgba(43, 36, 29, 0.1);
}

.pricing-right .pricing-list li::before {
  color: var(--amber);
}

.pricing-btn {
  width: 100%;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
}

.pricing-left .pricing-btn {
  border: 1px solid rgba(43, 36, 29, 0.25);
  color: var(--ink);
  background: transparent;
}

.pricing-left .pricing-btn:hover {
  background: var(--ink);
  color: var(--cream);
}

.pricing-center .pricing-btn {
  background: var(--amber);
  color: var(--ink);
  border: 0;
}

.pricing-center .pricing-btn:hover {
  background: #e0a53c;
}

.pricing-right .pricing-btn {
  border: 1px solid rgba(43, 36, 29, 0.25);
  color: var(--ink);
  background: transparent;
}

.pricing-right .pricing-btn:hover {
  background: var(--ink);
  color: var(--cream);
}

.logos img {
  max-height: 100px;
  width: auto;
}

@media (max-width: 767.98px) {
  .shell {
    margin: 10px;
    border-radius: 22px;
  }

  .display-hero {
    font-size: clamp(1.8rem, 7vw, 2.4rem) !important;
  }

  .hero-media {
    min-height: 280px;
  }

  .problem-picto {
    display: inline;
  }

  #realisations .card-soft {
    border: 1px solid rgba(43, 36, 29, 0.12);
    padding: 1.25rem !important;
  }

  .case-title-project {
    font-size: 1rem;
  }

  .case-desc {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  #realisations .card-line {
    padding: 1rem !important;
  }

  #apropos .stat-v {
    font-size: 1.4rem;
  }

  #apropos .about-img {
    aspect-ratio: 1/1;
    margin-bottom: 1rem;
  }
}
