/* BearKiln — feuille de style commune aux pages EN et FR.
   Extraite telle quelle de la maquette (~/VisualIdentity/site), où elle était
   recopiée dans chaque page. */

:root {
  --clay: #D2552C;
  --clay-deep: #A8401F;
  --flame: #FFB547;
  --cream: #FAF7F4;
  --sand: #F1EAE3;
  --ink: #1C1A19;
  --ink-soft: #5E5752;
  --line: #E4DAD1;
  --bg: var(--cream);
  --surface: #FFFFFF;
  --text: var(--ink);
  --muted: var(--ink-soft);
  --font: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161413; --surface: #1F1C1A; --sand: #24201D;
    --text: #F3EEE9; --muted: #A9A099; --line: #36302B; --cream: #161413;
  }
}
:root[data-theme="dark"] {
  --bg: #161413; --surface: #1F1C1A; --sand: #24201D;
  --text: #F3EEE9; --muted: #A9A099; --line: #36302B; --cream: #161413;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2.6px; text-transform: uppercase; color: var(--clay); margin: 0 0 14px; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
section { padding: 96px 0; }
.lead { color: var(--muted); font-size: 19px; max-width: 46ch; margin-top: 18px; }

/* header */
header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 34px; height: 36px; }
.brand span { font-size: 24px; font-weight: 600; letter-spacing: -0.8px; }
.brand i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); margin-left: 2px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.nav ul a { text-decoration: none; color: var(--muted); }
.nav ul a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s, background .15s; }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-deep); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--text); }
.nav .btn { padding: 9px 18px; }
.nav-end { display: flex; align-items: center; gap: 14px; }
.lang { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; color: var(--muted); }
.lang a { text-decoration: none; }
.lang a:hover { color: var(--text); }
.lang [aria-current] { color: var(--clay); }

/* hero */
.hero { padding: 88px 0 104px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 600; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--clay); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-mark { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 1; }
.hero-mark::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--flame) 40%, transparent), transparent 65%); }
.hero-mark svg { position: relative; width: 100%; height: 100%; }
.flame { transform-origin: 80px 156px; animation: flicker 2.6s ease-in-out infinite; }
@keyframes flicker { 0%,100% { transform: scale(1, 1); } 30% { transform: scale(.94, 1.06); } 60% { transform: scale(1.04, .95); } }
@media (prefers-reduced-motion: reduce) { .flame { animation: none; } }

/* strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

/* services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 52px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--clay) 12%, transparent); display: grid; place-items: center; margin-bottom: 20px; }
.card .ico svg { width: 22px; height: 22px; stroke: var(--clay); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); margin-top: 10px; font-size: 16px; }

/* process */
.process { background: var(--ink); color: #F3EEE9; }
.process .lead { color: #A9A099; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; counter-reset: step; }
.step { padding: 28px 28px 8px 0; border-top: 2px solid #3A3430; position: relative; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 48px; background: var(--clay); }
.step .num { font-size: 13px; font-weight: 600; letter-spacing: 2px; color: var(--flame); }
.step h3 { margin: 10px 0 10px; font-size: 24px; }
.step p { color: #A9A099; font-size: 16px; }

/* principles */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.principles { list-style: none; margin: 0; padding: 0; }
.principles li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.principles li:first-child { padding-top: 0; }
.principles .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--clay); margin-top: 8px; }
.principles p { color: var(--muted); margin-top: 6px; font-size: 16px; }

/* work */
.work { background: var(--sand); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.project { background: var(--surface); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.project .thumb { aspect-ratio: 16/10; display: grid; place-items: center; font-size: 13px; font-weight: 600; letter-spacing: 2px; color: rgba(255,255,255,.85); text-transform: uppercase; }
.project:nth-child(1) .thumb { background: linear-gradient(135deg, #D2552C, #8F3B1F); }
.project:nth-child(2) .thumb { background: linear-gradient(135deg, #3A3430, #1C1A19); }
.project:nth-child(3) .thumb { background: linear-gradient(135deg, #FFB547, #D2552C); }
.project .body { padding: 22px 24px 26px; }
.project .tag { font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--clay); }
.project h3 { margin: 8px 0; }
.project p { color: var(--muted); font-size: 15px; }

/* contact */
.contact-box { background: var(--clay); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.contact-box::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,181,71,.55), transparent 70%); }
.contact-box .eyebrow { color: #FFE2B8; }
.contact-box p { color: rgba(255,255,255,.85); margin-top: 16px; font-size: 18px; max-width: 42ch; }
.contact-box .actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.btn-light { background: #fff; color: var(--ink); justify-content: center; }
.btn-light:hover { transform: translateY(-1px); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.6); color: #fff; justify-content: center; }

footer { padding: 48px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer .slogan { font-size: 12px; font-weight: 600; letter-spacing: 2.6px; text-transform: uppercase; }

@media (max-width: 900px) {
  section { padding: 72px 0; }
  .hero-grid, .split, .contact-box { grid-template-columns: 1fr; }
  .hero-mark { width: 240px; grid-row: 1; justify-self: start; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .projects { grid-template-columns: 1fr; }
  .nav ul { display: none; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 72px; }
}
