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

/* Base styles */
:root {
    --primary-color: #ff5722;
    --secondary-color: #222222;
    --accent-color: #4caf50;
    --text-color: #333333;
    --bg-color: #f5f5f5;
    --light-bg: #ffffff;
    --dark-bg: #1a1a1a;
    --border-color: #dddddd;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: #e64a19;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button, .cta-button, .search-button, .file-button, .pricing-button, .service-button, .process-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    text-align: center;
}

button:hover, .cta-button:hover, .search-button:hover, .file-button:hover, .pricing-button:hover, .service-button:hover, .process-button:hover {
    background-color: #e64a19;
}

/* Header & Navigation */
header {
    background-color: var(--light-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Main content sections */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

section {
    margin-bottom: 3rem;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
    background-color: var(--dark-bg);
    color: white;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero .cta-button {
    font-size: 1.1rem;
    padding: 14px 32px;
}

/* Search engine section */
.search-engine {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-engine h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.form-group {
    flex: 1 1 200px;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group select, .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
}

.search-button {
    flex: 1 1 100%;
    margin-top: 1rem;
}

/* Benefits section */
.benefits h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Process section */
.process {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.process h2 {
    margin-bottom: 2rem;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.step {
    flex: 1 1 200px;
    margin: 1rem;
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-button {
    display: inline-block;
}

/* Testimonials section */
.testimonials {
    margin-bottom: 3rem;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial .author {
    display: block;
    text-align: right;
    font-weight: 500;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bbbbbb;
}

.footer-section ul li a:hover {
    color: white;
}

.copyright {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: #bbbbbb;
}

/* Services page specific styles */
.services-page .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-overview {
    display: grid;
    gap: 2rem;
}

.service-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 2rem;
}

.service-card h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.service-description {
    flex: 1 1 60%;
}

.service-description ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.service-button {
    display: inline-block;
}

.process-details {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
}

.process-details h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.compatible-tools {
    margin-top: 3rem;
}

.compatible-tools h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.tool {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.tool h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tools-note {
    text-align: center;
    font-style: italic;
}

/* Fichiers page specific styles */
.fichiers-page .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.search-engine.full-width {
    margin-bottom: 3rem;
}

.popular-files h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.file-card {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.file-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.file-specs {
    margin-bottom: 1.5rem;
}

.spec {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.spec:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 500;
}

.spec-value {
    color: var(--secondary-color);
}

.file-button {
    display: block;
    text-align: center;
}

.file-types {
    margin-top: 3rem;
}

.file-types h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.types-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.type-card {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.type-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.type-card ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
    list-style-type: disc;
}

.file-features {
    margin-top: 3rem;
}

.file-features h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Tarifs page specific styles */
.tarifs-page .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-options h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
    transform: scale(1.05);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.pricing-header .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0.5rem 0;
}

.pricing-header .saving, .pricing-header .period {
    display: block;
    color: var(--accent-color);
    font-weight: 500;
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.pricing-features ul {
    padding-left: 1.2rem;
    list-style-type: disc;
}

.pricing-features ul li {
    margin-bottom: 0.5rem;
}

.pricing-button {
    display: block;
    text-align: center;
}

.stage-pricing, .special-services {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
}

.stage-pricing h2, .special-services h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-table-container, .services-table-container {
    overflow-x: auto;
}

.pricing-table, .services-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.pricing-table th, .pricing-table td, .services-table th, .services-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.pricing-table th, .services-table th {
    background-color: var(--secondary-color);
    color: white;
}

.pricing-table tr:nth-child(even), .services-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.pricing-note, .services-note {
    text-align: center;
    font-style: italic;
    margin-top: 1rem;
}

.payment-methods, .satisfaction-guarantee {
    margin-top: 3rem;
}

.payment-methods h2, .satisfaction-guarantee h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-info, .guarantee-content {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.payment-list {
    margin: 1rem 0;
    padding-left: 1.2rem;
    list-style-type: disc;
}

.guarantee-content ul {
    margin: 1rem 0;
    padding-left: 1.2rem;
    list-style-type: disc;
}

/* FAQ page specific styles */
.faq-page .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-search {
    margin-bottom: 3rem;
    text-align: center;
}

.faq-search h2 {
    margin-bottom: 1.5rem;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-input {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    background-color: var(--light-bg);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.category-tab.active {
    background-color: var(--primary-color);
    color: white;
}

.faq-section {
    display: none;
}

.faq-section.active {
    display: block;
}

.faq-section h2 {
    margin-bottom: 2rem;
}

.faq-item {
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.question {
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
}

.question h3 {
    margin-bottom: 0;
    padding-right: 30px;
}

.question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
}

.answer {
    padding: 0 1.5rem 1.5rem;
}

.answer p {
    margin-bottom: 1rem;
}

.answer ul, .answer ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.answer ul {
    list-style-type: disc;
}

.answer ol {
    list-style-type: decimal;
}

/* Responsive styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .steps {
        flex-direction: column;
    }

    .step {
        margin-bottom: 2rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .category-tabs {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .search-form {
        flex-direction: column;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .benefit-card, .testimonial {
        padding: 1rem;
    }
}