/* Daufin public pages: home and the three service pages.
   French column on the left, English on the right; stacked French-first on
   narrow screens. No web fonts, no third-party assets. */

:root {
  --navy: #1f3a5f; --blue: #2f6fb0; --teal: #2a8d81;
  --muted: #5b6b82; --line: rgba(31, 58, 95, .12);
  --bg: #f6f9fc; --card: #ffffff;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55; -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--blue); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.topbar { border-bottom: 1px solid var(--line); background: #fff; }
.topbar .wrap { display: flex; align-items: center; min-height: 64px; gap: 16px; }
.brand { margin-right: auto; font-weight: 700; font-size: 18px; color: var(--navy); text-decoration: none; letter-spacing: -.2px; }
.enter { font-size: 14px; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; background: #fff; }
.enter:hover { color: var(--navy); border-color: var(--blue); }

main { flex: 1; }

/* Two languages side by side */
.bi { display: grid; grid-template-columns: 1fr 1fr; }
.bi > .col { padding: 0 40px; }
.bi > .col:first-child { padding-left: 0; border-right: 1px solid var(--line); }
.bi > .col:last-child { padding-right: 0; }
.lang { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 1px; color: var(--muted); margin-bottom: 10px; }

/* Home */
.home { padding: 72px 0 64px; }
.home h1, .home .h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.18; letter-spacing: -.5px; margin: 0 0 36px; font-weight: 750; }
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.services a {
  display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--navy);
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
  font-size: 18px; font-weight: 600; transition: border-color .12s ease, transform .12s ease;
}
.services a:hover { border-color: var(--blue); transform: translateY(-1px); }
.services .n {
  flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(47, 111, 176, .10); color: var(--blue); font-size: 15px; font-weight: 700;
}
.services .go { margin-left: auto; color: var(--blue); font-size: 20px; }

/* Service pages */
.service { padding: 44px 0 56px; }
.service h1, .service .h1 { font-weight: 700; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.4px; }
.service p { margin: 0 0 12px; font-size: 16.5px; }
.service .how { font-weight: 600; }
.service .how span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--teal); margin-bottom: 2px; }
.service .note { color: var(--muted); font-size: 15px; }

.shot { margin: 36px 0 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(31, 58, 95, .10); background: #fff; }
.shot figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.shot figcaption span + span::before { content: " \00b7  "; }

.others { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; }
.others a { text-decoration: none; font-weight: 600; }
.others a:hover { text-decoration: underline; }

/* Training layout example: a two-page spread drawn in HTML */
.spread { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(31, 58, 95, .10); overflow: hidden; }
.spread .page { padding: 28px 30px 22px; position: relative; min-height: 360px; }
.spread .page + .page { border-left: 1px dashed var(--line); }
.spread .head { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 26px; }
.spread .mark { width: 30px; height: 30px; border-radius: 50%; background: #e8f3f1; color: var(--teal); font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.spread .ch { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); }
.spread h3 { font-size: 22px; margin: 4px 0 16px; line-height: 1.25; }
.spread ol { margin: 0 0 18px; padding: 0; list-style: none; }
.spread li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spread li b { color: var(--blue); margin-right: 8px; font-weight: 700; }
.spread .keep { background: #f2f8f7; border-left: 3px solid var(--teal); padding: 10px 14px; font-size: 14.5px; border-radius: 0 8px 8px 0; }
.spread .pg { position: absolute; bottom: 12px; right: 18px; font-size: 12px; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 22px 0 28px; font-size: 13.5px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--navy); text-decoration: underline; }

@media (max-width: 760px) {
  .bi, .spread { grid-template-columns: 1fr; }
  .bi > .col { padding: 0; border-right: 0 !important; }
  .bi > .col + .col { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
  .spread .page + .page { border-left: 0; border-top: 1px dashed var(--line); }
  .home { padding: 40px 0 44px; }
  .home h1, .home .h1 { margin-bottom: 24px; }
  .service { padding: 32px 0 44px; }
}
