/* Variables CSS personnalisées */
:root {
    /* Palette alignée sur le logo */
    --primary-color: #2e549b;   /* Bleu principal */
    --primary-dark: #1c306d;    /* Bleu plus foncé (hover) */
    --secondary-color: #141414;
    --text-gray: #151417;
    --light-gray: #f6f6f6;
    --gradient-bg: linear-gradient(135deg, #1c306d 0%, #2e549b 100%);
    --header-offset: 0px;
}

/* Animations pour les boutons d'importation d'images */
@keyframes smooth-fade-in {
    0% {
        transform: scale(0.8) translateY(10px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(46, 84, 155, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(46, 84, 155, 0.6);
    }
}

.animate-smooth-fade-in {
    animation: smooth-fade-in 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Styles pour les boutons d'importation d'images */
#content-editor-toolbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#image-sub-buttons {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#image-sub-buttons button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* État initial pour éviter le flash */
    transform: scale(0.8) translateY(10px);
    opacity: 0;
}

#main-image-import-btn {
    background: linear-gradient(135deg, #2e549b 0%, #1c306d 100%);
    box-shadow: 0 10px 25px rgba(46, 84, 155, 0.3);
}

#main-image-import-btn:hover {
    background: linear-gradient(135deg, #1c306d 0%, #0f1f4a 100%);
    box-shadow: 0 15px 35px rgba(46, 84, 155, 0.4);
}

#insert-image-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

#insert-image-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.4);
}

#insert-image-url-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

#insert-image-url-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.4);
}

/* Effets de hover supplémentaires pour les sous-boutons */
#insert-image-btn:hover,
#insert-image-url-btn:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Animation de retour au repos */
#insert-image-btn,
#insert-image-url-btn {
    transition: all 0.2s ease-out;
}

/* Typographie personnalisée */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
}

/* Supprimé: pas de padding-top global sur main avec header sticky */

/* Header sticky */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* .site-header.sticky - classe maintenue pour compat retro */

.navbar-brand img {
    height: 32px;
}

/* Hero Section */
.hero-with-columns-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0fe 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-with-columns-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600" fill="none"><defs><radialGradient id="grad" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23600DFF;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%23600DFF;stop-opacity:0"/></radialGradient></defs><circle cx="600" cy="300" r="300" fill="url(%23grad)"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-paragraph {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 84, 155, 0.3);
}

/* Bouton foncé (Signup) */
.btn-dark-custom {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Badges */
.new-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.shared-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-dark-custom:hover {
    background: #333;
}

/* Bouton outline noir (Contact Sales) */
.btn-outline {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

/* Liens du menu header */
.menu-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.menu-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-brand {
    text-decoration: none !important;
}

/* Séparateur vertical */
.menu-divider {
    width: 1px;
    height: 24px;
    background: #000;
}

/* Running Logos */
.running-logos {
    margin-top: 60px;
    overflow: hidden;
    padding: 20px 0;
}

.running-logos__wrapper {
    position: relative;
}

.running-logos__content {
    display: flex;
    gap: 100px;
    align-items: center;
    animation: none; /* Animation désactivée */
}

.running-logos__item img {
    height: 90px; /* taille augmentée */
    width: auto;
    max-width: 100%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.running-logos__item:hover img {
    opacity: 1;
}

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

/* Split Content Toggle */
.split-content-toggle {
    background: var(--secondary-color);
    color: white;
    padding: 100px 0;
}

.split-content-toggle__section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.split-content-toggle__section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Features Section */
.features-section-new {
    padding: 100px 0;
    background: var(--gradient-bg);
    color: #fff;
}

.features-section-new__title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #fff;
}

.tabs-navigation__item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tabs-navigation__item.active {
    border-left: 4px solid #fff;
    padding-left: 20px;
    background: rgba(255,255,255,0.1);
}

.tabs-navigation__item p { color: #e0e0e0; }

.nav-link-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

/* Customer Reviews */
.customer-review-section {
    background: var(--light-gray);
    padding: 100px 0;
}

.review-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--secondary-color);
}

.review-slide {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.quote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.quote-author {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Social Proof */
.social-proof-section {
    background: var(--gradient-bg);
    padding: 100px 0;
    color: #fff;
}

.small-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
}

.medals {
    display: flex;
    justify-content: center;
    gap: 40px;
}
.medal img {
    height: 80px;
    filter: grayscale(0%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}
.medal img:hover { opacity: 1; }

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 80px 0 40px;
}

.footer_headline {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

/* Footer compact pour les pages du dashboard */
.footer-compact {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 2rem 0;
    width: 100%;
    margin-top: auto;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-copyright p {
    color: #e2e8f0;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-weight: 500;
    position: relative;
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Responsive pour le footer */
@media (min-width: 768px) {
    .footer-row {
        flex-direction: row;
        gap: 2rem;
    }
    
    .footer-copyright p {
        text-align: left;
    }
    
    .footer-links {
        justify-content: flex-end;
    }
}

@media (max-width: 640px) {
    .footer-compact {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-links {
        gap: 1.5rem;
        font-size: 0.85rem;
    }
    
    .footer-links a {
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .footer-links a {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 0.5rem;
    }
    
    .footer-links a:hover {
        background: rgba(255, 255, 255, 0.15);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-paragraph {
        font-size: 1.1rem;
    }

    .features-section-new__title {
        font-size: 2rem;
    }

    .split-content-toggle__section h2 {
        font-size: 2rem;
    }

    /* Logos responsives */
    .running-logos__content {
        gap: 60px;
        justify-content: center;
    }

    .running-logos__item img {
        height: 70px;
    }

    /* Images des comptes rendus responsives */
    .postit-card .postit-image-container img {
        height: auto;
        min-height: 280px;
        object-fit: cover;
        object-position: top left;
        filter: brightness(1.08) contrast(1.15);
    }

    /* Vidéo responsive */
    .split-content-toggle__media div {
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    .running-logos__content {
        gap: 40px;
        flex-wrap: wrap;
    }

    .running-logos__item img {
        height: 60px;
    }

    .postit-card .postit-image-container img {
        min-height: 220px;
        object-position: top left;
        filter: brightness(1.1) contrast(1.2);
    }

    /* Vidéo très petite */
    .split-content-toggle__media div {
        height: 250px !important;
    }
}

/* Utilities */
.text--b {
    font-weight: 700;
}

.pt-12 { padding-top: 6rem; }
.pb-12 { padding-bottom: 6rem; }
.py-12 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-14 { padding-top: 7rem; }
.pb-14 { padding-bottom: 7rem; }

/* How it works */
.how-it-works-section {
    background: var(--light-gray);
}

.hw-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto;
}

.hw-step:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

/* Post-it cards */
.postit-card {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.postit-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.postit-card .postit-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.postit-card .postit-image-container img {
    width: 100%;
    height: auto;
    min-height: 320px;
    object-fit: cover;
    object-position: top left;
    border-radius: 8px;
    transition: transform 0.3s ease;
    filter: brightness(1.05) contrast(1.1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.postit-card:hover .postit-image-container img {
    transform: scale(1.02);
}
.postit-card .postit-image-container .pin-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    font-size: 14px;
    z-index: 2;
}

/* Amélioration de la lisibilité des images de comptes rendus */
.postit-card .postit-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.05) 100%);
    border-radius: 8px;
    z-index: 1;
    pointer-events: none;
}

/* Effet de zoom amélioré au survol */
.postit-card:hover .postit-image-container::before {
    background: linear-gradient(135deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.1) 100%);
}

/* Amélioration de l'espacement et de la lisibilité des cartes */
.postit-card {
    margin-bottom: 1rem;
}

.postit-card .p-4 {
    padding: 1.5rem !important;
}

.postit-card h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    color: #1f2937 !important;
}

.postit-card p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #4b5563 !important;
} 

/* Pricing cards */
.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.pricing-card .ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.8rem;
    border-bottom-left-radius: 8px;
}

/* Section tarifs avec fond sombre */
.pricing-section {
    position: relative;
    background: #000000;
    overflow: hidden;
}

.pricing-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(46, 84, 155, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(28, 48, 109, 0.1) 0%, transparent 50%),
        #000000;
    z-index: 1;
}

.pricing-section .pricing-card {
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.pricing-section .pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    border-color: rgba(46, 84, 155, 0.3);
}

/* Styles pour la sidebar des catégories */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Styles pour les boutons modernes */
.btn-modern-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-modern-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 84, 155, 0.3);
}

.btn-modern-outline {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-modern-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Styles pour la sidebar avec sidebar */
body.with-sidebar {
    padding-left: 0;
}

body.with-sidebar .site-header {
    margin-left: 0;
}

/* Animation pour les transitions de contenu */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu mobile plein écran */
.mobile-nav-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    transition: all 0.3s ease-in-out;
}

.mobile-nav-fullscreen.show {
    display: block !important;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-nav-fullscreen.show .mobile-nav-content {
    transform: translateX(0);
}

/* Styles pour les éléments du menu mobile */
.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.mobile-nav-item:hover {
    background-color: #f3f4f6;
    color: var(--primary-color);
    transform: translateX(4px);
}

.mobile-nav-item i {
    width: 20px;
    text-align: center;
    color: #6b7280;
}

.mobile-nav-item:hover i {
    color: var(--primary-color);
}

.mobile-nav-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    justify-content: center;
}

.mobile-nav-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 84, 155, 0.3);
}

.mobile-nav-button-outline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    justify-content: center;
}

.mobile-nav-button-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* Responsive pour le menu mobile */
@media (max-width: 480px) {
    .mobile-nav-content {
        max-width: 100%;
        width: 100%;
    }
    
    .mobile-nav-item {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .mobile-nav-button,
    .mobile-nav-button-outline {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Assurer que le menu couvre bien toute la page */
@media (max-width: 768px) {
    .mobile-nav-fullscreen {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 9999 !important;
    }
} 