/* =====================================================================
   Pages « À propos » 2026 (a-propos/*.php, préfixe ap26-)
   Gabarit : a-propos/i-a-propos-2026-haut.php / -bas.php ; contenu : a-propos/i_page_generique_2026.php
   Les textes viennent de la base (page_generique) : on ne fait que les mettre en forme.
   ===================================================================== */
main.ap26-page {
    --ap-orange: #c8641e; --ap-orange-d: #a9500f; --ap-vert: #2f7d32;
    --ap-txt: #3d3d3d; --ap-txt-l: #7a7268; --ap-ligne: #e3dccf; --ap-creme: #faf8f4; --ap-sable: #f1ebe2;
    color: var(--ap-txt); font-family: 'Poppins', 'Urbanist', Arial, sans-serif; font-size: 15px; line-height: 1.6; text-align: left;
}
main.ap26-page * { box-sizing: border-box; }
main.ap26-page { overflow-x: hidden; overflow-x: clip; }
main.ap26-page [hidden] { display: none !important; }
main.ap26-page section#contenu { padding: 10px 30px 40px; max-width: 980px; margin: 0 auto; background: none; }

/* En-tête */
.ap26-hero { padding: 4px 0 20px; margin-bottom: 22px; border-bottom: 1px solid var(--ap-ligne); }
.ap26-ariane { font-size: 13px; color: var(--ap-txt-l); margin: 0 0 8px; }
.ap26-ariane a { color: var(--ap-txt-l); text-decoration: none; }
.ap26-ariane a:hover { color: var(--ap-orange); }
main.ap26-page h1 { font-size: 32px; font-weight: 600; text-transform: none; margin: 4px 0 6px; padding: 0; left: auto; line-height: 1.2; text-align: left; color: var(--ap-txt); }
.ap26-sous-titre { margin: 0; font-size: 16px; color: var(--ap-txt-l); }
.ap26-intro { font-size: 16px; color: #4a443c; margin: 0 0 22px; text-align: justify; }

/* Textes de la base (CKEditor) */
.ap26-texte { margin: 0 0 26px; color: #4a443c; text-align: justify; }
.ap26-texte p { margin: 0 0 12px; }
.ap26-texte a { color: var(--ap-orange-d); }
.ap26-texte h1, .ap26-texte h2, .ap26-texte h3, .ap26-texte h4 { text-transform: none; text-align: left; color: var(--ap-txt); font-weight: 600; line-height: 1.3; }
.ap26-texte h1, .ap26-texte h2 { font-size: 22px; margin: 26px 0 10px; padding: 0; }
.ap26-texte h3 { font-size: 18px; margin: 20px 0 8px; }
.ap26-texte h4 { font-size: 16px; margin: 16px 0 6px; }
.ap26-texte > :first-child { margin-top: 0; }
.ap26-texte ul, .ap26-texte ol { margin: 0 0 14px; padding-left: 22px; text-align: left; }
.ap26-texte li { margin: 0 0 4px; }
.ap26-texte li::marker { color: var(--ap-orange); }
.ap26-texte img { max-width: 100%; height: auto; border-radius: 10px; }
.ap26-texte table { max-width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.ap26-texte td, .ap26-texte th { padding: 8px 10px; vertical-align: top; text-align: left; }
.ap26-texte table[border="1"] td, .ap26-texte table[border="1"] th { border: 1px solid var(--ap-ligne); }
.ap26-texte hr { border: 0; border-top: 1px solid var(--ap-ligne); margin: 22px 0; }
.ap26-texte strong { color: var(--ap-txt); }
.ap26-texte iframe { max-width: 100%; border-radius: 10px; }

/* Tableau simple (politique d'expédition…) */
.ap26-tableau { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--ap-ligne); border-radius: 12px; overflow: hidden; margin: 0 0 24px; font-size: 14px; }
.ap26-tableau th { background: var(--ap-creme); font-weight: 600; text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--ap-ligne); }
.ap26-tableau td { padding: 10px 14px; border-bottom: 1px solid var(--ap-ligne); }
.ap26-tableau tr:last-child td { border-bottom: 0; }

/* Témoignages */
.ap26-sec { margin: 0 0 34px; }
.ap26-sec > h2 { font-size: 22px; font-weight: 600; text-transform: none; margin: 0 0 14px; padding: 0; text-align: left; color: var(--ap-txt); }
.ap26-avis { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ap26-avis figure { margin: 0; background: #fff; border: 1px solid var(--ap-ligne); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.ap26-avis-haut { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ap26-etoiles i { color: #e0a100; font-size: 13px; }
.ap26-avis-date { font-size: 12px; color: var(--ap-txt-l); }
.ap26-avis b { font-size: 15px; }
.ap26-avis blockquote { margin: 0; font-size: 14px; color: #4a443c; flex: 1; }
.ap26-avis figcaption { font-size: 13px; color: var(--ap-txt-l); font-weight: 500; }

/* Liens vers les autres pages d'information */
.ap26-liens { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ap-ligne); }
.ap26-liens h2 { font-size: 16px; font-weight: 600; text-transform: none; margin: 0 0 12px; padding: 0; text-align: left; color: var(--ap-txt); }
.ap26-liens div { display: flex; flex-wrap: wrap; gap: 8px; }
.ap26-liens a { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--ap-ligne); border-radius: 99px; padding: 6px 13px; font-size: 13.5px; color: var(--ap-txt); text-decoration: none; transition: border-color .15s, color .15s; }
.ap26-liens a i { color: var(--ap-orange); font-size: 12px; }
.ap26-liens a:hover { border-color: var(--ap-orange); color: var(--ap-orange-d); }

/* Panneau d'administration de la page (même style que les autres panneaux admin 2026) */
.apa { margin: 10px 0 26px; background: #f4f6f9; border: 1px solid #d5dce6; border-left: 4px solid #2f5d8a; border-radius: 10px; font-family: 'Poppins', Arial, sans-serif; font-size: 13px; color: #2c3440; text-align: left; }
.apa > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 10px 14px; cursor: pointer; list-style: none; }
.apa > summary::-webkit-details-marker { display: none; }
.apa-titre { font-weight: 700; font-size: 14px; color: #2f5d8a; }
.apa-titre i { margin-right: 4px; }
.apa-info { color: #5d6877; }
.apa-info b { color: #2c3440; }
.apa-ok { color: #2f7d32; font-weight: 600; }
.apa-chevron { margin-left: auto; color: #2f5d8a; transition: transform .2s; }
.apa[open] .apa-chevron { transform: rotate(180deg); }
.apa-corps { padding: 4px 14px 16px; }
.apa-meta { margin: 0 0 10px; }
.apa-meta a { color: #2f5d8a; }
.apa-remarque { background: #fff8e6; border: 1px solid #f0dca6; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }
.apa-form { display: flex; flex-direction: column; gap: 8px; }
.apa-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 12.5px; color: #5d6877; width: auto; }
.apa-form input[type=text] { width: 100%; height: 36px; margin: 0; padding: 0 10px; border: 1px solid #d5dce6; border-radius: 6px; font: inherit; font-size: 14px; font-weight: 400; color: #2c3440; background: #fff; }
.apa-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.apa-envoyer { align-self: flex-end; margin-top: 6px; padding: 10px 18px; border: 0; border-radius: 8px; background: #2f5d8a; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.apa-envoyer:hover { background: #244a70; }

/* Responsive */
@media (max-width: 700px) {
    main.ap26-page section#contenu { padding: 10px 16px 30px; }
    main.ap26-page h1 { font-size: 26px; }
    .ap26-texte table { display: block; overflow-x: auto; }
    .apa-2col { grid-template-columns: minmax(0, 1fr); }
}

/* Titres et composants étroits jamais justifiés (consigne du 25/09/2026) */
:where(main.ap26-page) :where(h1, h2, h3, h4, h5, h6, .ap26-liens, .ap26-avis, .ap26-tableau, .apa, li, td, th) { text-align: left; }

/* Encadré d'action (page Compte PRO) */
.ap26-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; margin: 6px 0 10px; padding: 22px 26px; background: var(--ap-sable); border-radius: 14px; }
.ap26-cta h2 { font-size: 20px; font-weight: 600; text-transform: none; margin: 0 0 4px; padding: 0; text-align: left; color: var(--ap-txt); }
.ap26-cta p { margin: 0; color: #4a443c; font-size: 14.5px; }
.ap26-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ap26-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 10px; background: var(--ap-orange); border: 1.5px solid var(--ap-orange); color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s; }
.ap26-btn:hover { background: var(--ap-orange-d); border-color: var(--ap-orange-d); }
.ap26-btn-2 { background: #fff; color: var(--ap-txt) !important; border-color: var(--ap-txt); }
.ap26-btn-2:hover { background: var(--ap-txt); color: #fff !important; border-color: var(--ap-txt); }
@media (max-width: 600px) { .ap26-cta-btns, .ap26-btn { width: 100%; justify-content: center; } }
