/* === CSS Reset (Simple) === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* === CSS Variables Modernisées === */
:root {
    /* Thème Aquaponie : Vert Professionnel & Agréable */
    
    /* Couleurs Primaires & Secondaires (Verts et Bleus naturels) */
    --primary-color: #2E8B57;         /* Vert Forêt/Émeraude : Profond, professionnel, pour éléments majeurs */
    --secondary-color: #34656D;       /* Bleu-Vert/Canard : Profond, aquatique, complémentaire au vert */
    --accent-color: #E1AD01;          /* Jaune Doré/Moutarde : Accent chaleureux pour CTA, highlights (à utiliser avec parcimonie) */
    
    /* Couleurs de Texte (Contraste élevé pour lisibilité) */
    --text-color: #333333;            /* Gris Anthracite : Texte principal, très lisible sur fonds clairs */
    --text-light: #6C7B8B;            /* Gris Ardoise : Texte secondaire, descriptions, plus doux */
    --link-color: #225C75;            /* Bleu Océan Foncé : Liens, distinct et contrasté */
    --link-hover-color: #2E8B57;      /* Vert Primaire au survol des liens */

    /* Couleurs de Fond (Claires, aérées pour la performance perçue) */
    --background-color: #F8FBF8;      /* Fond très clair, presque blanc avec une touche de vert très subtile */
    --light-bg: #F0F7F0;              /* Fond un peu plus soutenu, crème-vert très pâle */
    --card-bg: #FFFFFF;               /* Fond des cartes, blanc pur pour une clarté maximale */
    --warm-accent: #EBF4EB;           /* Vert très très pâle/crème, pour des zones subtilement différentes */

    /* Bordures & Ombres (Douces et intégrées à la palette) */
    --border-color: #D3E0D3;          /* Bordure douce, vert très clair */
    --shadow-light: rgba(46, 139, 87, 0.08); /* Ombre légère basée sur la couleur primaire verte */
    --shadow-medium: rgba(46, 139, 87, 0.15); /* Ombre plus marquée */

    /* Dégradés (pour une touche de profondeur) */
    --gradient-primary: linear-gradient(135deg, #2E8B57 0%, #3D9963 100%); /* Dégradé vert principal */
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #F0F7F0 100%);   /* Dégradé pour cartes, subtil */
    
    /* Footer (Bas de page plus sombre pour un bon contraste) */
    --footer-bg: linear-gradient(135deg, #1A4D2E 0%, #2E8B57 100%); /* Fond de pied de page vert foncé */
    --footer-text: #F8FBF8;           /* Texte du pied de page clair */
    --footer-link: #E1AD01;           /* Liens du pied de page en couleur accent dorée */

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; /* Conserve Inter pour la lisibilité */
    --font-display: 'Playfair Display', Georgia, serif; /* Conserve Playfair Display pour les titres */
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Espacements */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Rayons */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-max-width: 1200px;
}

/* === Typographie Moderne === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background: var(--background-color);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hiérarchie typographique améliorée */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-color);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

h1 { 
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
}

h2 { 
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    position: relative;
    padding-bottom: var(--space-sm);
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3 { font-size: clamp(1.25rem, 3vw, 1.875rem); }

p {
    margin-bottom: var(--space-md);
    max-width: 75ch;
}

/* Liens améliorés - Règle globale */
a {
    color: var(--link-color);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

a:hover, a:focus {
    color: var(--secondary-color);
    outline: none;
}

a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.content-section a,
.intro-area a,
.categories-overview .read-more-link {
    color: var(--link-color) !important;
    text-decoration: none;
    background-color: rgba(52, 101, 109, 0.1); /* Utilise secondary-color semi-transparent */
    border-bottom: 2px solid rgba(108, 123, 139, 0.4); /* Utilise text-light semi-transparent */
    
    padding: 0.1em 0.4em;
    margin: -0.1em -0.4em;
    border-radius: var(--radius-sm);

    transition: color 0.2s ease, background-color 0.2s ease, border-bottom-color 0.2s ease;
}

/* On groupe également les états de survol et de focus */
.content-section a:hover,
.content-section a:focus-visible,
.intro-area a:hover,
.intro-area a:focus-visible,
.categories-overview .read-more-link:hover,
.categories-overview .read-more-link:focus-visible {
    background-color: rgba(52, 101, 109, 0.2); /* secondary-color plus opaque */
    color: var(--secondary-color) !important;
    border-bottom-color: var(--secondary-color);
}

.highlight-term {
    font-size: 1.4em;
    color: var(--accent-color); /* Utilise la couleur accent ambre doré */
}

/* --- Style "Éditorial Chic" pour la zone d'introduction --- */
.intro-area {
    font-family: var(--font-primary); /* Utilise la police primaire */
    background: var(--card-bg); /* Utilise le fond de carte */
    border: 1px solid var(--border-color); /* Utilise la couleur de bordure */
    box-shadow: 0 5px 25px var(--shadow-light); /* Utilise l'ombre légère */
    padding: 40px 50px;
    margin: 50px auto;
    max-width: 800px;
    border-radius: var(--radius-sm); /* Utilise le rayon de bordure */
    position: relative;
    overflow: hidden;
}

.intro-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background-color: var(--accent-color); /* Utilise la couleur accent pour la barre */
}

.intro-area h2 {
    font-family: var(--font-display); /* Utilise la police d'affichage */
    font-size: 2.6em;
    color: var(--text-color); /* Utilise la couleur de texte principale */
    text-align: left;
    margin-bottom: 25px;
    padding-bottom: 0;
    border-bottom: none;
}

.intro-area p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-light); /* Utilise la couleur de texte clair */
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.intro-area p::first-letter {
    color: var(--accent-color); /* Utilise la couleur accent pour la lettrine */
    font-family: var(--font-display); /* Utilise la police d'affichage */
    font-weight: bold;
    font-size: 5.5em;
    float: left;
    line-height: 0.8;
    padding-right: 15px;
    padding-bottom: 5px;
}

.categories-overview .read-more-link {
    display: inline-block; 
    margin-bottom: 30px;
}

/* Images responsives avec style */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Default image styles, can be overridden by more specific rules */
    border-radius: var(--radius-md); 
    transition: var(--transition-smooth);
}

/* MODIFIEZ OU AJOUTEZ CE BLOC CSS */
figure {
    margin-bottom: var(--space-lg); /* Garde la marge entre les figures */
    position: relative; /* Nécessaire pour la transformation */
    overflow: hidden;
    /* Removed default border-radius and box-shadow from general figure, will apply to img */
    padding: 0; /* Assure l'absence de padding interne sur toutes les figures par défaut */
    line-height: 0; /* Important pour éviter les espaces verticaux des éléments inline/inline-block */
}

/* Cible spécifique pour la figure de l'article */
.main-species-image { /* Targeted this class as per HTML */
    width: 100%; /* Make it fill the container's width */
    max-width: 100%; /* Ensure it doesn't exceed the parent's width */
    margin: 0 auto var(--space-md); /* Center the figure and add a bottom margin for the caption */
    padding: 0;
    text-align: center;
    line-height: 0; /* Remove extra space below the image */
    box-shadow: none; /* Remove box shadow from the figure itself */
    border-radius: 0; /* Remove border radius from the figure itself */
}

/* Cible l'élément d'ancre (<a>) à l'intérieur de la figure */
.main-species-image a {
    display: block;
    line-height: 0;
    margin: 0;
    padding: 0;
}

/* Cible l'image (<img>) à l'intérieur de la figure */
.main-species-image img {
    display: block;
    max-width: 100%; /* Ensure image always fits its container */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto; /* Center the image */
    padding: 0;
    vertical-align: top;
    border-radius: var(--radius-md); /* Apply border-radius from CSS variable */
    box-shadow: 0 10px 30px var(--shadow-light); /* Apply box-shadow from CSS variable */
}

/* Cible spécifiquement la figcaption à l'intérieur de .main-species-image */
.main-species-image figcaption {
    margin-top: var(--space-sm); /* Add a top margin to separate it from the image */
    margin-bottom: 0;
    padding: 0;
    line-height: 1.5; /* Improve readability */
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center; /* Ensure caption is centered */
}

figcaption {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-top: var(--space-sm);
    font-style: italic;
}

figure {
    margin-bottom: var(--space-lg); /* Garde la marge entre les figures */
    position: relative; /* Nécessaire pour la transformation */
    overflow: hidden;
    border-radius: var(--radius-lg); /* Applique un rayon par défaut pour les figures */
    box-shadow: 0 10px 30px var(--shadow-light); /* Applique une ombre par défaut pour les figures */
    padding: 0; /* Assure l'absence de padding interne sur toutes les figures par défaut */
    line-height: 0; /* Important pour éviter les espaces verticaux des éléments inline/inline-block */
}

/* Cible spécifique pour la figure de l'article */
.in-article-image {
    width: 100%; /* L'image remplit totalement la largeur du conteneur parent */
    max-width: 100%; /* Assure qu'elle ne dépasse pas la largeur du conteneur */
    margin: var(--space-md) auto; /* Centre la figure et ajoute une marge verticale */
    padding: 0;
    text-align: center; /* Centre le contenu textuel et l'image */
    line-height: normal; /* Permet à la légende d'avoir une hauteur de ligne normale */
    
    /* Supprime les transformations et transitions spécifiques à la figure si elles ne sont pas nécessaires pour ce cas */
    transform: none;
    transition: none;
    
    /* Annule les styles d'ombre et de bordure par défaut de la figure générale si vous voulez les appliquer directement à l'image */
    box-shadow: none;
    border-radius: 0;
}

/* Cible l'élément d'ancre (<a>) à l'intérieur de la figure */
.in-article-image a {
    display: block; /* S'assure que l'ancre remplit l'espace de l'image */
    line-height: 0; /* Aide à supprimer l'espace sous l'image */
    margin: 0;
    padding: 0;
}

/* Cible l'image (<img>) à l'intérieur de la figure */
.in-article-image img {
    display: block; /* Évite l'espace supplémentaire en bas de l'image */
    max-width: 100%;
    height: auto;
    margin: 0 auto; /* Centre l'image horizontalement */
    padding: 0;
    vertical-align: top; /* Évite les problèmes d'alignement */
    
    /* Appliquez ici les styles visuels que vous souhaitez pour l'image */
    border-radius: var(--radius-md); /* Rayon de bordure plus doux */
    box-shadow: 0 8px 20px var(--shadow-light); /* Ombre subtile pour l'image */
}

/* Cible spécifiquement la figcaption à l'intérieur de .in-article-image */
.in-article-image figcaption {
    margin-top: var(--space-sm); /* Ajoute de l'espace entre l'image et sa légende */
    margin-bottom: 0;
    padding: 0;
    line-height: 1.5; /* Améliore la lisibilité de la légende */
    font-size: 0.9rem; /* Taille de police cohérente */
    color: var(--text-light); /* Couleur de texte plus douce */
    font-style: italic;
    text-align: center; /* Centre la légende */
}

/* === Header Moderne === */
.site-header {
    background: var(--gradient-primary);
    padding: var(--space-md) 0;
    position: relative;
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Motif abstrait pour l'aquaponie */
    background: linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.05) 75%, rgba(255,255,255,0.05) 100%);
    background-size: 20px 20px; /* Taille réduite pour le motif */
    opacity: 0.5; /* Légèrement plus visible */
}

.header-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo-container .site-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--footer-text); /* Couleur claire pour le texte sur fond foncé */
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}

.logo-container .site-title:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* Navigation moderne */
.main-navigation ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: var(--space-sm);
}

.main-navigation a {
    color: var(--footer-text); /* Couleur claire pour les liens sur fond foncé */
    font-weight: 500;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-lg);
    background: rgba(248, 251, 248, 0.1); /* Utilise background-color semi-transparent */
    backdrop-filter: blur(5px); /* Diminue le blur pour une meilleure lisibilité */
    border: 1px solid rgba(248, 251, 248, 0.2); /* Utilise background-color semi-transparent */
    transition: var(--transition-smooth);
}

.main-navigation a:hover, .main-navigation a:focus {
    background: rgba(248, 251, 248, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.mobile-menu-toggle {
    display: none; /* Caché sur grand écran */
}

/* --- Style pour le menu déroulant --- */
.main-navigation .dropdown {
  position: relative;
  display: inline-block;
}

.main-navigation .dropbtn {
  padding: 15px;
  color: var(--footer-text); /* Texte clair */
  text-decoration: none;
  cursor: pointer;
}

.main-navigation .dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--card-bg); /* Fond de carte blanc */
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: var(--radius-sm);
}

.main-navigation .dropdown-content a {
  color: var(--text-color); /* Couleur de texte principale */
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.main-navigation .dropdown-content a:hover {
  background-color: var(--light-bg); /* Fond clair au survol */
}

.main-navigation .dropdown:hover .dropdown-content {
  display: block;
}



/* === Layout Principal === */
.site-container {
    display: flex; /* Utilisation de flexbox pour le conteneur principal */
    flex-direction: column; /* Les éléments s'empilent verticalement */
    align-items: center; /* Centre le contenu horizontalement */
    gap: var(--space-xl);
    max-width: var(--container-max-width); /* Limite la largeur du contenu */
    margin: var(--space-xl) auto;
    padding: 0 var(--space-md);
}

.main-content {
    width: 100%; /* Le contenu principal prend toute la largeur disponible dans le flex container */
    max-width: 800px; /* Ajout d'une max-width pour éviter que le contenu ne s'étire trop */
    min-width: 0;
}

/* Style pour la nouvelle div .pub-block */
.pub-block {
    display: flex;
    flex-direction: column; /* Empile les éléments ads-block et relevant-links */
    gap: var(--space-lg); /* Espace entre la pub et les liens */
    margin-bottom: var(--space-xl); /* Marge sous le bloc pub */
    width: 100%;
    max-width: 900px; /* Limite la largeur du bloc pub pour être similaire à une sidebar */
    align-self: flex-start; /* Aligner à gauche par défaut */
    margin-left: auto; /* Centre le bloc pub si l'espace est plus grand que max-width */
    margin-right: auto;
}

.pub-block .ads-block {
    padding: 0;
    overflow: hidden;
    background-color: var(--light-bg); /* Garde le style de fond */
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    display: flex; /* Assure que l'ins AdSense est centré */
    justify-content: center;
    align-items: center;
}

.pub-block .relevant-links {
    background-color: var(--light-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    padding: var(--space-md);
}


/* === Breadcrumb Stylisé === */
.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
    padding: var(--space-sm) var(--space-md);
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-color);
}

.breadcrumb a {
    color: var(--primary-color);
    font-weight: 500;
}

/* === Table des Matières Moderne === */
.page-toc {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 25px var(--shadow-light);
    backdrop-filter: blur(10px);
}

.page-toc::before {
    content: '🌿'; /* Emoji de feuille pour aquaponie */
    font-size: 1.5rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.page-toc .toc-title {
    font-size: 1.25rem;
    margin: 0 0 var(--space-md) 0;
    color: var(--text-color);
    font-weight: 600;
}

.page-toc ul {
    list-style: none;
    padding: 0;
}

.page-toc li a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--primary-color);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.page-toc li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-color);
    transform: scaleY(0);
    transition: var(--transition-smooth);
}

.page-toc li a:hover {
    background: rgba(46, 139, 87, 0.05); /* Utilise primary-color semi-transparent */
    transform: translateX(5px);
}

.page-toc li a:hover::before {
    transform: scaleY(1);
}

/* === Sections de Contenu === */
.content-section {
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    background: var(--gradient-card);
    box-shadow: 0 10px 40px var(--shadow-light);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

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

.content-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

/* === Tableaux Modernes === */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    font-size: 1rem;
    text-align: left;
    box-shadow: 0 8px 25px var(--shadow-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-table thead tr {
    background: var(--gradient-primary);
    color: var(--footer-text); /* Texte clair sur fond foncé */
    font-weight: 600;
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-md) var(--space-lg);
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.comparison-table tbody tr:last-of-type {
    border-bottom: none;
}

.comparison-table tbody tr:nth-of-type(even) {
    background-color: var(--light-bg);
}

.comparison-table tbody tr:hover {
    background-color: var(--warm-accent); /* Un vert très pâle au survol */
    transform: scale(1.02);
}

.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

/* ============================= */
/*   TABLEAU THÈME AQUAPONIE     */
/* ============================= */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.95rem;
  background-color: var(--card-bg); /* Fond de carte */
  border-radius: var(--radius-md); /* Rayon de bordure moyen */
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-light); /* Ombre légère */
}

.data-table thead {
  background-color: var(--primary-color); /* Couleur primaire pour l'en-tête */
  color: var(--footer-text); /* Texte clair */
  text-align: left;
}

.data-table th, 
.data-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color); /* Bordure douce */
}

.data-table tbody tr:hover {
  background-color: var(--light-bg); /* Fond clair au survol */
}

.data-table th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.data-table td {
  color: var(--text-color); /* Couleur de texte principale */
}

/* Styles pour l'encart de promotion des observations */
.observation-promo-box {
    background-color: var(--light-bg); /* Un fond très léger pour le différencier */
    border: 1px solid var(--border-color); /* Bordure subtile */
    border-radius: var(--radius-md); /* Coins arrondis */
    padding: 25px; /* Espace intérieur */
    margin-bottom: 25px; /* Espace sous l'encart */
    text-align: center; /* Centrer le contenu */
    box-shadow: 0 4px 10px var(--shadow-light); /* Légère ombre pour le faire "flotter" */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation au survol */
}

.observation-promo-box:hover {
    transform: translateY(-3px); /* Effet léger de survol */
    box-shadow: 0 6px 15px var(--shadow-medium); /* Ombre plus prononcée au survol */
}

.observation-promo-box h3 {
    font-family: var(--font-display); /* Utilisez votre police de titre */
    color: var(--primary-color); /* Couleur primaire */
    font-size: 1.8em; /* Taille du titre */
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.2;
}

.observation-promo-box p {
    font-family: var(--font-primary); /* Utilisez votre police de corps de texte */
    color: var(--text-light); /* Couleur de texte plus douce */
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Style spécifique pour le petit texte d'inscription */
.observation-promo-box .small-text {
    font-size: 0.9em;
    color: var(--text-light);
    margin-top: 15px;
}

.observation-promo-box .small-text a {
    color: var(--link-color); /* Couleur de lien principale */
    text-decoration: none;
    font-weight: bold;
}

.observation-promo-box .small-text a:hover {
    text-decoration: underline;
}

/* Style pour le bouton "Partager mon observation" */
.btn-share-observation {
    display: inline-block; /* Pour que les padding et margin fonctionnent bien */
    background-color: var(--accent-color); /* Couleur accent */
    color: var(--footer-text); /* Texte clair */
    padding: 14px 28px; /* Grand padding pour un bouton facile à cliquer */
    border: none;
    border-radius: var(--radius-sm); /* Coins légèrement arrondis */
    font-family: var(--font-primary);
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none; /* Pas de soulignement */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Animation au survol */
    box-shadow: 0 3px 6px rgba(225, 173, 1, 0.3); /* Ombre pour le bouton basée sur accent-color */
}

.btn-share-observation:hover {
    background-color: #C89900; /* Une nuance plus foncée de l'accent pour le survol */
    transform: translateY(-2px); /* Effet de légère élévation */
    box-shadow: 0 5px 10px rgba(225, 173, 1, 0.4);
}

/* Styles Responsives (ajustements pour les petits écrans) */
@media (max-width: 768px) {
    .observation-promo-box {
        padding: 20px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .observation-promo-box h3 {
        font-size: 1.5em;
    }

    .observation-promo-box p {
        font-size: 1em;
    }

    .btn-share-observation {
        padding: 12px 20px;
        font-size: 1em;
    }
}

/* Table responsive sur mobile */
@media screen and (max-width: 768px) {
  .data-table thead {
    display: none;
  }

  .data-table, 
  .data-table tbody, 
  .data-table tr, 
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    margin-bottom: 15px;
    border: 1px solid var(--border-color); /* Bordure douce */
    border-radius: var(--radius-md); /* Rayon moyen */
    overflow: hidden;
    box-shadow: 0 1px 4px var(--shadow-light); /* Ombre légère */
  }

  .data-table td {
    padding: 10px 12px;
    text-align: right;
    position: relative;
  }

  .data-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-light); /* Texte clair */
    text-align: left;
  }
}



/* === Cartes d'Espèces Aquaponiques Modernisées === */
.conteneur-mesanges ul li { /* Renommez si ce conteneur a un sens pour l'aquaponie */
    margin-bottom: 10px; /* Vous pouvez ajuster cette valeur */
}

.aquaponics-species-grid { /* Renommé de cat-breed-grid */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
}

.aquaponics-species-card { /* Renommé de cat-breed-card */
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 50px var(--shadow-light);
    background: var(--gradient-card);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-slow);
    position: relative;
    flex: 0 1 500px;
}

.aquaponics-species-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: var(--gradient-primary); opacity: 0; transition: var(--transition-smooth); z-index: 1; }
.aquaponics-species-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 25px 80px var(--shadow-medium); }
.aquaponics-species-card:hover::before { opacity: 0.03; }

.aquaponics-species-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.aquaponics-species-card h3 {
    padding: var(--space-lg) var(--space-xl) 0;
    margin: 0 0 var(--space-md) 0;
    font-size: 1.75rem;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.aquaponics-species-card p,
.aquaponics-species-card ul {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
    position: relative;
    z-index: 2;
}

.aquaponics-species-card p {
    flex-grow: 1;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0 0 var(--space-lg) 0;
    padding-bottom: 0;
}

.aquaponics-species-card ul {
    margin-bottom: 0;
    padding-bottom: var(--space-xl);
}

.aquaponics-species-card-link { /* Renommé de cat-breed-card-link */
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gradient-primary);
    color: var(--footer-text) !important; /* Texte clair sur fond foncé */
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px var(--shadow-medium);
    margin: 0 var(--space-xl) var(--space-xl);
    align-self: flex-start;
}

.aquaponics-species-card-link::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.5s; }
.aquaponics-species-card-link:hover::before { left: 100%; }
.aquaponics-species-card-link:hover { transform: translateY(-3px); box-shadow: 0 8px 25px var(--shadow-medium); }
.aquaponics-species-card-link::after { content: '→'; transition: var(--transition-smooth); }
.aquaponics-species-card-link:hover::after { transform: translateX(5px); }


/* === Section "Espèces Similaires" === */
#similar-species h2 {
   margin-bottom: 2rem;
}

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

.species-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px var(--shadow-light);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.species-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium); /* Utilise shadow-medium au survol */
}

.species-card figure {
    margin: 0;
    padding: 0;
    line-height: 0;
}

.species-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.species-card .card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.species-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.species-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-light); /* Utilise text-light */
    margin-bottom: 20px;
    flex-grow: 1;
}

.species-card .card-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--footer-text); /* Texte clair sur le bouton */
    padding: 12px 25px;
    border-radius: var(--radius-sm); /* Utilise radius-sm */
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-primary);
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: auto;
}

.species-card .card-button:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
    transform: scale(1.05);
}

/* === Liste de Conseils Numérotée === */
.tips-list {
    list-style: none; /* Supprime le style de liste par défaut du navigateur */
    counter-reset: tip-counter; /* Initialise un compteur nommé 'tip-counter' */
    padding: 0; /* Assurez-vous qu'il n'y a pas de padding gauche par défaut */
    margin: 0;
}

.tips-list li {
    position: relative;
    padding-left: var(--space-2xl); /* Crée un espace pour le numéro personnalisé */
    margin-bottom: var(--space-md); /* Espacement entre les éléments de la liste */
    line-height: 1.6; /* Améliore la lisibilité du texte */
}

.tips-list li::before {
    counter-increment: tip-counter; /* Incrémente le compteur pour chaque 'li' */
    content: counter(tip-counter); /* Affiche la valeur du compteur */

    /* Style du cercle */
    position: absolute;
    left: 0;
    top: 0; /* Aligné avec le haut du texte */
    display: flex; /* Utilise flexbox pour centrer le contenu */
    align-items: center;
    justify-content: center;
    width: var(--space-xl); /* Largeur du cercle */
    height: var(--space-xl); /* Hauteur du cercle (pour un cercle parfait) */
    background: var(--gradient-primary); /* Utilise un dégradé pour le fond du cercle */
    color: var(--footer-text); /* Couleur du texte des chiffres */
    border-radius: 50%; /* Rend le pseudo-élément circulaire */
    font-weight: 700; /* Rend les chiffres gras */
    font-size: 0.9rem; /* Taille de la police pour les chiffres */
    box-shadow: 0 2px 8px var(--shadow-light); /* Petite ombre pour un effet 3D */
    transition: var(--transition-smooth);
}

.tips-list li:hover::before {
    transform: scale(1.1); /* Agrandit légèrement le cercle au survol */
    box-shadow: 0 4px 12px var(--shadow-medium); /* Intensifie l'ombre au survol */
}

.tips-list li strong {
    color: var(--primary-color); /* Met en évidence le texte fort dans la liste */
}

/* Styles pour le bouton de lien principal dans la boîte d'affiliation */
.expert-tip-box .button-primary {
  display: inline-block; /* Permet d'appliquer padding, margin, width/height */
  background-color: #4CAF50; /* Vert vif */
  color: white; /* Texte blanc */
  padding: 12px 25px; /* Espace interne */
  text-align: center; /* Centrage du texte si le bouton est plus large */
  text-decoration: none; /* Supprime le soulignement par défaut des liens */
  border-radius: 5px; /* Bords légèrement arrondis */
  font-weight: bold; /* Texte en gras */
  font-size: 1.1em; /* Taille de police légèrement plus grande */
  transition: background-color 0.3s ease; /* Transition douce au survol */
  margin-top: 10px; /* Espace au-dessus du bouton */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Légère ombre pour le faire ressortir */
}

.expert-tip-box .button-primary:hover,
.expert-tip-box .button-primary:focus {
  background-color: #45a049; /* Assombrir légèrement le vert au survol */
  cursor: pointer; /* Indique que c'est cliquable */
  transform: translateY(-1px); /* Effet léger de "bouton pressé" */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Ombre plus prononcée au survol */
}

/* Assurez-vous que les liens des produits individuels gardent leur style original */
.expert-tip-box .product-info a {
  color: #007bff; /* Ou votre couleur de lien principale pour les liens secondaires */
  text-decoration: none;
  font-weight: bold;
}

.expert-tip-box .product-info a:hover {
  text-decoration: underline;
}

/* Styles existants pour la boîte, si vous les avez déjà ajoutés */
.expert-tip-box {
  background-color: #f9f9f9;
  border-left: 5px solid #4CAF50;
  padding: 15px;
  margin: 25px 0;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.expert-tip-box h3 {
  color: #333;
  font-size: 1.3em;
  margin-top: 0;
  display: flex;
  align-items: center;
}

.expert-tip-box h3 .icon-expert {
  margin-right: 10px;
  /* Ajoutez ici si vous avez une icône */
}

.expert-tip-box ul {
  list-style: none;
  padding: 0;
}

.expert-tip-box li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 10px;
}

.expert-tip-box li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.expert-tip-box img {
  border: 1px solid #ddd;
  border-radius: 4px;
  flex-shrink: 0;
}

.expert-tip-box .product-info {
  margin-left: 15px;
  flex-grow: 1;
}

.expert-tip-box .product-info strong {
  display: block;
  font-size: 1.1em;
  margin-bottom: 5px;
}

.expert-tip-box .product-info p {
  margin: 0;
  font-size: 0.95em;
  color: #555;
}

.expert-tip-box .affiliate-disclosure {
  font-size: 0.85em;
  color: #777;
  text-align: right;
  margin-top: 15px;
}

/* === Formulaire Newsletter === */
.newsletter-box-article {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin: var(--space-2xl) 0;
    text-align: center;
    box-shadow: 0 15px 50px var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.newsletter-box-article::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.05;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 2;
}

.newsletter-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.sib-form-area {
    display: flex;
    gap: var(--space-md);
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.email-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    background: var(--card-bg); /* Fond de carte blanc */
    color: var(--text-color); /* Couleur de texte */
}

.email-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1); /* Utilise primary-color semi-transparent */
    outline: none;
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--footer-text); /* Texte clair */
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-xl);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

/* REMOVED .sidebar styles as the element is gone */


/*
==============================================
Feuille de style pour la section FAQ (Thème Aquaponie)
==============================================
*/

/* Conteneur principal de la FAQ */
.faq-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 25px 30px;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md); /* Utilise radius-md */
    box-shadow: 0 4px 12px var(--shadow-light);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 1.8em;
}

/* Style pour chaque bloc question/réponse */
.faq-item {
    border-bottom: 1px solid var(--border-color);
}

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

/* Style pour le bouton de la question */
.faq-question {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--link-color);
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease-in-out;
}

.faq-question:hover {
    color: var(--secondary-color);
}

/* Indicateur "+" (ou flèche) */
.faq-question::after {
    content: '+';
    font-size: 1.6em;
    font-weight: 300;
    color: var(--secondary-color);
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Rotation de l'indicateur lorsque la question est ouverte */
.faq-question[aria-expanded="true"]::after {
    content: '−';
    color: var(--primary-color);
}

/* Conteneur de la réponse */
.faq-answer {
    overflow: hidden;
    max-height: 0;
    padding-top: 0; /* Important pour l'état initial */
    padding-bottom: 0; /* Important pour l'état initial */
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out, padding-bottom 0.4s ease-out;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
    /* L'espacement (padding) sera géré par le JavaScript pour que la transition fonctionne */
}

/* ====================================================== */
/* Styles pour la Section d'Observations (#observations)  */
/* ====================================================== */
#observations {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color); /* Une fine ligne pour séparer du contenu précédent */
}

#observations h2 {
    font-family: var(--font-display);
    color: var(--primary-color);
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 30px;
}

/* ====================================================== */
/* Styles pour le Formulaire d'Observation                */
/* (chargé dans #observation-form-container)              */
/* ====================================================== */
.observation-form {
    background-color: var(--card-bg); /* Fond très clair pour le formulaire */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    margin: 0 auto 40px auto; /* Centrer et espacer en dessous */
    max-width: 600px; /* Largeur maximale pour le formulaire */
    box-shadow: 0 5px 15px var(--shadow-light); /* Ombre plus prononcée pour l'importance */
}

.observation-form label {
    display: block; /* Chaque label sur sa propre ligne */
    font-family: var(--font-primary);
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 8px;
    margin-top: 15px; /* Espacement entre les champs */
}

.observation-form input[type="text"],
.observation-form input[type="email"], /* Au cas où vous ajouteriez l'email */
.observation-form input[type="file"],
.observation-form textarea {
    width: calc(100% - 20px); /* Prend presque toute la largeur avec padding */
    padding: 12px 10px;
    border: 1px solid var(--border-color); /* Bordure douce */
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1em;
    margin-bottom: 15px;
    box-sizing: border-box; /* Inclut padding et border dans la largeur */
    color: var(--text-color); /* Couleur de texte */
    background-color: var(--card-bg); /* Fond clair */
}

.observation-form textarea {
    resize: vertical; /* Permet de redimensionner verticalement */
    min-height: 80px;
}

.observation-form input[type="file"] {
    padding: 8px 10px; /* Ajuster le padding pour les inputs file */
    /* Le style des input file est difficile à contrôler, on peut le masquer et le styliser avec un label si besoin */
}

/* Style pour le bouton de soumission */
.observation-form button[type="submit"] {
    display: block; /* Bouton sur sa propre ligne */
    width: 100%; /* Prend toute la largeur du formulaire */
    padding: 15px 20px;
    background-color: var(--accent-color); /* Couleur accent */
    color: var(--footer-text); /* Texte blanc */
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none; /* Pas de soulignement */
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(225, 173, 1, 0.3); /* Ombre basée sur accent-color */
}

.observation-form button[type="submit"]:hover {
    background-color: #C89900; /* Nuance plus foncée de l'accent */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(225, 173, 1, 0.4);
}

/* Style pour les messages de feedback du formulaire (succès/erreur) */
.observation-form .form-message.success {
    background-color: #E6F2EA; /* Vert très clair */
    border: 1px solid var(--primary-color); /* Bordure primaire */
    color: var(--primary-color); /* Texte primaire */
}
.observation-form .form-message.error {
    background-color: #F2E6E2; /* Rouge très clair */
    border: 1px solid var(--accent-color); /* Bordure accent */
    color: var(--text-color); /* Texte principal */
}
.observation-form .form-message.info { /* Couleur pour "Envoi en cours..." */
    background-color: #EAF2F9;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

/* ====================================================== */
/* Styles pour la Grille des Observations (obs-card)      */
/* ====================================================== */
#observation-list-container h3 {
    font-family: var(--font-display);
    color: var(--primary-color);
    font-size: 1.8em;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.observations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* 3 colonnes flexibles */
    gap: 30px; /* Espacement entre les cartes */
    padding: 0 20px; /* Un peu de padding sur les côtés */
    max-width: var(--container-max-width); /* Largeur maximale de la grille */
    margin: 0 auto;
}

.obs-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden; /* Pour que l'image ne dépasse pas */
    box-shadow: 0 4px 12px var(--shadow-light); /* Ombre douce */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column; /* Contenu vertical */
}

.obs-card:hover {
    transform: translateY(-5px); /* Effet d'élévation au survol */
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.obs-card img {
    width: 100%;
    height: 200px; /* Hauteur fixe pour les images */
    object-fit: cover; /* Recadre l'image pour qu'elle remplisse l'espace */
    border-bottom: 1px solid var(--border-color);
}

.obs-card p {
    font-family: var(--font-primary);
    color: var(--text-light);
    font-size: 0.95em;
    padding: 10px 15px;
    margin: 0;
    line-height: 1.5;
}

.obs-card p:first-of-type { /* Pseudo et date */
    font-size: 0.9em;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.obs-card strong {
    color: var(--text-color);
}

/* Styles pour le lien "créer un compte" dans le formulaire */
.observation-form .small-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: var(--text-light);
}
.observation-form .small-text a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: bold;
}
.observation-form .small-text a:hover {
    text-decoration: underline;
}

/* ====================================================== */
/* Styles Responsives pour la section d'observations      */
/* ====================================================== */
@media (max-width: 992px) {
    .observations-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Moins de colonnes sur tablette */
        gap: 20px;
    }
    .observation-form {
        max-width: 500px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    #observations h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .observation-form {
        max-width: 90%; /* Prend plus de largeur sur mobile */
        padding: 20px;
        margin-bottom: 30px;
    }
    .observations-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        gap: 20px;
        padding: 0 15px;
    }
    .obs-card img {
        height: 180px;
    }
}

/* === Footer Moderne === */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: var(--space-2xl) var(--space-md);
    margin-top: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Motif abstrait pour l'aquaponie */
    background: linear-gradient(45deg, rgba(248, 251, 248, 0.05) 25%, transparent 25%, transparent 75%, rgba(248, 251, 248, 0.05) 75%, rgba(248, 251, 248, 0.05) 100%);
    background-size: 20px 20px;
    opacity: 0.3;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-xl);
    max-width: var(--container-max-width);
    margin: 0 auto var(--space-2xl);
    position: relative;
    z-index: 2;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--footer-text); /* Couleur claire pour les titres de footer */
    margin-bottom: var(--space-md);
    font-weight: 600;
}

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

.footer-column li a {
    color: var(--footer-link);
    padding: var(--space-xs) 0;
    display: inline-block;
    transition: var(--transition-smooth);
}

.footer-column li a:hover {
    color: var(--footer-text); /* Blanc au survol */
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(248, 251, 248, 0.1); /* Bordure basée sur footer-text */
    color: var(--footer-link);
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* === Bouton Retour en Haut === */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    background: var(--gradient-primary);
    color: var(--footer-text); /* Texte clair */
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

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

.content-section, .species-card, .page-toc {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

/* --- Styles pour le formulaire de contact --- */

.contact-form {
    background-color: #f8fcf8; /* Un vert très clair pour le fond du formulaire */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Ombre légère pour donner du relief */
    max-width: 700px; /* Limite la largeur du formulaire */
    margin: 40px auto; /* Centre le formulaire sur la page et donne de l'espace */
    border: 1px solid #e0e0e0; /* Bordure subtile */
}

.contact-form .form-group {
    margin-bottom: 20px; /* Espacement entre les groupes champ/label */
}

.contact-form label {
    display: block; /* Chaque label sur sa propre ligne */
    font-weight: bold;
    margin-bottom: 8px;
    color: #333; /* Couleur de texte plus foncée pour la lisibilité */
    font-size: 1.05em;
}

.contact-form input[type="email"],
.contact-form input[type="text"],
.contact-form textarea {
    width: 100%; /* Les champs prennent toute la largeur disponible */
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Lato', sans-serif; /* Conserver la police du site */
    box-sizing: border-box; /* Inclut le padding et la bordure dans la largeur */
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact-form input[type="email"]:focus,
.contact-form input[type="text"]:focus,
.contact-form textarea:focus {
    border-color: #4CAF50; /* Vert aquaponie au focus */
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3); /* Ombre douce au focus */
    outline: none; /* Supprime le contour par défaut du navigateur */
}

.contact-form textarea {
    resize: vertical; /* Permet de redimensionner verticalement uniquement */
    min-height: 120px; /* Hauteur minimale pour le message */
}

.contact-form .submit-button {
    display: block; /* Bouton sur sa propre ligne */
    width: 100%; /* Bouton prend toute la largeur */
    padding: 14px 20px;
    background-color: #4CAF50; /* Vert distinctif */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
    letter-spacing: 0.5px;
}

.contact-form .submit-button:hover {
    background-color: #45a049; /* Vert légèrement plus foncé au survol */
    transform: translateY(-2px); /* Léger effet de soulèvement */
}

.contact-form .submit-button:active {
    transform: translateY(0); /* Retour à la position normale au clic */
}

.contact-form .form-info {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #eee; /* Ligne de séparation subtile */
}
/* Encarts affiliés */
.affiliate-box {
  border: 2px solid var(--primary-color);
  background-color: var(--light-bg);
  padding: 20px;
  margin: 25px auto;
  border-radius: 10px;
  max-width: 900px;
}

.affiliate-box h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.affiliate-box ul {
  list-style-type: disc;
  padding-left: 20px;
}

.affiliate-box a {
  color: var(--link-color);
  text-decoration: none;
}

.affiliate-box a:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}

/* Tableau affilié */
.affiliate-table {
  max-width: 900px;
  margin: 30px auto;
  overflow-x: auto;
}

.affiliate-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  text-align: left;
}

.affiliate-table th,
.affiliate-table td {
  border: 1px solid var(--border-color);
  padding: 12px 15px;
}

.affiliate-table th {
  background-color: var(--primary-color);
  color: #fff;
}

.affiliate-table td a {
  color: var(--link-color);
}

.affiliate-table td a:hover {
  color: var(--link-hover-color);
}

/* Responsivité mobile */
@media (max-width: 768px) {
  .affiliate-box, .affiliate-table {
    padding: 15px;
    margin: 15px auto;
  }

  .affiliate-table th, .affiliate-table td {
    padding: 10px;
  }
}




/* === Responsive Design === */
@media (max-width: 1024px) {
    .site-container {
        /* Plus besoin de grid-template-columns ici si flex-direction: column est déjà sur site-container */
    }
    
    /* REMOVED .sidebar styles */
    .page-toc {
        position: static;
    }
    .pub-block {
        max-width: 100%; /* Permet au bloc pub de prendre plus de largeur sur les écrans moyens */
        align-self: center; /* Centre le bloc pub sur les écrans moyens */
    }
}

@media (max-width: 768px) {
    :root {
        --space-xs: 0.4rem;
        --space-sm: 0.8rem;
        --space-md: 1.2rem;
        --space-lg: 1.6rem;
        --space-xl: 2.2rem;
        --space-2xl: 3rem;
    }
    
    .header-content {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo-container {
        flex-basis: 80%;
    }
    
    .search-container {
        order: 3;
        width: 100%;
        margin-top: var(--space-md);
        max-width: none;
    }

    .main-navigation {
        display: none;
        order: 2;
        width: 100%;
        background: var(--primary-color);
        margin-top: var(--space-md);
        border-radius: var(--radius-md);
        padding: var(--space-sm);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .main-navigation li a {
        display: block;
        text-align: center;
        padding: var(--space-md);
    }
    
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--footer-text); /* Texte clair */
        font-size: 2rem;
        cursor: pointer;
    }
    
    .sib-form-area {
        flex-direction: column;
    }
    
    .aquaponics-species-card { /* Renommé */
        width: 95%;
    }
    
    .content-section {
        padding: var(--space-lg);
    }

    .pub-block {
        margin-left: 0; /* Supprime le margin auto pour une meilleure adaptation mobile */
        margin-right: 0;
    }
}

@media (max-width: 500px) {
    .player-controls {
        row-gap: var(--space-sm);
    }
    
    .progress-container {
        flex-basis: 100%;
        order: 2;
    }
    
    .play-pause-btn {
        order: 1;
    }
    
    .volume-control {
        order: 1;
        margin-left: auto;
    }

    .volume-slider {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .aquaponics-species-card img { /* Renommé */
        height: 250px;
    }
    
    .newsletter-box-article {
        padding: var(--space-lg);
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* === Mode sombre (bonus) === */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #4CAF6C; /* Vert plus clair pour le mode sombre */
        --secondary-color: #5AA0AD; /* Bleu-vert plus clair */
        --accent-color: #FFD700; /* Jaune doré vif */
        --warm-accent: #3A3A3A; /* Gris foncé pour l'accent chaud */
        --text-color: #E0E0E0; /* Blanc cassé pour le texte */
        --text-light: #A0A0A0; /* Gris clair */
        --link-color: #6DB3C5; /* Bleu clair vibrant pour les liens */
        --link-hover-color: #4CAF6C; /* Vert primaire éclairci au survol */
        --background-color: #121212; /* Fond très sombre */
        --light-bg: #1E1E1E; /* Fond clair sombre */
        --card-bg: #2A2A2A; /* Fond de carte sombre */
        --border-color: #444444; /* Bordure sombre */
        --shadow-light: rgba(0, 0, 0, 0.25);
        --shadow-medium: rgba(0, 0, 0, 0.45);
        --gradient-primary: linear-gradient(135deg, #1A4D2E 0%, #2E8B57 100%); /* Dégradé vert principal plus foncé */
        --gradient-card: linear-gradient(145deg, #2A2A2A 0%, #1E1E1E 100%); /* Dégradé pour cartes sombres */
        
        --footer-bg: linear-gradient(135deg, #0A2617 0%, #1A4D2E 100%); /* Fond de pied de page très foncé */
        --footer-text: #E0E0E0;
        --footer-link: #FFD700; /* Liens de pied de page accentués */
    }

    .comparison-table tbody tr:hover {
        background-color: var(--warm-accent); /* Utilise la nouvelle variable mode sombre */
    }

    .data-table thead {
        background-color: var(--primary-color);
        color: var(--text-color);
    }
    .data-table td {
        color: var(--text-color);
    }
    .data-table tr {
        border: 1px solid var(--border-color);
        box-shadow: 0 1px 4px var(--shadow-light);
    }
    .data-table td::before {
        color: var(--text-light);
    }
    .main-navigation a {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .main-navigation a:hover, .main-navigation a:focus {
        background: rgba(255, 255, 255, 0.1);
    }
    .site-header::before, .site-footer::before {
        background: linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.02) 75%, rgba(255,255,255,0.02) 100%);
        background-size: 20px 20px;
        opacity: 0.2;
    }
    #search-input {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--text-color);
    }
    #search-input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }
    #search-input:focus {
        background-color: rgba(255, 255, 255, 0.15);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    }
    .back-to-top {
        color: var(--text-color);
    }
    .observation-form input[type="text"], .observation-form input[type="email"], .observation-form input[type="file"], .observation-form textarea {
        background-color: var(--light-bg);
        border: 1px solid var(--border-color);
        color: var(--text-color);
    }
    .observation-form .form-message.success {
        background-color: #3a473d;
        border: 1px solid #5a6b5e;
        color: #c9e0cb;
    }
    .observation-form .form-message.error {
        background-color: #4a3e3e;
        border: 1px solid #6b5c5c;
        color: #e0c9c9;
    }
    .observation-form .form-message.info {
        background-color: #3e444a;
        border: 1px solid #5a656b;
        color: #c9d5e0;
    }
    .email-input {
        background: var(--light-bg);
        border: 2px solid var(--border-color);
        color: var(--text-color);
    }
    .email-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(76, 175, 108, 0.1); /* Primary color dark mode rgba */
    }
}

/* Table responsive sur mobile */
@media screen and (max-width: 768px) {
  .data-table thead {
    display: none; /* Cache l'en-tête du tableau sur mobile */
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 1px 4px var(--shadow-light);

    /* ✅ Ajout important : couleur de fond visible */
    background-color: var(--table-row-bg, #ffffff);
  }

  /* ✅ Alternance légère entre lignes */
  .data-table tr:nth-child(even) {
    background-color: var(--table-row-alt-bg, #f7f9f8);
  }

  .data-table td {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 12px 10px 145px;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    /* ✅ Reprend le fond du tr parent */
    background-color: inherit;
  }

  /* ✅ Labels avant chaque valeur (tu dois déjà l’avoir dans ton CSS) */
  .data-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 130px;
    font-weight: 600;
    text-align: left;
    color: var(--text-muted, #444);
  }
}

/* === Utilitaires === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}
/* ===== Améliorations visuelles et UX ===== */
h2 {
    scroll-margin-top: 80px;
}

.content-section p,
.intro-area p,
.expert-box p {
    margin-bottom: 1em;
}

@media (max-width: 900px) {
    .site-container {
        flex-direction: column;
        padding: 1em;
    }
    .main-content {
        width: 100%;
        max-width: 100%; /* S'assure qu'il prend toute la largeur sur les petits écrans */
    }
    .page-toc {
        font-size: 0.95em;
    }
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            padding: 20px;
            background: #f8fafc;
        }

/* ========================================================= */
/* Keyframes pour les animations */
/* ========================================================= */

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

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

/* 
 * Assurez-vous que l'animation 'fadeInUp' est définie ailleurs dans votre CSS,
 * par exemple :
 * 
 * @keyframes fadeInUp {
 *     from { opacity: 0; transform: translateY(20px); }
 *     to { opacity: 1; transform: translateY(0); }
 * }
 */


/* ========================================================= */
/* Styles pour le conteneur de promotion dynamique (ad_content.html) */
/* ========================================================= */

.ad-promo-outer-container {
    display: flex;
    flex-direction: column; /* Par défaut, les éléments sont empilés verticalement */
    align-items: center;
    justify-content: center;
    gap: 16px; /* Espacement entre les éléments */
    padding: 16px; /* Rembourrage interne */
    
    background: linear-gradient(to bottom right, #f0fff4, #f0fff0); /* Dégradé vert très clair */
    
    border-radius: 12px; /* Coins arrondis */
    
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Ombre douce */
    
    border: 1px solid #c8e6c9; /* Bordure verte claire */
    
    margin-left: auto;
    margin-right: auto;
    max-width: 900px; /* Largeur maximale pour le conteneur (MODIFIÉE ICI) */
    
    position: relative; /* Indispensable pour que l'animation shimmer fonctionne */
    overflow: hidden;   /* Indispensable pour cacher l'animation shimmer au-delà des bords */

    /* Animation subtile au chargement */
    animation: fadeInUp 0.6s ease-out; /* Assurez-vous que keyframes fadeInUp est défini */
    z-index: 1; /* Assure que le contenu est au-dessus de l'arrière-plan */
}

/* Effet de brillance animé subtil sur le conteneur principal (pseudo-élément) */
.ad-promo-outer-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 70%
    );
    animation: shimmer 4s infinite; /* Applique l'animation shimmer */
    pointer-events: none; /* Permet d'interagir avec les éléments en dessous */
    z-index: 0; /* Assurez-vous qu'il est en arrière-plan du contenu */
}

/* Media query pour les écrans de taille moyenne et plus */
@media (min-width: 768px) {
    .ad-promo-outer-container {
        flex-direction: row; /* Les éléments sont côte à côte sur les grands écrans */
    }
    .ad-promo-content {
        text-align: left; /* Texte aligné à gauche sur les grands écrans */
    }
    .ad-promo-content .ad-promo-title {
        justify-content: flex-start; /* Aligner l'emoji et le texte à gauche */
    }
}

.ad-promo-adsense-wrapper {
    flex-shrink: 0; /* Empêche ce bloc de rétrécir */
    width: 100%; /* Pleine largeur sur les petits écrans */
    max-width: 336px; /* Largeur maximale pour la pub (336px) */
    min-height: 280px; /* Hauteur minimale pour la pub (280px) */
    background-color: white;
    border-radius: 8px; /* Coins arrondis */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e0e0e0; /* Bordure grise discrète */
    z-index: 1; /* Assure que ce bloc est au-dessus de l'animation de fond */
}

.ad-promo-content {
    flex-grow: 1; /* Permet à ce bloc de prendre l'espace restant */
    text-align: center; /* Texte centré par défaut */
    max-width: 448px; /* Largeur maximale pour le contenu promo */
    padding: 20px; /* Rembourrage interne */
    
    background-color: white; /* Fond blanc éclatant */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); /* Ombre douce */
    border: 1px solid #a5d6a7; /* Bordure verte claire */
    position: relative; /* Pour positionner le banner absolu si besoin, ou juste pour le contexte */
    z-index: 1; /* Assure que ce bloc est au-dessus de l'animation de fond */
}

.ad-promo-expert-banner {
    background-color: #ffc107; /* Orange pour le badge "Recommandé" */
    color: #333333; /* Texte foncé */
    font-weight: bold;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 5px;
    margin-bottom: 15px; /* Espace sous le badge */
    display: inline-flex; /* Permet d'aligner le texte et l'emoji */
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre sur le badge */
    animation: pulse 2.5s ease-in-out infinite; /* Applique l'animation pulse */
}

.ad-promo-expert-banner .emoji {
    font-size: 1.1rem; /* Taille de l'emoji étoile */
    margin-right: 5px; /* Espace entre l'emoji et le texte */
}


.ad-promo-content .ad-promo-title {
    font-size: 1.6rem; /* Taille de police plus grande */
    font-weight: 800; /* Plus gras */
    color: #2e7d32; /* Vert foncé pour le titre */
    margin-bottom: 12px; /* Marge en bas */
    line-height: 1.3;
    
    display: flex; /* Permet d'aligner l'emoji et le texte */
    align-items: center;
    justify-content: center; /* Centré par défaut sur mobile */
}

.ad-promo-content .ad-promo-title .emoji {
    font-size: 2.2rem; /* Taille de l'emoji plante */
    margin-right: 8px; /* Marge à droite de l'emoji */
    line-height: 1; /* Assure que l'emoji ne décale pas trop la ligne */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)); /* Ajoute un petit filtre d'ombre à l'emoji */
    animation: bounce 2.5s ease-in-out infinite; /* Applique l'animation bounce */
}

.ad-promo-content .ad-promo-description {
    color: #424242; /* Gris foncé pour la description */
    font-size: 1rem; /* Taille de police standard */
    line-height: 1.5;
    margin-bottom: 20px; /* Marge en bas */
}

.ad-promo-button {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px; /* Rembourrage généreux */
    background-color: #43a047; /* Vert pour le bouton */
    color: white;
    border-radius: 8px; /* Coins arrondis */
    font-weight: 600; /* Gras */
    text-decoration: none; /* Enlève le soulignement par défaut des liens */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Animation au survol */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre sur le bouton */
    margin-bottom: 15px; /* Espace sous le bouton */

    position: relative; /* Pour l'effet de brillance interne */
    overflow: hidden; /* Cache l'effet de brillance interne au-delà des bords */
}

.ad-promo-button:hover {
    background-color: #388e3c; /* Vert plus foncé au survol */
    transform: translateY(-1px); /* Léger effet de soulèvement */
}

/* Effet de brillance interne sur le bouton au survol */
.ad-promo-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

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


.ad-promo-button-icon {
    width: 20px; /* Largeur de l'icône */
    height: 20px; /* Hauteur de l'icône */
    margin-left: 8px; /* Marge à gauche de l'icône */
    transition: transform 0.3s ease; /* Ajoute une transition à l'icône */
}

.ad-promo-button:hover .ad-promo-button-icon {
    transform: translateX(4px); /* Fait bouger l'icône au survol */
}


.ad-promo-security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #616161; /* Gris moyen pour le texte de sécurité */
    font-size: 0.9rem;
    font-weight: 500;
}

.ad-promo-security-info .emoji {
    font-size: 1.1rem; /* Taille de l'emoji coche */
    margin-right: 5px;
    color: #4CAF50; /* Vert pour la coche */
}

/* ========================================================= */
/* Assurez-vous que la classe .pub-block permet la bonne largeur */
/* ========================================================= */
.pub-block {
    display: flex;
    flex-direction: column; 
    gap: var(--space-lg); 
    margin-bottom: var(--space-xl); 
    width: 100%;
    max-width: 900px; /* C'est LA LIGNE CLÉ : permet au conteneur promotionnel de s'étendre */
    margin-left: auto; 
    margin-right: auto;
}