/*
Theme Name: Ferme des Queuwys
Theme URI: https://fermedesqueuwys.be
Author: RC Informatique
Author URI: https://rc-informatique.be
Description: Thème WordPress personnalisé pour la Ferme des Queuwys - Produits laitiers artisanaux à Froidchapelle
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ferme-queuwys
Tags: custom-menu, custom-logo, featured-images, full-width-template, one-column, theme-options
*/

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   NAVIGATION
   ======================================== */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

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

.site-logo {
    font-family: 'Pacifico', cursive;
    font-size: 1.875rem;
    color: #15803d;
    cursor: pointer;
    transition: color 0.3s;
}

.site-logo:hover {
    color: #166534;
}

.site-logo a {
    color: inherit;
    text-decoration: none;
}

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

.nav-menu li {
    list-style: none;
}

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

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

.nav-menu .current-menu-item a,
.nav-menu a.active {
    color: #16a34a;
    border-bottom: 2px solid #16a34a;
    padding-bottom: 0.25rem;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #15803d;
    background: none;
    border: none;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/images/hero-bg.jpg') center/cover;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero h1 {
    font-family: 'Pacifico', serif;
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero .description {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

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

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.arrow-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-green {
    background: #16a34a;
    color: white;
}

.btn-green:hover {
    background: #15803d;
}

.btn-blue {
    background: #2563eb;
    color: white;
}

.btn-blue:hover {
    background: #1d4ed8;
}

/* ========================================
   CONTAINER & SECTIONS
   ======================================== */
.container {
    max-width: 1152px;
    margin: 0 auto;
}

.container-wide {
    max-width: 1536px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    color: #166534;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 768px;
    margin: 0 auto 4rem;
    text-align: center;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(to bottom, #f0fdf4, white);
}

.grid {
    display: grid;
    gap: 3rem;
}

.grid-2 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 1.5rem;
}

.card-border-green {
    border-left: 4px solid #16a34a;
}

.card-border-blue {
    border-left: 4px solid #2563eb;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.card p {
    color: #374151;
    line-height: 1.75;
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline-item {
    text-align: center;
}

.timeline-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.timeline-icon i {
    font-size: 1.875rem;
}

.bg-green-100 { background: #dcfce7; }
.text-green-600 { color: #16a34a; }
.bg-blue-100 { background: #dbeafe; }
.text-blue-600 { color: #2563eb; }
.bg-yellow-100 { background: #fef3c7; }
.text-yellow-600 { color: #ca8a04; }
.bg-purple-100 { background: #f3e8ff; }
.text-purple-600 { color: #9333ea; }

/* ========================================
   IMAGES
   ======================================== */
.img-rounded {
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    height: 24rem;
    object-fit: cover;
}

/* ========================================
   QUOTE CARD
   ======================================== */
.quote-card {
    background: #16a34a;
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
}

.quote-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.quote-card blockquote {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 1rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(to bottom, #f0fdf4, white);
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #166534;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.contact-card h3 i {
    font-size: 1.875rem;
    margin-right: 0.75rem;
}

/* Carte Congés et Fermetures - centrée en dessous */
.conges-card-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.conges-card {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.conges-card h3 {
    justify-content: center;
}

.conges-card p {
    color: #374151;
    margin-bottom: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #374151;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item:hover {
    color: #16a34a;
}

.contact-item i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.schedule-row span:first-child {
    font-weight: 600;
    color: #374151;
}

.schedule-row span:last-child {
    color: #16a34a;
}

/* ========================================
   MAP
   ======================================== */
.map-container {
    margin-top: 4rem;
}

.map-container h3 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #166534;
    margin-bottom: 1rem;
    text-align: center;
}

.map-container p {
    font-size: 1.125rem;
    color: #4b5563;
    text-align: center;
    margin-bottom: 2rem;
}

.map-frame {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.map-frame iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* ========================================
   PRODUCTS HERO
   ======================================== */
.products-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.8), rgba(59, 130, 246, 0.6)), 
                url('assets/images/products-hero-bg.jpg') center/cover;
    text-align: center;
    color: white;
}

.products-hero.small {
    height: 50vh;
}

.hero-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 896px;
    margin: 0 auto;
}

.hero-glass h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, white, #dcfce7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-glass .subtitle {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 300;
    margin-bottom: 1rem;
}

.hero-glass .description {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 768px;
    margin: 0 auto;
}

/* ========================================
   PRODUCTS SECTION - NEW RESPONSIVE DESIGN
   ======================================== */
.products-section {
    padding: 2rem 0;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 50%, #dbeafe 100%);
}

.products-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Product Card */
.product-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.product-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
    .product-card {
        flex-direction: row;
        align-items: center;
    }
    
    .product-card.reversed {
        flex-direction: row-reverse;
    }
}

/* Product Gallery */
.product-gallery {
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

@media (min-width: 768px) {
    .product-gallery {
        flex: 0 0 50%;
    }
}

/* Gallery Layouts */
.gallery-two,
.gallery-three,
.gallery-four,
.gallery-five {
    display: grid;
    gap: 4px;
    padding: 4px;
    width: 100%;
}

/* Single Image - centrage vertical et horizontal */
.gallery-single {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.gallery-single img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    display: block;
}

/* Two Images - 2 colonnes */
.gallery-two {
    grid-template-columns: 1fr 1fr;
    align-content: center;
}

/* Three Images - grande + 2 petites */
.gallery-three {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    align-content: center;
}

.gallery-three .gallery-main {
    grid-row: span 2;
}

.gallery-three .gallery-side {
    display: contents;
}

/* Four Images - grille 2x2 */
.gallery-four {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    align-content: center;
}

/* Five+ Images - grande + grille 2x2 */
.gallery-five {
    grid-template-columns: 1fr 1fr;
    align-content: center;
}

.gallery-five .gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
}

/* Gallery Item */
.gallery-item,
.gallery-main {
    border-radius: 4px;
    overflow: hidden;
    background: #e5e7eb;
}

.gallery-item img,
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover img,
.gallery-main:hover img {
    transform: scale(1.03);
    transition: transform 0.3s;
}

/* Product Info */
.product-info {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 1rem;
}

@media (min-width: 768px) {
    .product-info {
        padding: 1.25rem;
    }
}

.product-info-inner {
    max-width: 500px;
}

.product-accent-bar {
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border-radius: 2px;
    margin-bottom: 0.75rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .product-name {
        font-size: 1.5rem;
    }
}

.product-text {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
    white-space: pre-line;
}

@media (min-width: 768px) {
    .product-text {
        font-size: 1.0625rem;
    }
}

.product-text p {
    margin-bottom: 1rem;
}

.product-text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   RECIPES SECTION
   ======================================== */
.recipes-filters {
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.5);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 896px;
    margin: 0 auto;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    background: white;
    color: #374151;
}

.filter-btn.active {
    background: #16a34a;
    color: white;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
    border-color: #16a34a;
}

.filter-btn:not(.active):hover {
    background: #f0fdf4;
    color: #16a34a;
}

.recipes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .recipes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   RECIPE CARD
   ======================================== */
.recipe-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #f3f4f6;
    cursor: pointer;
    transition: all 0.3s;
}

.recipe-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: scale(1.05);
}

.recipe-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.recipe-image {
    height: 12rem;
    background: linear-gradient(to bottom right, #f9fafb, #f3f4f6);
    overflow: hidden;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.recipe-info {
    padding: 1.5rem;
}

.recipe-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.recipe-header-line {
    width: 2rem;
    height: 0.25rem;
    background: linear-gradient(to right, #16a34a, #2563eb);
    border-radius: 9999px;
    margin-right: 0.75rem;
}

.recipe-badge {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.recipe-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
}

.recipe-meta {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.recipe-meta i {
    font-size: 1.125rem;
    margin-right: 0.5rem;
    color: #2563eb;
}

/* ========================================
   RECIPE DETAIL
   ======================================== */
.breadcrumb {
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem 0;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #4b5563;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #16a34a;
}

.breadcrumb-current {
    color: #1f2937;
    font-weight: 500;
}

.recipe-detail-section {
    padding: 3rem 1.5rem;
}

.recipe-detail-image-wrapper {
    position: relative;
}

.recipe-detail-blur {
    position: absolute;
    inset: -1rem;
    background: linear-gradient(to right, rgba(34, 197, 94, 0.2), rgba(59, 130, 246, 0.2));
    border-radius: 1.5rem;
    filter: blur(40px);
}

.recipe-detail-image-container {
    position: relative;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    border: 1px solid #f3f4f6;
}

.recipe-detail-image {
    height: 24rem;
    background: linear-gradient(to bottom right, #f9fafb, #f3f4f6);
    overflow: hidden;
}

.recipe-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-detail-content {
    width: 100%;
}

.recipe-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.recipe-detail-header-line {
    width: 3rem;
    height: 0.25rem;
    background: linear-gradient(to right, #16a34a, #2563eb);
    border-radius: 9999px;
    margin-right: 1rem;
}

.recipe-detail-badge {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.recipe-detail-servings {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 2rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 1rem;
}

.recipe-detail-servings i {
    font-size: 1.125rem;
    margin-right: 0.5rem;
    color: #2563eb;
}

.recipe-section-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.recipe-section-title i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.recipe-section-title i.green {
    color: #16a34a;
}

.recipe-section-title i.blue {
    color: #2563eb;
}

.ingredients-box {
    background: #f0fdf4;
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid #dcfce7;
    margin-bottom: 2rem;
}

.ingredients-box p {
    color: #374151;
    line-height: 1.75;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-item {
    display: flex;
    background: #dbeafe;
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid #bfdbfe;
}

.step-number {
    background: linear-gradient(to right, #2563eb, #16a34a);
    color: white;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
    margin-right: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.step-number.tip {
    background: linear-gradient(to right, #eab308, #f97316);
}

.step-text {
    color: #374151;
    line-height: 1.75;
}

.back-button {
    background: #16a34a;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 2rem;
}

.back-button:hover {
    background: #15803d;
}

.back-button i {
    margin-right: 0.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: #166534;
    color: white;
}

.footer-content {
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #d1fae5;
    font-size: 0.875rem;
    line-height: 1.5;
    text-decoration: none;
}

.footer-section a {
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #15803d;
    padding: 1.5rem;
}

.footer-bottom-content {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
    }
}

.footer-bottom p {
    color: #a7f3d0;
    font-size: 0.875rem;
}

/* ========================================
   NO RESULTS
   ======================================== */
.no-results {
    text-align: center;
    padding: 4rem 0;
    grid-column: 1 / -1;
}

.no-results-icon {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1.5rem;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-results-icon i {
    font-size: 2.5rem;
    color: #9ca3af;
}

.no-results h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #6b7280;
}

/* ========================================
   MOBILE MENU
   ======================================== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        gap: 0.25rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem;
    }

    .mobile-toggle {
        display: block;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 4rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mt-4 { margin-top: 4rem; }
.align-center { align-items: center; }

/* ========================================
   GDPR - GOOGLE MAPS CONSENT
   ======================================== */
.map-gdpr-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.map-gdpr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.map-gdpr-content {
    text-align: center;
    padding: 2rem;
    max-width: 450px;
}

.map-gdpr-icon {
    font-size: 3rem;
    color: #16a34a;
    margin-bottom: 1rem;
    display: block;
}

.map-gdpr-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 0.75rem;
}

.map-gdpr-content p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.map-gdpr-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.map-gdpr-btn i {
    font-size: 1.125rem;
}

.map-gdpr-links {
    font-size: 0.8rem !important;
    color: #6b7280 !important;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.map-gdpr-links a {
    color: #16a34a;
    text-decoration: underline;
    transition: color 0.3s;
}

.map-gdpr-links a:hover {
    color: #166534;
}

#google-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
}

/* ========================================
   COOKIE BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 1.25rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cookie-banner-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #166534;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-banner-text p {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-text a {
    color: #16a34a;
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.cookie-btn-accept {
    background: #16a34a;
    color: white;
}

.cookie-btn-accept:hover {
    background: #15803d;
}

.cookie-btn-reject {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.cookie-btn-reject:hover {
    background: #e5e7eb;
}

.cookie-btn-settings {
    background: transparent;
    color: #16a34a;
    text-decoration: underline;
    padding: 0.625rem 0.75rem;
}

/* ========================================
   FOOTER LEGAL LINKS (tout en bas)
   ======================================== */
.footer-legal {
    background: #14532d;
    padding: 0.875rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-legal-content {
    max-width: 1200px;
    margin: 0 auto;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.legal-links a {
    color: #86efac;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.25rem 0;
}

.legal-links a:hover {
    color: white;
    text-decoration: underline;
}

.legal-links .separator {
    color: #4ade80;
    opacity: 0.5;
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-page {
    padding: 4rem 0;
    background: #f9fafb;
    min-height: calc(100vh - 200px);
}

.legal-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 0.5rem;
    text-align: center;
}

.legal-page .last-update {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.legal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #166534;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dcfce7;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    color: #4b5563;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-content a {
    color: #16a34a;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #166534;
}

.legal-content strong {
    color: #1f2937;
    font-weight: 600;
}

.legal-content .highlight-box {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.legal-content table th,
.legal-content table td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    text-align: left;
}

.legal-content table th {
    background: #f0fdf4;
    font-weight: 600;
    color: #166534;
}

.legal-content table tr:nth-child(even) {
    background: #f9fafb;
}

.legal-back-link {
    text-align: center;
    margin-top: 2rem;
}

.legal-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #16a34a;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-back-link a:hover {
    color: #166534;
}
