/* Styles généraux pour amorcer un nouveau projet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Empêcher le scroll horizontal sur toute la page */
html,
body {
    overflow-x: hidden;
}

/* Barre dégradée en haut de page (couleurs et hauteur dans styles/global/colors.css) — défile avec la page */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f3f5fb;
    color: var(--color-darkpurple, #2C123B);
}

/* Bandeau bêta (activable via BETA_BANNER_ENABLED dans .env) */
.beta-banner {
    width: 100%;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
}

.site-top-bar {
    width: 100%;
    height: var(--top-bar-height, 5px);
    min-height: 5px;
    background: var(--top-bar-gradient, linear-gradient(to right, #5DFFEF, #5DBEFF, #FB00FF, #FFBD43));
    flex-shrink: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.site-menu {
    width: 100%;
    padding: 24px clamp(24px, 5vw, 120px) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 10;
}

.site-menu__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.site-menu__logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.site-menu__logo--icon {
    display: none;
}

.site-menu__logo--full {
    display: block;
}

.site-menu__actions {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
}

.site-menu__home {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.08em;
    color: var(--color-darkpurple, #2C123B);
    transition: color 0.2s ease;
}

.site-menu__home:hover {
    color: var(--color-pink, #FF31D2);
}

.site-menu__cta {
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 22px;
    border-radius: 12px;
    background: var(--color-black);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.08em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-menu__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(20, 11, 27, 0.35);
}

main {
    display: flex;
    flex-direction: column;
    gap: 120px;
    padding: 80px clamp(24px, 5vw, 120px);
}

section {
    position: relative;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    width: 100%;
    padding: 140px clamp(24px, 6vw, 160px);
    overflow: hidden;
}

.hero__image {
    position: absolute;
    right: clamp(24px, 6vw, 160px);
    top: 50%;
    transform: translateY(-50%);
    max-height: 80%;
    max-width: 50%;
    height: auto;
    width: auto;
    object-fit: contain;
    z-index: 5;
    pointer-events: none;
}



.hero__cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    background: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(20, 11, 27, 0.4);
}

.hero__content .text_1 {
    font-size: 4.5rem;
}

.hero__content .text_4 {
    font-size: 1.5rem;
}

.section {
    display: flex;
    flex-direction: column;
    gap: 48px;
    border-radius: 32px;
    padding: clamp(32px, 6vw, 64px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 18px 48px rgba(44, 18, 59, 0.08);
}

.section--light {
    background: rgba(255, 255, 255, 0.95);
}

.section--accent {
    background: var(--gradient-pink, linear-gradient(30deg, #FF31D2, #FC9F63));
    text-align: center;
}

.section--simple {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(76, 46, 139, 0.08);
}

.section__link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    align-self: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.section__link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.3);
}

.grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid__item {
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(76, 46, 139, 0.12);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer {
    width: 100%;
    margin: 0;
    margin-top: 120px;
    padding: clamp(32px, 5vw, 48px) clamp(24px, 5vw, 120px);
    background: var(--color-black);
    color: #fff;
}

.footer__content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__brand {
    flex-shrink: 0;
}

.footer__section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}

.footer__title--brand {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.footer__link:hover {
    opacity: 1;
}

@media (max-width: 1024px) {
    main {
        gap: 72px;
        padding: 60px clamp(20px, 6vw, 80px);
    }

    .hero {
        min-height: 460px;
        padding: 120px clamp(20px, 7vw, 120px);
    }
}

@media (max-width: 768px) {
    .site-menu__logo--full {
        display: none;
    }

    .site-menu__logo--icon {
        display: block;
    }

    .site-menu__logo img {
        height: 36px;
    }

    .hero__content {
        align-items: flex-start;
    }

    .hero__content .text_1 {
        font-size: 2.5rem;
    }

    .hero__content .text_4 {
        font-size: 1.1rem;
    }

    .hero__cta {
        align-self: stretch;
        justify-content: center;
    }

    .section {
        padding: clamp(24px, 8vw, 48px);
    }

    .footer {
        margin-top: 80px;
        padding-left: clamp(20px, 6vw, 80px);
        padding-right: clamp(20px, 6vw, 80px);
    }

    .footer__content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    main {
        gap: 48px;
        padding: 48px 20px;
    }

    .hero {
        padding: 100px 20px;
    }

    .hero__content {
        padding: 24px;
    }
}

/* Limiter la largeur du menu et du hero sur les très grands écrans */
@media (min-width: 1440px) {
    .site-menu {
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero {
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
    }
}

