/**
 * Styles pour la page Nos Combats
 * Design moderne, dynamique et attractif
 */

/* ================================================================
   HERO & NAVIGATION
   ================================================================ */
.page-hero-combats {
    background: linear-gradient(135deg, #0D1B2A 0%, #1B263B 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero-combats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(214, 40, 40, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(45, 106, 79, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.combat-quick-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.combat-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.combat-nav-item:hover {
    background: rgba(214, 40, 40, 0.2);
    border-color: #D62828;
    transform: translateY(-3px);
    color: #fff;
}

.combat-nav-icon {
    font-size: 24px;
}

/* ================================================================
   SECTIONS COMBAT
   ================================================================ */
.combat-section {
    padding: 100px 0;
    position: relative;
}

.combat-sacem {
    background: #f8f9fa;
}

.combat-taxe {
    background: linear-gradient(135deg, #1B263B 0%, #0D1B2A 100%);
    color: #fff;
}

.combat-alcool {
    background: #fff;
}

/* ================================================================
   HEADERS COMBAT
   ================================================================ */
.combat-header {
    text-align: center;
    margin-bottom: 60px;
}

.combat-number {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: #D62828;
    background: rgba(214, 40, 40, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.combat-taxe .combat-number {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.combat-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
}

.combat-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #D62828;
    margin-top: 10px;
}

.combat-taxe .combat-subtitle {
    color: #F77F00;
}

/* ================================================================
   BLOCS DE CONTENU
   ================================================================ */
.combat-block {
    margin-bottom: 80px;
}

.combat-block-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #D62828;
    display: inline-block;
}

.combat-taxe .combat-block-title {
    border-color: #F77F00;
}

/* Content Boxes */
.content-box,
.content-box-light {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.combat-taxe .content-box-light {
    background: rgba(255, 255, 255, 0.95);
    color: #0D1B2A;
}

.content-box-primary {
    background: linear-gradient(135deg, #2D6A4F 0%, #1B4332 100%);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(45, 106, 79, 0.3);
}

/* ================================================================
   TABLEAUX COMPARATIFS
   ================================================================ */
.table-responsive {
    overflow-x: auto;
    margin: 30px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comparison-table thead tr {
    background: linear-gradient(135deg, #0D1B2A 0%, #1B263B 100%);
    color: #fff;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.country-row {
    transition: all 0.3s ease;
}

.country-row:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

.country-row.highlight-danger {
    background: rgba(214, 40, 40, 0.1);
    font-weight: 700;
}

.country-row.highlight-danger:hover {
    background: rgba(214, 40, 40, 0.15);
}

.flag {
    font-size: 24px;
    margin-right: 10px;
}

.tarif-cell {
    font-weight: 700;
}

.tarif-value {
    font-size: 20px;
    color: #2D6A4F;
}

.country-fr .tarif-value {
    color: #D62828;
    font-size: 24px;
}

.ratio {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    background: #FFC107;
    color: #000;
    font-weight: 700;
    font-size: 14px;
}

.ratio-best {
    background: #2D6A4F;
    color: #fff;
}

.ratio-worst {
    background: #D62828;
    color: #fff;
    font-size: 16px;
}

/* ================================================================
   STATS & GRILLES
   ================================================================ */
.stats-box-danger {
    background: linear-gradient(135deg, #D62828 0%, #9D0208 100%);
    color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(214, 40, 40, 0.3);
}

.stat-item-large {
    text-align: center;
    margin: 30px 0;
}

.stat-value {
    display: block;
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
}

.stat-value small {
    font-size: 48px;
}

.stat-label {
    display: block;
    margin-top: 15px;
    font-size: 18px;
    opacity: 0.9;
}

.stats-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-h {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.stat-h-value {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: #F77F00;
}

.stat-h-label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.stat-h-final {
    background: rgba(214, 40, 40, 0.3);
}

.stat-h-final .stat-h-value {
    color: #fff;
    font-size: 40px;
}

/* Mini Stats Grid */
.stats-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-mini {
    text-align: center;
    padding: 15px;
    background: rgba(45, 106, 79, 0.1);
    border-radius: 10px;
}

.stat-mini-value {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: #2D6A4F;
}

.stat-mini-label {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

.stat-mini-highlight {
    background: #2D6A4F;
}

.stat-mini-highlight .stat-mini-value,
.stat-mini-highlight .stat-mini-label {
    color: #fff;
}

/* ================================================================
   CARTES & BOXES
   ================================================================ */
.quote-box {
    background: rgba(214, 40, 40, 0.05);
    border-left: 5px solid #D62828;
    padding: 25px;
    font-style: italic;
    font-size: 18px;
}

.law-box {
    background: rgba(45, 106, 79, 0.1);
    border-left: 5px solid #2D6A4F;
    padding: 20px;
}

.jurisprudence-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
}

.example-box {
    background: linear-gradient(135deg, #F77F00 0%, #D62828 100%);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(214, 40, 40, 0.3);
}

.calc-table {
    width: 100%;
    margin-top: 15px;
}

.calc-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.calc-table tr:last-child {
    border-bottom: none;
}

.calc-table td {
    padding: 12px 0;
}

.calc-table .text-right {
    text-align: right;
}

.calc-table .success-row {
    font-weight: 700;
    font-size: 18px;
}

.calc-table .separator td {
    padding: 5px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.calc-table .highlight-row {
    background: rgba(255, 255, 255, 0.1);
}

.calc-table .final-row {
    font-size: 20px;
    font-weight: 900;
}

/* ================================================================
   AXES DE COMBAT
   ================================================================ */
.axes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.axe-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #D62828;
    transition: transform 0.3s ease;
}

.axe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(214, 40, 40, 0.2);
}

.axe-number {
    display: inline-block;
    background: #D62828;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 15px;
}

.axe-card h4 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #0D1B2A;
}

.action-list-compact {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.action-list-compact li {
    padding: 8px 0 8px 25px;
    position: relative;
    font-size: 14px;
}

.action-list-compact li:before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #D62828;
    font-weight: 700;
}

.axe-result {
    margin-top: 20px;
    padding: 15px;
    background: rgba(45, 106, 79, 0.1);
    border-left: 3px solid #2D6A4F;
    border-radius: 5px;
    font-size: 14px;
}

/* ================================================================
   PHASES & TIMELINE
   ================================================================ */
.phases-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.phase-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    align-items: start;
}

.phase-number {
    background: linear-gradient(135deg, #D62828 0%, #9D0208 100%);
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(214, 40, 40, 0.3);
}

.phase-content {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.combat-taxe .phase-content {
    background: rgba(255, 255, 255, 0.95);
    color: #0D1B2A;
}

.phase-content h4 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #0D1B2A;
}

.phase-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
}

.phase-result.success {
    background: rgba(45, 106, 79, 0.1);
    border-left: 4px solid #2D6A4F;
    color: #1B4332;
}

/* Phases Grid (Combat 3) */
.phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.phase-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #2D6A4F;
}

.phase-number-alt {
    width: 50px;
    height: 50px;
    background: #2D6A4F;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 20px;
}

/* ================================================================
   ARGUMENTS & COMPARAISONS
   ================================================================ */
.arguments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.argument-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.argument-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.argument-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.argument-card h4 {
    font-size: 20px;
    font-weight: 800;
    color: #D62828;
    margin-bottom: 15px;
}

.stats-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.stat-compare {
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.stat-compare.danger {
    background: rgba(214, 40, 40, 0.1);
}

.stat-compare.success {
    background: rgba(45, 106, 79, 0.1);
}

.stat-compare-value {
    display: block;
    font-size: 32px;
    font-weight: 900;
}

.stat-compare.danger .stat-compare-value {
    color: #D62828;
}

.stat-compare.success .stat-compare-value {
    color: #2D6A4F;
}

.stat-compare-label {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
}

/* Comparison Grid */
.comparison-grid {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #0D1B2A;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #dee2e6;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.highlight-row {
    background: rgba(247, 127, 0, 0.1);
    font-weight: 700;
}

.comp-col {
    padding: 15px 20px;
    font-size: 14px;
}

.comparison-header .comp-col {
    padding: 20px;
}

.comp-col.success {
    color: #2D6A4F;
    font-weight: 600;
}

.comp-col.danger {
    color: #D62828;
    font-weight: 700;
}

/* ================================================================
   RÉCAPITULATIF FINAL
   ================================================================ */
.final-recap {
    background: linear-gradient(135deg, #0D1B2A 0%, #1B263B 100%);
    padding: 100px 0;
}

.recap-table {
    width: 100%;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.recap-table thead {
    background: linear-gradient(135deg, #D62828 0%, #9D0208 100%);
    color: #fff;
}

.recap-table th,
.recap-table td {
    padding: 25px 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.recap-table th {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.recap-table td {
    font-size: 16px;
}

.highlight-cell {
    font-weight: 900;
    color: #2D6A4F;
    font-size: 20px;
}

.total-row {
    background: #f8f9fa;
    font-weight: 800;
    font-size: 18px;
}

.total-cell {
    color: #D62828 !important;
    font-size: 28px !important;
}

/* ROI Box */
.roi-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 60px 40px;
    border-radius: 20px;
    margin-top: 60px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.roi-calculation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.roi-item {
    text-align: center;
}

.roi-label {
    display: block;
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.roi-value {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: #F77F00;
}

.roi-separator {
    font-size: 36px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
}

.roi-final {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

/* ================================================================
   UTILITAIRES
   ================================================================ */
.alert {
    padding: 25px 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.alert-danger {
    background: rgba(214, 40, 40, 0.1);
    border-left: 5px solid #D62828;
}

.alert-danger h4 {
    color: #D62828;
    margin-bottom: 15px;
}

.alert-warning {
    background: rgba(247, 127, 0, 0.1);
    border-left: 5px solid #F77F00;
}

.alert-danger-sm {
    background: rgba(214, 40, 40, 0.1);
    border-left: 3px solid #D62828;
    padding: 15px;
    border-radius: 8px;
}

.check-list-danger,
.check-list-primary {
    list-style: none;
    padding: 0;
}

.check-list-danger li,
.check-list-primary li {
    padding: 10px 0 10px 35px;
    position: relative;
}

.check-list-danger li:before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #D62828;
    font-weight: 900;
    font-size: 20px;
}

.check-list-primary li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2D6A4F;
    font-weight: 900;
    font-size: 20px;
}

.principle-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.principle-item {
    display: flex;
    gap: 15px;
    align-items: start;
}

.principle-icon {
    color: #D62828;
    font-weight: 900;
    font-size: 20px;
    flex-shrink: 0;
}

/* Grid Utilities */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gap-lg {
    gap: 40px;
}

/* Combat Card Updates (Page Accueil) */
.combat-card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.combat-card-tagline {
    font-weight: 700;
    color: #D62828;
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.combat-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.combat-stat {
    background: rgba(214, 40, 40, 0.05);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.combat-stat strong {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: #D62828;
    margin-bottom: 5px;
}

.combat-stat span {
    display: block;
    font-size: 12px;
    color: #666;
}

.combat-card-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 968px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .combat-title {
        font-size: 36px;
    }
    
    .combat-subtitle {
        font-size: 18px;
    }
    
    .phase-item {
        grid-template-columns: 1fr;
    }
    
    .roi-calculation {
        flex-direction: column;
        gap: 20px;
    }
    
    .roi-separator {
        transform: rotate(90deg);
    }
    
    .stats-mini-grid {
        grid-template-columns: 1fr;
    }
    
    .combat-card-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .combat-quick-nav {
        flex-direction: column;
    }
    
    .combat-nav-item {
        justify-content: center;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .stats-comparison {
        grid-template-columns: 1fr;
    }
}
