/* ==================== CSS VARIABLES & RESET ==================== */
:root {
    --primary: #1a3a52;
    --accent: #2563eb;
    --light: #f8f9fa;
    --dark: #111827;
    --gray: #000000;
    --avana-gradient: linear-gradient(
        135deg,
        #60a5fa,  /* bleu doux */
        #3b82f6,  /* bleu principal */
        #1e3a8a,  /* bleu profond */
        #a78bfa   /* violet léger subtil */
		#ffea00
		
    );
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(168,85,247,0.12), transparent 30%),
        linear-gradient(135deg, #050816 0%, #0b1020 35%, #111827 70%, #0f172a 100%);
    position: relative;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #f3f4f6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,0.18) 2px, transparent 3px),
        radial-gradient(rgba(96,165,250,0.12) 1.5px, transparent 2.5px),
        radial-gradient(rgba(255,255,255,0.08) 1px, transparent 2px);
    background-size: 180px 180px, 120px 120px, 80px 80px;
    background-position: 0 0, 40px 60px, 80px 120px;
    opacity: 0.55;
    pointer-events: none;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.85;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    letter-spacing: 0.5px;
}

.logo-text p {
    font-size: 10px;
    color: var(--accent);
    margin: 0;
    font-weight: 600;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}


.cta-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.cta-button:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    width: 45px;
    height: 45px;
}

.logo-text h2 {
    font-size: 18px;
    font-weight: 700;
    color: #3399FF;
    margin: 0;
}

.logo-text p {
    font-size: 11px;
    color: #3399FF;
    margin: 0;
}
.logo-link {
    text-decoration: none;
    color: inherit;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #4b5563;
	text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
	text-decoration: none;
    position: relative;
}
.nav-link.active {
    text-decoration: none;
    font-weight: bold;
    color: #2563eb; /* bleu */
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    border-radius: 999px;

    background: linear-gradient(
        135deg,
        #2563eb,
        #22c1c3,
        #38bdf8,
        #34d399,
        #fbbf24,
        #f97316,
        #ec4899,
        #a855f7
    );
}

.nav-link:hover {
    color: #3399FF;
}

.cta-button {
    background: linear-gradient(
		135deg,
		#2563eb,  /* bleu AVANA */
		#22c1c3,  /* cyan premium */
		#38bdf8,  /* bleu clair lumineux */
		#34d399,  /* vert élégant */
		#fbbf24,  /* doré luxe (transition vers soleil) */
		#f97316,  /* orange chaud */
		#ec4899,  /* rose premium */
		#a855f7   /* violet final logo */
	);
    color: black;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(244, 196, 48, 0.3);
	text-decoration: none; /* enlÃ¨ve le soulignement */
    display: inline-block; /* important pour le padding propre */
}

.cta-button:hover {
    background-color: #D4A017;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(244, 196, 48, 0.4);
	text-decoration: none; /* Ã©vite quâ€™il revienne au hover */
}


/* ===================== MOBILE MENU ===================== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    position: relative;
    z-index: 1;
}

.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background-color: var(--primary);
    transition: all 0.3s;
}

.mobile-cta {
    background: linear-gradient(
		135deg,
		#2563eb,  /* bleu AVANA */
		#22c1c3,  /* cyan premium */
		#38bdf8,  /* bleu clair lumineux */
		#34d399,  /* vert élégant */
		#fbbf24,  /* doré luxe (transition vers soleil) */
		#f97316,  /* orange chaud */
		#ec4899,  /* rose premium */
		#a855f7   /* violet final logo */
	);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
}

/* ðŸ”¥ Animation permanente autour du bouton menu */
.mobile-toggle::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 12px;
	background: #3F5EFB;
		background: #3F5EFB;
		background: linear-gradient(
		135deg,
		#2563eb,  /* bleu AVANA */
		#22c1c3,  /* cyan premium */
		#38bdf8,  /* bleu clair lumineux */
		#34d399,  /* vert élégant */
		#fbbf24,  /* doré luxe (transition vers soleil) */
		#f97316,  /* orange chaud */
		#ec4899,  /* rose premium */
		#a855f7   /* violet final logo */
	);
    z-index: -1;
    opacity: 0.6 ;
    animation: pulseMenu 2s infinite;
}

@keyframes pulseMenu {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.mobile-cta {
    	background: linear-gradient(
		135deg,
		#2563eb,  /* bleu AVANA */
		#22c1c3,  /* cyan premium */
		#38bdf8,  /* bleu clair lumineux */
		#34d399,  /* vert élégant */
		#fbbf24,  /* doré luxe (transition vers soleil) */
		#f97316,  /* orange chaud */
		#ec4899,  /* rose premium */
		#a855f7   /* violet final logo */
	);
    color: white;
    padding: 12px;
    border-radius: 8px;
	padding: 6px 12px; /* rÃ©duit un peu la taille */
}
.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1f2937;
    transition: all 0.3s;
}
.mobile-toggle span {
    animation: floatBars 2s ease-in-out infinite;
}

.mobile-toggle span:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile-toggle span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes floatBars {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}
/* ===================== MENU → X ===================== */

.mobile-toggle {
    display: none;
    width: 32px;
    height: 32px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 9999;
}

/* IMPORTANT: reset COMPLET */
.mobile-toggle span {
    position: absolute;
    left: 0;

    width: 25px;
    height: 3px;

    background-color: #1f2937;
    border-radius: 10px;

    transition: 0.35s ease;

    /* ⚠️ SUPPRIME l’animation */
    animation: none !important;
}

/* position des barres */
.mobile-toggle span:nth-child(1) { top: 6px; }
.mobile-toggle span:nth-child(2) { top: 14px; }
.mobile-toggle span:nth-child(3) { top: 22px; }

/* état X */
.mobile-toggle.active span:nth-child(1) {
    top: 14px;
    transform: rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg);
}
/* ==================== SOCIAL SIDEBAR ==================== */
.social-sidebar {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.social-sidebar.visible {
    opacity: 1;
    pointer-events: auto;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==================== HERO SECTION ==================== */
.hero {
    background:
        url("hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 120px 20px 60px;
    text-align: center;
    min-height: 100dvh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

/* ==================== CSS VARIABLES & RESET ==================== */
:root {
    --primary: #1a3a52;
    --accent: #2563eb;
    --light: #f8f9fa;
    --dark: #111827;
    --gray: #000000;
    --avana-gradient: linear-gradient(
        135deg,
        #60a5fa,  /* bleu doux */
        #3b82f6,  /* bleu principal */
        #1e3a8a,  /* bleu profond */
        #a78bfa   /* violet léger subtil */
		#ffea00
		
    );
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.85;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    letter-spacing: 0.5px;
}

.logo-text p {
    font-size: 10px;
    color: var(--accent);
    margin: 0;
    font-weight: 600;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}


.cta-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.cta-button:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    width: 45px;
    height: 45px;
}

.logo-text h2 {
    font-size: 18px;
    font-weight: 700;
    color: #3399FF;
    margin: 0;
}

.logo-text p {
    font-size: 11px;
    color: #3399FF;
    margin: 0;
}
.logo-link {
    text-decoration: none;
    color: inherit;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #4b5563;
	text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
	text-decoration: none;
    position: relative;
}
.nav-link.active {
    text-decoration: none;
    font-weight: bold;
    color: #2563eb; /* bleu */
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    border-radius: 999px;

    background: linear-gradient(
        135deg,
        #2563eb,
        #22c1c3,
        #38bdf8,
        #34d399,
        #fbbf24,
        #f97316,
        #ec4899,
        #a855f7
    );
}

.nav-link:hover {
    color: #3399FF;
}

.cta-button {
    background: linear-gradient(
		135deg,
		#2563eb,  /* bleu AVANA */
		#22c1c3,  /* cyan premium */
		#38bdf8,  /* bleu clair lumineux */
		#34d399,  /* vert élégant */
		#fbbf24,  /* doré luxe (transition vers soleil) */
		#f97316,  /* orange chaud */
		#ec4899,  /* rose premium */
		#a855f7   /* violet final logo */
	);
    color: black;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(244, 196, 48, 0.3);
	text-decoration: none; /* enlÃ¨ve le soulignement */
    display: inline-block; /* important pour le padding propre */
}

.cta-button:hover {
    background-color: #D4A017;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(244, 196, 48, 0.4);
	text-decoration: none; /* Ã©vite quâ€™il revienne au hover */
}


/* ===================== MOBILE MENU ===================== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    position: relative;
    z-index: 1;
}

.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background-color: var(--primary);
    transition: all 0.3s;
}

.mobile-cta {
    background: linear-gradient(
		135deg,
		#2563eb,  /* bleu AVANA */
		#22c1c3,  /* cyan premium */
		#38bdf8,  /* bleu clair lumineux */
		#34d399,  /* vert élégant */
		#fbbf24,  /* doré luxe (transition vers soleil) */
		#f97316,  /* orange chaud */
		#ec4899,  /* rose premium */
		#a855f7   /* violet final logo */
	);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
}

/* ðŸ”¥ Animation permanente autour du bouton menu */
.mobile-toggle::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 12px;
	background: #3F5EFB;
		background: #3F5EFB;
		background: linear-gradient(
		135deg,
		#2563eb,  /* bleu AVANA */
		#22c1c3,  /* cyan premium */
		#38bdf8,  /* bleu clair lumineux */
		#34d399,  /* vert élégant */
		#fbbf24,  /* doré luxe (transition vers soleil) */
		#f97316,  /* orange chaud */
		#ec4899,  /* rose premium */
		#a855f7   /* violet final logo */
	);
    z-index: -1;
    opacity: 0.6 ;
    animation: pulseMenu 2s infinite;
}

@keyframes pulseMenu {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.mobile-cta {
    	background: linear-gradient(
		135deg,
		#2563eb,  /* bleu AVANA */
		#22c1c3,  /* cyan premium */
		#38bdf8,  /* bleu clair lumineux */
		#34d399,  /* vert élégant */
		#fbbf24,  /* doré luxe (transition vers soleil) */
		#f97316,  /* orange chaud */
		#ec4899,  /* rose premium */
		#a855f7   /* violet final logo */
	);
    color: white;
    padding: 12px;
    border-radius: 8px;
	padding: 6px 12px; /* rÃ©duit un peu la taille */
}
.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1f2937;
    transition: all 0.3s;
}
.mobile-toggle span {
    animation: floatBars 2s ease-in-out infinite;
}

.mobile-toggle span:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile-toggle span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes floatBars {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}
/* ==================== SOCIAL SIDEBAR ==================== */
.social-sidebar {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.social-sidebar.visible {
    opacity: 1;
    pointer-events: auto;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==================== HERO SECTION ==================== */
.hero {
    background:
        url("hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 120px 20px 60px;
    text-align: center;
    min-height: 100dvh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}
.hero-badge { /* text arc en ciel*/
    display: inline-block;
    background-color: rgba(212, 165, 116, 0.2);

    background-image: linear-gradient(
        135deg,
        #2563eb,
        #22c1c3,
        #38bdf8,
        #34d399,
        #fbbf24,
        #f97316,
        #ec4899,
        #a855f7
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    padding: 10px 22px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-badge {
    display: inline-block;
    background-color: rgba(212, 165, 116, 0.2);
    color: white;
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    color: white;
}

.hero h1 .highlight {
    color: var(--accent);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
	background: linear-gradient(
		135deg,
		#2563eb,  /* bleu AVANA */
		#22c1c3,  /* cyan premium */
		#38bdf8,  /* bleu clair lumineux */
		#34d399,  /* vert élégant */
		#fbbf24,  /* doré luxe (transition vers soleil) */
		#f97316,  /* orange chaud */
		#ec4899,  /* rose premium */
		#a855f7   /* violet final logo */
	);
    color: black;
    border: none;
    transition: all 0.25s ease;
}


.btn-primary:hover {
    background-color: #c99a6a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
	background: linear-gradient(
		135deg,
		#2563eb,  /* bleu AVANA */
		#22c1c3,  /* cyan premium */
		#38bdf8,  /* bleu clair lumineux */
		#34d399,  /* vert élégant */
		#fbbf24,  /* doré luxe (transition vers soleil) */
		#f97316,  /* orange chaud */
		#ec4899,  /* rose premium */
		#a855f7   /* violet final logo */
	);
    color: black;
    border: none;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 24px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
}

.stat:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.18);
}

.stat h3 {
    font-size: 2.4rem;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 700;
}

.stat p {
    color: rgba(0, 0, 0, 0.99);
    font-weight: 900;
    font-size: 0.95rem;
	font-style: bold
}

/* ==================== COMMON SECTION STYLES ==================== */
section {
    padding: 80px 20px;
}

section h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 16px;
    color: var(--dark);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 60px;
    font-weight: 500;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    padding: 36px 28px;
    border-radius: 10px;
    background-color: white;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.service-card.expandable::after {
    content: '▼';
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 0.7rem;
    color: var(--accent);
    transition: transform 0.3s;
    font-weight: bold;
}

.service-card.expanded::after {
    transform: rotate(180deg);
}

.service-card:hover {
    background-color: #f8f9fa;
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary);
    font-weight: 700;
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.service-details {
    display: none;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
    text-align: left;
    animation: slideDown 0.3s ease-out;
}

.service-card.expanded .service-details {
    display: block;
}

.service-details h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details li {
    color: var(--gray);
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
    font-size: 0.88rem;
    line-height: 1.5;
}

.service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        margin-top: 0;
    }
    to {
        opacity: 1;
        max-height: 300px;
        margin-top: 18px;
    }
}

/* ==================== GLOBAL SECTION ==================== */

.properties {
    background-color: #ffffff;
    padding: 40px 0;
}

/* ==================== FILTER ==================== */
.properties-filter {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 24px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 160px;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e3a8a;
}

.filter-group select,
.filter-group input {
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 0.9rem;
    background-color: white;
    color: #111827;
    transition: all 0.25s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* Reset button */
.btn-reset {
    padding: 11px 18px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    color: #1e3a8a;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.9rem;
}

.btn-reset:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-1px);
}

/* ==================== GRID ==================== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
    margin-bottom: 60px;
}

/* ==================== CARD ==================== */
.property-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* border premium AVANA + bleu immobilier */
.property-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;

    background: linear-gradient(
        135deg,
        #93c5fd,
        #2563eb,
        #1e3a8a
    );

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    pointer-events: none;
}

/* glow AVANA subtil (identité logo) */
.property-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--avana-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.property-card:hover::after {
    opacity: 0.06;
}

/* hover card */
.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(37, 99, 235, 0.15);
}

/* ==================== IMAGE ==================== */
.property-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #f3f4f6;
    transition: transform 0.4s ease;
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

/* ==================== BADGE ==================== */
.property-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e3a8a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
    z-index: 2;
}

/* badge AVANA (nouveau) */
.property-badge.nouveau {
	background: linear-gradient(
		135deg,
		#2563eb,  /* bleu AVANA */
		#22c1c3,  /* cyan premium */
		#38bdf8,  /* bleu clair lumineux */
		#34d399,  /* vert élégant */
		#fbbf24,  /* doré luxe (transition vers soleil) */
		#f97316,  /* orange chaud */
		#ec4899,  /* rose premium */
		#a855f7   /* violet final logo */
	);
    color: blue;
    font-weight: 800;
}
/* ==================== PROPERTY STATUS ==================== */
.property-status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    color: white;
}

.property-status.Disponible {
    background: rgba(22, 163, 74, 0.85);
}

.property-status.Loué {
    background: rgba(245, 158, 11, 0.85);
}

.property-status.Vendu {
    background: rgba(239, 68, 68, 0.85);
}
/* ==================== CONTENT ==================== */
.property-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.property-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}

.property-location {
    color: #64748b;
    font-size: 0.88rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-price {
    font-size: 1.4rem;
    color: #2563eb;
    font-weight: 800;
    margin-bottom: 16px;
}

/* petite touche AVANA sous prix */
.property-price::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 6px;
    border-radius: 10px;
    background: var(--avana-gradient);
    opacity: 0.8;
}

/* ==================== INFOS ==================== */
.property-infos {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    margin-bottom: 14px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.property-info-item,
.property-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #242f40;
    flex: 1;
}

/* Bloc gauche */
.property-info:first-child {
    justify-content: flex-start;
}

/* Bloc du milieu */
.property-info:nth-child(2) {
    justify-content: center;
}

/* Bloc droite */
.property-info:last-child {
    justify-content: flex-end;
}

.property-info-item i,
.property-info i {
    color: #2563eb;
}

/* ==================== DESCRIPTION ==================== */
.property-description-preview,
.property-description {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.6;
    margin-bottom: 18px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== BUTTON ==================== */
.property-card .btn-primary {
    margin-top: auto;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    background: #2563eb;
    color: white;
    transition: all 0.25s ease;
	text-align: center;
}

.property-card .btn-primary:hover {
    background: #1e40af;
    transform: translateY(-1px);
}

/* ==================== CONDITIONS ==================== */
.conditions-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.conditions-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
	margin-bottom: 5px; /* espace entre conditions et equipement */
}
.condition-item {
    padding: 3px 6px;
    font-size: 14px;
    line-height: 1.2; /* lisible */
    margin: 0; /* espace serré entre items */
	margin-bottom: 1px;
    font-weight: bold;
    color: #065f46;
    transition: 0.2s;
    background: transparent;
    border: none;
}
.condition-item:hover {
    background: #d1fae5;
}

.condition-item i {
    color: var(--accent);
    margin-top: 2px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.condition-item span {
    color: var(--dark);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 760px) {

    .properties-filter {
        padding: 18px;
        gap: 14px;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .property-content {
        padding: 20px;
    }

    .property-price {
        font-size: 1.35rem;
    }

    .property-image {
        height: 220px;
    }

    .property-infos {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .disposition-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .properties-filter {
        padding: 16px;
        border-radius: 14px;
    }

    .property-card {
        border-radius: 18px;
    }

    .property-content {
        padding: 18px;
    }

    .property-title {
        font-size: 1.05rem;
    }

    .property-price {
        font-size: 1.25rem;
    }

    .property-image {
        height: 200px;
    }


    .property-info-item {
        font-size: 0.85rem;
    }

    .property-description-preview {
        font-size: 0.88rem;
    }

    .property-card .btn-primary {
        padding: 12px;
        font-size: 0.9rem;
    }

    .disposition-box,
    .conditions-box {
        padding: 18px;
        border-radius: 14px;
    }

}

/* ==================== WHY US SECTION ==================== */
.why-us {
    background-color: var(--light);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.why-us-card {
    padding: 28px;
    background-color: white;
    border-radius: 10px;
    border-left: 3px solid var(--accent);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.why-us-card:hover {
    background-color: rgba(212, 165, 116, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.why-us-card h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--primary);
    font-weight: 700;
}

.why-us-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}
/* ==================== TEAM SECTION ==================== */

.team-section {
    padding: 90px 20px;
    background: linear-gradient(
        135deg,
        #0f172a 0%,
        #1e3a8a 35%,
        #2563eb 70%,
        #38bdf8 100%
    );
}

.team-section h2{
    text-align:center;
    font-size:2.5rem;
    margin-bottom:15px;
    color:white;
}

.team-section .section-subtitle{
    text-align:center;
    color:rgba(255,255,255,0.8);
    margin-bottom:50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* CARD */

.team-card {
    position: relative;
    background: rgba(255,255,255,0.12);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,0.15);
    border-radius: 22px;
    padding: 75px 20px 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    overflow: visible;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(37,99,235,0.25);
	border-color: rgba(255,255,255,0.3);
}

/* IMAGE RONDE */

.team-card img {
    position: absolute;
    top: -25px; /* rentre un peu l'image */
    left: 50%;
    transform: translateX(-50%);
    
    width: 120px;
    height: 120px;

    border-radius: 50%;
    object-fit: cover;

    border: 3px solid #5c90ff;

    background: #e5e7eb;
    box-shadow:
        0 0 0 4px rgba(255,255,255,0.1),
        0 10px 25px rgba(0,0,0,0.25);
}

/* NOM */

.team-card h3 {
    margin-top: 10px;
    font-size: 2rem;
    color: #5c90ff;
    font-weight: 700;
}

/* ROLE */

.team-role {
    color: #c97b63;
    font-weight: 600;
    margin: 12px 0 20px;
    font-size: 1rem;
}

/* TEAM DESCRIPTION */

.team-card p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    font-size: 1rem;
}
.team-desc {
    max-height: 70px;       /* limite la hauteur */
    overflow: hidden;       /* cache le reste */
    transition: all 0.3s ease;
}

/* quand c'est ouvert */
.team-desc.expanded {
    max-height: 500px;      /* grande hauteur */
}

/* TELEPHONE */

.team-phone{
    margin:15px 0;
    font-weight:600;
    color:#111827;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}
.read-more-btn {
    background: none;
    border: none;
    color: #ffb700;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    font-size: 0.9rem;
}

.read-more-btn:hover {
    color: #ffb700;
}

/* ==================== ESTIMATION FORM ==================== */
.estimation-section {
    background: linear-gradient(135deg, var(--primary) 0%, #2a5a7a 100%);
    color: white;
}

.estimation-section h2,
.estimation-section .section-subtitle {
    color: white;
}

.estimation-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.estimation-form {
    max-width: 680px;
    margin: 0 auto;
    background-color: white;
    padding: 36px;
    border-radius: 10px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
    color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    background-color: var(--light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-wrapper {
    background-color: white;
    padding: 36px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info {
    background-color: white;
    padding: 36px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.contact-info h3 {
    margin-bottom: 18px;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.contact-details {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-details p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    background-color: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background-color: white;
    padding: 28px;
    border-radius: 10px;
    border-top: 3px solid var(--accent);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 12px;

}

.testimonial-card p {
    color: var(--gray);
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.author {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 56px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 18px;
    color: var(--accent);
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-socials {
    display: flex;
    gap: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ==================== MODAL ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-gallery {
    order: 1;
}

.modal-body {
    order: 2;
}

.close {
    position: fixed;
    background: red;
    right: 20px;
    top: 20px;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    cursor: pointer;
    z-index: 1000;

    width: 40px;
    height: 40px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    transition: all 0.3s;
    
    /* animation d’attention */
    animation: pulseClose 2.5s infinite;
}

/* hover déjà existant amélioré */
.close:hover {
    color: var(--accent);
    transform: rotate(90deg) scale(1.1);
    background: var(--light);
    animation: none; /* stop animation au hover */
}

/* animation discrète */
@keyframes pulseClose {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0,0,0,0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(0,0,0,0.03);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0,0,0,0);
    }
}

.modal-gallery {
    position: relative;
    width: 100%;
    background-color: white;
    border-radius: 12px 12px 0 0;
}

.modal-image-container {
    position: relative;
    width: 100%;
    height: 450px;
    max-height: 60vh;
    overflow: hidden;
    background-color: var(--light);
    touch-action: pan-y;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease-out;
    display: block;
    background-color: white;
    cursor: grab;
}

.modal-image:active {
    cursor: grabbing;
}

/* Image Label Banner */
.image-label-banner {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: none;
    z-index: 5;
    text-align: center;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: none;
    padding: 10px 12px;
    font-size: 1.3rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    z-index: 5;
    color: var(--primary);
}

.modal-prev:hover,
.modal-next:hover {
    background-color: var(--accent);
    color: white;
}

.modal-prev {
    left: 16px;
}

.modal-next {
    right: 16px;
}

.modal-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.modal-gallery:hover .modal-dots {
    opacity: 1;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    background-color: var(--light);
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid #e5e7eb;
    scroll-behavior: smooth;
}

.modal-thumbnail {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
    opacity: 0.65;
    background-color: white;
}

.modal-thumbnail:hover {
    opacity: 0.9;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.modal-thumbnail.active {
    border-color: var(--accent);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.2);
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: var(--accent);
    width: 28px;
    border-radius: 4px;
}

.modal-body {
    padding: 36px;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 22px;
}

.btn-secondary {
    background-color: white;
    border: 2px solid var(--accent);
    color: #000000;
    padding: 11px 22px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: white;
}

.form-input {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s;
    color: var(--dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.modal-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}
#modalTitle {
    color: #222;
    opacity: 1;
}
.modal-location {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 28px;
}

.modal-price-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-price-info div {
    flex: 1;
    min-width: 120px;
}

.modal-label {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.modal-price {
    font-size: 1.7rem;
    color: var(--accent);
    font-weight: 900;
}

.modal-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.amenities-section,
.highlights-section {
    margin-bottom: 5px;
}

.amenities-section h3,
.highlights-section h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
}

.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.amenities-section {
    grid-column: 1;
}

.highlights-section {
    grid-column: 2;
}

#amenitiesGrid,
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.amenity {
    background-color: rgba(212, 165, 116, 0.0);
    color: var(--primary);
    padding: 7px 14px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--accent);
}

.highlight {
    background-color: rgba(212, 165, 116, 0.0);
    color: var(--primary);
    padding: 7px 14px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--accent);
}
/* ==================== DISPOSITION & CONDITIONS ==================== */
.conditions {
    padding: 18px;
    line-height: 1.7;
    background-color: var(--light);
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    margin-top: 18px;
}

.conditions h3 {
    margin-bottom: 14px;
    color: var(--primary);
    font-weight: 700;
}

.conditions ul {
    padding-left: 0;
}

.conditions li {
    margin-bottom: 10px;
    color: var(--gray);
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.conditions li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}


/* ==================== LIGHTBOX MODAL ==================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    width: 90%;
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease-out;
    cursor: grab;
    user-select: none;
}

.lightbox-image:active {
    cursor: grabbing;
}

.lightbox-close {
    position: absolute;
    background: red;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%; /* cercle parfait */

    animation: lightboxPulse 2.8s infinite;
}

/* hover */
.lightbox-close:hover {
    color: var(--accent);
    transform: scale(1.2) rotate(90deg);
    animation: none;
}

/* animation d'attention */
@keyframes lightboxPulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(255,255,255,0);
    }
    50% {
        transform: scale(1.08);
        text-shadow: 0 0 10px rgba(255,255,255,0.4);
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(255,255,255,0);
    }
}

.lightbox-controls {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    gap: 8px;
    background-color: white;
    padding: 8px 10px;
    border-radius: 8px;
    align-items: center;
    z-index: 2001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.lightbox-btn {
    background-color: var(--accent);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.lightbox-btn:hover {
    background-color: var(--primary);
    transform: scale(1.08);
}

.lightbox-zoom-display {
    font-weight: 600;
    color: var(--primary);
    min-width: 42px;
    text-align: center;
    font-size: 0.8rem;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-10%);
    background-color: white;
    border: none;
    color: var(--primary);
    font-size: 1.8rem;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2001;
    border-radius: 8px;
    font-weight: bold;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--accent);
    color: white;
    transform: scale(1.08);
}

.lightbox-prev {
    left: 18px;
}

.lightbox-next {
    right: 18px;
}

.lightbox-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 2001;
    font-size: 0.85rem;
}
#lightboxImage {
    cursor: grab;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
	transform-origin: center center;
}

#lightboxImage.dragging {
    cursor: grabbing;
}
/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.pagination button {
    min-width: 32px;
    height: 32px;
    padding: 0;
    font-size: 0.9rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    background: white;
    color: var(--primary);
    font-weight: 600;
}

.pagination button:hover {
    border-color: var(--accent);
    color: var(--accent);
}


/* ===== MODAL BLOCK ===== */
.modal-block {
    margin-top: 2px;
}

.modal-block h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #111827;
}

/* ===== DISPOSITION STYLE ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.info-item {
    padding: 6px 10px; /* réduit l’espace interne */
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.2; /* réduit l’interligne */
    color: #374151;
    display: flex;
    align-items: center;
    gap: 6px; /* espace plus petit entre les éléments */
    transition: 0.2s;
    background: transparent; /* enlève le fond */
}

.info-item:hover {
    background: #e5e7eb;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    color: white;
}

.hero h1 .highlight {
    color: var(--accent);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
	background: linear-gradient(
		135deg,
		#2563eb,  /* bleu AVANA */
		#22c1c3,  /* cyan premium */
		#38bdf8,  /* bleu clair lumineux */
		#34d399,  /* vert élégant */
		#fbbf24,  /* doré luxe (transition vers soleil) */
		#f97316,  /* orange chaud */
		#ec4899,  /* rose premium */
		#a855f7   /* violet final logo */
	);
    color: black;
    border: none;
    transition: all 0.25s ease;
}


.btn-primary:hover {
    background-color: #c99a6a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
	background: linear-gradient(
		135deg,
		#2563eb,  /* bleu AVANA */
		#22c1c3,  /* cyan premium */
		#38bdf8,  /* bleu clair lumineux */
		#34d399,  /* vert élégant */
		#fbbf24,  /* doré luxe (transition vers soleil) */
		#f97316,  /* orange chaud */
		#ec4899,  /* rose premium */
		#a855f7   /* violet final logo */
	);
    color: black;
    border: none;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 24px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
}

.stat:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.18);
}

.stat h3 {
    font-size: 2.4rem;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 700;
}

.stat p {
    color: rgba(0, 0, 0, 0.99);
    font-weight: 900;
    font-size: 0.95rem;
	font-style: bold
}

/* ==================== COMMON SECTION STYLES ==================== */
section {
    padding: 80px 20px;
}

section h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 16px;
    color: var(--dark);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 60px;
    font-weight: 500;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    padding: 36px 28px;
    border-radius: 10px;
    background-color: white;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.service-card.expandable::after {
    content: '▼';
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 0.7rem;
    color: var(--accent);
    transition: transform 0.3s;
    font-weight: bold;
}

.service-card.expanded::after {
    transform: rotate(180deg);
}

.service-card:hover {
    background-color: #f8f9fa;
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary);
    font-weight: 700;
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.service-details {
    display: none;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
    text-align: left;
    animation: slideDown 0.3s ease-out;
}

.service-card.expanded .service-details {
    display: block;
}

.service-details h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details li {
    color: var(--gray);
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
    font-size: 0.88rem;
    line-height: 1.5;
}

.service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        margin-top: 0;
    }
    to {
        opacity: 1;
        max-height: 300px;
        margin-top: 18px;
    }
}

/* ==================== GLOBAL SECTION ==================== */
:root {
    --avana-gradient: linear-gradient(
        135deg,
        #60a5fa,  /* bleu doux */
        #3b82f6,  /* bleu principal */
        #1e3a8a,  /* bleu profond */
        #a78bfa   /* violet léger subtil */
		#ffea00
    );
}

.properties {
    background-color: #ffffff;
    padding: 40px 0;
}

/* ==================== FILTER ==================== */
.properties-filter {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 24px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 160px;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e3a8a;
}

.filter-group select,
.filter-group input {
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 0.9rem;
    background-color: white;
    color: #111827;
    transition: all 0.25s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* Reset button */
.btn-reset {
    padding: 11px 18px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    color: #1e3a8a;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.9rem;
}

.btn-reset:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-1px);
}

/* ==================== GRID ==================== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
    margin-bottom: 60px;
}

/* ==================== CARD ==================== */
.property-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* border premium AVANA + bleu immobilier */
.property-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;

    background: linear-gradient(
        135deg,
        #93c5fd,
        #2563eb,
        #1e3a8a
    );

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    pointer-events: none;
}

/* glow AVANA subtil (identité logo) */
.property-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--avana-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.property-card:hover::after {
    opacity: 0.06;
}

/* hover card */
.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(37, 99, 235, 0.15);
}

/* ==================== IMAGE ==================== */
.property-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #f3f4f6;
    transition: transform 0.4s ease;
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

/* ==================== BADGE ==================== */
.property-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e3a8a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
    z-index: 2;
}

/* badge AVANA (nouveau) */
.property-badge.nouveau {
	background: linear-gradient(
		135deg,
		#2563eb,  /* bleu AVANA */
		#22c1c3,  /* cyan premium */
		#38bdf8,  /* bleu clair lumineux */
		#34d399,  /* vert élégant */
		#fbbf24,  /* doré luxe (transition vers soleil) */
		#f97316,  /* orange chaud */
		#ec4899,  /* rose premium */
		#a855f7   /* violet final logo */
	);
    color: blue;
    font-weight: 800;
}

/* ==================== CONTENT ==================== */
.property-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.property-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}

.property-location {
    color: #64748b;
    font-size: 0.88rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-price {
    font-size: 1.4rem;
    color: #2563eb;
    font-weight: 800;
    margin-bottom: 16px;
}

/* petite touche AVANA sous prix */
.property-price::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 6px;
    border-radius: 10px;
    background: var(--avana-gradient);
    opacity: 0.8;
}

/* ==================== INFOS ==================== */
.property-infos {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    margin-bottom: 14px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.property-info-item,
.property-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #64748b;
    flex: 1;
}

/* Bloc gauche */
.property-info:first-child {
    justify-content: flex-start;
}

/* Bloc du milieu */
.property-info:nth-child(2) {
    justify-content: center;
}

/* Bloc droite */
.property-info:last-child {
    justify-content: flex-end;
}

.property-info-item i,
.property-info i {
    color: #2563eb;
}

/* ==================== DESCRIPTION ==================== */
.property-description-preview,
.property-description {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.6;
    margin-bottom: 18px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== BUTTON ==================== */
.property-card .btn-primary {
    margin-top: auto;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    background: #2563eb;
    color: white;
    transition: all 0.25s ease;
}

.property-card .btn-primary:hover {
    background: #1e40af;
    transform: translateY(-1px);
}

/* ==================== RESPONSIVE FINAL ==================== */

/* TABLET & MOBILE */
@media (max-width: 768px) {

    body {
        padding-top: 70px;
    }

    .navbar-container {
        height: 60px;
        padding: 0 16px;
    }

	.nav-links {
		display: flex;
		flex-direction: column;

		position: absolute;
		top: 60px;
		left: 0;
		right: 0;

		padding: 16px;
		gap: 12px;

		width: 100%;

		align-items: flex-start;
		text-align: left;

		background: rgba(47, 105, 143, 80%);

		/* animation */
		opacity: 0;
		visibility: hidden;

		transform: translateX(100%);
		
		transition:
			opacity 0.35s ease,
			transform 0.35s ease,
			visibility 0.35s;
	}

	.nav-links.active {
		opacity: 1;
		visibility: visible;

		transform: translateX(0);
	}


    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 40px 16px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 12px;
    }


    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 3ème stat centrée */
    .hero-stats .stat:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .properties-filter {
        flex-direction: column;
        padding: 16px;
    }

    .filter-group {
        width: 100%;
    }

    .btn-reset {
        width: 100%;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .property-image {
        height: 200px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    #modalTitle {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    .modal-image-container {
        aspect-ratio: 2 / 1; /* toujours respectÃ© */
        max-height: 40vh;
    }

    .modal-body {
        padding: 14px;
    }
    .modal-price-info {
        flex-direction: row;
        justify-content: space-between;
    }

    .modal-price-info div {
        flex: 1 1 30%;
        text-align: center;
    }
    .close
	.lightbox-close {
        right: 12px;
        top: 12px;
        width: 38px;
        height: 38px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-actions {
        grid-template-columns: 1fr;
    }
    .lightbox-prev,
    .lightbox-next {
        font-size: 1.2rem;
        padding: 8px 12px;
        border-radius: 6px;
    }
	.image-label-banner {
        bottom: 10px; /* ðŸ‘ˆ plus bas sur mobile */
        font-size: 0.8rem;
        padding: 5px 12px;
    }
	 body::before {
        opacity: 0.2; /* plus léger */
    }

    .stat {
        backdrop-filter: none; /* performance */
    }
	.condition-item {
		padding: 3px 6px;
		font-size: 14px;
		line-height: 1.2; /* lisible */
		margin: 3px 0; /* espace serré entre items */
		font-weight: bold;
		color: #065f46;
		transition: 0.2s;
		background: transparent;
		border: none;
	}
    .team-grid{
        grid-template-columns:1fr;
    }

    .team-card{
        padding:85px 22px 30px;
    }

    .team-card h3{
        font-size:1.6rem;
    }
	.info-grid {
        grid-template-columns: 1fr;
    }
	.pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;
        padding: 6px 0;

        flex-wrap: nowrap;
        overflow: hidden;
    }

    .pagination button {
        width: 28px;
        height: 28px;

        padding: 0;
        font-size: 11px;
        border-radius: 4px;

        display: flex;
        align-items: center;
        justify-content: center;

        flex: 0 0 auto;
    }
	
}


/* PETIT MOBILE */
@media (max-width: 480px) {

    body {
        padding-top: 60px;
    }
	.nav-link {
        color: white; /* ðŸ‘ˆ couleur du texte */
		width: 100%;
    }
	.nav-links {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 60px;
		left: 0;
		right: 0;
		padding: 16px;
		gap: 12px;
		width: 100%;
		align-items: flex-start;
		text-align: left;
		background: rgba(47, 105, 143, 80%);
		/* animation */
		opacity: 0;
		visibility: hidden;

		transform: translateX(100%);
		
		transition:
			opacity 0.35s ease,
			transform 0.35s ease,
			visibility 0.35s;
	}
	.nav-links.active {
		opacity: 1;
		visibility: visible;

		transform: translateX(0);
	}
    .navbar-container {
        height: 55px;
    }

    .hero {
        padding: 30px 12px;
        background:
            url("heromobile.png");

        background-size: cover;
        background-position: center;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }


    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 3ème stat centrée */
    .hero-stats .stat:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .stat h3 {
        font-size: 1.5rem;
    }

    section {
        padding: 40px 12px;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .property-image {
        height: 160px;
    }

    .property-content {
        padding: 16px;
    }

	.modal-image-container {
        max-height: 35vh;
    }

    .modal-title {
        font-size: 1.2rem;
    }
    #modalTitle {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    .modal-price {
        font-size: 1.1rem;
    }
    .modal-price-info {
        flex-direction: column;
        gap: 20px;
    }
    .social-sidebar {
        right: 10px;
        padding: 10px;
    }

    .social-link {
        width: 32px;
        height: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    .lightbox-prev,
    .lightbox-next {
        font-size: 1rem;
        padding: 6px 10px;
        opacity: 0.9;
    }
    .image-label-banner {
        bottom: 20px; /* ðŸ‘ˆ encore un peu plus bas */
        font-size: 0.75rem;
        padding: 4px 10px;
    }
	.close
	.lightbox-close {
        right: 12px;
        top: 12px;
        width: 38px;
        height: 38px;
    }
	.condition-item {
		padding: 3px 6px;
		line-height: 1.2; /* lisible */
		margin: 0; /* espace serré entre items */
	}
    .team-section{
        padding:70px 15px;
    }

    .team-section h2{
        font-size:2rem;
    }

    .team-card{
        border-radius:18px;
    }

    .team-card img{
        width:100px;
        height:100px;
        top:-45px;
    }

    .team-card h3{
        font-size:1.4rem;
    }

    .team-role{
        font-size:0.95rem;
    }

    .team-card p{
        font-size:0.92rem;
        line-height:1.7;
    }
	.pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;
        padding: 6px 0;

        flex-wrap: nowrap;
        overflow: hidden;
    }

    .pagination button {
        width: 28px;
        height: 28px;

        padding: 0;
        font-size: 11px;
        border-radius: 4px;

        display: flex;
        align-items: center;
        justify-content: center;

        flex: 0 0 auto;
    }
}
