/* ── Section budget ── */
.pr-budget {
    padding: 70px 0 60px;
}
.pr-factors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
}
.pr-factor-card {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    border-radius: 1rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(99,102,241,.12);
    transition: border-color .25s, box-shadow .25s;
}
.pr-factor-card:hover {
    border-color: rgba(99,102,241,.35);
    box-shadow: 0 4px 20px rgba(99,102,241,.08);
}
[data-bs-theme="dark"] .pr-factor-card {
    background: rgba(255,255,255,.04);
}
[data-bs-theme="light"] .pr-factor-card {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.pr-factor-icon {
    width: 40px;
    height: 40px;
    border-radius: .7rem;
    background: rgba(99,102,241,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.pr-factor-card h3 {
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: .25rem;
    line-height: 1.3;
}
.pr-factor-card p {
    font-size: .78rem;
    opacity: .65;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 575px) {
    .pr-factors-grid { grid-template-columns: 1fr; }
    .pr-budget { padding: 50px 0 40px; }
}

/* ==============================
   prestations.css
   ============================== */

/* ── Animations scroll ── */
.pr-lazy {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}
.pr-lazy.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Badge section ── */
.pr-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6366f1;
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.25);
    border-radius: 50px;
    padding: .3rem .85rem;
    margin-bottom: 1rem;
}

/* ── Hero vidéo ── */
.pr-hero {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 0;
}
.pr-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.pr-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 25, 0.55);
    z-index: 1;
}
.pr-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 140px 0 80px;
}
.pr-hero-title {
    font-size: clamp(1.85rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}
.pr-hero-title span {
    color: #a78bfa;
}
.pr-hero-sub {
    font-size: clamp(.95rem, 2vw, 1.15rem);
    color: rgba(255,255,255,.7);
    max-width: 560px;
    line-height: 1.75;
}

/* ── Fix sticky hero scroll overlap ── */
html, body {
    overflow-x: hidden;
}

/* ── Fond sombre derrière le hero sticky en light mode uniquement ── */
[data-bs-theme="light"] .page-wrapper {
    background-color: #0a0819;
}

[data-bs-theme="light"] .footer-new {
    background-color: revert;
}

.page-wrapper {
    overflow: visible;
}

/* ── Content wrapper glassmorphism ── */
.pr-content-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    border-radius: 2rem 2rem 0 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: clip;
    opacity: 0;
    transform: translateY(40px);
    animation: pr-reveal .9s cubic-bezier(.22,1,.36,1) .2s forwards;
}
[data-bs-theme="dark"] .pr-content-wrapper {
    background: rgba(10, 8, 30, 0.85);
    border-top: 1px solid rgba(99,102,241,.15);
}
[data-bs-theme="light"] .pr-content-wrapper {
    background: rgba(255,255,255,.85);
    border-top: 1px solid rgba(99,102,241,.12);
}
@keyframes pr-reveal {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll indicator ── */
.pr-scroll-hint-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    overflow: hidden;
    border-radius: 2rem 2rem 0 0;
    z-index: 20;
}
.pr-scroll-hint-line {
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #a78bfa, #6366f1, transparent);
    animation: pr-scroll-hint 4s ease-in-out infinite;
}
@keyframes pr-scroll-hint {
    0%   { left: -40%; opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* ── Mobile ── */
@media (max-width: 767px) {
    .pr-hero { min-height: 100dvh; }
    .pr-hero-content { padding: 110px 0 60px; }
    .pr-content-wrapper {
        margin-top: -40px;
        border-radius: 1.25rem 1.25rem 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pr-lazy { opacity: 1; transform: none; transition: none; }
}

/* ── Intro prestations ── */
.pr-services-intro {
    padding: 60px 0 0;
    border-top: 1px solid rgba(99,102,241,.07);
}

/* ── Blocs service ── */
.pr-service-wrap {
    padding: 60px 0 70px;
}
.pr-service-wrap + .pr-service-wrap {
    border-top: 1px solid rgba(99,102,241,.07);
}

/* ── Image avec glow ── */
.pr-img-wrap {
    position: relative;
}
.pr-img {
    border-radius: 1.25rem;
    width: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: transform .4s ease, box-shadow .4s ease;
}
.pr-img:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(99,102,241,.2);
}
[data-bs-theme="dark"] .pr-img {
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
[data-bs-theme="light"] .pr-img {
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
}
.pr-img-glow {
    position: absolute;
    bottom: -24px;
    left: 10%;
    width: 80%;
    height: 60px;
    background: rgba(99,102,241,.3);
    filter: blur(32px);
    border-radius: 50%;
    z-index: 0;
    transition: opacity .4s ease;
}
.pr-img-wrap:hover .pr-img-glow { opacity: .7; }
[data-bs-theme="light"] .pr-img-glow {
    background: rgba(99,102,241,.15);
}

/* ── Prix ── */
.pr-price-tag {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    flex-wrap: wrap;
}
.pr-price-label {
    font-size: .8rem;
    font-weight: 600;
    opacity: .55;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.pr-price-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: #6366f1;
    line-height: 1;
}
.pr-price-note {
    font-size: .78rem;
    opacity: .5;
}

/* ── Mini-cards 2x2 ── */
.pr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-top: 1.5rem;
}
.pr-grid-card {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    border-radius: .85rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(99,102,241,.12);
    transition: border-color .25s, box-shadow .25s;
}
.pr-grid-card:hover {
    border-color: rgba(99,102,241,.35);
    box-shadow: 0 4px 16px rgba(99,102,241,.08);
}
[data-bs-theme="dark"] .pr-grid-card {
    background: rgba(255,255,255,.04);
}
[data-bs-theme="light"] .pr-grid-card {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.pr-grid-icon {
    width: 36px;
    height: 36px;
    border-radius: .6rem;
    background: rgba(99,102,241,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 1rem;
    flex-shrink: 0;
}
.pr-grid-card h3 {
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .15rem;
    line-height: 1.3;
}
.pr-grid-card p {
    font-size: .75rem;
    opacity: .65;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 575px) {
    .pr-grid { grid-template-columns: 1fr; }
    .pr-service-wrap { padding: 40px 0 50px; }
    .pr-img-glow { display: none; }
    .pr-img:hover { transform: none; }
}


/* ── Audit tags ── */
.pr-audit-tags {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.pr-audit-tag {
    display: flex;
    align-items: center;
    gap: .85rem;
    border-radius: .85rem;
    padding: .85rem 1.1rem;
    border: 1px solid rgba(99,102,241,.15);
}
.pr-audit-tag i {
    font-size: 1.2rem;
    flex-shrink: 0;
}
.pr-audit-tag div {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.pr-audit-tag-label {
    font-size: .82rem;
    font-weight: 600;
    opacity: .75;
}
.pr-audit-tag-price {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}
.pr-audit-tag.free {
    background: rgba(34,197,94,.06);
    border-color: rgba(34,197,94,.2);
}
.pr-audit-tag.free i,
.pr-audit-tag.free .pr-audit-tag-price {
    color: #22c55e;
}
.pr-audit-tag.paid {
    background: rgba(99,102,241,.06);
    border-color: rgba(99,102,241,.2);
}
.pr-audit-tag.paid i,
.pr-audit-tag.paid .pr-audit-tag-price {
    color: #6366f1;
}

[data-bs-theme="light"] .pr-audit-tag.free {
    background: rgba(34,197,94,.05);
}
[data-bs-theme="light"] .pr-audit-tag.paid {
    background: rgba(99,102,241,.05);
}

/* ── Garanties ── */
.pr-guarantees {
    padding: 70px 0;
    border-top: 1px solid rgba(99,102,241,.07);
}
.pr-guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.pr-guarantee-card {
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    border: 1px solid rgba(99,102,241,.12);
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.pr-guarantee-card:hover {
    border-color: rgba(99,102,241,.35);
    box-shadow: 0 8px 28px rgba(99,102,241,.08);
    transform: translateY(-4px);
}
[data-bs-theme="dark"] .pr-guarantee-card {
    background: rgba(255,255,255,.04);
}
[data-bs-theme="light"] .pr-guarantee-card {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.pr-guarantee-icon {
    width: 44px;
    height: 44px;
    border-radius: .75rem;
    background: rgba(99,102,241,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.pr-guarantee-card h3 {
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: .5rem;
    line-height: 1.3;
}
.pr-guarantee-card p {
    font-size: .8rem;
    opacity: .65;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .pr-guarantees-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .pr-guarantees-grid { grid-template-columns: 1fr; }
    .pr-guarantees { padding: 50px 0; }
}


/* ── Process ── */
.pr-process {
    padding: 70px 0;
    border-top: 1px solid rgba(99,102,241,.07);
}

.pr-timeline-wrap {
    max-width: 780px;
    margin: 0 auto;
}

.pr-timeline-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(99,102,241,.4) 0%, rgba(99,102,241,.05) 100%);
    border-radius: 2px;
}

.pr-timeline-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease, transform .5s ease;
}
.pr-timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.pr-timeline-item:nth-child(2) { transition-delay: .1s; }
.pr-timeline-item:nth-child(3) { transition-delay: .2s; }
.pr-timeline-item:nth-child(4) { transition-delay: .3s; }
.pr-timeline-item:nth-child(5) { transition-delay: .4s; }

.pr-timeline-item:last-child {
    margin-bottom: 0;
}

.pr-timeline-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(99,102,241,.3);
    position: relative;
    z-index: 1;
}
[data-bs-theme="dark"] .pr-timeline-num {
    background: #0a0819;
    color: rgba(255,255,255,.9);
}
[data-bs-theme="light"] .pr-timeline-num {
    background: #fff;
    color: #6366f1;
    border-color: rgba(99,102,241,.4);
}

.pr-timeline-card {
    flex: 1;
    border-radius: 1rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(99,102,241,.12);
    transition: border-color .25s, box-shadow .25s;
    margin-bottom: .25rem;
}
.pr-timeline-card:hover {
    border-color: rgba(99,102,241,.35);
    box-shadow: 0 6px 24px rgba(99,102,241,.08);
}
[data-bs-theme="dark"] .pr-timeline-card {
    background: rgba(255,255,255,.04);
}
[data-bs-theme="light"] .pr-timeline-card {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.pr-timeline-card-icon {
    width: 38px;
    height: 38px;
    border-radius: .6rem;
    background: rgba(99,102,241,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 1rem;
    margin-bottom: .85rem;
}

.pr-timeline-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .5rem;
    line-height: 1.3;
}

.pr-timeline-card p {
    font-size: .85rem;
    opacity: .7;
    margin-bottom: .85rem;
    line-height: 1.65;
}

.pr-timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.pr-timeline-tag {
    font-size: .72rem;
    font-weight: 600;
    padding: .22rem .7rem;
    border-radius: 50px;
    background: rgba(99,102,241,.1);
    color: #6366f1;
    border: 1px solid rgba(99,102,241,.2);
}

@media (max-width: 767px) {
    .pr-process { padding: 50px 0; }
    .pr-timeline-line { left: 22px; }
    .pr-timeline-num {
        width: 46px;
        height: 46px;
        font-size: 1.5rem;
    }
    .pr-timeline-card { padding: 1.1rem 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
    .pr-timeline-item { opacity: 1; transform: none; transition: none; }
}




/* ── FAQ ── */
.pr-faq {
    padding: 70px 0;
    border-top: 1px solid rgba(99,102,241,.07);
}
.pr-faq-sticky {
    position: sticky;
    top: 100px;
}
.pr-faq-accordion .pr-faq-item {
    border: 1px solid rgba(99,102,241,.12) !important;
    border-radius: .85rem !important;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}
.pr-faq-accordion .pr-faq-item:has(.accordion-button:not(.collapsed)) {
    border-color: rgba(99,102,241,.4) !important;
    box-shadow: 0 6px 24px rgba(99,102,241,.08);
}
[data-bs-theme="dark"] .pr-faq-item {
    background: rgba(255,255,255,.04);
}
[data-bs-theme="light"] .pr-faq-item {
    background: #fff;
}
.pr-faq-btn {
    font-size: .95rem;
    font-weight: 600;
    padding: 1.1rem 1.25rem;
    background: transparent !important;
    color: inherit !important;
}
.pr-faq-btn:not(.collapsed) {
    color: #6366f1 !important;
}
.pr-faq-btn::after {
    filter: invert(40%) sepia(80%) saturate(500%) hue-rotate(210deg);
}
.pr-faq-body {
    font-size: .88rem;
    line-height: 1.75;
    opacity: .75;
    padding: 0 1.25rem 1.25rem;
}

@media (max-width: 767px) {
    .pr-faq { padding: 50px 0; }
    .pr-faq-sticky { position: relative; top: 0; }
}


/* ── CTA Final ── */
.cta-final {
    position: relative;
    border-radius: 1.5rem;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(99,102,241,.15) 0%, rgba(99,102,241,.04) 100%);
    border: 1px solid rgba(99,102,241,.25);
    overflow: hidden;
}
.cta-final-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.18) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}
.cta-final-badge {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6366f1;
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.25);
    border-radius: 50px;
    padding: .3rem .9rem;
}
.cta-final-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
}
.cta-final-sub {
    font-size: 1rem;
    opacity: .72;
    max-width: 480px;
}
.cta-final-box {
    background: rgba(99,102,241,.06);
    border: 1px solid rgba(99,102,241,.15);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.cta-final-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .92rem;
    font-weight: 500;
}
.cta-final-item i {
    color: #6366f1;
    font-size: 1.1rem;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .cta-final { padding: 2.5rem 1.5rem; }
    .cta-final-glow { width: 250px; height: 250px; top: -60px; right: -60px; }
    .cta-final-sub { max-width: 100%; }
}

/* ── Navbar forcée en clair sur hero vidéo ── */
.pr-hero-active .navbar-nav .nav-link,
.pr-hero-active .navbar-brand,
.pr-hero-active .navbar-toggler {
    color: rgba(255,255,255,.85) !important;
}
.pr-hero-active .navbar-nav .nav-link:hover {
    color: #fff !important;
}

@media (max-width: 767px) {
    [data-bs-theme="light"] .pr-hero-active .navbar-nav .nav-link,
    [data-bs-theme="light"] .pr-hero-active .navbar-brand,
    [data-bs-theme="light"] .pr-hero-active .navbar-toggler {
        color: rgba(28,28,28,.85) !important;
    }
    [data-bs-theme="light"] .pr-hero-active .navbar-nav .nav-link:hover {
        color: rgba(28,28,28,.85) !important;
    }
}