/* ==========================================================================
   AURA PREMIUM HERO SECTION - SCOPED CSS
   ========================================================================== */
#aura-hero {
    --bg-color: #FAFAFC;
    /* Blanc perle très doux */
    --surface-color: rgba(255, 255, 255, 0.7);
    /* Verre translucide clair */
    --surface-hover: rgba(255, 255, 255, 1);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 168, 204, 0.3);

    --accent-main: #00A8CC;
    /* Bleu d'eau pure / Cyan premium */
    --accent-glow: rgba(0, 168, 204, 0.15);

    --text-main: #0F172A;
    /* Bleu marine très foncé pour un contraste élégant */
    --text-muted: #64748B;
    /* Gris bleuté doux */

    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    position: relative;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow: hidden;
    z-index: 10;
}

#aura-hero *,
#aura-hero ::before,
#aura-hero ::after {
    cursor: none;
    box-sizing: border-box;
}

/* Hide ambient bg outside of hero to avoid overlap */
#aura-hero .ambient-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(135deg, #F0F9FF 0%, #FAFAFC 100%);
}

#aura-hero .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: aura-float 20s infinite ease-in-out alternate;
}

#aura-hero .orb-1 {
    width: 50vw;
    height: 50vw;
    background: #E0F2FE;
    top: -10%;
    left: -10%;
}

#aura-hero .orb-2 {
    width: 40vw;
    height: 40vw;
    background: #CCFBF1;
    bottom: -5%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes aura-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(10vw, 10vh) scale(1.1);
    }
}

#aura-hero .main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    padding-top: 8rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

#aura-hero .left-panel {
    padding: 0 5vw 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#aura-hero .right-panel {
    padding: 0 5vw 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#aura-hero .kicker {
    font-family: var(--font-head);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-main);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

#aura-hero .kicker::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--accent-main);
}

#aura-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    color: #020617;
}

#aura-hero h1 span {
    font-style: italic;
    font-weight: 400;
    color: var(--accent-main);
}

#aura-hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 450px;
    font-weight: 300;
}

#aura-hero .form-glass {
    background: var(--surface-color);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 550px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

#aura-hero .step-indicator {
    display: flex;
    gap: 10px;
    margin-bottom: 2.5rem;
}

#aura-hero .dot {
    height: 4px;
    flex: 1;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

#aura-hero .dot.active {
    background: var(--accent-main);
    box-shadow: 0 0 10px var(--accent-glow);
}

#aura-hero .dot.completed {
    background: rgba(0, 168, 204, 0.4);
}

#aura-hero .form-step {
    display: none;
    opacity: 0;
    transform: translateX(20px);
}

#aura-hero .form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    animation: auraSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes auraSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#aura-hero .step-title {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: #020617;
}

#aura-hero .grid-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

#aura-hero .selection-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

#aura-hero .selection-card i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

#aura-hero .selection-card span {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
}

#aura-hero .selection-card:hover {
    background: var(--surface-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

#aura-hero .selection-card:hover i {
    color: var(--accent-main);
}

#aura-hero .selection-card.selected {
    background: #F0F9FF;
    border-color: var(--accent-main);
    box-shadow: 0 0 0 1px var(--accent-main) inset;
}

#aura-hero .selection-card.selected i {
    color: var(--accent-main);
}

#aura-hero .slider-container {
    margin: 2rem 0;
    width: 100%;
}

#aura-hero .slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

#aura-hero .slider-val {
    color: var(--accent-main);
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 500;
}

#aura-hero input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    cursor: none;
}

#aura-hero input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--accent-main);
    margin-top: -8px;
    box-shadow: 0 0 15px var(--accent-glow);
}

#aura-hero input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    border: none;
}

#aura-hero .input-group {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
}

#aura-hero .input-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    color: var(--text-main);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

#aura-hero .input-group input:focus {
    outline: none;
    border-bottom-color: var(--accent-main);
}

#aura-hero .input-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--text-muted);
    font-size: 1rem;
    transition: 0.3s ease all;
    pointer-events: none;
}

#aura-hero .input-group input:focus~label,
#aura-hero .input-group input:valid~label {
    top: -10px;
    font-size: 0.75rem;
    color: var(--accent-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#aura-hero .btn-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    width: 100%;
}

#aura-hero .btn-back {
    color: var(--text-muted);
    background: transparent;
    border: none;
    font-family: var(--font-head);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    display: none;
    height: auto;
    outline: none;
    box-shadow: none;
}

#aura-hero .btn-back:hover {
    color: var(--text-main);
}

#aura-hero .magnetic-btn {
    background: var(--text-main);
    color: #FFF;
    border: none;
    padding: 16px 32px;
    border-radius: 100px;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.1s, background 0.3s, box-shadow 0.3s;
    will-change: transform;
}

#aura-hero .magnetic-btn:hover {
    background: var(--accent-main);
    box-shadow: 0 10px 25px rgba(0, 168, 204, 0.3);
}

#aura-hero .btn-disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #CBD5E1;
    color: #FFF;
}

#aura-hero .success-state {
    text-align: center;
    display: none;
    opacity: 0;
    padding: 2rem 0;
}

#aura-hero .success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid var(--accent-main);
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: var(--accent-main);
    margin: 0 auto 2rem;
    box-shadow: 0 0 30px var(--accent-glow);
    background: #FFF;
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
#cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: #00A8CC;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s, opacity 0.3s;
    display: none;
}

#cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 168, 204, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, border-radius 0.3s;
    will-change: transform;
    display: none;
}

@media (max-width: 1024px) {

    #cursor-dot,
    #cursor-outline {
        display: none !important;
    }

    #aura-hero * {
        cursor: auto !important;
    }

    #aura-hero {
        cursor: auto !important;
    }
}

@media (max-width: 900px) {
    #aura-hero .main-container {
        grid-template-columns: 1fr;
        padding-top: 6rem;
        min-height: auto;
    }

    #aura-hero .left-panel {
        padding-bottom: 2rem;
        text-align: center;
        align-items: center;
    }

    #aura-hero .subtitle {
        margin: 0 auto;
    }

    #aura-hero .form-glass {
        padding: 2rem;
    }

    #aura-hero .grid-cards {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   GLOBAL MOBILE & IOS OPTIMIZATIONS (ADDED FOR SMOOTHNESS)
   ========================================================= */
html,
body {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip !important;
}

/* Enable hardware acceleration for scroll animations to prevent iOS stutter */
[data-reveal],
.reveal,
.bento-card,
.metric-card,
.image-card,
.team-card,
.step-card,
.portal-card {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* Ensure mobile dock adapts perfectly to iOS home indicator */
.dock {
    margin-bottom: env(safe-area-inset-bottom, 10px) !important;
}

\n