/* Pages d'autorité Notely : métiers, méthode et à propos */
.authority-body {
    background: var(--g50);
}

.authority-body main {
    overflow: hidden;
}

.authority-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 62px;
    color: #fff;
    background:
        radial-gradient(circle at 84% 10%, rgba(245, 158, 11, .18), transparent 28rem),
        linear-gradient(145deg, #0f172a 0%, #172033 100%);
}

.authority-hero .c {
    position: relative;
    z-index: 1;
}

.authority-hero h1 {
    max-width: 900px;
    margin: 0 0 18px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.authority-hero h1 em {
    color: var(--orange);
    font-style: normal;
}

.authority-hero .lead {
    max-width: 790px;
    margin: 0;
    color: var(--g300);
    font-size: clamp(1rem, 2vw, 1.14rem);
    line-height: 1.75;
}

.authority-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.authority-points {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
}

.authority-point {
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    color: var(--g300);
    background: rgba(255, 255, 255, .06);
    font-size: .76rem;
    font-weight: 700;
}

.authority-section {
    padding: 70px 0;
    background: #fff;
}

.authority-section.alt {
    border-top: 1px solid var(--g200);
    border-bottom: 1px solid var(--g200);
    background: var(--g50);
}

.authority-head {
    max-width: 790px;
    margin-bottom: 30px;
}

.authority-head .eyebrow {
    margin-bottom: 8px;
    color: var(--orange-d);
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.authority-head h2 {
    margin-bottom: 11px;
    color: var(--navy);
    font-size: clamp(1.55rem, 3.5vw, 2.3rem);
    line-height: 1.18;
    letter-spacing: -.025em;
}

.authority-head p,
.authority-copy p {
    color: var(--g600);
    font-size: .96rem;
    line-height: 1.82;
}

.trade-group + .trade-group {
    margin-top: 38px;
}

.trade-group-title {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    color: var(--navy);
    font-size: 1.08rem;
    font-weight: 850;
}

.trade-group-title span {
    padding: 4px 9px;
    border-radius: 999px;
    color: #065f46;
    background: var(--green-l);
    font-size: .67rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.trade-group-title span.conditional {
    color: #92400e;
    background: var(--orange-l);
}

.trade-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.trade-card {
    display: flex;
    min-height: 235px;
    padding: 23px;
    flex-direction: column;
    border: 1px solid var(--g200);
    border-radius: var(--r);
    background: #fff;
    box-shadow: var(--s-sm);
    transition: .2s ease;
}

.trade-card.featured {
    border: 2px solid var(--orange);
    box-shadow: 0 8px 28px rgba(245, 158, 11, .12);
}

.trade-card:hover {
    border-color: var(--orange);
    box-shadow: var(--s-md);
    transform: translateY(-2px);
}

.trade-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
    place-items: center;
    border-radius: 11px;
    background: var(--orange-xl);
    font-size: 1.25rem;
}

.trade-card h3 {
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 1.02rem;
    line-height: 1.35;
}

.trade-card p {
    margin-bottom: 13px;
    color: var(--g600);
    font-size: .84rem;
    line-height: 1.67;
}

.trade-condition {
    padding-top: 11px;
    border-top: 1px solid var(--g200);
    color: var(--g500);
    font-size: .76rem;
    line-height: 1.55;
}

.trade-card .trade-link {
    margin-top: auto;
    padding-top: 17px;
    color: #9a5a02;
    font-size: .8rem;
    font-weight: 800;
}

.fit-grid,
.proof-grid,
.definition-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.fit-card,
.proof-card,
.definition-card,
.value-card {
    padding: 23px;
    border: 1px solid var(--g200);
    border-radius: var(--r);
    background: #fff;
}

.fit-card h3,
.proof-card h3,
.definition-card h3,
.value-card h3 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 1rem;
}

.fit-card p,
.proof-card p,
.definition-card p,
.value-card p {
    color: var(--g600);
    font-size: .86rem;
    line-height: 1.72;
}

.fit-card.good {
    border-color: #a7f3d0;
    background: #ecfdf5;
}

.fit-card.no {
    border-color: #fed7aa;
    background: #fff7ed;
}

.fit-card ul,
.proof-card ul {
    margin: 10px 0 0 18px;
    color: var(--g600);
    font-size: .84rem;
    line-height: 1.7;
}

.economic-formula {
    margin: 24px 0;
    padding: 20px;
    border-radius: var(--r);
    color: #fff;
    background: var(--navy);
    font-size: clamp(.94rem, 2vw, 1.08rem);
    font-weight: 800;
    line-height: 1.6;
    text-align: center;
}

.decision-flow {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
    margin-top: 24px;
}

.decision-step {
    position: relative;
    padding: 16px 10px;
    border: 1px solid var(--g200);
    border-radius: 10px;
    color: var(--navy);
    background: #fff;
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
}

.decision-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -10px;
    z-index: 2;
    color: var(--orange-d);
    transform: translateY(-50%);
}

.process-list {
    display: grid;
    gap: 15px;
    counter-reset: method;
}

.process-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--g200);
    border-radius: var(--r);
    background: #fff;
    counter-increment: method;
}

.process-item::before {
    content: counter(method, decimal-leading-zero);
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--navy);
    font-weight: 900;
}

.process-item h3 {
    margin-bottom: 6px;
    color: var(--navy);
    font-size: 1.03rem;
}

.process-item p {
    color: var(--g600);
    font-size: .88rem;
    line-height: 1.72;
}

.evidence-standard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
    gap: 28px;
    align-items: start;
}

.evidence-status {
    padding: 24px;
    border: 1px solid #fde68a;
    border-radius: var(--r);
    background: var(--orange-xl);
}

.evidence-status strong {
    display: block;
    margin-bottom: 8px;
    color: #92400e;
}

.evidence-status p {
    color: var(--g600);
    font-size: .88rem;
    line-height: 1.72;
}

.founder-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 50px;
    align-items: center;
}

.founder-photo {
    overflow: hidden;
    border: 1px solid var(--g200);
    border-radius: 24px;
    background: var(--g100);
    box-shadow: var(--s-lg);
}

.founder-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}

.founder-fact {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #065f46;
    background: var(--green-l);
    font-size: .72rem;
    font-weight: 800;
}

.quote-box {
    margin: 22px 0;
    padding: 20px 22px;
    border-left: 4px solid var(--orange);
    border-radius: 0 var(--r) var(--r) 0;
    color: var(--navy);
    background: var(--orange-xl);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.7;
}

.legal-card {
    margin-top: 24px;
    padding: 20px 22px;
    border: 1px solid var(--g200);
    border-radius: var(--r);
    background: var(--g50);
    color: var(--g600);
    font-size: .82rem;
    line-height: 1.75;
}

.authority-select {
    width: 100%;
    min-height: 48px;
    padding: 12px 38px 12px 13px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 9px;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-size: 16px;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 12px;
    z-index: 2000;
    padding: 10px 14px;
    border-radius: 8px;
    color: #fff;
    background: var(--navy);
}

.skip-link:focus {
    top: 12px;
}

@media (max-width: 900px) {
    .trade-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .decision-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .decision-step:nth-child(3)::after {
        content: "";
    }

    .evidence-standard,
    .founder-layout {
        grid-template-columns: 1fr;
    }

    .founder-photo {
        max-width: 290px;
    }
}

@media (max-width: 640px) {
    .authority-hero {
        padding: 40px 0 48px;
    }

    .authority-section {
        padding: 50px 0;
    }

    .trade-cards,
    .fit-grid,
    .proof-grid,
    .definition-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .trade-card {
        min-height: auto;
    }

    .decision-flow {
        grid-template-columns: 1fr 1fr;
    }

    .decision-step:nth-child(3)::after {
        content: "→";
    }

    .decision-step:nth-child(2n)::after {
        content: "";
    }

    .process-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 13px;
        padding: 18px;
    }

    .process-item::before {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
}
