/* ═══════════════════════════════════════════════════
   AuraSav — Feuille de styles principale (home.css)
   ═══════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
    --blue-900: #0a1628; --blue-800: #0d2245; --blue-700: #0f3060;
    --blue-600: #1346a0; --blue-500: #1a5dc8; --blue-400: #3b82f6;
    --blue-300: #93c5fd; --blue-100: #dbeafe; --blue-50:  #eff6ff;
    --accent: #f59e0b; --accent-light: #fef3c7;
    --green: #10b981; --white: #ffffff;
    --gray-50: #f8fafc; --gray-100: #f1f5f9; --gray-200: #e2e8f0;
    --gray-400: #94a3b8; --gray-600: #475569; --gray-800: #1e293b;
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius-sm: 8px; --radius: 14px; --radius-lg: 22px; --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(10,22,40,0.06);
    --shadow:    0 4px 24px rgba(10,22,40,0.10);
    --shadow-lg: 0 12px 48px rgba(10,22,40,0.15);
    --shadow-xl: 0 24px 80px rgba(10,22,40,0.20);
}

/* ── Reset & Base ── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; }

/* ══ NAVBAR ══ */
.navbar-aurasav {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.75rem 0;
    position: sticky; top: 0; z-index: 1000;
    transition: box-shadow 0.3s;
}
.navbar-aurasav.scrolled { box-shadow: var(--shadow); }
.navbar-brand-logo {
    font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; letter-spacing: -0.5px;
}
.navbar-brand-logo span { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.nav-link-custom {
    color: var(--gray-600) !important; font-weight: 500; font-size: 0.9rem;
    padding: 0.4rem 0.8rem !important; border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.nav-link-custom:hover { color: var(--blue-600) !important; background: var(--blue-50); }

/* ── Bouton icône loupe navbar ── */
.btn-nav-search {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--blue-50);
    color: var(--blue-600);
    border: 1.5px solid var(--blue-100);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
}
.btn-nav-search:hover {
    background: var(--blue-600);
    color: #fff;
    border-color: var(--blue-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,93,200,0.3);
}
.btn-nav-login {
    border: 1.5px solid var(--blue-500); color: var(--blue-600); font-weight: 600;
    border-radius: var(--radius-sm); padding: 0.4rem 1.1rem; font-size: 0.88rem;
    transition: all 0.2s;
}
.btn-nav-login:hover { background: var(--blue-50); }
.btn-nav-register {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    color: #fff; font-weight: 600; border: none; border-radius: var(--radius-sm);
    padding: 0.4rem 1.1rem; font-size: 0.88rem;
    box-shadow: 0 2px 12px rgba(26,93,200,0.3); transition: all 0.2s;
}
.btn-nav-register:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(26,93,200,0.4); color: #fff; }

/* ══ HERO ══ */
.hero-section {
    min-height: 92vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
}
.hero-bg-slides { position: absolute; inset: 0; z-index: 0; }
.hero-bg-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.2s ease-in-out;
}
.hero-bg-slide.active { opacity: 1; }
.hero-bg-slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(160deg,
        rgba(10,22,40,0.88) 0%,
        rgba(13,34,69,0.82) 50%,
        rgba(17,44,110,0.78) 100%);
}
.hero-bg-default {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 50%, #112c6e 100%);
}
.hero-section::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background-image: linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
    background-size: 60px 60px; pointer-events: none;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.2; pointer-events: none; z-index: 1; }
.orb-1 { width: 500px; height: 500px; background: var(--blue-500); top: -120px; right: -100px; }
.orb-2 { width: 350px; height: 350px; background: #6366f1; bottom: -80px; left: 10%; }
.orb-3 { width: 200px; height: 200px; background: var(--accent); top: 30%; left: 60%; opacity: 0.12; }

.hero-slide-indicators {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: 0.5rem; z-index: 3;
}
.hero-slide-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.35); border: none; padding: 0; cursor: pointer;
    transition: all 0.3s;
}
.hero-slide-dot.active { background: #fff; width: 24px; border-radius: 4px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.3);
    color: var(--blue-300); font-size: 0.8rem; font-weight: 600;
    padding: 0.35rem 0.9rem; border-radius: 100px; margin-bottom: 1.5rem;
    animation: fadeDown 0.6s ease both;
}
.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; color: #fff;
    line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 1.5rem;
    animation: fadeUp 0.7s 0.1s ease both;
}
.hero-title .highlight {
    background: linear-gradient(90deg, var(--blue-300), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
    color: rgba(255,255,255,0.65); font-size: 1.1rem; line-height: 1.7;
    max-width: 520px; margin-bottom: 2.5rem; animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.7s 0.3s ease both; }

.btn-hero-primary {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
    color: #fff; font-weight: 700; font-size: 1rem; padding: 0.85rem 2rem;
    border-radius: var(--radius); border: none; box-shadow: 0 4px 24px rgba(59,130,246,0.4);
    transition: all 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(59,130,246,0.5); color: #fff; }

.btn-hero-secondary {
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); font-weight: 600;
    font-size: 1rem; padding: 0.85rem 2rem; border-radius: var(--radius);
    border: 1.5px solid rgba(255,255,255,0.2); transition: all 0.3s;
    display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ── Stats Hero ── */
.hero-stats-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    margin-top: 3rem; padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: fadeUp 0.7s 0.4s ease both;
}
.hero-stat-item { position: relative; padding: 1rem 1.2rem; text-align: center; }
.hero-stat-item:not(:last-child)::after {
    content: ''; position: absolute; right: 0; top: 15%; height: 70%;
    width: 1px; background: rgba(255,255,255,0.12);
}
.stat-icon-wrap {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.6rem; font-size: 1rem;
}
.stat-icon-wrap.blue   { background: rgba(59,130,246,0.18); color: var(--blue-300); }
.stat-icon-wrap.green  { background: rgba(16,185,129,0.18); color: #34d399; }
.stat-icon-wrap.amber  { background: rgba(245,158,11,0.18);  color: #fbbf24; }
.stat-icon-wrap.purple { background: rgba(139,92,246,0.18);  color: #c4b5fd; }
.hero-stat-number {
    font-family: var(--font-display); font-size: 1.9rem; font-weight: 800;
    color: #fff; line-height: 1; letter-spacing: -1px;
}
.hero-stat-suffix { font-size: 1.1rem; font-weight: 700; color: var(--blue-300); }
.hero-stat-label {
    color: rgba(255,255,255,0.45); font-size: 0.73rem; margin-top: 0.3rem;
    font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.3;
}

/* ── Hero Card Float ── */
.hero-visual { animation: fadeLeft 0.8s 0.2s ease both; }
.hero-card-float {
    background: rgba(255,255,255,0.06); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg);
    padding: 1.8rem; color: #fff; width: 100%;
    animation: float 4s ease-in-out infinite;
}

/* ── Cartes entreprises dans le hero ── */
.company-card-preview {
    background: rgba(255,255,255,0.08); border-radius: var(--radius);
    padding: 1.1rem; margin-bottom: 0.8rem;
    display: flex; align-items: center; gap: 0.9rem;
    border: 1px solid rgba(255,255,255,0.07); transition: all 0.3s;
}
.company-card-preview:hover { background: rgba(255,255,255,0.12); transform: translateX(4px); }

/* ─── LOGO AVATAR dans le hero ─── */
.company-avatar {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem;
    flex-shrink: 0;
    overflow: hidden;       /* ← empêche le logo de déborder */
}
.company-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* ← recadre proprement le logo */
    border-radius: var(--radius-sm);
    display: block;
}

/* ── Badges Hero ── */
.badge-verified {
    display: inline-flex; align-items: center; gap: 0.2rem;
    background: rgba(16,185,129,0.2); color: #34d399;
    border: 1px solid rgba(16,185,129,0.3);
    font-size: 0.68rem; font-weight: 700; padding: 0.18rem 0.5rem; border-radius: 100px;
}
.badge-premium {
    display: inline-flex; align-items: center; gap: 0.2rem;
    background: rgba(59,130,246,0.2); color: var(--blue-300);
    border: 1px solid rgba(59,130,246,0.3);
    font-size: 0.68rem; font-weight: 700; padding: 0.18rem 0.5rem; border-radius: 100px;
}
.badge-recommended {
    display: inline-flex; align-items: center; gap: 0.2rem;
    background: rgba(245,158,11,0.2); color: #fbbf24;
    border: 1px solid rgba(245,158,11,0.3);
    font-size: 0.68rem; font-weight: 700; padding: 0.18rem 0.5rem; border-radius: 100px;
}

/* ══ CARROUSEL DE PUBS ══ */
.ads-carousel-section {
    background: linear-gradient(135deg, var(--blue-900) 0%, #0d2a6e 100%);
    padding: 2.5rem 0; position: relative; overflow: hidden;
    border-bottom: 3px solid rgba(59,130,246,0.2);
}
.ads-carousel-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}
.ads-carousel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.ads-carousel-label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.3);
    color: #fbbf24; font-size: 0.75rem; font-weight: 700;
    padding: 0.3rem 0.85rem; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.8px;
}
.ads-carousel-counter { font-size: 0.78rem; color: rgba(255,255,255,0.4); font-weight: 500; }
.ads-track-wrapper { overflow: hidden; position: relative; }
.ads-track { display: flex; gap: 1.5rem; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.ad-card {
    flex: 0 0 calc(33.333% - 1rem);
    background: rgba(255,255,255,0.06); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg);
    overflow: hidden; text-decoration: none; display: block; transition: all 0.3s; position: relative;
}
.ad-card:hover {
    background: rgba(255,255,255,0.1); border-color: rgba(245,158,11,0.4);
    transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.ad-card-img { width: 100%; height: 160px; object-fit: cover; display: block; opacity: 0.9; }
.ad-card-img-placeholder {
    width: 100%; height: 160px;
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(99,102,241,0.2));
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: rgba(255,255,255,0.3);
}
.ad-card-body { padding: 1.2rem; }
.ad-card-sponsored {
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: rgba(245,158,11,0.15); color: #fbbf24;
    font-size: 0.68rem; font-weight: 700; padding: 0.18rem 0.55rem;
    border-radius: 100px; margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.ad-card-title {
    font-family: var(--font-display); font-size: 1rem; font-weight: 700;
    color: #fff; margin-bottom: 0.3rem; line-height: 1.3;
}
.ad-card-company { font-size: 0.8rem; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 0.3rem; }
.ad-card-cta {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid rgba(255,255,255,0.08);
}
.ad-card-btn {
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: var(--accent); color: var(--blue-900);
    font-size: 0.8rem; font-weight: 700; padding: 0.4rem 1rem;
    border-radius: var(--radius-sm); transition: background 0.2s;
}
.ad-card:hover .ad-card-btn { background: #fbbf24; }
.ads-carousel-controls {
    display: flex; align-items: center; justify-content: center;
    gap: 0.75rem; margin-top: 1.5rem;
}
.ads-ctrl-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s; font-size: 0.9rem;
}
.ads-ctrl-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.ads-ctrl-btn:disabled { opacity: 0.3; cursor: default; }
.ads-dots { display: flex; gap: 0.4rem; align-items: center; }
.ads-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.25); border: none; padding: 0;
    cursor: pointer; transition: all 0.3s;
}
.ads-dot.active { background: var(--accent); width: 20px; border-radius: 3px; }

/* ══ SEARCH BAR ══ */
.search-section { background: var(--white); padding: 3.5rem 0; border-bottom: 1px solid var(--gray-200); }
.search-bar-wrapper {
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl); padding: 0.5rem;
    display: flex; align-items: center; gap: 0.5rem;
    border: 1.5px solid var(--gray-200); transition: border-color 0.3s, box-shadow 0.3s;
}
.search-bar-wrapper:focus-within {
    border-color: var(--blue-400);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.12), var(--shadow-xl);
}
.search-input {
    border: none; outline: none; flex: 1; font-size: 1rem;
    padding: 0.75rem 1rem; color: var(--gray-800);
    font-family: var(--font-body); background: transparent;
}
.search-divider { width: 1px; height: 36px; background: var(--gray-200); }
.search-select {
    border: none; outline: none; font-size: 0.9rem; color: var(--gray-600);
    padding: 0.75rem 1rem; background: transparent;
    font-family: var(--font-body); min-width: 160px; cursor: pointer;
}
.btn-search {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    color: #fff; border: none; border-radius: var(--radius-sm);
    padding: 0.75rem 1.8rem; font-weight: 700; font-size: 0.95rem;
    display: flex; align-items: center; gap: 0.4rem;
    transition: all 0.2s; white-space: nowrap;
}
.btn-search:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,93,200,0.4); }
.search-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; align-items: center; }
.search-tag {
    background: var(--blue-50); color: var(--blue-600);
    border: 1px solid var(--blue-100); border-radius: 100px;
    font-size: 0.8rem; font-weight: 500; padding: 0.25rem 0.75rem;
    cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.search-tag:hover { background: var(--blue-600); color: #fff; }

/* ══ SECTIONS COMMUNES ══ */
.section-label {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--blue-50); color: var(--blue-600);
    border: 1px solid var(--blue-100); font-size: 0.78rem; font-weight: 700;
    padding: 0.3rem 0.85rem; border-radius: 100px;
    text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; color: var(--blue-900); letter-spacing: -0.8px; line-height: 1.2; }
.section-subtitle { color: var(--gray-600); font-size: 1.05rem; line-height: 1.7; max-width: 560px; }

/* ══ CATÉGORIES ══ */
.categories-section { padding: 5rem 0; background: var(--gray-50); }
.category-card {
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: var(--radius); padding: 1.6rem 1.2rem; text-align: center;
    cursor: pointer; text-decoration: none; color: inherit;
    transition: all 0.3s; display: block; height: 100%;
}
.category-card:hover { border-color: var(--blue-400); transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.category-card:hover .cat-icon-wrap { background: var(--blue-600); }
.category-card:hover .cat-icon-wrap i { color: #fff; }
.cat-icon-wrap {
    width: 60px; height: 60px; border-radius: var(--radius-sm);
    background: var(--blue-50); display: flex; align-items: center;
    justify-content: center; margin: 0 auto 1rem; transition: all 0.3s;
}
.cat-icon-wrap i { font-size: 1.6rem; color: var(--blue-600); transition: all 0.3s; }
.cat-name { font-weight: 700; font-size: 0.92rem; color: var(--gray-800); margin-bottom: 0.3rem; }
.cat-count { font-size: 0.78rem; color: var(--gray-400); }

/* ══ ENTREPRISES EN VEDETTE ══ */
.featured-section { padding: 5rem 0; }
.company-card {
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: var(--radius); overflow: hidden;
    transition: all 0.3s; height: 100%; position: relative;
    display: flex; flex-direction: column;   /* ← important pour que le footer colle en bas */
}
.company-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.company-card.is-premium { border-color: var(--blue-300); }
.company-card.has-ad-banner { border-color: rgba(245,158,11,0.5); }
.company-card.has-ad-banner:hover { border-color: var(--accent); box-shadow: 0 12px 40px rgba(245,158,11,0.2); }

/* ── Bandeau haut de la card ── */
.company-card-banner {
    height: 90px;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
    position: relative; flex-shrink: 0; overflow: hidden;
}
.company-card-banner.with-ad { height: 140px; }
.company-card-banner.with-ad img {
    width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.85;
}
.company-card-banner.with-ad .banner-ad-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10,22,40,0.75) 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0.7rem 0.9rem;
}
.banner-ad-label {
    display: inline-flex; align-items: center; gap: 0.25rem;
    background: rgba(245,158,11,0.9); color: #0a1628;
    font-size: 0.62rem; font-weight: 800; padding: 0.15rem 0.5rem;
    border-radius: 100px; width: fit-content; margin-bottom: 0.3rem;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.banner-ad-title {
    font-family: var(--font-display); font-size: 0.85rem;
    font-weight: 700; color: #fff; line-height: 1.2;
}
.banner-ad-verif {
    display: inline-flex; align-items: center; gap: 0.25rem;
    background: rgba(16,185,129,0.9); color: #fff;
    font-size: 0.62rem; font-weight: 800; padding: 0.15rem 0.5rem;
    border-radius: 100px; width: fit-content; margin-bottom: 0.3rem;
    text-transform: uppercase; letter-spacing: 0.04em;
}
.ad-verified-badge {
    display: inline-flex; align-items: center; gap: 0.2rem;
    background: rgba(16,185,129,0.2); color: #34d399;
    border: 1px solid rgba(16,185,129,0.4);
    font-size: 0.66rem; font-weight: 700; padding: 0.15rem 0.45rem;
    border-radius: 100px; margin-left: 0.4rem; flex-shrink: 0;
}

/* ─── CORPS DE LA CARD ENTREPRISE ─── */
.company-card-body { padding: 1rem 1.2rem 1.2rem; flex: 1; }

/* ─── LOGO ROND DE LA CARD (LE VRAI FIX) ─── */
.company-logo-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    margin-top: -28px;      /* remonte sur le bandeau */
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
    overflow: hidden;       /* ← clip le logo dans le cercle */
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    flex-shrink: 0;
}
.company-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* ← recadre sans déformer */
    border-radius: 50%;
    display: block;
}

.company-name { font-weight: 700; font-size: 1rem; color: var(--gray-800); margin-bottom: 0.2rem; }
.company-meta { font-size: 0.8rem; color: var(--gray-400); display: flex; align-items: center; gap: 0.3rem; }
.company-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0.7rem 0; }
.company-badge-verified {
    display: inline-flex; align-items: center; gap: 0.25rem;
    background: rgba(16,185,129,0.1); color: #059669;
    border: 1px solid rgba(16,185,129,0.3);
    font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 100px;
}
.company-badge-premium {
    display: inline-flex; align-items: center; gap: 0.25rem;
    background: rgba(26,93,200,0.1); color: var(--blue-600);
    border: 1px solid rgba(26,93,200,0.3);
    font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 100px;
}
.company-badge-recommended {
    display: inline-flex; align-items: center; gap: 0.25rem;
    background: rgba(245,158,11,0.1); color: #d97706;
    border: 1px solid rgba(245,158,11,0.3);
    font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 100px;
}
.company-rating { display: flex; align-items: center; gap: 0.3rem; font-size: 0.82rem; }
.stars-yellow { color: #f59e0b; }

.company-card-footer {
    padding: 0.8rem 1.2rem;
    border-top: 1px solid var(--gray-100);
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto;       /* pousse le footer vers le bas */
}
.btn-view-profile {
    background: var(--blue-600); color: #fff; border: none;
    border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600;
    padding: 0.38rem 0.9rem; transition: all 0.2s; text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.3rem;
}
.btn-view-profile:hover { background: var(--blue-700); color: #fff; }
.btn-fav {
    width: 32px; height: 32px; border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm); display: flex; align-items: center;
    justify-content: center; color: var(--gray-400); cursor: pointer;
    transition: all 0.2s; background: transparent;
}
.btn-fav:hover { border-color: #ef4444; color: #ef4444; }

/* ══ AVANTAGES ══ */
.advantages-section { padding: 5rem 0; background: var(--gray-50); }
.advantage-card {
    background: var(--white); border-radius: var(--radius); padding: 2rem;
    border: 1.5px solid var(--gray-200); transition: all 0.3s; height: 100%;
}
.advantage-card:hover { border-color: var(--blue-300); box-shadow: var(--shadow); transform: translateY(-3px); }
.adv-icon {
    width: 54px; height: 54px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem; font-size: 1.5rem;
}
.adv-icon.blue   { background: var(--blue-50); color: var(--blue-600); }
.adv-icon.green  { background: rgba(16,185,129,0.1); color: #059669; }
.adv-icon.amber  { background: rgba(245,158,11,0.1); color: #d97706; }
.adv-icon.purple { background: rgba(139,92,246,0.1); color: #7c3aed; }
.adv-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--gray-800); }
.adv-text  { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; }

/* ══ HOW IT WORKS ══ */
.howitworks-section { padding: 5rem 0; }
.step-number {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    color: #fff; font-weight: 800; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem; box-shadow: 0 4px 16px rgba(26,93,200,0.3);
}
.step-card { text-align: center; padding: 2rem 1.5rem; }
.step-icon { font-size: 2.2rem; color: var(--blue-500); margin-bottom: 0.8rem; }
.step-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.step-text  { font-size: 0.86rem; color: var(--gray-600); line-height: 1.6; }

/* ══ PLANS TARIFAIRES ══ */
.pricing-section { padding: 5rem 0; background: var(--gray-50); }
.plan-card {
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 2.2rem;
    height: 100%; position: relative; transition: all 0.3s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-card.popular { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(26,93,200,0.08), var(--shadow-lg); }
.plan-popular-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    color: #fff; font-size: 0.72rem; font-weight: 700;
    padding: 0.25rem 1rem; border-radius: 100px; white-space: nowrap;
}
.plan-icon-wrap {
    width: 52px; height: 52px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem; font-size: 1.4rem;
}
.plan-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.plan-price-wrap { margin: 1.2rem 0; }
.plan-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--gray-800); line-height: 1; }
.plan-currency { font-size: 1rem; font-weight: 600; color: var(--gray-600); vertical-align: top; margin-top: 6px; display: inline-block; }
.plan-period { font-size: 0.8rem; color: var(--gray-400); margin-top: 0.2rem; }
.plan-divider { border-top: 1.5px solid var(--gray-100); margin: 1.5rem 0; }
.plan-feature-list { list-style: none; padding: 0; margin: 0; }
.plan-feature-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.86rem; padding: 0.4rem 0; color: var(--gray-700); }
.plan-feature-list li .feat-ok { color: var(--green); }
.plan-feature-list li .feat-no { color: var(--gray-300); }
.plan-feature-list li.disabled { color: var(--gray-400); }
.btn-plan { display: block; text-align: center; margin-top: 2rem; padding: 0.8rem; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: all 0.3s; }
.btn-plan-primary { background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff; }
.btn-plan-primary:hover { color: #fff; transform: translateY(-1px); }
.btn-plan-outline { border: 1.5px solid var(--gray-200); color: var(--gray-600); }
.btn-plan-outline:hover { border-color: var(--blue-400); color: var(--blue-600); background: var(--blue-50); }
.btn-plan-gold { background: linear-gradient(135deg, #d97706, #f59e0b); color: #fff; }
.btn-plan-gold:hover { color: #fff; transform: translateY(-1px); }

/* ══ PUBLICITÉ PREMIUM ══ */
.advert-section {
    padding: 5rem 0;
    background: linear-gradient(160deg, var(--blue-900), #0d2a6e);
    position: relative; overflow: hidden;
}
.advert-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
    background-size: 50px 50px;
}
/* Forcer tous les textes en blanc dans cette section sombre */
.advert-section h1,
.advert-section h2,
.advert-section h3,
.advert-section h4,
.advert-section h5,
.advert-section h6,
.advert-section p,
.advert-section .section-title,
.advert-section .section-subtitle {
    color: #fff;
}
.advert-card {
    background: rgba(255,255,255,0.06); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg);
    padding: 1.8rem; transition: all 0.3s;
}
.advert-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-3px); }
.advert-icon {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1rem;
    background: rgba(59,130,246,0.2); color: var(--blue-300);
}
.advert-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #fff !important; margin-bottom: 0.4rem; }
.advert-text  { font-size: 0.85rem; color: rgba(255,255,255,0.6) !important; line-height: 1.6; }

/* ══ TÉMOIGNAGES ══ */
.testimonials-section { padding: 5rem 0; }
.testimonial-card {
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 2rem; height: 100%; transition: all 0.3s;
}
.testimonial-card:hover { border-color: var(--blue-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.testimonial-quote { font-size: 2.5rem; color: var(--blue-200); line-height: 1; margin-bottom: 0.5rem; font-family: Georgia, serif; }
.testimonial-text  { color: var(--gray-700); font-size: 0.92rem; line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--gray-400); }

/* ══ CTA FINAL ══ */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 100%);
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute;
    width: 400px; height: 400px; background: rgba(255,255,255,0.05);
    border-radius: 50%; top: -150px; right: -100px;
}
.cta-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; letter-spacing: -0.8px; }
.cta-sub   { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.7; }
.btn-cta-white {
    background: #fff; color: var(--blue-700); font-weight: 700; border: none;
    border-radius: var(--radius-sm); padding: 0.85rem 2rem; font-size: 1rem;
    transition: all 0.3s; text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.2); color: var(--blue-700); }
.btn-cta-outline {
    border: 2px solid rgba(255,255,255,0.5); color: #fff; font-weight: 600;
    border-radius: var(--radius-sm); padding: 0.85rem 2rem; font-size: 1rem;
    transition: all 0.3s; text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

/* ══ FOOTER ══ */
.footer { background: var(--blue-900); color: rgba(255,255,255,0.6); padding: 4rem 0 1.5rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 0.8rem; }
.footer-brand span { color: var(--accent); }
.footer-desc    { font-size: 0.85rem; line-height: 1.7; max-width: 280px; margin-bottom: 1.5rem; }
.footer-heading { font-family: var(--font-display); color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.footer-links   { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a  { color: rgba(255,255,255,0.55); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-divider  { border-color: rgba(255,255,255,0.08); margin: 2rem 0 1.5rem; }
.footer-bottom   { font-size: 0.8rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.footer-social   { display: flex; gap: 0.6rem; }
.footer-social a {
    width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm); display: flex; align-items: center;
    justify-content: center; color: rgba(255,255,255,0.5);
    text-decoration: none; transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--blue-400); color: var(--blue-400); }

/* ══ TRUST BAR ══ */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 1.2rem 0; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.83rem; font-weight: 600; color: var(--gray-600); }
.trust-item i { color: var(--blue-500); font-size: 1rem; }

/* ══ ANIMATIONS ══ */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float    { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══ RESPONSIVE ══ */
@media (max-width: 991.98px) {
    .hero-section { min-height: auto; padding: 5rem 0 4rem; }
    .hero-stats-row { grid-template-columns: repeat(2, 1fr); }
    .ad-card { flex: 0 0 calc(50% - 0.75rem); }
}
@media (max-width: 767.98px) {
    .search-bar-wrapper { flex-direction: column; border-radius: var(--radius); padding: 0.8rem; }
    .search-divider { display: none; }
    .search-input, .search-select { width: 100%; border-bottom: 1px solid var(--gray-200); }
    .btn-search { width: 100%; justify-content: center; }
    .hero-stats-row { grid-template-columns: repeat(2, 1fr); }
    .ad-card { flex: 0 0 100%; }
    .btn-nav-register { display: none !important; }
}
@media (max-width: 575.98px) {
    .btn-nav-login { display: none !important; }
}