/* HEADER OPTIMISÉ - Inclus partout pour garantir la cohérence */
/* Cache-busting: <?php echo time(); ?> */

/* Header principal - Équilibré et compact */
.header {
    background: #ffffff !important;
    padding: 0.7rem 0 !important; /* Équilibré : compact mais pas trop serré */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

/* Logo équilibré */
.logo img {
    width: 118px !important; /* Équilibré : compact mais pas trop serré */
    height: auto !important;
    object-fit: contain !important;
}

/* Conteneur de recherche - Espacement équilibré */
.search-container {
    flex: 1 !important;
    max-width: 600px !important; /* Largeur équilibrée */
    margin: 0 3rem !important; /* Espacement moins serré comme avant */
}

/* Champ de recherche modernisé */
.search-wrapper {
    position: relative !important;
    display: flex !important;
    background: white !important;
    border: 2px solid #f3f4f6 !important;
    border-radius: 12px !important; /* Plus arrondi et moderne */
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    height: 46px !important; /* Hauteur équilibrée */
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important; /* Ombre subtile */
}

.search-wrapper:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.search-wrapper:focus-within {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Input de recherche */
.search-input {
    flex: 1 !important;
    padding: 14px 20px !important; /* Meilleur espacement */
    border: none !important;
    outline: none !important;
    font-size: 0.95rem !important;
    color: #2d3436 !important;
    background: transparent !important;
    height: 100% !important;
    box-shadow: none !important;
}

.search-input::placeholder {
    color: #6b7280 !important;
    font-weight: 400 !important;
}

.search-input:focus::placeholder {
    opacity: 0.6 !important;
}

/* Bouton de recherche */
.search-btn {
    background: linear-gradient(135deg, #d63384, #e9724c) !important;
    color: white !important;
    border: none !important;
    padding: 0 24px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    min-width: 56px !important;
    border-radius: 0 10px 10px 0 !important;
}

.search-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(214, 51, 132, 0.3) !important;
}

.search-btn i {
    font-size: 1.1rem !important; /* Icon plus grande et mieux visible */
}

/* Bouton des catégories */
.categories-btn {
    background: linear-gradient(135deg, #d63384, #e9724c) !important;
    color: white !important;
    border: none !important;
    padding: 0.5rem 1rem !important; /* Équilibré : compact mais pas trop serré */
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    margin-right: 1rem !important;
    border-radius: 8px !important;
}

.categories-btn:hover {
    background: linear-gradient(135deg, #b02a5b, #d45d35) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(214, 51, 132, 0.3) !important;
}

/* Responsive équilibré */
@media (max-width: 768px) {
    .header {
        padding: 0.6rem 0 !important; /* Équilibré sur mobile */
    }
    
    .logo img {
        width: 95px !important; /* Taille équilibrée pour mobile */
    }
    
    .search-container {
        display: none !important;
    }
    
    .nav-right {
        display: none !important;
    }
}

/* Navigation et layout */
.nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.nav-center {
    display: flex !important;
    align-items: center !important;
}

.nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

/* Bouton connexion */
.btn-connexion {
    background: linear-gradient(135deg, #d63384, #e9724c) !important;
    color: white !important;
    text-decoration: none !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-connexion:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(214, 51, 132, 0.3) !important;
    color: white !important;
    text-decoration: none !important;
}

/* Base styles avec compatibilité navigateurs */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Fix pour IE11 et Edge Legacy */
*,
*::before,
*::after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #000;
}

h1, h2, h3 {
    font-weight: bold;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

section {
    padding: 60px 0;
}

button {
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #00D4FF, #5B4FFF);
    color: #fff;
    padding: 10px 15px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 212, 255, 0.3);
}

button:hover {
    background: linear-gradient(135deg, #5B4FFF, #7B68EE);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

/* Header - Design professionnel et épuré */
header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    -moz-backdrop-filter: blur(20px);
    width: 100%;
    box-sizing: border-box;
}

header .container {
    display: flex;
    align-items: center;
    padding: 15px;
    max-width: 1400px;
    width: 95%;
    gap: 30px;
    margin: 0 auto;
    box-sizing: border-box;
}

header .logo {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

header .logo:hover {
    transform: scale(1.02);
}

.logo {
    font-weight: 600;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.logo-img {
    max-height: 65px;
    width: auto;
    transition: all 0.3s ease;
}

/* Desktop Navigation - Style Amazon */
.desktop-nav {
    display: flex;
    gap: 25px;
    align-items: center;
    flex: 1;
}


.nav-link {
    color: #4a5568;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: -0.01em;
    padding: 8px 12px;
    border-radius: 6px;
}

.nav-link:hover {
    color: #4a6b56;
    background: rgba(197, 225, 219, 0.1);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 50%;
    background: #4a6b56;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 80%;
}

/* Categories Dropdown - Style Amazon */
.categories-dropdown {
    position: relative;
}

.categories-btn {
    background: #4a6b56;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(74, 107, 86, 0.2);
}

.categories-btn:hover {
    background: #3a5b46;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 107, 86, 0.4);
}

.categories-btn i:last-child {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.categories-dropdown:hover .categories-btn i:last-child {
    transform: rotate(180deg);
}

.categories-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(74, 107, 86, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(197, 225, 219, 0.3);
    padding: 15px 0;
    margin-top: 5px;
    box-sizing: border-box;
}

.categories-dropdown:hover .categories-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #4a6b56;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.category-link:hover {
    background: rgba(197, 225, 219, 0.15);
    border-left-color: #4a6b56;
    color: #3a5b46;
    transform: translateX(3px);
}

.category-link i {
    width: 16px;
    color: #6b8a77;
    font-size: 14px;
}

.category-link.view-all {
    margin-top: 10px;
    border-top: 1px solid rgba(197, 225, 219, 0.3);
    padding-top: 20px;
    font-weight: 600;
    color: #4a6b56;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
}

.cta-rejoindre {
    background: #d4a7a0;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(212, 167, 160, 0.3);
    white-space: nowrap;
}

.cta-rejoindre:hover {
    background: #c4978f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 167, 160, 0.5);
    color: white;
    text-decoration: none;
}

/* CTA Button - Style premium */
.cta-button {
    background: #1a1a1a;
    color: white !important;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}



.desktop-nav a.current {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
    font-weight: 700;
}

.desktop-nav a.current::after {
    width: calc(100% - 32px);
}

/* Hamburger Menu - Style moderne */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 150;
    margin-left: 15px;
    border-radius: 8px;
    transition: background 0.2s ease;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hamburger-menu:hover {
    background: rgba(0, 0, 0, 0.06);
}

.hamburger-menu .bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #1a1a1a;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu - Design moderne */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: #fff;
    transition: right 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.mobile-menu-header span {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.close-menu {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu:hover {
    background: #e5e7eb;
    color: #374151;
}

.mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-nav-section {
    padding: 24px 0;
}

.mobile-nav-link {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    color: #4a5568;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    letter-spacing: -0.01em;
}

.mobile-nav-link:hover {
    background: #f8f9fa;
    color: #1a1a1a;
    border-left-color: #1a1a1a;
}

.mobile-nav-section a.current {
    background: #f3f4f6;
    color: #000;
    border-left-color: #000;
    font-weight: 600;
}

/* Mobile Categories */
.mobile-categories {
    margin: 10px 0;
}

.mobile-category-header {
    padding: 16px 24px;
    font-weight: 600;
    color: #4a6b56;
    font-size: 16px;
    background: rgba(197, 225, 219, 0.1);
    border-left: 3px solid #4a6b56;
}

.mobile-nav-link.sub-link {
    padding-left: 40px;
    font-size: 14px;
    color: #6b8a77;
}

.mobile-nav-link.sub-link i {
    margin-right: 10px;
    width: 16px;
    color: #a8d1c7;
}

.mobile-nav-link.sub-link:hover {
    background: rgba(197, 225, 219, 0.1);
    color: #4a6b56;
}

/* Mobile CTA */
.mobile-cta {
    margin-top: 20px;
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
}

.mobile-cta-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #d4a7a0;
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(212, 167, 160, 0.3);
}

.mobile-cta-link:hover {
    background: #c4978f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 167, 160, 0.5);
    color: white;
    text-decoration: none;
}



footer .logo img {
    max-height: 50px;
}

/* Hero Section */
.hero {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Barre de recherche */
.search-bar {
    background: #fff;
    border-radius: 50px;
    display: flex;
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.search-bar input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
    border-radius: 50px;
}

.search-bar button {
    position: relative;
    padding: 12px 25px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    margin: 5px;
    box-shadow: 0 0 0 5px #fff;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.voir-tous {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

/* Le Concept avec background photo */
.concept {
    background-image: url('images/concept_moamoa.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 80px 0;
    position: relative;
}

.concept .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.concept .container {
    position: relative;
    z-index: 2;
}

.concept h2 {
    color: #fff;
    margin-bottom: 40px;
}

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

.step-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid #fff;
}

.step-icon i {
    font-size: 2rem;
    color: #fff;
}

.concept .step h3 {
    color: #fff;
    margin-bottom: 15px;
}

.concept .step p {
    color: rgba(255, 255, 255, 0.8);
}

/* Syndics Incontournables */
.syndics-incontournables {
    background: #f9f9f9;
    padding: 60px 0;
}

.syndics-incontournables h2 {
    text-align: center;
    margin-bottom: 40px;
}

.premium-syndics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.premium-syndic-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-image {
    height: 200px;
    overflow: hidden;
}

.premium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.premium-rating {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    margin-bottom: 15px;
}

.premium-rating i {
    color: #f2d5d1;
    margin-right: 5px;
}

.premium-desc {
    margin-bottom: 20px;
    color: #555;
}

.premium-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #666;
    flex-wrap: wrap;
}

.premium-link {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 500;
    align-self: flex-start;
    margin-top: auto;
}

.premium-link:hover {
    background: #333;
    color: #fff;
}

/* Simulateur */
.simulateur {
    padding: 60px 0;
}

.simulateur-content {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.simulateur-text {
    padding: 40px;
    flex: 1;
}

.simulateur-text h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.simulateur-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

.simulateur-text ul {
    margin-bottom: 30px;
    list-style: none;
}

.simulateur-text li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.simulateur-text li i {
    color: #000;
    margin-right: 10px;
}

.simulateur-image {
    flex: 1;
    height: 350px;
    border-radius: 15px;
}

.simulateur-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.cta-button {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1.1rem;
}

.cta-button:hover {
    background: #333;
    color: #fff;
}

/* Syndics les mieux notés */
.syndics-top {
    padding: 60px 0;
    background: #f9f9f9;
}

.top-syndics-container {
    display: flex;
    gap: 30px;
}

.top-syndics-list {
    flex: 1;
}

.top-syndic-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.top-syndic-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.top-syndic-rank {
    width: 30px;
    height: 30px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
}

.top-syndic-info {
    flex: 1;
}

.top-syndic-info h3 {
    margin: 0;
    font-size: 1rem;
}

.top-syndic-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.top-syndic-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-number {
    font-weight: bold;
}

.stars {
    display: flex;
    color: #f2d5d1;
}

.avis-count {
    color: #666;
    font-size: 0.8rem;
}

/* Section Guides */
.guides {
    padding: 60px 0;
    background: #f9f9f9;
}

.guides h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.guide-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.guide-image {
    height: 360px;
    overflow: hidden;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.guide-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.guide-content h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.guide-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    margin-top: auto;
    color: #000;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8em;
}

/* Derniers syndics inscrits */
.recently-added {
    padding: 60px 0;
}

.recent-syndics {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.recent-syndic {
    text-align: center;
    padding: 15px 10px;
    border-radius: 15px;
    border: 1px solid #eee;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recent-syndic:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.recent-logo {
    width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.recent-syndic span {
    font-weight: 500;
}

/* Paris par arrondissement */
.arrondissements {
    padding: 60px 0;
    background: #f9f9f9;
}

.section-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: #666;
}

.arrondissements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.arrondissement-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.arrondissement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.arrondissement-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    width: 60px;
    height: 60px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.arrondissement-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.arrondissement-info p {
    margin: 0;
    color: #666;
}

/* CTA Section */
.cta {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.cta button {
    background: #fff;
    color: #000;
    padding: 12px 30px;
    font-size: 1.1rem;
}

.cta button:hover {
    background: #f0f0f0;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-column a {
    color: #aaa;
}

.footer-column a:hover {
    color: #fff;
}

.footer-tagline {
    font-weight: 600;
    margin: 15px 0;
    font-size: 1.1rem;
}

.footer-description {
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact p {
    margin-bottom: 5px;
    color: #aaa;
}

.footer-contact a {
    color: #fff;
    font-weight: 500;
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* Animation d'apparition */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Styles pour les pages d'articles */
.article-hero {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.article-hero h1 {
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    color: #aaa;
    font-size: 0.9rem;
}

.article-content {
    padding: 60px 0;
}

.article-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-body h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.article-body h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-cta {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
}

.article-quote {
    padding: 20px;
    background: #f5f5f5;
    border-left: 5px solid #000;
    margin: 30px 0;
    font-style: italic;
}

/* Responsive */
/* Responsive */
@media (max-width: 1200px) {
    .premium-syndics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .top-syndics-container {
        flex-direction: column;
    }
    
    .arrondissements-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .recent-syndics {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .simulateur-content {
        flex-direction: column;
    }
    
    .simulateur-image {
        width: 100%;
    }
}

/* Corrections spécifiques Firefox */
@-moz-document url-prefix() {
    .categories-dropdown:hover .categories-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .categories-btn i:last-child {
        margin-left: 4px;
    }
}

@media (max-width: 768px) {
    .desktop-nav,
    .header-cta {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
        margin-left: auto;
    }
    
    header .container {
        padding: 12px 15px;
        gap: 15px;
    }
    
    .logo-img {
        max-height: 55px;
    }
    
    .premium-syndics {
        grid-template-columns: 1fr;
    }
    
    .arrondissements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recent-syndics {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .guide-image {
        height: 250px;
    }
}
    
    /* CORRECTIONS MOBILES POUR CONCEPT */
    .step-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .step-icon i {
        font-size: 1rem !important;
    }

    @media (max-width: 576px) {
    .arrondissements-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .recent-syndics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .search-bar {
        border-radius: 8px;
    }
    
    .search-bar input {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .search-bar button {
        padding: 10px 15px;
        font-size: 14px;
        min-width: 90px;
        text-align: center;
    }

    .search-bar button span {
    display: none;
}
    
    .mobile-menu {
        width: 100%;
    }
    
    header .container {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 100%;
    }
}

/* === SECTION PARTENAIRES === */
.partners-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.partner-background {
    height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Backgrounds avec dégradés modernes */
.finnewz-bg {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%234f46e5;stop-opacity:1" /><stop offset="100%" style="stop-color:%237c3aed;stop-opacity:1" /></linearGradient></defs><rect width="800" height="400" fill="url(%23grad1)"/><circle cx="150" cy="100" r="30" fill="rgba(255,255,255,0.1)"/><circle cx="650" cy="80" r="25" fill="rgba(255,255,255,0.08)"/><circle cx="700" cy="300" r="40" fill="rgba(255,255,255,0.12)"/><rect x="50" y="250" width="60" height="8" fill="rgba(255,255,255,0.15)" rx="4"/><rect x="200" y="320" width="80" height="6" fill="rgba(255,255,255,0.1)" rx="3"/><rect x="500" y="180" width="100" height="10" fill="rgba(255,255,255,0.2)" rx="5"/></svg>');
}

.leaseworld-bg {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><defs><linearGradient id="grad2" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2306b6d4;stop-opacity:1" /><stop offset="100%" style="stop-color:%230891b2;stop-opacity:1" /></linearGradient></defs><rect width="800" height="400" fill="url(%23grad2)"/><polygon points="100,50 180,120 100,190" fill="rgba(255,255,255,0.1)"/><polygon points="600,80 680,150 600,220" fill="rgba(255,255,255,0.08)"/><rect x="250" y="100" width="120" height="12" fill="rgba(255,255,255,0.15)" rx="6"/><rect x="400" y="200" width="90" height="8" fill="rgba(255,255,255,0.12)" rx="4"/><circle cx="120" cy="300" r="35" fill="rgba(255,255,255,0.1)"/><circle cx="720" cy="320" r="28" fill="rgba(255,255,255,0.08)"/></svg>');
}

.partner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.partner-content {
    color: white;
    max-width: 100%;
}

.partner-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.partner-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
    font-weight: 400;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.partner-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.partner-link i {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .partners-grid-new {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .partner-background {
        height: 250px;
    }
    
    .partner-overlay {
        padding: 25px;
    }
    
    .partner-name {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .partner-description {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .partners-grid-new {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .partner-background {
        height: 220px;
    }
    
    .partner-overlay {
        padding: 20px;
    }
    
    .partner-name {
        font-size: 1.4rem;
    }
    
    .partner-description {
        font-size: 0.9rem;
    }
}