/**
 * Page-specific styles for pages/index.html
 */

/* “Pourquoi Huntool” — pas de padding-top sur la section (le .container n’en a pas) */
.section.section-problem-solution {
    padding-top: 0;
}

/* Problem / Solution cards (Glassmorphism Agency) */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.problem-card {
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.problem-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
}

.problem-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.problem-card p {
    font-size: var(--text-base);
    color: var(--color-text-muted);
}

/* Logo bar */
.logo-bar {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--gray-100);
}

.logo-bar-label {
    text-align: center;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-400);
    margin-bottom: var(--space-3);
    font-family: var(--font-mono);
}

/* Mockup state positions for sticky scroll */
.card-candidate {
    top: 20%;
    left: 10%;
    width: 65%;
    height: 55%;
}

.card-linkedin-badge {
    top: 15%;
    right: 10%;
    width: 28%;
    height: 12%;
    background: #0077b5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: var(--text-sm);
    border: none;
    border-radius: var(--radius-lg);
}

.card-tags {
    bottom: 20%;
    left: 15%;
    width: 50%;
    height: 10%;
    display: flex;
    gap: 8px;
}

.tag-pill {
    flex: 1;
    background: var(--gray-200);
    border-radius: 4px;
}

/* Testimonials Carousel */
.testimonials-carousel-wrapper {
    overflow: hidden;
    position: relative;
    margin-top: var(--space-12);
    padding: var(--space-4) 0;
}

.testimonials-carousel-wrapper::before,
.testimonials-carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-50), transparent);
}

.testimonials-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-50), transparent);
}

.testimonials-carousel-track {
    display: flex;
    gap: var(--space-8);
    width: max-content;
    animation: carousel-scroll 36s linear infinite;
    animation-delay: 2s;
    will-change: transform;
}

/* Deux bandes identiques : le gap n’est qu’entre elles — translateX(-50%) seul ne suffit pas (voir keyframes) */
.testimonials-carousel-group {
    display: flex;
    gap: var(--space-8);
    flex-shrink: 0;
}

@media (max-width: 1023px) {
    .testimonials-carousel-track {
        animation-duration: 20s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonials-carousel-track {
        animation: none;
    }
}

@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Une largeur de bande + le gap entre les deux bandes — boucle sans saut */
        transform: translateX(calc(-50% - var(--space-8) / 2));
    }
}

.testimonial-card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-slow) var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    min-width: 380px;
    max-width: 380px;
    flex-shrink: 0;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--orange-50);
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gray-950);
    font-size: var(--text-base);
}

.testimonial-role {
    font-size: var(--text-xs);
    color: var(--gray-500);
    line-height: 1.2;
}

.testimonial-content {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--gray-700);
    font-style: italic;
}

.testimonial-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--orange-500);
    font-weight: 700;
    margin-top: auto;
}

.testimonial-badge img {
    width: 14px;
    height: 14px;
}

/* FAQ */
.faq-list {
    max-width: 42rem;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
    padding: var(--space-5) 0;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    text-align: left;
    padding: 0;
    transition: color 0.15s;
}

.faq-question:hover {
    color: var(--orange-500);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--gray-400);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--orange-500);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 20rem;
}

.faq-answer p {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
    padding-top: var(--space-3);
}

@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
}

/* === FEATURES STICKY SCROLL FIX === */
@media (min-width: 992px) {
    /* 1. Break containment that kills sticky */
    #features.section {
        display: block !important;
        content-visibility: visible !important;
        contain: none !important;
        contain-intrinsic-size: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    /* 2. Sticky section header below fixed nav */
    #features .section-header {
        position: sticky !important;
        top: 4.5rem;
        z-index: 20;
        background: white;
        padding: var(--space-4) 0 var(--space-3);
        margin-bottom: 0;
    }

    #features .section-header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 100%;
        background: #fff;
        z-index: -1;
    }

    #features .section-header::after {
        content: "";
        position: absolute;
        bottom: -1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 1rem;
        background: linear-gradient(to bottom, #fff, transparent);
        pointer-events: none;
        z-index: -1;
    }

    /* 3. Remove top padding so item 01 + mockup appear immediately */
    #features .sticky-section {
        padding-top: var(--space-2) !important;
    }

    #features .sticky-content {
        padding-top: 0 !important;
    }

    /* 4. Mockup sticky sous la nav + feature items assez hauts pour que l'animation joue */
    #features .sticky-visual {
        align-self: flex-start !important;
        position: sticky !important;
        top: 25vh !important;
        height: 60vh !important;
        margin-top: 10rem;
        background: transparent !important;
        border: none !important;
    }

    #features .sticky-visual .mockup-container {
        background: transparent !important;
    }

    #features .sticky-visual .mockup-state {
        background: transparent !important;
        padding: 0 !important;
    }

    #features .feature-item {
        min-height: 90vh;
    }

    /* Premier feature plus long pour que l'anim sourcing joue entièrement */
    #features .feature-item:first-child {
        min-height: 150vh;
    }
}

/* ============================================
   SOURCING V1 MOCKUP — Styles integres
   (scopes via .mockup-card pour eviter les conflits)
============================================ */

/* Mockup container */
.mockup-card {
    background: white;
    border-radius: 16px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.06),
        0 24px 48px -12px rgba(0, 0, 0, 0.12),
        0 8px 16px -4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 580px;
}

/* Chrome-like browser bar */
.mockup-card .browser-bar {
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mockup-card .browser-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.mockup-card .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-card .dot.red {
    background: #ef4444;
}
.mockup-card .dot.yellow {
    background: #f59e0b;
}
.mockup-card .dot.green {
    background: #22c55e;
}

.mockup-card .browser-url {
    flex: 1;
    height: 24px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
    font-size: 11px;
    color: #6b7280;
    font-family: var(--font-mono);
}

.mockup-card .browser-url-lock {
    color: #22c55e;
    font-size: 10px;
}

/* LinkedIn Scene */
.mockup-card .linkedin-scene {
    position: relative;
    overflow: hidden;
    background: #f3f2ef;
}

.mockup-card .li-nav {
    background: white;
    border-bottom: 1px solid #e0dfdc;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-card .li-logo {
    background: #0077b5;
    color: white;
    font-weight: 900;
    font-size: 14px;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mockup-card .li-search {
    background: #eef3f8;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 11px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    max-width: 180px;
}

.mockup-card .li-nav-icons {
    display: flex;
    gap: 16px;
    margin-left: auto;
}

.mockup-card .li-nav-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 9px;
    color: #666;
}

.mockup-card .li-nav-icon svg {
    width: 16px;
    height: 16px;
    color: #666;
}

/* Profile card */
.mockup-card .profile-card {
    background: white;
    margin: 12px;
    border-radius: 10px;
    border: 1px solid #e0dfdc;
    overflow: hidden;
    position: relative;
}

.mockup-card .profile-cover {
    height: 64px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c56 40%, #1a1a1a 60%);
    position: relative;
    overflow: hidden;
}

.mockup-card .profile-cover-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: white;
    text-align: center;
    padding: 6px;
    line-height: 1.3;
}

.mockup-card .profile-cover-text span {
    color: #ff8c56;
}

.mockup-card .profile-avatar-wrap {
    position: relative;
    padding: 0 14px 0;
    margin-top: -24px;
    margin-bottom: 4px;
}

.mockup-card .profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid white;
    overflow: hidden;
    background: #ff6b35;
}

.mockup-card .profile-avatar img,
.mockup-card .ext-avatar img,
.mockup-card .fiche-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mockup-card .profile-info {
    padding: 0 14px 14px;
}

.mockup-card .profile-name {
    font-weight: 700;
    font-size: 13px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mockup-card .profile-badge-1er {
    font-size: 9px;
    color: #666;
    font-weight: 400;
}

.mockup-card .profile-title {
    font-size: 11px;
    color: #444;
    margin-top: 2px;
    line-height: 1.4;
}

.mockup-card .profile-location {
    font-size: 10px;
    color: #0077b5;
    margin-top: 4px;
    font-weight: 500;
}

.mockup-card .profile-connections {
    font-size: 10px;
    color: #666;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mockup-card .profile-connections-avatars {
    display: flex;
}

.mockup-card .conn-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid white;
    margin-left: -4px;
}

.mockup-card .conn-avatar:first-child {
    margin-left: 0;
}

.mockup-card .profile-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.mockup-card .li-btn-primary {
    background: #0077b5;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mockup-card .li-btn-secondary {
    background: white;
    color: #0077b5;
    border: 1.5px solid #0077b5;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

/* Huntool Pastille */
.mockup-card .huntool-pastille {
    position: absolute;
    bottom: 24px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    border: 2px solid #ff6b35;
    animation: srcPastillePulse 2s ease-in-out infinite;
    transition: transform 0.15s ease;
}

.mockup-card .huntool-pastille:hover {
    transform: scale(1.08);
}

@keyframes srcPastillePulse {
    0%,
    100% {
        box-shadow: 0 2px 12px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 2px 20px rgba(255, 107, 53, 0.55);
    }
}

.mockup-card .huntool-pastille svg {
    width: 20px;
    height: 20px;
}

/* Animated cursor */
.mockup-card .cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 100;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transform-origin: top left;
    transition:
        left 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        top 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Extension overlay */
.mockup-card .extension-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    z-index: 30;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mockup-card .extension-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.mockup-card .extension-panel {
    background: white;
    border-radius: 12px;
    margin: 12px;
    margin-top: 44px;
    width: calc(100% - 24px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(-8px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-card .extension-overlay.visible .extension-panel {
    transform: translateY(0);
}

.mockup-card .ext-header {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.mockup-card .ext-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #ff6b35;
    flex-shrink: 0;
}

.mockup-card .ext-person-info {
    flex: 1;
}

.mockup-card .ext-name {
    font-weight: 700;
    font-size: 13px;
    color: #1a1a1a;
}

.mockup-card .ext-icons {
    display: flex;
    gap: 6px;
    margin-top: 2px;
}

.mockup-card .ext-icon-badge {
    background: #25d366;
    border-radius: 3px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-card .ext-icon-badge.li {
    background: #0077b5;
}

.mockup-card .ext-status-row {
    font-size: 10px;
    color: #666;
    margin-top: 2px;
}

.mockup-card .ext-company {
    font-size: 11px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 1px;
}

.mockup-card .ext-body {
    padding: 14px 16px;
}

.mockup-card .ext-not-in-db {
    font-size: 11px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 4px;
}

.mockup-card .ext-create-hint {
    font-size: 10px;
    color: #ff6b35;
    text-align: center;
    margin-bottom: 14px;
}

.mockup-card .ext-create-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #00b09b;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    position: relative;
    transition:
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.mockup-card .ext-create-btn:hover {
    background: #009688;
    box-shadow: 0 4px 12px rgba(0, 176, 155, 0.35);
}

.mockup-card .ext-create-btn.clicked::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    animation: srcRipple 0.4s ease-out;
}

@keyframes srcRipple {
    from {
        opacity: 1;
        transform: scale(0.9);
    }
    to {
        opacity: 0;
        transform: scale(1.05);
    }
}

.mockup-card .ext-divider {
    text-align: center;
    font-size: 9px;
    color: #aaa;
    margin: 12px 0 8px;
}

.mockup-card .ext-fields {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mockup-card .ext-field {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: #555;
}

.mockup-card .ext-field svg {
    width: 12px;
    height: 12px;
    color: #999;
    flex-shrink: 0;
}

.mockup-card .ext-tag {
    display: inline-flex;
    align-items: center;
    background: #eef3f8;
    border-radius: 20px;
    padding: 3px 8px;
    font-size: 10px;
    color: #0077b5;
    font-weight: 500;
    gap: 3px;
}

/* Success overlay */
.mockup-card .success-overlay {
    position: absolute;
    inset: 0;
    background: white;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.mockup-card .success-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.mockup-card .success-tick {
    width: 52px;
    height: 52px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mockup-card .success-overlay.visible .success-tick {
    transform: scale(1);
}

.mockup-card .success-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    color: #1a1a1a;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.3s ease 0.3s,
        transform 0.3s ease 0.3s;
}

.mockup-card .success-overlay.visible .success-text {
    opacity: 1;
    transform: translateY(0);
}

.mockup-card .success-sub {
    font-size: 10px;
    color: #888;
    opacity: 0;
    transition: opacity 0.3s ease 0.4s;
}

.mockup-card .success-overlay.visible .success-sub {
    opacity: 1;
}

.mockup-card .success-fiche {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: calc(100% - 48px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.4s ease 0.45s,
        transform 0.4s ease 0.45s;
}

.mockup-card .success-overlay.visible .success-fiche {
    opacity: 1;
    transform: translateY(0);
}

.mockup-card .fiche-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #ff6b35;
    flex-shrink: 0;
}

.mockup-card .fiche-info {
    flex: 1;
}

.mockup-card .fiche-name {
    font-weight: 700;
    font-size: 12px;
    color: #1a1a1a;
}

.mockup-card .fiche-meta {
    font-size: 10px;
    color: #888;
    margin-top: 1px;
}

.mockup-card .fiche-badge {
    background: #ecfdf5;
    color: #059669;
    font-size: 9px;
    font-weight: 700;
    border-radius: 20px;
    padding: 3px 8px;
    white-space: nowrap;
}

.mockup-card .fiche-fields {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: calc(100% - 48px);
    opacity: 0;
    transition: opacity 0.3s ease 0.6s;
}

.mockup-card .success-overlay.visible .fiche-fields {
    opacity: 1;
}

.mockup-card .fiche-field-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #555;
}

.mockup-card .fiche-field-row svg {
    width: 11px;
    height: 11px;
    color: #ff6b35;
    flex-shrink: 0;
}

.mockup-card .replay-btn {
    margin-top: 8px;
    background: transparent;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 10px;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transition:
        opacity 0.3s ease 0.8s,
        border-color 0.2s ease,
        color 0.2s ease;
}

.mockup-card .success-overlay.visible .replay-btn {
    opacity: 1;
}

.mockup-card .replay-btn:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

/* Particles */
.mockup-card .particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 50;
    opacity: 0;
}

/* Browser Bar for Sourcing Mockup */
.sourcing-browser-bar {
    position: relative;
    width: 100%;
    height: 32px;
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    z-index: 10;
    border-radius: 12px 12px 0 0;
}

.browser-dots {
    display: flex;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.sourcing-url-bar {
    flex: 1;
    height: 20px;
    background: white;
    border-radius: 4px;
    margin-left: 8px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 10px;
    color: #6b7280;
}

/* Override for state-1 to allow auto height */
.mockup-state.state-1 {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
}

/* Specific class for auto-height sticky visual (sourcing mockup) */
.sticky-visual-auto {
    height: auto !important;
    min-height: auto !important;
    align-self: center !important;
}

.sticky-visual-auto .mockup-container {
    height: auto !important;
}

/* Sourcing Scene Container */
.sourcing-scene-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    /* Shorter container */
    overflow: hidden;
    background: #ffffff;
}

.sourcing-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed from cover to contain to show full width */
    object-position: top center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.sourcing-screenshot.active {
    opacity: 1;
}

/* Animated Cursor */
.sourcing-cursor {
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="black" stroke="white" stroke-width="1"><path d="M5.5 3.21l10.8 15.2-5.4 1.1-2.9 6.2-2.7-1.1 2.8-6.1L3.2 19.3z"/></svg>')
        no-repeat top left/contain;
    position: absolute;
    z-index: 100;
    pointer-events: none;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    transition: all 0.1s;
    top: 80%;
    left: 20%;
}

/* Success Tick */
.sourcing-success-tick {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
    z-index: 60;
    opacity: 0;
}

.sourcing-success-tick svg {
    width: 30px;
    height: 30px;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Particle Effect */
.sourcing-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--orange-500);
    border-radius: 50%;
    pointer-events: none;
    z-index: 50;
}

.mockup-state.state-3 .crm-mockup-wrapper {
    width: 154%;
    height: 154%;
    background: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    position: relative;
    transform: scale(0.65);
    transform-origin: top left;
}
.mockup-state.state-3 .crm-fake-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z"/></svg>')
        no-repeat center;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition:
        left 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        top 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.3s;
}
.mockup-state.state-3 .crm-click-ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #00b09b;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.5);
}
@keyframes crmRippleAnim {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}
.mockup-state.state-3 .crm-app-topbar {
    background: white;
    border-bottom: 1px solid #e8e8e8;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.mockup-state.state-3 .crm-ht-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8452a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mockup-state.state-3 .crm-app-search {
    flex: 1;
    max-width: 220px;
    background: #f3f4f6;
    border: none;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 10px;
    color: #888;
    font-family: "Inter", sans-serif;
    outline: none;
}
.mockup-state.state-3 .crm-app-toolbar {
    display: flex;
    gap: 5px;
    margin-left: auto;
    align-items: center;
}
.mockup-state.state-3 .crm-app-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}
.mockup-state.state-3 .crm-app-chip {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 9px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-weight: 500;
}
.mockup-state.state-3 .crm-btn-nouvelle {
    background: #00b09b;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}
.mockup-state.state-3 .crm-header-bar {
    padding: 14px 20px 8px;
    background: white;
    border-bottom: 1px solid #e8e8e8;
    flex-shrink: 0;
}
.mockup-state.state-3 .crm-title-row {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.mockup-state.state-3 .crm-subtitle-inline {
    font-size: 11px;
    color: #666;
    font-weight: 400;
}
.mockup-state.state-3 .crm-tabs-row {
    display: flex;
    background: #e5e7eb;
    border-radius: 20px;
    padding: 3px;
    width: fit-content;
}
.mockup-state.state-3 .crm-tab-item {
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}
.mockup-state.state-3 .crm-tab-item.active {
    background: white;
    color: #00b09b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.mockup-state.state-3 .crm-views-container {
    position: relative;
    flex: 1;
    background: white;
    padding: 20px;
    overflow: hidden;
}
.mockup-state.state-3 .crm-view {
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
    transform: translateY(10px);
}
.mockup-state.state-3 .crm-view.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mockup-state.state-3 .crm-data-table-container {
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    height: 100%;
}
.mockup-state.state-3 .crm-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}
.mockup-state.state-3 .crm-data-table th {
    text-align: left;
    padding: 10px 14px;
    color: #6b7280;
    font-weight: 500;
    border-bottom: 1px solid #e5e7eb;
}
.mockup-state.state-3 .crm-data-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    vertical-align: middle;
}
.mockup-state.state-3 .crm-data-table tr:hover td {
    background: #f9fafb;
}
.mockup-state.state-3 .crm-flex-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.mockup-state.state-3 .crm-logo-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #1e3a8a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}
.mockup-state.state-3 .crm-avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}
.mockup-state.state-3 .crm-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mockup-state.state-3 .crm-tag-pill {
    padding: 3px 7px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}
.mockup-state.state-3 .crm-tag-location {
    background: #38bdf8;
    color: white;
}
.mockup-state.state-3 .crm-tag-client {
    background: #16a34a;
    color: white;
}
.mockup-state.state-3 .crm-tag-prospect {
    background: #9333ea;
    color: white;
}
.mockup-state.state-3 .crm-tag-cto {
    background: #2dd4bf;
    color: white;
}
.mockup-state.state-3 .crm-tag-number {
    background: #2dd4bf;
    color: white;
}
/* Pipeline */
.mockup-state.state-3 .crm-pipeline-board {
    display: flex;
    gap: 12px;
    height: 100%;
    overflow-x: auto;
}
.mockup-state.state-3 .crm-pipe-col {
    flex: 1;
    min-width: 160px;
    background: #f4f5f7;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mockup-state.state-3 .crm-pipe-header {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    padding-bottom: 6px;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 5px;
}
.mockup-state.state-3 .crm-pipe-header span {
    color: #9ca3af;
    font-size: 10px;
    font-weight: 400;
}
.mockup-state.state-3 .crm-pipe-card {
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    border-left: 3px solid #14b8a6;
    cursor: pointer;
}
.mockup-state.state-3 .crm-card-top {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
}
.mockup-state.state-3 .crm-card-title {
    font-weight: 600;
    font-size: 12px;
}
.mockup-state.state-3 .crm-card-subtitle {
    font-size: 10px;
    color: #6b7280;
    margin-bottom: 8px;
}
.mockup-state.state-3 .crm-card-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #374151;
}
.mockup-state.state-3 .crm-card-date {
    text-align: right;
    font-size: 9px;
    color: #9ca3af;
    margin-top: 6px;
}
/* Fiche detail */
.mockup-state.state-3 .crm-fiche-layout {
    display: flex;
    gap: 20px;
    height: 100%;
}
.mockup-state.state-3 .crm-fiche-left {
    width: 240px;
    background: white;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow-y: auto;
    flex-shrink: 0;
}
.mockup-state.state-3 .crm-fiche-logo-large {
    width: 52px;
    height: 52px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.mockup-state.state-3 .crm-fiche-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}
.mockup-state.state-3 .crm-fiche-link {
    font-size: 10px;
    color: #00b09b;
    text-decoration: underline;
    margin-bottom: 12px;
    display: block;
}
.mockup-state.state-3 .crm-fiche-tabs {
    display: flex;
    gap: 12px;
    margin: 18px 0 12px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 6px;
}
.mockup-state.state-3 .crm-fiche-tab {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}
.mockup-state.state-3 .crm-fiche-tab.active {
    color: #00b09b;
}
.mockup-state.state-3 .crm-fiche-info-box {
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    font-size: 10px;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mockup-state.state-3 .crm-fiche-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
}
.mockup-state.state-3 .crm-section-box {
    background: white;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}
.mockup-state.state-3 .crm-section-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mockup-state.state-3 .crm-opp-card {
    border-left: 3px solid #00b09b;
    padding-left: 10px;
    margin-bottom: 12px;
}
.mockup-state.state-3 .crm-opp-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}
.mockup-state.state-3 .crm-opp-link {
    color: #00b09b;
    font-weight: 400;
    text-decoration: underline;
}
.mockup-state.state-3 .crm-opp-steps {
    display: flex;
    gap: 3px;
}
.mockup-state.state-3 .crm-opp-step {
    flex: 1;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 6px 4px;
    border-radius: 4px;
    font-size: 9px;
    color: #9ca3af;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mockup-state.state-3 .crm-opp-step.done {
    color: #00b09b;
    background: white;
    border-color: #00b09b;
}

/* English homepage (en.html): brand + contact only — contact block flush right */
.page-en-home .footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-12);
}

.page-en-home .footer-brand {
    flex: 1 1 auto;
    min-width: min(100%, 24rem);
    max-width: 32rem;
}

.page-en-home .footer-col {
    flex: 0 0 auto;
    text-align: right;
}

@media (min-width: 640px) {
    .page-en-home .footer-col a:hover {
        transform: translateX(-4px);
    }
}

@media (max-width: 639px) {
    .page-en-home .footer-grid {
        flex-direction: column;
        align-items: center;
    }

    .page-en-home .footer-brand {
        max-width: none;
        align-items: center;
    }

    .page-en-home .footer-col {
        text-align: center;
    }
}
