/* Shared components and site-wide fixes. Loaded last, so it wins over the older stylesheets. */
:root {
	--blue: rgb(53, 100, 255);
	--red: rgb(233, 17, 17);
	--ink: #303030;
	--muted: #5f6368;
	--line: #e3e5ea;
	--paper: #f5f6f9;
}

/* Nothing may make the page wider than the phone (it made mobile browsers zoom out). */
body {
	overflow-x: hidden;
	overflow-x: clip;
}

/* The header no longer waits for JavaScript to appear. */
.header {
	display: flex;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
}

/* MENU is a real button now: reset the browser's button look. */
.header-menu {
	background: none;
	border: 0;
	font: inherit;
	color: inherit;
	text-align: left;
	align-self: flex-start;
}
.header-menu-icon-slash,
.header-menu-icon-slash-bar-mask,
.header-menu-icon-slash-bar {
	display: block;
}

/* ---------- Page heading (lego/hero.php) ---------- */
.page-hero {
	padding-bottom: 20px;
}
.page-hero .title {
	margin-top: 0;
}
.page-hero .desc {
	text-align: center;
}
.title-selection a.message {
	display: block;
}

/* ---------- Text ---------- */
/* Justified text opened big gaps between words on phones. */
.desc,
.col,
.col p {
	text-align: left;
}
.center {
	text-align: center;
}
.lead {
	font-size: 1.15em;
}

/* Check / cross lists (Sauvegarde) */
.check-list {
	list-style: none;
	padding-left: 30px;
	margin: 0;
}
.check-list li::before {
	content: "✔";
	color: #00a000;
	margin-right: .5em;
}
.check-list li.no {
	color: #8a8a8a;
	text-decoration: line-through;
}
.check-list li.no::before {
	content: "✖";
	color: var(--red);
}

/* Highlighted box for time-sensitive information (Windows 10, copper network...) */
.notice {
	max-width: 900px;
	margin: 60px auto;
	padding: 28px 32px;
	background: #fff;
	border-left: 6px solid var(--blue);
	box-shadow: 0 0 1.5rem rgba(0, 0, 0, .08);
	line-height: 1.7;
}
.notice h2 {
	margin-top: 0;
}
.notice.red {
	border-left-color: var(--red);
}
@media (max-width: 750px) {
	.notice {
		margin: 40px 16px;
		padding: 20px;
	}
}

/* ---------- Home ---------- */
.home-intro {
	max-width: 900px;
	margin: 0 auto;
	padding: 70px 24px 20px;
	font-size: 17px;
	line-height: 1.8;
}
.home-intro h1 {
	font-family: "BebasNeue-Regular", Impact, sans-serif;
	font-weight: 400;
	font-size: 52px;
	line-height: 1.05;
	letter-spacing: 2px;
	margin: 0 0 20px;
	text-wrap: balance;
}
.home-facts {
	list-style: none;
	padding: 0;
	margin: 28px 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 12px;
}
.home-facts li {
	background: var(--paper);
	padding: 14px 18px;
	line-height: 1.5;
}
.home-facts b {
	display: block;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--muted);
}
.home-facts a {
	color: inherit;
}
@media (max-width: 750px) {
	.home-intro {
		padding-top: 40px;
	}
	.home-intro h1 {
		font-size: 38px;
	}
}

/* ---------- Cybersecurity news (lego/cyber-news.php) ---------- */
.cyber-news {
	max-width: 900px;
	margin: 50px auto 70px;
	padding: 0 24px;
}
.cyber-news h2 {
	font-family: "BebasNeue-Regular", Impact, sans-serif;
	font-weight: 400;
	font-size: 36px;
	letter-spacing: 2px;
	margin: 0 0 12px;
}
.cyber-news ul {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--line);
}
.cyber-news li {
	display: flex;
	gap: 18px;
	align-items: baseline;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	line-height: 1.5;
}
.cyber-news time {
	flex: 0 0 105px;
	font-size: 13px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}
.cyber-news a {
	color: var(--ink);
}
.cyber-news a:hover {
	color: var(--blue);
}
.cyber-news-source {
	font-size: 13px;
	color: var(--muted);
	margin-top: 12px;
}
.cyber-news-source a {
	color: inherit;
	text-decoration: underline;
}
@media (max-width: 600px) {
	.cyber-news li {
		flex-direction: column;
		gap: 2px;
	}
}

/* ---------- Text pages: legal, FAQ, tools ---------- */
.text-page {
	max-width: 820px;
	margin: 0 auto 60px;
	padding: 0 24px;
	font-size: 16px;
	line-height: 1.75;
}
.text-page h2 {
	font-size: 22px;
	margin: 42px 0 10px;
}
.text-page h3 {
	font-size: 18px;
	margin: 28px 0 8px;
}
.text-page a {
	color: var(--blue);
	text-decoration: underline;
}
.text-page dl {
	display: grid;
	grid-template-columns: minmax(150px, 220px) 1fr;
	gap: 6px 20px;
	margin: 0;
}
.text-page dt {
	font-weight: 600;
}
.text-page dd {
	margin: 0;
}
.text-page .updated {
	color: var(--muted);
	font-size: 14px;
}
.legal-box {
	border: 2px solid var(--ink);
	padding: 20px 24px;
	margin: 20px 0;
	font-size: 15px;
}
.legal-box p {
	margin: 0 0 10px;
}
.text-page table {
	font-size: 15px;
	margin: 12px 0;
}
.text-page td,
.text-page th {
	font-size: 15px;
	vertical-align: top;
}
.table-scroll {
	overflow-x: auto;
}
@media (max-width: 600px) {
	.text-page dl {
		grid-template-columns: 1fr;
	}
	.text-page dd {
		margin-bottom: 10px;
	}
}

/* FAQ */
.faq-list details {
	border-bottom: 1px solid var(--line);
	padding: 16px 0;
}
.faq-list summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 17px;
}
.faq-list details p {
	margin: 10px 0 0;
}

/* Tool cards (Logiciels et outils) */
.tool-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	padding: 0;
	list-style: none;
}
.tool-list li {
	border: 1px solid var(--line);
	padding: 20px;
	display: grid;
	gap: 8px;
	align-content: start;
}
.tool-list h2 {
	margin: 0;
	font-size: 19px;
}
.tool-list p {
	margin: 0;
}

/* ---------- Footer ---------- */
.footer address a,
.legal a {
	color: rgb(212, 212, 212);
}
.manage-cookies {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	color: rgb(212, 212, 212);
	cursor: pointer;
}
.footer address {
	line-height: 1.8;
}

/* ---------- Cookie consent ---------- */
.consent {
	position: fixed;
	z-index: 10000;
	left: 16px;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	max-width: 560px;
	margin: 0 auto;
	background: #fff;
	color: var(--ink);
	padding: 20px 22px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
	font-size: 15px;
	line-height: 1.6;
}
.consent p {
	margin: 0 0 14px;
}
.consent a {
	color: var(--blue);
	text-decoration: underline;
}
.consent-actions {
	display: flex;
	gap: 10px;
}
/* Both choices look the same: refusing must be as easy as accepting. */
.consent-actions button {
	flex: 1;
	padding: 12px;
	font: inherit;
	font-weight: 600;
	color: #fff;
	background: #000;
	border: 0;
	cursor: pointer;
}
.consent-actions button:hover {
	background: var(--blue);
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Home accordion labels were <h2>: keep their old size, and a block box so GSAP can slide them. */
.accordion-box-title {
	display: block;
	font-size: 1.5em;
	font-weight: bold;
	margin: .83em 0;
}

/* Exceptional closure banner ($company['notice']) */
.site-notice {
	position: relative;
	z-index: 3;
	background: var(--red);
	color: #fff;
	text-align: center;
	padding: 12px 16px;
	font-size: 18px;
	line-height: 1.4;
}

/* Images carry width/height attributes (reserves space, no layout jump); CSS still decides the displayed size. */
:where(img[width][height]) {
	height: auto;
}

/* Contact details: links keep the text colour */
.contact-company-info-text a {
	color: inherit;
	text-decoration: underline;
}
.text-page .manage-cookies {
	color: var(--blue);
	text-decoration: underline;
}

/* Phone width: keep these inside the screen */
@media (max-width: 750px) {
	.contact-adress-btn-shadow {
		display: none;
	}
	.timeline-event-copy {
		box-sizing: border-box;
		width: calc(100% - 2em);
		padding: 2em 1em;
	}
}

/* .row is width:100% plus side padding: count the padding inside, or every row is 24px wider than the screen. */
.row {
	box-sizing: border-box;
}

/* Header labels: Jost is a little wider than the old font, keep them on one line. */
.header-menu-contact-text {
	letter-spacing: 4px;
	white-space: nowrap;
}

/* Informatique / Sauvegarde / Anti-virus switcher: smaller titles on laptop widths so side labels don't break. */
@media (min-width: 901px) and (max-width: 1300px) {
	.title-selection .message-text {
		font-size: 72px;
		letter-spacing: 5px;
	}
	.title-selection .message-text-grey {
		font-size: 40px;
		letter-spacing: 4px;
	}
}

/* Anti-virus parallax: the 1920px layers must also cover wider screens. */
.layer-bg,
.layer-overlay,
.layer-1,
.layer-2,
.layer-4 {
	background-size: max(100%, 1920px) auto;
}
/* The contact bar is opaque, so a fixed page background (anti-virus) never shows through its top gap. */
.link-home {
	background: #fff;
}
/* Keep the last block's bottom margin inside the white area (it opened a gap onto the fixed background). */
.hero-content {
	display: flow-root;
}

/* Scroll-down arrows: a 24px box centered in its block (card or page), the arrow drawn inside it. */
.arrow a {
	display: inline-block;
	position: relative;
	width: 24px;
	height: 34px;
	padding-top: 0;
	margin-top: 30px;
}
.arrow a span {
	left: 0;
	top: 0;
}
/* Diagonal separators (Informatique) span the whole screen, not only the 1300px content width. */
.container-separator .row {
	max-width: none;
}
/* Footer entries for pages not online yet */
.footer .soon {
	color: #6f6f6f;
	cursor: not-allowed;
}
/* Navbar labels: Jost at 900 looked much heavier than the old Brandon Grotesque. */
.header-menu-text,
.header-menu-contact-text {
	font-weight: 500;
}
.menu-title {
	font-weight: 500;
}

/* ---------- Sauvegarde ---------- */
.sv-section {
	max-width: 1100px;
	margin: 70px auto;
	padding: 0 24px;
	line-height: 1.6;
}
.sv-title {
	font-family: "BebasNeue-Regular", Impact, sans-serif;
	font-weight: 400;
	font-size: 48px;
	letter-spacing: 3px;
	text-align: center;
	margin: 0 0 30px;
}
.sv-risks,
.sv-steps,
.sv-included {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}
.sv-risks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}
.sv-risks li {
	background: var(--paper);
	padding: 24px;
	display: grid;
	gap: 6px;
	align-content: start;
}
.sv-risks svg {
	color: var(--red);
	margin-bottom: 6px;
}
.sv-risks b,
.sv-steps b {
	display: block;
	font-size: 18px;
}
.sv-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 28px;
	counter-reset: step;
}
.sv-steps li {
	counter-increment: step;
	border-top: 3px solid var(--blue);
	padding-top: 14px;
}
.sv-steps li::before {
	content: counter(step);
	display: block;
	font-family: "BebasNeue-Regular", Impact, sans-serif;
	font-size: 64px;
	line-height: 1;
	color: var(--blue);
	margin-bottom: 8px;
}
.sv-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin-bottom: 40px;
}
.sv-plan {
	background: #fff;
	padding: 30px;
	border-top: 6px solid var(--red);
	box-shadow: 0 0 1.5rem rgba(0, 0, 0, .1);
}
.sv-plan.blue {
	border-top-color: var(--blue);
}
.sv-plan svg {
	color: var(--red);
}
.sv-plan.blue svg {
	color: var(--blue);
}
.sv-plan h3 {
	font-family: "BebasNeue-Regular", Impact, sans-serif;
	font-weight: 400;
	font-size: 38px;
	letter-spacing: 2px;
	margin: 8px 0 6px;
}
.sv-plan .check-list {
	padding-left: 0;
	line-height: 2;
}
.sv-included {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
.sv-included li {
	border: 1px solid var(--line);
	border-radius: 99px;
	padding: 6px 16px;
	font-size: 15px;
}
.sv-included li::before {
	content: "✔ ";
	color: #00a000;
}
.cyber-save .web ul {
	line-height: 2.2;
	padding-left: 1.2em;
}
.center p {
	text-align: center;
}
