/* ============================================================
   Page article du blog
   ============================================================ */

.page-article {
    --ar-ink: #323233;
    --ar-body: #4a4a4b;
    --ar-muted: #666;
    --ar-blue: #4DA6C8;
    --ar-blue-ink: #2b7a9b;
    --ar-blue-soft: #E8F4F9;
    --ar-pink: #EC407A;
    --ar-pink-dark: #d81b60;
    --ar-beige: #F3ECE2;
    --ar-line: #EFE9E3;
    --ar-header-offset: 100px;
}

.ar-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Boutons & liens ---------------------------------------- */
.ar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 28px;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.ar-btn svg, .ar-link svg { width: 14px; height: 14px; flex: 0 0 14px; transition: transform .2s ease; }
.ar-btn:hover svg, .ar-link:hover svg { transform: translateX(3px); }
.ar-btn-pink { background: var(--ar-pink); color: #fff; }
.ar-btn-pink:hover { background: var(--ar-pink-dark); color: #fff; }
.ar-btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.ar-btn-outline-light:hover { border-color: #fff; color: #fff; }
.ar-btn-block { width: 100%; }
.ar-btn-lg { padding: 15px 32px; font-size: 15px; }
.ar-btn:focus-visible, .ar-link:focus-visible, .ar-toc a:focus-visible, .ar-faq summary:focus-visible { outline: 3px solid rgba(236, 64, 122, .45); outline-offset: 3px; }

.ar-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ar-blue-ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.ar-link:hover { color: var(--ar-pink); }

/* ---- En-tête ------------------------------------------------ */
.ar-hero { position: relative; display: flex; align-items: flex-end; min-height: 460px; overflow: hidden; background: var(--ar-ink); }
.ar-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-hero-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(50, 50, 51, .55) 0%, rgba(50, 50, 51, .3) 45%, rgba(50, 50, 51, .85) 100%); }
.ar-hero-inner { position: relative; padding-top: 56px; padding-bottom: 44px; }

.ar-crumbs { margin-bottom: 22px; }
.ar-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0; padding: 0; color: #fff; font-size: .85rem; list-style: none; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.ar-crumbs [aria-current] { color: #fff; font-weight: 600; }
.ar-crumbs li + li::before { content: '/'; margin-right: .35rem; color: rgba(255, 255, 255, .5); }
.ar-crumbs a { color: #bfe4f2; text-decoration: none; }
.ar-crumbs a:hover { color: #fff; text-decoration: underline; }

.ar-badge {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 25px;
    background: var(--ar-pink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}
.ar-badge:hover { background: var(--ar-pink-dark); color: #fff; }
.ar-title { max-width: 20ch; margin: 16px 0 0; color: #fff; font-size: clamp(28px, 4.4vw, 52px); font-weight: 700; line-height: 1.12; text-wrap: pretty; }
.ar-lead { max-width: 62ch; margin: 18px 0 0; color: rgba(255, 255, 255, .92); font-size: 17px; line-height: 1.6; }
.ar-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 0; padding: 0; color: rgba(255, 255, 255, .85); font-size: 13px; list-style: none; }
.ar-meta li { display: inline-flex; align-items: center; gap: 7px; }
.ar-meta svg { width: 14px; height: 14px; flex: 0 0 14px; }

/* ---- Chiffres clés ------------------------------------------ */
.ar-stats { border-bottom: 1px solid var(--ar-line); background: var(--ar-beige); }
.ar-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 22px; margin-top: 0; margin-bottom: 0; padding-top: 30px; padding-bottom: 30px; list-style: none; }
.ar-stat { display: flex; align-items: center; gap: 14px; }
.ar-stat-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: #fff; color: var(--ar-blue); }
.ar-stat-icon svg { width: 20px; height: 20px; }
.ar-stat-value { display: block; color: var(--ar-ink); font-size: 21px; font-weight: 700; line-height: 1.1; }
.ar-stat-label { display: block; color: var(--ar-muted); font-size: 12.5px; }

/* ---- Mise en page ------------------------------------------- */
.ar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-top: 56px; padding-bottom: 56px; }
.ar-main { min-width: 0; }
.ar-aside { position: sticky; top: var(--ar-header-offset); display: flex; flex-direction: column; gap: 20px; }

/* ---- Contenu rédactionnel ----------------------------------- */
.ar-content { color: var(--ar-body); font-size: 16px; line-height: 1.75; }
.ar-content > :first-child { margin-top: 0; }
.ar-content > p:first-child, .ar-content > div:first-child { margin-bottom: 30px; color: var(--ar-ink); font-size: 19px; font-weight: 500; line-height: 1.65; }
.ar-content p { margin: 0 0 14px; }
.ar-content h2 { scroll-margin-top: var(--ar-header-offset); margin: 44px 0 14px; color: var(--ar-ink); font-size: clamp(21px, 2.4vw, 26px); font-weight: 700; line-height: 1.25; text-wrap: pretty; }
.ar-content h3 { margin: 28px 0 10px; color: var(--ar-ink); font-size: 18px; font-weight: 700; line-height: 1.35; }
.ar-content a { color: var(--ar-blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.ar-content a:hover { color: var(--ar-pink); }
.ar-content strong, .ar-content b { color: var(--ar-ink); font-weight: 700; }
.ar-content ul { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 24px; padding: 0; list-style: none; }
.ar-content ul li {
    position: relative;
    padding-left: 27px;
    font-size: 15.5px;
    line-height: 1.6;
}
.ar-content ul li::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234DA6C8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}
.ar-content ol { margin: 18px 0 24px; padding-left: 1.4rem; }
.ar-content ol li { margin-bottom: 8px; padding-left: 4px; }
.ar-content img { display: block; max-width: 100%; height: auto; margin: 24px 0; border-radius: 16px; }
.ar-content figure { margin: 24px 0; }
.ar-content figcaption { margin-top: 8px; color: var(--ar-muted); font-size: 13px; }
.ar-content blockquote { margin: 28px 0; padding: 22px 26px; border-left: 4px solid var(--ar-pink); border-radius: 0 16px 16px 0; background: var(--ar-blue-soft); color: var(--ar-ink); font-style: italic; }
.ar-content pre { overflow-x: auto; padding: 16px; border-radius: 12px; background: #f6f6f6; font-size: 14px; }

/* Pages SEO : introduction en HTML, images et liens de section */
.ar-lead p { margin: 0 0 .6em; }
.ar-lead p:last-child { margin-bottom: 0; }
.ar-lead strong { color: #fff; font-weight: 700; }
.page-landing .ar-content h2:first-child { margin-top: 0; }
.ar-figure { margin: 24px 0; }
.ar-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0; object-fit: cover; border-radius: 16px; }
.ar-section-actions { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0 0; }
.ar-expert-text p { margin: 0 0 .8em; }
.ar-expert-text p:last-child { margin-bottom: 0; }

/* ---- Le mot de l'expert ------------------------------------- */
.ar-expert { margin: 44px 0; padding: 28px 30px; border-radius: 20px; background: var(--ar-blue-soft); }
.ar-expert-kicker { margin: 0 0 10px; color: var(--ar-blue-ink); font-family: 'Dancing Script', cursive; font-size: 26px; font-weight: 700; line-height: 1; }
.ar-expert-text { margin: 0; color: var(--ar-ink); font-size: 17px; font-weight: 500; line-height: 1.65; }
.ar-expert-name { margin-top: 14px; color: var(--ar-muted); font-size: 13px; font-weight: 600; }

/* ---- Blocs (sélection, FAQ) --------------------------------- */
.ar-block { scroll-margin-top: var(--ar-header-offset); margin: 44px 0; }
.ar-block-title { margin: 0 0 6px; color: var(--ar-ink); font-size: clamp(21px, 2.4vw, 26px); font-weight: 700; line-height: 1.25; }
.ar-block-sub { margin: 0 0 22px; color: var(--ar-muted); font-size: 16px; line-height: 1.7; }
#faq .ar-block-title { margin-bottom: 20px; }

.ar-venues { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.ar-venue { display: flex; flex-direction: column; overflow: hidden; border: 1.5px solid var(--ar-line); border-radius: 16px; background: #fff; transition: box-shadow .25s ease, transform .25s ease; }
.ar-venue:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(50, 50, 51, .35); }
.ar-venue-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ar-beige); }
.ar-venue-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ar-venue-body { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 1.25rem; }
.ar-venue-name { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.ar-venue-name a { color: var(--ar-ink); text-decoration: none; }
.ar-venue-name a:hover { color: var(--ar-pink); }
.ar-venue-city, .ar-venue-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; color: var(--ar-muted); font-size: 12.5px; }
.ar-venue-city { gap: 7px; }
.ar-venue-facts span { display: inline-flex; align-items: center; gap: 7px; }
.ar-venue-city svg, .ar-venue-facts svg { width: 13px; height: 13px; flex: 0 0 13px; color: var(--ar-blue); }
.ar-venue-body .ar-link { margin-top: auto; padding-top: 4px; }

.ar-inline-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 44px 0;
    padding: 30px;
    border-radius: 20px;
    background: #3a8aaa;
}
.ar-inline-cta > div { flex: 1; min-width: min(100%, 240px); }
.ar-inline-cta-title { margin: 0; color: #fff; font-size: 21px; font-weight: 700; line-height: 1.3; }
.ar-inline-cta-text { margin: 8px 0 0; color: rgba(255, 255, 255, .92); font-size: 14.5px; line-height: 1.6; }

.ar-faq-list { display: flex; flex-direction: column; gap: 10px; }
.ar-faq { overflow: hidden; border: 1.5px solid var(--ar-line); border-radius: 14px; background: #fff; }
.ar-faq summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    color: var(--ar-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}
.ar-faq summary::-webkit-details-marker { display: none; }
.ar-faq summary span { flex: 1; }
.ar-faq summary svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--ar-blue); transition: transform .2s ease; }
.ar-faq[open] summary svg { transform: rotate(180deg); }
.ar-faq summary:hover { color: var(--ar-blue-ink); }
.ar-faq-answer { padding: 0 18px 18px; color: var(--ar-body); font-size: 14.5px; line-height: 1.7; }

/* ---- Colonne latérale --------------------------------------- */
.ar-card { padding: 22px; border: 1.5px solid var(--ar-line); border-radius: 16px; background: #fff; }
.ar-card-blue { padding: 24px; border-color: transparent; background: var(--ar-blue-soft); }
.ar-card-kicker { margin: 0 0 14px; color: #8a8a8a; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ar-card-title { margin: 0; color: var(--ar-ink); font-size: 16px; font-weight: 700; line-height: 1.3; }
.ar-card-title-sm { margin-bottom: 12px; font-size: 14px; }
.ar-card-text { margin: 8px 0 16px; color: var(--ar-muted); font-size: 13.5px; line-height: 1.6; }
.ar-toc { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ar-toc a {
    display: block;
    margin-left: -10px;
    padding: 5px 10px;
    border-left: 2px solid transparent;
    border-radius: 0 8px 8px 0;
    color: var(--ar-blue-ink);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.ar-toc a:hover { color: var(--ar-pink); }
.ar-toc a[aria-current] { border-left-color: var(--ar-pink); background: #fdf1f5; color: var(--ar-ink); }
.ar-phone { display: inline-flex; align-items: center; gap: 9px; color: var(--ar-blue-ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.ar-phone:hover { color: var(--ar-pink); }
.ar-phone svg { width: 15px; height: 15px; flex: 0 0 15px; }

/* ---- Articles récents & appel final -------------------------- */
.ar-related { padding: 52px 0; background: var(--ar-beige); }
.ar-related-title { margin: 0 0 24px; color: var(--ar-ink); font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; line-height: 1.25; }

.ar-final { background: var(--ar-ink); }
.ar-final-inner { max-width: 900px; margin: 0 auto; padding: 64px 24px; text-align: center; }
.ar-final-title { margin: 0; color: #fff; font-size: clamp(24px, 3.4vw, 38px); font-weight: 800; line-height: 1.2; text-wrap: pretty; }
.ar-final-text { max-width: 52ch; margin: 16px auto 28px; color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.65; }
.ar-final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---- Responsive --------------------------------------------- */
@media (max-width: 960px) {
    .ar-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
    .ar-aside { position: static; }
    .page-article .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ar-container { padding-left: 16px; padding-right: 16px; }
    .ar-hero { min-height: 400px; }
    .ar-hero-inner { padding-top: 40px; padding-bottom: 32px; }
    .ar-lead { font-size: 16px; }
    .ar-content > p:first-child, .ar-content > div:first-child { font-size: 17px; }
    .ar-expert, .ar-inline-cta { padding: 24px 20px; }
    .ar-inline-cta .ar-btn, .ar-final-actions .ar-btn { width: 100%; }
    .page-article .blog-grid { grid-template-columns: 1fr; }
    .ar-final-inner { padding: 48px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .ar-btn, .ar-btn svg, .ar-link svg, .ar-venue, .ar-faq summary svg, .ar-toc a { transition: none; }
}
