/* ========================================= */
/* === MODERN EXOTIC FRUITS CSS THEME === */
/* ========================================= */

:root {
    /* Palette inspirée des fruits exotiques */
    --mango-orange: #ff8c42;
    --passion-purple: #6f2da8;
    --kiwi-green: #8fbc8f;
    --dragon-pink: #ff69b4;
    --coconut-white: #fff8dc;
    --papaya-coral: #ff7f7f;
    --avocado-green: #568203;
    
    /* Couleurs principales */
    --primary-gradient: linear-gradient(135deg, var(--mango-orange) 0%, var(--papaya-coral) 100%);
    --secondary-gradient: linear-gradient(135deg, var(--passion-purple) 0%, var(--dragon-pink) 100%);
    --accent-gradient: linear-gradient(135deg, var(--kiwi-green) 0%, var(--avocado-green) 100%);
    
    /* Couleurs de base */
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-primary: #fdfdfd;
    --bg-secondary: #f8f9fa;
    --border-light: rgba(0, 0, 0, 0.08);
    --shadow-light: 0 2px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.15);
    
    /* Typography moderne */
    --font-primary: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;
    
    /* Animations */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset moderne avec focus sur l'accessibilité */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus {
    outline: 2px solid var(--mango-orange);
    outline-offset: 2px;
}

/* Import des polices Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

/* Base moderne */
body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    line-height: 1.6;
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header moderne avec glassmorphism */
header {
    background: rgba(255, 140, 66, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 1rem;
    color: white;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-light);
}

.logo {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #ffe4b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}



/* Navigation moderne */
nav {
    background: var(--secondary-gradient);
    padding: 1rem;
    box-shadow: var(--shadow-light);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 0.5rem;
}

nav li {
    position: relative;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    display: block;
    position: relative;
    overflow: hidden;
}

nav a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

nav a:hover:before {
    left: 0;
}

nav a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Styles pour le bloc publicitaire personnalisé */
.custom-ad-placement {
    width: 340px;
    height: 280px;
    margin: 40px auto;
    border: 2px solid #00C8C8; /* primary-flashy */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    background-color: #FFFFFF; /* white */

    flex-shrink: 0;
    flex-grow: 0;
}

.ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ad-button {
    background-color: #FFB347 !important; /* secondary-flashy avec !important */
    color: #FFFFFF; /* white */
    border: none;
    padding: 8px 15px; /* Réduction du padding pour mieux s'adapter */
    border-radius: 8px;
    font-size: 0.95em; /* Légère réduction de la taille de police */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;

    position: absolute;
    bottom: 15px; /* Ajustement de la position pour qu'il soit plus bas */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    white-space: nowrap; /* Empêche le texte du bouton de passer à la ligne */
}

.ad-button:hover {
    background-color: #FFC06F !important; /* Un orange plus clair (avec !important) */
    transform: translateX(-55%) translateY(-2px); /* Centrage + léger effet de soulèvement */
}


/* ================================ */
/* === MENUS DÉROULANTS MODERNES === */
/* ================================ */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown > a:after {
    content: " ▼";
    font-size: 0.7em;
    vertical-align: middle;
    display: inline-block;
    margin-left: 8px;
    transition: var(--transition-fast);
}

.dropdown:hover > a:after {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(111, 45, 168, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 200px;
    box-shadow: var(--shadow-medium);
    z-index: 1000;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-radius: 0;
    transition: var(--transition-fast);
    position: relative;
}

.dropdown-content a:before {
    display: none; /* Désactive l'effet de brillance sur les liens du dropdown */
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    box-shadow: none;
}

/* Container moderne */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;

}



/* ===================================== */
/* === STRUCTURE CONTENU MODERNISÉE === */
/* ===================================== */

.main-title {
    font-family: var(--font-secondary);
    text-align: center;
    margin: 3rem 0 2rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.main-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* Conteneur principal moderne */
.content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 2rem;
    width: 100%;
    max-width: 1100px;
    min-width: 692px;
    margin: 0 auto 3rem auto;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.content-wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-gradient);
}

/* Section promo affiliate modernisée */
.affiliate-promo-box {
    background: linear-gradient(135deg, rgba(143, 188, 143, 0.1) 0%, rgba(86, 130, 3, 0.1) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 90%;
    text-align: center;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.affiliate-promo-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    margin: -2px;
    border-radius: 20px;
    z-index: -1;
}

.affiliate-promo-box h4 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--avocado-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.affiliate-promo-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* Bouton affiliate moderne */
.affiliate-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: perspective(1px) translateZ(0);
}

.affiliate-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-smooth);
}

.affiliate-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-strong);
}

.affiliate-button:hover:before {
    left: 100%;
}

.button-main-text {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
}

.button-sub-text {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 4px;
}

/* Layout moderne flexbox */
.top-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    min-height: 280px;
}

/* Block image moderne */
.image-block {
    width: 280px;
    height: 280px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    position: relative;
    transition: var(--transition-smooth);
}

.image-block:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: var(--shadow-strong);
}

.image-block img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.image-block:hover img {
    transform: scale(1.1);
}

/* Block publicité moderne */
.ads-block {
    width: 340px;
    height: 280px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 2px dashed var(--border-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.ads-block:hover {
    border-color: var(--mango-orange);
    transform: scale(1.02);
}

/* Block texte principal moderne */
.main-text-block {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--primary-gradient) border-box;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1rem;
    position: relative;
}

.main-text-block p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: left;
}

/* =================================== */
/* ==   Style du Menu d'Accès Rapide  == */
/* =================================== */
.quick-access-menu {
    text-align: center;
    margin: 2rem auto 2.5rem auto;
    padding: 1.5rem;
    /* Utilisation de vos variables de fond et de bordure */
    background-color: var(--bg-secondary); 
    border-radius: 12px; /* Cohérent avec vos autres arrondis */
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light);
}

.quick-access-menu h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    /* Utilisation de votre dégradé principal pour le titre */
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.quick-access-menu p {
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    /* Utilisation de votre variable de couleur de texte */
    color: var(--text-light); 
}

.access-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.access-link {
    display: inline-block;
    text-decoration: none;
    font-weight: 600; /* Un peu plus affirmé */
    /* Utilisation de vos variables de texte et de fond */
    color: var(--text-dark);
    background-color: white;
    padding: 10px 20px;
    border-radius: 50px; /* Forme de pilule */
    border: 2px solid var(--border-light);
    /* Utilisation de votre variable de transition */
    transition: var(--transition-smooth);
}

.access-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    /* Utilisation de votre couleur orange pour le survol */
    border-color: var(--mango-orange); 
    color: var(--mango-orange);
}

/* Style spécial pour mettre en avant les NOUVELLES catégories */
.access-link.new-category {
    /* Utilisation de votre couleur violette pour la distinction */
    border-color: var(--passion-purple); 
    color: var(--passion-purple);
    font-weight: 700;
}

.access-link.new-category:hover {
    /* Remplissage avec la couleur violette au survol */
    background-color: var(--passion-purple); 
    color: white;
}

/* =============================== */
/* === CARDS & GRIDS MODERNES === */
/* =============================== */

.fruits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.fruit-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.fruit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.fruit-image {
    height: 200px;
    width: 100%;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.fruit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.fruit-card:hover .fruit-image img {
    transform: scale(1.1);
}

.fruit-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fruit-name {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--mango-orange);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.fruit-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.6;
}

.fruit-origin {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* ======================================= */
/* === SYSTÈME DE DÉTAILS CACHÉS/VISIBLES === */
/* ======================================= */

.fruit-details {
    display: none; /* IMPORTANT: Masqué par défaut */
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed rgba(255, 140, 66, 0.3);
    animation: slideDown 0.3s ease-out;
}

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

.details-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 140, 66, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--mango-orange);
}

.details-section:last-child {
    margin-bottom: 0;
}

.details-section em {
    color: var(--mango-orange);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
    font-style: normal;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.details-section ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.details-section li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.details-section li:before {
    content: "🍃";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
}

.details-section p {
    margin: 0.5rem 0;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Styles spécifiques pour la page principale */
.main-content-area .fruit-card .fruit-name {
    font-size: 1.3rem;
}

.main-content-area .fruit-details .details-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.main-content-area .fruit-details .details-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.main-content-area .fruit-details .details-section em {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.main-content-area .fruit-details .details-section p {
    font-size: 0.95rem;
    margin-left: 0;
    padding-left: 0;
}

.main-content-area .fruit-details .details-section ul {
    padding-left: 1.2rem;
}

/* ================================ */
/* === BOUTONS MODERNES        === */
/* ================================ */

.button, .toggle-details {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-light);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    align-self: flex-start;
}

.button:hover, .toggle-details:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--secondary-gradient);
}

.toggle-details:before {
    content: '👁️ ';
    margin-right: 8px;
}

.toggle-details[data-expanded="true"]:before {
    content: '🙈 ';
}

.toggle-details[data-expanded="true"] {
    background: var(--accent-gradient);
}

.fruit-link-button {
    background: transparent !important;
    color: var(--mango-orange) !important;
    border: 2px solid var(--mango-orange) !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    transition: var(--transition-smooth) !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.fruit-link-button:hover {
    background: var(--mango-orange) !important;
    color: white !important;
    transform: translateY(-2px) scale(1.05) !important;
}
/* === INTRO HIGHLIGHT === */
.intro-highlight {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0 2rem 0;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    border-left: 4px solid #ff4500;
    position: relative;
    overflow: hidden;
}

.intro-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.intro-highlight p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

.intro-highlight strong {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* === BENEFITS PREVIEW === */
.benefits-preview {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.benefits-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #28a745, #20c997);
    border-radius: 2px 0 0 2px;
}

.benefits-preview p:first-child {
    color: #2d5016;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.benefits-preview ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-preview li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: background-color 0.3s ease;
}

.benefits-preview li:last-child {
    border-bottom: none;
}

.benefits-preview li:hover {
    background-color: #e8f5e8;
    padding-left: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    border-radius: 6px;
}

.benefits-preview li strong {
    color: #155724;
    margin-left: 0.5rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .intro-highlight {
        padding: 1.2rem;
        margin: 1rem 0;
    }
    
    .intro-highlight p {
        font-size: 1rem;
    }
    
    .benefits-preview {
        padding: 1.2rem;
        margin: 1rem 0;
    }
    
    .benefits-preview li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .benefits-preview li strong {
        margin-left: 0;
        margin-bottom: 0.2rem;
    }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-highlight,
.benefits-preview {
    animation: fadeInUp 0.6s ease-out;
}

/* === FOCUS ET ACCESSIBILITÉ === */
.benefits-preview:focus-within {
    box-shadow: 0 2px 15px rgba(40, 167, 69, 0.2);
    border-color: #28a745;
}

/* === VARIANTE ALTERNATIVE (optionnelle) === */
.intro-highlight.tropical-theme {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border-left-color: #11998e;
}

.intro-highlight.tropical-theme::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

/* ============================= */
/* === SECTIONS MODERNISÉES === */
/* ============================= */

section {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

section h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

section h3 {
    font-size: 1.3rem;
    color: var(--passion-purple);
    margin: 2rem 0 1rem;
    font-weight: 600;
}

section p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

/* Info boxes modernes */
.info-box, .highlight-section {
    background: linear-gradient(135deg, rgba(143, 188, 143, 0.1) 0%, rgba(86, 130, 3, 0.05) 100%);
    border: none;
    border-left: 4px solid var(--kiwi-green);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.info-box.alt {
    background: linear-gradient(135deg, rgba(111, 45, 168, 0.1) 0%, rgba(255, 105, 180, 0.05) 100%);
    border-left-color: var(--dragon-pink);
}

/* ========================== */
/* === FOOTER MODERNE    === */
/* ========================== */

footer {
    background: var(--secondary-gradient);
    color: white;
    text-align: center;
    padding: 3rem 1rem 1rem;
    margin-top: 4rem;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-section {
    margin-bottom: 1rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.copyright {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

/* =============================== */
/* === RESPONSIVE MODERNE     === */
/* =============================== */

@media (max-width: 768px) {
    .content-wrapper {
        width: 95%;
        min-width: 0;
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .top-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .main-title {
        margin: 2rem 0 1.5rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    /* Menus déroulants en version mobile */
    .dropdown > a:after {
        display: none; /* Cache la flèche sur mobile */
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: transparent;
        backdrop-filter: none;
        min-width: unset;
        text-align: center;
        display: none;
        margin-top: 0.5rem;
        border: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding: 8px 16px;
        text-align: center;
        background: rgba(255, 255, 255, 0.1);
        margin: 2px 0;
        border-radius: 20px;
    }
    
    .dropdown-content a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: none;
    }
    
    .fruits-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Correction pour les listes du footer sur mobile */
    .footer-section {
        text-align: center;
    }
    
    .footer-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }
    
    .footer-section li {
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    .footer-section a {
        display: inline-block;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
        margin: 1.5rem 0 1rem;
    }
    
    .image-block, .ads-block {
        width: 90%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .content-wrapper {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .fruits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
}

/* Animations et micro-interactions */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.logo {
    animation: float 6s ease-in-out infinite;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}

/* Sélection de texte personnalisée */
::selection {
    background: var(--mango-orange);
    color: white;
}