:root {
  --blue: #005eb8;
  --blue-soft: #0072b1;
  --ink: #243142;
  --muted: #5d6b7c;
  --line: #dde4ec;
  --surface: #f5f7fa;
  --white: #ffffff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  margin: 0;
  padding: 16px 24px 16px 32px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--blue);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: min(290px, 54vw);
  height: auto;
  display: block;
}

.brand-subtitle {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.84rem, 1.35vw, 1rem);
  font-style: italic;
  color: var(--blue);
  line-height: 1.2;
  padding-left: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.96rem;
  padding: 8px 12px;
  border-radius: 4px;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: var(--surface);
  color: var(--blue);
  text-decoration: none;
}

.hero {
  background:
    linear-gradient(90deg, rgba(0, 62, 122, 0.9), rgba(0, 94, 184, 0.74), rgba(0, 94, 184, 0.36)),
    url("assets/visual-donnees.jpg") right center / cover no-repeat;
  color: var(--white);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
  font-size: 1.32rem;
}

.hero-text {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  text-decoration: none;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.hero .button.primary {
  background: var(--white);
  color: var(--blue);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--white);
  background: transparent;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.text-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  color: var(--muted);
  font-size: 1.05rem;
}

.services {
  max-width: none;
  background: var(--surface);
}

.services > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 220px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 6px;
}

.service-card p {
  color: var(--muted);
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 48px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.trust-band p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-visual,
.wide-visual {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.section-visual {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.image-feature {
  padding-top: 0;
  padding-bottom: 32px;
}

.wide-visual {
  max-height: 360px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contact-visual {
  display: block;
  width: 100%;
  max-width: 520px;
  margin-top: 26px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.form-row {
  display: grid;
  gap: 6px;
}

label {
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c7d0dc;
  border-radius: 4px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(0, 94, 184, 0.18);
  border-color: var(--blue);
}

.form-button {
  justify-self: start;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 56px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 0;
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
}

.page-hero p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.legal-section {
  padding-top: 48px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.legal-block {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.legal-block p {
  margin: 8px 0;
  color: var(--muted);
}

.legal-notes {
  max-width: 820px;
  margin-top: 32px;
  color: var(--muted);
}

.legal-notes h3 {
  margin-top: 24px;
  color: var(--ink);
}

@media (max-width: 860px) {
  .site-header,
  .text-columns,
  .trust-band,
  .contact-section,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
    align-items: start;
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

}

@media (max-width: 560px) {
  .site-header,
  .section,
  .page-hero,
  .hero-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .contact-form {
    padding: 20px;
  }

  .button {
    width: 100%;
  }
}
