/********** PALETTE DE COULEUR PRO-AI **********/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --ai-primary: #2563eb;       /* Bleu électrique */
    --ai-secondary: #8b5cf6;     /* Violet futuriste */
    --ai-accent: #06b6d4;        /* Cyan énergique */
    --ai-dark: #0f172a;          /* Fond sombre */
    --ai-light: #f8fafc;         /* Fond clair */
    --ai-gradient: linear-gradient(135deg, var(--ai-primary) 0%, var(--ai-secondary) 100%);
}

/********** STYLE GÉNÉRAL **********/
body {
    font-family: 'Poppins', 'Segoe UI', sans-serif !important;
    background-color: var(--ai-light);
    color: #334155;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

h1, h2, h3 {
    font-family: 'Poppins', 'Segoe UI', sans-serif !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ai-dark);
}

/********** LOGO MODERNISÉ **********/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700&display=swap');
.main-title a {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-weight: 800;
    font-size: 2.8rem;
    letter-spacing: -0.03em;
    /* reste du style inchangé */
}
.main-title a {
 
    
    background: var(--ai-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
    
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}

.main-title a:hover {
    transform: scale(1.03);
    text-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.main-title a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--ai-gradient);
    transition: width 0.4s ease;
    border-radius: 2px;
}

.main-title a:hover::after {
    width: 100%;
}

@keyframes aiPulse {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.main-title a {
    background-size: 200% auto;
    animation: aiPulse 6s ease infinite;
}

/********** SECTION OUTILS AI **********/
.tools-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
    padding: 40px;
    margin-top: 40px;
}

h1.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

h1.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 4px;
    background: var(--ai-gradient);
    border-radius: 2px;
}

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

.tool-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 
                0 2px 4px -2px rgba(15, 23, 42, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.15), 
                0 8px 10px -6px rgba(37, 99, 235, 0.15);
    border-color: #c7d2fe;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--ai-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-icon {
    font-size: 48px;
    margin-bottom: 20px;
    background: var(--ai-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 6px rgba(37, 99, 235, 0.1));
}

.tool-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--ai-dark);
}

.tool-desc {
    font-size: 15px;
    margin-bottom: 25px;
    color: #64748b;
    line-height: 1.7;
}

.tool-link {
    display: inline-block;
    padding: 12px 28px;
    background: var(--ai-gradient);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3), 
                0 2px 4px -2px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tool-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ai-secondary) 0%, var(--ai-primary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.tool-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4), 
                0 4px 6px -4px rgba(37, 99, 235, 0.4);
}

.tool-link:hover::before {
    opacity: 1;
}

/********** RESPONSIVE **********/
@media (max-width: 768px) {
    .main-title a {
        font-size: 2.2rem;
    }
    
    .tools-section {
        padding: 30px 20px;
    }
    
    h1.section-title {
        font-size: 2rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/********** EFFET DE BACKGROUND FUTURISTE **********/
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 20%);
    z-index: -1;
    pointer-events: none;
}

.copyright-bar-text {
  text-align: center;
  font-size: 11px;
  color: #888;
  padding: 15px 0;
 
}

.copyright-bar-text a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
}
