/* Style global */
*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
}

section[id] {
	scroll-margin-top: 100px;
}
/*********************************************/
/*               HEADER – DESKTOP            */
/*********************************************/
.header {
	width: 100%;
	padding: 14px 40px;
	background: transparent;
	position: relative;
	z-index: 20;
}

.header-container {
	max-width: 1300px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* LOGO desktop */
.logo-web {
	display: block;
	height: 80px;
}

.logo-mobile {
	display: none;
}

/* HEADER RIGHT Desktop */
.header-right {
	display: flex;
	align-items: center;
	gap: 18px;
}

/* Bouton connexion Desktop */
.btn-login {
	background: #e9302a;
	color: white;
	padding: 10px 22px;
	border-radius: 30px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

/* Menu Desktop visible */
.nav-collapse {
	display: flex !important;
}

.nav-collapse ul {
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
}

.nav-collapse li {
	list-style: none;
}

.nav-collapse a {
	text-decoration: none;
	color: #222;
	font-size: 16px;
	font-weight: 600;
}

/* Hamburger caché sur Desktop */
.hamburger {
	display: none;
}

/*********************************************/
/*                 HEADER MOBILE             */
/*********************************************/
@media ( max-width : 768px) {
	.header {
		padding: 12px 20px;
	}
	.header-container {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	/* LOGO mobile */
	.logo-web {
		display: none;
	}
	.logo-mobile {
		display: block;
		height: 46px;
	}

	/* HEADER RIGHT MOBILE */
	.header-right {
		display: flex;
		align-items: center;
		gap: 12px; /* 👉 espace correct entre bouton & hamburger */
	}

	/* Bouton Se connecter MOBILE */
	.btn-login {
		padding: 8px 16px;
		font-size: 14px;
		border-radius: 25px;
		white-space: nowrap;
	}

	/* Hamburger uniquement mobile */
	.hamburger {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 26px;
		height: 20px;
		background: none;
		border: none;
		padding: 0;
		cursor: pointer;
	}
	.hamburger span {
		height: 3px;
		width: 100%;
		background: #e9302a;
		border-radius: 2px;
	}

	/* Masquer le menu au chargement */
	.nav-collapse {
		display: none !important; /* 👈 FORCE bootstrap à obéir */
		width: 100%;
		background: white;
		position: absolute;
		top: 100%;
		left: 0;
		padding: 15px 0;
		border-bottom: 1px solid #eee;
		z-index: 20;
	}
	.nav-collapse.show {
		display: block !important;
		/* 👈 affiché uniquement si JS ajoute "show" */
	}
	.nav-collapse ul {
		display: block;
		padding: 0;
		margin: 0;
	}
	.nav-collapse li {
		padding: 14px 20px;
		border-bottom: 1px solid #f1f1f1;
	}
	.nav-collapse a {
		display: block;
		width: 100%;
		color: #222;
		font-size: 16px;
		text-decoration: none;
	}
	.nav-collapse li:last-child {
		border-bottom: none;
	}
}

/*********************************************/
/*             HEADER STICKY GLOBAL          */
/*********************************************/
.header {
	position: sticky; /* Rend le header collant */
	top: 0; /* Toujours collé en haut */
	z-index: 999; /* Par-dessus tout, important pour mobile */
	background: #ffffff; /* Fond blanc pour la lisibilité */
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Ombre légère type SaaS */
	transition: padding 0.25s ease, box-shadow 0.25s ease;
}

.header.shrink {
	padding-top: 6px !important;
	padding-bottom: 6px !important;
}
/* SECTION HERO */
.hero {
	width: 100%;
	padding: 80px 20px 100px 20px;
	background: linear-gradient(180deg, #ffffff 0%, #ffeaea 100%);
	text-align: center;
}

/* CONTENU */
.hero-content {
	max-width: 340px;
	margin: auto;
}

/* TITRE */
.hero h1 {
	font-size: 28px;
	color: #2b2628;
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;
	margin-bottom: 20px;
}

/* PARAGRAPHE */
.hero p {
	font-size: 16px;
	color: #2b2628;
	font-family: 'Open Sans', sans-serif;
	font-weight: 500;
	line-height: 1.4;
	margin-bottom: 40px;
}

/* CTA */
.cta {
	display: inline-block;
	background: #e9302a; /* ton rouge eDary */
	color: white;
	padding: 14px 24px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: 0.2s ease;
}

.cta:hover {
	background: #c52924;
}

/* RESPONSIVE MOBILE */
@media ( max-width : 768px) {
	.hero {
		padding: 60px 20px 80px 20px;
	}
	.hero h1 {
		font-size: 24px;
	}
	.hero p {
		font-size: 14px;
	}
}
/* SECTION PREUVE SOCIALE */
.social-proof {
	width: 100%;
	background: #ffffff;
	padding: 60px 20px 60px 20px;
	text-align: center;
	/* transition douce hero → section */
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	margin-top: -10px; /* rapproche légèrement les sections */
}

.social-wrapper {
	max-width: 900px;
	margin: auto;
}

/* TITRE PRINCIPAL */
.social-proof h2 {
	font-size: 24px;
	font-family: 'Open Sans', sans-serif;
	color: #2b2628;
	font-weight: 700;
	margin-bottom: 10px;
}

/* SOUS-TITRE */
.social-proof .subtitle {
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
	color: #2b2628;
	margin-bottom: 35px;
}

/* GRID DES CHIFFRES */
.stats-grid {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

/* BOÎTE CHIFFRE */
.stat-box {
	background: linear-gradient(180deg, #ffffff 0%, #ffeaea 100%);
	padding: 20px 25px;
	border-radius: 12px;
	min-width: 140px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* VALEUR */
.stat-value {
	display: block;
	font-size: 26px;
	font-weight: 700;
	font-family: 'Open Sans', sans-serif;
	color: #e9302a;
	margin-bottom: 8px;
}

/* LABEL */
.stat-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #2b2628;
	font-family: 'Open Sans', sans-serif;
}

/* MINI TEMOIGNAGE */
.mini-testimonial {
	max-width: 600px;
	margin: auto;
	font-family: 'Open Sans', sans-serif;
	color: #2b2628;
}

.mini-testimonial p {
	margin: 10px 0;
	font-size: 15px;
}

.mini-testimonial .author {
	font-size: 14px;
	opacity: 0.8;
}

/* RESPONSIVE MOBILE */
@media ( max-width : 768px) {
	.social-proof {
		padding: 50px 20px 60px 20px;
	}
	.social-proof h2 {
		font-size: 20px;
	}
	.subtitle {
		font-size: 14px;
	}
	.stat-box {
		min-width: 120px;
		padding: 18px;
	}
	.stat-value {
		font-size: 22px;
	}
	.stat-label {
		font-size: 13px;
	}
}
/* SECTION COMMENT CA MARCHE */
.hiw {
	width: 100%;
	background: #fafafa;
	padding: 70px 20px;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	text-align: center;
}

.hiw-wrapper {
	max-width: 1050px;
	margin: auto;
}

.hiw h2 {
	font-size: 24px;
	font-family: 'Open Sans', sans-serif;
	color: #2b2628;
	font-weight: 700;
	margin-bottom: 10px;
}

.hiw-subtitle {
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
	color: #2b2628;
	opacity: 0.9;
	margin-bottom: 45px;
}

/* GRID PRINCIPALE */
.hiw-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 35px;
}

.hiw-box {
	background: linear-gradient(180deg, #ffffff 0%, #ffeaea 100%);
	padding: 25px 20px;
	border-radius: 14px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hiw-box img {
	width: 90%;
	max-width: 220px;
	margin-bottom: 18px;
	border-radius: 8px;
}

.hiw-box h3 {
	font-size: 18px;
	font-family: 'Open Sans', sans-serif;
	color: #e9302a;
	font-weight: 700;
	margin-bottom: 10px;
}

.hiw-box p {
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
	color: #2b2628;
	line-height: 1.5;
	max-width: 260px;
	margin: auto;
}

/* RESPONSIVE */
@media ( max-width : 900px) {
	.hiw-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media ( max-width : 600px) {
	.hiw-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}
	.hiw h2 {
		font-size: 20px;
	}
	.hiw-subtitle {
		font-size: 14px;
	}
	.hiw-box img {
		width: 100%;
	}
}
/* SECTION TEMOIGNAGES */
.testimonials {
	width: 100%;
	background: #ffffff;
	padding: 70px 20px;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	text-align: center;
}

.testimonials-wrapper {
	max-width: 1100px;
	margin: auto;
}

/* TITRE */
.testimonials h2 {
	font-size: 24px;
	font-weight: 700;
	font-family: 'Open Sans', sans-serif;
	color: #2b2628;
	margin-bottom: 45px;
	text-transform: uppercase;
}

/* GRID */
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

/* BOX TEMOIGNAGE */
.testimonial-box {
	background: linear-gradient(180deg, #ffffff 0%, #ffeaea 100%);
	padding: 25px 25px 28px 25px;
	border-radius: 14px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
	text-align: center;
}

/* AUTEUR */
.testimonial-author {
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	color: #e9302a;
	margin-bottom: 15px;
	font-size: 15px;
}

/* TEXTE */
.testimonial-text {
	font-family: 'Open Sans', sans-serif;
	font-style: italic;
	color: #2b2628;
	font-size: 14px;
	line-height: 1.6;
}

/* RESPONSIVE */
@media ( max-width : 900px) {
	.testimonials-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media ( max-width : 600px) {
	.testimonials-grid {
		grid-template-columns: 1fr;
	}
	.testimonials h2 {
		font-size: 20px;
	}
}
/* SECTION POURQUOI UTILISER EDARY */
.why-edary {
	width: 100%;
	background: #fafafa;
	padding: 70px 20px;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	text-align: center;
}

.why-wrapper {
	max-width: 1100px;
	margin: auto;
}

.why-edary h2 {
	font-size: 24px;
	font-weight: 700;
	font-family: 'Open Sans', sans-serif;
	color: #2b2628;
	margin-bottom: 10px;
}

.why-subtitle {
	font-size: 16px;
	color: #2b2628;
	opacity: 0.9;
	font-family: 'Open Sans', sans-serif;
	margin-bottom: 45px;
}

/* GRID */
.why-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 35px;
}

/* BOX */
.why-box {
	background: linear-gradient(180deg, #ffffff 0%, #ffeaea 100%);
	padding: 28px 22px;
	border-radius: 14px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	text-align: center;
}

.why-box img {
	width: 60px;
	height: auto;
	margin-bottom: 20px;
}

.why-box h3 {
	font-size: 17px;
	color: #e9302a;
	font-weight: 700;
	font-family: 'Open Sans', sans-serif;
	margin-bottom: 10px;
}

.why-box p {
	font-size: 14px;
	color: #2b2628;
	font-family: 'Open Sans', sans-serif;
	line-height: 1.5;
}

/* RESPONSIVE */
@media ( max-width : 900px) {
	.why-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
	}
}

@media ( max-width : 600px) {
	.why-grid {
		grid-template-columns: 1fr;
	}
	.why-edary h2 {
		font-size: 20px;
	}
	.why-subtitle {
		font-size: 14px;
	}
	.why-box img {
		width: 55px;
	}
}
/* SECTION TARIFS */
.pricing-section {
	width: 100%;
	background: #ffffff;
	padding: 70px 20px;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	text-align: center;
}

.pricing-wrapper {
	max-width: 900px;
	margin: auto;
}

.pricing-section h2 {
	font-size: 26px;
	font-weight: 700;
	color: #2b2628;
	margin-bottom: 10px;
}

.pricing-subtitle {
	font-size: 16px;
	color: #2b2628;
	opacity: 0.9;
	margin-bottom: 35px;
}

/* CALCULATEUR */
.pricing-calculator {
	background: #fff4f4;
	border: 1px solid #ffd2d2;
	padding: 25px;
	border-radius: 12px;
	margin-bottom: 35px;
}

.pricing-calculator label {
	font-size: 15px;
	font-weight: 600;
	display: block;
	margin-bottom: 10px;
}

.pricing-calculator input {
	width: 140px;
	padding: 10px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 8px;
	margin-bottom: 15px;
}

.pricing-calculator button {
	padding: 12px 22px;
	background: #e9302a;
	border: none;
	border-radius: 8px;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	transition: 0.2s;
}

.pricing-calculator button:hover {
	opacity: 0.9;
}

.calc-result {
	margin-top: 15px;
	font-size: 16px;
	font-weight: 600;
	color: #2b2628;
}

/* BOX UNIQUE */
.single-box {
	background: linear-gradient(180deg, #ffffff 0%, #ffeaea 100%);
	padding: 32px 25px;
	border-radius: 14px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	margin-bottom: 30px;
}

.single-box h3 {
	font-size: 20px;
	color: #e9302a;
	font-weight: 700;
	margin-bottom: 20px;
}

/* TIERS */
.pricing-tiers {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.tier {
	display: flex;
	justify-content: space-between;
	font-size: 15px;
	background: #fff;
	padding: 12px 18px;
	border-radius: 8px;
	border: 1px solid #f1caca;
}

.tier strong {
	color: #e9302a;
	font-weight: 700;
}

/* BUTTON */
.pricing-btn {
	display: inline-block;
	padding: 13px 28px;
	border: 2px solid #e9302a;
	border-radius: 30px;
	font-size: 15px;
	font-weight: 600;
	color: #e9302a;
	text-decoration: none;
	transition: 0.2s;
}

.pricing-btn:hover {
	background: #e9302a;
	color: #fff;
}

/* RESPONSIVE */
@media ( max-width : 600px) {
	.pricing-section h2 {
		font-size: 22px;
	}
	.pricing-subtitle {
		font-size: 14px;
	}
	.tier {
		font-size: 14px;
	}
}
/* SECTION SUIVEZ-NOUS */
.follow-us {
	background: #fafafa;
	padding: 45px 20px;
	text-align: center;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.follow-wrapper {
	max-width: 1100px;
	margin: auto;
}

.follow-us h2 {
	font-size: 22px;
	font-weight: 700;
	color: #2b2628;
	font-family: 'Open Sans', sans-serif;
	margin-bottom: 25px;
}

/* ICONES */
.follow-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 25px;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.follow-icons .icon svg {
	transition: transform 0.2s, opacity 0.2s;
	cursor: pointer;
}

.follow-icons .icon:hover svg {
	transform: translateY(-3px);
	opacity: 0.8;
}

/* TEXTE INFO SUPPORT */
.support-info {
	font-size: 14px;
	color: #555;
	margin-bottom: 18px;
	font-family: 'Open Sans', sans-serif;
}

/* CTA ROW */
.support-cta-row {
	display: flex;
	justify-content: center;
	gap: 18px;
	flex-wrap: wrap;
}

/* CTA WHATSAPP */
.whatsapp-cta {
	display: inline-block;
	background: #25D366;
	color: #fff;
	padding: 12px 26px;
	border-radius: 30px;
	font-size: 15px;
	font-weight: 600;
	font-family: 'Open Sans', sans-serif;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
}

.whatsapp-cta:hover {
	background: #1eb656;
	transform: translateY(-2px);
}

/* CTA EMAIL */
.email-cta {
	display: inline-block;
	background: #e9302a;
	color: #fff;
	padding: 12px 26px;
	border-radius: 30px;
	font-size: 15px;
	font-weight: 600;
	font-family: 'Open Sans', sans-serif;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
}

.email-cta:hover {
	background: #c02723;
	transform: translateY(-2px);
}

/* RESPONSIVE */
@media ( max-width : 600px) {
	.follow-us h2 {
		font-size: 20px;
	}
	.support-info {
		font-size: 13px;
	}
	.whatsapp-cta, .email-cta {
		width: 100%;
		text-align: center;
	}
}
/* CTA FINAL */
.final-cta {
	background: #fafafa;
	padding: 60px 20px;
	text-align: center;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.final-cta-wrapper {
	max-width: 900px;
	margin: auto;
}

.final-cta h2 {
	font-size: 24px;
	font-weight: 700;
	color: #2b2628;
	margin-bottom: 12px;
}

.final-cta p {
	font-size: 15px;
	color: #444;
	margin-bottom: 25px;
}

.final-cta-btn {
	display: inline-block;
	background: #e9302a;
	color: #fff;
	padding: 14px 34px;
	border-radius: 30px;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
	transition: 0.2s;
}

.final-cta-btn:hover {
	background: #c62823;
}

/* CTA STICKY MOBILE */
.cta-sticky-mobile {
    display: none; /* Desktop invisible */
}

@media (max-width: 768px) {
    .cta-sticky-mobile {
        position: fixed;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);

        background: #e9302a;
        color: #ffffff;

        padding: 14px 30px;
        border-radius: 30px;

        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap; /* Évite que le texte se coupe */

        z-index: 9999;
        box-shadow: 0 4px 10px rgba(0,0,0,0.25);

        display: inline-block; /* affichage correct */
        max-width: 90%;        /* occupe assez de largeur */
        text-align: center;    /* centre le texte */

        animation: fadeIn 0.4s ease;
    }

    /* marges pour ne PAS que le bouton masque le bas de page */
    body {
        padding-bottom: 80px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, 15px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}
/* SECTION TELECHARGER L'APP */
.download-app {
	background: #ffffff;
	padding: 60px 20px;
	text-align: center;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.download-wrapper {
	max-width: 1100px;
	margin: auto;
}

.download-app h2 {
	font-size: 22px;
	font-weight: 700;
	font-family: 'Open Sans', sans-serif;
	color: #2b2628;
	margin-bottom: 10px;
}

.download-subtitle {
	font-size: 15px;
	color: #555;
	margin-bottom: 25px;
}

.store-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.store-btn img {
	height: 48px;
	transition: transform 0.2s, opacity 0.2s;
}

.store-btn:hover img {
	transform: translateY(-3px);
	opacity: 0.85;
}

/* FOOTER */
.footer {
	background: #111;
	padding: 40px 20px 25px;
	color: #fff;
	text-align: center;
}

.footer-wrapper {
	max-width: 1100px;
	margin: auto;
}

.footer-links {
	margin-bottom: 25px;
}

.footer-links a {
	color: #ddd;
	margin: 0 10px;
	font-size: 14px;
	text-decoration: none;
	transition: opacity 0.2s;
}

.footer-links a:hover {
	opacity: 0.7;
}

.footer-copy p {
	font-size: 13px;
	color: #aaa;
	margin: 4px 0;
}

/* RESPONSIVE */
@media ( max-width : 600px) {
	.store-btn img {
		height: 42px;
	}
	.footer-links a {
		display: block;
		margin: 6px 0;
		font-size: 14px;
	}
}
/* Container */
.floating-buttons {
	position: fixed;
	bottom: 25px;
	right: 25px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	z-index: 9999;
}

/* Boutons */
.btn-float {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: white;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
	display: flex;
	justify-content: center;
	align-items: center;
	transition: transform .2s ease;
}

.btn-float:hover {
	transform: scale(1.1);
}

/* Spécifique couleurs */
.btn-float.whatsapp {
	background-color: #25D366;
}

.btn-float.messenger {
	background-color: #0084FF;
}

/* Icônes */
.btn-float img {
	width: 28px;
	height: 28px;
}

/* Masquer sur mobile (si tu veux éviter l’encombrement) */
@media ( max-width : 768px) {
	.floating-buttons {
		display: none; /* mobile → tu as déjà ton CTA sticky */
	}
}
