/* Ajouts 2026 : bandeau cookies, footer, lisibilité */

/* Bandeau cookies */
.ev-cookies { position: fixed; z-index: 99999; left: 20px; right: 20px; bottom: 20px; max-width: 980px; margin: 0 auto;
    display: flex; align-items: center; gap: 24px; padding: 22px 26px; background: #1b1f2a; color: #e8eaef;
    border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); font-family: Jost, sans-serif; font-size: 16px; line-height: 1.5;
    opacity: 0; transform: translateY(20px); transition: opacity .3s ease, transform .3s ease; }
.ev-cookies[hidden] { display: none; }
.ev-cookies.ev-cookies-visible { opacity: 1; transform: none; }
.ev-cookies p { margin: 0; color: #e8eaef; font-size: 16px; line-height: 1.5; }
.ev-cookies .ev-cookies-titre { font-weight: 600; font-size: 18px; color: #fff; margin-bottom: 4px; }
.ev-cookies a { color: #F3BE37; text-decoration: underline; }
.ev-cookies-boutons { display: flex; gap: 12px; flex: none; }
.ev-cookies-btn { border: 2px solid #F3BE37; border-radius: 50px; padding: 11px 22px; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; }
.ev-cookies-refuser { background: transparent; color: #fff; }
.ev-cookies-refuser:hover { background: rgba(255, 255, 255, .08); }
.ev-cookies-accepter { background: #F3BE37; color: #1b1f2a; }
.ev-cookies-accepter:hover { background: #e5ad22; border-color: #e5ad22; }
.ev-cookies-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 767px) {
    .ev-cookies { flex-direction: column; align-items: stretch; gap: 16px; left: 12px; right: 12px; bottom: 12px; padding: 18px 16px; }
    .ev-cookies-boutons { flex-direction: column-reverse; }
    .ev-cookies-btn { width: 100%; }
}

/* Footer : liens légaux et crédit */
.bottom-footer-text .copyright span { display: inline; line-height: 1.8; }
.bottom-footer-text .copyright a { white-space: nowrap; }
.bottom-footer-text .ev-sep { opacity: .5; margin: 0 6px; }

/* Pages légales */
.ev-legal h2 { font-size: 24px; margin: 36px 0 12px; }
.ev-legal ul { padding-left: 22px; margin-bottom: 18px; }
.ev-legal li { margin-bottom: 8px; }
.ev-legal a { text-decoration: underline; }
.ev-legal .ev-btn-cookies { display: inline-block; background: #F3BE37; color: #1b1f2a; border-radius: 50px; padding: 12px 26px; font-weight: 600; text-decoration: none; }

/* Lisibilité : 16px minimum (les tailles < 16px des CSS du thème ont été remontées à 16px) */
small, .small { font-size: 16px; }

/* Accueil : en bref, étapes, zones, FAQ */
.ev-bref-section, .ev-etapes-section, .ev-zones-section, .ev-faq-section, .ev-entreprise-section, .ev-blog-section { padding: 80px 0; }
.ev-bref { background: #fff; border: 2px solid #F3BE37; border-radius: 12px; padding: 32px 36px; }
.ev-bref-titre { font-size: 26px; margin: 0 0 18px; }
.ev-bref-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; margin: 0; }
.ev-bref-liste dt { font-weight: 600; color: #1c63b8; font-size: 16px; }
.ev-bref-liste dd { margin: 2px 0 0; font-size: 16px; line-height: 1.55; }
.ev-etapes { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ev-etapes li { background: #fff; border-radius: 12px; padding: 28px 24px; position: relative; }
.ev-etape-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #F3BE37; color: #1b1f2a; font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.ev-etapes h3 { font-size: 20px; margin-bottom: 8px; }
.ev-etapes p { font-size: 16px; line-height: 1.6; margin: 0; }
.ev-zones { list-style: none; padding: 0; margin: 30px 0 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ev-zones a { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid #e3e5ea; border-radius: 10px; padding: 16px 20px; font-size: 18px; color: #1b1f2a; transition: border-color .2s, background .2s; }
.ev-zones a:hover, .ev-zones a:focus-visible { border-color: #F3BE37; background: #fffaf0; }
.ev-zones span { color: #6b7180; font-size: 16px; }
.ev-zones-villes { font-size: 16px; line-height: 1.8; text-align: center; }
.ev-zones-villes a { text-decoration: underline; }
.ev-faq { max-width: 900px; margin: 30px auto 0; }
.ev-faq-item { background: #fff; border-radius: 10px; margin-bottom: 12px; padding: 0 24px; }
.ev-faq-item summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; position: relative; }
.ev-faq-item summary::-webkit-details-marker { display: none; }
.ev-faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; color: #1c63b8; }
.ev-faq-item[open] summary::after { content: "–"; }
.ev-faq-item summary h3 { font-size: 19px; margin: 0; display: inline; }
.ev-faq-item p { font-size: 16px; line-height: 1.65; padding-bottom: 20px; margin: 0; }
.ev-faq-item summary:focus-visible { outline: 3px solid #F3BE37; outline-offset: 4px; }
@media (max-width: 991px) {
    .ev-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ev-zones, }
@media (max-width: 575px) {
    .ev-bref-section, .ev-etapes-section, .ev-zones-section, .ev-faq-section, .ev-entreprise-section, .ev-blog-section { padding: 50px 0; }
    .ev-bref { padding: 22px 18px; }
    .ev-etapes, .ev-zones, .ev-zones-villes, .ev-faq,     .about-section_1 h1.title { font-size: 30px; line-height: 38px; }
    .ev-faq-item summary h3 { font-size: 17px; }
    .ev-bref-liste, .ev-etapes, .ev-zones, }
.ev-blog-section .featured-imagebox-post, .grid-section .featured-imagebox-post { margin-bottom: 30px; }
.ev-blog-extrait { font-size: 16px; line-height: 1.6; margin: 14px 4px 0; }
.ev-blog-tous { text-align: center; margin: 10px 0 0; }
@media (max-width: 575px) { .ev-blog-section .row { margin-left: 0; margin-right: 0; } }
.featured-imagebox-post.style2 .featured-title h2, .featured-imagebox-post.style2 .featured-title h3 { font-weight: 600; font-size: 20px; line-height: 27px; margin: 15px 0 0; }
.featured-imagebox-post.style2 .featured-title a { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.featured-imagebox-post.style2 .featured-title a:hover { color: #F3BE37; }

/* Accueil : compteurs et alignements */
.fid-section_1 .cmt-fid-contents { text-align: left; }
.fid-section_1 .ev-fid-nb { font-size: 38px; line-height: 43px; font-weight: 600; color: #364352; margin: 0 0 5px; text-align: left; }
.fid-section_1 .ev-fid-nb span { font-size: inherit; line-height: inherit; }
.fid-section_1 .ev-fid-label { font-size: 16px; line-height: 24px; font-weight: 600; color: #767676; margin: 0; text-align: left; }

/* Articles du blog */
.ev-article h2 { font-size: 26px; line-height: 1.3; margin: 34px 0 14px; }
.ev-article h3 { font-size: 20px; margin: 22px 0 8px; }
.ev-article p, .ev-article li { font-size: 17px; line-height: 1.75; }
.ev-article ul { padding-left: 22px; margin-bottom: 18px; }
.ev-article li { margin-bottom: 6px; }
.ev-article a { text-decoration: underline; }
.ev-article .cmt-btn { text-decoration: none; }
.ev-article-bref { background: #fffaf0; border-left: 4px solid #F3BE37; border-radius: 8px; padding: 20px 24px; margin-bottom: 26px; }
.ev-article-bref-titre { font-weight: 700; font-size: 18px; margin: 0 0 8px; color: #1b1f2a; }
.ev-article-bref ul { margin: 0; }
.ev-article-faq { background: #f7f8fa; border-radius: 10px; padding: 6px 26px 18px; margin-top: 36px; }
.ev-article-cta { margin-top: 30px; padding: 24px; border: 2px solid #F3BE37; border-radius: 10px; text-align: center; }
.ev-article-cta p { font-weight: 600; text-align: center !important; }
.ev-article-cta .cmt-btn { margin-top: 8px; }
@media (max-width: 575px) { .ev-article h2 { font-size: 22px; } .ev-article-faq { padding: 4px 16px 14px; } }
.featured-imagebox-post.style2 .featured-thumbnail img { width: 100%; aspect-ratio: 500 / 597; object-fit: cover; }
/* Cartes d'articles : toute la carte est cliquable */
.featured-imagebox-post.style2 { position: relative; }
.featured-imagebox-post.style2 .cmt-box-view-overlay::before, .featured-imagebox-post.style2 .cmt-box-view-overlay::after { pointer-events: none; }
.featured-imagebox-post.style2 .featured-content { pointer-events: none; }
.featured-imagebox-post.style2 .featured-content a { pointer-events: auto; }
.featured-imagebox-post.style2 .featured-title a:focus-visible { outline: 3px solid #F3BE37; outline-offset: 2px; }
