@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* RESET */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Arial, sans-serif;
}

/* COULEURS */
:root {
	--red: #d92700;
	--blue: #0a00d0;
	--dark: #0b0b0b;
	--light: #ffffff;
}

/* BODY */
html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--dark);
	color: var(--light);
}

/* HEADER */
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 40px;
	background: linear-gradient(90deg, var(--red), var(--blue));
}

.logo-container img {
	height: 60px;
}

nav a {
	color: white;
	margin-left: 25px;
	text-decoration: none;
	font-weight: bold;
	display: inline-block;
	transition:
		transform 0.2s ease,
		opacity 0.2s ease;
	opacity: 0.5;
}

nav a:hover {
	transform: translateY(-4px);
	opacity: 1;
}

nav a.active {
	opacity: 1;
	color: white;
}

/* HERO */
.hero {
	text-align: center;
	padding: 60px 20px;
	background: radial-gradient(circle, var(--blue), var(--red));
	color: white;
}

.hero h1 {
	font-size: 48px;
	margin-bottom: 15px;
}

/* SECTIONS */
section {
	padding: 80px 40px;
	text-align: center;
}

section h2 {
	font-size: 36px;
	margin-bottom: 25px;
	color: var(--light);
}

/* SERVICES */
.dark-section {
	background-color: #1a1a1a;
}

.cards {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
}

.card {
	background: linear-gradient(135deg, var(--red), var(--blue));
	color: white;
	padding: 28px;
	width: min(280px, 100%);
	max-width: 320px;
	border-radius: 10px;
	text-align: left;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card h3 {
	font-size: 1.1rem;
	margin-bottom: 12px;
	font-weight: bold;
}

.card p {
	font-size: 0.85rem;
	font-weight: normal;
	margin-top: 10px;
}

/* CONTACT - lien email */
#contact a {
	color: #7eb8ff;
	text-decoration: none;
	border-bottom: 1px solid #7eb8ff;
	transition:
		color 0.2s ease,
		border-color 0.2s ease;
}

#contact a:hover {
	color: #a8d0ff;
	border-bottom-color: #a8d0ff;
}

/* FOOTER */
footer {
	background-color: #050505;
	color: white;
	text-align: center;
	padding: 20px;
}

footer .footer-extra {
	margin-top: 10px;
	font-size: 0.9rem;
}

footer .footer-extra a {
	color: #7eb8ff;
	text-decoration: none;
	border-bottom: 1px solid rgba(126, 184, 255, 0.45);
	transition:
		color 0.2s ease,
		border-color 0.2s ease;
}

footer .footer-extra a:hover {
	color: #a8d0ff;
	border-bottom-color: #a8d0ff;
}

/* BOUTON RETOUR EN HAUT */
.back-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--red), var(--blue));
	color: white;
	font-size: 24px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease,
		transform 0.3s ease;
}

.back-to-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* BOUTON LIEN PRINCIPAL */
.btn {
	display: inline-block;
	margin-top: 12px;
	padding: 10px 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--blue), var(--red));
	color: #ffffff;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: bold;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 14px rgba(0, 0, 0, 0.35);
	opacity: 0.95;
}

/* ========== PAGE ACCUEIL (index.php) ========== */
.page-accueil {
	font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Hero accueil */
.page-accueil .hero-accueil {
	position: relative;
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 24px 100px;
	overflow: hidden;
	background: linear-gradient(145deg, var(--blue) 0%, #1a0a8c 40%, var(--red) 100%);
}

.page-accueil .hero-shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		120deg,
		transparent 0%,
		rgba(255, 255, 255, 0.06) 45%,
		rgba(255, 255, 255, 0.1) 50%,
		transparent 55%
	);
	animation: hero-shine 8s ease-in-out infinite;
	pointer-events: none;
}

@keyframes hero-shine {
	0%, 100% { opacity: 0.5; transform: translateX(-100%); }
	50% { opacity: 1; transform: translateX(100%); }
}

.page-accueil .hero-inner {
	position: relative;
	z-index: 1;
	max-width: 720px;
}

.page-accueil .hero-tagline {
	font-size: 0.95rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	opacity: 0.9;
	margin-bottom: 12px;
	font-weight: 600;
}

.page-accueil .hero-title {
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 16px;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.page-accueil .hero-subtitle {
	font-size: clamp(1.1rem, 2.5vw, 1.35rem);
	opacity: 0.95;
	margin-bottom: 32px;
	font-weight: 500;
}

.page-accueil .btn-hero {
	padding: 14px 28px;
	font-size: 1rem;
	background: rgba(255, 255, 255, 0.2);
	border: 2px solid rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(8px);
}

.page-accueil .btn-hero:hover {
	background: rgba(255, 255, 255, 0.3);
	border-color: rgba(255, 255, 255, 0.8);
}

/* Section À propos */
.page-accueil .section-apropos {
	background: linear-gradient(180deg, #0f0f0f 0%, var(--dark) 100%);
	padding: 80px 24px 90px;
}

.page-accueil .apropos-inner {
	max-width: 640px;
	margin: 0 auto;
}

.page-accueil .section-title {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	margin-bottom: 16px;
	color: var(--light);
}

.page-accueil .apropos-lead {
	font-size: 1.15rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 24px;
}

.page-accueil .apropos-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.page-accueil .pill {
	display: inline-block;
	padding: 8px 18px;
	background: linear-gradient(135deg, rgba(217, 39, 0, 0.25), rgba(10, 0, 208, 0.25));
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--light);
}

/* Section Services / cartes */
.page-accueil .section-services {
	padding: 80px 24px 100px;
}

.page-accueil .section-intro {
	max-width: 520px;
	margin: -8px auto 48px;
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.5;
}

.page-accueil .cards-accueil {
	gap: 28px;
}

.page-accueil .card-accueil {
	position: relative;
	width: min(300px, 100%);
	max-width: 340px;
	padding: 32px 28px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: linear-gradient(160deg, rgba(217, 39, 0, 0.18) 0%, rgba(10, 0, 208, 0.22) 100%);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-accueil .card-accueil:hover {
	transform: translateY(-8px);
	box-shadow: 0 16px 48px rgba(217, 39, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
}

.page-accueil .card-icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--red), var(--blue));
	border-radius: 12px;
	font-size: 1.2rem;
	color: white;
	margin-bottom: 18px;
	opacity: 0.95;
}

.page-accueil .card-accueil h3 {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.page-accueil .card-accueil p {
	font-size: 0.92rem;
	line-height: 1.55;
	margin-top: 8px;
}

.page-accueil .card-quote {
	font-style: italic;
	opacity: 0.9;
	font-size: 0.9em;
}

.page-accueil .card-cta .btn {
	margin-top: 16px;
}

/* Section Contact */
.page-accueil .section-contact {
	background: linear-gradient(180deg, var(--dark) 0%, #0a0a0a 100%);
	padding: 80px 24px 100px;
}

.page-accueil .contact-inner {
	max-width: 480px;
	margin: 0 auto;
	padding: 40px 32px;
	background: linear-gradient(145deg, rgba(10, 0, 208, 0.12) 0%, rgba(217, 39, 0, 0.08) 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	text-align: center;
}

.page-accueil .contact-text {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 16px;
}

.page-accueil .contact-email {
	display: inline-block;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--light);
	text-decoration: none;
	border: none;
	padding: 12px 24px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--blue), var(--red));
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-accueil .contact-email:hover {
	transform: scale(1.03);
	box-shadow: 0 6px 24px rgba(10, 0, 208, 0.4);
}

/* PAGE FACILORAPIDO */
.facilorapido-section {
	text-align: left;
}

.facilorapido-list {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 1100px;
	margin: 0 auto;
}

.fr-block {
	display: grid;
	grid-template-columns: 1.1fr 1.4fr 1.1fr;
	gap: 20px;
	align-items: center;
	background: #111111;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.fr-illu,
.fr-screen {
	display: flex;
	justify-content: center;
}

.fr-illu img,
.fr-screen img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.fr-text h3 {
	font-size: 1.25rem;
	margin-bottom: 12px;
}

.fr-text ul {
	padding-left: 18px;
	font-size: 0.9rem;
	line-height: 1.5;
}

.fr-text li + li {
	margin-top: 4px;
}

@media (max-width: 900px) {
	.fr-block {
		grid-template-columns: 1fr;
		text-align: left;
	}

	.fr-illu,
	.fr-screen {
		justify-content: flex-start;
	}
}

/* PAGE MODE D'EMPLOI FACILORAPIDO – priorité sur les styles de section */
section.emploi-page {
	text-align: left;
	padding: 48px 40px 80px;
	background-color: var(--dark);
}

section.emploi-page .emploi-content {
	max-width: 800px;
	margin-left: 0;
	margin-right: auto;
	text-align: left;
}

.emploi-section {
	text-align: left;
}

.emploi-content {
	max-width: 800px;
	margin: 0 auto;
}

/* Titres : espacement cohérent */
section.emploi-page .emploi-content h2 {
	text-align: left;
	border-left: 4px solid var(--blue);
	padding-left: 12px;
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-size: 1.35rem;
}

section.emploi-page .emploi-content h2:first-of-type {
	margin-top: 0;
}

/* Espacement uniforme entre blocs (1rem = 16px) */
section.emploi-page .emploi-content p,
section.emploi-page .emploi-content ul,
section.emploi-page .emploi-content ol {
	margin-top: 0;
	margin-bottom: 1rem;
}

section.emploi-page .emploi-content .warning-box {
	margin-top: 1rem;
	margin-bottom: 1.5rem;
}

/* Lien retour en haut : espace en dessous */
section.emploi-page .emploi-content > p:first-of-type {
	margin-bottom: 1.5rem;
}

.emploi-list {
	padding-left: 24px;
	text-align: left;
}

.emploi-list li {
	margin-bottom: 0.5rem;
}

.emploi-list li:last-child {
	margin-bottom: 0;
}

.step {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 20px;
	padding: 16px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
}

.step-number {
	background: linear-gradient(135deg, var(--red), var(--blue));
	color: white;
	width: 32px;
	height: 32px;
	min-width: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 0.95rem;
}

.warning-box {
	background: rgba(255, 152, 0, 0.12);
	border-left: 4px solid #ff9800;
	padding: 16px;
	margin: 24px 0;
	border-radius: 0 8px 8px 0;
	color: var(--light);
}

.badge {
	display: inline-block;
	padding: 4px 10px;
	background: rgba(10, 0, 208, 0.4);
	color: #a8d0ff;
	border-radius: 6px;
	font-size: 0.9em;
	font-weight: bold;
}

.astuce {
	display: block;
	margin-top: 6px;
	font-size: 0.9em;
	opacity: 0.9;
}

.emploi-content code {
	background: rgba(255, 255, 255, 0.1);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.9em;
}

.emploi-section a,
.emploi-page a {
	color: #7eb8ff;
	text-decoration: none;
	border-bottom: 1px solid #7eb8ff;
	transition:
		color 0.2s ease,
		border-color 0.2s ease;
}

.emploi-section a:hover,
.emploi-page a:hover {
	color: #a8d0ff;
	border-bottom-color: #a8d0ff;
}
.prix {
	color: green;
	font-style: italic;
}

/* Statuts des demandes de devis */
.statut-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
}
.statut-a-traiter {
	background: rgba(255, 152, 0, 0.15);
	color: #ff9800;
}
.statut-en-suspens {
	background: rgba(255, 235, 59, 0.15);
	color: #ffeb3b;
}
.statut-terminee {
	background: rgba(76, 175, 80, 0.18);
	color: #81c784;
}
.statut-a-modifier {
	background: rgba(244, 67, 54, 0.18);
	color: #ef5350;
}
