/* Blue Dot — identité reprise de l’archive, layout modernisé */
:root {
  --navy: #002b53;
  --navy-deep: #001a33;
  --cyan: #00b3db;
  --cyan-mid: #018bbd;
  --cyan-soft: #55c3dc;
  --green: #9cbc55;
  --green-soft: #adce66;
  --mist: #e9f2f9;
  --ink: #22313f;
  --muted: #555f6a;
  --white: #ffffff;
  --max: 1100px;
  --header-h: 4.25rem;
  --font-display: "Philosopher", Georgia, serif;
  --font-ui: "Khand", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--cyan-mid);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1em;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(0, 43, 83, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 2.4rem;
  width: auto;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--cyan-soft);
}

.site-nav a[aria-current="page"] {
  color: var(--cyan);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.35rem;
  border-radius: 2px;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--cyan);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--cyan-mid);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}

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

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background:
    linear-gradient(
      160deg,
      rgba(0, 26, 51, 0.72) 0%,
      rgba(0, 43, 83, 0.55) 45%,
      rgba(1, 139, 189, 0.45) 100%
    ),
    url("../images/foret.png") center / cover no-repeat;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 10vh, 6rem) 0 clamp(3.5rem, 9vh, 5.5rem);
  max-width: 38rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.35em;
  color: var(--white);
  line-height: 1;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.55em;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 32rem;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--mist {
  background: var(--mist);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section__intro {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section__intro p {
  color: var(--muted);
  font-size: 1.15rem;
}

.section--navy .section__intro p {
  color: rgba(255, 255, 255, 0.85);
}

.eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-mid);
  margin-bottom: 0.5rem;
}

.section--navy .eyebrow {
  color: var(--cyan-soft);
}

/* Questions grid */
.questions {
  display: grid;
  gap: 2rem 1.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .questions {
    grid-template-columns: 1fr 1fr;
  }
}

.question {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.question__num {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-mid);
  margin-bottom: 0.25rem;
}

.question img {
  width: 5.5rem;
  height: auto;
}

.question h3 {
  margin-bottom: 0.35em;
}

.question p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Solutions */
.solutions {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .solutions {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.solution h3 {
  margin-bottom: 0.45em;
}

.solution p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.solution__index {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: 0.4rem;
}

/* Testimonial */
.testimonial {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--navy);
}

.testimonial cite {
  display: block;
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Community */
.community {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .community {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

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

.community__map {
  border-radius: 2px;
  overflow: hidden;
}

.clients {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 43, 83, 0.1);
}

.clients h3 {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.clients__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.75rem 2.25rem;
}

.clients__logos img {
  height: 2.4rem;
  width: auto;
  max-width: 8rem;
  object-fit: contain;
  opacity: 0.85;
  filter: grayscale(0.15);
  transition: opacity 0.2s, filter 0.2s;
}

.clients__logos img:hover {
  opacity: 1;
  filter: none;
}

/* Legal page */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--cyan-mid) 100%);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.page-hero h1 {
  color: var(--white);
  margin: 0;
  max-width: 18ch;
}

.legal {
  padding: clamp(2.5rem, 6vw, 4rem) 0 4rem;
}

.legal article {
  max-width: 42rem;
}

.legal h2 {
  margin-top: 2.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 43, 83, 0.1);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.legal h2:first-of-type {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.legal h3 {
  margin-top: 1.25rem;
  font-size: 1.15rem;
}

.legal ul {
  padding-left: 1.25rem;
  margin: 0 0 1em;
}

.legal li {
  margin-bottom: 0.4em;
  color: var(--ink);
}

.legal .meta {
  color: var(--muted);
  font-size: 1rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.75rem 0 2rem;
  font-size: 1rem;
}

.site-footer a {
  color: var(--cyan-soft);
}

.site-footer a:hover {
  color: var(--white);
}

.footer__grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 700px) {
  .footer__grid {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

.footer__logo img {
  height: 2rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer__copy {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* Mobile nav */
@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .question {
    grid-template-columns: 4.25rem 1fr;
  }

  .question img {
    width: 4.25rem;
  }
}
