/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b6b;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ff6b6b;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 0 20px;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.btn-outline {
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.btn-outline:hover {
    background: #ff6b6b;
    color: white;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.floating-card span {
    font-size: 1.2rem;
    font-weight: 600;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Sections générales */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Concept Section */
.concept {
    background: #f8f9fa;
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.concept-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-10px);
}

.concept-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.concept-icon i {
    font-size: 2rem;
    color: white;
}

.concept-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.concept-card p {
    color: #666;
    line-height: 1.6;
}

/* Profils Section */
.profils-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.profil-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profil-card:hover {
    transform: translateY(-5px);
}

.profil-card.featured {
    border: 3px solid #ff6b6b;
    transform: scale(1.05);
}

.profil-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    text-align: center;
}

.profil-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.profil-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

.profil-content {
    padding: 2rem;
}

.profil-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.profil-content li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.profil-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
}

/* Spécialités Section */
.specialites {
    background: #f8f9fa;
}

.specialites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.specialite-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.specialite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.specialite-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.specialite-image i {
    font-size: 2rem;
    color: white;
}

.specialite-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.specialite-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Annonces Section */
.annonces {
    background: #2c3e50;
    color: white;
}

.annonces h2 {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.annonces h2 i {
    color: #ff6b6b;
    font-size: 2rem;
}

.annonces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.annonce-card {
    background: #34495e;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #4a5f7a;
}

.annonce-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: #ff6b6b;
}

.annonce-category {
    position: absolute;
    top: -10px;
    left: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.annonce-category.plats {
    background: #27ae60;
}

.annonce-category.confitures {
    background: #f39c12;
}

.annonce-category.atelier {
    background: #3498db;
}

.annonce-category.surprise {
    background: #9b59b6;
}

.annonce-category i {
    font-size: 0.9rem;
}

.annonce-card h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem 0;
    color: #ecf0f1;
    line-height: 1.3;
}

.annonce-card p {
    color: #bdc3c7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.annonce-participant {
    border-top: 1px solid #4a5f7a;
    padding-top: 1rem;
}

.annonce-participant span {
    color: #95a5a6;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Valeurs Section */
.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.valeur-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.valeur-card:hover {
    transform: translateY(-10px);
}

.valeur-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.valeur-icon i {
    font-size: 2rem;
    color: white;
}

.valeur-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.valeur-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact h2 {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: #ff6b6b;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 0.5rem;
    color: #ff6b6b;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b6b;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    /* Navigation mobile améliorée */
    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        display: block;
        border-radius: 10px;
        margin: 0 1rem;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background: rgba(255, 107, 107, 0.1);
        color: #ff6b6b;
    }

    /* Hero section mobile optimisée */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
        min-height: 100vh;
        justify-content: center;
    }

    .hero-content {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 30px;
        font-size: 1rem;
    }

    /* Cartes flottantes adaptées mobile */
    .hero-image {
        display: block;
        height: auto;
        min-height: 300px;
        position: relative;
        margin-top: 2rem;
    }

    .floating-card {
        position: relative;
        margin: 1rem;
        animation: none;
        transform: none;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 15px;
        padding: 1.5rem;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .floating-card:hover {
        transform: translateY(-5px) scale(1.02);
        background: rgba(255, 255, 255, 0.25);
    }

    .floating-card i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .floating-card span {
        font-size: 1rem;
        font-weight: 600;
    }

    /* Sections générales mobile */
    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    /* Grilles adaptées mobile */
    .concept-grid,
    .specialites-grid,
    .valeurs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .concept-card,
    .specialite-card,
    .valeur-card {
        padding: 1.5rem;
        margin: 0;
    }

    /* Profils mobile */
    .profils-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .profil-card {
        margin: 0;
    }

    .profil-card.featured {
        transform: none;
        order: -1;
    }

    .profil-header {
        padding: 1.5rem;
    }

    .profil-header i {
        font-size: 2.5rem;
    }

    .profil-header h3 {
        font-size: 1.5rem;
    }

    .profil-content {
        padding: 1.5rem;
    }

    .profil-content ul {
        margin-bottom: 1.5rem;
    }

    .profil-content li {
        padding: 0.4rem 0;
        font-size: 0.95rem;
    }

    /* Annonces mobile */
    .annonces-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .annonce-card {
        padding: 1.5rem;
        margin: 0;
    }

    .annonce-card h3 {
        font-size: 1.2rem;
        margin: 1rem 0 0.5rem 0;
    }

    .annonce-card p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    /* Contact mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 15px;
        font-size: 16px; /* Évite le zoom sur iOS */
    }

    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Optimisations spécifiques iOS */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
    
    .floating-card {
        -webkit-backdrop-filter: blur(10px);
    }
    
    .nav-menu {
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Optimisations spécifiques Android */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .floating-card {
        border-width: 0.5px;
    }
}

/* Tablettes */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .concept-grid,
    .specialites-grid,
    .valeurs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profils-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
    
    .annonces-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .floating-card {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .floating-card i {
        font-size: 1.5rem;
    }
    
    .floating-card span {
        font-size: 0.9rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .concept-card,
    .specialite-card,
    .valeur-card,
    .profil-card,
    .annonce-card {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 80vh;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-form {
        padding: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* Optimisations spécifiques pour les appareils mobiles */
.mobile-device {
    /* Améliorer les performances sur mobile */
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

.mobile-device .floating-card {
    /* Désactiver les animations complexes sur mobile */
    animation: none;
    transform: none;
}

.mobile-device .concept-card,
.mobile-device .specialite-card,
.mobile-device .valeur-card,
.mobile-device .profil-card,
.mobile-device .annonce-card {
    /* Optimiser les transitions sur mobile */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Optimisations iOS spécifiques */
.ios-device .hero {
    /* Utiliser la hauteur réelle de l'écran sur iOS */
    min-height: calc(var(--vh, 1vh) * 100);
}

.ios-device .floating-card,
.ios-device .nav-menu {
    /* Améliorer le rendu sur iOS */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.ios-device input,
.ios-device textarea,
.ios-device select {
    /* Éviter le zoom automatique sur iOS */
    font-size: 16px;
    -webkit-appearance: none;
    border-radius: 10px;
}

/* Optimisations Android spécifiques */
.android-device .floating-card {
    /* Améliorer le rendu sur Android */
    border-width: 0.5px;
}

.android-device .btn {
    /* Améliorer le touch sur Android */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Améliorer l'accessibilité mobile */
@media (max-width: 768px) {
    /* Augmenter la taille des zones de clic */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .floating-card {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Améliorer la lisibilité */
    .hero h1,
    .hero p,
    section h2,
    .section-subtitle {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    /* Optimiser les espacements pour le touch */
    .concept-card,
    .specialite-card,
    .valeur-card,
    .profil-card,
    .annonce-card {
        margin-bottom: 1rem;
    }
    
    /* Améliorer la navigation tactile */
    .nav-menu {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }
    
    /* Optimiser les modales pour le touch */
    .modal-content {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }
    
    .modal-form {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }
}

/* Prévenir le zoom sur les inputs sur mobile */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Optimisations pour les écrans haute densité */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .floating-card,
    .concept-card,
    .specialite-card,
    .valeur-card,
    .profil-card,
    .annonce-card {
        border-width: 0.5px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .concept-card,
    .valeur-card {
        padding: 1.5rem;
    }
}

/* Modales */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-form {
    padding: 2rem;
}

.modal-form .form-group {
    margin-bottom: 1.5rem;
}

.modal-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #ff6b6b;
}

.modal-form textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e8ed;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modale d'information */
.info-modal {
    max-width: 600px;
}

.modal-body {
    padding: 2rem;
}

.info-content {
    text-align: center;
}

.info-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.info-icon i {
    font-size: 3rem;
    color: white;
}

.info-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.info-content ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.info-content li {
    padding: 0.8rem 0;
    position: relative;
    padding-left: 2rem;
    color: #555;
    line-height: 1.6;
}

.info-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.2rem;
}

.info-highlight {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.info-highlight p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.info-cta {
    margin-top: 2rem;
}

/* Cursor pointer pour les cartes cliquables */
.floating-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Responsive pour les modales */
@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 90vh;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
        border-radius: 15px 15px 0 0;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-form {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .info-icon {
        width: 80px;
        height: 80px;
    }
    
    .info-icon i {
        font-size: 2.5rem;
    }
    
    .info-content h3 {
        font-size: 1.3rem;
    }
    
    .info-content ul {
        padding-left: 1rem;
    }
    
    .info-content li {
        padding: 0.6rem 0;
        font-size: 0.95rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-actions .btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    /* Modale des profils mobile */
    .profils-modal {
        margin: 5% auto;
        width: 95%;
        max-height: 85vh;
    }
    
    .profils-tabs {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .profils-grid {
        max-height: 300px;
        gap: 1rem;
    }
    
    .profil-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .profil-avatar {
        align-self: center;
        margin-bottom: 1rem;
    }
    
    .profil-info h3 {
        font-size: 1.1rem;
    }
    
    .profil-description {
        font-size: 0.9rem;
    }
    
    .profil-annonce {
        padding: 0.8rem;
    }
    
    .profil-annonce h4 {
        font-size: 0.9rem;
    }
    
    .profil-annonce p {
        font-size: 0.85rem;
    }
    
    .profils-cta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .profils-cta .btn {
        width: 100%;
        padding: 12px 20px;
    }
}

/* Modale des profils */
.profils-modal {
    max-width: 900px;
    max-height: 80vh;
}

.profils-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.tab-btn:not(.active) {
    background: #f8f9fa;
    color: #666;
}

.tab-btn:not(.active):hover {
    background: #e9ecef;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.profils-grid {
    display: grid;
    gap: 2rem;
    max-height: 400px;
    overflow-y: auto;
}

.profil-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #ff6b6b;
    transition: all 0.3s ease;
}

.profil-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.profil-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profil-avatar i {
    font-size: 1.5rem;
    color: white;
}

.profil-info {
    flex: 1;
}

.profil-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.2rem;
}

.profil-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profil-description {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.profil-annonce {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.profil-annonce h4 {
    margin: 0 0 0.5rem 0;
    color: #ff6b6b;
    font-size: 1rem;
}

.profil-annonce p {
    margin: 0 0 1rem 0;
    color: #555;
    font-style: italic;
}

.annonce-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.profils-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* Responsive pour la modale des profils */
@media (max-width: 768px) {
    .profils-modal {
        margin: 5% auto;
        width: 95%;
    }
    
    .profils-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .profil-item {
        flex-direction: column;
        text-align: center;
    }
    
    .profil-avatar {
        align-self: center;
    }
    
    .profils-cta {
        flex-direction: column;
    }
    
    .profils-cta .btn {
        width: 100%;
    }
}
