/* Site vitrine FS-PGRE — feuille de style servie par l'application, sans
   compilation. Les couleurs et polices viennent de variables CSS posées par
   la mise en page (site/layout.blade.php) depuis « Site web → Réglages ». */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #1f2937;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, .h1 { font-family: var(--font-heading); line-height: 1.2; color: #0f172a; margin: 0 0 .6em; font-weight: 700; }
h1, .h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow, .narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: #6b7280; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.anchor { display: block; position: relative; top: -80px; }

/* Boutons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .7em 1.4em; border-radius: 999px; border: 2px solid transparent;
    font-weight: 600; font-size: .98rem; line-height: 1.2; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    text-decoration: none !important; font-family: inherit; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15, 23, 42, .15); }
.btn-lg { padding: .9em 1.8em; font-size: 1.05rem; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-dark { background: var(--dark); color: var(--on-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--on-primary); }

.badge {
    display: inline-block; padding: .2em .75em; border-radius: 999px; font-size: .78rem; font-weight: 600;
    background: var(--primary-soft); color: var(--primary-dark); text-decoration: none !important;
}

/* Bandeau d'annonce et barre d'aperçu */
.topbar { background: var(--dark); color: var(--on-dark); font-size: .9rem; text-align: center; padding: .5em 0; }
.topbar a { color: var(--on-dark); font-weight: 600; }
.preview-bar { background: #fef3c7; color: #92400e; text-align: center; padding: .5em; font-weight: 600; font-size: .9rem; }

/* En-tête */
.site-header {
    position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95);
    backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid #e5e7eb;
    transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, .08); }
.header-dark .site-header { background: var(--dark); border-color: transparent; }
.header-primary .site-header { background: var(--primary); border-color: transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: #0f172a; text-decoration: none !important; min-width: 0; }
.brand-logo { height: 46px; width: auto; max-width: 140px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-family: var(--font-heading); font-size: 1.2rem; }
.brand-text small { color: #6b7280; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; }
.header-dark .brand, .header-primary .brand { color: #fff; }
.header-dark .brand-text small, .header-primary .brand-text small { color: rgba(255,255,255,.75); }
.header-dark .brand-logo, .header-primary .brand-logo { background: #fff; border-radius: 8px; padding: 3px; }

.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
    display: block; padding: .5em .7em; border-radius: 8px; color: #334155; font-weight: 500; font-size: .95rem;
    text-decoration: none; white-space: nowrap;
}
.site-nav ul a:hover, .site-nav ul a.active { background: var(--primary-soft); color: var(--primary-dark); }
.header-dark .site-nav ul a, .header-primary .site-nav ul a { color: rgba(255,255,255,.9); }
.header-dark .site-nav ul a:hover, .header-dark .site-nav ul a.active,
.header-primary .site-nav ul a:hover, .header-primary .site-nav ul a.active { background: rgba(255,255,255,.14); color: #fff; }
.nav-search { display: flex; align-items: center; background: #f1f5f9; border-radius: 999px; padding: 2px 4px 2px 14px; }
.nav-search input { border: 0; background: transparent; width: 110px; font: inherit; font-size: .9rem; padding: .4em 0; outline: none; }
.nav-search button { border: 0; background: transparent; color: #475569; cursor: pointer; padding: .4em .6em; }
.btn-portal { padding: .6em 1.1em; font-size: .92rem; white-space: nowrap; }
.nav-toggle { display: none; background: transparent; border: 0; font-size: 1.5rem; color: inherit; cursor: pointer; padding: 8px; }
.header-dark .nav-toggle, .header-primary .nav-toggle { color: #fff; }

@media (max-width: 1180px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch;
        padding: 16px 20px 24px; gap: 12px; box-shadow: 0 16px 30px rgba(15,23,42,.12); display: none;
    }
    .site-nav.open { display: flex; }
    .site-nav ul { flex-direction: column; }
    .header-dark .site-nav ul a, .header-primary .site-nav ul a { color: #334155; }
    .nav-search input { width: 100%; }
    .brand-text small { max-width: 180px; }
}

/* Bandeau principal */
.hero {
    position: relative; color: #fff; display: flex; align-items: center; overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.12), transparent 40%),
        radial-gradient(circle at 85% 80%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 45%),
        linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}
.hero.has-image { background: linear-gradient(120deg, rgba(15,23,42,.82), rgba(15,23,42,.45)), var(--hero-image) center / cover no-repeat; }
.hero-medium { min-height: 52vh; padding: 80px 0; }
.hero-large { min-height: 76vh; padding: 100px 0; }
.hero-full { min-height: calc(100vh - 74px); padding: 100px 0; }
.hero-center .hero-content { text-align: center; margin: 0 auto; max-width: 860px; }
.hero-left .hero-content { max-width: 720px; }
.hero h1, .hero .h1 { color: #fff; }
.hero-subtitle { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.88); max-width: 720px; }
.hero-center .hero-subtitle { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-center .hero-actions { justify-content: center; }
.eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700;
    color: var(--accent); margin-bottom: 14px; background: rgba(255,255,255,.08); padding: .4em 1em; border-radius: 999px;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--dark)); color: #fff; padding: 64px 0 56px; position: relative;
}
.page-hero[style] { background: linear-gradient(120deg, rgba(15,23,42,.85), rgba(15,23,42,.55)), var(--cover) center / cover; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lead { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 720px; margin: 0; }
.breadcrumb { font-size: .88rem; margin-bottom: 14px; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb span { margin: 0 .3em; }
.lead { font-size: 1.2rem; color: #475569; }

/* Sections */
.section { padding: 80px 0; }
.section-none + .section-none { padding-top: 0; }
.section-light { background: #f8fafc; }
.section-primary { background: var(--primary); color: var(--on-primary); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-primary h2, .section-primary h3, .section-dark h2, .section-dark h3 { color: inherit; }
.section-primary .section-head p, .section-dark .section-head p { color: inherit; opacity: .85; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head p { color: #64748b; font-size: 1.1rem; margin: 0; }
.section-more { margin-top: 40px; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 56px 0; } }

/* Fonctionnalités */
.feature {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 30px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; color: #1f2937;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,.08); border-color: transparent; }
.feature h3 { color: #0f172a; }
.feature p { color: #64748b; margin: 0; }
.feature-icon {
    display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
    background: var(--primary-soft); color: var(--primary); font-size: 1.35rem; margin-bottom: 18px;
}

/* Texte et image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-reverse .split-media { order: -1; }
.split-media img { border-radius: 22px; box-shadow: 0 30px 60px rgba(15,23,42,.18); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-placeholder {
    aspect-ratio: 4 / 3; border-radius: 22px; display: grid; place-items: center; font-size: 5rem; color: rgba(255,255,255,.85);
    background: linear-gradient(135deg, var(--primary), var(--accent));
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split-reverse .split-media { order: 0; } }

/* Texte riche */
.prose { color: #334155; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { border-left: 4px solid var(--accent); margin: 1.5em 0; padding: .5em 1.2em; color: #475569; background: #f8fafc; border-radius: 0 10px 10px 0; }
.prose img { border-radius: 14px; margin: 1.5em 0; }
.prose a { text-decoration: underline; }
.prose code { background: #f1f5f9; padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.section-primary .prose, .section-dark .prose { color: inherit; }

/* Chiffres clés */
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.stat {
    flex: 1 1 200px; max-width: 260px; text-align: center; padding: 28px 18px; border-radius: 18px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.section-light .stat, .section-none .stat { background: #fff; border-color: #e5e7eb; }
.stat-value { display: block; font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; color: var(--accent); }
.section-light .stat-value, .section-none .stat-value { color: var(--primary); }
.stat-label { display: block; margin-top: 6px; font-weight: 500; opacity: .9; }

/* Appel à l'action */
.cta-section { padding: 40px 0; }
.cta {
    border-radius: 26px; padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta h2 { margin-bottom: .3em; color: inherit; }
.cta p { margin: 0; opacity: .9; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--on-primary); }
.cta-dark { background: var(--dark); color: var(--on-dark); }
.cta-accent { background: var(--accent); color: var(--on-accent); }
.cta-accent .btn-ghost, .cta-light .btn-ghost { color: inherit; border-color: currentColor; }
.cta-light { background: var(--primary-soft); color: #0f172a; }
@media (max-width: 640px) { .cta { padding: 34px 26px; } }

/* Cartes et actualités */
.card { background: #fff; border-radius: 18px; border: 1px solid #e5e7eb; overflow: hidden; color: #1f2937; }
.card-body { padding: 24px; }
.post-card { display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,.1); }
.post-card .card-body { display: flex; flex-direction: column; flex: 1; }
.post-card .card-body p { color: #64748b; flex: 1; }
.post-card h3 a { color: #0f172a; }
.post-card-media { display: block; aspect-ratio: 16 / 9; background: var(--primary-soft); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-placeholder { display: grid; place-items: center; height: 100%; color: var(--primary); font-size: 2.6rem; opacity: .5; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .85rem; color: #64748b; margin-bottom: 10px; }
.post-meta-hero { color: rgba(255,255,255,.85); }
.post-meta-hero .badge { background: rgba(255,255,255,.15); color: #fff; }
.link-more { font-weight: 600; font-size: .95rem; }
.post-cover img { border-radius: 20px; width: 100%; margin-bottom: 30px; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid #e5e7eb; }
.share span { font-weight: 600; margin-right: 6px; }
.share a {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f1f5f9; color: #334155;
}
.share a:hover { background: var(--primary); color: var(--on-primary); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.chip { padding: .45em 1.1em; border-radius: 999px; border: 1px solid #e5e7eb; color: #334155; font-size: .92rem; }
.chip.active, .chip:hover { background: var(--primary); color: var(--on-primary); border-color: var(--primary); text-decoration: none; }

/* Agenda */
.events { display: grid; gap: 18px; max-width: 900px; margin: 0 auto; }
.event { display: flex; gap: 24px; background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 22px; color: #1f2937; }
.event-date {
    flex-shrink: 0; width: 86px; text-align: center; border-radius: 14px; padding: 12px 6px;
    background: var(--primary); color: var(--on-primary); align-self: flex-start;
}
.event-day { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 700; line-height: 1; }
.event-month { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.event-body h3 { margin: .4em 0 .3em; color: #0f172a; }
.event-body p { margin: .5em 0 0; color: #64748b; }
.event-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: #64748b; }
.event-meta i { color: var(--primary); margin-right: 4px; }

/* Témoignages */
.testimonial { margin: 0; background: #fff; border-radius: 18px; padding: 30px; border: 1px solid #e5e7eb; position: relative; color: #1f2937; }
.testimonial-mark { color: var(--accent); font-size: 1.8rem; opacity: .8; }
.testimonial blockquote { margin: 14px 0 22px; font-size: 1.05rem; color: #334155; font-style: italic; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption img, .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.testimonial figcaption span { display: flex; flex-direction: column; }
.testimonial small { color: #64748b; }

/* Questions fréquentes */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 0 22px; color: #1f2937; }
.faq-item summary {
    cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; color: #0f172a;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--primary); transition: transform .2s ease; margin-top: 4px; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item .prose { padding-bottom: 14px; }

/* Équipe, régions, églises, portail */
.member { text-align: center; color: inherit; }
.member img, .member-placeholder {
    width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; box-shadow: 0 12px 30px rgba(15,23,42,.12);
}
.member-placeholder { display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 3rem; }
.member h3 { margin-bottom: .2em; color: inherit; }
.member-role { color: var(--primary); font-weight: 600; font-size: .92rem; }
.member p { color: #64748b; font-size: .95rem; margin-top: 10px; }
.region-card, .church-card, .portal-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 26px; color: #1f2937;
    transition: transform .2s ease, box-shadow .2s ease;
}
.region-card { text-align: center; }
.region-card img { height: 72px; width: auto; margin: 0 auto 14px; object-fit: contain; }
.region-card h3 { color: #0f172a; }
.region-card p { color: #64748b; font-size: .92rem; }
.region-initial {
    display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 18px;
    background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 1.4rem; font-family: var(--font-heading);
}
.church-card { display: flex; gap: 16px; align-items: flex-start; }
.church-card h3 { font-size: 1.05rem; margin-bottom: .4em; color: #0f172a; }
.church-card .event-meta { flex-direction: column; gap: 4px; }
.church-icon {
    flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
    background: var(--primary-soft); color: var(--primary);
}
.portal-card { display: flex; flex-direction: column; text-decoration: none !important; }
.portal-card:hover, .region-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,.1); }
.portal-card h3 { color: #0f172a; }
.portal-card p { color: #64748b; flex: 1; }

/* Galerie et vidéo */
.gallery-item { margin: 0; border-radius: 16px; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); font-size: .92rem; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: 10px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(15,23,42,.18); }
.video iframe, .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Contact et formulaires */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-single { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-details { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .feature-icon { margin: 0; width: 46px; height: 46px; font-size: 1.1rem; }
.contact-item p { margin: 0; color: #64748b; }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 1px solid #e5e7eb; }
.contact-form-card { padding: 30px; }
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row-2 { grid-template-columns: 1fr; } }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; color: #334155; }
.form input, .form select, .form textarea, .newsletter-form input, .search-big input {
    font: inherit; font-weight: 400; padding: .75em 1em; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; color: #0f172a; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus, .newsletter-form input:focus, .search-big input:focus {
    border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px var(--primary-soft);
}
.form .checkbox { flex-direction: row; align-items: flex-start; font-weight: 400; gap: 10px; }
.form .checkbox input { width: auto; margin-top: 5px; }
.form-error { color: #dc2626; font-size: .85rem; font-weight: 500; }
.form-success { background: #ecfdf5; color: #047857; border-radius: 12px; padding: 14px 18px; font-weight: 600; margin-bottom: 18px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.search-big { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 36px; }
.page-hero .search-big { margin: 24px 0 0; }
@media (max-width: 560px) { .search-big { flex-direction: column; } }
.search-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.search-results li { border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px 22px; }
.search-results a { font-weight: 600; font-size: 1.1rem; margin-left: 8px; }
.search-results p { margin: 8px 0 0; color: #64748b; }

/* Lettre d'information */
.newsletter-form { display: flex; gap: 10px; max-width: 520px; width: 100%; }
.newsletter-section .newsletter-form { margin: 24px auto 0; }
@media (max-width: 560px) { .newsletter-form { flex-direction: column; } }

/* Séparateur */
.divider { padding: 20px 0; }
.divider-line span { display: block; height: 1px; background: #e5e7eb; }
.divider-dots span { display: block; text-align: center; }
.divider-dots span::before { content: "• • •"; color: var(--accent); letter-spacing: .6em; font-size: 1.2rem; }
.divider-space { padding: 30px 0; }

/* Pagination */
.pagination-wrap { margin-top: 40px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page {
    min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid #e5e7eb; color: #334155; padding: 0 8px;
}
.pagination a.page:hover { background: var(--primary-soft); text-decoration: none; }
.pagination .current { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.pagination .disabled { opacity: .45; }

/* Pied de page */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); margin-top: 0; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.footer-newsletter { border-bottom: 1px solid rgba(255,255,255,.1); padding: 44px 0; }
.footer-newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-newsletter h2 { color: #fff; font-size: 1.5rem; margin-bottom: .2em; }
.footer-newsletter p { margin: 0; }
.footer-newsletter .form-success { margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.1em; }
.brand-footer { color: #fff; margin-bottom: 16px; }
.brand-footer .brand-logo { background: #fff; border-radius: 10px; padding: 4px; }
.footer-links, .footer-contact, .social { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: .6em; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact i { color: var(--accent); margin-top: 5px; width: 16px; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); }
.social a:hover { background: var(--accent); color: var(--on-accent); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .88rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-lang a { margin-left: 10px; opacity: .7; }
.footer-lang a.active { opacity: 1; font-weight: 700; }

.back-to-top {
    position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; z-index: 40;
    display: grid; place-items: center; background: var(--primary); color: var(--on-primary);
    box-shadow: 0 10px 24px rgba(15,23,42,.25); opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }

/* Apparition au défilement — seulement quand le script est là. */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media print {
    .site-header, .site-footer, .back-to-top, .topbar, .share { display: none !important; }
}

/* La mention du produit, discrète : le site présente le client. */
.footer-powered { font-size: .8rem; opacity: .65; }

/* Application installable et petits écrans (1.11.0, socle commun § 8) :
   360 px sans défilement horizontal, cibles tactiles de 44 px, zones sûres. */
.footer-install {
    display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: 0;
    background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline;
}
.footer-install[hidden] { display: none; }
@media (max-width: 1180px) {
    .nav-toggle { min-width: 44px; min-height: 44px; }
    .site-nav ul a { display: block; padding: 10px 0; }
}
@media (max-width: 560px) {
    /* Sur html seul, en « clip » (1.12.0) : posé aussi sur body, il en
       faisait un conteneur de défilement et l'en-tête « sticky » partait. */
    html { overflow-x: clip; }
    @supports not (overflow: clip) { html { overflow-x: hidden; } }
    .container { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-links a, .footer-contact a { display: inline-block; min-height: 32px; padding: 6px 0; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .hero-medium, .hero-large, .hero-full { padding: 56px 0; min-height: 0; }
    .back-to-top { bottom: calc(16px + env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); }
    h1, .h1, h2, .h2 { overflow-wrap: anywhere; }
    table { display: block; max-width: 100%; overflow-x: auto; }
    iframe, video { max-width: 100%; }
}
