/* Codettelink — Landing (index + pages marketing) */

/* ── Fond & blobs ── */
.bg-effects {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    filter: blur(100px);
    border-radius: 50%;
}

.blob--white {
    width: 24rem;
    height: 24rem;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
}

.blob--pink {
    width: 16rem;
    height: 16rem;
    bottom: 5rem;
    right: 0;
    background: rgba(244, 114, 182, 0.45);
}

.blob--purple {
    width: 16rem;
    height: 16rem;
    top: 25rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(192, 132, 252, 0.45);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.25);
}

.glass-effect {
    backdrop-filter: blur(12px);
}

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

/* ── Bandeau bêta ── */
.landing-beta {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 3.5rem;
    background: #E3FF65;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem;
    text-align: center;
}

.landing-beta span {
    font-size: 0.875rem;
    line-height: 1.35;
}

.landing-beta__cta {
    display: inline-block;
    border: 2px solid #000;
    color: #000;
    padding: 7px 20px;
    border-radius: 20px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.landing-beta__cta:hover {
    opacity: 0.85;
}

/* ── Header ── */
.landing-header {
    position: fixed;
    top: 3.5rem;
    left: 0;
    right: 0;
    z-index: 150;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.landing-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    min-height: 4.25rem;
}

@media (min-width: 1024px) {
    .landing-header__inner {
        padding: 0.75rem 5rem;
    }
}

.landing-header__logo {
    flex-shrink: 0;
}

.landing-header__logo img {
    height: 3rem;
    display: block;
}

/* Desktop nav — masqué mobile */
.landing-nav {
    display: none;
    align-items: center;
    gap: 1.75rem;
    font-weight: 500;
    font-size: 0.9375rem;
    color: #334155;
    flex: 1;
    justify-content: center;
}

.landing-header__actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.landing-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.625rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    color: #0f172a;
    flex-shrink: 0;
}

.landing-mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: calc(3.5rem + 4.25rem);
    left: 1rem;
    right: 1rem;
    z-index: 140;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.08);
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
}

.landing-mobile-menu.is-open {
    display: flex;
}

@media (min-width: 1024px) {
    .landing-nav {
        display: flex !important;
    }

    .landing-header__actions {
        display: flex !important;
    }

    .landing-burger {
        display: none !important;
    }

    .landing-mobile-menu,
    .landing-mobile-menu.is-open {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .landing-nav,
    .landing-header__actions {
        display: none !important;
    }

    .landing-burger {
        display: flex !important;
    }

    .landing-nav__menu {
        display: none !important;
    }
}

.landing-nav a:hover {
    color: #000;
}

.landing-nav__dropdown {
    position: relative;
}

.landing-nav__dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0;
}

.landing-nav__dropdown-btn:hover {
    color: #000;
}

.landing-nav__menu {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 0.5rem);
    min-width: 15rem;
    z-index: 60;
    padding: 0;
}

.landing-nav__dropdown.is-open .landing-nav__menu,
.landing-nav__dropdown:hover .landing-nav__menu {
    display: block;
}

@media (min-width: 1024px) {
    .landing-nav__dropdown:hover .landing-nav__menu {
        display: block;
    }
}

.landing-nav__menu-panel {
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.landing-nav__menu-panel a {
    display: block;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
}

.landing-nav__menu-panel a:hover {
    background: #f3f4f6;
}

.landing-header__login {
    border: 1px solid #000;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.landing-header__login:hover {
    opacity: 0.8;
}

.landing-header__signup {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #000;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: transform 0.2s;
}

.landing-header__signup:hover {
    transform: scale(1.05);
}

.landing-header__signup i {
    width: 1rem;
    height: 1rem;
    margin-top: 0.15rem;
}

.landing-mobile-menu a {
    padding: 0.5rem 0;
    width: 100%;
}

.landing-mobile-menu__actions {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.landing-mobile-menu__actions a {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.landing-mobile-menu__actions .landing-header__login {
    display: block;
}

.landing-mobile-menu__actions .landing-header__signup {
    justify-content: center;
    background: #000;
    color: #fff;
    border: none;
}

/* ── Hero index ── */
.landing-hero {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    margin-top: 10rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .landing-hero {
        padding: 5rem;
    }
}

.landing-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    max-width: 72rem;
    margin: -2.5rem auto 0;
}

@media (min-width: 1024px) {
    .landing-hero__inner {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
}

.landing-hero__content {
    max-width: 42rem;
    width: 100%;
    color: #111827;
    text-align: center;
}

@media (min-width: 1024px) {
    .landing-hero__content {
        text-align: left;
    }
}

.landing-hero__title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .landing-hero__title {
        font-size: 60px;
        text-align: left;
    }
}

.landing-hero__desc {
    max-width: 36rem;
    font-size: 1.125rem;
    color: #4B5563;
    opacity: 0.9;
    font-weight: 500;
    margin: 0 auto 1.5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .landing-hero__desc {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }
}

.landing-hero__features {
    display: flex;
    flex-direction: column;
    max-width: 20rem;
    opacity: 0.7;
    margin: 1.5rem auto;
    text-align: left;
}

@media (min-width: 1024px) {
    .landing-hero__features {
        margin-left: 0;
        margin-right: 0;
    }
}

.landing-hero__feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
}

.landing-hero__feature svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.landing-hero__cta-wrap {
    max-width: 300px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .landing-hero__cta-wrap {
        margin-left: 0;
        margin-right: 0;
    }
}

.landing-hero__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    background: #e3ff65;
    border: 1px solid #000;
    color: #000;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s, opacity 0.2s;
}

.landing-hero__cta:hover {
    transform: scale(1.02);
}

.landing-hero__meta {
    max-width: 32rem;
    opacity: 0.7;
    margin: 1.5rem auto;
    font-size: 0.875rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .landing-hero__meta {
        text-align: left;
        margin-left: 0;
    }
}

.landing-hero__meta-dot {
    color: #e3ff65;
    margin: 0 0.5rem;
}

.landing-hero__visual {
    width: 100%;
    max-width: 600px;
    flex-shrink: 0;
    transform: rotate(-2deg);
    transition: transform 0.5s;
    border-radius: 1rem;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.landing-hero__visual:hover {
    transform: rotate(0deg);
}

.landing-hero__visual-inner {
    border-radius: 1rem;
    padding: 0.5rem;
    animation: ct-float 6s ease-in-out infinite;
}

.landing-hero__visual img {
    width: 100%;
    display: block;
    border-radius: 0.75rem;
}

.landing-hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: ct-bounce 1s infinite;
}

@keyframes ct-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-25%); }
}

/* Nav wrapper section (contient le header fixe) */
.landing-nav-wrap {
    position: relative;
    z-index: 150;
}
