/* =====================================================================
   Page « Rejoignez notre réseau » (tpl/reseau.tpl.php)
   Reprend les variables et composants du site (style.css, network.css,
   intro.css, contact.css). Toutes les classes propres sont préfixées rj-.
   ===================================================================== */

.rj-section {
    padding: 60px 0;
}

.rj-intro {
    padding-top: 90px;
}

.rj-ic {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
}

.rj-lead {
    max-width: 820px;
    margin: 16px auto 0;
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--c-chapo);
}

.rj-text {
    margin-top: 24px;
}

.rj-text p {
    margin: 0 0 1rem;
}

.rj-small {
    font-size: .9375rem;
}

/* ---------------------------------------------------------- HERO */
.rj-hero.hero--intern {
    height: auto;
    min-height: 680px;
    display: flex;
    align-items: center;
}

.rj-hero .hero-media::after {
    background: linear-gradient(90deg, rgba(17, 58, 60, .92) 0%, rgba(29, 111, 152, .7) 55%, rgba(50, 82, 0, .45) 100%);
}

.rj-hero .hero-img {
    object-position: center 30%;
}

.rj-hero-in {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding-top: 175px;
    padding-bottom: 90px;
}

.rj-hero-text {
    max-width: 780px;
}

.rj-hero .hero-eyebrow {
    margin-bottom: 18px;
}

.rj-hero .hero-title {
    font-size: clamp(2rem, 2.2vw + 1.2rem, 3.75rem);
    line-height: 1.15;
}

.rj-hero-lead {
    margin: 10px 0 34px;
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--c-cream);
    opacity: .92;
}

.rj-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.rj-ctas .link-pill {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

/* Carte prix dans le hero */
.rj-hero-card {
    flex: 0 0 360px;
    padding: 32px 30px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #fff;
}

.rj-hero-card-k {
    margin: 0 0 12px;
    font-size: .875rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-green);
}

.rj-hero-card-price {
    margin: 0;
    font-size: 3.25rem;
    line-height: 1;
    font-weight: 700;
}

.rj-hero-card-price small {
    font-size: .45em;
    font-weight: 600;
}

.rj-hero-card-sub {
    margin: 6px 0 20px;
    font-size: 1.25rem;
    font-weight: 600;
}

.rj-hero-card ul {
    margin: 0;
    padding: 18px 0 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, .3);
}

.rj-hero-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px;
    line-height: 1.4;
}

.rj-hero-card li .rj-ic {
    margin-top: 2px;
    font-size: 1.125rem;
    color: var(--c-green);
}

.rj-hero-card-note {
    margin: 14px 0 0;
    font-size: .875rem;
    opacity: .8;
}

/* Bandeau chiffres clés qui chevauche le hero */
.rj-keys {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: -48px 0 0;
    padding: 0;
    list-style: none;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .08), 0 18px 30px rgba(0, 0, 0, .06);
}

.rj-keys li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 26px 24px;
    font-size: 1.0625rem;
    line-height: 1.35;
    color: var(--c-body);
}

.rj-keys li+li {
    border-left: 1px solid #ececec;
}

.rj-keys .rj-ic {
    font-size: 2.25rem;
    color: var(--c-teal);
}

.rj-keys b {
    color: var(--c-text);
}

/* ---------------------------------------------------------- Visuels */
.rj-visual {
    position: relative;
}

.rj-visual > img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.rj-visual--map {
    padding: 30px 30px 0;
    border-radius: var(--radius);
    background: var(--grad-soft);
}

.rj-visual--map > img {
    max-width: 460px;
    margin: 0 auto;
    border-radius: 0;
}

.rj-visual--photo > img {
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
}

.rj-visual--tall > img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 35%;
}

.rj-visual--tall .iso-badge {
    left: auto;
    top: auto;
    right: 0;
    bottom: 24px;
    margin: 0;
    width: 176px;
    height: 176px;
}

/* Anneau de texte agrandi jusqu'au bord du rond, logo central plus petit et dégagé */
.rj-visual--tall .iso-badge-ring {
    inset: 10px;
    width: 156px;
    height: 156px;
}

.rj-visual--tall .iso-badge-logo {
    width: 56px;
    bottom: 5px;
}

/* Encart flottant sur la photo « secteurs » */
.rj-float {
    position: absolute;
    left: 24px;
    bottom: -40px;
    max-width: 330px;
    padding: 22px 24px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1), 0 18px 30px rgba(0, 0, 0, .08);
}

.rj-float-t {
    margin: 0 0 10px;
    font-weight: 700;
    color: var(--c-text);
}

.rj-float ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rj-float li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    color: var(--c-body);
}

.rj-float .rj-ic {
    font-size: 1.25rem;
    color: var(--c-teal);
}

/* ---------------------------------------------------------- Pictogrammes ronds */
.rj-pic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(91, 187, 235, .18) 0%, rgba(174, 202, 50, .28) 100%);
    color: var(--c-blue-deep);
    font-size: 34px;
    flex: 0 0 auto;
    transition: transform .6s var(--ease-out), background-color .6s var(--ease-out);
}

.rj-pic--sm {
    width: 52px;
    height: 52px;
    font-size: 26px;
}

/* ---------------------------------------------------------- Cartes avantages */
.rj-benefits .soft-box {
    padding: 60px 40px;
}

.rj-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rj-cards li {
    margin: 0;
    padding: 30px 24px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .05);
    transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}

.rj-cards li:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.rj-cards li:hover .rj-pic {
    transform: scale(1.08) rotate(-4deg);
}

.rj-cards h3 {
    margin: 20px 0 8px;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--c-text);
}

.rj-cards p {
    margin: 0;
    color: var(--c-body);
    line-height: 1.5;
}

.rj-motto {
    margin-top: 40px;
    padding: 28px 30px;
    border-radius: var(--radius);
    background: var(--grad-network);
    color: #fff;
    text-align: center;
}

.rj-motto p {
    margin: 0 0 14px;
    font-size: 1.125rem;
}

.rj-motto ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rj-motto li {
    margin: 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2rem;
    line-height: 1.2;
}

/* ---------------------------------------------------------- Rôles */
.rj-roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.rj-role {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .06), 0 18px 30px rgba(0, 0, 0, .04);
    overflow: hidden;
}

.rj-role-img {
    margin: 0;
}

.rj-role-img img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.rj-role-body {
    flex: 1 1 auto;
    padding: 34px 36px;
    color: var(--c-body);
}

.rj-role h3 {
    margin: 16px 0 12px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--c-text);
}

.rj-role p {
    margin: 0 0 14px;
    line-height: 1.55;
}

.rj-role--network {
    background: var(--grad-network);
    color: #fff;
}

.rj-role--network .rj-role-body,
.rj-role--network h3 {
    color: #fff;
}

.rj-role--network .rj-pic {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.rj-role--network .rj-checks li::before {
    background-color: var(--c-green);
}

/* Liste à coches */
.rj-checks {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.rj-checks li {
    position: relative;
    margin: 0 0 9px;
    padding-left: 30px;
    line-height: 1.45;
}

.rj-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--c-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.rj-checks--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}

/* ---------------------------------------------------------- Étapes (5 colonnes) */
.rj-flow.steps-section {
    padding: 20px 0 40px;
}

.rj-steps-5 {
    grid-template-columns: repeat(5, 1fr);
}

.rj-steps-5 p {
    margin: 0;
    line-height: 1.5;
}

.rj-steps-5 strong {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 1.125rem;
}

/* ---------------------------------------------------------- Secteurs */
.rj-markets {
    padding-bottom: 100px;
}

.rj-markets .split {
    row-gap: 60px;
}

.rj-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 22px;
    padding: 0;
    list-style: none;
}

.rj-chips li {
    margin: 0;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(123, 193, 164, .6);
    background: rgba(123, 193, 164, .1);
    color: var(--c-ink-deep);
    font-weight: 600;
    font-size: .9375rem;
    transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}

.rj-chips li:hover {
    background: var(--c-teal);
    color: #fff;
}

/* ---------------------------------------------------------- Visibilité + formation */
.rj-duo {
    padding-top: 40px;
}

.rj-duo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.rj-panel {
    padding: 40px 38px;
    border-radius: var(--radius);
    background: var(--c-cream);
    border: 1px solid #eeebe4;
}

.rj-panel h2 {
    margin: 10px 0 20px;
    font-size: 2.25rem;
}

.rj-panel .rj-pic {
    display: flex;
    margin-bottom: 18px;
}

.rj-panel .bloc-text p {
    margin: 0 0 1rem;
}

.rj-panel .rj-checks {
    color: var(--c-body);
}

.rj-cities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.rj-cities li {
    margin: 0;
    padding: 14px 16px 14px 44px;
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237bc1a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6-6.5-11a6.5 6.5 0 0 1 13 0c0 5-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E") 14px center / 20px no-repeat;
    color: var(--c-body);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .04);
}

.rj-cities b {
    color: var(--c-text);
}

/* ---------------------------------------------------------- Offres et tarifs */
.rj-pricing {
    background: linear-gradient(180deg, #fff 0%, var(--c-cream) 30%, var(--c-cream) 100%);
}

.rj-zero {
    display: flex;
    align-items: center;
    gap: 34px;
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 30px 40px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .05);
}

.rj-zero-num {
    margin: 0;
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 800;
    background: var(--grad-logo);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--c-teal);
    flex: 0 0 auto;
}

.rj-zero h3 {
    margin: 0 0 8px;
    font-size: 1.625rem;
    font-weight: 700;
}

.rj-zero p {
    margin: 0;
    color: var(--c-body);
    line-height: 1.5;
}

.rj-tarifs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.rj-tarif {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 28px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid #e8e8e8;
    color: var(--c-body);
    transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}

.rj-tarif:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .09);
}

.rj-tarif .rj-pic {
    margin-bottom: 18px;
}

.rj-tarif-k {
    margin: 0 0 8px;
    font-size: .875rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-teal);
}

.rj-tarif-price {
    margin: 0;
    font-size: 2.25rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--c-text);
}

.rj-tarif-price small {
    font-size: .5em;
    font-weight: 600;
}

.rj-tarif-sub {
    margin: 8px 0 0;
    font-size: 1rem;
}

.rj-tarif--main {
    grid-column: span 3;
    padding: 40px 36px;
    border: 0;
    background: var(--grad-network);
    color: #fff;
    box-shadow: 0 14px 34px rgba(17, 58, 60, .2);
}

.rj-tarif--main .rj-pic {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.rj-tarif--main .rj-tarif-k {
    color: var(--c-green);
}

.rj-tarif--main .rj-tarif-price {
    font-size: 3.25rem;
    color: #fff;
}

.rj-tarif--main .rj-tarif-sub {
    font-size: 1.25rem;
    font-weight: 700;
}

.rj-tarifs-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
    padding: 26px 30px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px dashed var(--c-teal);
}

.rj-tarifs-cta p {
    margin: 0;
    max-width: 720px;
    color: var(--c-body);
    line-height: 1.5;
}

.rj-tarifs-cta .btn {
    flex: 0 0 auto;
}

/* ---------------------------------------------------------- Profils */
.rj-profiles .soft-box {
    padding: 60px 50px;
}

.rj-profiles h2 {
    margin: 10px 0 0;
}

.rj-profile-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 10px 0 26px;
    padding: 0;
    list-style: none;
}

.rj-profile-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 12px 16px 12px 12px;
    border-radius: 14px;
    background: #fff;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.3;
}

/* ---------------------------------------------------------- Parcours d'intégration */
.rj-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin: 0 0 50px;
    padding: 0;
    list-style: none;
}

.rj-timeline::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 32px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--c-green) 0 8px, transparent 8px 16px);
}

.rj-timeline li {
    position: relative;
    margin: 0;
    text-align: center;
    color: var(--c-body);
}

.rj-timeline-n {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--grad-logo);
    color: #fff;
    font-size: 1.625rem;
    font-weight: 800;
    box-shadow: 0 0 0 8px #fff;
}

.rj-timeline h3 {
    margin: 0 0 8px;
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--c-text);
}

.rj-timeline p {
    margin: 0;
    line-height: 1.5;
}

/* ---------------------------------------------------------- FAQ */
.rj-faq {
    padding-top: 30px;
}

.rj-faq-list {
    max-width: 980px;
    margin: 0 auto;
}

.rj-faq-list details {
    margin: 0 0 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e8e8e8;
    transition: border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.rj-faq-list details[open] {
    border-color: var(--c-teal);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
}

.rj-faq-list summary {
    position: relative;
    padding: 20px 60px 20px 24px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--c-text);
    cursor: pointer;
    list-style: none;
}

.rj-faq-list summary::-webkit-details-marker {
    display: none;
}

.rj-faq-list summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    border-radius: 50%;
    background: var(--c-green);
    color: #fff;
    font-size: 1.375rem;
    line-height: 30px;
    text-align: center;
    transition: transform .4s var(--ease-out), background-color .4s var(--ease-out);
}

.rj-faq-list details[open] summary::after {
    transform: rotate(45deg);
    background: var(--c-teal);
}

.rj-faq-list details p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--c-body);
    line-height: 1.55;
}

/* ---------------------------------------------------------- Candidature */
.rj-apply {
    padding-top: 40px;
}

.rj-apply-box {
    padding: 60px 50px;
}

.rj-apply-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 50px;
    align-items: center;
}

.rj-apply-intro h2 {
    padding-bottom: 18px;
}

.rj-apply-intro>p {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #fff;
}

.rj-apply-points {
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
}

.rj-apply-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
}

.rj-apply-points .rj-ic {
    width: 28px;
    height: 28px;
    padding: 5px;
    border-radius: 50%;
    background: var(--c-green);
    color: #fff;
}

.rj-apply-phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    line-height: 1.3;
    transition: background-color .4s var(--ease-out);
}

.rj-apply-phone:hover {
    background: rgba(255, 255, 255, .26);
    color: #fff;
}

.rj-apply-phone .rj-ic {
    font-size: 30px;
    color: var(--c-green);
}

.rj-apply-phone b {
    font-size: 1.25rem;
}

/* Le formulaire reprend l'habillage de la page contact (.contact-page .contact-form) */
.contact-page.rj-form-wrap {
    padding: 44px 36px 36px;
    border-radius: var(--radius);
    background: #fff;
    color: var(--c-body);
}

.rj-form-t {
    margin: 0 0 34px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-text);
}

.contact-page .contact-form.rj-form .form-row select {
    display: block;
    width: 100%;
    height: 52px;
    padding: 14px 20px 10px;
    border: 1px solid var(--c-body);
    border-radius: 10px;
    background: #fff;
    font: inherit;
    color: var(--c-dark);
}

.contact-page .contact-form.rj-form .form-row select:focus {
    outline: none;
    border-color: var(--c-green);
    box-shadow: 0 0 0 3px rgba(174, 202, 50, .2);
}

.contact-page .contact-form.rj-form .form-row textarea {
    height: 140px;
}

.contact-page .contact-form.rj-form .form-row:has(#cf-phone),
.contact-page .contact-form.rj-form .form-row:has(#cf-email) {
    width: 50%;
}

.contact-page .contact-form.rj-form .btn-contact.btn {
    min-height: 64px;
    font-size: 1.125rem;
    line-height: 26px;
    max-width: none;
}

.contact-page .contact-form.rj-form .btn-contact .btn-ic {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
}

.contact-page .contact-form.rj-form .btn-contact .btn-ic .ic {
    width: 13px;
    height: 13px;
}

.contact-page .contact-form.rj-form .form-submit {
    flex-wrap: wrap;
}

/* ===================================================================== Responsive */
@media (max-width: 1199.98px) {
    .rj-hero-card {
        flex-basis: 320px;
    }

    .rj-cards--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .rj-steps-5 {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 40px;
    }

    .rj-steps-5 li:nth-child(4)::before {
        display: none;
    }

    .rj-apply-grid {
        grid-template-columns: 1fr;
    }

    .rj-timeline {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 40px;
    }

    .rj-timeline::before {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .rj-tarifs {
        grid-template-columns: 1fr 1fr;
    }

    .rj-tarif--main {
        grid-column: span 1;
    }

    .rj-tarif {
        grid-column: span 1;
    }

    .rj-tarif:last-child {
        grid-column: 1 / -1;
    }

    .rj-section {
        padding: 60px 0;
    }

    .rj-hero-in {
        flex-direction: column;
        align-items: flex-start;
        gap: 34px;
        padding-top: 150px;
        padding-bottom: 90px;
    }

    .rj-hero-card {
        flex-basis: auto;
        width: 100%;
        max-width: 460px;
    }

    .rj-keys {
        grid-template-columns: 1fr 1fr;
    }

    .rj-keys li:nth-child(3) {
        border-left: 0;
    }

    .rj-keys li:nth-child(n+3) {
        border-top: 1px solid #ececec;
    }

    .rj-roles-grid,
    .rj-duo-grid {
        grid-template-columns: 1fr;
    }

    .rj-float {
        position: relative;
        left: auto;
        bottom: auto;
        max-width: none;
        margin: -40px 16px 0;
    }

    .rj-visual--tall {
        max-width: 460px;
        margin: 0 auto 30px;
    }

    .rj-visual--tall .iso-badge {
        right: -10px;
    }

    .rj-visual--map {
        max-width: 520px;
        margin: 0 auto 30px;
    }
}

@media (max-width: 767.98px) {
    .rj-hero.hero--intern {
        min-height: 0;
    }

    .rj-hero-in {
        padding-top: 130px;
        padding-bottom: 80px;
    }

    .rj-hero-lead {
        font-size: 1.125rem;
    }

    .rj-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .rj-ctas .btn,
    .rj-ctas .link-pill {
        justify-content: space-between;
    }

    .rj-keys {
        margin-top: -40px;
    }

    .rj-keys li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 18px 16px;
        font-size: .9375rem;
    }

    .rj-benefits .soft-box,
    .rj-profiles .soft-box,
    .rj-apply-box {
        padding: 40px 18px;
    }

    .rj-cards--4 {
        grid-template-columns: 1fr;
    }

    .rj-cards li {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 16px;
        padding: 22px 18px;
    }

    .rj-cards li .rj-pic {
        grid-row: span 2;
        width: 56px;
        height: 56px;
        font-size: 26px;
    }

    .rj-cards h3 {
        margin: 0 0 4px;
        font-size: 1.125rem;
    }

    .rj-motto li {
        font-size: 1.5rem;
    }

    .rj-role-body,
    .rj-panel {
        padding: 28px 20px;
    }

    .rj-panel h2 {
        font-size: 1.75rem;
    }

    .rj-checks--2,
    .rj-cities,
    .rj-profile-list {
        grid-template-columns: 1fr;
    }

    .rj-steps-5 {
        grid-template-columns: 1fr;
    }

    .rj-steps-5 li+li::before {
        display: none;
    }

    .rj-zero {
        flex-direction: column;
        gap: 10px;
        padding: 26px 20px;
        text-align: center;
    }

    .rj-zero-num {
        font-size: 4rem;
    }

    .rj-tarifs {
        grid-template-columns: 1fr;
    }

    .rj-tarif,
    .rj-tarif--main {
        grid-column: auto;
        padding: 28px 22px;
    }

    .rj-tarif--main .rj-tarif-price {
        font-size: 2.5rem;
    }

    .rj-tarifs-cta {
        flex-direction: column;
        align-items: stretch;
        padding: 22px 18px;
    }

    .rj-tarifs-cta .btn {
        justify-content: space-between;
    }

    .rj-timeline {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: left;
    }

    .rj-timeline li {
        display: grid;
        grid-template-columns: 56px 1fr;
        column-gap: 16px;
        padding-bottom: 26px;
        text-align: left;
    }

    .rj-timeline li:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 27px;
        top: 56px;
        bottom: 0;
        width: 2px;
        background: repeating-linear-gradient(180deg, var(--c-green) 0 6px, transparent 6px 12px);
    }

    .rj-timeline-n {
        grid-row: span 2;
        width: 56px;
        height: 56px;
        margin: 0;
        font-size: 1.375rem;
        box-shadow: none;
    }

    .rj-faq-list summary {
        padding: 16px 54px 16px 18px;
        font-size: 1rem;
    }

    .contact-page.rj-form-wrap {
        padding: 34px 16px 20px;
    }

    .contact-page .contact-form.rj-form .form-row:has(#cf-phone),
    .contact-page .contact-form.rj-form .form-row:has(#cf-email) {
        width: 100%;
    }

    .rj-apply-phone {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .rj-steps-5 li {
        text-align: center;
    }
}
