/* BearIT — feuille de style commune aux pages FR et EN.
   Couleurs de la marque (adr/01-bearit-logo.md) : cyan signal #00FFFF pour la
   marque sur fond sombre, cyan profond #009CA8 sur fond clair, sarcelle
   #00757A pour le texte, encre #0A1416. Le cyan signal n'est jamais du texte
   sur fond clair. */

:root {
	--logo: #009ca8;
	--accent: #00757a;
	--accent-soft: #e2f7f7;
	--bg: #f7fafa;
	--surface: #ffffff;
	--text: #0a1416;
	--muted: #4f5e61;
	--line: #d9e3e4;
	--font: "Avenir Next", "Segoe UI", system-ui, Helvetica, Arial, sans-serif;
	--wrap: 1080px;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--logo: #00ffff;
		--accent: #3ff2f2;
		--accent-soft: #0f2a2c;
		--bg: #0a0f10;
		--surface: #121a1c;
		--text: #e9f1f2;
		--muted: #97a6a8;
		--line: #23302f;
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--logo: #00ffff;
	--accent: #3ff2f2;
	--accent-soft: #0f2a2c;
	--bg: #0a0f10;
	--surface: #121a1c;
	--text: #e9f1f2;
	--muted: #97a6a8;
	--line: #23302f;
	color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--surface); padding: 8px 12px; }

/* --- en-tête ------------------------------------------------------------ */
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; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; }
.brand img { height: 32px; width: auto; }
.nav ul { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav ul a { color: var(--muted); text-decoration: none; }
.nav ul a:hover { color: var(--text); }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-weight: 600; }
@media (max-width: 640px) { .nav .sections { display: none; } }

/* --- accroche ----------------------------------------------------------- */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.1fr 1fr; } }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 700; }
.hero .lead { color: var(--muted); font-size: 19px; margin-top: 18px; max-width: 40ch; }
.hero figure { margin: 0; text-align: center; }
.hero figure img { width: 100%; max-width: 460px; height: auto; }
.hero figcaption { margin-top: 10px; font-weight: 600; letter-spacing: 0.3em; font-size: 14px; color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
	display: inline-block; padding: 11px 20px; border-radius: 8px;
	font-weight: 600; text-decoration: none; border: 1px solid var(--accent);
}
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--ghost { color: var(--accent); }

/* --- sections ----------------------------------------------------------- */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; }
section .intro { color: var(--muted); margin-top: 12px; max-width: 60ch; }

.cards { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); margin-top: 8px; }
.card .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.card .tags li { font-size: 13px; background: var(--accent-soft); color: var(--text); border-radius: 999px; padding: 2px 10px; }

.principles { display: grid; gap: 24px; margin-top: 32px; list-style: none; padding: 0; }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principles strong { display: block; font-size: 18px; margin-bottom: 6px; }
.principles span { color: var(--muted); }
blockquote { margin: 28px 0 0; padding-left: 18px; border-left: 3px solid var(--logo); font-size: 19px; max-width: 62ch; }

.clients { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; list-style: none; padding: 0; font-weight: 600; color: var(--muted); }

.contact { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 760px) { .contact { grid-template-columns: repeat(2, 1fr); } }
.contact dl { margin: 0; }
.contact dt { font-size: 13px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--muted); }
.contact dd { margin: 2px 0 16px; font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }

/* --- pied de page ------------------------------------------------------- */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }

/* --- mentions légales --------------------------------------------------- */
.legal { padding: 56px 0 72px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); }
.legal h2 { font-size: 21px; margin-top: 36px; }
.legal p, .legal address { margin-top: 10px; font-style: normal; max-width: 68ch; }
.todo { background: #fff3b0; color: #3d3300; padding: 0 4px; border-radius: 3px; }
