:root {
  --blue: #1b458f;
  --blue-dark: #123267;
  --blue-soft: #eef3fb;
  --ink: #172033;
  --muted: #5f6877;
  --line: #dce2ea;
  --surface: #f7f9fc;
  --white: #ffffff;
  --max-width: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--blue-dark);
}

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 7vw, 5.75rem);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.container {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 0.75rem;
  left: -100rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--blue-dark);
  font-weight: 700;
}

.skip-link:focus {
  left: 0.75rem;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.navigation {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-name {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.text-link {
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  display: grid;
  min-height: 690px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, var(--white) 0%, var(--white) 58%, var(--surface) 58%, var(--surface) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding-block: 6rem;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 span:last-child {
  color: var(--blue);
}

.eyebrow,
.section-label {
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 33rem;
  margin-bottom: 2.25rem;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
}

.hero-logo {
  display: flex;
  min-height: 390px;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.hero-logo img {
  width: min(100%, 510px);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--blue);
  border-radius: 3px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  border-color: var(--blue-dark);
  color: var(--white);
  background: var(--blue-dark);
}

.section {
  padding-block: clamp(5rem, 9vw, 8rem);
}

.section-tint {
  background: var(--blue-soft);
}

.prose-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.large-copy {
  max-width: 50rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.65;
}

.statement {
  max-width: 960px;
}

.statement h2 {
  margin-bottom: 0;
}

.section-heading {
  max-width: 750px;
  margin-bottom: 3rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  min-height: 285px;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.contact-card,
.policy-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 2rem;
  border-left: 4px solid var(--blue);
  font-style: normal;
}

.contact-card strong,
.policy-contact strong {
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.contact-card a,
.policy-contact a {
  width: fit-content;
  margin-top: 0.4rem;
  font-weight: 700;
}

.site-footer {
  padding-top: 3rem;
  color: #cbd4e5;
  background: #101a2e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.4fr;
  gap: 2rem;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 0.45rem 0 0;
}

.site-footer nav,
.privacy-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.site-footer a {
  color: var(--white);
}

.site-footer nav span {
  color: #9eabba;
}

.privacy-contact span {
  max-width: 25rem;
  font-size: 0.88rem;
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-block: 1rem;
  border-top: 1px solid #2b364b;
  font-size: 0.85rem;
}

/* Politique de confidentialité */

.policy-main {
  min-height: 70vh;
}

.policy-hero {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.policy-heading {
  max-width: 960px;
}

.policy-heading h1 {
  max-width: 900px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.55rem, 6vw, 4.8rem);
}

.policy-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 0.94fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.policy-summary {
  position: sticky;
  top: 2rem;
  padding: 2rem;
  border-top: 4px solid var(--blue);
  background: var(--blue-soft);
}

.policy-summary h2 {
  font-size: 1.65rem;
}

.policy-summary p {
  color: #3e4b5d;
  font-size: 0.94rem;
}

.policy-summary p:last-child {
  margin-bottom: 0;
}

.summary-note {
  padding-top: 1rem;
  border-top: 1px solid #ccd8ea;
}

.policy-content {
  max-width: 760px;
}

.policy-content section {
  padding-bottom: 3.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}

.policy-content section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.policy-content h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.policy-content h3 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.policy-content p,
.policy-content li {
  color: #3f4856;
}

.policy-content ul {
  padding-left: 1.25rem;
  margin-block: 1.25rem 1.5rem;
}

.policy-content li + li {
  margin-top: 0.55rem;
}

.no-wrap {
  white-space: nowrap;
}

.policy-contact {
  margin-top: 1.5rem;
}

.version-table {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.version-row {
  display: grid;
  grid-template-columns: 90px 160px minmax(0, 1fr);
}

.version-row span {
  padding: 0.8rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.version-header {
  color: var(--ink);
  background: var(--surface);
  font-weight: 750;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    background: var(--white);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 4.5rem;
  }

  .hero-logo {
    min-height: auto;
    padding: 3rem;
    background: var(--surface);
  }

  .prose-grid,
  .contact-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 230px;
  }

  .policy-summary {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .privacy-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .navigation {
    min-height: 68px;
  }

  .site-name {
    font-size: 0.98rem;
  }

  .hero-grid {
    padding-block: 3.5rem;
  }

  .hero-logo {
    padding: 1.75rem;
  }

  .section {
    padding-block: 4.25rem;
  }

  .card {
    min-height: auto;
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .privacy-contact {
    grid-column: auto;
  }

  .version-row {
    grid-template-columns: 70px 1fr;
  }

  .version-row span:last-child {
    grid-column: 1 / -1;
  }
}

@media print {
  .site-header,
  .site-footer,
  .policy-summary,
  .skip-link {
    display: none;
  }

  body {
    color: #000;
    font-size: 11pt;
  }

  .policy-hero,
  .policy-layout {
    padding-block: 1rem;
    background: #fff;
  }

  .policy-layout {
    display: block;
  }

  .policy-content {
    max-width: none;
  }

  a {
    color: #000;
  }
}
