:root {
    --primary-color: #60a5fa;
    --primary-hover: #3b82f6;
    --background-light: #f9fafb;
    --white: #ffffff;
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05);
    --text-color: #4b5563;
    --heading-color: #374151;
    --link-color: #2563eb;
    --link-hover: #1d4ed8;
}
/* Dark mode overrides */
[data-theme="dark"] body {
    background: linear-gradient(135deg, #0f172a, #111827) no-repeat;
    background-size: 100% 300px;
    color: var(--text-primary, #e5e7eb);
}
[data-theme="dark"] .tools-nav,
[data-theme="dark"] .tool-showcase,
[data-theme="dark"] .faq-section {
    background: var(--bg-secondary, #111827);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
[data-theme="dark"] .tools-nav h2,
[data-theme="dark"] .tool-details h3,
[data-theme="dark"] .faq-question { color: var(--text-primary, #e5e7eb); }
[data-theme="dark"] .tool-video,
[data-theme="dark"] .tool-video iframe { background: #0f172a; }
[data-theme="dark"] .tool-details li { color: var(--text-primary, #e5e7eb); }
[data-theme="dark"] .faq-answer { background-color: #0f172a; color: var(--text-primary, #e5e7eb); }
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #60a5fa, #93c5fd) no-repeat;
    background-size: 100% 300px;
    color: var(--text-color);
}
/* Styles des liens */
a {
    color: var(--link-color);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}
a:hover {
    color: var(--link-hover);
    border-bottom: 1px solid var(--link-hover);
}
.tools-presentation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.hero {
    text-align: center;
    padding: 4rem 1.5rem 1rem 1.5rem;
    margin-bottom: 2rem;
}
.hero h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}
/* Navigation */
.tools-nav {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    margin-top: -2rem;
    position: relative;
    z-index: 1;
}
.tools-nav h2 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}
.tools-nav__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.tools-nav__list a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
    border-bottom: none;
}
.tools-nav__list a:hover {
    background-color: var(--background-light);
    transform: translateY(-1px);
    color: var(--primary-hover);
}
/* Outils */
.tool-showcase {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}
.tool-showcase h2 {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    padding: 1.25rem;
    margin: 0;
    font-size: 1.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tool-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    padding: 2rem;
}
.tool-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background: var(--background-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.tool-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-light);
}
.tool-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}
.tool-details h3 {
    color: var(--heading-color);
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
    font-weight: 600;
}
.tool-details ul {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    list-style-type: none;
}
.tool-details li {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}
.tool-details li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}
.tool-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}
/* Harmonisation des boutons */
.btn-primary, .btn-secondary {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-bottom: none;
}
.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary .material-icons {
    margin-top: -1px; /* Alignement vertical fin */
}
.btn-primary:hover {
    background: var(--background-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.1);
}
.btn-primary:active {
    transform: translateY(0);
}
.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-secondary .material-icons {
    margin-top: -1px; /* Ajustement fin pour l'alignement vertical */
}
.btn-secondary:hover {
    background: var(--background-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.1);
}
/* Responsive */
@media (max-width: 1024px) {
    .tool-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .tool-details {
        margin-top: 1.5rem;
    }
}
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }
    
    .tool-showcase h2 {
        font-size: 1.2rem;
        padding: 1rem;
    }
    
    .tool-content {
        padding: 1rem;
    }
    
    .tool-details {
        padding: 0.5rem;
    }
    
    .tool-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        text-align: center;
    }
}
@media (max-width: 480px) {
    .tools-nav {
        padding: 1rem;
    }
    
    .tools-nav__list {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tools-nav__list a {
        display: block;
        text-align: center;
        padding: 0.75rem;
    }
}
/* FAQ Styles */
.faq-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}
.faq-section h2 {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    padding: 1.25rem;
    margin: -2rem -2rem 2rem -2rem;
    font-size: 1.4rem;
    border-radius: 1rem 1rem 0 0;
}
.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--heading-color);
    transition: all 0.3s ease;
    font-weight: bold;
}

.faq-question:hover {
    color: var(--primary-color);
    background-color: var(--background-light);
}

.faq-question::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--background-light);
    color: var(--text-color);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

/* Responsive pour FAQ */
@media (max-width: 768px) {
    .faq-section {
        margin: 2rem auto;
        padding: 1rem;
    }

    .faq-section h2 {
        margin: -1rem -1rem 1rem -1rem;
        padding: 1rem;
        font-size: 1.2rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-item.active .faq-answer {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 0.75rem;
    }

    .faq-section h2 {
        margin: -0.75rem -0.75rem 0.75rem -0.75rem;
        padding: 0.75rem;
    }

    .faq-question {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .faq-item.active .faq-answer {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

.toolsIntro__wrapper {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.5rem 1rem;
}

.intro-text-highlight {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    padding: 1rem;
    margin-top: 1.5rem;
    background: rgba(var(--primary-color-rgb), 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 0.5rem 0.5rem 0;
}

@media (max-width: 768px) {
    .intro-text-highlight {
        font-size: 1rem;
        padding: 0.75rem;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .intro-text-highlight {
        font-size: 0.95rem;
        padding: 0.5rem;
        margin-top: 0.75rem;
    }
}


@media (max-width: 768px) {
    .toolsIntro__wrapper {
        padding: 0.35rem 1rem;
    }
}

@media (max-width: 480px) {
    .toolsIntro__wrapper {
        padding: 0.25rem 1rem;
    }
}
