/* ===================================
   STYLES POUR LES SECTIONS DE COMPARAISON
   =================================== */

/* Section de comparaison des plateformes */
.comparison-platforms-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #F7F9FB 100%);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 3rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 900px;
}

.comparison-table thead {
    background: linear-gradient(135deg, #0FB3A6 0%, #0a8a7f 100%);
    color: white;
}

.comparison-table th {
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    vertical-align: middle;
}

.comparison-table .highlight-col {
    background: rgba(230, 178, 68, 0.15);
    border-left: 4px solid #E6B244;
    border-right: 4px solid #E6B244;
}

.table-header-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.table-header-highlight svg {
    fill: #E6B244;
}

.table-header-highlight small {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #E5E7EB;
    transition: background 0.2s;
}

.comparison-table tbody tr:hover {
    background: #F7F9FB;
}

.comparison-table td {
    padding: 1.5rem 1rem;
    text-align: center;
    vertical-align: top;
    font-size: 0.95rem;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #0B1624;
    font-size: 1rem;
}

.comparison-table .pro {
    color: #10b981;
}

.comparison-table .con {
    color: #ef4444;
}

.comparison-table .neutral {
    color: #f59e0b;
}

.check-icon, .cross-icon {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.check-icon {
    color: #10b981;
}

.cross-icon {
    color: #ef4444;
}

.comparison-table small {
    display: block;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    opacity: 0.8;
}

/* Résumé de comparaison */
.comparison-summary {
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(15, 179, 166, 0.05) 0%, rgba(230, 178, 68, 0.05) 100%);
    border-radius: 16px;
    border: 2px solid #0FB3A6;
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.summary-icon {
    font-size: 3rem;
}

.summary-header h3 {
    font-size: 2rem;
    margin: 0;
    color: #0B1624;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.summary-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(15, 179, 166, 0.2);
}

.summary-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.summary-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #0B1624;
}

.summary-card p {
    margin: 0;
    line-height: 1.6;
    color: #6b7280;
}

/* ===================================
   SECTION ROI CALCULATOR
   =================================== */

.roi-section {
    padding: 6rem 0;
    background: #F7F9FB;
}

/* Version horizontale du ROI */
.roi-horizontal {
    padding: 3rem 0;
    background: transparent;
}

.roi-title-horizontal {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #0B1624;
}

.roi-row {
    display: grid;
    grid-template-columns: 180px 1fr 140px;
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.roi-row-highlight {
    border: 2px solid #0FB3A6;
    background: linear-gradient(90deg, rgba(15, 179, 166, 0.03) 0%, rgba(230, 178, 68, 0.03) 100%);
}

.roi-platform-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.roi-platform-label strong {
    font-size: 1.1rem;
    color: #0B1624;
}

.pricing-detail {
    display: block;
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 600;
}

.total-breakdown {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.total-breakdown strong {
    font-size: 1.75rem;
    line-height: 1;
}

.total-breakdown small {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 400;
    margin-top: 0.25rem;
}

.roi-badge-inline {
    display: inline-block;
    background: #E6B244;
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    width: fit-content;
}

.roi-details-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.roi-item-h {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: #F7F9FB;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #0B1624;
    white-space: nowrap;
}

.roi-warning-inline {
    background: #fef2f2;
    color: #ef4444;
    font-weight: 600;
}

.roi-total-h {
    text-align: right;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0B1624;
}

.roi-total-best {
    color: #0FB3A6;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.roi-economy-inline {
    display: block;
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 700;
    margin-top: 0.25rem;
}

.roi-note-simple {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #0FB3A6;
    line-height: 1.6;
    font-size: 0.95rem;
}

.roi-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0B1624;
}

.roi-section .section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.roi-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.roi-card {
    padding: 2rem;
    border-radius: 12px;
    background: white;
    border: 2px solid #E5E7EB;
    transition: transform 0.3s, box-shadow 0.3s;
}

.roi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.roi-highlight {
    background: linear-gradient(135deg, rgba(15, 179, 166, 0.1) 0%, rgba(230, 178, 68, 0.1) 100%);
    border: 3px solid #0FB3A6;
    transform: scale(1.05);
    position: relative;
}

.roi-highlight::before {
    content: "⭐ MEILLEUR CHOIX";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #E6B244;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.roi-platform {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #0B1624;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.roi-platform svg {
    fill: #E6B244;
}

.roi-breakdown {
    margin-bottom: 1.5rem;
}

.roi-item {
    padding: 0.75rem 0;
    border-bottom: 1px dashed #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.roi-item:last-child {
    border-bottom: none;
}

.roi-total {
    padding: 1rem;
    background: #F7F9FB;
    border-radius: 8px;
    text-align: center;
    font-size: 1.25rem;
    margin-top: 1rem;
}

.roi-total strong {
    color: #0B1624;
    font-size: 1.75rem;
}

.roi-winner {
    background: linear-gradient(135deg, rgba(15, 179, 166, 0.2) 0%, rgba(230, 178, 68, 0.2) 100%);
    border: 2px solid #0FB3A6;
}

.roi-savings {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 8px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.roi-note-small {
    text-align: center;
    font-size: 0.9rem;
    color: #ef4444;
    margin-top: 0.5rem;
    font-style: italic;
}

.roi-note {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #0FB3A6;
    margin: 2rem 0;
    line-height: 1.8;
}

.roi-benefits {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.roi-benefits h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #0B1624;
    text-align: center;
}

.roi-benefits ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.roi-benefits li {
    padding: 1rem;
    background: #F7F9FB;
    border-radius: 8px;
    border-left: 3px solid #0FB3A6;
}

/* ===================================
   SECTION ATOUTS UNIQUES
   =================================== */

.unique-advantages-section {
    padding: 6rem 0;
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.advantage-card {
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid #F7F9FB;
    transition: all 0.3s;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(15, 179, 166, 0.2);
    border-color: #0FB3A6;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0FB3A6 0%, #0a8a7f 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.advantage-icon svg {
    color: white;
}

.advantage-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0B1624;
}

.advantage-description {
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.advantage-list {
    list-style: none;
    padding: 0;
}

.advantage-list li {
    padding: 0.75rem 0;
    border-bottom: 1px dashed #E5E7EB;
    color: #0B1624;
}

.advantage-list li:last-child {
    border-bottom: none;
}

/* CTA final */
.advantages-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #0FB3A6 0%, #0a8a7f 100%);
    border-radius: 16px;
    color: white;
    margin-top: 4rem;
}

.advantages-cta h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.advantages-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.advantages-cta .btn {
    background: white;
    color: #0FB3A6;
    font-weight: 700;
    font-size: 1.1rem;
}

.advantages-cta .btn:hover {
    background: #E6B244;
    color: white;
    transform: translateY(-3px);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .comparison-platforms-section,
    .roi-section,
    .unique-advantages-section {
        padding: 3rem 0;
    }

    .roi-horizontal {
        padding: 2rem 0;
    }

    .roi-title-horizontal {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .roi-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .roi-platform-label {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .roi-details-horizontal {
        gap: 0.5rem;
    }

    .roi-item-h {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }

    .roi-total-h {
        text-align: left;
        font-size: 1.5rem;
    }

    .roi-total-best {
        align-items: flex-start;
    }

    .roi-note-simple {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .comparison-table-wrapper {
        margin: 2rem -1rem;
    }

    .comparison-summary {
        padding: 2rem 1rem;
    }

    .summary-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .summary-icon {
        font-size: 2.5rem;
    }

    .summary-header h3 {
        font-size: 1.5rem;
        text-align: center;
    }

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

    .summary-card {
        padding: 1.5rem;
    }

    .summary-card-icon {
        font-size: 2rem;
    }

    .summary-card h4 {
        font-size: 1.1rem;
    }

    .roi-comparison {
        grid-template-columns: 1fr;
    }

    .roi-highlight {
        transform: scale(1);
    }

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

    .advantages-cta h3 {
        font-size: 1.75rem;
    }

    .advantages-cta p {
        font-size: 1rem;
    }
}
