/* ===========================
   RESET
=========================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body {
	font-family: 'Roboto', sans-serif;
	color: #333;
	background: #f3f6fb;
	line-height: 1.6;
	overflow-x: hidden;
	/* empêche scroll horizontal global */
}

ul {
	list-style: none;
}

/* ===========================
   HEADER
=========================== */
header {
	background: linear-gradient(90deg, #0a64b7, #3d9fff);
	color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 70px;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	padding: 0 20px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}
.nav-container {
	max-width: 1300px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nav-container a {
	color: white;
	text-decoration: none;
}

/* NAV LINKS - Desktop */
.nav-links {
	display: flex;
	gap: 35px;
}

.nav-links a {
	text-decoration: none;
	font-weight: 500;
	color: white;
	transition: color .2s;
}

.nav-links a:hover {
	color: #084e8c;
}

/* HAMBURGER */
.hamburger {
	width: 32px;
	height: 26px;
	display: none;
	flex-direction: column;
	justify-content: space-between;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 9999;
}

.hamburger span {
	display: block;
	height: 3px;
	width: 100%;
	background: #0a4f8a;
	border-radius: 3px;
	transition: .3s;
}

.hamburger.active span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

/* ===========================
   MOBILE NAV
=========================== */
@media (max-width: 900px) {
	.hamburger {
		display: flex;
	}

	.nav-links {
		position: fixed;
		top: 70px;
		left: 0;
		width: 100%;
		background: white;
		display: none;
		flex-direction: column;
		align-items: center;
		gap: 25px;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transform: translateY(-15px);
		transition: max-height .4s ease, opacity .35s ease, transform .35s ease;
		z-index: 999;
	}

	.nav-links.open {
		display: flex;
		max-height: 350px;
		opacity: 1;
		transform: translateY(0);
		border-bottom: 1px solid #e0e0e0;
	}

	.nav-links a {
		width: 100%;
		text-align: center;
		font-size: 18px;
		padding: 10px 0;
		color: #0a4f8a
	}
}

/* ===========================
   HERO
=========================== */
#hero {
	width: 100%;
	max-width: none;
	min-height: 100vh;
	padding-top: 70px;
	/* compense le header fixe */
	margin: 0;
	background-image:
		linear-gradient(rgba(10, 100, 183, 0.55), rgba(10, 100, 183, 0)),
		url('../img/img1.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #fff;
	scroll-margin-top: 70px;
}

.hero-content {
	max-width: 900px;
	width: 100%;
	padding: 0 20px;
}

#hero h1 {
	font-size: 3em;
	margin-bottom: 20px;
	color: #fff;
	text-shadow: 0 0 6px#0a64b7;
}

#hero p {
	font-size: 1.3em;
	margin-bottom: 30px;
	text-shadow: 0 0 6px#0a64b7;
}

@media (max-width: 768px) {
	#hero {
		background-attachment: scroll;
		height: auto;
		padding: 140px 15px 120px;
		scroll-margin-top: 90px;
	}

	#hero h2 {
		font-size: 2em;
	}
}

/* ===========================
   BUTTONS
=========================== */
.btn {
	background: #fff;
	color: #0a64b7;
	padding: 12px 28px;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	transition: 0.3s;
	display: inline-block;
	margin-bottom: 10px;
}

.btn:hover {
	background: #e6e6e6;
}

.btn-call {
	background: #0a64b7;
	color: #fff;
	margin-top: 20px;
	padding: 12px 28px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
	transition: 0.3s;
	display: inline-block;
}

.btn-call:hover {
	background: #084e8c;
}

/* ===========================
   SECTIONS
=========================== */
section {
	padding: 80px 20px;
	max-width: 1100px;
	margin: auto;
	scroll-margin-top: 70px;
}

section h2 {
	text-align: center;
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.card {
	background: linear-gradient(180deg, #ffffff, #f5f8ff);
	border-radius: 16px;
	padding: 35px 25px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transition: 0.35s ease;
	border: 1px solid #dce8fb;
	position: relative;
	overflow: hidden;
}

.card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: linear-gradient(90deg, #0a64b7, #4aa7ff);
}

.card .icon {
	color: #0a64b7;
	margin-bottom: 15px;
}

.card h3 {
	color: #0a64b7;
	margin-bottom: 10px;
	font-size: 1.4em;
	font-weight: 700;
}

#travaux img {
	width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
	transition: 0.3s;
}

.service-category {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: linear-gradient(180deg, #ffffff, #f5f8ff);
	border-radius: 16px;
	padding: 30px 25px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transition: 0.35s ease;
	border: 1px solid #dce8fb;
	margin-bottom: 30px;
}

.service-category:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.service-category .icon {
	margin-bottom: 15px;
	color: #0a64b7;
}

.service-category h3 {
	color: #0a64b7;
	margin-bottom: 15px;
	font-size: 1.6em;
}

.service-category ul {
	list-style: disc inside;
	font-size: 1.1em;
	line-height: 1.7;
	padding-left: 0;
}

.service-category ul li {
	margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 900px) {
	.service-category {
		align-items: center;
		text-align: center;
	}

	.service-category .icon {
		margin-bottom: 10px;
	}
}

/* ABOUT */
#about {
	padding: 80px 20px;
	max-width: 1200px;
	margin: 80px auto;
}

.about-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.about-image img {
	width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.about-text h2 {
	font-size: 2.3em;
	color: #0a64b7;
	margin-bottom: 20px;
}

.about-text p {
	font-size: 1.1em;
	margin-bottom: 25px;
	line-height: 1.7;
}

.about-features {
	list-style: none;
	font-size: 1.1em;
	line-height: 1.8;
	margin-bottom: 30px;
}

.about-features li {
	padding-left: 5px;
}

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

	.about-image img {
		max-width: 100%;
		margin: 0 auto;
	}
}

/* TESTIMONIALS */
#testimonials {
	background: #f8faff;
	border-radius: 20px;
	text-align: center;
}

.testimonial {
	background: #fff;
	padding: 25px;
	max-width: 600px;
	margin: 20px auto;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial p {
	font-style: italic;
}

/* CONTACT */
#contact {
	max-width: 1100px;
	margin: 80px auto;
	text-align: center;
}

h2 {
	font-size: 2.2em;
	margin-bottom: 25px;
	color: #0a64b7;
}

#contact form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	background: #fff;
	padding: 35px;
	border-radius: 14px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
	border-top: 6px solid #0a64b7;
}

.field {
	position: relative;
	display: flex;
	align-items: center;
}

.field .icon {
	position: absolute;
	top: 9px;
	left: 12px;
	font-size: 1.2em;
	opacity: 0.6;
}

.field input,
.field textarea {
	width: 100%;
	padding: 14px 16px 14px 40px;
	border: 1px solid #cfd7df;
	border-radius: 8px;
	font-size: 1em;
	background: #f7faff;
	transition: 0.3s;
	font-family: inherit;
}

textarea {
	resize: vertical;
}

.field input:focus,
.field textarea:focus {
	border-color: #0a64b7;
	box-shadow: 0 0 6px rgba(10, 100, 183, 0.25);
	background: #fff;
	outline: none;
}

.map-container {
	margin-top: 40px;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
	width: 100%;
	height: 320px;
	border: none;
}

/* ----- Section Contact ----- */

#contact {
    padding: 80px 20px;
    background: #f8faff;
		border-radius: 20px;
    text-align: center;
}

#contact h2 {
    margin-bottom: 20px;
    font-size: 2.2em;
}

.contact-intro {
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}

.contact-intro .accent {
    color: #0a64b7;
    font-weight: bold;
}

/* Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-form .field {
    position: relative;
}

.contact-form .icon {
    position: absolute;
    left: 15px;
    top: 25px;
    transform: translateY(-50%);
    opacity: 0.7;
    font-size: 1.1em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px 14px 45px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #1188e6;
    box-shadow: 0 0 8px rgba(17, 136, 230, 0.2);
}
#contact button {
	background: linear-gradient(135deg, #0a64b7, #1188e6);
	color: #fff;
	padding: 14px 20px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: bold;
	font-size: 1.1em;
	transition: 0.3s;
}
/* RGPD */
.contact-form .rgpd {
    font-size: 0.85em;
    color: #777;
    text-align: left;
    margin-top: -5px;
    margin-bottom: 15px;
}

/* Map */
.map-container {
    margin-top: 40px;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 600px) {
    #contact {
        padding: 60px 15px;
    }

    .contact-intro {
        font-size: 1em;
    }

    .map-container iframe {
        height: 260px;
    }
}


/* Bouton flottant d'appel */
.call-floating {
	position: fixed;
	bottom: 25px;
	right: 25px;
	width: 60px;
	height: 60px;
	/* background: linear-gradient(135deg, #0a64b7, #0d7ee0); */
	background: linear-gradient(135deg, #f6463d, #E01A10);
	color: #fff;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
	z-index: 9999;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.call-floating i {
	font-size: 26px;
}

.call-floating:hover {
	transform: scale(1.12);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
	.call-floating {
		width: 52px;
		height: 52px;
		bottom: 18px;
		right: 18px;
	}

	.call-floating i {
		font-size: 22px;
	}
}

/* FOOTER */
footer {
	background: linear-gradient(135deg, #0a64b7, #084e8c);
	color: #fff;
	padding: 60px 20px 25px;
	margin-top: 80px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	max-width: 1200px;
	margin: auto;
	text-align: left;
}

.footer-content h3,
.footer-content h4 {
	margin-bottom: 10px;
}

.footer-bottom {
	text-align: center;
	margin-top: 30px;
	opacity: 0.8;
}

footer a {
	color: #fff;
	text-decoration: none;
	transition: 0.3s;
}

/* ANIMATION REVEAL */
.reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: 0.7s ease;
}

.reveal.revealed {
	opacity: 1;
	transform: translateY(0);
}

/* MOBILE FIXES */
@media (max-width: 600px) {
	.field .icon {
		left: 10px;
	}

	.field input,
	.field textarea {
		padding-left: 38px;
	}
}