/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #ff4d00;
    color: white;
    border: 2px solid #ff4d00;
}

.btn-primary:hover {
    background-color: #e63e00;
    border-color: #e63e00;
}

.btn-secondary {
    background-color: transparent;
    color: #ff4d00;
    border: 2px solid #ff4d00;
}

.btn-secondary:hover {
    background-color: #ff4d00;
    color: white;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.logo span {
    color: #ff4d00;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a:hover {
    color: #ff4d00;
}

.nav-active {
    color: #ff4d00;
}

.nav-active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff4d00;
}

/* Section héro */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Bannières communes */
.hero-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.catalogue-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/catalogue-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.how-it-works-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/how-it-works-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-banner h1,
.catalogue-banner h1,
.how-it-works-banner h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-banner p,
.catalogue-banner p,
.how-it-works-banner p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Filtres */
.filters {
    background-color: white;
    padding: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: #ff4d00;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: #e63e00;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.filter-group label {
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #555;
}

.filter-group select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
}

/* Section Comment ça marche */
.how-it-works {
    padding: 80px 0;
    background-color: white;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #333;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    text-align: center;
    padding: 20px;
    margin: 0 15px;
    min-width: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #ff4d00;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 700;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Section détaillée Comment ça marche */
.how-it-works-detail {
    padding: 60px 0;
    background-color: white;
}

.how-it-works-detail .container {
    max-width: 800px;
}

.how-it-works-detail h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
}

.how-it-works-detail h3 {
    margin: 30px 0 15px;
    font-size: 24px;
    color: #ff4d00;
}

.how-it-works-detail p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.how-it-works-detail ol,
.how-it-works-detail ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.how-it-works-detail li {
    margin-bottom: 10px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-question {
    font-weight: 600;
    font-size: 20px;
    color: #ff4d00;
    margin-bottom: 10px;
    cursor: pointer;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
}

/* Pouvoirs en vedette */
.featured-powers {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.power-slider {
    position: relative;
    margin: 0 -15px;
}

.power-slide {
    padding: 0 15px;
}

.power-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.power-card.featured {
    border: 2px solid #ff4d00;
}

.power-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ff4d00;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.power-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.power-card h3 {
    padding: 15px 15px 5px;
    font-size: 20px;
}

.power-card .category {
    padding: 0 15px;
    font-size: 14px;
    color: #ff4d00;
    font-weight: 600;
}

.power-card .description {
    padding: 10px 15px;
    color: #666;
    font-size: 14px;
    min-height: 60px;
}

.power-card .price {
    padding: 0 15px 15px;
    font-weight: 700;
    color: #ff4d00;
    font-size: 18px;
}

.card-buttons {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 15px;
    gap: 10px;
}

.card-buttons .btn {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 14px;
}

/* Section pouvoirs populaires */
.popular-powers {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.popular-powers h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #333;
}

.powers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.center {
    text-align: center;
    margin-top: 20px;
}

/* Tous les pouvoirs */
.all-powers {
    padding: 60px 0;
    background-color: white;
}

.category-section {
    margin-bottom: 50px;
}

.category-title {
    font-size: 28px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff4d00;
    color: #333;
}

.category-powers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Section témoignages */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #333;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 14px;
    color: #666;
}

/* Section CTA */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background-color: #ff4d00;
}

.footer-column p {
    margin-bottom: 15px;
    color: #aaa;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #aaa;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ff4d00;
    padding-left: 5px;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #333;
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #ff4d00;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #aaa;
    font-size: 14px;
}

/* Adaptabilité */
@media (max-width: 992px) {
    .steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero h1,
    .hero-banner h1,
    .catalogue-banner h1,
    .how-it-works-banner h1 {
        font-size: 32px;
    }
    
    .hero p,
    .hero-banner p,
    .catalogue-banner p,
    .how-it-works-banner p {
        font-size: 16px;
    }
    
    .powers-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-container {
        flex-direction: column;
    }
    
    .search-box {
        width: 100%;
    }
    
    .filter-options {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-group {
        flex: 1;
        min-width: unset;
    }
    
    .card-buttons {
        flex-direction: column;
    }
    
    .cta-section h2,
    .how-it-works-detail h2,
    .faq-section h2 {
        font-size: 28px;
    }
    
    .how-it-works-detail h3 {
        font-size: 22px;
    }
    
    .faq-question {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .hero h1,
    .hero-banner h1,
    .catalogue-banner h1,
    .how-it-works-banner h1 {
        font-size: 28px;
    }
    
    .hero p,
    .hero-banner p,
    .catalogue-banner p,
    .how-it-works-banner p {
        font-size: 16px;
    }
    
    h2 {
        font-size: 28px !important;
    }
    
    .step h3 {
        font-size: 20px;
    }
    
    .category-title {
        font-size: 24px;
    }
    
    .category-powers {
        grid-template-columns: 1fr;
    }
}


/* Font Awesome (pour les icônes) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');