.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(10, 14, 23, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-flash-banner {
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.92rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-flash-banner--success {
    background: rgba(1, 138, 223, 0.16);
    color: #d7f0ff;
}

.site-flash-banner--error {
    background: rgba(186, 32, 64, 0.22);
    color: #ffd7d7;
}

.site-flash-banner--info {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}

.site-toast-host {
    position: fixed;
    top: 82px;
    right: 14px;
    z-index: 120;
    display: grid;
    gap: 0.55rem;
    width: min(390px, calc(100vw - 1.1rem));
}

.site-toast {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.62rem 0.72rem;
    background: rgba(10, 16, 28, 0.96);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transition: opacity .25s ease, transform .25s ease;
}

.site-toast.is-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.site-toast--success {
    border-color: rgba(74, 222, 128, 0.55);
    background: linear-gradient(155deg, rgba(11, 46, 27, 0.96), rgba(8, 24, 18, 0.96));
}

.site-toast--error {
    border-color: rgba(248, 113, 113, 0.56);
    background: linear-gradient(155deg, rgba(62, 20, 20, 0.96), rgba(33, 13, 13, 0.96));
}

.site-toast--info {
    border-color: rgba(96, 191, 255, 0.56);
    background: linear-gradient(155deg, rgba(12, 34, 58, 0.96), rgba(8, 20, 36, 0.96));
}

.site-toast-text {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: rgba(234, 245, 255, 0.98);
}

.site-toast-close {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
}

.site-toast-close:hover {
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 720px) {
    .site-toast-host {
        top: 74px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100vw - 0.9rem);
    }
}

.nav-wrap {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.brand img {
    height: clamp(30px, 5.2vw, 42px);
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.nav-logout-form {
    margin: 0;
}

.nav-logout-btn {
    min-height: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.btn-cta-header {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.62rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    transition: var(--transition-smooth);
    color: var(--white);
    cursor: pointer;
    font: inherit;
}

.btn-cta-header:hover {
    border-color: var(--blue);
    box-shadow: 0 8px 20px rgba(1, 138, 223, 0.2);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.menu-toggle .bar,
.menu-toggle .bar::before,
.menu-toggle .bar::after {
    content: "";
    position: absolute;
    left: 10px;
    width: 20px;
    height: 2px;
    background: var(--white);
}

.menu-toggle .bar {
    top: 19px;
}

.menu-toggle .bar::before {
    top: -6px;
    left: 0;
}

.menu-toggle .bar::after {
    top: 6px;
    left: 0;
}

.site-header.open .menu-toggle {
    border-color: rgba(1, 138, 223, 0.75);
    background: rgba(1, 138, 223, 0.12);
    box-shadow: 0 8px 18px rgba(1, 138, 223, 0.2);
}

.site-header.open .menu-toggle .bar {
    background: transparent;
}

.site-header.open .menu-toggle .bar::before {
    top: 0;
    transform: rotate(45deg);
}

.site-header.open .menu-toggle .bar::after {
    top: 0;
    transform: rotate(-45deg);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.1rem;
}

.text-gradient {
    background: linear-gradient(to right, var(--blue), #84d7ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-blue {
    color: #84d7ff;
}

.hero-split {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    padding-top: 30px;
    padding-bottom: 12px;
}

.grid-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.6rem;
    align-items: center;
}

.hero-content {
    padding-top: .35rem;
}

.hero-title {
    margin: 0 0 .55rem;
    font-size: clamp(1.5rem, 3.6vw, 2.4rem);
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1;
}

.hero-title-main {
    color: var(--white);
}

.hero-title-accent {
    color: var(--blue);
}

.badge {
    display: inline-flex;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9bdcff;
    margin-bottom: .18rem;
}

.split-text {
    margin-top: .1rem;
}

.hero-sub {
    max-width: 58ch;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.88);
}

.hero-group-btn {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.btn-main {
    background: linear-gradient(105deg, var(--blue), #23a4ef);
    color: var(--white);
    padding: 1.05rem 2.2rem;
    border-radius: 999px;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-block;
    box-shadow: 0 12px 24px rgba(1, 138, 223, 0.3);
}

.btn-main:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 1.05rem 1.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    border-color: var(--blue);
    box-shadow: 0 10px 20px rgba(1, 138, 223, 0.18);
}

.hero-visual {
    border-radius: 0;
    border: none;
    background: transparent;
    min-height: 460px;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-graphic {
    padding: 0.5rem 0;
}

.hero-graphic-logo {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 12px 28px rgba(1, 138, 223, 0.22));
}

.section-social-highlight {
    padding: 0.45rem 0 1.2rem;
}

.social-highlight-inner {
    border: 1px solid rgba(111, 215, 255, 0.22);
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(14, 23, 38, 0.88), rgba(8, 14, 26, 0.9));
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.social-highlight-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(228, 240, 255, 0.95);
}

.social-highlight-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.social-highlight-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.48rem 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(236, 246, 255, 0.95);
    font-size: 0.8rem;
    font-weight: 600;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.social-highlight-link::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(108deg, transparent 0%, rgba(159, 217, 255, 0.22) 45%, transparent 100%);
    transition: transform 0.35s ease;
    pointer-events: none;
}

.social-highlight-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

.social-highlight-link:hover {
    transform: translateY(-2px);
    border-color: rgba(1, 138, 223, 0.85);
    box-shadow: 0 10px 24px rgba(1, 138, 223, 0.2);
}

.social-highlight-link:hover::before {
    transform: translateX(0);
}

.section-about-studio {
    padding: 2rem 0 1.7rem;
}

.about-studio-head {
    max-width: none;
}

.about-studio-kicker {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9fd9ff;
}

.about-studio-lead {
    margin: 0;
    color: rgba(230, 236, 248, 0.9);
    line-height: 1.7;
    max-width: none;
}

.about-studio-grid {
    margin-top: 1.15rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.about-founder-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1rem 1.05rem;
}

.about-founder-role {
    margin: 0 0 0.3rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9fd9ff;
}

.about-founder-card h3 {
    margin: 0;
    font-size: 1.15rem;
}

.about-founder-meta {
    margin: 0.25rem 0 0.55rem;
    font-size: 0.84rem;
    color: rgba(184, 209, 232, 0.88);
}

.about-founder-card p {
    margin: 0;
    line-height: 1.58;
}

.about-founder-list {
    margin: 0.7rem 0 0;
    padding-left: 1.05rem;
    display: grid;
    gap: 0.3rem;
    color: rgba(220, 234, 248, 0.92);
    font-size: 0.9rem;
}

.about-founder-socials {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.about-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(226, 239, 252, 0.96);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.about-social-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

.about-social-link:hover {
    border-color: rgba(1, 138, 223, 0.8);
    background: rgba(1, 138, 223, 0.14);
    color: #d8f1ff;
}

.about-studio-pillars {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.about-pillar {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(1, 138, 223, 0.06);
    padding: 0.85rem 0.9rem;
}

.about-pillar h3 {
    margin: 0 0 0.35rem;
    font-size: 0.96rem;
}

.about-pillar p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(216, 231, 248, 0.9);
}

.about-studio-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.section-expertise {
    padding: 3.4rem 0 3.8rem;
}

.section-title {
    margin: 0 0 1.2rem;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.services-carousel {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: .75rem;
    align-items: center;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 18px;
}

.services-track {
    display: flex;
    transition: transform .6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.services-track .exp-card {
    flex: 0 0 100%;
    min-width: 100%;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-btn:hover {
    border-color: rgba(1, 138, 223, 0.75);
    background: rgba(1, 138, 223, 0.12);
    box-shadow: 0 10px 20px rgba(1, 138, 223, 0.18);
}

.carousel-dots {
    margin-top: .9rem;
    display: flex;
    justify-content: center;
    gap: .5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-dot.is-active {
    width: 26px;
    border-radius: 999px;
    border-color: rgba(1, 138, 223, 0.9);
    background: linear-gradient(105deg, rgba(1, 138, 223, 0.9), rgba(35, 164, 239, 0.9));
}

.exp-card {
    background: rgba(255,255,255, 0.03);
    border: 1px solid rgba(255,255,255, 0.08);
    border-radius: 18px;
    padding: 1.7rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.exp-card:hover {
    border-color: var(--blue);
    background: rgba(1, 138, 223, 0.05);
}

.exp-icon {
    font-size: 5rem;
    font-weight: 900;
    opacity: 0.1;
    position: absolute;
    top: 1rem;
    right: 2rem;
}

.exp-list {
    margin: 1.1rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.4rem;
}

.section-method {
    padding: 1.2rem 0 3.8rem;
}

.method-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: .7rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .3rem 0 .2rem;
    scrollbar-width: thin;
}

.method-step {
    flex: 0 0 min(240px, 72vw);
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: .2rem .25rem;
    text-align: center;
}

.method-link {
    align-self: center;
    width: 44px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(1, 138, 223, 0.18), rgba(1, 138, 223, 0.9), rgba(35, 164, 239, 0.9));
    flex: 0 0 44px;
}

.method-emoji {
    display: inline-block;
    font-size: 1.7rem;
    line-height: 1;
    margin-bottom: .5rem;
}

.method-step h3 {
    margin: .25rem 0 .45rem;
    font-size: 1.02rem;
}

.method-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.58;
    font-size: .94rem;
}

.section-contact-cta {
    padding: 2.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(1, 138, 223, 0.06), transparent 55%);
}

.section-contact-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.section-contact-cta-copy {
    flex: 1 1 min(100%, 420px);
}

.section-contact-cta-copy .section-title {
    margin-bottom: 0.55rem;
}

.section-contact-cta-copy p {
    margin: 0;
    color: rgba(230, 236, 248, 0.86);
    line-height: 1.58;
    max-width: 48ch;
}

.section-contact-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

@media (max-width: 720px) {
    #demarrer-un-projet .section-contact-cta-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #demarrer-un-projet .section-contact-cta-copy {
        flex: 1 1 auto;
        max-width: 36rem;
    }

    #demarrer-un-projet .section-contact-cta-copy p {
        margin-inline: auto;
    }

    #demarrer-un-projet .section-contact-cta-actions {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    #demarrer-un-projet .section-contact-cta-actions .btn-main,
    #demarrer-un-projet .section-contact-cta-actions .btn-secondary {
        width: min(100%, 20rem);
        text-align: center;
        box-sizing: border-box;
    }
}

.section-faq {
    padding: .6rem 0 3.6rem;
}

.faq-list {
    display: grid;
    gap: .7rem;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    padding: .9rem 1rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
}

.faq-item p {
    margin: .7rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.62;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2.2rem 0 1rem;
    background: rgba(9, 13, 22, 0.75);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 1.2rem;
}

.footer-brand {
    margin: 0 0 .45rem;
    line-height: 0;
}

.footer-brand-link {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.footer-brand-link img {
    height: clamp(34px, 6vw, 52px);
    width: auto;
    display: block;
}

.footer-socials {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.footer-social-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(238, 246, 255, 0.92);
    font-size: 0.79rem;
    font-weight: 600;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.footer-social-link::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(110deg, transparent 0%, rgba(159, 217, 255, 0.24) 45%, transparent 100%);
    transition: transform 0.35s ease;
    pointer-events: none;
}

.footer-social-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

.footer-social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(1, 138, 223, 0.85);
    box-shadow: 0 10px 22px rgba(1, 138, 223, 0.2);
}

.footer-social-link:hover::before {
    transform: translateX(0);
}

.footer-title {
    margin: 0 0 .45rem;
    font-weight: 700;
}

.footer-grid a {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: .35rem;
}

.footer-auth-link {
    display: block;
    margin-bottom: .35rem;
    padding: 0;
    color: rgba(255, 255, 255, 0.84);
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.footer-bottom {
    margin-top: 1.2rem;
    padding-top: .8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none !important;
    visibility: hidden;
    pointer-events: none;
}

.auth-modal.is-open {
    display: block !important;
    visibility: visible;
    pointer-events: auto;
}

.auth-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 8, 14, 0.78);
    backdrop-filter: blur(5px);
}

.auth-panel {
    position: relative;
    z-index: 1;
    width: min(760px, 94vw);
    max-height: 88vh;
    overflow-y: auto;
    margin: 5vh auto 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(165deg, rgba(24, 32, 50, 0.96), rgba(11, 16, 28, 0.98));
    box-shadow: 0 30px 80px rgba(1, 138, 223, 0.12), 0 10px 35px rgba(0, 0, 0, 0.45);
    border-radius: 22px;
    padding: 1.25rem;
}

.auth-close-btn {
    position: absolute;
    top: .5rem;
    right: .6rem;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--white);
    font-size: 1.8rem;
    line-height: .8;
    cursor: pointer;
}

.auth-close-btn:hover {
    border-color: rgba(1, 138, 223, 0.7);
    background: rgba(1, 138, 223, 0.1);
}

.auth-header-brand {
    margin: 0 0 .55rem;
    line-height: 0;
}

.auth-header-logo {
    height: clamp(38px, 11vw, 54px);
    width: auto;
    display: block;
}

.auth-header-title {
    margin: 0;
    font-size: 1.35rem;
}

.auth-header p {
    margin: .35rem 0 .9rem;
    color: rgba(255, 255, 255, 0.82);
}

.auth-tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: .9rem;
    padding: .35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-tab {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--white);
    border-radius: 999px;
    padding: .55rem 1rem;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.auth-tab.is-active {
    border-color: rgba(1, 138, 223, 0.75);
    background: linear-gradient(105deg, rgba(1, 138, 223, 0.18), rgba(35, 164, 239, 0.22));
    box-shadow: 0 6px 18px rgba(1, 138, 223, 0.2);
}

.auth-tab:hover {
    border-color: rgba(1, 138, 223, 0.62);
    background: rgba(255, 255, 255, 0.05);
}

.auth-tab-verify {
    margin-left: auto;
}

.auth-view {
    display: none;
}

.auth-view.is-active {
    display: block;
}

.auth-form label,
.auth-label {
    display: block;
    margin: .65rem 0 .35rem;
    font-weight: 600;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--white);
    padding: .75rem .8rem;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.auth-password-field {
    position: relative;
}

.auth-password-field input[type="password"],
.auth-password-field input[type="text"] {
    padding-right: 3rem;
}

.auth-password-toggle {
    position: absolute;
    right: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #d7efff;
    border-radius: 8px;
    height: 32px;
    min-width: 40px;
    padding: 0 0.45rem;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.auth-password-toggle:hover {
    border-color: rgba(1, 138, 223, 0.7);
    background: rgba(1, 138, 223, 0.18);
    color: #ffffff;
}

.auth-password-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 138, 223, 0.2);
}

.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus,
.auth-form input[type="text"]:focus {
    outline: none;
    border-color: rgba(1, 138, 223, 0.75);
    box-shadow: 0 0 0 3px rgba(1, 138, 223, 0.16);
    background: rgba(255, 255, 255, 0.07);
}

.auth-row {
    margin: .55rem 0 .9rem;
}

.auth-row a {
    color: #9fd9ff;
    font-size: .94rem;
}

.auth-form .btn-main,
.auth-form .btn-secondary {
    width: 100%;
    text-align: center;
    margin-top: .2rem;
}

.auth-note {
    margin: .55rem 0 .8rem;
    color: rgba(255, 255, 255, 0.8);
}

.auth-address-status {
    margin-top: .45rem;
    padding: .48rem .58rem;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    font-size: .86rem;
}

.auth-address-status.is-valid {
    border-color: rgba(49, 189, 124, 0.7);
    background: rgba(49, 189, 124, 0.14);
    color: #c7f7e1;
}

.auth-address-status.is-invalid {
    border-color: rgba(255, 116, 116, 0.7);
    background: rgba(191, 54, 54, 0.18);
    color: #ffd7d7;
}

.auth-timer {
    font-size: .88rem;
    color: #9fd9ff;
    min-height: 1.2rem;
}

.auth-form .btn-secondary:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.auth-resend-btn {
    margin-top: 0.55rem !important;
    border-color: rgba(1, 138, 223, 0.82);
    background: linear-gradient(105deg, rgba(1, 138, 223, 0.3), rgba(35, 164, 239, 0.34));
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(1, 138, 223, 0.24);
}

.auth-resend-btn:hover:not(:disabled) {
    border-color: rgba(80, 185, 245, 0.95);
    background: linear-gradient(105deg, rgba(1, 138, 223, 0.42), rgba(35, 164, 239, 0.46));
}

.mail-flash {
    border-radius: 10px;
    padding: .7rem .8rem;
    margin: .5rem 0 .85rem;
    font-size: .93rem;
}

.mail-flash-success {
    background: rgba(1, 138, 223, 0.18);
    border: 1px solid rgba(1, 138, 223, 0.65);
}

.mail-flash-error {
    background: rgba(186, 32, 64, 0.2);
    border: 1px solid rgba(255, 120, 120, 0.6);
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.account-type-select {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
}

.type-card {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: .75rem;
    background: rgba(255, 255, 255, 0.04);
    display: grid;
    place-items: center;
    gap: .25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.type-card input {
    display: none;
}

.type-card:has(input:checked) {
    border-color: rgba(1, 138, 223, 0.8);
    background: linear-gradient(165deg, rgba(1, 138, 223, 0.2), rgba(35, 164, 239, 0.16));
    box-shadow: 0 10px 22px rgba(1, 138, 223, 0.15);
}

.type-card:hover {
    border-color: rgba(1, 138, 223, 0.6);
}

.type-icon {
    font-size: 1.35rem;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
}

.auth-business-hint.is-hidden {
    display: none;
}

.auth-business-hint {
    margin: 0 0 0.65rem;
}

.password-rules {
    margin: .5rem 0 .8rem;
    padding-left: 1.1rem;
    display: grid;
    gap: .25rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: .9rem;
}

.password-rules li.is-valid {
    color: #9fd9ff;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin: .5rem 0 .95rem;
    font-size: .92rem;
    color: rgba(255, 255, 255, 0.9);
}

.check-row input {
    margin-top: .2rem;
}

#register-submit[disabled] {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: .12s;
}

@media (max-width: 992px) {
    .grid-hero {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }


    .hero-split {
        min-height: auto;
        padding: 1.3rem 0 .35rem;
    }

    /* Une seule colonne : le logo passerait sous le titre — on le masque (comme avant). */
    .hero-visual {
        display: none;
    }
}

@media (max-width: 1300px) and (min-width: 641px) {
    .section-method .method-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 1fr;
        gap: .95rem;
        overflow: visible;
        padding: 0;
    }

    .section-method .method-link {
        display: none;
    }

    .section-method .method-step {
        flex: initial;
        height: 100%;
        display: flex;
        flex-direction: column;
        text-align: center;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        padding: .95rem .9rem;
    }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: inline-block;
    }

    .nav {
        position: absolute;
        top: 74px;
        left: 4vw;
        right: 4vw;
        display: grid;
        gap: .65rem;
        background: linear-gradient(165deg, rgba(24, 32, 50, 0.98), rgba(14, 18, 30, 0.98));
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35), 0 12px 26px rgba(1, 138, 223, 0.1);
        border-radius: 16px;
        padding: 1rem;
        transform: translateY(-10px) scale(.98);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease, transform .22s ease;
    }

    .nav::before {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: 16px;
        pointer-events: none;
        border: 1px solid rgba(1, 138, 223, 0.18);
    }

    .site-header.open .nav {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .nav-link {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: .72rem .85rem;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(255, 255, 255, 0.03);
        transition: var(--transition-smooth);
    }

    .nav-link:hover {
        border-color: rgba(1, 138, 223, 0.7);
        background: rgba(1, 138, 223, 0.13);
        color: #b6e4ff;
    }

    .btn-cta-header {
        width: 100%;
        text-align: center;
        min-height: 46px;
        margin-top: .15rem;
    }

    .nav-logout-form {
        width: 100%;
    }

    .section-about-studio {
        padding: 1.5rem 0 1.3rem;
    }

    .social-highlight-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-studio-grid,
    .about-studio-pillars {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .services-carousel {
        display: block;
        position: relative;
        padding: 0;
    }

    .carousel-btn {
        display: none;
    }

    .method-step {
        flex-basis: min(250px, 80vw);
    }

    .section-method .method-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: .95rem;
        overflow: visible;
        padding: 0;
    }

    .section-method .method-link {
        display: none;
    }

    .section-method .method-step {
        flex: initial;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        padding: .95rem .9rem;
        text-align: center;
    }

    .section-method .method-emoji {
        font-size: 1.5rem;
        margin-bottom: .35rem;
    }

    .container {
        width: min(1180px, 90vw);
    }

    .hero-split {
        padding: .95rem 0 .25rem;
    }

    .grid-hero {
        gap: 1.25rem;
    }

    h1 {
        line-height: 1.05;
        margin-bottom: .8rem;
    }

    .hero-group-btn {
        display: grid;
        grid-template-columns: 1fr;
        gap: .65rem;
    }

    .social-highlight-links {
        width: 100%;
        justify-content: center;
    }

    .social-highlight-link {
        flex: 1 1 calc(50% - 0.3rem);
        justify-content: center;
        min-width: 8.5rem;
    }

    .about-studio-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: min(100%, 22rem);
        margin-left: auto;
        margin-right: auto;
    }

    .btn-main,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: .95rem 1rem;
    }

    .exp-card {
        padding: 1.2rem;
    }

    .site-footer {
        padding-top: 1.6rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: .9rem;
    }

    .auth-grid,
    .account-type-select {
        grid-template-columns: 1fr;
    }

    .auth-panel {
        width: min(760px, 96vw);
        padding: 1rem;
    }
}

/* Page réinitialisation mot de passe (lien email) */
.reset-password-page {
    padding: clamp(2rem, 6vw, 4rem) 0 3rem;
    min-height: 50vh;
}

.reset-password-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 1.25rem 1.35rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(170deg, rgba(11, 18, 31, 0.93), rgba(8, 12, 22, 0.95));
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.reset-password-card h1 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    line-height: 1.2;
}

.reset-password-lead {
    margin: 0 0 1rem;
    color: rgba(214, 227, 245, 0.88);
    font-size: 0.92rem;
    line-height: 1.55;
}

.reset-password-form {
    display: grid;
    gap: 0.75rem;
}

.reset-password-actions {
    margin: 1rem 0 0;
}

.reset-password-back {
    margin-top: 1rem;
}

/* --- Page erreur 404 --- */
.error-page {
    position: relative;
    padding: clamp(2rem, 8vw, 5rem) 0 clamp(3rem, 10vw, 6rem);
    min-height: min(78vh, 900px);
    overflow: hidden;
}

.error-page-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.error-page-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.55;
    animation: errorOrbFloat 14s ease-in-out infinite;
}

.error-page-orb--1 {
    width: min(56vmin, 420px);
    height: min(56vmin, 420px);
    top: -12%;
    right: -8%;
    background: radial-gradient(circle, rgba(1, 138, 223, 0.45), transparent 68%);
}

.error-page-orb--2 {
    width: min(48vmin, 360px);
    height: min(48vmin, 360px);
    bottom: -18%;
    left: -10%;
    background: radial-gradient(circle, rgba(35, 164, 239, 0.35), transparent 70%);
    animation-delay: -7s;
}

.error-page-grid {
    position: absolute;
    inset: -20% -10%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 55% 55% at 50% 40%, #000 12%, transparent 72%);
    opacity: 0.35;
}

@keyframes errorOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-4%, 3%) scale(1.05); }
}

.error-page-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.error-page-content {
    max-width: 38rem;
}

.error-page-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7ecfff;
}

.error-page-title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 4.2vw, 2.65rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.error-page-text {
    margin: 0 0 1.15rem;
    color: rgba(222, 234, 248, 0.88);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 42ch;
}

.error-page-path {
    margin: 0 0 1.5rem;
    font-size: 0.86rem;
    color: rgba(180, 205, 228, 0.85);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.error-page-path-label {
    font-weight: 600;
}

.error-page-path-value {
    padding: 0.28rem 0.55rem;
    border-radius: 0.45rem;
    background: rgba(1, 138, 223, 0.12);
    border: 1px solid rgba(111, 215, 255, 0.25);
    color: #d5f2ff;
    font-size: 0.84rem;
    word-break: break-all;
}

.error-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.error-page-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-page-code-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-page-code {
    position: relative;
    z-index: 1;
    font-size: clamp(4.5rem, 18vw, 9.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #ffffff 0%, #8ee2ff 38%, #018adf 72%, #23a4ef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 42px rgba(1, 138, 223, 0.35);
    animation: errorCodePulse 5s ease-in-out infinite;
}

.error-page-code-glow {
    position: absolute;
    width: min(72%, 280px);
    height: min(72%, 280px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 138, 223, 0.5), transparent 68%);
    filter: blur(32px);
    opacity: 0.65;
    z-index: 0;
}

@keyframes errorCodePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.03); opacity: 0.92; }
}

.error-page-tagline {
    margin: 1rem 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(148, 184, 212, 0.75);
}

@media (max-width: 900px) {
    .error-page-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .error-page-content {
        max-width: none;
    }

    .error-page-text {
        max-width: none;
    }

    .error-page-path {
        justify-content: center;
    }

    .error-page-actions {
        justify-content: center;
    }

    .error-page-visual {
        order: -1;
    }

    .error-page-code {
        font-size: clamp(3.5rem, 28vw, 6.5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .error-page-orb,
    .error-page-code {
        animation: none !important;
    }
}

/* --- Centre d'aide (/aide) --- */
.help-center-page {
    padding-bottom: 2.5rem;
}

.help-hero {
    padding: clamp(1.75rem, 5vw, 3rem) 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.help-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: center;
}

.help-hero-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7ecfff;
}

.help-hero-copy h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 4.2vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.help-hero-lead {
    margin: 0 0 1.25rem;
    color: rgba(222, 234, 248, 0.88);
    font-size: 0.98rem;
    line-height: 1.62;
    max-width: 52ch;
}

.help-search-wrap {
    max-width: min(520px, 100%);
}

.help-search-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: rgba(230, 240, 255, 0.92);
}

.help-search-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(111, 215, 255, 0.35);
    background: rgba(8, 14, 26, 0.85);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-search-field:focus-within {
    border-color: rgba(1, 138, 223, 0.75);
    box-shadow: 0 12px 32px rgba(1, 138, 223, 0.18), inset 0 0 0 1px rgba(1, 138, 223, 0.12);
}

.help-search-icon {
    flex-shrink: 0;
    font-size: 1.15rem;
    opacity: 0.75;
    line-height: 1;
}

.help-search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-size: 0.95rem;
    padding: 0.35rem 0.2rem;
    outline: none;
}

.help-search-input::placeholder {
    color: rgba(180, 205, 228, 0.55);
}

.help-search-hint {
    margin: 0.45rem 0 0;
    font-size: 0.8rem;
    color: rgba(160, 188, 218, 0.78);
}

.help-search-status {
    margin: 0.35rem 0 0;
    min-height: 1.25em;
    font-size: 0.82rem;
    font-weight: 600;
    color: #8ee2ff;
}

.help-hero-visual {
    display: flex;
    justify-content: center;
}

.help-hero-brand {
    position: relative;
    width: min(100%, 280px);
    min-height: 11rem;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.help-hero-brand-glow {
    position: absolute;
    width: 130%;
    height: 130%;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 50% 45%, rgba(1, 138, 223, 0.28) 0%, transparent 58%);
    pointer-events: none;
    z-index: 0;
    filter: blur(0.5px);
}

.help-hero-brand-ring {
    position: absolute;
    inset: 0;
    border-radius: 1.65rem;
    border: 1px solid rgba(111, 215, 255, 0.28);
    background: linear-gradient(160deg, rgba(11, 22, 38, 0.72) 0%, rgba(6, 10, 20, 0.88) 100%);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.32),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 -20px 40px rgba(1, 138, 223, 0.06);
    z-index: 1;
    animation: helpHeroBrandFloat 9s ease-in-out infinite;
}

.help-hero-brand-logo {
    position: relative;
    z-index: 2;
    width: min(198px, 76%);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.42));
}

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

.help-layout {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: start;
    padding-top: 0.5rem;
}

.help-sidebar {
    position: sticky;
    top: 5.5rem;
    z-index: 2;
    padding: 0.75rem 0;
}

.help-toc-title {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(145, 221, 255, 0.9);
}

.help-toc {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    padding: 0.2rem 0;
    scrollbar-width: thin;
}

.help-toc a {
    display: block;
    padding: 0.4rem 0.55rem;
    border-radius: 0.5rem;
    font-size: 0.84rem;
    color: rgba(220, 234, 248, 0.88);
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.help-toc a:hover {
    background: rgba(1, 138, 223, 0.12);
    border-color: rgba(111, 215, 255, 0.2);
    color: #ffffff;
}

.help-toc-link--hidden {
    display: none !important;
}

.help-main {
    min-width: 0;
}

.help-section {
    scroll-margin-top: 5.5rem;
    margin-bottom: 1.75rem;
    padding: 1.15rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(170deg, rgba(13, 20, 34, 0.82), rgba(8, 12, 22, 0.9));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.help-section:hover {
    border-color: rgba(130, 212, 255, 0.22);
    box-shadow: 0 14px 34px rgba(1, 138, 223, 0.1);
}

.help-section h2 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    line-height: 1.25;
    color: #d5f2ff;
}

.help-section h3 {
    margin: 1rem 0 0.45rem;
    font-size: 1rem;
    color: rgba(230, 242, 255, 0.95);
}

.help-section p {
    margin: 0 0 0.65rem;
    color: rgba(214, 227, 245, 0.88);
    font-size: 0.92rem;
    line-height: 1.62;
}

.help-section p:last-child {
    margin-bottom: 0;
}

.help-list,
.help-list-num {
    margin: 0.5rem 0 0;
    padding-left: 1.15rem;
    color: rgba(214, 227, 245, 0.88);
    font-size: 0.92rem;
    line-height: 1.6;
    display: grid;
    gap: 0.45rem;
}

.help-list-num {
    list-style: decimal;
}

.help-section a {
    color: #9fd9ff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.help-section code {
    font-size: 0.84em;
    padding: 0.12rem 0.35rem;
    border-radius: 0.35rem;
    background: rgba(1, 138, 223, 0.15);
    border: 1px solid rgba(111, 215, 255, 0.25);
}

.help-note {
    margin-top: 0.75rem !important;
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    background: rgba(1, 138, 223, 0.08);
    border: 1px dashed rgba(111, 215, 255, 0.28);
    font-size: 0.88rem !important;
}

.help-table-wrap {
    overflow-x: auto;
    margin: 0.65rem 0;
    border-radius: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.help-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.help-table th,
.help-table td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.help-table th {
    background: rgba(1, 138, 223, 0.12);
    color: #d5f2ff;
    font-weight: 700;
}

.help-table tr:last-child td {
    border-bottom: 0;
}

.help-table td {
    color: rgba(214, 227, 245, 0.88);
}

.help-timeline {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.65rem;
    color: rgba(214, 227, 245, 0.88);
    font-size: 0.92rem;
    line-height: 1.58;
}

.help-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.65rem;
    margin-top: 0.65rem;
}

.help-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 0.65rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.84rem;
    font-weight: 600;
    text-align: center;
    color: rgba(230, 240, 255, 0.95);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.help-quick-card:hover {
    transform: translateY(-2px);
    border-color: rgba(1, 138, 223, 0.45);
    background: rgba(1, 138, 223, 0.12);
    box-shadow: 0 10px 24px rgba(1, 138, 223, 0.15);
}

.help-quick-ico {
    font-size: 1.35rem;
    line-height: 1;
    opacity: 0.9;
}

.help-faq {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.65rem;
}

.help-faq + h3 {
    margin-top: 1.65rem;
}

.help-faq-item {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 0.85rem;
}

.help-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
}

.help-faq-item p {
    margin: 0.55rem 0 0;
    font-size: 0.88rem;
}

/* Retour en haut — centre d'aide */
.help-back-to-top {
    --help-btt-size: clamp(2.65rem, 6vw, 3.15rem);
    position: fixed;
    z-index: 40;
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: max(1.15rem, env(safe-area-inset-bottom, 0px));
    width: var(--help-btt-size);
    height: var(--help-btt-size);
    padding: 0;
    margin: 0;
    border: 1px solid rgba(111, 215, 255, 0.42);
    border-radius: 50%;
    background:
        linear-gradient(155deg, rgba(1, 138, 223, 0.42) 0%, rgba(6, 18, 36, 0.94) 55%, rgba(4, 10, 22, 0.98) 100%);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.07) inset,
        0 0 28px rgba(1, 138, 223, 0.22);
    color: #eaf6ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 14px, 0) scale(0.9);
    pointer-events: none;
    transition:
        opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.38s step-end,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.help-back-to-top-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.help-back-to-top-arrow {
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
    animation: helpBackTopArrowNudge 2.8s ease-in-out infinite;
}

.help-back-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    pointer-events: auto;
    transition:
        opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.45s cubic-bezier(0.34, 1.25, 0.64, 1),
        visibility 0s step-start,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.help-back-to-top--visible .help-back-to-top-inner {
    animation: helpBackTopRingGlow 3.2s ease-in-out infinite;
}

.help-back-to-top:hover {
    border-color: rgba(126, 207, 255, 0.75);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(1, 138, 223, 0.22) inset,
        0 0 36px rgba(1, 138, 223, 0.32);
}

.help-back-to-top:hover .help-back-to-top-inner {
    transform: translateY(-3px);
}

.help-back-to-top:active .help-back-to-top-inner {
    transform: translateY(-1px) scale(0.96);
}

.help-back-to-top:focus-visible {
    outline: none;
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.38),
        0 0 0 2px rgba(8, 14, 26, 0.95),
        0 0 0 4px rgba(126, 207, 255, 0.85);
}

@keyframes helpBackTopArrowNudge {
    0%, 100% { transform: translateY(0); }
    45% { transform: translateY(-3px); }
    55% { transform: translateY(-3px); }
}

@keyframes helpBackTopRingGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.12); }
}

@media (max-width: 480px) {
    .help-back-to-top {
        --help-btt-size: 2.55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .help-back-to-top,
    .help-back-to-top--visible {
        transition-duration: 0.01ms !important;
        transition-timing-function: linear !important;
    }

    .help-back-to-top-arrow,
    .help-back-to-top--visible .help-back-to-top-inner {
        animation: none !important;
    }

    .help-back-to-top:hover .help-back-to-top-inner,
    .help-back-to-top:active .help-back-to-top-inner {
        transform: none;
    }
}

@media (max-width: 960px) {
    .help-back-to-top {
        right: max(0.75rem, env(safe-area-inset-right, 0px));
        bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    }

    .help-hero-inner {
        grid-template-columns: 1fr;
    }

    .help-hero-visual {
        order: -1;
    }

    .help-layout {
        grid-template-columns: 1fr;
    }

    .help-sidebar {
        position: static;
        top: auto;
        max-height: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0.85rem;
        padding: 0.65rem 0.75rem;
        background: rgba(8, 12, 22, 0.55);
    }

    .help-toc {
        flex-direction: row;
        flex-wrap: wrap;
        max-height: none;
        overflow: visible;
        gap: 0.35rem;
    }

    .help-toc a {
        padding: 0.35rem 0.55rem;
        font-size: 0.8rem;
    }

    .footer-socials {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .help-hero-brand-ring {
        animation: none !important;
    }
}

/* --- Consentement obligatoire --- */
.mandatory-consent-page {
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
}

.mandatory-consent-wrap {
    width: 100%;
    padding: clamp(1.2rem, 4.8vw, 3rem) 0;
}

.mandatory-consent-card {
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(1.05rem, 3vw, 1.6rem);
    border-radius: 20px;
    border: 1px solid rgba(111, 215, 255, 0.25);
    background: linear-gradient(168deg, rgba(14, 24, 40, 0.95), rgba(8, 13, 24, 0.97));
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.33), 0 8px 22px rgba(1, 138, 223, 0.14);
}

.mandatory-consent-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #8fdcff;
}

.mandatory-consent-title {
    margin: 0 0 0.55rem;
    font-size: clamp(1.45rem, 4vw, 2rem);
    line-height: 1.15;
}

.mandatory-consent-lead {
    margin: 0 0 0.8rem;
    color: rgba(222, 236, 252, 0.9);
    line-height: 1.65;
}

.mandatory-consent-email {
    margin: 0 0 0.95rem;
    color: rgba(170, 202, 232, 0.95);
    font-size: 0.93rem;
}

.mandatory-consent-form {
    display: grid;
    gap: 0.7rem;
}

.mandatory-consent-check {
    margin: 0;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.mandatory-consent-accept {
    width: 100%;
    text-align: center;
}

.mandatory-consent-decline-form {
    margin-top: 0.7rem;
}

.mandatory-consent-decline {
    width: 100%;
    min-height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.8);
    background: linear-gradient(120deg, rgba(123, 29, 45, 0.75), rgba(86, 18, 28, 0.82));
    color: #ffe7e7;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mandatory-consent-decline:hover {
    transform: translateY(-1px);
    border-color: rgba(254, 142, 142, 0.98);
    background: linear-gradient(120deg, rgba(144, 36, 55, 0.84), rgba(102, 21, 34, 0.9));
    box-shadow: 0 10px 24px rgba(168, 36, 57, 0.3);
}

@media (max-width: 640px) {
    .mandatory-consent-page {
        min-height: calc(100vh - 64px);
    }
}

