/* REGLEMENT.CSS - Page Règlement */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* --- BASE (PC) --- */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #eef2f5;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.reglement-wrapper {
    width: 95%; max-width: 1800px; margin: 0 auto; padding: 20px;
    background-color: #fff; box-shadow: 0 0 20px rgba(0,0,0,0.05); overflow: hidden;
}

/* --- HEADER PC --- */
.reg-header {
    position: relative; text-align: center;
    padding: 100px 50px;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white; border-radius: 15px; margin-bottom: 40px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); box-sizing: border-box;
}
.header-title-main { margin: 0 0 30px 0; font-size: 3em; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; line-height: 1.1; }
.header-bottom-grid { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; }
.header-date-block { text-align: left; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(5px); padding: 20px 30px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); }
.header-date-block h3 { margin: 0; font-size: 1.5em; font-weight: 500; }
.header-location-block { text-align: right; font-size: 1.1em; line-height: 1.6; max-width: 400px; }
.header-location-block strong { display: block; font-size: 1.1em; margin-bottom: 5px; color: #fff; }

/* --- SECTIONS PC --- */
.section-title { font-size: 1.8em; color: #2c3e50; border-bottom: 3px solid #3498db; padding-bottom: 10px; margin-top: 40px; margin-bottom: 20px; }
.card { background: white; border-radius: 10px; padding: 30px; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.03); border: 1px solid #eee; }
.article-title { color: #e67e22; font-size: 1.2em; font-weight: 600; margin-bottom: 15px; margin-top: 20px; }
.article-content { margin-bottom: 20px; font-size: 1em; }
.article-content p { margin-bottom: 15px; }
.highlight-box { background-color: #fff3e0; border-left: 4px solid #e67e22; padding: 15px; margin: 15px 0; border-radius: 4px; }
.warning-text { color: #c0392b; font-weight: bold; }

/* --- TABLEAUX PC --- */
.modern-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.95em; box-shadow: 0 2px 5px rgba(0,0,0,0.05); border-radius: 8px; overflow: hidden; }
.modern-table thead th { background-color: #34495e; color: white; padding: 15px; text-align: center; font-weight: 500; }
.modern-table tbody td { padding: 12px 15px; border-bottom: 1px solid #eee; text-align: center; }
.modern-table tbody tr:nth-child(even) { background-color: #f8f9fa; }
.modern-table tbody tr:hover { background-color: #eaf2f8; }
.prize-winner { color: #c0392b; font-weight: 700; font-size: 1.1em; }
.small-text { font-size: 0.8em; color: #ccc; display: block; margin-top: 5px; }

/* --- TARIFS PC --- */
.pricing-grid { display: flex; justify-content: space-around; gap: 30px; margin: 20px 0; flex-wrap: wrap; }
.price-box { background: #f8f9fa; padding: 25px; border-radius: 8px; border: 1px solid #ddd; text-align: center; flex: 1; min-width: 300px; }
.price-box h4 { margin-top: 0; color: #2c3e50; font-size: 1.2em; }
.price-amount { font-size: 1.6em; font-weight: 700; color: #27ae60; }

/* --- FOOTER PC --- */
.reg-footer { text-align: center; margin-top: 50px; padding: 20px; font-style: italic; color: #7f8c8d; border-top: 1px solid #eee; }

/* --- Classes utilitaires (remplace style="...") --- */
.overflow-x-auto { overflow-x: auto; }
.mt-20 { margin-top: 20px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .reglement-wrapper { padding: 0; width: 100%; box-shadow: none; }
    .reg-header {
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        width: 100%; min-height: 300px; padding: 40px 20px;
        border-radius: 0; margin-bottom: 0; box-shadow: none;
    }
    .header-title-main { font-size: 1.8em; text-align: center; line-height: 1.2; margin-bottom: 30px; order: 1; width: 100%; }
    .header-bottom-grid { flex-direction: column; align-items: center; gap: 20px; width: 100%; order: 2; }
    .header-date-block { width: 100%; max-width: 300px; text-align: center; padding: 15px; background: rgba(255, 255, 255, 0.15); border-radius: 8px; margin: 0 auto; }
    .header-date-block h3 { font-size: 1.1em; margin: 0; line-height: 1.4; }
    .header-location-block { text-align: center; width: 100%; font-size: 0.95em; margin-top: 10px; max-width: 100%; }
    .header-location-block strong { font-size: 1em; margin-bottom: 5px; }
    .section-title { font-size: 1.3em; margin-top: 20px; margin-bottom: 15px; padding: 0 10px; border-bottom-width: 2px; }
    .card { padding: 15px; border-radius: 0; margin-bottom: 10px; box-shadow: none; border-left: none; border-top: 1px solid #eee; }
    .article-title { font-size: 1em; margin-top: 15px; }
    .article-content { font-size: 0.9em; }
    .modern-table thead th, .modern-table tbody td { padding: 6px 2px; font-size: 0.7em; }
    .modern-table th:nth-child(1), .modern-table td:nth-child(1) { min-width: 50px; font-weight: bold; }
    .pricing-grid { flex-direction: column; gap: 10px; padding: 0 5px; }
    .price-box { width: 100%; min-width: unset; padding: 15px; }
    .reg-footer { margin-top: 20px; padding: 15px 10px; font-size: 0.8em; }
}