/* Header principal - Navigation */
.main-header {
    background: linear-gradient(to bottom, #2a2a2a 0%, #3a3a3a 50%, #2a2a2a 100%);
    padding: 15px 0;
}

.navbar-brand {
    margin-right: 20px;
    text-decoration: none;
}

.site-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: sans-serif;
    letter-spacing: 1px;
}

.site-logo:hover {
    color: #4a9eff;
    text-decoration: none;
}

.main-header .navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    font-family: sans-serif;
}

.main-header .navbar-nav .nav-link:hover {
    color: #4a9eff !important;
}

/* Bouton burger sur mobile */
.main-header .navbar-toggler {
    border: 2px solid white;
    padding: 8px 12px;
}

.main-header .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.main-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Sur mobile, ajuster l'espacement */
@media (max-width: 991.98px) {
    .navbar-brand {
        margin-right: 10px;
    }
    
    .site-logo {
        font-size: 1.3rem;
    }
    
    .main-header .navbar-nav {
        margin-top: 15px;
    }
    
    .main-header .navbar-nav .nav-link {
        margin: 5px 0;
        padding: 10px 0;
    }
}

/* Slider */
.hero-slider {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 450px;
    position: relative;
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.7);
    padding: 30px 40px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    z-index: 10;
    text-align: center;
}

.hero-overlay h1 {
    color: #0066cc;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: sans-serif;
}

.hero-overlay p {
    color: #000;
    font-size: 1.1rem;
    margin: 0;
    font-family: sans-serif;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid white;
    opacity: 0.5;
}

.carousel-indicators button.active {
    opacity: 1;
}

/* Section Header - Social et Recherche */
.top-header {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin-right: 10px;
    text-align: center;
    line-height: 35px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
}

.social-icons .fa-facebook {
    background-color: #3b5998;
}

.social-icons .fa-twitter {
    background-color: #1da1f2;
}

.social-icons .fa-pinterest {
    background-color: #bd081c;
}

.social-icons .fa-envelope {
    background-color: #999;
}

.search-box {
    position: relative;
}

.search-box input {
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    padding: 8px 40px 8px 15px;
    width: 100%;
}

.search-box .fa-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

/* Section Contenu Principal */
.main-content-section {
    background-color: #f5f5f5;
    padding: 50px 0;
}

.content-wrapper {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.section-title {
    color: #333;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 25px;
    font-family: sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #666;
    font-size: 1.5rem;
}

.featured-image-wrapper {
    position: relative;
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.badge-new {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #dc3545;
    color: white;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 0.9rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 5;
}

.badge-percent {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #dc3545;
    color: white;
    padding: 8px 12px;
    font-weight: bold;
    font-size: 1rem;
    transform: rotate(15deg);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 5;
}

.cta-question {
    text-align: center;
    margin: 25px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.cta-question p {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.content-text {
    color: #333;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
}

.content-text p {
    margin-bottom: 15px;
}

.btn-more {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
}

.btn-more:hover {
    text-decoration: underline;
    color: #0052a3;
}

/* Sidebar */
.sidebar {
    padding-left: 20px;
}

.sidebar-widget {
    background-color: white;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.widget-title {
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    font-family: sans-serif;
}

.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
    font-size: 1.2rem;
}

.links-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.links-list li i {
    color: #0066cc;
    font-size: 1rem;
}

.links-list li a {
    color: #333;
    text-decoration: none;
}

.links-list li a:hover {
    color: #0066cc;
    text-decoration: underline;
}

.widget-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #0066cc;
    margin: 10px 0;
}

.sidebar-widget p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Section Prêt Voiture */
.car-loan-section {
    background-color: white;
    padding: 50px 0;
}

.car-loan-section .section-title {
    margin-bottom: 30px;
}

.car-images-wrapper {
    margin-bottom: 20px;
}

.main-car-image {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.main-car-image img {
    width: 100%;
    height: auto;
    display: block;
}

.car-thumbnails {
    display: flex;
    gap: 10px;
}

.thumbnail-item {
    flex: 1;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.thumbnail-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.car-loan-content {
    padding: 20px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.car-loan-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    font-family: sans-serif;
}

.car-loan-text {
    color: #333;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 25px;
}

.car-loan-text p {
    margin-bottom: 15px;
}

.car-loan-content .btn-more {
    background-color: #e0e0e0;
    color: #333;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.car-loan-content .btn-more:hover {
    background-color: #d0d0d0;
    color: #333;
    text-decoration: none;
}

/* Section FAQ Header */
.faq-header-section {
    background: linear-gradient(135deg, #4a9eff 0%, #0066cc 100%);
    padding: 60px 0;
    text-align: center;
}

.faq-header-content {
    color: white;
}

.faq-main-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.faq-subtitle {
    font-size: 2rem;
    font-weight: bold;
    color: #ffa500;
    margin-bottom: 5px;
}

.faq-subtitle-2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
}

/* Section FAQ Content */
.faq-content-section {
    background-color: #f5f5f5;
    padding: 50px 0;
}

.faq-block {
    background-color: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.faq-image-wrapper {
    margin-bottom: 15px;
}

.faq-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.main-faq-image {
    margin-bottom: 10px;
}

.faq-thumbnails {
    display: flex;
    gap: 10px;
}

.faq-thumb {
    flex: 1;
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.faq-question-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.faq-sub-question {
    color: #666;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: sans-serif;
}

.faq-answer {
    color: #333;
    line-height: 1.8;
    font-size: 1rem;
}

.faq-answer p {
    margin-bottom: 15px;
}

.credit-consolidation {
    background-color: #f8f9fa;
}

.faq-question-title i {
    color: #0066cc;
    margin-right: 10px;
}

/* Boîtes d'information avec icônes */
.faq-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.faq-info-box {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-top: 4px solid #0066cc;
    transition: transform 0.3s ease;
}

.faq-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.faq-info-box i {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 15px;
}

.faq-info-box h4 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.faq-info-box p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

/* Liste de protection */
.faq-protection-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.faq-protection-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid #0066cc;
}

.faq-protection-item i {
    font-size: 2rem;
    color: #0066cc;
    margin-top: 5px;
}

.faq-protection-item strong {
    display: block;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.faq-protection-item p {
    color: #666;
    margin: 0;
}

/* Avantages consolidation */
.faq-consolidation-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.faq-benefit-item {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.faq-benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.faq-benefit-item i {
    font-size: 2.5rem;
    color: #ffa500;
    margin-bottom: 15px;
}

.faq-benefit-item h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.faq-benefit-item p {
    color: #666;
    margin: 0;
}

/* Liste de documents */
.faq-documents-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.faq-document-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid #0066cc;
}

.faq-document-item i {
    font-size: 1.5rem;
    color: #0066cc;
}

.faq-document-item span {
    color: #333;
    font-weight: 500;
}

/* Timeline */
.faq-timeline {
    position: relative;
    padding: 20px 0;
    margin: 25px 0;
}

.faq-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #0066cc;
}

.faq-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.faq-timeline-icon {
    width: 60px;
    height: 60px;
    background-color: #0066cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.faq-timeline-icon i {
    color: white;
    font-size: 1.5rem;
}

.faq-timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex: 1;
}

.faq-timeline-content h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.faq-timeline-content p {
    color: #666;
    margin: 0;
}

/* Section Témoignages */
.testimonials-header-section {
    background: linear-gradient(135deg, #4a9eff 0%, #0066cc 100%);
    padding: 60px 0;
    text-align: center;
}

.testimonials-main-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
}

.testimonials-subtitle {
    font-size: 1.3rem;
    color: white;
    opacity: 0.9;
}

.testimonials-section {
    background-color: #f5f5f5;
    padding: 50px 0;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.testimonial-avatar i {
    font-size: 1.5rem;
    color: white;
}

.testimonial-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.testimonial-rating {
    color: #ffa500;
    margin-bottom: 15px;
}

.testimonial-content {
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-type {
    margin-top: 15px;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-professional {
    background-color: #0066cc;
    color: white;
}

.badge-personal {
    background-color: #28a745;
    color: white;
}

.badge-consolidation {
    background-color: #ffa500;
    color: white;
}

.badge-car {
    background-color: #dc3545;
    color: white;
}

/* Section Contact */
.contact-section {
    background-color: #f5f5f5;
    padding: 50px 0;
}

.contact-wrapper {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.contact-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-form .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    padding: 10px 15px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.btn-submit {
    background-color: #0066cc;
    border: none;
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #0052a3;
}

/* Section Demande en ligne */
.request-section {
    background-color: #f5f5f5;
    padding: 50px 0;
}

.request-wrapper {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.request-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.request-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.request-form .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.request-form .form-control,
.request-form .form-select {
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    padding: 10px 15px;
}

.request-form .form-control:focus,
.request-form .form-select:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.request-form .form-check-label {
    color: #666;
    font-size: 0.9rem;
}

/* Sections du formulaire */
.form-section {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #0066cc;
}

.form-section-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    color: #0066cc;
}

.request-form .form-control[type="file"] {
    padding: 8px;
}

.request-form .form-control[type="file"]::-webkit-file-upload-button {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
}

.request-form .form-control[type="file"]::-webkit-file-upload-button:hover {
    background-color: #0052a3;
}

#file-list {
    margin-top: 10px;
}

.file-item {
    background-color: white;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e0e0e0;
}

.file-item i {
    color: #0066cc;
    margin-right: 10px;
}

.file-item-name {
    flex: 1;
    color: #333;
    font-size: 0.9rem;
}

.file-item-size {
    color: #666;
    font-size: 0.85rem;
    margin-right: 10px;
}

/* Footer */
.main-footer {
    background-color: #2a2a2a;
    color: white;
    padding: 50px 0 30px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.main-footer h5 {
    font-weight: bold;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.main-footer ul {
    list-style: none;
    padding: 0;
}

.main-footer ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-family: sans-serif;
}

.main-footer ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: white;
}

