:root {
  --ink: #163a5c;
  --brand: #3d8fc4;
  --brand-deep: #2a6fa0;
  --mist: #f2f7fb;
  --line: rgba(22, 58, 92, 0.14);
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-display: "Syne", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.55;
}

img, svg { display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: #fff;
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  border-radius: 0.4rem;
  z-index: 20;
}

.skip:focus { top: 0.5rem; }

.maquette {
  margin: 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  padding: 0.45rem 1rem;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.logo img {
  height: 5.25rem;
  width: auto;
  flex: 0 0 auto;
  display: block;
  border-radius: 0.45rem;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
}

.nav a:hover { background: rgba(61, 143, 196, 0.1); }

.nav a[aria-current="page"] {
  background: rgba(61, 143, 196, 0.14);
  color: var(--brand-deep);
}

.nav-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-btn svg { width: 1.35rem; height: 1.35rem; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero { padding: 2.4rem 0 1.5rem; }

.hero-brand {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero-logo {
  width: 200px;
  max-width: 42vw;
  height: auto;
  border-radius: 1rem;
}

.hero-page { padding: 3.2rem 0 0.5rem; }

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 4.6vw, 3.45rem);
  max-width: 16ch;
}

.lead {
  max-width: 38rem;
  font-size: 1.12rem;
  color: rgba(22, 58, 92, 0.78);
}

.section { padding: 2.2rem 0 3.2rem; }

.section h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  box-shadow: 0 1px 2px rgba(22, 58, 92, 0.05);
  padding: 1.4rem 1.35rem 1.3rem;
}

.card h3 {
  margin: 0.85rem 0 0.45rem;
  font-size: 1.25rem;
}

.card p { color: rgba(22, 58, 92, 0.8); }

.card p + p { margin-top: 0.7rem; }

.icon-badge {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.7rem;
  background: rgba(61, 143, 196, 0.12);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
}

.icon-badge svg { width: 1.35rem; height: 1.35rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}

.text-link svg { width: 1rem; height: 1rem; }

.text-link:hover { color: var(--brand); }

.step-no {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.band {
  background: var(--ink);
  color: #fff;
  padding: 2.6rem 0;
}

.band h2 { margin: 0 0 0.45rem; font-size: 1.7rem; }

.band p { color: rgba(255, 255, 255, 0.82); max-width: 36rem; }

.band .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: 0.55rem;
  padding: 0.7rem 1.05rem;
  cursor: pointer;
}

.btn:hover { background: var(--brand-deep); }

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover { background: var(--mist); }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(22, 58, 92, 0.15);
}

.btn-secondary:hover { background: var(--mist); }

.module {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1rem;
  align-items: start;
  scroll-margin-top: 5.5rem;
}

.module + .module { margin-top: 0.85rem; }

.module-no {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.module h3 { margin: 0.15rem 0 0.3rem; font-size: 1.15rem; }

.note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border-left: 3px solid var(--brand);
  border-radius: 0.4rem;
  color: rgba(22, 58, 92, 0.82);
}

.form {
  display: grid;
  gap: 0.95rem;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(22, 58, 92, 0.18);
  border-radius: 0.55rem;
  padding: 0.65rem 0.75rem;
}

textarea { min-height: 9rem; resize: vertical; }

.status {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.55rem;
  background: rgba(61, 143, 196, 0.12);
  color: var(--brand-deep);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 1.4rem 0 1.8rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  color: rgba(22, 58, 92, 0.7);
  font-size: 0.92rem;
}

.site-footer nav { display: flex; gap: 0.9rem; }

.site-footer a { text-decoration: none; font-weight: 600; }

.site-footer a:hover { color: var(--brand-deep); }

.hero-band {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #163a5c center 42% / cover no-repeat;
  margin: 0;
}

.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 58, 92, 0.15) 0%, rgba(22, 58, 92, 0.82) 100%);
}

.hero-band .wrap {
  position: relative;
  z-index: 1;
  padding-top: 4.5rem;
  padding-bottom: 2.4rem;
}

.hero-band .eyebrow { color: #fff; }

.hero-band h1,
.hero-band .lead { color: #fff; }

.hero-band .lead { color: rgba(255, 255, 255, 0.9); }

.card-photo { padding: 0; overflow: hidden; }

.card-photo img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  object-position: center 55%;
}

.card-body { padding: 1.15rem 1.25rem 1.3rem; }

.card-body h3 { margin-top: 0; }

.card-emphasis {
  border-color: rgba(61, 143, 196, 0.55);
  box-shadow: 0 8px 24px rgba(22, 58, 92, 0.08);
}

#hebergement { scroll-margin-top: 5.5rem; }

.points {
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
  color: rgba(22, 58, 92, 0.82);
}

.points li + li { margin-top: 0.35rem; }

.logo-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.logo-strip a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1rem 0.6rem 0.9rem;
  font-weight: 700;
  text-align: center;
}

.logo-strip a:hover { border-color: rgba(61, 143, 196, 0.45); }

.logo-strip img {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 1rem;
  object-fit: cover;
}

.brand-logo {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1rem;
  object-fit: cover;
}

@media (min-width: 800px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .logo-strip { grid-template-columns: repeat(4, 1fr); }
  .hero-brand { grid-template-columns: 240px 1fr; }
}

@media (max-width: 760px) {
  .nav-btn { display: grid; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 0.8rem 0.8rem;
  }

  .nav-check:checked ~ .nav { display: flex; }

  .nav a { padding: 0.7rem 0.6rem; }
}
