.before-after {
    padding: 2rem 0;
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
}

.before-after h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.image-row {
    display: flex;
    justify-content: center;
    gap: 1rem; /* Espace entre les images */
}

.image-box {
    text-align: center;
    max-width: 600px;
}

.image-box img {
    width: 100%;
    height: auto;
    border: 5px solid #ddd; /* Bordure grise claire */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre douce */
    transition: transform 0.3s ease;
}

.image-box img:hover {
    transform: scale(1.05); /* Zoom léger au survol */
}

.image-label {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #555;
    font-weight: bold;
}


:root {
	--primary: #1e40af;
	--primary-light: #3b82f6;
	--secondary: #0f172a;
	--accent: #22c55e;
	--background: #f8fafc;
	--text: #1e293b;
	--text-light: #64748b;
	--border: #e2e8f0;
	--shadow: rgba(0, 0, 0, 0.1);
}

/* Reset CSS */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Styles de base */
body {
	font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
	line-height: 1.6;
	color: var(--text);
	background: var(--background);
}

img {
	max-width: 100%;
	height: auto;
}

/* Layout et conteneurs */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.grid {
	display: grid;
	gap: 2rem;
	margin: 2rem 0;
}

.grid-2 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* En-tête et navigation */
.hero {
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	color: white;
	padding: 6rem 2rem;
	position: relative;
	overflow: hidden;
}

.hero::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("/api/placeholder/1920/1080") center/cover;
	opacity: 0.1;
	z-index: 1;
}

.hero-content {
    display: flex;
    flex-wrap: wrap; /* S'adapte aux petits écrans */
    align-items: center;
    justify-content: center; /* Centre les éléments horizontalement */
    gap: 2rem;
    text-align: center; /* Applique aux enfants par défaut */
}

.hero-text {
    flex: 1;
    max-width: 600px; /* Limite la largeur pour un meilleur rendu */
    color: white;
    text-align: left; /* Aligne le texte à gauche */
}

.hero-image {
    flex: 1;
    max-width: 500px; /* Limite la largeur de l'image */
    text-align: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow); /* Ombre douce */
    border: 5px solid var(--border); /* Bordure harmonieuse */
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column; /* Empile texte et image */
    }

    .hero-image {
        max-width: 100%; /* Image plus grande sur petits écrans */
    }

    .hero-text {
        text-align: center; /* Recentre le texte sur petits écrans */
    }
}



.hero h1 {
	font-size: 2.5rem;
	max-width: 800px;
	margin-bottom: 1.5rem;
	line-height: 1.2;
}

.hero p {
	font-size: 1.2rem;
	max-width: 600px;
	margin-bottom: 2rem;
	opacity: 0.9;
}

/* Bouton d'appel et badges */
.phone-cta {
	position: relative; /* Assurez-vous que le bouton a une position propre */
    z-index: 15; /* Assurez-vous que le lien est au-dessus des autres éléments */
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    animation: pulse 2s infinite;
}

/* Réduire la marge à 20% pour les écrans moyens (tablettes) */
@media screen and (max-width: 1024px) {
    .phone-cta {
        margin-left: 15%;
    }
}

/* Réduire encore la marge pour les écrans plus petits (téléphones) */
@media screen and (max-width: 768px) {
    .phone-cta {
        margin-left: 7%;
    }
}

/* Pour les écrans très petits (téléphones mobiles) */
@media screen and (max-width: 480px) {
    .phone-cta {
        margin-left: 0%;
        font-size: 1.2rem; /* Optionnel : ajuster la taille du texte sur les petits écrans */
    }
}



@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.05); }
	100% { transform: scale(1); }
}

.phone-cta:hover {
	transform: translateY(-2px);
	background: #20b355;
}

.location-badge {
	display: inline-block;
	padding: 0.5rem 1rem;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	margin: 0.5rem;
	font-size: 0.9rem;
}

/* Sections et cartes */
.section {
	padding: 5rem 2rem;
}

.section-light {
	background: white;
}

.section-dark {
	background: var(--secondary);
	color: white;
}

.section-title {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 3rem;
	color: inherit;
}

.service-card {
	background: white;
	border-radius: 15px;
	padding: 2rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px var(--shadow);
	height: 100%;
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
	color: var(--primary);
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.service-card ul {
	list-style: none;
	margin: 1rem 0;
}

.service-card li {
	margin-bottom: 0.5rem;
	padding-left: 1.5rem;
	position: relative;
}

.service-card li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--accent);
}

@media screen and (max-width: 768px) {
    .pricing-table th,
    .pricing-table td {
        font-size: 14px;
        padding: 8px;
    }

    .pricing-table td {
        display: block;
        width: 100%;
        text-align: left;
        border: none;
        padding: 10px 0;
    }

    .pricing-table th {
        display: none;
    }

    .pricing-table tr {
        border-bottom: 1px solid #ddd;
        margin-bottom: 10px;
    }

    .pricing-table td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #555;
        display: block;
    }

    .pricing-table td:nth-child(1)::before {
        content: "Type de Véhicule: ";
    }
    .pricing-table td:nth-child(2)::before {
        content: "Nettoyage Intérieur: ";
    }
    .pricing-table td:nth-child(3)::before {
        content: "Nettoyage Complet: ";
    }
    .pricing-table td:nth-child(4)::before {
        content: "Rénovation Premium: ";
    }
	
	
}

@media (max-width: 768px) {
    .pricing-table tbody tr td:first-child {
		background-color: var(--primary-light); /* Couleur de fond */
		color: white; /* Texte en blanc */
		font-weight: bold; /* Mettre en gras pour ressortir */
	}
}

/* Grille tarifaire */
.pricing-table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 4px 20px var(--shadow);
}

.pricing-table th,
.pricing-table td {
	padding: 1rem;
	text-align: center;
	border: 1px solid var(--border);
}

.pricing-table th {
	background: var(--primary);
	color: white;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.9rem;
}

.pricing-table tr:nth-child(even) {
	background: var(--background);
}

.pricing-table tr:hover {
	background: #f1f5f9;
}

.contact-required {
	font-style: italic;
	color: var(--text-light);
}

/* Formulaire de devis */
.devis-form {
	background: white;
	border-radius: 20px;
	padding: 3rem;
	box-shadow: 0 10px 40px var(--shadow);
	max-width: 800px;
	margin: 0 auto;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.form-input {
	width: 100%;
	padding: 1rem;
	border: 2px solid var(--border);
	border-radius: 10px;
	transition: all 0.3s ease;
	font-size: 1rem;
}

.form-input:focus {
	outline: none;
	border-color: var(--primary-light);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea.form-input {
	min-height: 120px;
	resize: vertical;
}

.submit-btn {
	background: var(--primary);
	color: white;
	padding: 1rem 2rem;
	border: none;
	border-radius: 10px;
	font-size: 1.1rem;
	font-weight: bold;
	width: 100%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.submit-btn:hover {
	background: var(--primary-light);
	transform: translateY(-2px);
}

/* Avantages */
.advantage-card {
	text-align: center;
	padding: 2rem;
	transition: all 0.3s ease;
}

.advantage-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	color: var(--primary);
}

/* Footer */
.footer {
	background: var(--secondary);
	color: white;
	padding: 3rem 2rem;
	text-align: center;
}

.footer p {
	margin-bottom: 1rem;
}

.footer-phone {
	font-size: 1.5rem;
	font-weight: bold;
	margin: 1rem 0;
}

.footer-copyright {
	color: #94a3b8;
	font-size: 0.9rem;
}

/* Utilitaires */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* Media Queries */
@media (max-width: 768px) {
	.hero {
		padding: 4rem 1rem;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.phone-cta {
		font-size: 1.2rem;
		padding: 0.8rem 1.5rem;
	}

	.devis-form {
		padding: 1.5rem;
	}

	.pricing-table {
		font-size: 0.9rem;
	}

	.service-card {
		padding: 1.5rem;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 1rem;
	}

	.hero h1 {
		font-size: 1.8rem;
	}

	.section {
		padding: 3rem 1rem;
	}

	.location-badge {
		font-size: 0.8rem;
		padding: 0.4rem 0.8rem;
		margin: 0.3rem;
	}
}

.footer-links {
    margin-top: 1rem;
    font-size: 0.8rem; /* Taille réduite */
    color: #94a3b8; /* Couleur discrète */
    text-align: center;
}

.footer-links a {
    color: #94a3b8; /* Liens harmonisés avec le texte */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light); /* Change la couleur au survol */
}

.footer-links a:not(:last-child)::after {
    content: "|";
    margin: 0 0.5rem;
    color: #94a3b8; /* Séparateurs discrets */
}

.before-after {
    padding: 2rem 0;
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
}

.before-after h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.image-row {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.image-box {
    flex: 1;
    text-align: center;
}

.image-box img {
    width: 100%;
    height: auto;
    border: 5px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-box img:hover {
    transform: scale(1.05);
}

.content-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    font-size: 1rem;
    color: #555;
}

.image-label {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #555;
    font-weight: bold;
}

/* Section de tarification */
.pricing-section {
    padding: 4rem 2rem;
    background-color: #f8fafc;
}

.pricing-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 300px; /* Make the cards responsive */
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.pricing-card li {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #555;
}

.pricing-card li strong {
    color: var(--primary);
}

.pricing-card p {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent);
    margin-top: 1rem;
}

/* Responsive pour appareils mobiles */
@media (max-width: 768px) {
    .pricing-section {
        padding: 3rem 1rem;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

.phone-link {
    color: white; /* Couleur du texte du lien */
    text-decoration: none; /* Supprime le soulignement */
    font-weight: bold;
}

.phone-link:hover {
    color: #22c55e; /* Couleur au survol */
    text-decoration: underline;
}
