/* Reset et styles spécifiques pour page conditions */
.conditions-content * {
    box-sizing: border-box;
}

/* STYLES DESKTOP */
@media (min-width: 769px) {
    .conditions-content {
        max-width: 900px;
        margin: 80px auto;
        padding: 0 60px;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        background: #fff;
    }

    .conditions-wrapper {
        background: #fff;
        padding: 60px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }

    /* Reset footer conditions conflict */
    .conditions-content,
    .conditions-wrapper {
        font-size: 16px !important;
        color: #333 !important;
        text-align: left !important;
    }

    .conditions-wrapper h1 {
        font-size: 2.8rem;
        font-weight: 700;
        margin-bottom: 50px;
        color: #333;
        line-height: 1.2;
    }

    .conditions-wrapper h2,
    .conditions-wrapper .content h2 {
        display: block;
        font-size: 2rem;
        font-weight: 600;
        margin: 60px 0 30px 0;
        color: #333;
        border-bottom: 3px solid #4B31ED;
        padding-bottom: 15px;
        clear: both;
        width: 100%;
    }

    .conditions-wrapper h3,
    .conditions-wrapper .content h3 {
        display: block;
        font-size: 1.5rem;
        font-weight: 600;
        margin: 45px 0 25px 0;
        color: #444;
        clear: both;
        width: 100%;
    }

    .conditions-wrapper h4,
    .conditions-wrapper .content h4 {
        display: block;
        font-size: 1.3rem;
        font-weight: 600;
        margin: 35px 0 20px 0;
        color: #555;
        clear: both;
        width: 100%;
    }

    .conditions-wrapper p,
    .conditions-wrapper .content p {
        margin-bottom: 25px;
        line-height: 1.8;
        color: #666;
        text-align: justify;
        font-size: 1rem;
    }

    .conditions-wrapper ul,
    .conditions-wrapper ol,
    .conditions-wrapper .content ul,
    .conditions-wrapper .content ol {
        margin: 25px 0;
        padding-left: 35px;
    }

    .conditions-wrapper li,
    .conditions-wrapper .content li {
        margin-bottom: 12px;
        color: #666;
        line-height: 1.7;
    }

    .conditions-wrapper strong,
    .conditions-wrapper .content strong {
        font-weight: 600;
        color: #333;
    }
}

/* STYLES MOBILE */
@media (max-width: 768px) {
	.conditions-content {
		margin: 20px auto !important;
		padding: 0 15px !important;
		max-width: 95% !important;
		width: 95% !important;
		overflow-x: hidden !important;
	}

	.conditions-wrapper {
		padding: 20px !important;
		margin: 0 !important;
		border-radius: 8px !important;
		box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
		width: 100% !important;
		max-width: 100% !important;
		overflow-x: hidden !important;
		background: #fff !important;
	}
    
    .conditions-wrapper h1 {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
    }
    
    .conditions-wrapper h2,
    .conditions-wrapper .content h2 {
        font-size: 1.5rem !important;
        margin: 40px 0 20px 0 !important;
        border-bottom: 2px solid #4B31ED !important;
        padding-bottom: 10px !important;
        word-wrap: break-word !important;
        display: block !important;
        clear: both !important;
        width: 100% !important;
    }
    
    .conditions-wrapper h3,
    .conditions-wrapper .content h3 {
        font-size: 1.3rem !important;
        margin: 30px 0 15px 0 !important;
        word-wrap: break-word !important;
        display: block !important;
        clear: both !important;
        width: 100% !important;
    }
    
    .conditions-wrapper h4,
    .conditions-wrapper .content h4 {
        font-size: 1.1rem !important;
        margin: 25px 0 10px 0 !important;
        word-wrap: break-word !important;
        display: block !important;
        clear: both !important;
        width: 100% !important;
    }

    .conditions-wrapper p,
    .conditions-wrapper .content p {
        margin-bottom: 20px !important;
        line-height: 1.6 !important;
        color: #666 !important;
        text-align: left !important;
        font-size: 0.95rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .conditions-wrapper ul,
    .conditions-wrapper ol,
    .conditions-wrapper .content ul,
    .conditions-wrapper .content ol {
        margin: 20px 0 !important;
        padding-left: 25px !important;
        overflow-x: hidden !important;
    }

    .conditions-wrapper li,
    .conditions-wrapper .content li {
        margin-bottom: 10px !important;
        color: #666 !important;
        line-height: 1.6 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .conditions-wrapper strong,
    .conditions-wrapper .content strong {
        font-weight: 600 !important;
        color: #333 !important;
    }

    /* Force pas de scroll horizontal */
    body {
        overflow-x: hidden !important;
    }
}