/* ============================================
   C'est de la Com' — CSS
   ============================================ */

/* --- Custom Properties --- */
:root {
    --blue: #3B82F6;
    --violet: #6366F1;
    --orange: #F59E0B;
    --amber: #F97316;
    --dark-1: #1e1b4b;
    --dark-2: #312e81;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #1a1a1a;
    --green: #22c55e;
    --gray-400: #94a3b8;
    --gray-600: #475569;

    --gradient-primary: linear-gradient(135deg, var(--blue), var(--violet));
    --gradient-secondary: linear-gradient(135deg, var(--orange), var(--amber));
    --gradient-dark: linear-gradient(135deg, var(--dark-1), var(--dark-2));

    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-glow-primary: 0 0 20px rgba(99,102,241,0.3);
    --shadow-glow-secondary: 0 0 20px rgba(245,158,11,0.3);

    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- GSAP initial states (prevent flash on load) --- */
.hero__title,
.hero__subtitle,
.hero__ctas .btn,
.hero__visual,
.section-title,
.card,
.portfolio__item,
.carousel,
.apropos__content,
.apropos__card,
.apropos__highlight,
.tarifs__card,
.contact__form-area,
.contact__info {
    visibility: hidden;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
}

.preloader__content {
    text-align: center;
}

.preloader__logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--gray-900);
    margin-bottom: 32px;
}

.preloader__logo span {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preloader__bar {
    width: 200px;
    height: 3px;
    background: var(--gray-100);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader__progress {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: preloader-fill 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes preloader-fill {
    0% { width: 0%; }
    60% { width: 80%; }
    100% { width: 100%; }
}

/* --- Custom Cursor --- */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--violet);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
    transform: translate3d(0, 0, 0) translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--violet);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
    transform: translate3d(0, 0, 0) translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
    opacity: 0.5;
}

.cursor.hover {
    width: 16px;
    height: 16px;
    background: var(--orange);
}

.cursor-follower.hover {
    width: 50px;
    height: 50px;
    border-color: var(--orange);
    background: rgba(245, 158, 11, 0.08);
    opacity: 1;
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
    .cursor, .cursor-follower { display: none; }
}

/* Hide default cursor on desktop when custom cursor is active */
@media (hover: hover) {
    body { cursor: none; }
    a, button, input, textarea, select, .filter-btn, .portfolio__item { cursor: none; }
}

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }

.gradient-orange {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title__line {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-title--light { color: var(--white); }
.section-title--light .section-title__line { background: var(--gradient-secondary); }
.section-title__line--light { background: var(--gradient-secondary); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.btn--primary {
    background: var(--gradient-primary);
    color: var(--white);
}
.btn--primary:hover { box-shadow: var(--shadow-glow-primary); }
.btn--primary::before { background: linear-gradient(135deg, var(--violet), var(--blue)); }
.btn--primary:hover::before { opacity: 1; }

.btn--secondary {
    background: var(--gradient-secondary);
    color: var(--white);
}
.btn--secondary:hover { box-shadow: var(--shadow-glow-secondary); }
.btn--secondary::before { background: linear-gradient(135deg, var(--amber), var(--orange)); }
.btn--secondary:hover::before { opacity: 1; }

.btn--primary-sm {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 24px;
    font-size: 0.875rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition);
}
.btn--primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-primary);
}

.btn--full { width: 100%; }

.btn > span,
.btn > i { position: relative; z-index: 1; }

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 14px 40px;
}

/* --- Scroll Progress --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-secondary);
    z-index: 101;
    transition: none;
}

.navbar__logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Burger --- */
.burger {
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 200;
}

.burger__line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--gray-900);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger__line:nth-child(3) { bottom: 0; }

.burger.active .burger__line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background: var(--white);
}
.burger.active .burger__line:nth-child(2) { opacity: 0; }
.burger.active .burger__line:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    background: var(--white);
}

/* --- Overlay --- */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Kill all GPU work when menu is open */
body.menu-open { overflow: hidden; }
body.menu-open .navbar.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.menu-open .hero,
body.menu-open .services,
body.menu-open .apropos,
body.menu-open .portfolio,
body.menu-open .process,
body.menu-open .tarifs,
body.menu-open .temoignages,
body.menu-open .socials,
body.menu-open .contact,
body.menu-open .footer {
    visibility: hidden;
}
body.menu-open .orbit__ring,
body.menu-open .orbit__dot,
body.menu-open .orbit__core,
body.menu-open .float-card,
body.menu-open .blob,
body.menu-open .hero__scroll,
body.menu-open .apropos__orb {
    animation-play-state: paused !important;
}

/* --- Side Panel --- */
.side-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 85vw;
    height: 100vh;
    background: var(--gradient-dark);
    z-index: 175;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 50px;
    transform: translateX(100%);
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.side-panel.active { transform: translateX(0); }

.side-panel__links li { overflow: hidden; }

.side-panel__links a {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    padding: 12px 0;
    transition: color var(--transition), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(60px);
    opacity: 0;
}

.side-panel.active .side-panel__links a {
    transform: translateX(0);
    opacity: 1;
}

.side-panel__links a:hover {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.side-panel__footer {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateY(20px);
    opacity: 0;
}

.side-panel.active .side-panel__footer {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.5s 0.4s, opacity 0.5s 0.4s;
}

.side-panel__socials {
    display: flex;
    gap: 16px;
}

.side-panel__socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background var(--transition), border-color var(--transition);
}

.side-panel__socials a:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.side-panel__socials a svg { width: 20px; height: 20px; }

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
}

.hero__content {
    max-width: 560px;
    position: relative;
    z-index: 2;
}

.hero__title {
    margin-bottom: 16px;
}

.hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--gray-500);
    margin-bottom: 36px;
    font-weight: 500;
}

.hero__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Hero Visual (Motion Design) --- */
.hero__visual {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 480px;
    height: 480px;
}

.orbit {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Orbiting rings */
.orbit__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.orbit__ring--1 {
    width: 280px;
    height: 280px;
    border-color: rgba(99,102,241,0.12);
    animation: spin 20s linear infinite;
}

.orbit__ring--2 {
    width: 380px;
    height: 380px;
    border-color: rgba(245,158,11,0.1);
    animation: spin 30s linear infinite reverse;
}

.orbit__ring--3 {
    width: 460px;
    height: 460px;
    border-color: rgba(99,102,241,0.06);
    border-style: dashed;
    animation: spin 40s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Central glowing core */
.orbit__core {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(99,102,241,0.4), 0 0 80px rgba(99,102,241,0.15);
    animation: pulse-glow 3s ease-in-out infinite;
    will-change: transform;
    z-index: 5;
}

.orbit__core span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--white);
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}

/* Floating UI cards */
.float-card {
    position: absolute;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04);
    z-index: 10;
}

.float-card--1 {
    top: 5%;
    right: 2%;
    padding: 16px;
    width: 160px;
    animation: float-1 6s ease-in-out infinite;
}

.float-card__bar {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--gradient-primary);
    margin-bottom: 12px;
}

.float-card__lines div {
    height: 4px;
    border-radius: 2px;
    background: var(--gray-100);
    margin-bottom: 6px;
}

.float-card__lines div:nth-child(1) { width: 100%; }
.float-card__lines div:nth-child(2) { width: 80%; }
.float-card__lines div:nth-child(3) { width: 60%; }

.float-card__btn {
    width: 70px;
    height: 24px;
    border-radius: 12px;
    background: var(--gradient-secondary);
    margin-top: 10px;
}

.float-card--2 {
    bottom: 15%;
    right: 0;
    padding: 14px;
    animation: float-2 7s ease-in-out infinite;
}

.float-card__palette {
    display: flex;
    gap: 6px;
}

.float-card__palette span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: block;
    transition: transform 0.3s;
}

.float-card--3 {
    bottom: 5%;
    left: 5%;
    padding: 14px 20px;
    animation: float-3 5s ease-in-out infinite;
}

.float-card__typo {
    text-align: center;
}

.float-card__typo strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.float-card__typo small {
    font-size: 0.65rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.float-card--4 {
    top: 15%;
    left: -5%;
    padding: 10px 16px;
    animation: float-4 8s ease-in-out infinite;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
}

.float-card__code .c-blue { color: var(--blue); }
.float-card__code .c-orange { color: var(--amber); }
.float-card__code .c-green { color: #10b981; }

/* Float keyframes */
@keyframes float-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(1deg); }
    75% { transform: translateY(8px) rotate(-1deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-10px) translateX(5px); }
    66% { transform: translateY(6px) translateX(-3px); }
}

@keyframes float-3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(-2deg); }
}

@keyframes float-4 {
    0%, 100% { transform: translateY(0) translateX(0); }
    40% { transform: translateY(-8px) translateX(6px); }
    80% { transform: translateY(5px) translateX(-4px); }
}

/* Orbiting dots */
.orbit__dot {
    position: absolute;
    border-radius: 50%;
}

.orbit__dot--1 {
    width: 10px;
    height: 10px;
    background: var(--blue);
    top: 50%;
    left: 50%;
    animation: orbit-dot-1 12s linear infinite;
    box-shadow: 0 0 10px rgba(59,130,246,0.5);
}

.orbit__dot--2 {
    width: 8px;
    height: 8px;
    background: var(--orange);
    top: 50%;
    left: 50%;
    animation: orbit-dot-2 16s linear infinite;
    box-shadow: 0 0 10px rgba(245,158,11,0.5);
}

.orbit__dot--3 {
    width: 6px;
    height: 6px;
    background: var(--violet);
    top: 50%;
    left: 50%;
    animation: orbit-dot-3 10s linear infinite;
    box-shadow: 0 0 8px rgba(99,102,241,0.5);
}

.orbit__dot--4 {
    width: 12px;
    height: 12px;
    background: var(--gradient-secondary);
    top: 50%;
    left: 50%;
    animation: orbit-dot-4 20s linear infinite;
    box-shadow: 0 0 12px rgba(249,115,22,0.4);
}

.orbit__dot--5 {
    width: 7px;
    height: 7px;
    background: var(--gradient-primary);
    top: 50%;
    left: 50%;
    animation: orbit-dot-5 14s linear infinite reverse;
    box-shadow: 0 0 10px rgba(59,130,246,0.4);
}

@keyframes orbit-dot-1 {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(140px) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg) translateX(140px) rotate(-360deg); }
}

@keyframes orbit-dot-2 {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(190px) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg) translateX(190px) rotate(-360deg); }
}

@keyframes orbit-dot-3 {
    from { transform: translate(-50%, -50%) rotate(90deg) translateX(140px) rotate(-90deg); }
    to { transform: translate(-50%, -50%) rotate(450deg) translateX(140px) rotate(-450deg); }
}

@keyframes orbit-dot-4 {
    from { transform: translate(-50%, -50%) rotate(180deg) translateX(230px) rotate(-180deg); }
    to { transform: translate(-50%, -50%) rotate(540deg) translateX(230px) rotate(-540deg); }
}

@keyframes orbit-dot-5 {
    from { transform: translate(-50%, -50%) rotate(45deg) translateX(190px) rotate(-45deg); }
    to { transform: translate(-50%, -50%) rotate(405deg) translateX(190px) rotate(-405deg); }
}

/* Animated blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: 1;
}

.blob--1 {
    width: 200px;
    height: 200px;
    background: var(--blue);
    top: 20%;
    right: 15%;
    animation: blob-move-1 8s ease-in-out infinite;
}

.blob--2 {
    width: 160px;
    height: 160px;
    background: var(--orange);
    bottom: 20%;
    right: 25%;
    animation: blob-move-2 10s ease-in-out infinite;
}

@keyframes blob-move-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.1); }
    66% { transform: translate(-10px, 15px) scale(0.95); }
}

@keyframes blob-move-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-15px, -25px) scale(1.15); }
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gray-500);
    animation: bounce 2s ease infinite;
    z-index: 2;
}

.hero__scroll svg { width: 28px; height: 28px; }

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

/* --- Hero Shapes --- */
.hero__shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.shape--circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(99,102,241,0.08));
    top: -80px;
    right: -60px;
}

.shape--circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(245,158,11,0.06), rgba(249,115,22,0.08));
    top: auto;
    right: auto;
    bottom: 10%;
    left: -50px;
}

.shape--line {
    position: absolute;
    width: 150px;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.2;
    top: 30%;
    left: 5%;
    transform: rotate(-20deg);
}

.shape--line-2 {
    top: auto;
    left: auto;
    bottom: 25%;
    right: 10%;
    transform: rotate(30deg);
    background: var(--gradient-secondary);
}

.shape--dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    opacity: 0.3;
    top: 20%;
    right: 30%;
}

/* --- Services --- */
.services {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.services__bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
    align-items: stretch;
}

.card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}

.card__glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.card:hover .card__glow { opacity: 1; }

.card__glow--warm {
    background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
}

.card__glow--dark {
    background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
}

/* Flagship card — spans 1 column but gets special layout */
.card--hero {
    grid-row: 1 / 3;
    text-align: left;
    align-items: flex-start;
    padding: 44px 36px;
    background: linear-gradient(160deg, #f8faff 0%, #ffffff 100%);
    border: 1px solid rgba(99,102,241,0.12);
}

.card--hero .card__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.card--hero .card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.card--hero .card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.card--hero .card__list li svg {
    width: 16px;
    height: 16px;
    color: var(--violet);
    flex-shrink: 0;
}

/* Featured cards — Automatisation & CRM */
.card--featured {
    text-align: left;
    align-items: flex-start;
}

.card--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card--auto::before {
    background: var(--gradient-secondary);
}

.card--crm::before {
    background: var(--gradient-dark);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border-color: transparent;
    background-image: linear-gradient(white, white), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.card--auto:hover {
    background-image: linear-gradient(white, white), var(--gradient-secondary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.card--crm:hover {
    background-image: linear-gradient(white, white), var(--gradient-dark);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.card__icon svg { width: 24px; height: 24px; }

.card__icon--warm { background: var(--gradient-secondary); }
.card__icon--dark { background: var(--gradient-dark); }

.card__badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--gray-100);
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card__badge--free {
    background: var(--gradient-secondary);
    color: var(--white);
}

.card__badge--glow {
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(245,158,11,0.15));
    color: var(--violet);
    border: 1px solid rgba(99,102,241,0.2);
}

.card__title {
    color: var(--gray-900);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}

.card__text {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
}

/* --- À propos (Dark Section) --- */
.apropos {
    padding: 120px 0;
    background: linear-gradient(170deg, #0f0b2e 0%, #1a1145 40%, #0d0a26 100%);
    position: relative;
    overflow: hidden;
}

.apropos__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.apropos__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.apropos__orb--1 {
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.15);
    top: -100px;
    right: -100px;
    animation: orb-float 12s ease-in-out infinite;
}

.apropos__orb--2 {
    width: 300px;
    height: 300px;
    background: rgba(245, 158, 11, 0.1);
    bottom: -80px;
    left: -60px;
    animation: orb-float 15s ease-in-out infinite reverse;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

.apropos__wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
    align-items: start;
    margin-top: 48px;
}

.apropos__intro {
    font-size: 1.2rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
}

.apropos__intro strong {
    color: var(--white);
    font-weight: 600;
}

.apropos__highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.apropos__highlight {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.apropos__highlight:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(99,102,241,0.3);
    transform: translateX(6px);
}

.apropos__highlight-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    min-width: 44px;
}

.apropos__highlight-body {
    flex: 1;
}

.apropos__highlight-body h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.apropos__highlight-body p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.65;
}

.apropos__highlight-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
}

.apropos__highlight-icon svg {
    width: 22px;
    height: 22px;
}

.apropos__highlight-icon--warm {
    background: rgba(245,158,11,0.12);
    border-color: rgba(245,158,11,0.25);
    color: #fbbf24;
}

.apropos__highlight-icon--dark {
    background: rgba(139,92,246,0.12);
    border-color: rgba(139,92,246,0.25);
    color: #c4b5fd;
}

/* Profile Card — Glassmorphism */
.apropos__card {
    position: sticky;
    top: 100px;
}

.apropos__card-inner {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 44px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.apropos__card-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.apropos__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 0 30px rgba(99,102,241,0.4), 0 0 60px rgba(99,102,241,0.15);
    position: relative;
    z-index: 1;
}

.apropos__name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.apropos__role {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.apropos__divider {
    width: 48px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 3px;
    margin: 22px auto;
}

.apropos__details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    margin-bottom: 24px;
}

.apropos__details li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.apropos__details li svg {
    width: 16px;
    height: 16px;
    color: #a5b4fc;
    flex-shrink: 0;
}

.apropos__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.apropos__stat {
    text-align: center;
}

.apropos__stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.apropos__stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}

/* --- Portfolio --- */
.portfolio {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.portfolio__filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-500);
    background: transparent;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    position: relative;
}

.filter-btn:hover {
    color: var(--violet);
    border-color: var(--violet);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio__item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio__item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.portfolio__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio__item:hover img {
    transform: scale(1.1);
}

.portfolio__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15,11,46,0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio__item:hover .portfolio__overlay {
    opacity: 1;
}

.portfolio__cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange);
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 6px;
    transform: translateY(12px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio__name {
    color: var(--white);
    font-size: 1.3rem;
    transform: translateY(12px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.portfolio__item:hover .portfolio__cat,
.portfolio__item:hover .portfolio__name {
    transform: translateY(0);
}

.portfolio__item.hidden {
    display: none;
}

/* --- Process (Comment je travaille) --- */
.process {
    padding: 120px 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.process__timeline {
    display: flex;
    gap: 0;
    margin-top: 60px;
    position: relative;
    counter-reset: step;
}

.process__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 16px;
}

.process__connector {
    position: absolute;
    top: 24px;
    left: calc(50% + 28px);
    right: calc(-50% + 28px);
    height: 2px;
    background: linear-gradient(90deg, var(--violet), var(--blue));
    opacity: 0.2;
}

.process__step:last-child .process__connector { display: none; }

.process__marker {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    transition: all var(--transition);
}

.process__marker span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--gray-400);
    transition: color var(--transition);
}

.process__step:hover .process__marker {
    border-color: var(--violet);
    box-shadow: 0 0 0 6px rgba(99,102,241,0.1);
    background: var(--gradient-primary);
}

.process__step:hover .process__marker span {
    color: var(--white);
}

.process__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.process__icon-sm {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(99,102,241,0.1);
    color: var(--violet);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process__icon-sm--warm {
    background: rgba(245,158,11,0.1);
    color: var(--orange);
}

.process__icon-sm svg {
    width: 20px;
    height: 20px;
}

.process__title {
    font-size: 1rem;
    color: var(--gray-900);
}

.process__text {
    color: var(--gray-500);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 200px;
}

/* --- Pricing (Tarifs) --- */
.pricing {
    padding: 120px 0;
    background: var(--gray-50);
}

.pricing__subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-top: -20px;
    margin-bottom: 60px;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 820px;
    margin: 0 auto;
}

.pricing__card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

.pricing__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing__card--featured {
    border: 2px solid var(--violet);
    position: relative;
    box-shadow: var(--shadow-md);
}

.pricing__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 20px;
    border-radius: 50px;
    letter-spacing: 0.03em;
}

.pricing__header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 24px;
}

.pricing__label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray-900);
}

.pricing__price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    color: var(--gray-900);
    line-height: 1.1;
    margin: 12px 0 4px;
}

.pricing__currency {
    font-size: 1.5rem;
    font-weight: 700;
    vertical-align: super;
}

.pricing__period {
    color: var(--gray-400);
    font-size: 0.85rem;
}

.pricing__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    margin-bottom: 32px;
}

.pricing__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.4;
}

.pricing__features li svg {
    width: 18px;
    height: 18px;
    color: var(--green, #22c55e);
    flex-shrink: 0;
}

/* --- Testimonials --- */
.temoignages {
    padding: 120px 0;
    background: linear-gradient(170deg, #0d0a26 0%, #151040 50%, #0f0b2e 100%);
    position: relative;
    overflow: hidden;
}

.temoignages__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.temoignages__orb {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
}

.carousel {
    position: relative;
    overflow: hidden;
}

.carousel__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel__slide {
    min-width: 100%;
    padding: 0 40px;
}

.testimonial {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 52px 48px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    position: relative;
}

.testimonial__quote-icon {
    display: block;
    margin: 0 auto 20px;
    width: 48px;
    height: 48px;
}

.testimonial__quote-icon svg {
    width: 48px;
    height: 48px;
    color: rgba(245,158,11,0.5);
}

.testimonial__text {
    font-size: 1.15rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial__stars {
    color: var(--orange);
    font-size: 1rem;
    margin-bottom: 28px;
    letter-spacing: 6px;
}

.testimonial__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.testimonial__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
}

.testimonial__name {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--white);
}

.testimonial__role {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}

.carousel__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}

.carousel__arrow:hover {
    background: var(--gradient-secondary);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-glow-secondary);
}

.carousel__arrow svg { width: 20px; height: 20px; }

.carousel__dots {
    display: flex;
    gap: 8px;
}

.carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.carousel__dot.active {
    background: var(--gradient-secondary);
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(245,158,11,0.4);
}

/* --- Socials --- */
.socials {
    padding: 60px 0 80px;
    background: var(--white);
}

.socials__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    background: var(--white);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: inherit;
}

.social-icon--instagram::before {
    background: linear-gradient(135deg, rgba(228,64,95,0.06), rgba(131,58,180,0.06));
}

.social-icon--facebook::before {
    background: rgba(24,119,242,0.05);
}

.social-icon:hover::before { opacity: 1; }

.social-icon__circle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    position: relative;
    z-index: 1;
}

.social-icon__circle svg { width: 22px; height: 22px; }

.social-icon--instagram .social-icon__circle {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
}

.social-icon--facebook .social-icon__circle {
    background: #1877F2;
    color: var(--white);
}

.social-icon:hover .social-icon__circle {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.social-icon__info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.social-icon__info strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.social-icon__info span {
    font-size: 0.82rem;
    color: var(--gray-500);
}

.social-icon__arrow {
    width: 18px;
    height: 18px;
    color: var(--gray-300);
    transition: all 0.35s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.social-icon:hover .social-icon__arrow {
    transform: translate(3px, -3px);
}

.social-icon--instagram:hover .social-icon__arrow { color: #E4405F; }
.social-icon--facebook:hover .social-icon__arrow { color: #1877F2; }

.social-icon:hover {
    border-color: transparent;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.social-icon--instagram:hover {
    border-color: rgba(228,64,95,0.2);
}

.social-icon--facebook:hover {
    border-color: rgba(24,119,242,0.2);
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background: linear-gradient(170deg, var(--dark-1), #0d0a26);
    position: relative;
    overflow: hidden;
}

.contact__deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.contact__orb--1 {
    width: 350px;
    height: 350px;
    background: rgba(99,102,241,0.1);
    top: -120px;
    left: -80px;
}

.contact__orb--2 {
    width: 250px;
    height: 250px;
    background: rgba(245,158,11,0.08);
    bottom: -60px;
    right: -60px;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.contact__tabs {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 36px;
}

.tab {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
    white-space: nowrap;
}

.tab.active {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.tab:hover:not(.active) {
    color: rgba(255,255,255,0.8);
}

.form { display: none; }
.form.active { display: block; }

.form__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form__group {
    position: relative;
    margin-bottom: 24px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form__group input,
.form__group textarea,
.form__group select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 1rem;
    transition: all var(--transition);
    outline: none;
}

.form__group select option {
    background: var(--dark-1);
    color: var(--white);
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
    border-color: rgba(245,158,11,0.6);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 16px rgba(245,158,11,0.15);
}

.form__group label {
    position: absolute;
    left: 20px;
    top: 16px;
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    pointer-events: none;
    transition: all var(--transition);
}

.form__group input:focus ~ label,
.form__group input:not(:placeholder-shown) ~ label,
.form__group textarea:focus ~ label,
.form__group textarea:not(:placeholder-shown) ~ label,
.form__group select:focus ~ label,
.form__group select:valid ~ label {
    top: -10px;
    left: 16px;
    font-size: 0.75rem;
    background: var(--dark-1);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--orange);
}

.form__group input[type="date"],
.form__group input[type="time"] {
    color-scheme: dark;
}

.form__group input[type="date"] ~ label,
.form__group input[type="time"] ~ label {
    top: -10px;
    left: 16px;
    font-size: 0.75rem;
    background: var(--dark-1);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--orange);
}

.form__plan-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.3);
    color: #a5b4fc;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form__plan-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.form__success {
    text-align: center;
    padding: 48px;
    color: var(--white);
}

.form__success svg {
    width: 64px;
    height: 64px;
    color: #43E97B;
    margin-bottom: 16px;
}

.form__success p {
    font-size: 1.1rem;
}

/* --- Contact Info --- */
.contact__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}

.contact__info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 20px;
    transition: background var(--transition), border-color var(--transition);
}

.contact__info-item:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.12);
}

.contact__info-item svg {
    width: 22px;
    height: 22px;
    color: var(--orange);
    flex-shrink: 0;
}

.contact__info-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact__info-item a,
.contact__info-item span {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.contact__info-item a:hover { color: var(--white); }

.contact__info-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.contact__info-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition);
}

.contact__info-socials a:hover {
    background: var(--gradient-secondary);
    border-color: transparent;
}

.contact__info-socials svg { width: 20px; height: 20px; }

/* --- Footer --- */
.footer {
    background: var(--dark-1);
}

.footer__cta {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 60px 0;
}

.footer__cta-inner {
    text-align: center;
}

.footer__cta-inner h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.footer__cta-inner p {
    color: rgba(255,255,255,0.55);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.footer__inner {
    padding: 48px 0 24px;
}

.footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 24px;
}

.footer__brand {
    max-width: 280px;
}

.footer__logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--white);
    display: inline-block;
    margin-bottom: 10px;
}

.footer__tagline {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer__links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.footer__links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    transition: color var(--transition);
    position: relative;
}

.footer__links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--orange);
    transition: width var(--transition);
}

.footer__links a:hover { color: var(--white); }
.footer__links a:hover::after { width: 100%; }

.footer__socials {
    display: flex;
    gap: 10px;
}

.footer__socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: all var(--transition);
}

.footer__socials a:hover {
    color: var(--white);
    border-color: var(--orange);
    background: rgba(245,158,11,0.1);
}

.footer__socials svg { width: 16px; height: 16px; }

.footer__bottom {
    display: flex;
    gap: 24px;
    align-items: center;
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

.footer__bottom a {
    color: rgba(255,255,255,0.35);
    transition: color var(--transition);
}

.footer__bottom a:hover { color: var(--white); }

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), box-shadow var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: var(--shadow-glow-primary);
    transform: translateY(-3px);
}

.back-to-top svg { width: 22px; height: 22px; }

/* ============================================
   Responsive
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 140px 24px 80px;
    }

    .hero__ctas { justify-content: center; }

    .hero__visual { width: 360px; height: 360px; }
    .orbit__ring--3 { width: 340px; height: 340px; }
    .float-card--1 { right: -5%; }
    .float-card--2 { right: -5%; }

    .services__bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .card--hero {
        grid-row: auto;
        grid-column: 1 / -1;
    }

    .apropos__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .apropos__card {
        position: static;
        max-width: 420px;
        margin: 0 auto;
    }

    .portfolio__grid { grid-template-columns: repeat(2, 1fr); }

    .process__connector { display: none; }
    .process__timeline { flex-wrap: wrap; justify-content: center; gap: 24px; }
    .process__step { flex: 0 0 calc(33.33% - 16px); padding: 0 8px; }

    .pricing__grid { max-width: 700px; }

    .socials__row { max-width: none; }

    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact__info {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .footer__top { flex-direction: column; align-items: center; text-align: center; }
    .footer__brand { max-width: none; }
}

/* Mobile */
@media (max-width: 640px) {
    .navbar { padding: 16px 20px; }
    .navbar.scrolled { padding: 12px 20px; }

    .hero { padding: 120px 20px 60px; }
    .hero__visual { width: 280px; height: 280px; }
    .orbit__ring--2 { width: 260px; height: 260px; }
    .orbit__ring--3 { display: none; }
    .float-card--1 { display: none; }
    .float-card--4 { display: none; }
    .orbit__core { width: 70px; height: 70px; }
    .orbit__core span { font-size: 1.8rem; }
    .hero__ctas { flex-direction: column; align-items: center; }
    .hero__ctas .btn { width: 100%; max-width: 280px; }

    .services { padding: 80px 0; }
    .services__bento { grid-template-columns: 1fr; }
    .card--hero { padding: 32px 24px; }
    .card--hero .card__list { gap: 8px; }

    .apropos { padding: 80px 0; }
    .apropos__highlight { flex-direction: column; gap: 14px; padding: 22px 20px; }
    .apropos__highlight-number { font-size: 1.5rem; }
    .apropos__highlight-icon { width: 40px; height: 40px; min-width: 40px; }
    .apropos__highlight-icon svg { width: 18px; height: 18px; }
    .apropos__orb--1 { width: 250px; height: 250px; }
    .apropos__orb--2 { width: 180px; height: 180px; }

    .portfolio { padding: 80px 0; }
    .portfolio__grid { grid-template-columns: 1fr; }
    .portfolio__filters { gap: 8px; }
    .filter-btn { padding: 6px 16px; font-size: 0.8rem; }

    .process { padding: 80px 0; }
    .process__timeline { flex-direction: column; align-items: center; gap: 28px; }
    .process__connector { display: none; }
    .process__step { flex: none; width: 100%; max-width: 280px; padding: 0; }

    .pricing { padding: 80px 0; }
    .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .pricing__card { padding: 32px 24px; }

    .temoignages { padding: 80px 0; }
    .carousel__slide { padding: 0 12px; }
    .testimonial { padding: 32px 20px; }

    .socials { padding: 48px 0 60px; }
    .socials__row { grid-template-columns: 1fr; max-width: 360px; }
    .social-icon { padding: 20px 24px; }

    .contact { padding: 80px 0; }
    .contact__tabs { flex-direction: column; border-radius: var(--radius); }
    .tab { border-radius: var(--radius); text-align: center; }
    .form__row { grid-template-columns: 1fr; }

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

    .footer__cta { padding: 48px 0; }
    .footer__top { flex-direction: column; align-items: center; text-align: center; gap: 24px; }
    .footer__links { justify-content: center; gap: 16px; }
    .footer__bottom { flex-direction: column; gap: 8px; }

    .section-title { margin-bottom: 40px; }

    .side-panel { padding: 80px 30px; }
    .side-panel__links a { font-size: 1.6rem; }
}

/* ============================================
   Tarifs Section
   ============================================ */
.tarifs {
    padding: 120px 0;
    background: linear-gradient(170deg, #0f0b2e 0%, #1a1145 40%, #0d0a26 100%);
    position: relative;
    overflow: hidden;
}

.tarifs__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tarifs__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.tarifs__orb--1 {
    width: 500px;
    height: 500px;
    background: rgba(99,102,241,0.1);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.tarifs__orb--2 {
    width: 300px;
    height: 300px;
    background: rgba(245,158,11,0.06);
    bottom: -100px;
    right: -80px;
}

.tarifs__grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
}

.tarifs .container {
    position: relative;
    z-index: 1;
}

.tarifs__subtitle {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 1.05rem;
    max-width: 520px;
    margin: -20px auto 60px;
}

/* Pricing Cards Grid */
.tarifs__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
    align-items: start;
}

.tarifs__card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), border-color var(--transition);
}

.tarifs__card:hover {
    transform: translateY(-6px);
    border-color: rgba(99,102,241,0.25);
}

/* Featured card */
.tarifs__card--featured {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(245,158,11,0.25);
    box-shadow: 0 0 60px rgba(245,158,11,0.08), 0 20px 60px rgba(0,0,0,0.3);
    transform: scale(1.03);
}

.tarifs__card--featured:hover {
    transform: scale(1.03) translateY(-6px);
    border-color: rgba(245,158,11,0.4);
}

.tarifs__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 22px;
    border-radius: 100px;
    box-shadow: 0 4px 16px rgba(245,158,11,0.35);
    white-space: nowrap;
}

/* Card header */
.tarifs__card-header {
    margin-bottom: 28px;
}

.tarifs__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.25);
    color: #a5b4fc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.tarifs__icon svg { width: 22px; height: 22px; }

.tarifs__icon--warm {
    background: rgba(245,158,11,0.12);
    border-color: rgba(245,158,11,0.25);
    color: #fbbf24;
}

.tarifs__icon--dark {
    background: rgba(139,92,246,0.12);
    border-color: rgba(139,92,246,0.25);
    color: #c4b5fd;
}

.tarifs__card-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.tarifs__card-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.55;
}

/* Price */
.tarifs__price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 4px;
}

.tarifs__amount {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1;
}

.tarifs__amount--text {
    font-size: 1.8rem;
    letter-spacing: 0;
}

.tarifs__card--featured .tarifs__amount {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tarifs__currency {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
}

.tarifs__period {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
    margin-left: 4px;
}

.tarifs__renewal {
    font-size: 0.8rem;
    color: rgba(99,102,241,0.8);
    font-weight: 500;
    margin-bottom: 24px;
}

.tarifs__card--featured .tarifs__renewal {
    color: rgba(245,158,11,0.7);
}

.tarifs__divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin-bottom: 24px;
}

/* Features */
.tarifs__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
    flex: 1;
}

.tarifs__features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.4;
}

.tarifs__features li svg {
    width: 16px;
    height: 16px;
    color: #a5b4fc;
    flex-shrink: 0;
    stroke-width: 2.5;
}

.tarifs__card--featured .tarifs__features li svg {
    color: #fbbf24;
}

.tarifs__feature-muted {
    color: rgba(255,255,255,0.3) !important;
}

.tarifs__feature-muted svg {
    color: rgba(255,255,255,0.2) !important;
}

/* CTA */
.tarifs__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.12);
    transition: all var(--transition);
    text-align: center;
}

.tarifs__cta svg { width: 16px; height: 16px; transition: transform var(--transition); }

.tarifs__cta:hover {
    color: var(--white);
    border-color: rgba(99,102,241,0.5);
    background: rgba(99,102,241,0.1);
}

.tarifs__cta:hover svg { transform: translateX(3px); }

.tarifs__cta--primary {
    background: var(--gradient-secondary);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}

.tarifs__cta--primary:hover {
    box-shadow: 0 6px 28px rgba(245,158,11,0.45);
    transform: translateY(-2px);
    background: var(--gradient-secondary);
}

/* Options à la carte */
.tarifs__options {
    margin-top: 16px;
}

.tarifs__options-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    text-align: center;
    margin-bottom: 28px;
}

.tarifs__options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.tarifs__option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.tarifs__option:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}

.tarifs__option-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: rgba(99,102,241,0.1);
    color: #a5b4fc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tarifs__option-icon svg { width: 16px; height: 16px; }

.tarifs__option-info { flex: 1; min-width: 0; }

.tarifs__option-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2px;
}

.tarifs__option-desc {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
}

.tarifs__option-price {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.tarifs__option-price small {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Tarifs Responsive */
@media (max-width: 1024px) {
    .tarifs__cards { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
    .tarifs__card--featured { transform: none; }
    .tarifs__card--featured:hover { transform: translateY(-6px); }
    .tarifs__options-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .tarifs { padding: 80px 0; }
    .tarifs__card { padding: 32px 24px; }
    .tarifs__options-grid { grid-template-columns: 1fr; }
    .tarifs__orb--1 { width: 300px; height: 300px; }
}
