/* Kablon — site styles
   Brand colours from the brief. Contrast checked:
   - navy #03294B on white: 14.4:1 (body text, headings)
   - navy on orange #FC5A01: 4.6:1 (buttons) — white on orange is only 3.2:1, so buttons use navy text
   - orange on white: 3.2:1 — used for decoration and large display only, never body text
   Fonts are TO CONFIRM: a system sans-serif stack is used until they are chosen. */

:root {
  --navy: #03294B;
  --navy-2: #0B3A63;
  --orange: #FC5A01;
  --white: #FFFFFF;
  --ink: #03294B;
  --muted: #45607A;
  --line: #D9E1E8;
  --tint: #F3F6F9;
  --radius: 10px;
  --maxw: 1120px;
  --font-head: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.125rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 6px; font-weight: 600; }
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav .btn { margin-left: 8px; }
@media (max-width: 720px) {
  .site-header { position: static; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding-top: 12px; padding-bottom: 8px; }
  .nav { margin-left: -12px; }
  .nav .btn { display: none; }
}

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 12px 20px; border-radius: 8px; border: 2px solid transparent;
  background: var(--orange); color: var(--navy); line-height: 1.2;
}
.btn:hover { background: #E45100; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Hero */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { padding-top: 72px; padding-bottom: 80px; position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero p.lead { font-size: 1.2rem; max-width: 52ch; color: #D6E2EE; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
/* cable lines motif (decorative) */
.hero::after {
  content: ""; position: absolute; right: -80px; top: 0; bottom: 0; width: 46%;
  background:
    repeating-linear-gradient(135deg, transparent 0 34px, rgba(252,90,1,.55) 34px 40px, transparent 40px 74px, rgba(255,255,255,.12) 74px 80px);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
@media (max-width: 720px) { .hero::after { width: 70%; opacity: .45; } .hero .wrap { padding-top: 48px; padding-bottom: 56px; } }

.page-head { background: var(--navy); color: var(--white); }
.page-head .wrap { padding-top: 48px; padding-bottom: 48px; }
.page-head h1 { color: var(--white); margin-bottom: .3em; }
.page-head p { color: #D6E2EE; max-width: 60ch; margin: 0; font-size: 1.15rem; }

/* Sections */
section.block { padding: 64px 0; }
section.tint { background: var(--tint); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); border-left: 4px solid var(--orange); padding-left: 10px; margin-bottom: 12px; }
.intro { max-width: 62ch; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--orange); display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; }
.icon { width: 40px; height: 40px; margin-bottom: 16px; color: var(--navy); }

.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
@media (max-width: 720px) { .checks { grid-template-columns: 1fr; } }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 4px; background: var(--orange); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }

.service { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service:last-child { border-bottom: 0; }
@media (max-width: 820px) { .service { grid-template-columns: 1fr; gap: 12px; } }
.service .num { font-family: var(--font-head); font-weight: 800; color: var(--orange); font-size: 2.5rem; line-height: 1; margin-bottom: 8px; }

.steps { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: step; display: grid; gap: 16px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; color: var(--muted); }

.cta-band { background: var(--navy); color: var(--white); }
.cta-band .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0; }
.cta-band p { margin: .4em 0 0; color: #D6E2EE; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.details { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.details strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #B8C6D3; border-radius: 8px; padding: 11px 12px;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(252,90,1,.35); border-color: var(--orange); }
.field { margin-bottom: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.consent input { width: auto; margin-top: 5px; }
.form-card { background: var(--tint); border-radius: var(--radius); padding: 28px; }

/* TO CONFIRM placeholders — visible on purpose. Search the code for "tbc" to find every one. */
.tbc {
  display: inline-block; background: #FFF1E8; color: #7A2C00; border: 1.5px dashed #FC5A01;
  border-radius: 6px; padding: 1px 8px; font-size: .9em; font-weight: 600;
}
.tbc::before { content: "TO CONFIRM: "; font-weight: 800; }
div.tbc, p.tbc { display: block; padding: 12px 14px; }
.hero .tbc, .page-head .tbc, .cta-band .tbc, .site-footer .tbc { background: rgba(252,90,1,.15); color: #FFE2D1; }

/* Footer */
.site-footer { background: #021E37; color: #C9D6E2; font-size: .95rem; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 32px; }
.site-footer a { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1rem; color: var(--white); text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 18px; font-size: .875rem; }
.legal p { margin: 0 0 .3em; }

/* Secondary line of work under the main service cards */
.also { margin-top: 20px; display: flex; gap: 16px 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px dashed #B8C6D3; border-radius: var(--radius); padding: 20px 28px; }
.also h3 { margin-bottom: .2em; }
.also p { margin: 0; color: var(--muted); }
.also .more { font-weight: 700; }

/* Contact form: honeypot (hidden from people), status message */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.form-status.ok { background: #E7F7EC; color: #0E5A2A; border: 1px solid #9ED9B2; }
.form-status.error { background: #FDECEC; color: #8A1C1C; border: 1px solid #F0B4B4; }
.cf-turnstile { min-height: 65px; }

/* Long-form text (privacy notice) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

/* EN / FR language switch */
.nav .lang-switch { font-size: .85rem; font-weight: 800; letter-spacing: .06em; border: 1.5px solid var(--line); border-radius: 6px; padding: 5px 9px; margin-left: 4px; }
.nav .lang-switch:hover { border-color: var(--navy); background: transparent; }
:lang(fr) .tbc::before { content: "À CONFIRMER : "; }
/* Keep the header on one line: drop the header button where the menu would wrap (hero/CTA bands still have it) */
.nav { flex-wrap: nowrap; }
@media (max-width: 1000px) { .nav .btn { display: none; } }
@media (max-width: 720px) { .nav { flex-wrap: wrap; } }
/* Service detail lists */
.svc-list { margin-top: 4px; }
