/* General Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --background-light: #ffffff;
    --text-color: #1a1a1a;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    padding: 0;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f1f1f;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #1f1f1f, #444);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
    animation: brandPulse 2s infinite;
    position: relative;
}

@keyframes brandPulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.2);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.brand-text:hover {
    animation: none;
    transform: scale(1.05);
    background: linear-gradient(45deg, #FFD700, #FFD700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FFD700;
}

.btn-dark {
    background-color: #000;
    border-color: #000;
    color: #fff !important;
}

.btn-dark:hover {
    background-color: #333;
    border-color: #333;
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 80px;
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-section .lead {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    max-width: 80%;
}

.hero-image {
    position: relative;
}

.hero-image img {
    max-width: 120%;
    transform: translateX(-10%);
}

.hero-benefits {
    margin: 30px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.benefit-item i {
    font-size: 1.2rem;
    color: #198754;
}

.pulse-button {
    position: relative;
    padding: 15px 30px;
    font-size: 1.25rem;
    transform: scale(1);
    animation: pulse 2s infinite;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
}

/* Assurance Temporaire Section */
.temp-insurance-section {
    padding: 100px 0;
    background: linear-gradient(45deg, #1f1f1f, #141414);
    color: white;
    text-align: center;
}

.temp-insurance-section h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.temp-insurance-section .timer {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin: 30px 0;
    font-family: 'Arial', sans-serif;
}

.temp-insurance-section .features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.temp-insurance-section .feature-item {
    text-align: center;
    padding: 20px;
}

.temp-insurance-section .feature-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.temp-insurance-section .btn-light {
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #fff !important;
    padding: 15px 40px !important;
    font-weight: 600 !important;
    font-size: 1.2rem !important;
}

.temp-insurance-section .btn-light:hover {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

/* Brands Section */
.brands-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.brand-logo {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.brand-logo:hover {
    opacity: 1;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: #fafafa;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-header .lead {
    max-width: 700px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-icon:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

.service-footer {
    font-size: 1.25rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Devis Section */
.devis-section {
    padding: 100px 0;
    background-color: var(--background-light);
}

.devis-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.devis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.devis-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    margin: 0 auto 1.5rem;
}

.devis-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.devis-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.phone-number {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.phone-number:hover {
    color: var(--secondary-color);
}

/* Trust Section */
.trust-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.trust-item {
    text-align: center;
    padding: 2rem;
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.trust-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.trust-item p {
    color: var(--secondary-color);
    margin: 0;
}

.trust-indicators {
    font-size: 0.9rem;
    color: #6c757d;
}

.trust-box {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
}

.trust-box i {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--background-light);
}

.contact-info {
    padding-right: 3rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-top: 0.5rem;
}

.contact-method h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-method p {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.contact-method small {
    color: var(--secondary-color);
    opacity: 0.8;
}

.contact-form .form-control {
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.05);
}

.contact-form textarea.form-control {
    min-height: 120px;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: #fff;
}

.blog-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 25px;
}

.blog-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-card .card-text {
    color: #6c757d;
    margin-bottom: 20px;
}

/* Parrainage Section */
.referral-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.referral-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.referral-card .reward-amount {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 1.5rem 0;
}

.referral-steps {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
}

.referral-step {
    flex: 1;
    padding: 20px;
    position: relative;
}

.referral-step:not(:last-child):after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 50px;
    height: 2px;
    background: #1f1f1f;
    transform: translateY(-50%);
}

.referral-step i {
    font-size: 2.5rem;
    color: #1f1f1f;
    margin-bottom: 15px;
}

.referral-step h4 {
    font-size: 1.2rem;
    margin: 15px 0;
    font-weight: 600;
}

.referral-step p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Featured Article */
.featured-article {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 500;
}

.featured-content {
    padding: 2rem;
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.3;
}

.featured-excerpt {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    font-size: 0.875rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--secondary-color);
}

.blog-meta span {
    margin-right: 1rem;
    display: inline-flex;
    align-items: center;
}

.blog-meta i {
    margin-right: 0.5rem;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Popular Topics */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.topic-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.topic-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.topic-card span {
    font-weight: 500;
}

/* Newsletter */
.blog-newsletter {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.newsletter-text {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    padding: 0.75rem 1.5rem;
    border-radius: 30px 0 0 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.newsletter-form .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0 30px 30px 0;
}

/* Modal Devis Express */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-radius: 12px 12px 0 0;
    border-bottom: none;
    padding: 1.5rem;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
}

.devis-step h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.progress-bar {
    transition: width 0.3s ease;
    font-size: 0;
}

.form-select, .form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-select:focus, .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.05);
}

.form-select.is-invalid, .form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-select.is-valid, .form-control.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.alert {
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* Section Tarifs */
.tarifs-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    background: #fff;
    margin-bottom: 30px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.pricing-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
}

.pricing-card .btn {
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin: 20px auto;
    width: 80%;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Style pour Jeunes Conducteurs */
.pricing-card.jeunes .card-header {
    background: linear-gradient(45deg, #1f1f1f, #141414);
}

.pricing-card.jeunes .btn-primary {
    background: linear-gradient(45deg, #1f1f1f, #1f1f1f);
    border: none;
}

/* Style pour Conducteurs Sinistrés */
.pricing-card.sinistres .card-header {
    background: linear-gradient(45deg, #1f1f1f, #141414);
    color: white;
}

.pricing-card.sinistres .btn-warning {
    background: linear-gradient(45deg, #1f1f1f, #1f1f1f);
    border: none;
    color: white;
}

.pricing-card.sinistres h3 {
    color: white;
}

/* Style pour Conducteurs Résiliés */
.pricing-card.resilies .card-header {
    background: linear-gradient(45deg, #141414, #131313);
}

.pricing-card.resilies .btn-success {
    background: linear-gradient(45deg, #1f1f1f, #1f1f1f);
    border: none;
}

.pricing-card .card-header {
    padding: 30px 15px;
    border: none;
    text-align: center;
}

.pricing-card .card-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.price .currency {
    font-size: 1.2rem;
    color: #6c757d;
    display: block;
    margin-bottom: 5px;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
    margin: 10px 0;
    font-family: 'Arial', sans-serif;
}

.price .period {
    font-size: 1.1rem;
    color: #6c757d;
}

.pricing-card ul {
    padding: 0 30px;
}

.pricing-card ul li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: #555;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card ul li i {
    margin-right: 15px;
    font-size: 1.2rem;
    color: #2ecc71;
}

.pricing-card .btn {
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin: 20px;
    transition: all 0.3s ease;
}

.pricing-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Modal Parrainage */
#parrainageModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#parrainageModal .modal-header {
    padding: 20px;
}

#parrainageModal .modal-body {
    padding: 40px;
}

#parrainageModal .expert-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #1f1f1f, #141414);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

#parrainageModal .expert-icon i {
    color: white;
}

#parrainageModal .btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

#parrainageModal .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#parrainageModal .lead {
    color: #6c757d;
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background: #1f1f1f;
    color: #fff;
    padding: 60px 0 30px;
}

.footer h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer .address,
.footer .phone {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer .address i,
.footer .phone i {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.6);
}

.footer .phone a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .phone a:hover {
    color: #fff;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer .copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-align: center;
}

/* Phone Button Styles */
.btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.phone-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.phone-number:hover {
    color: #0056b3;
    transform: scale(1.05);
}

.phone-number i {
    font-size: 1.2rem;
}

/* Styles du formulaire de devis */
.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.steps-indicator .step {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    font-weight: 500;
    color: #6c757d;
    position: relative;
}

.steps-indicator .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

.steps-indicator .step.active {
    color: #007bff;
}

.steps-indicator .step.active::after {
    background-color: #007bff;
}

.step-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.step-content.active {
    display: block;
}

.timer-container {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.timer-container i {
    color: #007bff;
    margin-right: 0.5rem;
}

#guarantees {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.form-check {
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.form-check:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-check-input:checked + .form-check-label {
    color: #007bff;
    font-weight: 500;
}

.radio-group {
    margin-bottom: 2rem;
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.form-check-inline {
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
}

.form-check-input[type="radio"] {
    cursor: pointer;
    margin-right: 0.5rem;
    border-color: #0d6efd;
}

.form-check-label {
    cursor: pointer;
    font-weight: normal;
    color: #000000;
    margin-bottom: 0;
}

.form-check-input[type="radio"]:checked + .form-check-label {
    font-weight: 600;
    color: #0d6efd;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
    font-size: 1rem;
}

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .steps-indicator {
        font-size: 0.875rem;
    }
    
    #guarantees {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        max-width: 100%;
    }

    .featured-image {
        height: 250px;
    }

    .blog-category {
        bottom: 10px;
        left: 10px;
    }

    .topic-card {
        padding: 1rem;
    }

    .topic-card i {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .cta-primary .d-flex {
        flex-direction: column;
    }
    
    .btn-outline-primary {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1,
.hero-section .lead,
.hero-section .btn {
    animation: fadeInUp 1s ease-out;
}

.hero-image {
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Styles pour le message de succès */
.success-message {
    opacity: 0;
    transform: translateY(20px);
}

.success-details {
    border: 1px solid #e9ecef;
}

.success-icon i {
    animation: scaleIn 0.5s ease-out forwards;
}

.step-box {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.step-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number {
    width: 30px;
    height: 30px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: bold;
}

.vehicle-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features-section i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-item i {
    font-size: 1.2rem;
    color: #198754;
}

.contact-info i {
    font-size: 2rem;
}

.btn-outline-dark {
    color: #000 !important;
    border-color: #000 !important;
    background-color: transparent !important;
}

.btn-outline-dark:hover {
    color: #fff !important;
    background-color: #000 !important;
    border-color: #000 !important;
}

/* Styles pour les boutons noirs */
.btn-dark, 
.btn-black,
button.bg-dark,
.bg-dark .btn,
[class*="bg-dark"] .btn,
.temp-insurance-section .btn,
.black-button,
.dark-button {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.btn-dark:hover, 
.btn-black:hover,
button.bg-dark:hover,
.bg-dark .btn:hover,
[class*="bg-dark"] .btn:hover,
.temp-insurance-section .btn:hover,
.black-button:hover,
.dark-button:hover {
    background-color: #333 !important;
    border-color: #333 !important;
    color: #fff !important;
}

/* Assurer que tous les boutons dans les sections sombres ont du texte blanc */
.bg-dark *[class*="btn"],
[class*="bg-dark"] *[class*="btn"],
.temp-insurance-section *[class*="btn"],
.dark-section *[class*="btn"],
.black-section *[class*="btn"] {
    color: #fff !important;
}

/* Styles pour les boutons radio */
.btn-check:checked + .btn-outline-dark {
    background-color: #212529;
    color: #fff;
    border-color: #212529;
}

.btn-invalid {
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}

.btn-valid {
    border-color: #198754 !important;
}

.btn-check:checked + .btn-invalid {
    background-color: #dc3545 !important;
    color: #fff !important;
}

.btn-check:checked + .btn-valid {
    background-color: #198754 !important;
    color: #fff !important;
}
