/* ========================================= */
/* --- DÉFINITION DES ANIMATIONS --- */
/* ========================================= */
@keyframes hygee-pulse-badge {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

/* ========================================= */
/* --- STYLE GLOBAL ET GRILLE --- */
/* ========================================= */
.hygee-jardin-container { max-width: 100%; background-color: #f6f4ed; padding: 60px; font-family: inherit; color: #2c2c2c; }
.hygee-jardin-layout { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: stretch; max-width: 1300px; margin: 0 auto; }

/* --- COLONNE DE GAUCHE --- */
.hygee-left-column {
    display: flex; flex-direction: column;
}

/* --- EN-TÊTE --- */
.hygee-jardin-header { text-align: center; margin-bottom: 35px; padding: 0 10px; }
.hygee-subtitle-tag { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; color: #5c7f5c; background: #eef3ee; padding: 5px 12px; border-radius: 20px; margin-bottom: 12px; font-weight: 600; }
.hygee-jardin-header h2 { font-size: 1.7rem; font-weight: 600; text-transform: uppercase; color: #2c2c2c; margin: 0 0 5px 0; letter-spacing: 0.5px; text-align: center; }
.hygee-main-slogan { font-size: 1.1rem; font-weight: 300; color: #5c7f5c; font-style: italic; margin-bottom: 18px; }
.hygee-header-separator { width: 40px; height: 2px; background-color: #c28867; margin: 0 auto 18px auto; border-radius: 2px; }
.hygee-intro-text { font-size: 0.95rem; color: #555; line-height: 1.5; max-width: 420px; margin: 0 auto; }

/* --- CARTE DE FRANCE (FIXE) --- */
.hygee-france-map-wrapper { width: 100%; max-width: 450px; margin: 0 auto 30px auto; text-align: center; }

/* --- FORMULAIRE --- */
.hygee-form-box { background: #fff; border: 1px solid #e3dec9; padding: 30px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); margin-top: auto; margin-bottom: auto; display: flex; flex-direction: column; justify-content: center; }
.hygee-form-box form { margin-bottom: 0 !important; }
.hygee-form-box h3 { font-size: 1.1rem; margin-bottom: 20px; font-weight: 600; text-align: center; }

.hygee-form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.hygee-form-row input { margin-bottom: 0 !important; }
.hygee-form-box input[type="text"], .hygee-form-box select { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #dcd6c8; background: #fff; border-radius: 4px; }
.hygee-form-box select { appearance: auto; height: 42px; color: #555; }
.hygee-file-upload { padding: 25px 10px; border: 1px dashed #c88a65; border-radius: 4px; background: #fff; text-align: center; margin-bottom: 15px; transition: background 0.3s; }
.hygee-file-upload:hover { background: #fdfaf4; }
.custom-file-label { cursor: pointer; display: flex; flex-direction: column; align-items: center; width: 100%; }
.hygee-moderation-check { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.85rem; color: #444; margin-bottom: 20px; }
.hygee-form-box button { width: 100%; background: #c28867; color: #fff; border: none; padding: 14px; font-weight: 600; cursor: pointer; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* --- ÉMOJIS NIVEAUX JARDINIERS --- */
.hygee-anim-emoji { display: inline-block; transition: transform 0.3s ease; transform-origin: bottom center; }
.hygee-legend-list li { cursor: default; }
.hygee-legend-list li:hover .hygee-anim-emoji { transform: scale(1.3) rotate(8deg); }

/* --- COLONNE DE DROITE (GALERIE) --- */
.hygee-right-column { background: #fdfaf4; border-radius: 12px; padding: 40px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); display: flex; flex-direction: column; justify-content: center; }
.hygee-gallery-title { text-align: center; font-size: 1.4rem; font-weight: 500; margin-bottom: 30px; }
.hygee-garden-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-content: start; }

/* --- CARTES JARDINIERS --- */
.hygee-garden-card {
    display: flex; flex-direction: column; background: transparent; border: 1px solid #dcd6c8; border-radius: 6px; overflow: hidden; padding: 8px 8px 2px 8px; height: 100%; position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.hygee-garden-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); border-color: #c28867; }
.hygee-garden-card img { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important; object-fit: cover !important; object-position: center !important; border-radius: 4px; display: block; }
.hygee-garden-card-content { padding: 12px 5px 0px 5px; text-align: center; display: flex; flex-direction: column; flex-grow: 1; }
.hygee-garden-card h4 { font-size: 0.85rem !important; font-weight: 600; margin: 0 0 2px 0; line-height: 1.2; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; word-break: keep-all !important; }
.hygee-garden-card .card-city { font-size: 0.75rem !important; font-style: italic !important; font-weight: 400 !important; color: #666 !important; margin: 0 0 4px 0 !important; }
.hygee-garden-card p { font-size: 0.75rem !important; color: #777; margin: 0 0 5px 0 !important; line-height: 1.3; display: block !important; overflow: visible !important; white-space: normal !important; word-break: keep-all !important; overflow-wrap: normal !important; -webkit-hyphens: none !important; hyphens: none !important; }
.hygee-garden-card a.hygee-zoom-link { display: block; overflow: hidden; border-radius: 4px; }
.hygee-garden-card a.hygee-zoom-link img { transition: transform 0.3s ease; }
.hygee-garden-card a.hygee-zoom-link:hover img { transform: scale(1.03); }

/* --- BOUTON J'AIME --- */
.hygee-like-action { margin-top: auto; padding-top: 8px; border-top: 1px solid #dcd6c8; text-align: center; width: 100%; margin-bottom: -2px; }
.hygee-btn-like { background: none; border: none; cursor: pointer; padding: 5px; outline: none; display: inline-block; transition: transform 0.2s; }
.hygee-heart-icon { width: 24px; height: 24px; fill: transparent; stroke: #c28867; stroke-width: 2px; transition: all 0.3s ease; }
.hygee-btn-like:hover .hygee-heart-icon { transform: scale(1.15); }
.hygee-btn-like.liked .hygee-heart-icon { fill: #c28867; stroke: #c28867; }
.hygee-btn-like:hover { background-color: transparent !important; }

/* --- LE BADGE COULEUR OR --- */
.hygee-badge-coeur {
    position: absolute; top: 8px; left: 8px; right: 8px; background: #EE4B2B; color: #fff; padding: 5px 10px; font-size: 0.75rem; font-weight: 600; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,0.15); z-index: 10; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; 
    animation: hygee-pulse-badge 2s infinite ease-in-out; 
}
.badge-heart-icon { width: 12px; height: 12px; fill: #fff; flex-shrink: 0; }

/* --- PAGINATION --- */
.hygee-pagination { margin-top: auto; padding-top: 30px; display: flex; justify-content: center; gap: 10px; }
.hygee-pagination a, .hygee-pagination span { padding: 8px 15px; background: #fff; border: 1px solid #dcd6c8; border-radius: 4px; color: #444; text-decoration: none; font-weight: 500; transition: all 0.2s; }
.hygee-pagination a:hover { border-color: #c28867; color: #c28867; }
.hygee-pagination .current { background: #c28867; color: #fff; border-color: #c28867; }

/* --- RESPONSIVE --- */
@media (max-width: 1100px) { .hygee-garden-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 950px) { .hygee-jardin-layout { grid-template-columns: 1fr; } .hygee-garden-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 650px) {
    .hygee-jardin-container { padding: 30px 10px; }
    .hygee-right-column { padding: 20px 15px; }
    .hygee-garden-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hygee-form-row { flex-direction: column; }
}
/* --- STYLES EXTRAITS DU FORMULAIRE --- */
.hygee-form-box h3.hygee-form-title {
    font-size: 1.15rem !important; 
    font-weight: 700; 
    color: #2c2c2c; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    line-height: 1.3; 
    margin-bottom: 20px; 
    text-align: center;
}
.hygee-form-box .hygee-form-title-sub {
    display: block; 
    font-size: 0.85rem !important; 
    font-weight: 400; 
    color: #c28867 !important; 
    margin-top: 6px; 
    line-height: 1.4; 
    text-transform: none;
}
.hygee-email-input {
    width: 100%; 
    padding: 12px; 
    margin-bottom: 15px; 
    border: 1px solid #dcd6c8; 
    border-radius: 4px; 
    box-sizing: border-box;
}
.hygee-success-message {
    background: #e8f5e9; 
    border: 1px solid #81c784; 
    color: #2e7d32; 
    padding: 15px; 
    text-align: center; 
    border-radius: 8px; 
    margin-bottom: 30px;
}
.hygee-legend-box {
    margin-top: 30px; 
    background: #fff; 
    padding: 20px; 
    border-radius: 8px; 
    border: 1px solid #e3dec9; 
    text-align: center; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.hygee-legend-title {
    margin-top: 0; 
    margin-bottom: 15px; 
    font-size: 1rem; 
    color: #5c7f5c; 
    font-weight: 600;
}
.hygee-legend-list {
    list-style: none; 
    padding: 0; 
    margin: 0; 
    font-size: 0.9rem; 
    color: #444; 
    text-align: left; 
    display: inline-block;
}
.hygee-legend-list li {
    margin-bottom: 10px;
}