:root {
  --blue: #3a6dde;
  --green: #79c662;
  --light-blue: #86c7ed;
  --light-grey: #eef1f8;
  --text-dark: #1f2933;
  --text-muted: #6b7280;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius-lg: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: var(--light-grey);
}

/* Layout */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-brand img {
  height: 38px;
  width: auto;
}

.nav-brand span {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
  font-size: 1rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
}
.nav-links .nav-cta{
  color: #eef1f8;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus,
.nav-links .nav-cta.active {
  color: #86c7ed;
}
.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.active {
  color: var(--blue);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 999px;
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--blue);
  color: #eef1f8;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.nav-cta span {
  font-size: 1.1rem;
}

.nav-cta:hover {
  filter: brightness(1.05);
}

/* Burger */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #1f2933;
  border-radius: 999px;
}

/* Hero */

.home-page .hero {
  padding: 3rem 0 2.5rem;
}

.home-page .hero-grid {
  gap: 4rem;
}

.home-page .hero-title {
  max-width: 13ch;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  line-height: 1.08;
}

.home-page .hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
}

.home-page .section {
  padding: 2.7rem 0;
}

.home-page .cta-section {
  padding: 2.5rem 0 3rem;
}

.home-page .section-header {
  margin-bottom: 1.5rem;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(134, 199, 237, 0.2);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  margin: 1.1rem 0 0.75rem;
}

.hero-title span {
  color: var(--blue);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta strong {
  color: var(--text-dark);
}

/* Hero visual */

.hero-card-stack {
  position: relative;
  width: 240px;
  height: 260px;
  margin: 0 auto;
}

.hero-card {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.hero-card.blue {
  background: var(--blue);
  transform: translate(26px, -16px) rotate(12deg);
}

.hero-card.green {
  background: var(--green);
  transform: translate(8px, 4px) rotate(9deg);
}

.hero-card.light {
  background: var(--light-blue);
  transform: translate(-24px, 22px) rotate(6deg);
}

/* .hero-card::after {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.45);
} */
.hero-card.blue.hero-card-main {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;        /* pour que le logo reste dans la carte */
}

.hero-logo-img {
  width: 100%;              /* ajuste la taille du logo */
  max-width: 300px;
  display: block;
  border-radius: 24px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue);
  font-weight: 650;
  text-decoration: none;
}

.btn-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.btn-link:focus-visible {
  outline: 3px solid rgba(58, 109, 222, 0.35);
  outline-offset: 4px;
  border-radius: 3px;
}

.hero-note {
  margin-top: 1.1rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.hero-demo {
  width: 100%;
  max-width: 430px;
  justify-self: end;
  padding: 1.6rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.hero-demo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--light-grey);
}

.hero-demo-kicker {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-demo-header h2 {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
}

.demo-status {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(121, 198, 98, 0.14);
  color: #387b2d;
  font-size: 0.75rem;
  font-weight: 650;
  white-space: nowrap;
}

.flow-list {
  display: grid;
  gap: 1.1rem;
  padding-top: 1.2rem;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding-bottom: 0.15rem;
}

.flow-step:not(:last-child)::after {
  position: absolute;
  top: 30px;
  bottom: -0.8rem;
  left: 14px;
  width: 1px;
  background: #dce4f1;
  content: "";
}

.flow-marker {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(58, 109, 222, 0.1);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.flow-step.is-complete .flow-marker {
  background: rgba(121, 198, 98, 0.16);
  color: #387b2d;
}

.flow-copy {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.1rem;
}

.flow-copy strong {
  font-size: 0.9rem;
}

.flow-copy span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
  font-weight: 700;
}

.section-title {
  font-size: 1.6rem;
  margin-top: 0.4rem;
}

.section-description {
  margin-top: 0.5rem;
  color: var(--text-muted);
  max-width: 34rem;
}

/* Cards & grids */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.18);
}

.card-soft {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.3rem;
}

.card-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 109, 222, 0.1);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.card-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.card-heading .card-icon {
  flex: 0 0 34px;
  margin: 0;
}

.card-heading .card-title {
  margin: 0;
}

.card-icon.green {
  background: rgba(121, 198, 98, 0.12);
}

.card-icon.blue-light {
  background: rgba(134, 199, 237, 0.15);
}

.card-title {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Lists */

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
}

/* Two columns */

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.home-challenges {
  background: #f5f7fb;
}

.home-challenges .section-header {
  max-width: none;
  margin-bottom: 1.5rem;
}

.home-challenges .section-description {
  max-width: 60rem;
}

.home-challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.challenge-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 1.7rem;
}

.challenge-card .card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 0.75rem;
  text-align: center;
}

.challenge-heading-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(58, 109, 222, 0.1);
  color: var(--blue);
  font-size: 0.9rem;
}

.challenge-heading-icon.is-positive {
  background: rgba(121, 198, 98, 0.14);
  color: #387b2d;
}

.challenge-points {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.challenge-points li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.challenge-benefits .challenge-points li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
}

.challenge-point-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(58, 109, 222, 0.08);
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
}

.challenge-point-icon.is-positive {
  background: rgba(121, 198, 98, 0.14);
  color: #387b2d;
}

.challenge-benefits .chip-list {
  margin-top: 0.9rem;
  margin-bottom: 1rem;
}

.challenge-link {
  margin-top: 1.1rem;
}

/* Timeline / steps */

.step-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
}

/* Table-like */

.muted-list {
  list-style: none;
  padding-left: 0;
  margin: 0.6rem 0 0;
}

.muted-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

/* CTA section */

.cta-section {
  padding: 3.5rem 0 4rem;
}

.cta-box {
  background: radial-gradient(circle at top left, var(--light-blue), var(--blue));
  border-radius: 26px;
  padding: 2.2rem 2rem;
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.8rem;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.35);
}

.cta-box h2 {
  margin: 0 0 0.3rem;
}

.cta-box p {
  margin: 0;
  max-width: 26rem;
}

/* Forms */

.form-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: block;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

textarea {
  min-height: 120px;
}

/* Footer */

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: #ffffff;
  padding: 1.3rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue);
}

/* Pages headers */

.page-hero {
  padding: 3rem 0 2rem;
}

.page-title {
  font-size: 1.9rem;
  margin: 0.4rem 0;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .two-columns,
  .grid-3,
  .home-challenge-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3rem;
  }

  .home-page .hero-grid {
    gap: 2rem;
  }

  .hero-demo {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .home-page .hero {
    padding: 2rem 0;
  }

  .home-page .hero-title {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .home-page .hero-actions {
    align-items: flex-start;
  }

  .home-page .section {
    padding: 2.2rem 0;
  }

  .home-page .cta-section {
    padding: 2rem 0 2.5rem;
  }

  .hero-demo {
    max-width: none;
    padding: 1.25rem;
  }

  .nav-links {
    position: absolute;
    inset: 72px 0 auto 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.2rem;
    gap: 0.9rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-cta {
    margin-top: 0.3rem;
  }

  .nav-toggle {
    display: block;
  }
}

/* Shared content-page design */

.content-page .page-wrapper {
  background: #ffffff;
}

.content-page .page-hero {
  position: relative;
  overflow: hidden;
  padding: 2.8rem 0 3.4rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(ellipse at 88% 18%, rgba(134, 199, 237, 0.28), transparent 34%),
    linear-gradient(135deg, #f8faff 0%, #eef3fb 100%);
}

.content-page .page-hero::after {
  position: absolute;
  right: max(4%, calc((100vw - 1120px) / 2));
  bottom: -5.5rem;
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(58, 109, 222, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(58, 109, 222, 0.025), 0 0 0 4rem rgba(58, 109, 222, 0.02);
  content: "";
  pointer-events: none;
}

.content-page .page-hero .container {
  position: relative;
  z-index: 1;
}

.content-page .breadcrumb {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(58, 109, 222, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #53647b;
  font-size: 0.76rem;
}

.page-hero-copy {
  max-width: 46rem;
  margin-top: 1.65rem;
}

.page-eyebrow,
.service-aside-label,
.case-card-label,
.cta-eyebrow {
  display: inline-flex;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.page-eyebrow {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(58, 109, 222, 0.08);
}

.content-page .page-title {
  max-width: 20ch;
  margin: 0.85rem 0 0.8rem;
  font-size: clamp(2.2rem, 5vw, 3.55rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.content-page .page-hero .section-description {
  max-width: 42rem;
  margin: 0;
  color: #59697e;
  font-size: 1.05rem;
  line-height: 1.7;
}

.content-page .section {
  padding: 3rem 0;
}

.content-page .section-muted {
  background: #f5f7fb;
}

.content-page .section-title {
  margin-bottom: 0.6rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.content-page .section-description,
.content-page .card-text {
  line-height: 1.65;
}

.content-page .muted-list {
  margin-top: 1rem;
}

.content-page .muted-list li {
  position: relative;
  margin-bottom: 0.65rem;
  padding-left: 1.15rem;
  line-height: 1.5;
}

.content-page .muted-list li::before {
  position: absolute;
  top: 0.28rem;
  left: 0;
  width: 6px;
  height: 10px;
  transform: rotate(45deg);
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  content: "";
}

.content-page .card,
.content-page .card-soft,
.content-page .form-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 32px rgba(30, 50, 84, 0.06);
}

.content-page .card {
  height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.content-page .card:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 109, 222, 0.24);
  box-shadow: 0 18px 38px rgba(30, 50, 84, 0.1);
}

.home-page .expertise-grid .card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-page .expertise-grid .card:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 109, 222, 0.24);
  box-shadow: 0 18px 38px rgba(30, 50, 84, 0.1);
}

.service-section .two-columns {
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.service-section .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.service-section .section-kicker > span:not(.service-section-icon) {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.service-section-icon,
.value-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(58, 109, 222, 0.1);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.service-section-icon.green {
  background: rgba(121, 198, 98, 0.12);
}

.service-section-icon.blue-light {
  background: rgba(134, 199, 237, 0.15);
}

.service-section .section-title {
  max-width: 22ch;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.service-aside {
  padding: 1.7rem;
  border-radius: 20px;
  background: #ffffff;
}

.service-aside .card-title,
.method-principles .card-title {
  margin-top: 0.75rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

.service-aside .card-text,
.method-principles .card-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-aside-title {
  margin: 1.3rem 0 0;
  font-size: 0.82rem;
}

.method-page .step-list {
  position: relative;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.method-page .step {
  position: relative;
  z-index: 1;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(30, 50, 84, 0.045);
}

.method-page .step-number {
  width: 34px;
  height: 34px;
  border: 0;
  background: rgba(58, 109, 222, 0.1);
  font-size: 0.86rem;
}

.method-page .step strong {
  display: block;
  margin: 0.35rem 0;
}

.method-page .step .card-text {
  margin: 0;
  line-height: 1.55;
}

.method-principles {
  padding: 1.7rem;
  border-radius: 20px;
}

.method-principles .chip-list {
  margin-top: 1.2rem;
}

.case-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.6rem;
}

.case-card-meta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.case-card-label {
  color: #62728a;
  font-size: 0.68rem;
}

.case-card .card-icon {
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 50%;
  font-size: 1.1rem;
}

.case-card .card-title {
  font-size: 1.1rem;
  line-height: 1.35;
}

.case-card .card-text {
  margin: 0;
}

.case-card .muted-list {
  width: 100%;
  margin-top: auto;
  padding-top: 0.9rem;
}

.value-card {
  min-height: 180px;
  padding: 1.5rem;
  border-radius: 18px;
}

.value-mark {
  font-size: 1.05rem;
}

.value-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.value-card .card-title {
  margin: 0;
  font-size: 1.08rem;
}

.content-page .cta-section {
  padding: 1.2rem 0 3.4rem;
}

.content-page .cta-box {
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 88% 10%, rgba(134, 199, 237, 0.42), transparent 34%),
    linear-gradient(120deg, #315fc2, #3a6dde 58%, #397fc0);
  box-shadow: 0 18px 42px rgba(37, 82, 166, 0.2);
}

.cta-eyebrow {
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
}

.content-page .cta-box p {
  line-height: 1.6;
}

.content-page .cta-box .btn-primary {
  flex-shrink: 0;
  background: #ffffff;
  color: #2857b0;
  box-shadow: 0 8px 22px rgba(20, 45, 93, 0.16);
}

.contact-page .two-columns {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  align-items: start;
  gap: 1.5rem;
}

.contact-form-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 22px;
}

.form-intro {
  margin-bottom: 1.35rem;
}

.form-intro h2 {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.form-intro p,
.form-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.contact-page .form-grid {
  gap: 1.1rem 1rem;
}

.contact-page label {
  margin-bottom: 0.4rem;
  color: #34445a;
  font-size: 0.82rem;
  font-weight: 650;
}

.contact-page label span {
  color: var(--blue);
}

.contact-page input,
.contact-page textarea,
.contact-page select {
  min-height: 46px;
  border-color: #d7deea;
  border-radius: 11px;
  background: #fbfcfe;
  color: var(--text-dark);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.contact-page textarea {
  min-height: 140px;
}

.contact-page input:focus,
.contact-page textarea:focus,
.contact-page select:focus {
  border-color: var(--blue);
  outline: none;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(58, 109, 222, 0.12);
}

.contact-page form .btn-primary {
  min-height: 46px;
}

.form-note {
  margin-top: 0.9rem;
}

.contact-sidebar {
  display: grid;
  gap: 1rem;
}

.contact-info-card {
  padding: 1.35rem;
  border-radius: 18px;
}

.contact-info-card .card-title {
  margin-top: 0.55rem;
  font-size: 1rem;
}

.contact-info-card .muted-list li:last-child {
  margin-bottom: 0;
}

.content-page .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.content-page .text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.nav-toggle:focus-visible,
.nav-links a:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline: 3px solid rgba(58, 109, 222, 0.4);
  outline-offset: 3px;
}

.thank-you-section {
  display: grid;
  flex: 1;
  align-items: center;
  padding: 4rem 0 !important;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(134, 199, 237, 0.2), transparent 35%),
    #f5f7fb;
}

.thank-you-card {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.thank-you-icon {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  border-radius: 18px;
  background: rgba(121, 198, 98, 0.15);
  color: #397c2f;
  font-size: 1.5rem;
  font-weight: 750;
}

.thank-you-card .page-title {
  max-width: none;
}

.thank-you-card .section-description {
  margin: 0 auto 1.6rem;
}

@media (max-width: 900px) {
  .contact-page .two-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .content-page .page-hero {
    padding: 2rem 0 2.5rem;
  }

  .content-page .page-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .content-page .section {
    padding: 2.2rem 0;
  }

  .content-page .cta-section {
    padding: 0.5rem 0 2.4rem;
  }

  .content-page .cta-box {
    align-items: flex-start;
    padding: 1.6rem;
  }

  .content-page .cta-box .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .contact-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-page .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-page .form-grid .full {
    grid-column: auto;
  }

  .method-page .step {
    padding: 0.85rem;
  }

  .thank-you-section {
    padding: 2.5rem 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-page .card,
  .home-page .expertise-grid .card,
  .contact-page input,
  .contact-page textarea,
  .contact-page select {
    transition: none;
  }
}
