/**
 * Finexa — site vitrine (page unique, design professionnel sobre)
 */
.pv-site {
    --pv-ink: #0b1f33;
    --pv-text: #334155;
    --pv-muted: #64748b;
    --pv-line: #e5e7eb;
    --pv-bg: #ffffff;
    --pv-soft: #f6f8fa;
    --pv-navy: #0b2545;
    --pv-accent: #0f766e;
    --pv-accent-dark: #0b5e58;
    --pv-accent-soft: #e6f2f1;
    --pv-radius: 10px;
    --pv-header-h: 68px;
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--pv-text);
    background: var(--pv-bg);
    scroll-behavior: smooth;
}

.pv-site *,
.pv-site *::before,
.pv-site *::after {
    box-sizing: border-box;
}

.pv-site [id] {
    scroll-margin-top: calc(var(--pv-header-h) + 8px);
}

.pv-site img {
    max-width: 100%;
    display: block;
}

.pv-site h1,
.pv-site h2,
.pv-site h3 {
    color: var(--pv-ink);
    margin: 0;
    line-height: 1.2;
}

.pv-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.pv-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ── Boutons ── */
.pv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.pv-btn--primary {
    background: var(--pv-accent);
    color: #fff;
}

.pv-btn--primary:hover {
    background: var(--pv-accent-dark);
    color: #fff;
}

.pv-btn--ghost {
    background: #fff;
    border-color: var(--pv-line);
    color: var(--pv-ink);
}

.pv-btn--ghost:hover {
    border-color: var(--pv-accent);
    color: var(--pv-accent);
}

.pv-btn--lg {
    padding: 0.8rem 1.4rem;
    font-size: 0.98rem;
}

.pv-btn--block {
    width: 100%;
}

/* ── Icône uniforme ── */
.pv-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pv-accent-soft);
    color: var(--pv-accent);
    font-size: 1.1rem;
}

.pv-icon--sm {
    width: 36px;
    height: 36px;
    font-size: 0.92rem;
}

/* ── En-tête ── */
.pv-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--pv-line);
    backdrop-filter: blur(8px);
}

.pv-header__bar {
    height: var(--pv-header-h);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.pv-header__brand img {
    max-height: 34px;
    width: auto;
}

.pv-header__brand span {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--pv-navy);
}

.pv-header__nav {
    display: flex;
    gap: 1.35rem;
    margin-left: auto;
}

.pv-header__nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--pv-text);
    text-decoration: none;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
}

.pv-header__nav a:hover,
.pv-header__nav a.is-active {
    color: var(--pv-accent);
    border-bottom-color: var(--pv-accent);
}

.pv-header__actions {
    display: flex;
    gap: 0.5rem;
}

.pv-header__toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--pv-line);
    border-radius: 8px;
    background: #fff;
    color: var(--pv-ink);
    cursor: pointer;
}

.pv-header__mobile {
    display: flex;
    flex-direction: column;
    padding: 0.25rem 1.25rem 1rem;
    border-top: 1px solid var(--pv-line);
    background: #fff;
}

.pv-header__mobile[hidden] {
    display: none;
}

.pv-header__mobile a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--pv-line);
    color: var(--pv-ink);
    font-weight: 600;
    text-decoration: none;
}

/* ── Hero ── */
.pv-hero {
    padding: 3rem 0 2.75rem;
    background: linear-gradient(180deg, var(--pv-soft) 0%, #fff 100%);
    border-bottom: 1px solid var(--pv-line);
}

.pv-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.pv-eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pv-accent);
}

.pv-hero h1 {
    font-size: clamp(1.95rem, 3.9vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.pv-hero__lead {
    max-width: 34rem;
    margin: 0 0 1.75rem;
    font-size: 1.08rem;
    color: var(--pv-muted);
}

.pv-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.pv-hero__points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.9rem;
    color: var(--pv-text);
}

.pv-hero__points i {
    color: var(--pv-accent);
    margin-right: 0.4rem;
}

.pv-hero__media {
    position: relative;
    width: 100%;
    max-width: 580px;
    justify-self: end;
}

.pv-hero__media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 14px;
    border: 1px solid var(--pv-line);
    box-shadow: 0 16px 40px rgba(11, 37, 69, 0.12);
}

.pv-hero__card {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid var(--pv-line);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(11, 37, 69, 0.12);
}

.pv-hero__card small {
    display: block;
    font-size: 0.74rem;
    color: var(--pv-muted);
}

.pv-hero__card strong {
    font-size: 1rem;
    color: var(--pv-ink);
}

/* ── Bandeau confiance ── */
.pv-trust {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--pv-line);
}

.pv-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pv-trust__item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--pv-ink);
}

/* ── Sections ── */
.pv-section {
    padding: 3.25rem 0;
}

.pv-section--soft {
    background: var(--pv-soft);
    border-top: 1px solid var(--pv-line);
    border-bottom: 1px solid var(--pv-line);
}

.pv-section__head {
    max-width: 640px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.pv-section__head h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    margin-bottom: 0.65rem;
}

.pv-section__head p {
    margin: 0;
    color: var(--pv-muted);
}

/* Fonctionnalités */
.pv-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pv-feature {
    padding: 1.35rem;
    background: #fff;
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.pv-feature:hover {
    border-color: #b6d6d3;
    box-shadow: 0 10px 26px rgba(11, 37, 69, 0.06);
}

.pv-feature h3 {
    margin: 0.9rem 0 0.4rem;
    font-size: 1rem;
    font-weight: 700;
}

.pv-feature p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--pv-muted);
}

/* Solutions */
.pv-solutions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}

.pv-solution {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    overflow: hidden;
}

.pv-solution__img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--pv-soft);
}

.pv-solution__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.pv-solution__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.15rem 1.15rem 1.25rem;
}

.pv-solution__title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.6rem;
}

.pv-solution__title h3 {
    font-size: 1rem;
    font-weight: 700;
}

.pv-solution__body p {
    flex: 1;
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: var(--pv-muted);
}

.pv-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--pv-accent);
    text-decoration: none;
}

.pv-link:hover {
    text-decoration: underline;
}

/* Avantages */
.pv-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.pv-split__media img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 14px;
    border: 1px solid var(--pv-line);
    box-shadow: 0 20px 50px rgba(11, 37, 69, 0.1);
}

.pv-split__copy h2 {
    font-size: clamp(1.6rem, 3vw, 2.05rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.pv-split__copy > p {
    margin: 0 0 1.5rem;
    color: var(--pv-muted);
}

.pv-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.pv-benefits li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.pv-benefits strong {
    display: block;
    color: var(--pv-ink);
    font-size: 0.95rem;
}

.pv-benefits span {
    font-size: 0.88rem;
    color: var(--pv-muted);
}

.pv-metrics {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    background: #fff;
}

.pv-metric {
    padding: 1.25rem;
    text-align: center;
    border-right: 1px solid var(--pv-line);
}

.pv-metric:last-child {
    border-right: 0;
}

.pv-metric strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--pv-navy);
}

.pv-metric span {
    font-size: 0.82rem;
    color: var(--pv-muted);
}

/* Tarifs */
.pv-tabs {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin: 0 auto 2rem;
    padding: 0.3rem;
    width: fit-content;
    max-width: 100%;
    background: #fff;
    border: 1px solid var(--pv-line);
    border-radius: 10px;
    overflow-x: auto;
}

.pv-tab {
    padding: 0.55rem 1.1rem;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--pv-text);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.pv-tab.is-active {
    background: var(--pv-navy);
    color: #fff;
}

.pv-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pv-plans[hidden] {
    display: none;
}

.pv-plans--2 {
    grid-template-columns: repeat(2, minmax(0, 340px));
    justify-content: center;
}

.pv-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.35rem;
    background: #fff;
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
}

.pv-plan--popular {
    border: 2px solid var(--pv-accent);
    box-shadow: 0 14px 36px rgba(15, 118, 110, 0.12);
}

.pv-plan__badge {
    position: absolute;
    top: -11px;
    left: 1.35rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: var(--pv-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.pv-plan h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.pv-plan__tagline {
    min-height: 2.8em;
    margin: 0 0 1rem;
    font-size: 0.84rem;
    color: var(--pv-muted);
}

.pv-plan__price {
    margin-bottom: 0.25rem;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--pv-ink);
}

.pv-plan__price small {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--pv-muted);
}

.pv-plan__annual {
    margin: 0 0 1.1rem;
    font-size: 0.8rem;
    color: var(--pv-muted);
}

.pv-plan ul {
    list-style: none;
    flex: 1;
    margin: 0 0 1.25rem;
    padding: 1rem 0 0;
    border-top: 1px solid var(--pv-line);
    display: grid;
    gap: 0.5rem;
    align-content: start;
}

.pv-plan li {
    font-size: 0.86rem;
    color: var(--pv-text);
}

.pv-plan li i {
    width: 1.1rem;
    color: var(--pv-accent);
}

.pv-plan__demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.65rem;
    padding: 0.35rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--pv-accent);
    text-decoration: none;
    border-radius: 6px;
}

.pv-plan__demo:hover {
    background: var(--pv-accent-soft);
    color: var(--pv-accent-dark);
}

.pv-pricing-note {
    margin: 1.75rem 0 0;
    text-align: center;
    font-size: 0.88rem;
    color: var(--pv-muted);
}

/* FAQ */
.pv-faq {
    max-width: 760px;
    margin: 0 auto;
    border-top: 1px solid var(--pv-line);
}

.pv-faq details {
    border-bottom: 1px solid var(--pv-line);
}

.pv-faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
    font-weight: 600;
    color: var(--pv-ink);
    cursor: pointer;
    list-style: none;
}

.pv-faq summary::-webkit-details-marker {
    display: none;
}

.pv-faq summary i {
    color: var(--pv-muted);
    transition: transform 0.2s;
}

.pv-faq details[open] summary i {
    transform: rotate(180deg);
    color: var(--pv-accent);
}

.pv-faq p {
    margin: 0 0 1.1rem;
    font-size: 0.92rem;
    color: var(--pv-muted);
}

/* Contact */
.pv-contact {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
}

.pv-contact__info h2 {
    font-size: clamp(1.6rem, 3vw, 2.05rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.pv-contact__info > p {
    margin: 0 0 1.5rem;
    color: var(--pv-muted);
}

.pv-contact__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.pv-contact__list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.pv-contact__list small {
    display: block;
    font-size: 0.75rem;
    color: var(--pv-muted);
}

.pv-contact__list a,
.pv-contact__list strong {
    color: var(--pv-ink);
    font-weight: 600;
    text-decoration: none;
}

.pv-contact__list a:hover {
    color: var(--pv-accent);
}

.pv-form {
    padding: 1.75rem;
    background: #fff;
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pv-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pv-field--wide {
    grid-column: 1 / -1;
}

.pv-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--pv-ink);
}

.pv-field input,
.pv-field select,
.pv-field textarea {
    width: 100%;
    padding: 0.65rem 0.8rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font: inherit;
    font-size: 0.92rem;
    color: var(--pv-ink);
    background: #fff;
}

.pv-field input:focus,
.pv-field select:focus,
.pv-field textarea:focus {
    outline: none;
    border-color: var(--pv-accent);
    box-shadow: 0 0 0 3px var(--pv-accent-soft);
}

.pv-form__footer {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.pv-consent {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    color: var(--pv-muted);
}

.pv-alert {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.6rem;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.pv-alert--ok {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.pv-alert--err {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Footer */
.pv-footer {
    padding: 2.5rem 0 1.5rem;
    background: var(--pv-navy);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
}

.pv-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pv-footer h3 {
    margin-bottom: 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.pv-footer p {
    margin: 0;
}

.pv-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.pv-footer a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.pv-footer a:hover {
    color: #fff;
}

.pv-footer__badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pv-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.pv-badge__seal {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #5eead4;
    box-shadow: inset 0 0 0 4px var(--pv-navy), inset 0 0 0 5px rgba(94, 234, 212, 0.45);
    color: #5eead4;
    font-size: 1.15rem;
}

.pv-badge strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
}

.pv-badge small {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.pv-footer__bottom {
    padding-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.8rem;
}

/* ── Responsive ── */
@media (max-width: 1080px) {
    .pv-features,
    .pv-solutions,
    .pv-plans {
        grid-template-columns: repeat(2, 1fr);
    }
    .pv-header__nav {
        gap: 0.9rem;
    }
}

@media (max-width: 900px) {
    .pv-header__nav,
    .pv-header__actions {
        display: none;
    }
    .pv-header__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .pv-hero__grid,
    .pv-split,
    .pv-contact {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .pv-hero__media {
        max-width: none;
        justify-self: stretch;
    }
    .pv-hero__media img,
    .pv-split__media img {
        height: 300px;
    }
    .pv-trust__grid,
    .pv-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .pv-metric:nth-child(2) {
        border-right: 0;
    }
    .pv-metric:nth-child(-n + 2) {
        border-bottom: 1px solid var(--pv-line);
    }
    .pv-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .pv-section {
        padding: 3rem 0;
    }
}

@media (max-width: 600px) {
    .pv-features,
    .pv-solutions,
    .pv-plans,
    .pv-plans--2,
    .pv-trust__grid,
    .pv-form,
    .pv-footer__grid,
    .pv-footer__badges {
        grid-template-columns: 1fr;
    }
    .pv-hero {
        padding: 2.25rem 0 2rem;
    }
    .pv-hero__cta .pv-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pv-site {
        scroll-behavior: auto;
    }
}
