/* =============================================================================
   SNAP STUDIO - DESIGN SYSTEM
   Phase 2 : Identité visuelle et design system
   ============================================================================= */

/* Configuration des couleurs (DA.md) */
:root {
    --primary: #1A2239;        /* Bleu nuit - professionnalisme */
    --accent: #1194E2;         /* Bleu vif - CTA, boutons */
    --secondary: #24C6DC;      /* Turquoise - interactions */
    --neutral: #F5F6FA;        /* Background - clarté */
    --text-main: #232A36;      /* Texte principal */
    --white: #FFFFFF;          /* Espaces, backgrounds */
}

/* Typographie */
.font-inter {
    font-family: 'Inter', sans-serif;
}

.font-manrope {
    font-family: 'Manrope', sans-serif;
}

/* Styles texte */
.heading-2 {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--primary);
}

.heading-3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--primary);
}

.body-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.625;
    color: var(--text-main);
}

/* Boutons */
.btn-primary {
    background-color: var(--accent);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: rgba(17, 148, 226, 0.9);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: rgba(36, 198, 220, 0.9);
    transform: translateY(-2px);
}

/* Cartes */
.card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(26, 34, 57, 0.08);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(26, 34, 57, 0.12);
    transform: translateY(-4px);
}

/* Sections */
.section {
    padding: 5rem 1rem;
}

.container {
    max-width: 72rem;
    margin: 0 auto;
}

/* Animations */
@keyframes pulse-cta {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(17, 148, 226, 0.7);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(17, 148, 226, 0);
    }
}

.btn-pulse {
    animation: pulse-cta 2s infinite;
}

@keyframes slideUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slideUp {
    animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease-out;
}

/* Animation pulse soft pour héro */
.animate-pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}

@keyframes pulse-soft {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Morphing animation */
.animate-morphing {
    animation: morphing 2s ease-in-out infinite;
}

@keyframes morphing {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive helpers */
@media (max-width: 768px) {
    .heading-2 {
        font-size: 1.75rem;
    }
    
    .heading-3 {
        font-size: 1.25rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support pour les logos */
@media (prefers-color-scheme: dark) {
    .invert-on-dark {
        filter: invert(1);
    }
}

/* Couleurs Tailwind personnalisées */
.bg-primary {
    background-color: var(--primary);
}

.bg-accent {
    background-color: var(--accent);
}

.bg-secondary {
    background-color: var(--secondary);
}

.bg-neutral {
    background-color: var(--neutral);
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-secondary {
    color: var(--secondary);
}

.text-textMain {
    color: var(--text-main);
}

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

.border-secondary {
    border-color: var(--secondary);
}

/* Hover states */
.hover\:text-accent:hover {
    color: var(--accent);
}

.hover\:bg-accent\/90:hover {
    background-color: rgba(17, 148, 226, 0.9);
}

.hover\:bg-secondary\/30:hover {
    background-color: rgba(36, 198, 220, 0.3);
} 

/* =============================================================================
   CONFIDENCE BADGES & SECURITY ELEMENTS
   ============================================================================= */

.confidence-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.confidence-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.confidence-badge svg {
    flex-shrink: 0;
    color: #24C6DC;
    filter: drop-shadow(0 0 4px rgba(36, 198, 220, 0.3));
}

/* Version pour fond sombre */
.confidence-badge-dark {
    background: rgba(26, 34, 57, 0.9);
    border: 1px solid rgba(17, 148, 226, 0.3);
    color: white;
}

.confidence-badge-dark:hover {
    background: rgba(26, 34, 57, 1);
    border-color: rgba(17, 148, 226, 0.5);
}

/* Version pour fond clair */
.confidence-badge-light {
    background: rgba(245, 246, 250, 0.9);
    border: 1px solid rgba(17, 148, 226, 0.2);
    color: #232A36;
}

.confidence-badge-light:hover {
    background: rgba(245, 246, 250, 1);
    border-color: rgba(17, 148, 226, 0.3);
}

.confidence-badge-light svg {
    color: #1194E2;
}

/* Badge de sécurité spécial */
.security-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1194E2, #24C6DC);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(17, 148, 226, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.security-badge::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #1194E2, #24C6DC, #1194E2);
    border-radius: 2rem;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

.security-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 148, 226, 0.4);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Badge de garantie */
.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    color: #059669;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.guarantee-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.2), transparent);
    transition: left 0.5s ease;
}

.guarantee-badge:hover::before {
    left: 100%;
}

.guarantee-badge svg {
    color: #22C55E;
}

/* Animation float pour les badges */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .confidence-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        gap: 0.3rem;
    }
    
    .confidence-badge svg {
        width: 1rem;
        height: 1rem;
    }
    
    .security-badge {
        font-size: 0.75rem;
        padding: 0.6rem 1.2rem;
    }
    
    .guarantee-badge {
        font-size: 0.75rem;
        padding: 0.6rem 1.2rem;
    }
}

/* =============================================================================
   TRUST INDICATORS
   ============================================================================= */

.trust-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(17, 148, 226, 0.1);
    border-radius: 0.5rem;
    color: #232A36;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trust-indicator:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(17, 148, 226, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.trust-indicator svg {
    color: #1194E2;
    flex-shrink: 0;
}

.trust-indicator-success svg {
    color: #22C55E;
}

.trust-indicator-warning svg {
    color: #F59E0B;
}

@media (max-width: 768px) {
    .trust-indicators {
        gap: 1rem;
    }
    
    .trust-indicator {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

.animate-badge-entrance {
    animation: badgeEntrance 0.8s ease-out;
}

@keyframes badgeEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes securityPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(17, 148, 226, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(17, 148, 226, 0.5);
    }
}

/* =============================================================================
   UTILITIES
   ============================================================================= */

.badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.badge-separator {
    width: 1px;
    height: 20px;
    background: rgba(17, 148, 226, 0.2);
    margin: 0 0.5rem;
}

@media (max-width: 768px) {
    .badge-separator {
        display: none;
    }
}

/* =============================================================================
   TECH PARTNERS LOGOS
   ============================================================================= */

.tech-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.tech-partner-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.tech-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.tech-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: rgba(245, 246, 250, 0.8);
    border: 1px solid rgba(17, 148, 226, 0.1);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tech-logo:hover {
    background: rgba(245, 246, 250, 1);
    border-color: rgba(17, 148, 226, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.tech-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6B7280;
    text-align: center;
}

/* Styles spécifiques pour chaque logo */
.canva-logo:hover {
    background: rgba(0, 196, 204, 0.1);
    border-color: rgba(0, 196, 204, 0.3);
}

.n8n-logo:hover {
    background: rgba(234, 75, 113, 0.1);
    border-color: rgba(234, 75, 113, 0.3);
}

.google-logo:hover {
    background: rgba(66, 133, 244, 0.1);
    border-color: rgba(66, 133, 244, 0.3);
}

.calendly-logo:hover {
    background: rgba(0, 107, 255, 0.1);
    border-color: rgba(0, 107, 255, 0.3);
}

.ssl-logo:hover {
    background: rgba(0, 200, 81, 0.1);
    border-color: rgba(0, 200, 81, 0.3);
}

/* Animation d'apparition */
.tech-partner-logo {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.tech-partner-logo:nth-child(1) { animation-delay: 0.1s; }
.tech-partner-logo:nth-child(2) { animation-delay: 0.2s; }
.tech-partner-logo:nth-child(3) { animation-delay: 0.3s; }
.tech-partner-logo:nth-child(4) { animation-delay: 0.4s; }
.tech-partner-logo:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.7;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .tech-partner-logo {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .tech-logo {
        padding: 0.5rem 0.75rem;
    }
    
    .tech-logo svg {
        width: 60px;
        height: 18px;
    }
    
    .tech-name {
        font-size: 0.6875rem;
    }
} 