/* Category Lifestyle - Styles specifiques */
/* Couleurs: #194d2f (vert fonce), #80cbc4 (turquoise), #8d8d8d (gris) */

/* Reset et base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

img,
video,
iframe,
svg,
canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero Section */
.category-hero {
    position: relative;
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.category-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.category-hero__tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding: 8px 16px;
    border: 1px solid currentColor;
    border-radius: 20px;
}

.category-hero__title {
    font-size: 48px;
    line-height: 1.2;
    margin: 0 0 24px 0;
    font-weight: 700;
}

.category-hero__subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 40px 0;
    max-width: 90%;
}

.category-hero__stats {
    display: flex;
    gap: 40px;
    padding-top: 40px;
    margin-top: 40px;
}

.category-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.category-hero__stat-number {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-hero__stat-label {
    font-size: 14px;
    font-weight: 500;
}

.category-hero__image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.category-hero__image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Articles Section */
.articles-section {
    padding: 80px 0;
}

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

.articles-section__header {
    text-align: center;
    margin-bottom: 60px;
}

.articles-section__title {
    font-size: 36px;
    margin: 0 0 16px 0;
    font-weight: 700;
}

.articles-section__intro {
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.article-card__image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #e0e0e0;
}

.article-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card__image {
    transform: scale(1.05);
}

.article-card__content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card__date {
    font-size: 13px;
    margin-bottom: 12px;
    display: block;
}

.article-card__title {
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.article-card__link {
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.article-card__link:hover {
    color: #80cbc4;
}

.article-card__excerpt {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.articles-empty {
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.articles-empty p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Data Section (Tableaux) */
.data-section {
    padding: 80px 0;
}

.data-section__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.data-section__title {
    font-size: 32px;
    margin: 0 0 20px 0;
    text-align: center;
    font-weight: 700;
}

.data-section__intro {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    min-width: 600px;
}

.data-table th,
.data-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.data-table th {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    font-size: 15px;
    line-height: 1.5;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-section__disclaimer {
    font-size: 14px;
    line-height: 1.6;
    padding: 20px;
    background-color: #fafafa;
    border-radius: 0 8px 8px 0;
    margin: 0;
}

/* Concept Section */
.concept-section {
    padding: 80px 0;
}

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

.concept-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.concept-section__title {
    font-size: 32px;
    margin: 0 0 24px 0;
    font-weight: 700;
    line-height: 1.3;
}

.concept-section__text {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 40px 0;
}

.concept-section__points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.concept-point {
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.concept-point__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0f2f1;
    border-radius: 50%;
}

.concept-point__title {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.concept-point__text {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.concept-section__visual {
    position: relative;
}

.concept-section__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Ingredients Section */
.ingredients-section {
    padding: 80px 0;
}

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

.ingredients-section__title {
    font-size: 32px;
    margin: 0 0 16px 0;
    text-align: center;
    font-weight: 700;
}

.ingredients-section__subtitle {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.ingredient-card {
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.ingredient-card:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.1);
}

.ingredient-card__icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.ingredient-card__name {
    font-size: 20px;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.ingredient-card__desc {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Legal Notice */
.legal-notice {
    padding: 60px 0;
}

.legal-notice__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-notice__content {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: 8px;
    align-items: flex-start;
}

.legal-notice__icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.legal-notice__text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .category-hero {
        padding: 60px 0;
        min-height: auto;
    }
    
    .category-hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .category-hero__title {
        font-size: 32px;
    }
    
    .category-hero__subtitle {
        max-width: 100%;
        font-size: 16px;
    }
    
    .category-hero__stats {
        justify-content: center;
        gap: 30px;
        padding-top: 30px;
        margin-top: 30px;
    }
    
    .category-hero__image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .articles-section {
        padding: 60px 0;
    }
    
    .articles-section__title {
        font-size: 28px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .article-card__image-wrapper {
        height: 200px;
    }
    
    .data-section {
        padding: 60px 0;
    }
    
    .data-section__title {
        font-size: 26px;
    }
    
    .data-table th,
    .data-table td {
        padding: 12px;
        font-size: 14px;
    }
    
    .concept-section {
        padding: 60px 0;
    }
    
    .concept-section__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .concept-section__title {
        font-size: 26px;
    }
    
    .concept-section__visual {
        order: -1;
    }
    
    .concept-section__image {
        max-height: 400px;
        object-fit: cover;
    }
    
    .ingredients-section {
        padding: 60px 0;
    }
    
    .ingredients-section__title {
        font-size: 26px;
    }
    
    .ingredients-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-notice {
        padding: 40px 0;
    }
    
    .legal-notice__content {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .category-hero__title {
        font-size: 28px;
    }
    
    .category-hero__stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .articles-section__header {
        margin-bottom: 40px;
    }
    
    .article-card__content {
        padding: 20px;
    }
    
    .concept-point {
        padding: 20px;
    }
    
    .ingredient-card {
        padding: 24px;
    }
}