/* HortiDB — page d'accueil / préinscription */

.portal-body--landing,
.portal-body--beta,
.portal-body--auth {
    position: relative;
    background:
        radial-gradient(ellipse 90% 55% at 50% -8%, rgba(82, 183, 136, 0.14) 0%, transparent 58%),
        radial-gradient(ellipse 70% 45% at 100% 35%, rgba(45, 106, 79, 0.07) 0%, transparent 52%),
        radial-gradient(ellipse 60% 40% at 0% 75%, rgba(45, 106, 79, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #f7faf8 0%, #f2f7f4 42%, #edf3ef 100%);
    color: #1a2e24;
}

.portal-botanical-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.portal-botanical-bg__pattern {
    position: absolute;
    inset: 0;
    background-image: url('../images/portal-leaf-pattern.svg');
    background-size: 200px 200px;
    opacity: 0.38;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.2) 100%);
}

.portal-botanical-bg__cluster {
    position: absolute;
    width: min(42vw, 22rem);
    height: min(42vw, 22rem);
    background: url('../images/portal-leaf-cluster.svg') no-repeat center / contain;
    opacity: 0.09;
}

.portal-botanical-bg__cluster--tl {
    top: -4rem;
    left: -5rem;
    transform: rotate(-18deg);
}

.portal-botanical-bg__cluster--br {
    right: -6rem;
    bottom: 8%;
    transform: rotate(24deg) scale(1.15);
}

.portal-body--landing .portal-header--landing,
.portal-body--beta .portal-header--landing,
.portal-body--auth .portal-header--landing,
.portal-body--landing .portal-main--landing,
.portal-body--beta .portal-main--landing,
.portal-body--auth .portal-main--auth,
.portal-body--landing .portal-footer,
.portal-body--beta .portal-footer,
.portal-body--auth .portal-footer,
.portal-body--landing .portal-site-footer,
.portal-body--beta .portal-site-footer,
.portal-body--auth .portal-site-footer,
.portal-body--jardins .portal-site-footer {
    position: relative;
    z-index: 1;
}

.portal-main--landing {
    max-width: 1120px;
    padding: 0 1.5rem 4rem;
}

.portal-header--landing {
    background: rgba(247, 250, 248, 0.88);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom-color: rgba(27, 67, 50, 0.1);
}

.landing-hero {
    position: relative;
    padding: 3rem 0 2rem;
    overflow: hidden;
}

.landing-hero::before,
.landing-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    background: url('../images/portal-leaf-cluster.svg') no-repeat center / contain;
    opacity: 0.1;
}

.landing-hero::before {
    width: 9rem;
    height: 9rem;
    left: -2.5rem;
    bottom: 18%;
    transform: rotate(-28deg);
}

.landing-hero::after {
    width: 7rem;
    height: 7rem;
    right: 8%;
    top: 0.5rem;
    transform: rotate(42deg);
    opacity: 0.07;
}

.landing-hero__glow {
    position: absolute;
    top: -4rem;
    right: -6rem;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.14) 0%, transparent 68%);
    pointer-events: none;
}

.landing-hero__layout {
    position: relative;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 920px) {
    .landing-hero__layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(200px, 280px);
        gap: 3rem;
    }
}

.landing-hero__brand {
    margin-bottom: 1rem;
}

.landing-hero__brand-icon {
    display: block;
    border-radius: 22%;
    box-shadow: 0 8px 28px rgba(27, 67, 50, 0.22);
}

.landing-hero__logo-ring {
    box-shadow: 0 8px 28px rgba(27, 67, 50, 0.18);
}

.landing-hero__eyebrow {
    margin: 0 0 0.85rem;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #3d6b54;
    font-weight: 700;
}

.landing-hero__title {
    margin: 0 0 1rem;
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(2.15rem, 5.5vw, 3.25rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f291c;
}

.landing-hero__lead {
    margin: 0 0 1.25rem;
    font-size: 1.15rem;
    line-height: 1.55;
    max-width: 34rem;
    color: #2a4034;
}

.landing-hero__hosting {
    margin: 0 0 1.85rem;
    padding: 0 0 0 1rem;
    border-left: 3px solid #2d6a4f;
    font-size: 1.02rem;
    line-height: 1.55;
    color: #1f3829;
    font-style: normal;
    max-width: 34rem;
}

.landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.landing-hero__actions .btn--lg {
    padding: 0.75rem 1.35rem;
    font-size: 1rem;
    min-width: 12rem;
}

.landing-hero__visual {
    display: flex;
    justify-content: center;
}

.landing-hero__visual .portal-phone-stack {
    width: min(100%, 250px);
    filter: drop-shadow(0 28px 48px rgba(15, 41, 28, 0.22));
}

.landing-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.5rem;
    margin: 2.5rem 0 0;
    padding: 1.1rem 1.25rem;
    list-style: none;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(27, 67, 50, 0.1);
    box-shadow: 0 4px 20px rgba(27, 67, 50, 0.04);
}

.landing-trust li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1f3829;
}

.landing-trust__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: #e8f5ec;
    color: #1b4332;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.landing-section {
    margin-top: 4rem;
    scroll-margin-top: 5.5rem;
}

.landing-section__head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2rem;
}

.landing-section__eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #3d6b54;
    font-weight: 700;
}

.landing-section__title {
    margin: 0 0 0.65rem;
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    font-weight: 700;
    color: #0f291c;
}

.landing-section__lead {
    margin: 0;
    line-height: 1.55;
    color: #3a5244;
    font-size: 1.02rem;
}

.landing-section__lead--center {
    margin-left: auto;
    margin-right: auto;
}

.landing-panel {
    padding: 2rem 1.75rem;
    border-radius: 18px;
    border: 1px solid rgba(27, 67, 50, 0.1);
    background: #fff;
    box-shadow: 0 10px 36px rgba(27, 67, 50, 0.06);
}

.landing-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.landing-why-card {
    padding: 1.25rem 1.2rem 1.15rem;
    border-radius: 14px;
    border: 1px solid rgba(27, 67, 50, 0.09);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.landing-why-card:hover {
    border-color: rgba(45, 106, 79, 0.35);
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.07);
}

.landing-why-card__icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.landing-why-card__title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f291c;
}

.landing-why-card__hint {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #4a6356;
}

.landing-public-gardens {
    display: grid;
    gap: 1.75rem;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(27, 67, 50, 0.1);
    background: linear-gradient(135deg, #fff 0%, #f5faf7 100%);
    box-shadow: 0 12px 36px rgba(27, 67, 50, 0.07);
}

@media (min-width: 860px) {
    .landing-public-gardens {
        grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
        align-items: center;
        gap: 2rem;
        padding: 2.25rem 2rem;
    }
}

.landing-public-gardens__copy .landing-section__title {
    text-align: left;
}

.landing-public-gardens__copy .landing-section__lead {
    margin-top: 0.5rem;
}

.landing-public-gardens__points {
    margin: 1.15rem 0 1.35rem;
    padding-left: 1.15rem;
    line-height: 1.6;
    color: #2a4034;
}

.landing-public-gardens__points li {
    margin-bottom: 0.5rem;
}

.landing-public-gardens__points li:last-child {
    margin-bottom: 0;
}

.landing-public-gardens__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.landing-public-gardens__preview {
    display: grid;
    gap: 0.75rem;
}

.landing-public-gardens__card {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    grid-template-rows: auto auto;
    gap: 0.15rem 0.85rem;
    align-items: center;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(27, 67, 50, 0.1);
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.landing-public-gardens__card:hover {
    border-color: rgba(45, 106, 79, 0.35);
    box-shadow: 0 6px 18px rgba(27, 67, 50, 0.08);
}

.landing-public-gardens__card-media {
    grid-row: 1 / span 2;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, #e8f3ec, #d8ebe0);
}

.landing-public-gardens__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.landing-public-gardens__card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
    opacity: 0.5;
}

.landing-public-gardens__card-title {
    font-weight: 700;
    color: #0f291c;
    line-height: 1.25;
}

.landing-public-gardens__card-meta {
    font-size: 0.82rem;
    color: #4a6356;
}

.landing-section--discover {
    margin-top: 4.5rem;
}

.landing-discover__inner {
    position: relative;
    overflow: hidden;
    padding: 2.25rem 1.5rem 2rem;
    border-radius: 20px;
    background: linear-gradient(165deg, #0f291c 0%, #1b4332 55%, #234d38 100%);
    color: #eef5f0;
    box-shadow: 0 20px 50px rgba(15, 41, 28, 0.25);
}

.landing-discover__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/portal-leaf-pattern.svg');
    background-size: 160px 160px;
    opacity: 0.07;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, #000 20%, transparent 78%);
    pointer-events: none;
}

.landing-discover__inner .landing-section__head,
.landing-discover__inner .landing-app-slider {
    position: relative;
    z-index: 1;
}

.landing-discover__inner .landing-section__eyebrow {
    color: #9fd4b0;
}

.landing-discover__inner .landing-section__title {
    color: #fff;
}

.landing-discover__inner .landing-section__lead {
    color: rgba(238, 245, 240, 0.88);
}

.landing-app-slider {
    margin-top: 0.5rem;
}

.landing-app-slider__stage {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 52rem;
    margin: 0 auto;
}

.landing-app-slider__viewport {
    overflow: hidden;
    min-width: 0;
}

.landing-app-slider__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 1rem;
}

.landing-app-slider__slide {
    margin: 0;
    text-align: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.landing-app-slider__slide:not(.is-center) {
    opacity: 0.82;
}

.landing-app-slider__slide.is-center {
    opacity: 1;
}

.landing-app-slider__slide.is-center .landing-app-slider__device {
    transform: scale(1.03);
}

.landing-app-slider__device {
    width: min(100%, 168px);
    margin: 0 auto;
    transition: transform 0.2s ease;
}

.landing-app-slider__slide .portal-app-preview__label {
    color: rgba(255, 255, 255, 0.92);
}

.landing-app-slider__hint {
    margin: 1rem auto 0;
    max-width: 34rem;
    padding: 0 0.5rem;
    font-size: 0.86rem;
    line-height: 1.45;
    text-align: center;
    color: rgba(238, 245, 240, 0.78);
}

.landing-app-slider__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.landing-app-slider__nav:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
}

.landing-app-slider__nav:focus-visible {
    outline: 2px solid #9fd4b0;
    outline-offset: 2px;
}

.landing-app-slider__dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
    padding: 0 0.5rem;
}

.landing-app-slider__dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.landing-app-slider__dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.landing-app-slider__dot.is-active {
    background: #9fd4b0;
    transform: scale(1.2);
}

.landing-app-slider__dot:focus-visible {
    outline: 2px solid #9fd4b0;
    outline-offset: 2px;
}

@media (min-width: 640px) {
    .landing-app-slider__stage {
        gap: 0.85rem;
    }

    .landing-app-slider__grid {
        gap: 1rem 1.35rem;
    }

    .landing-app-slider__device {
        width: min(100%, 190px);
    }
}

@media (max-width: 479px) {
    .landing-app-slider__grid {
        gap: 0.5rem 0.65rem;
    }

    .landing-app-slider__device {
        width: min(100%, 108px);
    }

    .landing-app-slider__slide .portal-app-preview__label {
        font-size: 0.78rem;
    }

    .landing-app-slider__nav {
        width: 1.85rem;
        height: 1.85rem;
        font-size: 1.1rem;
    }
}

.landing-philosophy {
    display: grid;
    gap: 1.5rem;
    padding: 0;
    overflow: hidden;
}

@media (min-width: 720px) {
    .landing-philosophy {
        grid-template-columns: 6px 1fr;
    }
}

.landing-philosophy__accent {
    background: linear-gradient(180deg, #2d6a4f, #52b788);
    border-radius: 18px 0 0 18px;
    min-height: 4rem;
}

.landing-philosophy__content {
    padding: 2rem 1.75rem 1.85rem;
}

.landing-philosophy__quote {
    margin: 0 0 1.25rem;
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f291c;
}

.landing-philosophy__points {
    margin: 0;
    padding-left: 1.15rem;
    line-height: 1.65;
    color: #2a4034;
}

.landing-philosophy__points li {
    margin-bottom: 0.65rem;
}

.landing-philosophy__points li:last-child {
    margin-bottom: 0;
}

.landing-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.landing-plan {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.3rem 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(27, 67, 50, 0.1);
    background: #fff;
}

.landing-plan--featured {
    border-color: #2d6a4f;
    box-shadow: 0 16px 40px rgba(45, 106, 79, 0.14);
    transform: translateY(-4px);
    position: relative;
}

.landing-plan--contact {
    background: #f8fbf9;
}

.landing-plan__badge {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #2d6a4f;
    color: #fff;
}

.landing-plan__name {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f291c;
}

.landing-plan__price {
    margin: 0 0 0.2rem;
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: #1b4332;
    line-height: 1.1;
}

.landing-plan__storage {
    margin: 0 0 1.1rem;
    font-size: 0.9rem;
    color: #4a6356;
}

.landing-plan__list {
    margin: 0;
    padding-left: 1.1rem;
    line-height: 1.5;
    font-size: 0.9rem;
    color: #2a4034;
    flex: 1;
}

.landing-plan__list li {
    margin-bottom: 0.3rem;
}

.landing-plan__note {
    margin: 1rem 0 0;
    font-size: 0.86rem;
    color: #4a6356;
    line-height: 1.4;
}

.landing-plan__link {
    margin-top: auto;
    font-weight: 600;
    color: #1b4332;
}

.landing-plan__cta {
    display: inline-block;
    margin-top: 1rem;
    width: 100%;
    text-align: center;
}

.beta-page__cta {
    margin: 1.25rem 0 0;
}

.beta-page__cta-hint {
    margin: 0.5rem 0 0;
    font-size: 0.88rem;
}

.landing-pricing-note {
    margin: 1.5rem 0 0;
    padding: 1.15rem 1.25rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(27, 67, 50, 0.1);
    font-size: 1rem;
    line-height: 1.55;
    text-align: center;
    color: #2a4034;
}

.landing-about {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.landing-about__title {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3d6b54;
}

.landing-about p {
    margin: 0;
    line-height: 1.6;
    color: #4a6356;
    font-size: 0.98rem;
}

.landing-cta {
    margin-top: 4rem;
}

.landing-cta__inner {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: #fff;
    box-shadow: 0 16px 40px rgba(27, 67, 50, 0.2);
}

.landing-cta__title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
}

.landing-cta__lead {
    margin: 0 0 1.35rem;
    opacity: 0.92;
    font-size: 1.02rem;
}

.landing-cta .btn--primary {
    background: #fff;
    color: #1b4332;
    border-color: #fff;
}

.landing-cta .btn--primary:hover {
    background: #f0f7f2;
}

.beta-page {
    position: relative;
    max-width: 52rem;
    margin: 0 auto;
    padding: 2rem 0 1rem;
}

.beta-page::before {
    content: "";
    position: absolute;
    top: -1rem;
    right: -3rem;
    width: 11rem;
    height: 11rem;
    background: url('../images/portal-leaf-cluster.svg') no-repeat center / contain;
    opacity: 0.08;
    transform: rotate(15deg);
    pointer-events: none;
}

.beta-page__intro {
    text-align: center;
    margin-bottom: 2rem;
}

.beta-page__intro .horti-logo-ring {
    margin-bottom: 1rem;
}

.beta-page__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #3d6b54;
    font-weight: 700;
}

.beta-page__title {
    margin: 0 0 0.75rem;
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    color: #0f291c;
}

.beta-page__lead {
    margin: 0 auto;
    max-width: 32rem;
    line-height: 1.55;
    color: #3a5244;
    font-size: 1.05rem;
}

.landing-beta {
    display: grid;
    gap: 2rem;
}

@media (min-width: 820px) {
    .landing-beta {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
        align-items: start;
    }
}

.landing-beta__copy p {
    margin: 0 0 1rem;
    line-height: 1.6;
    color: #2a4034;
}

.landing-founder-badge {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #e8f5ec;
    color: #1b4332;
    font-size: 0.85rem;
    font-weight: 600;
}

.landing-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.landing-form label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.landing-form input {
    font-weight: 400;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #ccd8cf;
    font-size: 1rem;
}

.landing-form .btn {
    margin-top: 0.35rem;
    width: 100%;
}

.landing-alert {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    line-height: 1.45;
    font-size: 0.95rem;
}

.landing-alert--success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #1b4332;
}

.landing-alert--error {
    background: #fdecea;
    border: 1px solid #f5c6c0;
    color: #7f1d1d;
}

.landing-anchor-nav a {
    text-decoration: none;
    color: inherit;
    opacity: 0.88;
    font-weight: 500;
}

.landing-anchor-nav a:hover {
    opacity: 1;
    color: #1b4332;
}

.portal-header--landing .portal-nav__cta {
    font-weight: 600;
}

.portal-phone-stack__device {
    border-radius: 28px;
    padding: 7px;
    background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.portal-phone-stack__screen {
    border-radius: 20px;
    overflow: hidden;
    background: #f4f6f4;
    aspect-ratio: 390 / 844;
    line-height: 0;
}

.portal-phone-stack__screen img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    transition: opacity 0.18s ease;
}

.portal-phone-stack__screen img.is-fading {
    opacity: 0;
}

.portal-app-preview__device {
    width: min(100%, 168px);
    margin: 0 auto;
    border-radius: 22px;
    padding: 7px;
    background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.portal-app-preview__screen {
    border-radius: 16px;
    overflow: hidden;
    background: #f4f6f4;
    aspect-ratio: 390 / 844;
    line-height: 0;
}

.portal-app-preview__screen img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.portal-app-preview__label {
    margin: 0.75rem 0 0;
    font-weight: 600;
    font-size: 0.92rem;
    text-align: center;
}

.portal-app-preview {
    margin: 0;
}

/* ── Pied de page portail ── */
.portal-site-footer {
    margin-top: 1rem;
    padding: 2.75rem 1.5rem 2.25rem;
    border-top: 1px solid rgba(27, 67, 50, 0.1);
    background: linear-gradient(180deg, rgba(247, 250, 248, 0.45) 0%, rgba(237, 243, 239, 0.92) 100%);
}

.portal-site-footer__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
}

.portal-site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    color: #0f291c;
}

.portal-site-footer__tagline {
    margin: 0;
    max-width: 30rem;
    line-height: 1.55;
    font-size: 0.95rem;
    color: #4a6356;
}

.portal-site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1.35rem;
    margin-top: 0.15rem;
    font-size: 0.92rem;
}

.portal-site-footer__nav a {
    color: #1b4332;
    text-decoration: none;
    font-weight: 500;
}

.portal-site-footer__nav a:hover {
    text-decoration: underline;
    color: #0f291c;
}

.portal-site-footer__meta {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: #6b8576;
    letter-spacing: 0.01em;
}
