:root {
  --ink: #1a2d3d;
  --ink-muted: #5a6a78;
  --paper: #f7f8fa;
  --paper-2: #ffffff;
  --line: #e2e8ee;
  --accent: #066aab;
  --accent-hover: #055a94;
  --accent-soft: #e8f4fc;
  --hero: #4ea9ed;
  --hero-ink: #ffffff;
  --max: 72rem;
  --radius: 12px;
  --font: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper-2) 96%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
}

.brand span {
  font-weight: 400;
}

.brand b {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font: inherit;
}

.nav-list {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--accent);
}

.nav-contact {
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: 999px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 55%, transparent);
}

.nav-contact:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--accent-hover);
}

.hero {
  background: var(--hero);
  color: var(--hero-ink);
  padding: 2.75rem 0 2.25rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.75rem;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-photo {
  margin: 0;
  flex-shrink: 0;
}

.hero-photo img {
  width: 9rem;
  height: 9rem;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.55);
}

.hero-actions {
  margin: 1.5rem 0 0;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.65rem;
  max-width: 18ch;
}

.hero-content > p:not(.hero-kicker) {
  margin: 0;
  max-width: none;
  font-size: clamp(0.98rem, 1.05vw, 1.05rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.section {
  padding: 4rem 0;
}

#contenu > .section {
  background: var(--paper-2);
}

#contenu > .section:nth-child(even) {
  background: var(--paper);
}

#contenu > .section#plus {
  background: var(--paper-2);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--ink);
  padding-bottom: 0;
  border-bottom: none;
}

.lead {
  color: var(--ink-muted);
  max-width: 48rem;
}

#services .lead {
  max-width: none;
  width: 100%;
  font-size: clamp(1rem, 1.05vw, 1.05rem);
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

.about-grid p {
  margin: 0 0 1rem;
}

.about-hook {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.15vw, 1.22rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  width: 100%;
  max-width: none;
  margin: 0 0 1.75rem !important;
  padding: 1rem 1.15rem 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: var(--paper);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: inset 0 0 0 1px var(--line);
}

.cards-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: #c8d2dc;
  box-shadow: 0 2px 8px rgba(26, 45, 61, 0.06);
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.card h4 {
  margin: 1.1rem 0 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.work-list {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}

.work {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.work:hover {
  border-color: #c8d2dc;
  box-shadow: 0 2px 8px rgba(26, 45, 61, 0.06);
}

.work-body {
  order: 1;
  padding: 1rem 1rem 0.75rem;
  flex: 1;
}

.work img {
  order: 2;
  width: 100%;
  max-height: 11rem;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin-top: auto;
  padding: 0.75rem;
  background: var(--paper);
}

.work-body p:not(.work-meta):not(.work-links) {
  font-size: 0.95rem;
  line-height: 1.55;
}

.work-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.work-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 0.6rem;
}

.work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
}

.work-list:not(.is-expanded) .work--more {
  display: none;
}

.work-list-actions {
  margin-top: 1.5rem;
  text-align: center;
}

.work-list-toggle {
  cursor: pointer;
  font-family: inherit;
}

.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.logos figure {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  min-height: 5.5rem;
  display: grid;
  place-items: center;
}

.logos img {
  max-height: 2.8rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

blockquote {
  margin: 0;
}

blockquote p {
  margin: 0 0 1rem;
}

.quote-meta {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.quote-meta strong {
  display: block;
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-hero {
  background: #fff;
  color: var(--accent);
}

.btn-hero:hover {
  background: var(--paper);
  color: var(--accent-hover);
}

.btn-ghost {
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--paper);
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
  background: var(--paper-2);
}

@media (max-width: 900px) {
  .cards-3,
  .quotes,
  .work-list {
    grid-template-columns: 1fr;
  }

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

  .hero h1 {
    margin-inline: auto;
  }

  .hero p {
    margin-inline: auto;
  }

  .hero-photo {
    order: -1;
    justify-self: center;
  }

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

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    right: 1rem;
    top: 4.1rem;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: none;
  }

  .nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.65rem;
  }

  .logos {
    grid-template-columns: 1fr 1fr;
  }
}
