:root {
	--accent: #960d1c;
	--accent-hover: #b0101f;
	--gray: #727d86;
	--dark: #525c66;
	--text: #3f4650;
	--bg: #ffffff;
	--bg-soft: #f6f7f8;
	--shadow: 0 4px 18px rgba(20, 25, 30, 0.10);
	--radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: 'Lato', 'Segoe UI', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.75;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }
.wrap { max-width: 1170px; margin: 0 auto; padding: 0 22px; }
.cols { display: flex; flex-wrap: wrap; gap: 46px; }
.cols .col { flex: 1 1 320px; }
.cols3 { display: flex; flex-wrap: wrap; gap: 32px; }
.cols3 > * { flex: 1 1 280px; }

/* ============ HEADER ============ */
.andro-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .97);
	backdrop-filter: blur(6px);
	box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.05);
}
.andro-header-inner {
	max-width: 1170px; margin: 0 auto; padding: 14px 22px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.andro-logo img { height: 60px; width: auto; transition: height .3s; }
.andro-burger {
	display: none; background: none; border: 0; cursor: pointer; padding: 8px;
	flex-direction: column; gap: 5px;
}
.andro-burger span { display: block; width: 26px; height: 3px; background: var(--dark); border-radius: 2px; transition: .3s; }
.andro-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.andro-burger.open span:nth-child(2) { opacity: 0; }
.andro-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ NAVIGATION ============ */
.andro-nav > ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.andro-nav > ul > li { position: relative; }
.andro-nav > ul > li > a, .andro-nav > ul > li > span.nav-header {
	display: inline-block; padding: 14px 20px;
	font-weight: 700; font-size: 14px; letter-spacing: .8px; text-transform: uppercase;
	color: var(--dark); position: relative; cursor: default;
}
.andro-nav > ul > li > a::after, .andro-nav > ul > li > span.nav-header::after {
	content: ''; position: absolute; left: 20px; right: 20px; bottom: 8px;
	height: 3px; background: var(--accent); border-radius: 2px;
	transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.andro-nav > ul > li:hover > a::after,
.andro-nav > ul > li:hover > span.nav-header::after,
.andro-nav > ul > li.active > a::after,
.andro-nav > ul > li.active > span.nav-header::after { transform: scaleX(1); }
.andro-nav > ul > li:hover > a, .andro-nav > ul > li:hover > span.nav-header,
.andro-nav > ul > li.active > a, .andro-nav > ul > li.active > span.nav-header { color: var(--accent); }
.andro-nav > ul > li.parent > a::before { display: none; }
.andro-nav > ul > li.parent > span.nav-header::after { content: ''; }

/* chevron */
.andro-nav .parent > a > .caret,
.andro-nav .parent > span.nav-header::before {
	content: '\25BE'; font-size: 10px; margin-left: 6px; color: var(--gray);
	display: inline; transition: transform .25s;
}
.andro-nav .parent:hover > span.nav-header::before { transform: rotate(180deg); }

/* dropdown */
.andro-nav > ul > li > ul {
	list-style: none; margin: 0; padding: 10px 0;
	position: absolute; top: calc(100% + 6px); left: 0;
	min-width: 262px; background: #fff; border-radius: var(--radius);
	box-shadow: var(--shadow); border-top: 3px solid var(--accent);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.andro-nav > ul > li:hover > ul,
.andro-nav > ul > li:focus-within > ul {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.andro-nav > ul > li > ul::before {
	content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.andro-nav > ul > li > ul li a {
	display: block; padding: 11px 24px;
	color: var(--text); font-size: 14.5px; border-left: 3px solid transparent;
	transition: all .18s;
}
.andro-nav > ul > li > ul li a:hover {
	color: var(--accent); background: var(--bg-soft); border-left-color: var(--accent); padding-left: 28px;
}

/* ============ SLIDER ============ */
.andro-hero { position: relative; overflow: hidden; background: var(--dark); }
.andro-slider { position: relative; aspect-ratio: 1170 / 400; min-height: 240px; max-height: 460px; }
.andro-slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: 0; animation: slidefade 18s infinite;
}
.andro-slide:nth-child(1) { animation-delay: 0s; }
.andro-slide:nth-child(2) { animation-delay: 6s; }
.andro-slide:nth-child(3) { animation-delay: 12s; }
@keyframes slidefade {
	0% { opacity: 0; } 5% { opacity: 1; } 32% { opacity: 1; }
	42% { opacity: 0; } 100% { opacity: 0; }
}
.andro-slide-caption {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(rgba(18, 23, 28, .30), rgba(18, 23, 28, .42));
}
.andro-slide-caption h2 {
	color: #fff; font-family: 'Merriweather', serif; font-weight: 900;
	font-size: clamp(24px, 4.5vw, 44px); text-transform: uppercase; letter-spacing: 1px;
	margin: 0; text-align: center; padding: 0 24px;
	text-shadow: 0 2px 14px rgba(0,0,0,.55);
}

/* ============ BIENVENUE ============ */
.andro-welcome { padding: 74px 0; background: var(--bg-soft); }
.andro-welcome .col-imgs { display: flex; gap: 18px; align-items: flex-start; }
.andro-welcome .col-imgs img {
	width: calc(50% - 9px); border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.moduletitle, .andro-welcome h3 {
	font-family: 'Merriweather', serif; color: var(--dark);
	font-size: 30px; margin: 0 0 18px; font-weight: 700; line-height: 1.3;
}
.andro-welcome h5 {
	font-size: 19px; color: var(--accent); text-transform: uppercase;
	letter-spacing: 1.2px; margin: 0 0 16px; font-weight: 900;
}
.andro-welcome p { margin: 0 0 14px; }

/* ============ EQUIPE ============ */
.andro-team { padding: 74px 0 60px; }
.andro-card {
	background: #fff; border: 1px solid #e9ecee; border-radius: var(--radius);
	overflow: hidden; text-align: center; margin-bottom: 22px;
	box-shadow: 0 2px 10px rgba(20,25,30,.05);
	transition: transform .25s, box-shadow .25s;
	display: flex; flex-direction: column;
}
.andro-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.andro-card img { width: 100%; height: auto; }
.andro-card .card-body { padding: 24px 26px 30px; flex: 1; }
.andro-card h4 {
	font-family: 'Merriweather', serif; color: var(--dark); font-size: 21px;
	margin: 0 0 14px; font-weight: 700;
}
.andro-card p, .andro-card li { font-size: 14.5px; color: var(--gray); text-align: left; margin: 5px 0; }
.andro-card ul { list-style: none; padding: 0; margin: 10px 0; }
.andro-card ul li { padding: 3px 0 3px 20px; position: relative; }
.andro-card ul li::before {
	content: ''; position: absolute; left: 2px; top: 12px;
	width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
}

/* ============ SECTION CABINET ============ */
.andro-cabinet {
	padding: 92px 0;
	background: linear-gradient(rgba(28, 34, 40, .85), rgba(28, 34, 40, .85)), url('/images/team/page2maintopbg.jpg') center/cover fixed;
	color: #eef1f3;
}
.andro-cabinet h1, .andro-cabinet h2 {
	font-family: 'Merriweather', serif; font-size: clamp(26px, 4vw, 40px);
	margin: 0 0 22px; color: #fff; line-height: 1.3;
}
.andro-cabinet p { max-width: 880px; margin: 0 0 14px; color: #d8dee3; }
.andro-cabinet ul { list-style: none; padding: 0; margin: 18px 0 0; columns: 2; column-gap: 46px; max-width: 880px; }
.andro-cabinet li { margin: 0 0 9px; padding-left: 24px; position: relative; color: #d8dee3; break-inside: avoid; }
.andro-cabinet li::before {
	content: ''; position: absolute; left: 0; top: 11px;
	width: 10px; height: 10px; background: var(--accent); border-radius: 2px;
}

/* ============ CONTENU ============ */
.andro-content { padding: 64px 0 70px; min-height: 340px; }
.andro-content h1, .andro-content h2, .andro-content h3, .andro-content h4 {
	font-family: 'Merriweather', serif; color: var(--dark); line-height: 1.35;
}
.andro-content h1 { font-size: 34px; margin: 0 0 26px; }
.andro-content h2 { font-size: 27px; margin: 38px 0 16px; }
.andro-content h3 { font-size: 21px; margin: 28px 0 12px; }
.andro-content h4 { font-size: 18px; margin: 24px 0 12px; color: var(--accent); }
.andro-content p { margin: 0 0 16px; }
.andro-content img { border-radius: var(--radius); margin: 14px 0; box-shadow: 0 3px 12px rgba(0,0,0,.08); }
.andro-content ul, .andro-content ol { padding-left: 24px; }
.andro-content li { margin: 0 0 7px; }
.andro-content table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.andro-content table td, .andro-content table th { border: 1px solid #dfe3e6; padding: 10px 14px; }
.andro-content table tr:nth-child(even) { background: var(--bg-soft); }
.andro-content strong { color: var(--dark); }
.page-header { margin-bottom: 12px; }
.blog .item-image img { width: 100%; border-radius: var(--radius); }
.alert { padding: 15px 20px; border-radius: var(--radius); background: var(--bg-soft); border-left: 4px solid var(--gray); margin-bottom: 26px; }

/* ============ FORMULAIRE ============ */
.andro-content form { max-width: 760px; }
.andro-content label { font-weight: 700; color: var(--dark); display: block; margin: 16px 0 6px; }
.andro-content input[type=text], .andro-content input[type=email], .andro-content textarea, .andro-content select {
	width: 100%; padding: 12px 15px; border: 1px solid #cfd6da; border-radius: var(--radius);
	font: inherit; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.andro-content input:focus, .andro-content textarea:focus {
	outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(150, 13, 28, .12);
}
.btn, .andro-content button, .andro-content input[type=submit] {
	display: inline-block; background: var(--accent); color: #fff !important;
	border: 0; border-radius: var(--radius); padding: 13px 34px;
	font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
	cursor: pointer; transition: background .2s, transform .15s;
}
.btn:hover, .andro-content button:hover, .andro-content input[type=submit]:hover {
	background: var(--accent-hover); transform: translateY(-1px);
}

/* ============ FOOTER ============ */
.andro-footer { background: #23282e; color: #aab3ba; padding: 58px 0 26px; }
.andro-footer h3 {
	font-family: 'Merriweather', serif; color: #fff; font-size: 20px;
	margin: 0 0 20px; text-transform: uppercase; letter-spacing: 1.2px;
}
.andro-footer p { margin: 0 0 10px; }
.andro-footer a { color: #cfd6db; }
.andro-footer a:hover { color: #fff; }
.andro-footer ul { list-style: none; padding: 0; margin: 0; }
.andro-footer ul li { margin: 0 0 9px; }
.andro-footer-menu { display: flex; flex-direction: column; }
.andro-footer-menu > div { margin-bottom: 10px; }
.andro-footer-menu a { font-size: 15px; }
.andro-copy {
	border-top: 1px solid #3a4047; margin-top: 38px; padding-top: 20px;
	font-size: 13px; color: #7f8890; text-align: center;
}
.andro-copy a { color: #9aa4ac; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
	.andro-burger { display: flex; }
	.andro-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; box-shadow: 0 14px 28px rgba(0,0,0,.14);
		max-height: calc(100vh - 90px); overflow-y: auto;
	}
	.andro-nav.open { display: block; }
	.andro-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
	.andro-nav > ul > li > a, .andro-nav > ul > li > span.nav-header {
		padding: 15px 24px; border-top: 1px solid #eef0f2; display: block;
	}
	.andro-nav > ul > li > a::after, .andro-nav > ul > li > span.nav-header::after { display: none; }
	.andro-nav > ul > li > ul {
		display: block; position: static; box-shadow: none; border-top: 0;
		opacity: 1; visibility: visible; transform: none;
		padding: 0 0 8px 16px; min-width: 0;
	}
	.andro-slider { min-height: 230px; }
	.andro-welcome, .andro-team { padding: 46px 0; }
	.andro-cabinet { padding: 56px 0; background-attachment: scroll; }
	.andro-cabinet ul { columns: 1; }
	.andro-logo img { height: 46px; }
	.cols, .cols3 { gap: 26px; }
	.andro-content { padding: 44px 0; }
}
