:root {
  --navy: #1d2a49;
  --navy-2: #27365d;
  --yellow: #f4c438;
  --yellow-soft: #fff0b5;
  --white: #ffffff;
  --cream: #f7f5ef;
  --text: #1f2736;
  --muted: #657387;
  --shadow: 0 24px 60px rgba(9, 20, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Barlow", sans-serif;
}

.page-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 35px 0 92px;
}

.utility-bar {
  background: #141d34;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.utility-inner,
.utility-left,
.nav-inner,
.menu,
.hero-actions,
.about-grid,
.section-head,
.metric-grid,
.why-grid,
.testimonial-grid,
.team-grid,
.cta-inner,
.blog-grid,
.footer-grid,
.partners {
  display: flex;
}

.utility-inner {
  min-height: 44px;
  justify-content: space-between;
  align-items: center;
}

.utility-left {
  gap: 26px;
}

.nav-panel {
  background: transparent;
  position: relative;
  z-index: 20;
  backdrop-filter: none;
}

.nav-inner {
  min-height: 84px;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  max-width: min(100%, 540px);
}

.brand-logo {
  display: block;
  width: 520px;
  max-width: 100%;
  max-height: 92px;
  height: auto;
  padding: 10px 0;
  object-fit: contain;
  object-position: left center;
}

.footer-branding .brand-logo {
  width: 460px;
  max-height: 82px;
}

.menu {
  align-items: center;
  gap: 28px;
  color: var(--white);
  font-weight: 700;
}

.menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.menu-dropdown {
  position: relative;
}

.menu-dropdown-toggle {
  cursor: default;
}

.menu-dropdown-toggle::after {
  content: " ▾";
  font-size: 0.7em;
}

.menu-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  padding: 12px 0;
  background: rgba(26, 38, 68, 0.96);
  border-radius: 12px;
  box-shadow: var(--shadow);
  flex-direction: column;
  z-index: 100;
}

.menu-dropdown-panel::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 20px;
}

.menu-dropdown:hover .menu-dropdown-panel {
  display: flex;
}

.menu-dropdown-panel a {
  padding: 8px 20px;
  font-size: 0.9em;
  font-weight: 600;
  white-space: nowrap;
}

.menu-dropdown-panel a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cta,
.btn {
  border-radius: 999px;
  font-weight: 800;
}

.cta {
  min-width: 190px;
  padding: 12px 20px;
  background: var(--yellow);
  color: var(--navy);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background-image: url("../images/hero-reference-bg.jpg");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 128px 0 156px;
  min-height: 720px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 18, 39, 0.34) 0%, rgba(9, 18, 39, 0.3) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  width: 220px;
  height: 100%;
  background: rgba(243, 195, 56, 0.12);
  transform: skewX(-10deg) translateX(160px);
}

.hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 92px;
  background: transparent;
  z-index: 2;
  pointer-events: none;
}

.hero-curve svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-curve path {
  fill: var(--white);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 36px;
  align-items: center;
  min-height: 470px;
  z-index: 1;
}

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

.hero-figure-spacer {
  width: 100%;
  height: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.eyebrow.dark {
  color: #b18200;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  line-height: 0.98;
}

p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.hero-copy h1 {
  margin-top: 18px;
  max-width: 520px;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  text-transform: uppercase;
}

.hero-copy p {
  margin-top: 20px;
  max-width: 530px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Hero Inner — pages internes */
.hero-inner {
  min-height: 420px;
  padding: 100px 0 130px;
}

.hero-inner::after {
  display: none;
}

.hero-overlay-blue {
  background: linear-gradient(180deg, rgba(25, 50, 120, 0.72) 0%, rgba(20, 40, 95, 0.78) 100%);
}

.hero-inner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-inner-content h1 {
  padding-top: 100px;
  margin: 0 auto;
  width: 100%;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-transform: uppercase;
}

.hero-inner-content p {
  margin: 18px auto 0;
  width: 100%;
  max-width: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.btn-dark {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.quote-box {
  position: absolute;
  right: 0;
  top: -108px;
  width: 388px;
  display: grid;
  gap: 12px;
  padding: 28px 28px 30px;
  background: var(--white);
  border-radius: 8px 8px 18px 18px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--yellow);
  transform: none;
  z-index: 4;
}

.quote-box h3 {
  color: var(--navy);
  font-size: 1.9rem;
}

.quote-box input,
.quote-box textarea {
  width: 100%;
  border: 1px solid #dce2ea;
  border-radius: 12px;
  padding: 14px 15px;
  background: #fbfcfe;
  font: inherit;
}

.quote-box textarea {
  min-height: 104px;
  resize: vertical;
}

.quote-box button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #23345d;
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.about {
  background: var(--white);
  position: relative;
  overflow: visible;
}

.about-grid {
  gap: 36px;
  align-items: start;
  position: relative;
  padding-top: 0;
}

.about-copy {
  max-width: none;
}

.about-copy h2,
.section-head h2,
.why-copy h2,
.testimonial-copy h2,
.team-head h2,
.cta-inner h2 {
  margin-top: 16px;
  font-size: clamp(2.35rem, 4vw, 4.1rem);
}

.about-copy p,
.why-copy p {
  margin-top: 18px;
}

.accent-blue {
  color: #1f45c2;
}

.accent-base {
  color: inherit;
}

.accent-underlined {
  color: #d7a400;
  text-decoration-line: underline;
  text-decoration-color: #1f45c2;
  text-decoration-thickness: 8px;
  text-underline-offset: 5px;
}

.accent-underlined-light {
  color: #e5bf3c;
}

.accent-yellow {
  color: #d7a400;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.about-points article,
.service-card,
.blog-card {
  border-radius: 18px;
}

.about-points article {
  padding: 22px;
  background: #f5efe0;
}

.about-points strong {
  display: block;
  font-size: 1.22rem;
}

.about-points span {
  display: block;
  margin-top: 10px;
  color: #57636f;
}

.services {
  position: relative;
  color: var(--white);
}

.services-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(25, 38, 67, 0.94) 0%, rgba(25, 38, 67, 0.97) 100%),
    url("../images/hero-bg.jpg") center/cover no-repeat;
}

.services > .container {
  position: relative;
}

.section-head {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 34px;
}

.service-grid,
.team-grid,
.blog-grid {
  display: grid;
  gap: 22px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  min-height: 210px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(6px);
}

.service-card.accent {
  background: var(--yellow);
  color: var(--navy);
  border: 0;
}

.service-card h3,
.team-meta h3,
.blog-card h3 {
  font-size: 1.85rem;
}

.service-card p {
  margin-top: 12px;
  color: inherit;
  opacity: 0.84;
}

.service-card.visual {
  padding: 0;
  overflow: hidden;
  min-height: 250px;
}

.service-card.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services Split — image colonne gauche + texte 2/3 droite */
.services-split-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 400px;
}

.services-split-image {
}

.services-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-split-content {
  padding: 42px 40px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-split-content h2 {
  font-size: 1.85rem;
  margin-top: 10px;
}

.services-split-content p {
  margin-top: 12px;
  opacity: 0.84;
}

.services-split-grid-reversed {
  grid-template-columns: 2fr 1fr;
}

.services-split-grid-reversed .services-split-content {
  border-left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.link-arrow-light {
  color: var(--yellow);
}

.metrics {
  background: #273fc5;
  color: var(--white);
}

.metric-grid {
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.metric-grid article {
  display: grid;
  gap: 8px;
  text-align: center;
  flex: 1;
}

.metric-grid strong {
  font-size: 2.2rem;
  font-family: "Barlow Condensed", sans-serif;
}

.metric-grid span {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.8);
}

.why {
  background: var(--white);
}

.why-grid,
.testimonial-grid {
  gap: 34px;
  align-items: center;
}

.why-media,
.why-copy,
.testimonial-copy,
.testimonial-card {
  flex: 1;
}

.why-media img {
  border-radius: 18px;
  width: 100%;
  min-height: 400px;
  object-fit: cover;
}

.link-arrow {
  display: inline-flex;
  margin-top: 22px;
  color: #2940b8;
  font-weight: 800;
}

.testimonials {
  background: #f5f7fb;
}

.testimonial-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 28px;
  border-radius: 18px;
  background: #26395d;
  color: var(--white);
}

.testimonial-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

blockquote {
  margin: 0;
  line-height: 1.7;
  font-size: 1.04rem;
}

.testimonial-card p {
  margin-top: 8px;
  color: var(--yellow-soft);
}

.team {
  background: var(--white);
}

.team-head {
  margin-bottom: 28px;
}

.team-grid {
  grid-template-columns: repeat(3, 1fr);
}

.photo-featured-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.team-card {
  background: #f6f8fc;
  border-radius: 18px;
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.team-meta {
  padding: 20px 22px 24px;
}

.team-meta p {
  margin-top: 10px;
}

/* Article List Cards */
.janinas-article-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.janinas-article-card-link:hover img {
  transform: scale(1.04);
}

.janinas-article-card img {
  transition: transform 0.3s ease;
}

.janinas-article-card .team-meta .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--yellow);
  font-weight: 700;
  font-size: 14px;
  transition: gap 0.2s ease;
}

.janinas-article-card-link:hover .link-arrow {
  gap: 10px;
}

.janinas-article-card .team-meta .link-arrow::after {
  content: "\2192";
}

.janinas-pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.janinas-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f6f8fc;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.janinas-pagination-link:hover {
  background: var(--navy);
  color: var(--white);
}

.janinas-pagination-active {
  background: var(--navy);
  color: var(--yellow);
}

.janinas-articlelist-more {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 12px;
}

.cta-band {
  background: #223456;
  color: var(--white);
  padding: 72px 0;
}

.cta-inner {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.blog {
  background: var(--white);
}

.blog-grid {
  grid-template-columns: repeat(4, 1fr);
}

.blog-card {
  padding: 24px;
  background: #f7f8fb;
}

.blog-card p {
  margin-top: 12px;
}

.refs {
  background: #fff6dc;
}

.partners {
  gap: 18px;
  margin-top: 22px;
  align-items: center;
}

.partners img {
  max-width: 78px;
  max-height: 42px;
  object-fit: contain;
}

.footer {
  background: #141d34;
  color: var(--white);
  padding: 52px 0;
}

.footer-grid {
  justify-content: space-between;
  gap: 28px;
}

.footer-grid > div {
  display: grid;
  gap: 10px;
  max-width: 330px;
}

.footer h4 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  margin: 0;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-bottom {
  background: #0e1525;
  padding: 18px 0;
  margin-top: 40px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--yellow);
}

@media (max-width: 1100px) {
  .quote-box {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
    margin: 32px auto 0;
    transform: none;
  }

  .hero {
    padding-bottom: 84px;
    background-size: cover;
    min-height: auto;
  }

  .service-grid,
  .team-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 920px) {
  .brand {
    max-width: calc(100% - 72px);
  }

  .brand-logo {
    width: 420px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-weight: 800;
  }

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: rgba(26, 38, 68, 0.94);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .menu-dropdown-panel {
    position: static;
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: none;
    min-width: 0;
    padding: 4px 0;
    margin-top: 4px;
  }

  .menu-dropdown:hover .menu-dropdown-panel,
  .menu-dropdown.open .menu-dropdown-panel {
    display: flex;
  }

  .hero-grid,
  .why-grid,
  .testimonial-grid,
  .cta-inner,
  .footer-grid {
    flex-direction: column;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 24px;
    min-height: auto;
  }


  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .metric-grid {
    flex-wrap: wrap;
  }

  .metric-grid article {
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 680px) {
  .brand {
    max-width: calc(100% - 88px);
  }

  .brand-logo {
    width: 300px;
    max-height: 64px;
  }

  .section {
    padding: 72px 0;
  }

  .utility-inner,
  .utility-left {
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    text-align: center;
    padding: 8px 0;
  }

  .about-points,
  .service-grid,
  .team-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .services-split-grid {
    grid-template-columns: 1fr;
  }

  .services-split-image {
    min-height: 250px;
  }

  .services-split-content {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .page-header {
    position: relative;
  }

  .nav-panel {
    background: #141d34;
  }

  .hero {
    padding-top: 0;
    background-size: cover;
    padding-bottom: 70px;
  }

  .hero-inner-content h1 {
    padding-top: 20px;
  }

  .quote-box,
  .quote-box {
    padding: 20px;
    border-top-width: 4px;
    width: 100%;
  }
}
