/* Fixes pour la page conditions.html */

/* Corrections générales pour la structure */
.content-block {
    padding: 80px 0;
    background: var(--background-color);
}

.content-block .container {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation latérale */
.navigation {
    flex: 0 0 280px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.nav-header h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.nav-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-content li {
    margin-bottom: 8px;
}

.nav-content a {
    display: block;
    padding: 8px 12px;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-content a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* Contenu principal */
.content {
    flex: 1;
    max-width: none;
}

.content-section,
.terms-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    margin-bottom: 40px;
}

.section-header h2,
.terms-section-header h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 24px;
    font-weight: 700;
}

.section-content,
.terms-section-content {
    color: var(--text-color);
    line-height: 1.8;
}

.section-content p,
.terms-section-content p {
    margin-bottom: 20px;
}

/* Grilles de fonctionnalités */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.feature-header h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Boîtes d'information */
.info-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.info-header h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.info-content {
    color: var(--text-color);
}

/* Sous-sections */
.content-subsection,
.terms-subsection {
    margin: 32px 0;
}

.subsection-header h3,
.terms-subsection-header h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.subsection-content,
.terms-subsection-content {
    color: var(--text-color);
    line-height: 1.7;
}

/* Exigences de sécurité */
.terms-security-requirement {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.terms-requirement-header h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Grille de services */
.terms-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.terms-service-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.terms-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.terms-service-header h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-service-content ul {
    list-style: none;
    padding: 0;
}

.terms-service-content li {
    padding: 4px 0;
    position: relative;
    padding-left: 20px;
}

.terms-service-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Tableau SLA */
.terms-sla-table-container {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.terms-sla-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.terms-sla-table th,
.terms-sla-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.terms-sla-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.terms-sla-table tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

/* Usages interdits */
.terms-prohibited-uses {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.terms-prohibited-header h4 {
    color: #dc2626;
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-prohibited-content ul {
    list-style: none;
    padding: 0;
}

.terms-prohibited-content li {
    padding: 4px 0;
    position: relative;
    padding-left: 20px;
    color: #dc2626;
}

.terms-prohibited-content li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
}

/* Structure tarifaire */
.terms-pricing-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.terms-pricing-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.terms-pricing-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.terms-pricing-header h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-pricing-content p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.terms-pricing-content ul {
    list-style: none;
    padding: 0;
}

.terms-pricing-content li {
    padding: 4px 0;
    position: relative;
    padding-left: 20px;
}

.terms-pricing-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Principes de données */
.terms-data-principles {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.terms-data-header h4 {
    color: #059669;
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.terms-data-content ul {
    list-style: none;
    padding: 0;
}

.terms-data-content li {
    padding: 4px 0;
    position: relative;
    padding-left: 20px;
}

.terms-data-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

/* Résolution des litiges */
.terms-dispute-resolution {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0;
}

.terms-resolution-step {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
}

.terms-step-header h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Informations médiateur */
.terms-mediator-info {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
}

.terms-mediator-header h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Section de mise à jour */
.terms-updates {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.terms-version-info {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.terms-version-header h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Listes */
ul {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

/* Liens */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Hero badges fix - Badges directement dans la section hero */
.simple-hero > .hero-badges.simple-hero {
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-bottom: 0 !important;
    margin-top: 20px !important;
    flex-wrap: wrap !important;
    position: absolute !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    width: 100% !important;
    max-width: 800px !important;
}

.simple-hero > .hero-badges .badge,
.simple-hero > .hero-badges.simple-hero .badge {
    background: rgba(255, 255, 255, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 10px 18px !important;
    border-radius: 25px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    backdrop-filter: blur(15px) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.simple-hero > .hero-badges .badge:hover,
.simple-hero > .hero-badges.simple-hero .badge:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

.simple-hero > .hero-badges .badge i,
.simple-hero > .hero-badges.simple-hero .badge i {
    color: #FFD700 !important;
    font-size: 1.1em !important;
    margin-right: 0 !important;
}

/* Ajuster le padding du container pour laisser de l'espace aux badges */
.simple-hero .container {
    padding-top: 80px !important;
}

/* Augmenter la hauteur de la section hero de 50px - Spécificité maximale */
section.hero.simple-hero {
    min-height: 220px !important;
    max-height: 270px !important;
    height: 220px !important;
}

main section.hero.simple-hero {
    min-height: 220px !important;
    max-height: 270px !important;
    height: 220px !important;
}

/* Responsive - Augmenter aussi pour tablettes et mobiles */
@media (max-width: 768px) {
    section.hero.simple-hero,
    main section.hero.simple-hero {
        min-height: 190px !important;
        height: 190px !important;
    }
}

@media (max-width: 480px) {
    section.hero.simple-hero,
    main section.hero.simple-hero {
        min-height: 170px !important;
        height: 170px !important;
    }
}

/* Hero actions fix */
.hero-actions.simple-hero {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Responsivité */
@media (max-width: 768px) {
    .content-block .container {
        flex-direction: column;
        gap: 24px;
    }
    
    .navigation {
        flex: none;
        position: static;
    }
    
    .features-grid,
    .terms-services-grid,
    .terms-pricing-structure {
        grid-template-columns: 1fr;
    }
    
    .content-section,
    .terms-section {
        padding: 24px;
    }
    
    .terms-dispute-resolution {
        flex-direction: column;
    }
    
    .hero-badges.simple-hero {
        gap: 12px;
    }
    
    .hero-badges .badge {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
    
    .hero-actions.simple-hero {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .content-section,
    .terms-section {
        padding: 20px;
    }
    
    .navigation {
        padding: 20px;
    }
}
