/*
Theme Name: 3YTech
Theme URI: https://3ytech.fr
Author: 3YTech
Author URI: https://3ytech.fr
Description: Thème WordPress sur mesure basé sur le site statique 3YTech. Structure modulaire pour la page d’accueil, menu, header et footer.
Version: 1.0.0
Text Domain: 3ytech
*/

/*
 * Les styles du site sont chargés depuis /assets/css/ pour conserver
 * la mise en page du site statique et faciliter les futures évolutions.
 */

html {
	box-sizing: border-box;
}

*, *::before, *::after {
	box-sizing: inherit;
}

body {
	margin: 0;
}

body.threeytech-theme {
	background: #fff;
	color: #111827;
}

a {
	color: inherit;
}

.brand-link,
.footer-brand-link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
}

.logo,
.custom-logo {
	display: block;
	height: 40px;
	width: auto;
}

.brand-name {
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #0f172a;
}

.header {
	position: sticky;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.88);
	border-bottom: 1px solid rgba(229, 231, 235, 0.65);
}

.sticky-header {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}


.navbar {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.navbar {
	justify-content: space-between;
	min-height: 80px;
}

.navbar-menu .main-menu,
.mobile-menu .main-menu,
.footer-menu-list,
.menu-fallback {
	list-style: none;
	margin: 0;
	padding: 0;
}

.navbar-menu .main-menu {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.navbar-menu .main-menu a,
.mobile-menu .main-menu a,
.footer-link,
.nav-link,
.mobile-nav-link {
	text-decoration: none;
}

.mobile-menu {
	display: none;
	flex-direction: column;
	align-items: stretch;
	padding: 1rem 1.25rem 1.5rem;
	border-top: 1px solid rgba(229, 231, 235, 0.65);
	background: rgba(255, 255, 255, 0.96);
}

.mobile-menu.active {
	display: flex;
}

.mobile-menu-toggle {
	background: transparent;
	border: 0;
	padding: 0.5rem;
	cursor: pointer;
}

.mobile-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px 0;
	background: #0f172a;
	border-radius: 999px;
}

.page-shell,
.home-editor-content {
	padding: 4rem 0;
}

.page-container,
.home-editor-content .container {
	max-width: 1100px;
}

.content-card {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(229, 231, 235, 0.85);
	border-radius: 24px;
	padding: 2rem;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.entry-header,
.entry-content,
.entry-thumbnail {
	margin-bottom: 1.5rem;
}

.entry-title {
	margin-top: 0;
	margin-bottom: 0;
}

.page-links {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.page-links a {
	color: #00668a;
}

.footer-brand-link {
	align-items: center;
}

.footer-menu-list li {
	margin: 0;
}

.menu-fallback a {
	display: inline-flex;
	padding: 0.75rem 1rem;
	border: 1px dashed rgba(0, 102, 138, 0.35);
	border-radius: 12px;
}

.skip-to-main {
	position: absolute;
	top: -40px;
	left: 0;
	background: #00668a;
	color: #fff;
	padding: 0.75rem 1rem;
	z-index: 99999;
	border-radius: 0 0 0.75rem 0;
}

.skip-to-main:focus {
	top: 0;
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	margin: 0;
	background: #fff;
	color: #000;
	z-index: 99999;
}




