/* === CATEGORY TOURISME STYLES === */
/* Harmonie avec la niche Culture Tourisme Cuisine/Restauration Maison & travaux */
/* Couleurs: #713f12 (brun), #fde68a (jaune), #e11d48 (rose) */

/* === CATEGORY HERO === */
.category-hero {
    background-color: #713f12;
    color: #ffffff;
    padding: 80px 20px 60px;
    text-align: center;
}
.category-hero__container {
    max-width: 1200px;
    margin: 0 auto;
}
.category-hero__title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}
.category-hero__subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
    color: #ffffff;
}
.category-hero__keywords {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}
.keyword-tag {
    background-color: #e11d48;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* === INTRO SECTION === */
.intro-section {
    padding: 60px 20px;
    background-color: #fefce8;
}
.intro-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.intro-title {
    font-size: 2rem;
    color: #713f12;
    margin-bottom: 30px;
    font-weight: 600;
}
.intro-text {
    font-size: 1.1rem;
    color: #1f2937;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* === ARTICLES SECTION === */
.articles-section {
    padding: 60px 20px;
    background-color: #ffffff;
}
.articles-container {
    max-width: 1200px;
    margin: 0 auto;
}
.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}
.articles-title {
    font-size: 2rem;
    color: #713f12;
    font-weight: 600;
}
.articles-count {
    background-color: #e11d48;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.95rem;
}
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}
.article-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.article-image-container {
    height: 200px;
    overflow: hidden;
}
.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-content {
    padding: 25px;
}
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #6b7280;
}
.article-category {
    background-color: #fde68a;
    color: #713f12;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
}
.article-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}
.article-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}
.article-title a:hover {
    color: #e11d48;
}
.article-excerpt {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}
.article-date {
    font-size: 0.85rem;
    color: #9ca3af;
    font-style: italic;
}

/* === EMPTY STATE === */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9fafb;
    border-radius: 12px;
    border: 2px dashed #e5e7eb;
}
.empty-state p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
}

/* === STATS SECTION === */
.stats-section {
    padding: 60px 20px;
    background-color: #fefce8;
}
.stats-container {
    max-width: 1200px;
    margin: 0 auto;
}
.stats-title {
    font-size: 2rem;
    color: #713f12;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.stat-card {
    background-color: #fde68a;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 2px solid #fcd34d;
    transition: transform 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-3px);
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #713f12;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 1rem;
    color: #1f2937;
    font-weight: 500;
}
.stat-description {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 10px;
    line-height: 1.5;
}

/* === TABLE SECTION === */
.table-section {
    padding: 60px 20px;
    background-color: #ffffff;
}
.table-container {
    max-width: 1200px;
    margin: 0 auto;
}
.table-title {
    font-size: 2rem;
    color: #713f12;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(113, 63, 18, 0.1);
}
.styled-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}
.styled-table thead {
    background-color: #713f12;
    color: #ffffff;
}
.styled-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}
.styled-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
    color: #1f2937;
}
.styled-table tbody tr:hover {
    background-color: #fef9c3;
}
.styled-table tbody tr:last-child td {
    border-bottom: none;
}
.table-disclaimer {
    margin-top: 20px;
    padding: 15px;
    background-color: #fffbeb;
    border-radius: 8px;
    border: 1px solid #fde68a;
    font-size: 0.85rem;
    color: #92400e;
    font-style: italic;
}

/* === ITINERARY SECTION === */
.itinerary-section {
    padding: 60px 20px;
    background-color: #fefce8;
}
.itinerary-container {
    max-width: 1200px;
    margin: 0 auto;
}
.itinerary-title {
    font-size: 2rem;
    color: #713f12;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}
.itinerary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}
.itinerary-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border: 2px solid #e5e7eb;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.itinerary-card:hover {
    border-color: #713f12;
    box-shadow: 0 6px 20px rgba(113, 63, 18, 0.12);
}
.itinerary-icon {
    width: 50px;
    height: 50px;
    background-color: #fde68a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.itinerary-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #713f12;
    margin-bottom: 12px;
}
.itinerary-desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

/* === CTA SECTION === */
.cta-section {
    padding: 80px 20px;
    background-color: #e11d48;
    color: #ffffff;
    text-align: center;
}
.cta-container {
    max-width: 800px;
    margin: 0 auto;
}
.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}
.cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
    color: #ffffff;
}
.cta-button {
    display: inline-block;
    background-color: #fde68a;
    color: #713f12;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid #fde68a;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* === SVG ICONS === */
.icon-svg {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

/* === ACCESSIBILITY === */
*:focus-visible {
    outline: 3px solid #e11d48;
    outline-offset: 2px;
}

.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;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .category-hero {
        padding: 60px 20px 40px;
    }
    .category-hero__title {
        font-size: 2.2rem;
    }
    .category-hero__subtitle {
        font-size: 1.1rem;
    }
    .intro-section,
    .stats-section,
    .table-section,
    .articles-section,
    .itinerary-section {
        padding: 40px 15px;
    }
    .intro-title,
    .stats-title,
    .table-title,
    .articles-title,
    .itinerary-title {
        font-size: 1.8rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .articles-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .article-card {
        margin-bottom: 10px;
    }
    .article-card:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    .itinerary-grid {
        grid-template-columns: 1fr;
    }
    .cta-section {
        padding: 60px 20px;
    }
    .cta-title {
        font-size: 2rem;
    }
    .cta-text {
        font-size: 1.1rem;
    }

    /* Table responsive */
    .styled-table thead {
        display: none;
    }
    .styled-table tbody {
        display: block;
        width: 100%;
    }
    .styled-table tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 14px;
        background: #ffffff;
    }
    .styled-table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 8px 0;
        border-bottom: 1px solid #f3f4f6;
    }
    .styled-table td:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .category-hero__title {
        font-size: 1.9rem;
    }
    .keyword-tag {
        padding: 5px 12px;
        font-size: 0.85rem;
    }
    .intro-title,
    .stats-title,
    .table-title,
    .articles-title,
    .itinerary-title {
        font-size: 1.6rem;
    }
    .stat-card {
        padding: 20px;
    }
    .article-content {
        padding: 20px;
    }
    .article-title {
        font-size: 1.2rem;
    }
    .itinerary-card {
        padding: 20px;
    }
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* ===== RESPONSIVE (auto-repair) ===== */
/* === RESPONSIVE === */

@media (max-width: 1024px) {
    .category-hero__container,
    .articles-container,
    .stats-container,
    .table-container,
    .itinerary-container {
        max-width: 960px;
    }

    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }

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

    .itinerary-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }

    .stat-number {
        font-size: 2.6rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .category-hero {
        padding: 50px 16px 40px;
    }
    .category-hero__title {
        font-size: 2.1rem;
    }
    .category-hero__subtitle {
        font-size: 1.05rem;
    }
    .category-hero__keywords {
        gap: 8px;
        margin-top: 24px;
    }
    .keyword-tag {
        padding: 5px 14px;
        font-size: 0.85rem;
    }

    .intro-section {
        padding: 40px 16px;
    }
    .intro-title {
        font-size: 1.7rem;
    }
    .intro-text {
        font-size: 1rem;
    }

    .articles-section {
        padding: 40px 16px;
    }
    .articles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 30px;
    }
    .articles-title {
        font-size: 1.7rem;
    }
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .article-card:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    .article-image-container {
        height: 180px;
    }
    .article-content {
        padding: 20px;
    }
    .article-title {
        font-size: 1.2rem;
    }

    .stats-section {
        padding: 40px 16px;
    }
    .stats-title {
        font-size: 1.7rem;
        margin-bottom: 36px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stat-number {
        font-size: 2.4rem;
    }
    .stat-card {
        padding: 24px;
    }

    .table-section {
        padding: 40px 16px;
    }
    .table-title {
        font-size: 1.7rem;
        margin-bottom: 30px;
    }
    .styled-table thead {
        display: none;
    }
    .styled-table tbody {
        display: block;
        width: 100%;
    }
    .styled-table tr {
        display: block;
        margin-bottom: 14px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 12px;
        background: #ffffff;
    }
    .styled-table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 7px 0;
        border-bottom: 1px solid #f3f4f6;
        font-size: 0.9rem;
    }
    .styled-table td:last-child {
        border-bottom: none;
    }

    .itinerary-section {
        padding: 40px 16px;
    }
    .itinerary-title {
        font-size: 1.7rem;
        margin-bottom: 36px;
    }
    .itinerary-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .itinerary-card {
        padding: 24px;
    }
    .itinerary-name {
        font-size: 1.1rem;
    }

    .cta-section {
        padding: 50px 16px;
    }
    .cta-title {
        font-size: 1.9rem;
    }
    .cta-text {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .category-hero {
        padding: 40px 14px 32px;
    }
    .category-hero__title {
        font-size: 1.8rem;
    }
    .category-hero__subtitle {
        font-size: 0.95rem;
    }
    .category-hero__keywords {
        gap: 6px;
        margin-top: 20px;
    }
    .keyword-tag {
        padding: 4px 10px;
        font-size: 0.8rem;
    }

    .intro-section {
        padding: 32px 14px;
    }
    .intro-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    .intro-text {
        font-size: 0.95rem;
    }

    .articles-section {
        padding: 32px 14px;
    }
    .articles-title {
        font-size: 1.5rem;
    }
    .articles-count {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
    .articles-grid {
        gap: 16px;
    }
    .article-image-container {
        height: 160px;
    }
    .article-content {
        padding: 16px;
    }
    .article-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    .article-excerpt {
        font-size: 0.9rem;
    }
    .article-meta {
        font-size: 0.8rem;
    }
    .article-date {
        font-size: 0.8rem;
    }

    .stats-section {
        padding: 32px 14px;
    }
    .stats-title {
        font-size: 1.5rem;
        margin-bottom: 28px;
    }
    .stat-card {
        padding: 20px;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .stat-label {
        font-size: 0.95rem;
    }
    .stat-description {
        font-size: 0.85rem;
    }

    .table-section {
        padding: 32px 14px;
    }
    .table-title {
        font-size: 1.5rem;
    }
    .styled-table td {
        font-size: 0.85rem;
    }
    .table-disclaimer {
        font-size: 0.8rem;
        padding: 12px;
    }

    .itinerary-section {
        padding: 32px 14px;
    }
    .itinerary-title {
        font-size: 1.5rem;
    }
    .itinerary-card {
        padding: 20px;
    }
    .itinerary-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 14px;
    }
    .itinerary-name {
        font-size: 1rem;
    }
    .itinerary-desc {
        font-size: 0.9rem;
    }

    .cta-section {
        padding: 40px 14px;
    }
    .cta-title {
        font-size: 1.6rem;
    }
    .cta-text {
        font-size: 0.95rem;
    }
    .cta-button {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .empty-state {
        padding: 40px 14px;
    }
    .empty-state p {
        font-size: 1rem;
    }
}