/* ============================================================
   info-pages.css — Styles partagés pour les pages informatives
   Utilisé par : faq, contact, comment-ca-marche, centre-aide,
                  regles-publication, qui-sommes-nous
   ============================================================ */

/* ============================================================
   FAQ (faq.html + section FAQ de comment-ca-marche.html)
   ============================================================ */
.faq-hero {
    background:
        radial-gradient(circle at top left, rgba(200, 165, 96, 0.18), transparent 35%),
        linear-gradient(180deg, #262626 0%, #1f1f1f 46%, #171717 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.faq-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.faq-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-section {
    padding: 60px 0;
}

.faq-section[class*="bg"] {
    background-color: #f9f9f9;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-container h2 {
    color: #231d18;
    margin-bottom: 40px;
    text-align: center;
}

.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.faq-category {
    background-color: #f1f1f1;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #444;
    font-weight: 500;
}

.faq-category:hover {
    background-color: #e0e0e0;
}

.faq-category.active {
    background-color: #b99552;
    color: #1a1815;
}

.faq-search {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    padding-left: 50px;
}

.faq-search::before {
    content: "\01F50D";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #666;
}

.faq-items {
    margin-top: 40px;
}

.faq-category-title {
    color: #231d18;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
}

.faq-question {
    padding: 20px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #231d18;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: #8a6d2f;
}

.faq-item.active .faq-question::after {
    content: "\2212";
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-answer p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.faq-answer li {
    color: #444;
    margin-bottom: 8px;
}

.faq-still-questions {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.faq-still-questions h3 {
    color: #231d18;
    margin-bottom: 15px;
}

.faq-still-questions p {
    color: #444;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .faq-container {
        padding: 0 15px;
    }
}

/* ============================================================
   Contact (contact.html)
   ============================================================ */
.contact-hero {
    background:
        radial-gradient(circle at top left, rgba(200, 165, 96, 0.18), transparent 35%),
        linear-gradient(180deg, #262626 0%, #1f1f1f 46%, #171717 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
    padding: 20px;
}

.contact-form-container {
    flex: 2;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.contact-info h2 {
    color: #231d18;
    margin-bottom: 30px;
}

.contact-method {
    margin-bottom: 30px;
}

.contact-method h3 {
    color: #8a6d2f;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-method p {
    color: #444;
    line-height: 1.6;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #b99552;
    color: #1a1815;
}

.contact-hours {
    margin-top: 40px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-hours h3 {
    color: #231d18;
    margin-bottom: 15px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #444;
}

.hours-row.current {
    font-weight: 500;
    color: #8a6d2f;
}

.contact-form-container h2 {
    color: #231d18;
    margin-bottom: 30px;
    text-align: center;
}

.form-success {
    display: none;
    text-align: center;
    padding: 20px;
    background-color: rgba(38, 166, 91, 0.1);
    border-radius: 8px;
    border-left: 4px solid #26a65b;
    margin-bottom: 20px;
}

.form-success h3 {
    color: #26a65b;
    margin-bottom: 10px;
}

.contact-map {
    margin-top: 40px;
    height: 200px;
    background-color: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form-container, .contact-info {
        padding: 20px;
    }
}

/* ============================================================
   Comment ça marche (comment-ca-marche.html)
   ============================================================ */
.how-it-works-banner {
    background:
        radial-gradient(circle at top left, rgba(200, 165, 96, 0.18), transparent 35%),
        linear-gradient(180deg, #262626 0%, #1f1f1f 46%, #171717 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.how-it-works-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.how-it-works-banner p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.process-section {
    padding: 60px 0;
}

.process-container {
    max-width: 1000px;
    margin: 0 auto;
}

.process-steps {
    margin-top: 40px;
}

.process-step {
    display: flex;
    margin-bottom: 60px;
    align-items: center;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-image {
    width: 45%;
    padding: 20px;
}

.step-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.step-content {
    width: 55%;
    padding: 20px 40px;
}

.step-content h3 {
    color: #231d18;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.step-content .step-number {
    font-size: 1.2rem;
    color: #8a6d2f;
    margin-bottom: 5px;
    font-weight: 600;
}

.step-content p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.step-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.step-content ul li {
    margin-bottom: 10px;
    color: #444;
}

.step-content .btn {
    margin-top: 10px;
}

/* --- Testimonials --- */
.testimonials-section {
    padding: 60px 0;
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonials-container h2 {
    color: #231d18;
    margin-bottom: 40px;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    position: relative;
}

.testimonial-quote {
    font-size: 2rem;
    color: #8a6d2f;
    position: absolute;
    top: 15px;
    left: 15px;
    opacity: 0.2;
}

.testimonial-text {
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin-right: 15px;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 500;
    color: #231d18;
    margin-bottom: 5px;
}

.author-role {
    font-size: 0.9rem;
    color: #666;
}

/* --- CTA section --- */
.cta-section {
    background:
        radial-gradient(circle at top left, rgba(200, 165, 96, 0.18), transparent 35%),
        linear-gradient(180deg, #262626 0%, #1f1f1f 46%, #171717 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    margin-bottom: 20px;
}

.cta-container p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-btn-secondary {
    background-color: white;
    color: #231d18;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background-color: #f5f5f5;
}

@media (max-width: 768px) {
    .process-step {
        flex-direction: column !important;
    }

    .step-image, .step-content {
        width: 100%;
        padding: 15px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

/* ============================================================
   Centre d'aide (centre-aide.html)
   ============================================================ */
.help-hero {
    background:
        radial-gradient(circle at top left, rgba(200, 165, 96, 0.18), transparent 35%),
        linear-gradient(180deg, #262626 0%, #1f1f1f 46%, #171717 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.help-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.help-hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.help-search {
    background-color: #f9f9f9;
    padding: 30px 0;
}

.help-search .search-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.search-box {
    display: flex;
    margin-top: 20px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-button {
    background-color: #b99552;
    color: #1a1815;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.search-button:hover {
    background-color: #a88543;
}

.help-section {
    padding: 60px 0;
}

.help-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.help-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.help-category-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 25px;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.help-category-card h3 {
    color: #231d18;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.help-category-card .icon {
    font-size: 2rem;
    color: #8a6d2f;
    margin-bottom: 15px;
    display: block;
}

.help-category-card p {
    color: #666;
    margin-bottom: 15px;
}

.help-category-card ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.help-category-card li {
    margin-bottom: 8px;
}

.help-category-card a {
    color: #8a6d2f;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

.help-category-card a:hover {
    color: #6f5826;
    text-decoration: underline;
}

.help-contact {
    background-color: #f5f5f5;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
}

.help-contact h3 {
    color: #231d18;
    margin-top: 0;
    margin-bottom: 15px;
}

.contact-button {
    display: inline-block;
    background-color: #b99552;
    color: #1a1815;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.2s;
}

.contact-button:hover {
    background-color: #a88543;
}

.popular-articles {
    margin-top: 60px;
}

.popular-articles h2 {
    color: #231d18;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.popular-articles h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #c8a560;
    margin: 15px auto 0;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.article-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.article-card a {
    text-decoration: none;
    color: inherit;
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    color: #231d18;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.article-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.article-category {
    display: inline-block;
    background-color: rgba(200, 165, 96, 0.12);
    color: #8a6d2f;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* ============================================================
   Règles de publication (regles-publication.html)
   ============================================================ */
.rules-hero {
    background:
        radial-gradient(circle at top left, rgba(200, 165, 96, 0.18), transparent 35%),
        linear-gradient(180deg, #262626 0%, #1f1f1f 46%, #171717 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.rules-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.rules-hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.rules-section {
    padding: 60px 0;
}

.rules-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.rules-intro {
    margin-bottom: 40px;
    text-align: center;
}

.rules-intro p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.rule-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.rule-card:hover {
    transform: translateY(-5px);
}

.rule-card .icon {
    font-size: 2.5rem;
    color: #8a6d2f;
    margin-bottom: 15px;
    display: block;
}

.rule-card h3 {
    color: #231d18;
    margin-top: 0;
    margin-bottom: 15px;
}

.rule-card p {
    color: #666;
    line-height: 1.6;
}

.rules-list {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
}

.rules-list h2 {
    color: #231d18;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.rules-list ol {
    padding-left: 20px;
    counter-reset: rule-counter;
}

.rules-list ol li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
    counter-increment: rule-counter;
}

.rules-list ol li::before {
    content: counter(rule-counter) ".";
    font-weight: bold;
    color: #8a6d2f;
    position: absolute;
    left: -10px;
}

.rules-list ul {
    padding-left: 20px;
}

.rules-list ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.rules-list ul li::before {
    content: "\2022";
    color: #8a6d2f;
    position: absolute;
    left: 0;
}

.rules-list h3 {
    color: #8a6d2f;
    margin-top: 30px;
    margin-bottom: 15px;
}

.rules-list p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.warning-box {
    background-color: rgba(200, 165, 96, 0.12);
    border-left: 4px solid #c8a560;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 4px 4px 0;
}

.warning-box h3 {
    color: #8a6d2f;
    margin-top: 0;
    margin-bottom: 10px;
}

.warning-box p {
    color: #666;
    margin-bottom: 0;
}

.tips-box {
    background-color: rgba(200, 165, 96, 0.12);
    border-left: 4px solid #c8a560;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 4px 4px 0;
}

.tips-box h3 {
    color: #8a6d2f;
    margin-top: 0;
    margin-bottom: 10px;
}

.tips-box p {
    color: #666;
    margin-bottom: 10px;
}

.tips-box ul {
    margin-bottom: 0;
}

.cta-box {
    background:
        radial-gradient(circle at top left, rgba(200, 165, 96, 0.18), transparent 35%),
        linear-gradient(180deg, #262626 0%, #1f1f1f 46%, #171717 100%);
    color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

.cta-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.cta-box p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #b99552 0%, #d9c793 55%, #f1e5c4 100%);
    color: #1a1815;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background: linear-gradient(135deg, #b08b48 0%, #d5c189 55%, #ecdfbb 100%);
}

/* ============================================================
   Qui sommes-nous (qui-sommes-nous.html)
   ============================================================ */
.about-hero {
    padding: 76px 0 36px;
    text-align: center;
}

.about-hero p {
    max-width: 760px;
    margin: 12px auto 0;
    color: #555;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 28px 0 52px;
}

.about-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 22px;
}

.about-card h3 {
    margin-bottom: 8px;
}

.about-card p {
    color: #666;
    line-height: 1.5;
    font-size: .95rem;
}

.about-values {
    margin: 0 0 58px;
}

.about-values ul {
    margin-top: 14px;
    padding-left: 20px;
    line-height: 1.7;
}

.about-cta {
    margin: 0 0 58px;
    text-align: center;
}
