/* Page distributeur - MASQUER TOUS LES TITRES */
.ffmsc-distributeur-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* MASQUER TITRES WORDPRESS */
body.page .entry-title,
body.page h1.entry-title,
body.page .page-title,
body.page .entry-header h1,
.ffmsc-distributeur-page + h1,
.ffmsc-distributeur-page + .entry-header,
h1:has(+ .ffmsc-distributeur-page),
.entry-header:has(+ .ffmsc-distributeur-page) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hero section avec placeholder image */
.distributeur-hero {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 50%, #5dade2 100%);
    color: white;
    padding: 0;
    border-radius: 25px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(41, 128, 185, 0.25);
    display: flex;
    min-height: 300px;
}

.hero-image-container {
    flex: 1;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.hero-image-placeholder {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: imageFloat 4s ease-in-out infinite;
}

.hero-image-placeholder p {
    margin: 10px 0 0 0;
    font-size: 14px;
    opacity: 0.8;
    text-align: center;
}

@keyframes imageFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-content {
    flex: 2;
    padding: 40px 40px 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.company-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideInUp 1s ease-out;
}

.company-name {
    font-size: 3.5em;
    font-weight: 800;
    margin: 0 0 15px 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    line-height: 1.1;
    animation: slideInUp 1s ease-out 0.2s both;
}

.company-subtitle {
    font-size: 1.4em;
    opacity: 0.9;
    font-weight: 300;
    margin: 0 0 25px 0;
    animation: slideInUp 1s ease-out 0.4s both;
}

.department-info {
    animation: slideInUp 1s ease-out 0.6s both;
}

.department-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 16px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section contenu */
.distributeur-content {
    padding: 0 20px;
}

.section-title {
    font-size: 2.5em;
    color: #2c3e50;
    text-align: center;
    margin: 0 0 40px 0;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2980b9, #3498db);
    border-radius: 2px;
}

/* Grille d'informations */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(41, 128, 185, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e8f4f8;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2980b9, #3498db, #5dade2);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(41, 128, 185, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #2980b9, #3498db);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 8px 20px rgba(41, 128, 185, 0.3);
}

.card-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.card-content {
    color: #5a6c7d;
    line-height: 1.6;
}

.address-text {
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2980b9;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 12px 15px;
    background: rgba(41, 128, 185, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(41, 128, 185, 0.1);
}

.contact-link:hover {
    background: rgba(41, 128, 185, 0.1);
    transform: translateX(5px);
    color: #1e3c72;
    text-decoration: none;
}

.contact-icon {
    font-size: 18px;
}

.contact-text {
    font-size: 15px;
}

/* Actions redesignées */
.actions-section {
    text-align: center;
    margin-top: 60px;
}

.actions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.action-button:hover::before {
    left: 100%;
}

.primary-action {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.primary-action:hover {
    background: linear-gradient(135deg, #229954, #28b463);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(39, 174, 96, 0.4);
    color: white;
    text-decoration: none;
}

.secondary-action {
    background: linear-gradient(135deg, #2980b9, #3498db);
}

.secondary-action:hover {
    background: linear-gradient(135deg, #1f6391, #2e8bc0);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(41, 128, 185, 0.4);
    color: white;
    text-decoration: none;
}

.tertiary-action {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.tertiary-action:hover {
    background: linear-gradient(135deg, #7d3c98, #884ea0);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(142, 68, 173, 0.4);
    color: white;
    text-decoration: none;
}

.action-icon {
    font-size: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.action-content {
    text-align: left;
    flex: 1;
}

.action-title {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 5px;
}

.action-subtitle {
    font-size: 0.9em;
    opacity: 0.9;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .ffmsc-search-container {
        max-width: 100%;
        margin: 20px 10px;
    }
    
    .ffmsc-search-form {
        padding: 30px 25px;
    }
    
    .distributeur-hero {
        flex-direction: column;
        min-height: auto;
        margin: 0 10px 30px;
    }
    
    .hero-image-container {
        max-width: none;
        padding: 30px;
    }
    
    .hero-content {
        padding: 20px 30px 40px;
    }
    
    .company-name {
        font-size: 2.5em;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 10px 40px;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .actions-container {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 10px;
    }
    
    .section-title {
        font-size: 2em;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 4s infinite linear;
    }
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header du formulaire */
.form-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.form-header h3 {
    color: white;
    font-size: 2em;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.form-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
    margin: 0;
    font-weight: 300;
}

/* Container d'input */
.input-container {
    position: relative;
    z-index: 2;
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-wrapper input {
    width: 100%;
    padding: 18px 50px 18px 20px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-wrapper input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3), inset 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.input-wrapper input::placeholder {
    color: #888;
    font-weight: 300;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

/* Bouton de recherche */
.btn-search {
    width: 100%;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-search:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 60, 114, 0.4);
    background: linear-gradient(45deg, #1a3668, #235a9c);
}

.btn-search:active {
    transform: translateY(-1px);
}

.btn-search .btn-icon {
    transition: transform 0.3s ease;
}

.btn-search:hover .btn-icon {
    transform: rotate(90deg);
}

.btn-search.loading .btn-text,
.btn-search.loading .btn-icon {
    opacity: 0;
}

.btn-search.loading .btn-loader {
    display: block !important;
}

.btn-loader .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Exemples de codes */
.search-examples {
    text-align: center;
    margin-top: 25px;
    position: relative;
    z-index: 2;
}

.search-examples span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-right: 15px;
}

.example-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    margin: 0 5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.example-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Loading magnifique */
.loading-container {
    text-align: center;
    padding: 40px 30px;
    color: white;
    position: relative;
    z-index: 2;
}

.loading-animation {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.pulse-ring {
    position: absolute;
    border: 3px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    animation: pulsate 2s ease-out infinite;
}

.pulse-ring {
    width: 80px;
    height: 80px;
    top: 0;
    left: 0;
}

.pulse-ring-2 {
    animation-delay: 0.5s;
    border-color: rgba(46, 134, 193, 0.4);
}

.pulse-ring-3 {
    animation-delay: 1s;
    border-color: rgba(93, 173, 226, 0.5);
}

@keyframes pulsate {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2, 1.2);
        opacity: 0;
    }
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    40% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
    60% {
        transform: translate(-50%, -50%) translateY(-5px);
    }
}

.loading-container p {
    margin: 0 0 15px 0;
    font-weight: 300;
    font-size: 1.1em;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    animation: dotPulse 1.4s infinite ease-in-out;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    30% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Résultat */
.result-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 768px) {
    .ffmsc-search-container {
        max-width: 100%;
        margin: 20px 10px;
    }
    
    .ffmsc-search-form {
        padding: 30px 25px;
    }
    
    .distributeur-hero {
        flex-direction: column;
        min-height: auto;
        margin: 0 10px 30px;
    }
    
    .hero-image-container {
        max-width: none;
        padding: 30px;
    }
    
    .hero-content {
        padding: 20px 30px 40px;
    }
    
    .company-name {
        font-size: 2.5em;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 10px 40px;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .actions-container {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 10px;
    }
    
    .section-title {
    font-size: 2em;
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50;
}
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2980b9;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 12px 15px;
    background: rgba(41, 128, 185, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(41, 128, 185, 0.1);
}

.contact-link:hover {
    background: rgba(41, 128, 185, 0.1);
    transform: translateX(5px);
    color: #1e3c72;
    text-decoration: none;
}

.contact-icon {
    font-size: 18px;
}

.contact-text {
    font-size: 15px;
}

/* Actions redesignées */
.actions-section {
    text-align: center;
    margin-top: 60px;
}

.actions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.action-button:hover::before {
    left: 100%;
}

.primary-action {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.primary-action:hover {
    background: linear-gradient(135deg, #229954, #28b463);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(39, 174, 96, 0.4);
    color: white;
    text-decoration: none;
}

.secondary-action {
    background: linear-gradient(135deg, #2980b9, #3498db);
}

.secondary-action:hover {
    background: linear-gradient(135deg, #1f6391, #2e8bc0);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(41, 128, 185, 0.4);
    color: white;
    text-decoration: none;
}

.tertiary-action {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.tertiary-action:hover {
    background: linear-gradient(135deg, #7d3c98, #884ea0);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(142, 68, 173, 0.4);
    color: white;
    text-decoration: none;
}

.action-icon {
    font-size: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.action-content {
    text-align: left;
    flex: 1;
}

.action-title {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 5px;
}

.action-subtitle {
    font-size: 0.9em;
    opacity: 0.9;
    font-weight: 300;
}

/* Container principal du formulaire de recherche */
.ffmsc-search-container {
    max-width: 500px;
    margin: 30px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Formulaire de recherche */
.ffmsc-search-form {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 50%, #5dade2 100%);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 20px 40px rgba(41, 128, 185, 0.2);
    position: relative;
    overflow: hidden;
}

.ffmsc-search-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
}
    /* Container principal */
.ffmsc-search-container {
    max-width: 500px;
    margin: 30px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Formulaire de recherche */
.ffmsc-search-form {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 50%, #5dade2 100%);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 20px 40px rgba(41, 128, 185, 0.2);
    position: relative;
    overflow: hidden;
}

.ffmsc-search-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 4s infinite linear;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header du formulaire */
.form-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.form-header h3 {
    color: white;
    font-size: 2em;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.form-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
    margin: 0;
    font-weight: 300;
}

/* Container d'input */
.input-container {
    position: relative;
    z-index: 2;
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-wrapper input {
    width: 100%;
    padding: 18px 50px 18px 20px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-wrapper input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3), inset 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.input-wrapper input::placeholder {
    color: #888;
    font-weight: 300;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

/* Bouton de recherche */
.btn-search {
    width: 100%;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-search:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 60, 114, 0.4);
    background: linear-gradient(45deg, #1a3668, #235a9c);
}

.btn-search:active {
    transform: translateY(-1px);
}

.btn-search .btn-icon {
    transition: transform 0.3s ease;
}

.btn-search:hover .btn-icon {
    transform: rotate(90deg);
}

.btn-search.loading .btn-text,
.btn-search.loading .btn-icon {
    opacity: 0;
}

.btn-search.loading .btn-loader {
    display: block !important;
}

.btn-loader .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Exemples de codes */
.search-examples {
    text-align: center;
    margin-top: 25px;
    position: relative;
    z-index: 2;
}

.search-examples span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-right: 15px;
}

.example-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    margin: 0 5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.example-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Loading magnifique */
.loading-container {
    text-align: center;
    padding: 40px 30px;
    color: white;
    position: relative;
    z-index: 2;
}

.loading-animation {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.pulse-ring {
    position: absolute;
    border: 3px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    animation: pulsate 2s ease-out infinite;
}

.pulse-ring {
    width: 80px;
    height: 80px;
    top: 0;
    left: 0;
}

.pulse-ring-2 {
    animation-delay: 0.5s;
    border-color: rgba(46, 134, 193, 0.4);
}

.pulse-ring-3 {
    animation-delay: 1s;
    border-color: rgba(93, 173, 226, 0.5);
}

@keyframes pulsate {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2, 1.2);
        opacity: 0;
    }
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    40% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
    60% {
        transform: translate(-50%, -50%) translateY(-5px);
    }
}

.loading-container p {
    margin: 0 0 15px 0;
    font-weight: 300;
    font-size: 1.1em;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    animation: dotPulse 1.4s infinite ease-in-out;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    30% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Résultat */
.result-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

/* Page distributeur - MASQUER TOUS LES TITRES */
.ffmsc-distributeur-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

/* MASQUER TITRES WORDPRESS */
body.page .entry-title,
body.page h1.entry-title,
body.page .page-title,
body.page .entry-header h1,
.ffmsc-distributeur-page + h1,
.ffmsc-distributeur-page + .entry-header,
h1:has(+ .ffmsc-distributeur-page),
.entry-header:has(+ .ffmsc-distributeur-page) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.distributeur-hero {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 50%, #5dade2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 25px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(41, 128, 185, 0.25);
}

.distributeur-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.company-name {
    font-size: 3em;
    font-weight: 800;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    line-height: 1.1;
    animation: slideInUp 1s ease-out;
}

.company-subtitle {
    font-size: 1.3em;
    opacity: 0.9;
    font-weight: 300;
    margin: 0 0 10px 0;
    animation: slideInUp 1s ease-out 0.2s both;
}

.department-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 15px;
    animation: slideInUp 1s ease-out 0.4s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grille d'informations */
.distributeur-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(41, 128, 185, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e8f4f8;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2980b9, #3498db, #5dade2);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(41, 128, 185, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.card-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(45deg, #2980b9, #3498db);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 8px 20px rgba(41, 128, 185, 0.3);
}

.card-title {
    font-size: 1.4em;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.card-content p {
    margin: 0 0 15px 0;
    color: #5a6c7d;
    line-height: 1.6;
}

.card-content p:last-child {
    margin-bottom: 0;
}

.contact-link {
    color: #2980b9;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 2px 0;
    border-bottom: 2px solid transparent;
}

.contact-link:hover {
    color: #1e3c72;
    border-bottom-color: #3498db;
}

/* Actions rapides */
.quick-actions {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3498db 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: white;
    margin-top: 30px;
    box-shadow: 0 15px 35px rgba(30, 60, 114, 0.2);
}

.quick-actions h3 {
    font-size: 1.8em;
    margin: 0 0 25px 0;
    font-weight: 700;
}

.actions-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .ffmsc-search-container {
        max-width: 100%;
        margin: 20px 10px;
    }
    
    .ffmsc-search-form {
        padding: 30px 25px;
    }
    
    .company-name {
        font-size: 2.2em;
    }
    
    .distributeur-hero {
        padding: 40px 25px;
        margin: 0 10px 30px;
    }
    
    .distributeur-info {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 10px 30px;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .quick-actions {
        margin: 20px 10px;
        padding: 30px 20px;
    }
    
    .actions-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 250px;
    }
}