* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
} */

.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>');
    background-size: cover;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    /* background: #e74c3c; */
    background: #dd3333;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 10px 0;
}

.section-title {
    font-size: 2.5rem;
    color: #dd3333;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: #e74c3c;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #e74c3c;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.plans-section {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.plan-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.plan-card:hover {
    border-color: #e74c3c;
    transform: translateY(-5px);
}

.plan-card.featured {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    transform: scale(1.05);
}

.plan-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.plan-age {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.comparison-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 40px 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.table th:first-child {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.table tbody tr:hover {
    background: #f8f9fa;
}

.table td:first-child {
    background: #fff3e0;
    font-weight: 600;
    text-align: left;
}

.table td {
    background: #f8f9fa;
    font-weight: 600;
    text-align: left;
}

.included {
    color: #27ae60;
    font-weight: 600;
}

.not-included {
    color: #e74c3c;
}

.info-section {
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
}

.contact-section {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 20px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .plans-section {
        padding: 30px 20px;
    }
    
    .table {
        font-size: 0.8rem;
    }
    
    .table th,
    .table td {
        padding: 10px 8px;
    }
}

.badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.highlight-box {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

/* .accordion {
    margin: 30px 0;
}

.accordion-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.accordion-header {
    background: #dd3333;
    color: white;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
} */

/* .accordion-header:hover { */
    /* background: #c0392b; */
    /* background: #fc0e0e; */

/* } */

/* .accordion-content {
    padding: 25px;
    display: none;
}

.accordion-content.active {
    display: block;
}
    */




    /* CSS amélioré pour l'accordéon des garanties SAAR - Solution 2 adaptée */

.accordion {
    margin: 30px 0;
}

.accordion-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

/* Effet hover très visible pour indiquer l'interactivité */
.accordion-item:hover {
    border-color: #D6B033; /* Couleur or SAAR */
    box-shadow: 0 12px 35px rgba(214, 176, 51, 0.25);
    transform: translateY(-3px);
}

.accordion-header {
    /* background: #dd3333;#13357b */
    background: #13357b;
    color: white;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Inter', sans-serif;
}

/* Flèche indicatrice animée */
.accordion-header::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
    transition: transform 0.3s ease;
}

/* Rotation de la flèche quand ouvert */
.accordion-item.active .accordion-header::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Badge "Cliquez pour voir" visible au hover */
.accordion-header::before {
    content: 'Cliquez pour voir les détails';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.accordion-header:hover::before {
    opacity: 1;
}

.accordion-header:hover {
    background: #dd3333; /* Rouge SAAR au hover */
}

/* Styles pour mobile - masquer le texte du badge sur petits écrans */
@media (max-width: 768px) {
    .accordion-header::before {
        content: 'Cliquez';
        right: 50px;
    }
}

@media (max-width: 480px) {
    .accordion-header::before {
        display: none; /* Masquer complètement sur très petits écrans */
    }
}

.accordion-content {
    padding: 25px;
    display: none;
    border-top: 3px solid #D6B033; /* Bordure or SAAR */
    background: #f8f9fa;
    animation: slideDown 0.3s ease;
}

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

/* Animation d'ouverture fluide */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Amélioration de la typography dans le contenu */
.accordion-content p {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* États focus pour l'accessibilité */
.accordion-header:focus {
    outline: 3px solid #D6B033;
    outline-offset: 2px;
}

/* Pulse animation subtile pour attirer l'attention */
.accordion-item:first-child {
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { 
        box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    }
    50% { 
        box-shadow: 0 8px 20px rgba(214, 176, 51, 0.15); 
    }
}

/* Style pour le texte de la garantie active */
.accordion-item.active .accordion-header {
    background: #13357b; /* Bleu SAAR pour l'état actif */
}

/* Amélioration pour les utilisateurs qui préfèrent moins d'animations */
@media (prefers-reduced-motion: reduce) {
    .accordion-item,
    .accordion-header,
    .accordion-header::after,
    .accordion-header::before {
        transition: none;
    }
    
    .accordion-item:first-child {
        animation: none;
    }
    
    .accordion-content {
        animation: none;
    }
}