/* MIDIFLEX Dépannage — styles complémentaires à Tailwind */

body {
    font-family: 'Source Sans 3', sans-serif;
}

.font-heading {
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.01em;
}

/* Hero */
.hero-gradient {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.96) 0%, rgba(15, 23, 42, 0.94) 100%);
}

.hero-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Titres de section : soulignement dégradé */
.section-title {
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #8B0000, #F57C00);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-title-left::after {
    margin: 12px 0 0;
}

/* CTA */
.cta-button {
    background: linear-gradient(135deg, #8B0000 0%, #700000 100%);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, #700000 0%, #550000 100%);
    transform: scale(1.02);
}

.trust-badge {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.08) 0%, rgba(245, 124, 0, 0.08) 100%);
}

.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Fade-in au scroll */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accordéon FAQ */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 320px;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-chevron {
    transition: transform 0.3s ease;
}

/* Dropdowns desktop */
[data-dropdown] {
    position: relative;
}

[data-dropdown] > ul {
    min-width: 16rem;
}

/* Focus visible pour l'accessibilité */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #F57C00;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
