/*
 * R&D&I 2026 — information page, homepage slide and navigation item.
 * Additive stylesheet: every selector is namespaced with "rdi-" so nothing here can
 * affect the existing pages. Loaded after innovation/css/style.css.
 *
 * Replacing visuals later: the hero image is injected through the --rdi-hero-image
 * custom property (see rdi_2026.html) and the slide image is a plain <img> in index.html.
 */

/*** Tokens ***/
:root {
    --rdi-deep-950: #03231f;
    --rdi-deep-900: #04302b;
    --rdi-deep-800: #07463f;
    --rdi-teal-700: #0b7a6c;      /* text-safe teal on white (≥ 5:1) */
    --rdi-teal-500: #15D1BB;      /* site primary */
    --rdi-teal-300: #7DF3E2;
    --rdi-teal-100: #E3FAF6;
    --rdi-mist: #F3FBF9;
    --rdi-line: #D7ECE7;
    --rdi-ink: #12312d;
    --rdi-muted: #4a6460;
    --rdi-radius: 18px;
    --rdi-shadow: 0 10px 30px rgba(7, 70, 63, .08);
    --rdi-shadow-lg: 0 18px 44px rgba(7, 70, 63, .16);
}


/*** Navigation item (homepage + page) ***/
.navbar .navbar-nav .nav-link.rdi-nav-link {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
    line-height: 1.2;
}

.navbar .navbar-nav .nav-link.rdi-nav-link:focus-visible {
    outline: 2px solid var(--rdi-teal-700);
    outline-offset: 4px;
    border-radius: 4px;
}

.rdi-nav-pill {
    display: inline-block;
    padding: 2px 9px;
    border: 1px solid #B6EBE1;
    border-radius: 999px;
    background: var(--rdi-teal-100);
    color: var(--rdi-teal-700);
    font-family: "Open Sans", sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.5;
    white-space: nowrap;
}

/* The public navbar now holds nine items, so it collapses into the hamburger menu below
   1200px (navbar-expand-xl) instead of 992px. style.css only restyles the collapsed list
   below 992px, so the 992–1199px range is completed here. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar.navbar-expand-xl .navbar-nav { padding: 1.5rem !important; border-top: 1px solid #EEEEEE; }
    .navbar.navbar-expand-xl .navbar-nav .nav-link { margin-right: 0; padding: 10px 0; }
}

/* Desktop: scale the link spacing with the viewport so nine items fit and the
   "Se connecter" / "Mon compte" button is never squeezed. */
@media (min-width: 1200px) {
    .navbar .navbar-nav .nav-link { margin-right: clamp(14px, 1.8vw, 35px); }

    /* The login button always fills the full height of the bar (no empty strip under it),
       and the stacked "R&D&I 2026" item is compact enough not to make the bar taller. */
    .navbar .navbar-nav > a.btn,
    .navbar .navbar-collapse > a.btn {
        flex: 0 0 auto;
        align-self: stretch;
        height: auto;
        display: flex !important;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .navbar .navbar-nav .nav-link.rdi-nav-link { padding-top: 16px; padding-bottom: 16px; }

    /* every link is at least as tall as the logo block, with its label vertically centred */
    .navbar .navbar-nav > .nav-link { min-height: 80px; }
    .navbar .navbar-nav > .nav-link:not(.rdi-nav-link) { display: flex; align-items: center; }
}

/* Small laptops (1200–1399px): slightly more compact menu so nothing overflows. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar.navbar-expand-xl .navbar-brand { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
    .navbar.navbar-expand-xl .navbar-nav .nav-link { font-size: 16px; margin-right: 14px; }
    .navbar.navbar-expand-xl .navbar-nav > a.btn,
    .navbar.navbar-expand-xl .navbar-collapse > a.btn { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
}

/* Touch targets: comfortable hit area for the small links of the shared footer. */
@media (max-width: 991.98px) {
    .footer .btn.btn-link { padding-top: .45rem; padding-bottom: .45rem; margin-bottom: 0; }
    .copyright a { display: inline-block; padding: .4rem 0; }
}

@media (max-width: 1199.98px) {
    .navbar .navbar-nav .nav-link.rdi-nav-link {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        line-height: 1.5;
    }
}


/*** Homepage slide (first slide of #header-carousel) ***/
.rdi-slide { overflow: hidden; background: var(--rdi-deep-900); }

/* photo blended into the network background: duotone teal + soft fade towards the text side */
.rdi-slide__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 48%;
    overflow: hidden;
    background: linear-gradient(160deg, #1fe3ca 0%, #0b7a6c 75%);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%);
}

#header-carousel .rdi-slide .rdi-slide__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 38% 42%;
    filter: grayscale(1) contrast(1.12);
    mix-blend-mode: multiply;
}

.rdi-slide__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(3, 35, 31, .6) 0%, rgba(3, 35, 31, 0) 48%),
        linear-gradient(135deg, rgba(125, 243, 226, .28) 0%, rgba(125, 243, 226, 0) 55%);
}

.rdi-slide.active .rdi-slide__photo img { animation: rdi-zoom 9s ease-out both; }

/* Layers of this slide, bottom to top: network image, photo (decorative), dark gradient overlay (caption
   background, z-index 1 from style.css), glass chips (decorative), arrows (z-index 3 in style.css).
   Photo, chips and the caption overlay never intercept the pointer; only the CTA does. */
.rdi-slide .carousel-caption {
    background: linear-gradient(90deg, rgba(3, 35, 31, .9) 0%, rgba(3, 35, 31, .74) 36%, rgba(3, 35, 31, .12) 68%, rgba(3, 35, 31, 0) 100%);
    text-align: left;
}

/* floating glass chips (decorative) */
.rdi-slide__chips {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 48%;
    z-index: 2;
    pointer-events: none;
}

.rdi-slide__chip {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 20px;
    background: rgba(255, 255, 255, .14);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 1.6rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: rdi-float 5s ease-in-out infinite;
}

.rdi-slide__chip--chart { top: 22%; left: 16%; }
.rdi-slide__chip--idea  { top: 14%; right: 14%; width: 76px; height: 76px; font-size: 1.8rem; color: #04302b; background: linear-gradient(145deg, #7DF3E2, #15D1BB); border-color: rgba(255, 255, 255, .7); animation-delay: -1.6s; }
.rdi-slide__chip--qr    { bottom: 18%; left: 34%; animation-delay: -3.1s; }

/* text block */
.rdi-slide__text { padding-left: 4.5rem; }

.rdi-slide.active .rdi-slide__text > * { animation: rdi-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.rdi-slide.active .rdi-slide__text > :nth-child(2) { animation-delay: .12s; }
.rdi-slide.active .rdi-slide__text > :nth-child(3) { animation-delay: .24s; }
.rdi-slide.active .rdi-slide__text > :nth-child(4) { animation-delay: .38s; }

.rdi-slide-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 7px 18px 7px 14px;
    border-radius: 999px;
    background: linear-gradient(100deg, #15D1BB 0%, #7DF3E2 45%, #15D1BB 90%) 0 0 / 220% 100%;
    color: var(--rdi-deep-900);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .05em;
    animation: rdi-shimmer 3.2s linear infinite, rdi-ring 2.6s ease-out infinite;
}

.rdi-slide-badge .fa-star { font-size: .8em; }

.rdi-slide-title {
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(1.9rem, 3.4vw, 3.6rem);
    line-height: 1.1;
    text-shadow: 0 2px 24px rgba(3, 35, 31, .45);
}

.rdi-gradient-text {
    color: var(--rdi-teal-300);
    background: linear-gradient(90deg, #7DF3E2, #15D1BB 50%, #7DF3E2) 0 0 / 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rdi-shimmer 5s linear infinite;
}

.rdi-slide-text {
    max-width: 34rem;
    margin: 0 0 2rem;
    color: #E4F8F4;
    font-family: "Jost", sans-serif;
    font-size: clamp(1rem, 1.55vw, 1.45rem);
    font-weight: 500;
    line-height: 1.5;
}

.btn.rdi-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 0;
    background: var(--rdi-teal-500);
    color: var(--rdi-deep-900);
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(21, 209, 187, .35);
}

.btn.rdi-slide-cta:hover,
.btn.rdi-slide-cta:focus-visible { background: var(--rdi-teal-300); color: var(--rdi-deep-900); transform: translateY(-2px); }
.btn.rdi-slide-cta .fa-arrow-right { transition: transform .3s; }
.btn.rdi-slide-cta:hover .fa-arrow-right { transform: translateX(4px); }

/* tablets and phones: photo becomes a soft backdrop, text is centred */
@media (max-width: 991.98px) {
    .rdi-slide__photo {
        width: 100%;
        opacity: .55;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .rdi-slide__chips { display: none; }

    .rdi-slide .carousel-caption {
        background: radial-gradient(ellipse at center, rgba(3, 35, 31, .76) 0%, rgba(3, 35, 31, .46) 100%);
        text-align: center;
    }

    .rdi-slide__text { padding-left: .75rem; }
    .rdi-slide-text { margin-left: auto; margin-right: auto; }
    .rdi-slide-title { font-size: clamp(1.9rem, 7vw, 3rem); }
    .rdi-slide-text { font-size: clamp(1rem, 3.2vw, 1.3rem); margin-bottom: 1.4rem; }
}

@media (max-width: 768px) {
    .rdi-slide-badge { margin-bottom: 12px; padding: 5px 14px 5px 12px; font-size: .85rem; }
}

@keyframes rdi-rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

@keyframes rdi-zoom {
    from { transform: scale(1.12); }
    to   { transform: scale(1); }
}

@keyframes rdi-shimmer {
    from { background-position: 0 0; }
    to   { background-position: -220% 0; }
}

@keyframes rdi-ring {
    0%   { box-shadow: 0 0 0 0 rgba(21, 209, 187, .55); }
    70%  { box-shadow: 0 0 0 14px rgba(21, 209, 187, 0); }
    100% { box-shadow: 0 0 0 0 rgba(21, 209, 187, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .rdi-slide.active .rdi-slide__photo img,
    .rdi-slide.active .rdi-slide__text > *,
    .rdi-slide__chip,
    .rdi-slide-badge,
    .rdi-gradient-text { animation: none; }
}


/*** Page shell ***/
.rdi-page {
    color: var(--rdi-ink);
    background: #fff;
}

.rdi-page main { display: block; }

.rdi-skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100000;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--rdi-deep-900);
    color: #fff;
    font-weight: 600;
    transition: top .2s;
}

.rdi-skip:focus { top: 12px; color: #fff; }

.rdi-page a:focus-visible,
.rdi-page button:focus-visible {
    outline: 3px solid var(--rdi-teal-500);
    outline-offset: 3px;
}

.rdi-page .rdi-hero a:focus-visible,
.rdi-page .rdi-soon a:focus-visible,
.rdi-page .rdi-soon button:focus-visible {
    outline-color: #fff;
}

.rdi-page .back-to-top.is-visible { display: flex; }


/*** Hero ***/
.rdi-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 96px;
    color: #fff;
    background:
        linear-gradient(100deg, rgba(3, 35, 31, .94) 0%, rgba(4, 48, 43, .78) 46%, rgba(7, 70, 63, .3) 100%),
        var(--rdi-hero-image) center / cover no-repeat,
        var(--rdi-deep-900);
}

.rdi-hero__year {
    position: absolute;
    right: -1vw;
    bottom: -4.5vw;
    font-family: "Jost", sans-serif;
    font-size: clamp(8rem, 26vw, 24rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(125, 243, 226, .18);
    pointer-events: none;
    user-select: none;
}

.rdi-hero__inner { position: relative; z-index: 1; }

.rdi-breadcrumb {
    margin-bottom: 56px;
    padding: 0;
    background: none;
    font-size: .95rem;
}

.rdi-breadcrumb .breadcrumb-item,
.rdi-breadcrumb .breadcrumb-item a { color: #D5F5EF; }

/* larger hit area without changing the layout */
.rdi-breadcrumb .breadcrumb-item a { display: inline-block; padding: .6rem 0; margin: -.6rem 0; }

.rdi-breadcrumb .breadcrumb-item a:hover { color: #fff; text-decoration: underline; }

.rdi-breadcrumb .breadcrumb-item.active { color: #fff; font-weight: 600; }

.rdi-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--rdi-teal-300); }

.rdi-status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 8px 18px 8px 14px;
    border: 1px solid rgba(125, 243, 226, .55);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .03em;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.rdi-status__dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rdi-teal-300);
}

.rdi-status__dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--rdi-teal-300);
    opacity: 0;
    animation: rdi-pulse 2.4s ease-out infinite;
}

.rdi-hero__title {
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(2.2rem, 5.2vw, 4rem);
    line-height: 1.08;
}

.rdi-hero__title span { color: var(--rdi-teal-300); }

.rdi-hero__lead {
    max-width: 38rem;
    margin-bottom: 36px;
    color: #E4F8F4;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.7;
}

.rdi-figures {
    padding: 28px;
    border: 1px solid rgba(125, 243, 226, .35);
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.rdi-figures__title {
    margin: 0 0 18px;
    color: var(--rdi-teal-300);
    font-family: "Jost", sans-serif;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rdi-figures__list { margin: 0; padding: 0; list-style: none; }

.rdi-figures__list li { display: flex; align-items: center; gap: 20px; padding: 16px 0; }

.rdi-figures__list li + li { border-top: 1px solid rgba(255, 255, 255, .16); }

.rdi-figures__value {
    flex: 0 0 8.5rem;
    color: #fff;
    font-family: "Jost", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1;
}

.rdi-figures__label { color: #D5F5EF; font-size: .98rem; line-height: 1.45; }

@media (max-width: 575.98px) {
    .rdi-hero { padding-bottom: 72px; }
    .rdi-breadcrumb { margin-bottom: 36px; }
    .rdi-figures { padding: 20px; }
    .rdi-figures__list li { flex-direction: column; align-items: flex-start; gap: 6px; }
    .rdi-figures__value { flex-basis: auto; }
}


/*** Buttons ***/
.rdi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.rdi-btn--light { background: #fff; color: var(--rdi-deep-800); }
.rdi-btn--light:hover { background: var(--rdi-teal-100); color: var(--rdi-deep-900); transform: translateY(-2px); }

.rdi-btn--ghost { border-color: rgba(255, 255, 255, .7); background: transparent; color: #fff; }
.rdi-btn--ghost:hover { background: #fff; color: var(--rdi-deep-800); transform: translateY(-2px); }

.rdi-btn--primary { background: var(--rdi-teal-500); color: var(--rdi-deep-900); }
.rdi-btn--primary:hover { background: var(--rdi-teal-300); color: var(--rdi-deep-900); transform: translateY(-2px); }

.rdi-btn--disabled,
.rdi-btn--disabled:hover {
    border: 2px dashed rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    cursor: not-allowed;
    transform: none;
    opacity: .92;
}


/*** Sections ***/
.rdi-section { padding: 96px 0; }
.rdi-section--mist { background: var(--rdi-mist); }

.rdi-section__head { max-width: 44rem; margin: 0 auto 56px; text-align: center; }

.rdi-eyebrow {
    margin-bottom: 10px;
    color: var(--rdi-teal-700);
    font-family: "Jost", sans-serif;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.rdi-section__title {
    margin-bottom: 14px;
    color: var(--rdi-deep-900);
    font-size: clamp(1.9rem, 3.6vw, 2.75rem);
    line-height: 1.15;
}

.rdi-section__lead { margin: 0; color: var(--rdi-muted); font-size: 1.1rem; line-height: 1.7; }

@media (max-width: 767.98px) {
    .rdi-section { padding: 64px 0; }
    .rdi-section__head { margin-bottom: 36px; }
}


/*** Information cards ***/
.rdi-card {
    position: relative;
    height: 100%;
    padding: 32px 28px 30px;
    overflow: hidden;
    border: 1px solid var(--rdi-line);
    border-radius: var(--rdi-radius);
    background: #fff;
    box-shadow: var(--rdi-shadow);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.rdi-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--rdi-teal-500), var(--rdi-teal-300));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.rdi-card:hover { transform: translateY(-6px); border-color: #B6EBE1; box-shadow: var(--rdi-shadow-lg); }
.rdi-card:hover::before { transform: scaleX(1); }

.rdi-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--rdi-teal-100), #C7F4EC);
    color: var(--rdi-teal-700);
    font-size: 1.5rem;
}

.rdi-card__title { margin-bottom: 10px; color: var(--rdi-deep-900); font-size: 1.3rem; }

.rdi-card__text { margin: 0; color: var(--rdi-muted); line-height: 1.7; }

.rdi-note {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    padding: 28px 32px;
    border: 1px solid #B6EBE1;
    border-radius: var(--rdi-radius);
    background: linear-gradient(120deg, var(--rdi-teal-100), #fff);
}

.rdi-note .rdi-icon { flex: 0 0 auto; margin: 0; background: #fff; }
.rdi-note__title { margin: 0 0 6px; color: var(--rdi-deep-900); font-size: 1.2rem; }
.rdi-note__text { margin: 0; color: var(--rdi-muted); line-height: 1.7; }

@media (max-width: 575.98px) {
    .rdi-note { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
}


/*** Timeline ***/
.rdi-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rdi-step { position: relative; padding-top: 4px; text-align: center; }

.rdi-step::before {
    content: "";
    position: absolute;
    top: 38px;
    left: calc(50% + 46px);
    width: calc(100% + 28px - 92px);
    height: 0;
    border-top: 2px dashed #9ADFD2;
}

.rdi-step:last-child::before { display: none; }

.rdi-step__badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--rdi-teal-500), var(--rdi-teal-700));
    box-shadow: 0 0 0 8px var(--rdi-teal-100), 0 12px 24px rgba(11, 122, 108, .3);
    color: #fff;
    font-size: 1.6rem;
    transition: transform .3s ease;
}

.rdi-step:hover .rdi-step__badge { transform: scale(1.06); }

.rdi-step__index {
    display: block;
    margin-bottom: 6px;
    color: var(--rdi-teal-700);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rdi-step__title { margin-bottom: 8px; color: var(--rdi-deep-900); font-size: 1.2rem; }
.rdi-step__text { margin: 0 auto; max-width: 16rem; color: var(--rdi-muted); font-size: .98rem; line-height: 1.6; }

@media (max-width: 991.98px) {
    .rdi-timeline { grid-template-columns: 1fr; gap: 0; }

    .rdi-step { padding: 0 0 36px 104px; text-align: left; }
    .rdi-step:last-child { padding-bottom: 0; }

    .rdi-step__badge { position: absolute; left: 0; top: 0; margin: 0; width: 68px; height: 68px; font-size: 1.4rem; }

    .rdi-step::before {
        top: 76px;
        left: 33px;
        width: 0;
        height: calc(100% - 76px);
        border-top: 0;
        border-left: 2px dashed #9ADFD2;
    }

    .rdi-step__text { margin: 0; max-width: none; }
}


/*** "Bientôt disponible" panel ***/
.rdi-soon { padding: 0 0 96px; }

.rdi-soon__panel {
    position: relative;
    overflow: hidden;
    padding: 72px 32px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(3, 35, 31, .93), rgba(7, 70, 63, .82)),
        var(--rdi-hero-image) center / cover no-repeat,
        var(--rdi-deep-900);
    color: #fff;
    text-align: center;
    box-shadow: var(--rdi-shadow-lg);
}

.rdi-soon__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 24px;
    border: 1px solid rgba(125, 243, 226, .55);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: var(--rdi-teal-300);
    font-size: 2rem;
    animation: rdi-float 4s ease-in-out infinite;
}

.rdi-soon .rdi-eyebrow { color: var(--rdi-teal-300); }

.rdi-soon__title { margin-bottom: 16px; color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); }

.rdi-soon__text {
    max-width: 38rem;
    margin: 0 auto 36px;
    color: #E4F8F4;
    font-size: 1.15rem;
    line-height: 1.7;
}

.rdi-soon__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

@media (max-width: 575.98px) {
    .rdi-soon { padding-bottom: 64px; }
    .rdi-soon__panel { padding: 48px 20px; border-radius: 22px; }
    .rdi-soon__actions .rdi-btn { width: 100%; }
}


/*** Motion ***/
.rdi-js .rdi-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--rdi-delay, 0s);
}

.rdi-js .rdi-reveal.is-visible { opacity: 1; transform: none; }

@keyframes rdi-pulse {
    0%   { opacity: .8; transform: scale(.6); }
    80%, 100% { opacity: 0; transform: scale(1.7); }
}

@keyframes rdi-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
    .rdi-js .rdi-reveal { opacity: 1; transform: none; transition: none; }
    .rdi-status__dot::after,
    .rdi-soon__icon { animation: none; }
    .rdi-card,
    .rdi-card::before,
    .rdi-step__badge,
    .rdi-btn { transition: none; }
    .rdi-card:hover,
    .rdi-btn:hover { transform: none; }
}
