@font-face { font-family: "Archivo Black"; src: url("/fonts/archivo-black.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root {
  --bg: #ffffff;
  --bg-alt: #f3f6f7;
  --text: #13232a;
  --muted: #52646b;
  --brand: #164755;
  --brand-ink: #ffffff;
  --accent: #f2a33a;
  --accent-text: #a8620c;
  --card: #ffffff;
  --border: #dde5e8;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1a1f;
    --bg-alt: #122329;
    --text: #e6eef1;
    --muted: #9db0b8;
    --accent-text: #f2a33a;
    --card: #17303a;
    --border: #24414b;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--brand); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-family: "Archivo Black", system-ui, sans-serif; font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.1rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
section { padding: 64px 0; }
.alt { background: var(--bg-alt); }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 8px; }
.intro { max-width: 640px; margin-bottom: 32px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; background: var(--brand); color: var(--brand-ink); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand img { height: 44px; width: auto; display: block; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--brand-ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 12px; border-radius: 999px; }
.nav a:hover, .nav a:focus-visible { background: rgba(255, 255, 255, .14); }
@media (max-width: 640px) { .nav a:not(.nav-cta) { display: none; } }
.nav-cta { background: var(--accent); color: #13232a !important; }

/* Bandeau d'accueil */
.hero { background: var(--brand); color: var(--brand-ink); padding: 56px 0 72px; }
.hero h1 { font-family: "Archivo Black", system-ui, sans-serif; font-weight: 400; font-size: clamp(2.1rem, 6.5vw, 3.6rem); max-width: 19ch; }
.hero h1 span { color: var(--accent); }
.hero .lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); max-width: 620px; opacity: .92; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-accent { background: var(--accent); color: #13232a; }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: var(--brand-ink); }
.btn:hover { filter: brightness(1.06); }
.badges { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 36px; padding: 0; list-style: none; font-size: .95rem; opacity: .9; }
.badges li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Cartes */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0 0 .6em; }
.card ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .ico { background: #0d1a1f; } }
.ico svg { width: 24px; height: 24px; }

/* Réalisations */
.work { display: flex; flex-direction: column; }
.work .tag { align-self: flex-start; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); margin-bottom: 10px; }
.work a.more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--accent-text); text-decoration: none; }
.work a.more:hover { text-decoration: underline; }

/* Méthode */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: s; position: relative; padding: 20px 20px 20px 72px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #13232a; font-family: "Archivo Black", sans-serif; display: grid; place-items: center; }
.steps strong, .steps span { display: block; }

/* Contact */
.contact-box { background: var(--brand); color: var(--brand-ink); border-radius: 20px; padding: 36px 28px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: center; }
.contact-box h2 { margin-bottom: .3em; }
.contact-box p { margin: 0; opacity: .9; }
.contacts { display: grid; gap: 12px; }
.contact { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .1); text-decoration: none; color: var(--brand-ink); }
.contact:hover { background: rgba(255, 255, 255, .18); }
.contact svg { flex: none; color: var(--accent); }
.contact small { display: block; opacity: .8; }

/* Pied de page */
.foot { background: var(--brand); color: var(--brand-ink); padding: 24px 0; font-size: .875rem; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; opacity: .88; }
.foot a { color: inherit; }

/* Pages de texte */
.page { padding: 48px 0 64px; }
.page h1 { font-family: "Archivo Black", system-ui, sans-serif; font-weight: 400; font-size: clamp(1.8rem, 5vw, 2.4rem); }
.page h2 { font-family: inherit; font-weight: 700; font-size: 1.25rem; margin-top: 1.6em; }
.page .wrap { max-width: 760px; }
